From cd0de039cffb7e6fcb6554fe606f4214b49d83cd Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Mon, 20 Jan 2025 18:05:30 +0300 Subject: [PATCH 1/6] Regenerate with 2.0.2 Signed-off-by: Nikolay Igotti --- arkoala-arkts/arkui/src/Application.ts | 18 - .../src/generated/ArkAbilityComponent.ts | 2 +- .../ArkAccessibilityHoverEventMaterialized.ts | 233 + .../generated/ArkActionSheetMaterialized.ts | 11 +- .../generated/ArkAlertDialogMaterialized.ts | 11 +- .../arkui/src/generated/ArkAlphabetIndexer.ts | 2 +- .../arkui/src/generated/ArkAnimator.ts | 2 +- .../src/generated/ArkArkui-stubsInterfaces.ts | 5 + arkoala-arkts/arkui/src/generated/ArkBadge.ts | 2 +- .../src/generated/ArkBaseEventMaterialized.ts | 312 + .../ArkBaseGestureEventMaterialized.ts | 101 + arkoala-arkts/arkui/src/generated/ArkBlank.ts | 2 +- .../arkui/src/generated/ArkButton.ts | 20 +- .../arkui/src/generated/ArkCalendar.ts | 2 +- .../ArkCalendarControllerMaterialized.ts | 11 +- .../arkui/src/generated/ArkCalendarPicker.ts | 2 +- .../ArkCalendarPickerDialogMaterialized.ts | 11 +- .../arkui/src/generated/ArkCanvas.ts | 2 +- .../ArkCanvasGradientMaterialized.ts | 11 +- .../generated/ArkCanvasPathMaterialized.ts | 11 +- .../generated/ArkCanvasPatternMaterialized.ts | 28 +- .../ArkCanvasRendererMaterialized.ts | 141 +- ...ArkCanvasRenderingContext2DMaterialized.ts | 87 +- .../arkui/src/generated/ArkCheckbox.ts | 2 +- .../arkui/src/generated/ArkCheckboxgroup.ts | 2 +- .../ArkChildrenMainSizeMaterialized.ts | 11 +- .../arkui/src/generated/ArkCircle.ts | 2 +- .../generated/ArkClickEventMaterialized.ts | 272 + ...ClientAuthenticationHandlerMaterialized.ts | 21 +- .../arkui/src/generated/ArkColumn.ts | 2 +- .../arkui/src/generated/ArkColumnSplit.ts | 2 +- .../arkui/src/generated/ArkCommon.ts | 140 +- .../src/generated/ArkCommonInterfaces.ts | 96 +- .../arkui/src/generated/ArkComponent3d.ts | 2 +- .../ArkConsoleMessageMaterialized.ts | 11 +- .../arkui/src/generated/ArkContainerSpan.ts | 2 +- .../generated/ArkContextMenuMaterialized.ts | 11 +- .../ArkControllerHandlerMaterialized.ts | 11 +- .../arkui/src/generated/ArkCounter.ts | 2 +- .../ArkCustomDialogControllerMaterialized.ts | 11 +- .../generated/ArkCustomSpanMaterialized.ts | 11 +- .../arkui/src/generated/ArkDataPanel.ts | 2 +- .../ArkDataResubmissionHandlerMaterialized.ts | 11 +- .../arkui/src/generated/ArkDatePicker.ts | 2 +- .../ArkDatePickerDialogMaterialized.ts | 11 +- .../arkui/src/generated/ArkDivider.ts | 2 +- .../src/generated/ArkDragEventMaterialized.ts | 263 + .../generated/ArkDrawModifierMaterialized.ts | 11 +- .../generated/ArkDrawingCanvasMaterialized.ts | 13 +- .../ArkDrawingRenderingContextMaterialized.ts | 13 +- .../generated/ArkDynamicNodeMaterialized.ts | 11 +- .../ArkEditMenuOptionsMaterialized.ts | 27 +- .../arkui/src/generated/ArkEffectComponent.ts | 2 +- .../arkui/src/generated/ArkEllipse.ts | 2 +- .../src/generated/ArkEmbeddedComponent.ts | 2 +- .../generated/ArkEventEmulatorMaterialized.ts | 13 +- .../generated/ArkEventResultMaterialized.ts | 11 +- .../ArkEventTargetInfoMaterialized.ts | 11 +- .../ArkFileSelectorParamMaterialized.ts | 11 +- .../ArkFileSelectorResultMaterialized.ts | 11 +- arkoala-arkts/arkui/src/generated/ArkFlex.ts | 2 +- .../arkui/src/generated/ArkFlowItem.ts | 2 +- .../arkui/src/generated/ArkFolderStack.ts | 2 +- .../arkui/src/generated/ArkFormComponent.ts | 2 +- .../arkui/src/generated/ArkFormLink.ts | 2 +- .../src/generated/ArkFrameNodeMaterialized.ts | 31 +- .../ArkFullScreenExitHandlerMaterialized.ts | 11 +- arkoala-arkts/arkui/src/generated/ArkGauge.ts | 2 +- .../generated/ArkGestureEventMaterialized.ts | 343 + .../src/generated/ArkGestureInterfaces.ts | 44 +- .../ArkGestureModifierMaterialized.ts | 26 +- .../ArkGestureRecognizerMaterialized.ts | 13 +- .../ArkGlobalScopeCommonMaterialized.ts | 233 + .../ArkGlobalScopeInspectorMaterialized.ts | 120 + arkoala-arkts/arkui/src/generated/ArkGrid.ts | 24 +- .../arkui/src/generated/ArkGridCol.ts | 2 +- .../arkui/src/generated/ArkGridContainer.ts | 2 +- .../arkui/src/generated/ArkGridInterfaces.ts | 8 +- .../arkui/src/generated/ArkGridItem.ts | 2 +- .../arkui/src/generated/ArkGridRow.ts | 2 +- .../generated/ArkHoverEventMaterialized.ts | 96 + .../ArkHttpAuthHandlerMaterialized.ts | 11 +- .../arkui/src/generated/ArkHyperlink.ts | 2 +- .../src/generated/ArkICurveMaterialized.ts | 26 +- arkoala-arkts/arkui/src/generated/ArkImage.ts | 12 +- .../ArkImageAnalyzerControllerMaterialized.ts | 11 +- .../arkui/src/generated/ArkImageAnimator.ts | 2 +- .../generated/ArkImageBitmapMaterialized.ts | 13 +- .../arkui/src/generated/ArkImageSpan.ts | 2 +- ...ndicatorComponentControllerMaterialized.ts | 11 +- .../src/generated/ArkIndicatorcomponent.ts | 2 +- .../generated/ArkJsGeolocationMaterialized.ts | 11 +- .../src/generated/ArkJsResultMaterialized.ts | 11 +- .../src/generated/ArkKeyEventMaterialized.ts | 307 + .../generated/ArkLayoutManagerMaterialized.ts | 29 +- .../ArkLazyForEachOpsMaterialized.ts | 19 +- arkoala-arkts/arkui/src/generated/ArkLine.ts | 11 +- .../arkui/src/generated/ArkLineInterfaces.ts | 5 +- ...rkLinearIndicatorControllerMaterialized.ts | 11 +- .../arkui/src/generated/ArkLinearindicator.ts | 2 +- arkoala-arkts/arkui/src/generated/ArkList.ts | 26 +- .../arkui/src/generated/ArkListInterfaces.ts | 8 +- .../arkui/src/generated/ArkListItem.ts | 2 +- .../arkui/src/generated/ArkListItemGroup.ts | 2 +- .../generated/ArkListScrollerMaterialized.ts | 13 +- .../arkui/src/generated/ArkLoadingProgress.ts | 2 +- .../arkui/src/generated/ArkLocationButton.ts | 12 +- .../generated/ArkLocationButtonInterfaces.ts | 2 +- .../ArkLongPressGestureEventMaterialized.ts | 100 + .../arkui/src/generated/ArkMarquee.ts | 2 +- .../src/generated/ArkMatrix2DMaterialized.ts | 51 +- .../src/generated/ArkMediaCachedImage.ts | 2 +- arkoala-arkts/arkui/src/generated/ArkMenu.ts | 2 +- .../arkui/src/generated/ArkMenuItem.ts | 2 +- .../arkui/src/generated/ArkMenuItemGroup.ts | 2 +- .../generated/ArkMouseEventMaterialized.ts | 317 + .../ArkMutableStyledStringMaterialized.ts | 15 +- .../arkui/src/generated/ArkNavDestination.ts | 12 +- .../ArkNavDestinationContextMaterialized.ts | 31 +- .../arkui/src/generated/ArkNavRouter.ts | 10 +- ...rkNavigationTransitionProxyMaterialized.ts | 31 +- .../arkui/src/generated/ArkNavigator.ts | 10 +- .../arkui/src/generated/ArkNodeContainer.ts | 2 +- .../ArkPanGestureEventMaterialized.ts | 188 + .../ArkPanGestureOptionsMaterialized.ts | 11 +- .../generated/ArkPanRecognizerMaterialized.ts | 15 +- arkoala-arkts/arkui/src/generated/ArkPanel.ts | 2 +- .../arkui/src/generated/ArkPasteButton.ts | 12 +- .../src/generated/ArkPasteButtonInterfaces.ts | 2 +- arkoala-arkts/arkui/src/generated/ArkPath.ts | 2 +- .../src/generated/ArkPath2DMaterialized.ts | 15 +- .../arkui/src/generated/ArkPatternLock.ts | 2 +- .../ArkPatternLockControllerMaterialized.ts | 11 +- .../ArkPermissionRequestMaterialized.ts | 11 +- .../ArkPinchGestureEventMaterialized.ts | 144 + .../src/generated/ArkPixelMapMaterialized.ts | 29 +- .../generated/ArkPixelMapMockMaterialized.ts | 26 +- .../arkui/src/generated/ArkPluginComponent.ts | 2 +- .../generated/ArkPluginComponentInterfaces.ts | 2 +- .../arkui/src/generated/ArkPointInterfaces.ts | 7 + .../arkui/src/generated/ArkPolygon.ts | 7 +- .../src/generated/ArkPolygonInterfaces.ts | 3 +- .../arkui/src/generated/ArkPolyline.ts | 7 +- .../src/generated/ArkPolylineInterfaces.ts | 3 +- .../arkui/src/generated/ArkProgress.ts | 2 +- .../generated/ArkProgressMaskMaterialized.ts | 11 +- .../arkui/src/generated/ArkQrcode.ts | 2 +- arkoala-arkts/arkui/src/generated/ArkRadio.ts | 2 +- .../arkui/src/generated/ArkRating.ts | 2 +- arkoala-arkts/arkui/src/generated/ArkRect.ts | 6 +- .../arkui/src/generated/ArkRectInterfaces.ts | 4 +- .../arkui/src/generated/ArkRefresh.ts | 2 +- .../src/generated/ArkRelativeContainer.ts | 2 +- .../arkui/src/generated/ArkRemoteWindow.ts | 2 +- .../arkui/src/generated/ArkRichEditor.ts | 6 +- ...ArkRichEditorBaseControllerMaterialized.ts | 15 +- .../ArkRichEditorControllerMaterialized.ts | 19 +- .../src/generated/ArkRichEditorInterfaces.ts | 8 +- ...ditorStyledStringControllerMaterialized.ts | 19 +- .../arkui/src/generated/ArkRichText.ts | 2 +- .../arkui/src/generated/ArkRootScene.ts | 2 +- .../ArkRotationGestureEventMaterialized.ts | 100 + arkoala-arkts/arkui/src/generated/ArkRow.ts | 2 +- .../arkui/src/generated/ArkRowSplit.ts | 2 +- .../arkui/src/generated/ArkSaveButton.ts | 12 +- .../src/generated/ArkSaveButtonInterfaces.ts | 2 +- .../arkui/src/generated/ArkScreen.ts | 2 +- .../ArkScreenCaptureHandlerMaterialized.ts | 11 +- .../arkui/src/generated/ArkScroll.ts | 24 +- .../arkui/src/generated/ArkScrollBar.ts | 2 +- .../src/generated/ArkScrollInterfaces.ts | 12 +- .../ArkScrollableTargetInfoMaterialized.ts | 13 +- .../src/generated/ArkScrollerMaterialized.ts | 11 +- .../arkui/src/generated/ArkSearch.ts | 2 +- .../ArkSearchControllerMaterialized.ts | 13 +- .../src/generated/ArkSearchInterfaces.ts | 3 +- .../src/generated/ArkSecurityComponent.ts | 2 +- .../arkui/src/generated/ArkSelect.ts | 2 +- arkoala-arkts/arkui/src/generated/ArkShape.ts | 20 +- .../arkui/src/generated/ArkShapeInterfaces.ts | 4 +- .../arkui/src/generated/ArkSidebar.ts | 2 +- .../arkui/src/generated/ArkSlider.ts | 2 +- arkoala-arkts/arkui/src/generated/ArkSpan.ts | 2 +- .../ArkSslErrorHandlerMaterialized.ts | 11 +- arkoala-arkts/arkui/src/generated/ArkStack.ts | 2 +- .../src/generated/ArkStaticComponents.ts | 2 +- .../arkui/src/generated/ArkStepper.ts | 2 +- .../arkui/src/generated/ArkStepperItem.ts | 2 +- .../ArkStyledStringControllerMaterialized.ts | 31 +- .../generated/ArkStyledStringInterfaces.ts | 5 +- .../generated/ArkStyledStringMaterialized.ts | 19 +- .../generated/ArkSubmitEventMaterialized.ts | 106 + .../ArkSwipeGestureEventMaterialized.ts | 122 + .../arkui/src/generated/ArkSwiper.ts | 14 +- ...wiperContentTransitionProxyMaterialized.ts | 30 +- .../ArkSwiperControllerMaterialized.ts | 31 +- .../arkui/src/generated/ArkSymbolSpan.ts | 2 +- .../arkui/src/generated/ArkSymbolglyph.ts | 6 +- .../arkui/src/generated/ArkTabContent.ts | 14 +- ...rkTabContentTransitionProxyMaterialized.ts | 28 +- arkoala-arkts/arkui/src/generated/ArkTabs.ts | 22 +- .../ArkTabsControllerMaterialized.ts | 11 +- .../ArkTapGestureEventMaterialized.ts | 78 + arkoala-arkts/arkui/src/generated/ArkText.ts | 22 +- .../arkui/src/generated/ArkTextArea.ts | 2 +- .../ArkTextAreaControllerMaterialized.ts | 13 +- .../src/generated/ArkTextAreaInterfaces.ts | 3 +- .../ArkTextBaseControllerMaterialized.ts | 30 +- .../arkui/src/generated/ArkTextClock.ts | 2 +- .../ArkTextClockControllerMaterialized.ts | 11 +- ...rkTextContentControllerBaseMaterialized.ts | 11 +- .../ArkTextControllerMaterialized.ts | 15 +- .../ArkTextEditControllerExMaterialized.ts | 32 +- .../arkui/src/generated/ArkTextInput.ts | 2 +- .../ArkTextInputControllerMaterialized.ts | 13 +- .../src/generated/ArkTextInputInterfaces.ts | 4 +- .../ArkTextMenuItemIdMaterialized.ts | 11 +- .../arkui/src/generated/ArkTextPicker.ts | 2 +- .../ArkTextPickerDialogMaterialized.ts | 11 +- .../arkui/src/generated/ArkTextTimer.ts | 2 +- .../ArkTextTimerControllerMaterialized.ts | 11 +- .../arkui/src/generated/ArkTimePicker.ts | 2 +- .../ArkTimePickerDialogMaterialized.ts | 11 +- .../arkui/src/generated/ArkToggle.ts | 2 +- .../generated/ArkTouchEventMaterialized.ts | 190 + .../ArkTransitionEffectMaterialized.ts | 19 +- .../generated/ArkUICommonEventMaterialized.ts | 281 + .../ArkUIExtensionProxyMaterialized.ts | 95 +- .../src/generated/ArkUiExtensionComponent.ts | 2 +- .../generated/ArkUnifiedDataMaterialized.ts | 21 +- arkoala-arkts/arkui/src/generated/ArkVideo.ts | 2 +- .../ArkVideoControllerMaterialized.ts | 19 +- .../src/generated/ArkViewMaterialized.ts | 11 +- .../arkui/src/generated/ArkWaterFlow.ts | 12 +- .../ArkWaterFlowSectionsMaterialized.ts | 11 +- arkoala-arkts/arkui/src/generated/ArkWeb.ts | 11 +- .../ArkWebContextMenuParamMaterialized.ts | 11 +- .../ArkWebContextMenuResultMaterialized.ts | 11 +- .../generated/ArkWebControllerMaterialized.ts | 45 +- .../src/generated/ArkWebCookieMaterialized.ts | 11 +- .../arkui/src/generated/ArkWebInterfaces.ts | 10 +- .../ArkWebKeyboardControllerMaterialized.ts | 11 +- .../ArkWebResourceErrorMaterialized.ts | 11 +- .../ArkWebResourceRequestMaterialized.ts | 11 +- .../ArkWebResourceResponseMaterialized.ts | 11 +- .../arkui/src/generated/ArkWindowScene.ts | 2 +- .../ArkXComponentControllerMaterialized.ts | 11 +- .../arkui/src/generated/ArkXcomponent.ts | 6 +- .../arkui/src/generated/GlobalScope.ts | 84 + .../src/generated/SyntheticDeclarations.ts | 152 +- .../arkts/ArkUIGeneratedNativeModule.ts | 246 +- .../src/generated/arkts/ArkUINativeModule.ts | 2 +- .../src/generated/arkts/TestNativeModule.ts | 3 +- .../arkui/src/generated/arkts/type_check.ts | 66 +- arkoala-arkts/arkui/src/generated/index.ts | 25 +- .../arkui/src/generated/peer_events.ts | 55 +- .../peers/ArkAbilityComponentPeer.ts | 2 +- .../generated/peers/ArkAlphabetIndexerPeer.ts | 2 +- .../src/generated/peers/ArkAnimatorPeer.ts | 2 +- .../arkui/src/generated/peers/ArkBadgePeer.ts | 2 +- .../arkui/src/generated/peers/ArkBlankPeer.ts | 2 +- .../src/generated/peers/ArkButtonPeer.ts | 2 +- .../src/generated/peers/ArkCalendarPeer.ts | 2 +- .../generated/peers/ArkCalendarPickerPeer.ts | 2 +- .../src/generated/peers/ArkCanvasPeer.ts | 10 +- .../src/generated/peers/ArkCheckboxPeer.ts | 2 +- .../generated/peers/ArkCheckboxgroupPeer.ts | 2 +- .../src/generated/peers/ArkCirclePeer.ts | 2 +- .../src/generated/peers/ArkColumnPeer.ts | 2 +- .../src/generated/peers/ArkColumnSplitPeer.ts | 2 +- .../src/generated/peers/ArkCommonPeer.ts | 40 +- .../src/generated/peers/ArkComponent3dPeer.ts | 2 +- .../generated/peers/ArkContainerSpanPeer.ts | 2 +- .../src/generated/peers/ArkCounterPeer.ts | 2 +- .../src/generated/peers/ArkDataPanelPeer.ts | 2 +- .../src/generated/peers/ArkDatePickerPeer.ts | 2 +- .../src/generated/peers/ArkDividerPeer.ts | 2 +- .../generated/peers/ArkEffectComponentPeer.ts | 2 +- .../src/generated/peers/ArkEllipsePeer.ts | 2 +- .../peers/ArkEmbeddedComponentPeer.ts | 2 +- .../arkui/src/generated/peers/ArkFlexPeer.ts | 2 +- .../src/generated/peers/ArkFlowItemPeer.ts | 2 +- .../src/generated/peers/ArkFolderStackPeer.ts | 2 +- .../generated/peers/ArkFormComponentPeer.ts | 2 +- .../src/generated/peers/ArkFormLinkPeer.ts | 2 +- .../arkui/src/generated/peers/ArkGaugePeer.ts | 2 +- .../src/generated/peers/ArkGridColPeer.ts | 2 +- .../generated/peers/ArkGridContainerPeer.ts | 2 +- .../src/generated/peers/ArkGridItemPeer.ts | 2 +- .../arkui/src/generated/peers/ArkGridPeer.ts | 14 +- .../src/generated/peers/ArkGridRowPeer.ts | 2 +- .../src/generated/peers/ArkHyperlinkPeer.ts | 2 +- .../generated/peers/ArkImageAnimatorPeer.ts | 2 +- .../arkui/src/generated/peers/ArkImagePeer.ts | 10 +- .../src/generated/peers/ArkImageSpanPeer.ts | 4 +- .../peers/ArkIndicatorcomponentPeer.ts | 2 +- .../arkui/src/generated/peers/ArkLinePeer.ts | 20 +- .../generated/peers/ArkLinearindicatorPeer.ts | 2 +- .../generated/peers/ArkListItemGroupPeer.ts | 2 +- .../src/generated/peers/ArkListItemPeer.ts | 2 +- .../arkui/src/generated/peers/ArkListPeer.ts | 16 +- .../generated/peers/ArkLoadingProgressPeer.ts | 2 +- .../generated/peers/ArkLocationButtonPeer.ts | 4 +- .../src/generated/peers/ArkMarqueePeer.ts | 2 +- .../peers/ArkMediaCachedImagePeer.ts | 4 +- .../generated/peers/ArkMenuItemGroupPeer.ts | 2 +- .../src/generated/peers/ArkMenuItemPeer.ts | 2 +- .../arkui/src/generated/peers/ArkMenuPeer.ts | 2 +- .../generated/peers/ArkNavDestinationPeer.ts | 4 +- .../src/generated/peers/ArkNavRouterPeer.ts | 2 +- .../src/generated/peers/ArkNavigatorPeer.ts | 2 +- .../generated/peers/ArkNodeContainerPeer.ts | 2 +- .../arkui/src/generated/peers/ArkPanelPeer.ts | 2 +- .../src/generated/peers/ArkPasteButtonPeer.ts | 4 +- .../arkui/src/generated/peers/ArkPathPeer.ts | 2 +- .../src/generated/peers/ArkPatternLockPeer.ts | 2 +- .../generated/peers/ArkPluginComponentPeer.ts | 2 +- .../src/generated/peers/ArkPolygonPeer.ts | 11 +- .../src/generated/peers/ArkPolylinePeer.ts | 11 +- .../src/generated/peers/ArkProgressPeer.ts | 2 +- .../src/generated/peers/ArkQrcodePeer.ts | 2 +- .../arkui/src/generated/peers/ArkRadioPeer.ts | 2 +- .../src/generated/peers/ArkRatingPeer.ts | 2 +- .../arkui/src/generated/peers/ArkRectPeer.ts | 23 +- .../src/generated/peers/ArkRefreshPeer.ts | 2 +- .../peers/ArkRelativeContainerPeer.ts | 2 +- .../generated/peers/ArkRemoteWindowPeer.ts | 2 +- .../src/generated/peers/ArkRichEditorPeer.ts | 2 +- .../src/generated/peers/ArkRichTextPeer.ts | 2 +- .../src/generated/peers/ArkRootScenePeer.ts | 2 +- .../arkui/src/generated/peers/ArkRowPeer.ts | 2 +- .../src/generated/peers/ArkRowSplitPeer.ts | 2 +- .../src/generated/peers/ArkSaveButtonPeer.ts | 4 +- .../src/generated/peers/ArkScreenPeer.ts | 2 +- .../src/generated/peers/ArkScrollBarPeer.ts | 2 +- .../src/generated/peers/ArkScrollPeer.ts | 24 +- .../src/generated/peers/ArkSearchPeer.ts | 2 +- .../peers/ArkSecurityComponentPeer.ts | 2 +- .../src/generated/peers/ArkSelectPeer.ts | 2 +- .../arkui/src/generated/peers/ArkShapePeer.ts | 18 +- .../src/generated/peers/ArkSidebarPeer.ts | 2 +- .../src/generated/peers/ArkSliderPeer.ts | 2 +- .../arkui/src/generated/peers/ArkSpanPeer.ts | 2 +- .../arkui/src/generated/peers/ArkStackPeer.ts | 2 +- .../peers/ArkStaticComponentsPeer.ts | 2 +- .../src/generated/peers/ArkStepperItemPeer.ts | 2 +- .../src/generated/peers/ArkStepperPeer.ts | 2 +- .../src/generated/peers/ArkSwiperPeer.ts | 2 +- .../src/generated/peers/ArkSymbolSpanPeer.ts | 2 +- .../src/generated/peers/ArkSymbolglyphPeer.ts | 2 +- .../src/generated/peers/ArkTabContentPeer.ts | 2 +- .../arkui/src/generated/peers/ArkTabsPeer.ts | 2 +- .../src/generated/peers/ArkTextAreaPeer.ts | 2 +- .../src/generated/peers/ArkTextClockPeer.ts | 2 +- .../src/generated/peers/ArkTextInputPeer.ts | 2 +- .../arkui/src/generated/peers/ArkTextPeer.ts | 2 +- .../src/generated/peers/ArkTextPickerPeer.ts | 2 +- .../src/generated/peers/ArkTextTimerPeer.ts | 2 +- .../src/generated/peers/ArkTimePickerPeer.ts | 2 +- .../src/generated/peers/ArkTogglePeer.ts | 2 +- .../peers/ArkUiExtensionComponentPeer.ts | 2 +- .../arkui/src/generated/peers/ArkVideoPeer.ts | 2 +- .../src/generated/peers/ArkWaterFlowPeer.ts | 2 +- .../arkui/src/generated/peers/ArkWebPeer.ts | 11 +- .../src/generated/peers/ArkWindowScenePeer.ts | 2 +- .../src/generated/peers/ArkXcomponentPeer.ts | 2 +- .../peers/CallbackDeserializeCall.ts | 126 +- .../arkui/src/generated/peers/CallbackKind.ts | 8 +- .../arkui/src/generated/peers/Deserializer.ts | 578 +- .../arkui/src/generated/peers/Serializer.ts | 771 +- .../src/generated/shared/generated-utils.ts | 6 +- .../arkui/src/generated/ts/type_check.ts | 940 +- arkoala-arkts/arkui/types/index-full.d.ts | 118 +- arkoala/arkui-types/index-full.d.ts | 118 +- arkoala/arkui/src/ArkAbilityComponent.ts | 2 +- .../ArkAccessibilityHoverEventMaterialized.ts | 223 + .../arkui/src/ArkActionSheetMaterialized.ts | 11 +- .../arkui/src/ArkAlertDialogMaterialized.ts | 11 +- arkoala/arkui/src/ArkAlphabetIndexer.ts | 2 +- arkoala/arkui/src/ArkAnimator.ts | 2 +- arkoala/arkui/src/ArkBadge.ts | 2 +- arkoala/arkui/src/ArkBaseEventMaterialized.ts | 298 + .../src/ArkBaseGestureEventMaterialized.ts | 97 + arkoala/arkui/src/ArkBlank.ts | 2 +- arkoala/arkui/src/ArkButton.ts | 20 +- arkoala/arkui/src/ArkCalendar.ts | 2 +- .../src/ArkCalendarControllerMaterialized.ts | 11 +- arkoala/arkui/src/ArkCalendarPicker.ts | 2 +- .../ArkCalendarPickerDialogMaterialized.ts | 11 +- arkoala/arkui/src/ArkCanvas.ts | 2 +- .../src/ArkCanvasGradientMaterialized.ts | 11 +- .../arkui/src/ArkCanvasPathMaterialized.ts | 11 +- .../arkui/src/ArkCanvasPatternMaterialized.ts | 24 +- .../src/ArkCanvasRendererMaterialized.ts | 117 +- ...ArkCanvasRenderingContext2DMaterialized.ts | 84 +- arkoala/arkui/src/ArkCheckbox.ts | 2 +- arkoala/arkui/src/ArkCheckboxgroup.ts | 2 +- .../src/ArkChildrenMainSizeMaterialized.ts | 11 +- arkoala/arkui/src/ArkCircle.ts | 2 +- .../arkui/src/ArkClickEventMaterialized.ts | 261 + ...ClientAuthenticationHandlerMaterialized.ts | 21 +- arkoala/arkui/src/ArkColumn.ts | 2 +- arkoala/arkui/src/ArkColumnSplit.ts | 2 +- arkoala/arkui/src/ArkCommon.ts | 126 +- arkoala/arkui/src/ArkComponent3d.ts | 2 +- .../src/ArkConsoleMessageMaterialized.ts | 11 +- arkoala/arkui/src/ArkContainerSpan.ts | 2 +- .../arkui/src/ArkContextMenuMaterialized.ts | 11 +- .../src/ArkControllerHandlerMaterialized.ts | 11 +- arkoala/arkui/src/ArkCounter.ts | 2 +- .../ArkCustomDialogControllerMaterialized.ts | 11 +- .../arkui/src/ArkCustomSpanMaterialized.ts | 11 +- arkoala/arkui/src/ArkDataPanel.ts | 2 +- .../ArkDataResubmissionHandlerMaterialized.ts | 11 +- arkoala/arkui/src/ArkDatePicker.ts | 2 +- .../src/ArkDatePickerDialogMaterialized.ts | 11 +- arkoala/arkui/src/ArkDivider.ts | 2 +- arkoala/arkui/src/ArkDragEventMaterialized.ts | 241 + .../arkui/src/ArkDrawModifierMaterialized.ts | 11 +- .../arkui/src/ArkDrawingCanvasMaterialized.ts | 12 +- .../ArkDrawingRenderingContextMaterialized.ts | 12 +- .../arkui/src/ArkDynamicNodeMaterialized.ts | 11 +- .../src/ArkEditMenuOptionsMaterialized.ts | 23 +- arkoala/arkui/src/ArkEffectComponent.ts | 2 +- arkoala/arkui/src/ArkEllipse.ts | 2 +- arkoala/arkui/src/ArkEmbeddedComponent.ts | 2 +- .../arkui/src/ArkEventEmulatorMaterialized.ts | 11 +- .../arkui/src/ArkEventResultMaterialized.ts | 11 +- .../src/ArkEventTargetInfoMaterialized.ts | 11 +- .../src/ArkFileSelectorParamMaterialized.ts | 11 +- .../src/ArkFileSelectorResultMaterialized.ts | 11 +- arkoala/arkui/src/ArkFlex.ts | 2 +- arkoala/arkui/src/ArkFlowItem.ts | 2 +- arkoala/arkui/src/ArkFolderStack.ts | 2 +- arkoala/arkui/src/ArkFormComponent.ts | 2 +- arkoala/arkui/src/ArkFormLink.ts | 2 +- arkoala/arkui/src/ArkFrameNodeMaterialized.ts | 31 +- .../ArkFullScreenExitHandlerMaterialized.ts | 11 +- arkoala/arkui/src/ArkGauge.ts | 2 +- .../arkui/src/ArkGestureEventMaterialized.ts | 328 + .../src/ArkGestureModifierMaterialized.ts | 23 +- .../src/ArkGestureRecognizerMaterialized.ts | 12 +- .../src/ArkGlobalScopeCommonMaterialized.ts | 230 + .../ArkGlobalScopeInspectorMaterialized.ts | 120 + arkoala/arkui/src/ArkGrid.ts | 20 +- arkoala/arkui/src/ArkGridCol.ts | 2 +- arkoala/arkui/src/ArkGridContainer.ts | 2 +- arkoala/arkui/src/ArkGridItem.ts | 2 +- arkoala/arkui/src/ArkGridRow.ts | 2 +- .../arkui/src/ArkHoverEventMaterialized.ts | 93 + .../src/ArkHttpAuthHandlerMaterialized.ts | 11 +- arkoala/arkui/src/ArkHyperlink.ts | 2 +- arkoala/arkui/src/ArkICurveMaterialized.ts | 23 +- arkoala/arkui/src/ArkImage.ts | 12 +- .../ArkImageAnalyzerControllerMaterialized.ts | 11 +- arkoala/arkui/src/ArkImageAnimator.ts | 2 +- .../arkui/src/ArkImageBitmapMaterialized.ts | 12 +- arkoala/arkui/src/ArkImageSpan.ts | 2 +- ...ndicatorComponentControllerMaterialized.ts | 11 +- arkoala/arkui/src/ArkIndicatorcomponent.ts | 2 +- .../arkui/src/ArkJsGeolocationMaterialized.ts | 11 +- arkoala/arkui/src/ArkJsResultMaterialized.ts | 11 +- arkoala/arkui/src/ArkKeyEventMaterialized.ts | 292 + .../arkui/src/ArkLayoutManagerMaterialized.ts | 23 +- .../src/ArkLazyForEachOpsMaterialized.ts | 19 +- arkoala/arkui/src/ArkLine.ts | 10 +- ...rkLinearIndicatorControllerMaterialized.ts | 11 +- arkoala/arkui/src/ArkLinearindicator.ts | 2 +- arkoala/arkui/src/ArkList.ts | 20 +- arkoala/arkui/src/ArkListItem.ts | 2 +- arkoala/arkui/src/ArkListItemGroup.ts | 2 +- .../arkui/src/ArkListScrollerMaterialized.ts | 11 +- arkoala/arkui/src/ArkLoadingProgress.ts | 2 +- arkoala/arkui/src/ArkLocationButton.ts | 10 +- .../ArkLongPressGestureEventMaterialized.ts | 97 + arkoala/arkui/src/ArkMarquee.ts | 2 +- arkoala/arkui/src/ArkMatrix2DMaterialized.ts | 51 +- arkoala/arkui/src/ArkMediaCachedImage.ts | 2 +- arkoala/arkui/src/ArkMenu.ts | 2 +- arkoala/arkui/src/ArkMenuItem.ts | 2 +- arkoala/arkui/src/ArkMenuItemGroup.ts | 2 +- .../arkui/src/ArkMouseEventMaterialized.ts | 303 + .../src/ArkMutableStyledStringMaterialized.ts | 13 +- arkoala/arkui/src/ArkNavDestination.ts | 12 +- .../ArkNavDestinationContextMaterialized.ts | 24 +- .../arkui/src/ArkNavPathStackMaterialized.ts | 145 +- arkoala/arkui/src/ArkNavRouter.ts | 10 +- ...rkNavigationTransitionProxyMaterialized.ts | 23 +- arkoala/arkui/src/ArkNavigator.ts | 10 +- arkoala/arkui/src/ArkNodeContainer.ts | 2 +- .../src/ArkPanGestureEventMaterialized.ts | 181 + .../src/ArkPanGestureOptionsMaterialized.ts | 11 +- .../arkui/src/ArkPanRecognizerMaterialized.ts | 12 +- arkoala/arkui/src/ArkPanel.ts | 2 +- arkoala/arkui/src/ArkPasteButton.ts | 10 +- arkoala/arkui/src/ArkPath.ts | 2 +- arkoala/arkui/src/ArkPath2DMaterialized.ts | 12 +- arkoala/arkui/src/ArkPatternLock.ts | 2 +- .../ArkPatternLockControllerMaterialized.ts | 11 +- .../src/ArkPermissionRequestMaterialized.ts | 11 +- .../src/ArkPinchGestureEventMaterialized.ts | 139 + arkoala/arkui/src/ArkPixelMapMaterialized.ts | 23 +- .../arkui/src/ArkPixelMapMockMaterialized.ts | 23 +- arkoala/arkui/src/ArkPluginComponent.ts | 2 +- arkoala/arkui/src/ArkPolygon.ts | 6 +- arkoala/arkui/src/ArkPolyline.ts | 6 +- arkoala/arkui/src/ArkProgress.ts | 2 +- .../arkui/src/ArkProgressMaskMaterialized.ts | 11 +- arkoala/arkui/src/ArkQrcode.ts | 2 +- arkoala/arkui/src/ArkRadio.ts | 2 +- arkoala/arkui/src/ArkRating.ts | 2 +- arkoala/arkui/src/ArkRect.ts | 6 +- arkoala/arkui/src/ArkRefresh.ts | 2 +- arkoala/arkui/src/ArkRelativeContainer.ts | 2 +- arkoala/arkui/src/ArkRemoteWindow.ts | 2 +- arkoala/arkui/src/ArkRichEditor.ts | 6 +- ...ArkRichEditorBaseControllerMaterialized.ts | 13 +- .../ArkRichEditorControllerMaterialized.ts | 13 +- ...ditorStyledStringControllerMaterialized.ts | 14 +- arkoala/arkui/src/ArkRichText.ts | 2 +- arkoala/arkui/src/ArkRootScene.ts | 2 +- .../ArkRotationGestureEventMaterialized.ts | 97 + arkoala/arkui/src/ArkRow.ts | 2 +- arkoala/arkui/src/ArkRowSplit.ts | 2 +- arkoala/arkui/src/ArkSaveButton.ts | 10 +- arkoala/arkui/src/ArkScreen.ts | 2 +- .../ArkScreenCaptureHandlerMaterialized.ts | 11 +- arkoala/arkui/src/ArkScroll.ts | 18 +- arkoala/arkui/src/ArkScrollBar.ts | 2 +- .../ArkScrollableTargetInfoMaterialized.ts | 11 +- arkoala/arkui/src/ArkScrollerMaterialized.ts | 11 +- arkoala/arkui/src/ArkSearch.ts | 2 +- .../src/ArkSearchControllerMaterialized.ts | 11 +- arkoala/arkui/src/ArkSecurityComponent.ts | 2 +- arkoala/arkui/src/ArkSelect.ts | 2 +- arkoala/arkui/src/ArkShape.ts | 18 +- arkoala/arkui/src/ArkSidebar.ts | 2 +- arkoala/arkui/src/ArkSlider.ts | 2 +- arkoala/arkui/src/ArkSpan.ts | 2 +- .../src/ArkSslErrorHandlerMaterialized.ts | 11 +- arkoala/arkui/src/ArkStack.ts | 2 +- arkoala/arkui/src/ArkStaticComponents.ts | 2 +- arkoala/arkui/src/ArkStepper.ts | 2 +- arkoala/arkui/src/ArkStepperItem.ts | 2 +- .../ArkStyledStringControllerMaterialized.ts | 25 +- .../arkui/src/ArkStyledStringMaterialized.ts | 16 +- .../arkui/src/ArkSubmitEventMaterialized.ts | 102 + .../src/ArkSwipeGestureEventMaterialized.ts | 118 + arkoala/arkui/src/ArkSwiper.ts | 14 +- ...wiperContentTransitionProxyMaterialized.ts | 23 +- .../src/ArkSwiperControllerMaterialized.ts | 31 +- arkoala/arkui/src/ArkSymbolSpan.ts | 2 +- arkoala/arkui/src/ArkSymbolglyph.ts | 6 +- arkoala/arkui/src/ArkTabContent.ts | 14 +- ...rkTabContentTransitionProxyMaterialized.ts | 23 +- arkoala/arkui/src/ArkTabs.ts | 22 +- .../src/ArkTabsControllerMaterialized.ts | 11 +- .../src/ArkTapGestureEventMaterialized.ts | 76 + arkoala/arkui/src/ArkText.ts | 22 +- arkoala/arkui/src/ArkTextArea.ts | 2 +- .../src/ArkTextAreaControllerMaterialized.ts | 11 +- .../src/ArkTextBaseControllerMaterialized.ts | 24 +- arkoala/arkui/src/ArkTextClock.ts | 2 +- .../src/ArkTextClockControllerMaterialized.ts | 11 +- ...rkTextContentControllerBaseMaterialized.ts | 11 +- .../src/ArkTextControllerMaterialized.ts | 13 +- .../ArkTextEditControllerExMaterialized.ts | 25 +- arkoala/arkui/src/ArkTextInput.ts | 2 +- .../src/ArkTextInputControllerMaterialized.ts | 11 +- .../src/ArkTextMenuItemIdMaterialized.ts | 11 +- arkoala/arkui/src/ArkTextPicker.ts | 2 +- .../src/ArkTextPickerDialogMaterialized.ts | 11 +- arkoala/arkui/src/ArkTextTimer.ts | 2 +- .../src/ArkTextTimerControllerMaterialized.ts | 11 +- arkoala/arkui/src/ArkTimePicker.ts | 2 +- .../src/ArkTimePickerDialogMaterialized.ts | 11 +- arkoala/arkui/src/ArkToggle.ts | 2 +- .../arkui/src/ArkTouchEventMaterialized.ts | 180 + .../src/ArkTransitionEffectMaterialized.ts | 19 +- .../arkui/src/ArkUICommonEventMaterialized.ts | 263 + .../src/ArkUIExtensionProxyMaterialized.ts | 87 +- .../arkui/src/ArkUIGeneratedNativeModule.ts | 730 +- .../src/ArkUIGeneratedNativeModuleEmpty.ts | 868 +- arkoala/arkui/src/ArkUiExtensionComponent.ts | 2 +- .../arkui/src/ArkUnifiedDataMaterialized.ts | 21 +- arkoala/arkui/src/ArkVideo.ts | 2 +- .../src/ArkVideoControllerMaterialized.ts | 19 +- arkoala/arkui/src/ArkViewMaterialized.ts | 11 +- arkoala/arkui/src/ArkWaterFlow.ts | 12 +- .../src/ArkWaterFlowSectionsMaterialized.ts | 11 +- arkoala/arkui/src/ArkWeb.ts | 6 +- .../src/ArkWebContextMenuParamMaterialized.ts | 11 +- .../ArkWebContextMenuResultMaterialized.ts | 11 +- .../arkui/src/ArkWebControllerMaterialized.ts | 42 +- arkoala/arkui/src/ArkWebCookieMaterialized.ts | 11 +- .../ArkWebKeyboardControllerMaterialized.ts | 11 +- .../src/ArkWebResourceErrorMaterialized.ts | 11 +- .../src/ArkWebResourceRequestMaterialized.ts | 11 +- .../src/ArkWebResourceResponseMaterialized.ts | 11 +- arkoala/arkui/src/ArkWindowScene.ts | 2 +- .../ArkXComponentControllerMaterialized.ts | 11 +- arkoala/arkui/src/ArkXcomponent.ts | 6 +- arkoala/arkui/src/GlobalScope.ts | 80 + arkoala/arkui/src/peer_events.ts | 126 +- .../src/peers/ArkAbilityComponentPeer.ts | 2 +- .../arkui/src/peers/ArkAlphabetIndexerPeer.ts | 2 +- arkoala/arkui/src/peers/ArkAnimatorPeer.ts | 2 +- arkoala/arkui/src/peers/ArkBadgePeer.ts | 2 +- arkoala/arkui/src/peers/ArkBlankPeer.ts | 2 +- arkoala/arkui/src/peers/ArkButtonPeer.ts | 2 +- arkoala/arkui/src/peers/ArkCalendarPeer.ts | 2 +- .../arkui/src/peers/ArkCalendarPickerPeer.ts | 2 +- arkoala/arkui/src/peers/ArkCanvasPeer.ts | 2 +- arkoala/arkui/src/peers/ArkCheckboxPeer.ts | 2 +- .../arkui/src/peers/ArkCheckboxgroupPeer.ts | 2 +- arkoala/arkui/src/peers/ArkCirclePeer.ts | 2 +- arkoala/arkui/src/peers/ArkColumnPeer.ts | 2 +- arkoala/arkui/src/peers/ArkColumnSplitPeer.ts | 2 +- arkoala/arkui/src/peers/ArkCommonPeer.ts | 18 +- arkoala/arkui/src/peers/ArkComponent3dPeer.ts | 2 +- .../arkui/src/peers/ArkContainerSpanPeer.ts | 2 +- arkoala/arkui/src/peers/ArkCounterPeer.ts | 2 +- arkoala/arkui/src/peers/ArkDataPanelPeer.ts | 2 +- arkoala/arkui/src/peers/ArkDatePickerPeer.ts | 2 +- arkoala/arkui/src/peers/ArkDividerPeer.ts | 2 +- .../arkui/src/peers/ArkEffectComponentPeer.ts | 2 +- arkoala/arkui/src/peers/ArkEllipsePeer.ts | 2 +- .../src/peers/ArkEmbeddedComponentPeer.ts | 2 +- arkoala/arkui/src/peers/ArkFlexPeer.ts | 2 +- arkoala/arkui/src/peers/ArkFlowItemPeer.ts | 2 +- arkoala/arkui/src/peers/ArkFolderStackPeer.ts | 2 +- .../arkui/src/peers/ArkFormComponentPeer.ts | 2 +- arkoala/arkui/src/peers/ArkFormLinkPeer.ts | 2 +- arkoala/arkui/src/peers/ArkGaugePeer.ts | 2 +- arkoala/arkui/src/peers/ArkGridColPeer.ts | 2 +- .../arkui/src/peers/ArkGridContainerPeer.ts | 2 +- arkoala/arkui/src/peers/ArkGridItemPeer.ts | 2 +- arkoala/arkui/src/peers/ArkGridPeer.ts | 10 +- arkoala/arkui/src/peers/ArkGridRowPeer.ts | 2 +- arkoala/arkui/src/peers/ArkHyperlinkPeer.ts | 2 +- .../arkui/src/peers/ArkImageAnimatorPeer.ts | 2 +- arkoala/arkui/src/peers/ArkImagePeer.ts | 2 +- arkoala/arkui/src/peers/ArkImageSpanPeer.ts | 2 +- .../src/peers/ArkIndicatorcomponentPeer.ts | 2 +- arkoala/arkui/src/peers/ArkLinePeer.ts | 18 +- .../arkui/src/peers/ArkLinearindicatorPeer.ts | 2 +- .../arkui/src/peers/ArkListItemGroupPeer.ts | 2 +- arkoala/arkui/src/peers/ArkListItemPeer.ts | 2 +- arkoala/arkui/src/peers/ArkListPeer.ts | 10 +- .../arkui/src/peers/ArkLoadingProgressPeer.ts | 2 +- .../arkui/src/peers/ArkLocationButtonPeer.ts | 2 +- arkoala/arkui/src/peers/ArkMarqueePeer.ts | 2 +- .../src/peers/ArkMediaCachedImagePeer.ts | 2 +- .../arkui/src/peers/ArkMenuItemGroupPeer.ts | 2 +- arkoala/arkui/src/peers/ArkMenuItemPeer.ts | 2 +- arkoala/arkui/src/peers/ArkMenuPeer.ts | 2 +- .../arkui/src/peers/ArkNavDestinationPeer.ts | 2 +- arkoala/arkui/src/peers/ArkNavRouterPeer.ts | 2 +- arkoala/arkui/src/peers/ArkNavigatorPeer.ts | 2 +- .../arkui/src/peers/ArkNodeContainerPeer.ts | 2 +- arkoala/arkui/src/peers/ArkPanelPeer.ts | 2 +- arkoala/arkui/src/peers/ArkPasteButtonPeer.ts | 2 +- arkoala/arkui/src/peers/ArkPathPeer.ts | 2 +- arkoala/arkui/src/peers/ArkPatternLockPeer.ts | 2 +- .../arkui/src/peers/ArkPluginComponentPeer.ts | 2 +- arkoala/arkui/src/peers/ArkPolygonPeer.ts | 10 +- arkoala/arkui/src/peers/ArkPolylinePeer.ts | 10 +- arkoala/arkui/src/peers/ArkProgressPeer.ts | 2 +- arkoala/arkui/src/peers/ArkQrcodePeer.ts | 2 +- arkoala/arkui/src/peers/ArkRadioPeer.ts | 2 +- arkoala/arkui/src/peers/ArkRatingPeer.ts | 2 +- arkoala/arkui/src/peers/ArkRectPeer.ts | 23 +- arkoala/arkui/src/peers/ArkRefreshPeer.ts | 2 +- .../src/peers/ArkRelativeContainerPeer.ts | 2 +- .../arkui/src/peers/ArkRemoteWindowPeer.ts | 2 +- arkoala/arkui/src/peers/ArkRichEditorPeer.ts | 2 +- arkoala/arkui/src/peers/ArkRichTextPeer.ts | 2 +- arkoala/arkui/src/peers/ArkRootScenePeer.ts | 2 +- arkoala/arkui/src/peers/ArkRowPeer.ts | 2 +- arkoala/arkui/src/peers/ArkRowSplitPeer.ts | 2 +- arkoala/arkui/src/peers/ArkSaveButtonPeer.ts | 2 +- arkoala/arkui/src/peers/ArkScreenPeer.ts | 2 +- arkoala/arkui/src/peers/ArkScrollBarPeer.ts | 2 +- arkoala/arkui/src/peers/ArkScrollPeer.ts | 18 +- arkoala/arkui/src/peers/ArkSearchPeer.ts | 2 +- .../src/peers/ArkSecurityComponentPeer.ts | 2 +- arkoala/arkui/src/peers/ArkSelectPeer.ts | 2 +- arkoala/arkui/src/peers/ArkShapePeer.ts | 16 +- arkoala/arkui/src/peers/ArkSidebarPeer.ts | 2 +- arkoala/arkui/src/peers/ArkSliderPeer.ts | 2 +- arkoala/arkui/src/peers/ArkSpanPeer.ts | 2 +- arkoala/arkui/src/peers/ArkStackPeer.ts | 2 +- .../src/peers/ArkStaticComponentsPeer.ts | 2 +- arkoala/arkui/src/peers/ArkStepperItemPeer.ts | 2 +- arkoala/arkui/src/peers/ArkStepperPeer.ts | 2 +- arkoala/arkui/src/peers/ArkSwiperPeer.ts | 2 +- arkoala/arkui/src/peers/ArkSymbolSpanPeer.ts | 2 +- arkoala/arkui/src/peers/ArkSymbolglyphPeer.ts | 2 +- arkoala/arkui/src/peers/ArkTabContentPeer.ts | 2 +- arkoala/arkui/src/peers/ArkTabsPeer.ts | 2 +- arkoala/arkui/src/peers/ArkTextAreaPeer.ts | 2 +- arkoala/arkui/src/peers/ArkTextClockPeer.ts | 2 +- arkoala/arkui/src/peers/ArkTextInputPeer.ts | 2 +- arkoala/arkui/src/peers/ArkTextPeer.ts | 2 +- arkoala/arkui/src/peers/ArkTextPickerPeer.ts | 2 +- arkoala/arkui/src/peers/ArkTextTimerPeer.ts | 2 +- arkoala/arkui/src/peers/ArkTimePickerPeer.ts | 2 +- arkoala/arkui/src/peers/ArkTogglePeer.ts | 2 +- .../src/peers/ArkUiExtensionComponentPeer.ts | 2 +- arkoala/arkui/src/peers/ArkVideoPeer.ts | 2 +- arkoala/arkui/src/peers/ArkWaterFlowPeer.ts | 2 +- arkoala/arkui/src/peers/ArkWebPeer.ts | 6 +- arkoala/arkui/src/peers/ArkWindowScenePeer.ts | 2 +- arkoala/arkui/src/peers/ArkXcomponentPeer.ts | 2 +- .../src/peers/CallbackDeserializeCall.ts | 112 +- arkoala/arkui/src/peers/CallbackKind.ts | 8 +- arkoala/arkui/src/peers/Deserializer.ts | 550 +- arkoala/arkui/src/peers/Serializer.ts | 590 +- .../framework/native/src/DeserializerBase.h | 637 - arkoala/framework/native/src/SerializerBase.h | 196 - .../native/src/callback_resource_holder.h | 23 - .../native/src/generated/Serializers.h | 26876 ++++++++-------- .../native/src/generated/all_events.cc | 128 +- .../src/generated/arkoala_api_generated.h | 2004 +- .../native/src/generated/bridge_custom.cc | 1 - .../native/src/generated/bridge_generated.cc | 4190 ++- .../generated/callback_deserialize_call.cc | 401 +- .../native/src/generated/callback_kind.h | 8 +- .../src/generated/callback_managed_caller.cc | 380 +- .../native/src/generated/dummy_impl.cc | 3641 ++- .../native/src/generated/real_impl.cc | 2076 +- .../src/generated/ArkUINativeModule.ts | 2 +- .../src/generated/ArkUINativeModuleEmpty.ts | 2 +- arkoala/framework/src/generated/EnumsImpl.ts | 1766 +- .../src/generated/TestNativeModule.ts | 5 +- .../src/generated/TestNativeModuleEmpty.ts | 5 +- arkoala/tools/peer-generator/package.json | 6 +- 737 files changed, 37968 insertions(+), 24249 deletions(-) create mode 100644 arkoala-arkts/arkui/src/generated/ArkAccessibilityHoverEventMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkArkui-stubsInterfaces.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkBaseEventMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkBaseGestureEventMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkClickEventMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkDragEventMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkGestureEventMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkGlobalScopeCommonMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkGlobalScopeInspectorMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkHoverEventMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkKeyEventMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkLongPressGestureEventMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkMouseEventMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkPanGestureEventMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkPinchGestureEventMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkPointInterfaces.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkRotationGestureEventMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkSubmitEventMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkSwipeGestureEventMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkTapGestureEventMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkTouchEventMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkUICommonEventMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/GlobalScope.ts create mode 100644 arkoala/arkui/src/ArkAccessibilityHoverEventMaterialized.ts create mode 100644 arkoala/arkui/src/ArkBaseEventMaterialized.ts create mode 100644 arkoala/arkui/src/ArkBaseGestureEventMaterialized.ts create mode 100644 arkoala/arkui/src/ArkClickEventMaterialized.ts create mode 100644 arkoala/arkui/src/ArkDragEventMaterialized.ts create mode 100644 arkoala/arkui/src/ArkGestureEventMaterialized.ts create mode 100644 arkoala/arkui/src/ArkGlobalScopeCommonMaterialized.ts create mode 100644 arkoala/arkui/src/ArkGlobalScopeInspectorMaterialized.ts create mode 100644 arkoala/arkui/src/ArkHoverEventMaterialized.ts create mode 100644 arkoala/arkui/src/ArkKeyEventMaterialized.ts create mode 100644 arkoala/arkui/src/ArkLongPressGestureEventMaterialized.ts create mode 100644 arkoala/arkui/src/ArkMouseEventMaterialized.ts create mode 100644 arkoala/arkui/src/ArkPanGestureEventMaterialized.ts create mode 100644 arkoala/arkui/src/ArkPinchGestureEventMaterialized.ts create mode 100644 arkoala/arkui/src/ArkRotationGestureEventMaterialized.ts create mode 100644 arkoala/arkui/src/ArkSubmitEventMaterialized.ts create mode 100644 arkoala/arkui/src/ArkSwipeGestureEventMaterialized.ts create mode 100644 arkoala/arkui/src/ArkTapGestureEventMaterialized.ts create mode 100644 arkoala/arkui/src/ArkTouchEventMaterialized.ts create mode 100644 arkoala/arkui/src/ArkUICommonEventMaterialized.ts create mode 100644 arkoala/arkui/src/GlobalScope.ts delete mode 100644 arkoala/framework/native/src/DeserializerBase.h delete mode 100644 arkoala/framework/native/src/SerializerBase.h delete mode 100644 arkoala/framework/native/src/callback_resource_holder.h diff --git a/arkoala-arkts/arkui/src/Application.ts b/arkoala-arkts/arkui/src/Application.ts index 8f403e573..44caf8a10 100644 --- a/arkoala-arkts/arkui/src/Application.ts +++ b/arkoala-arkts/arkui/src/Application.ts @@ -329,25 +329,7 @@ export class Application { } function makeClickEvent(x: number, y: number): ClickEvent { - const value: number = 0 as number return { - target: { - area: { - width: value, - height: value, - position: { x: value, y: value }, - globalPosition: { x: value, y: value } - }, - }, - timestamp: 100, - source: SourceType.MOUSE, - axisHorizontal: undefined, - axisVertical: undefined, - pressure: 0, - tiltX: 0, - tiltY: 0, - sourceTool: SourceTool.MOUSE, - deviceId: undefined, displayX: 0, displayY: 0, windowX: 0, diff --git a/arkoala-arkts/arkui/src/generated/ArkAbilityComponent.ts b/arkoala-arkts/arkui/src/generated/ArkAbilityComponent.ts index fbd6d3d76..7c79da44f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkAbilityComponent.ts +++ b/arkoala-arkts/arkui/src/generated/ArkAbilityComponent.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkAccessibilityHoverEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkAccessibilityHoverEventMaterialized.ts new file mode 100644 index 000000000..4aac46cf1 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkAccessibilityHoverEventMaterialized.ts @@ -0,0 +1,233 @@ +/* + * 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 { BaseEvent, BaseEventInternal } from "./ArkBaseEventMaterialized" +import { AccessibilityHoverType } from "./ArkEnumsInterfaces" +import { INTERFACE_AccessibilityHoverEvent } from "./SyntheticDeclarations" +import { TypeChecker } from "#components" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { ArkUIGeneratedNativeModule } from "#components" +import { wrapCallback, NativeBuffer } from "@koalaui/interop" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export interface AccessibilityHoverEvent { + type: AccessibilityHoverType + x: number + y: number + displayX: number + displayY: number + windowX: number + windowY: number +} +export class AccessibilityHoverEventInternal extends BaseEventInternal implements MaterializedBase,AccessibilityHoverEvent { + peer?: Finalizable | undefined + 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() + } + set y(y: number) { + this.setY(y) + } + 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) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr : KPointer = AccessibilityHoverEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, AccessibilityHoverEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getFinalizer() + } + private getType(): AccessibilityHoverType { + return this.getType_serialize() + } + private setType(type: AccessibilityHoverType): void { + const type_casted = type as (AccessibilityHoverType) + this.setType_serialize(type_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 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 getType_serialize(): AccessibilityHoverType { + const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getType(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setType_serialize(type: AccessibilityHoverType): void { + ArkUIGeneratedNativeModule._AccessibilityHoverEvent_setType(this.peer!.ptr, (type.valueOf() as int32)) + } + private getX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getX(this.peer!.ptr) + return retval + } + 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 + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkActionSheetMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkActionSheetMaterialized.ts index b6b64d809..99107a1a6 100644 --- a/arkoala-arkts/arkui/src/generated/ArkActionSheetMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkActionSheetMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class ActionSheet implements MaterializedBase,INTERFACE_ActionSheet { - peer?: Finalizable +export class ActionSheet implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ActionSheet { - const objActionSheet : ActionSheet = new ActionSheet() - objActionSheet.peer = new Finalizable(ptr, ActionSheet.getFinalizer()) - return objActionSheet - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._ActionSheet_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkAlertDialogMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkAlertDialogMaterialized.ts index 7a4e99aba..6cf9095f2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkAlertDialogMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkAlertDialogMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class AlertDialog implements MaterializedBase,INTERFACE_AlertDialog { - peer?: Finalizable +export class AlertDialog implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): AlertDialog { - const objAlertDialog : AlertDialog = new AlertDialog() - objAlertDialog.peer = new Finalizable(ptr, AlertDialog.getFinalizer()) - return objAlertDialog - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._AlertDialog_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkAlphabetIndexer.ts b/arkoala-arkts/arkui/src/generated/ArkAlphabetIndexer.ts index 5edb19c87..fc9563ec5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkAlphabetIndexer.ts +++ b/arkoala-arkts/arkui/src/generated/ArkAlphabetIndexer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkAnimator.ts b/arkoala-arkts/arkui/src/generated/ArkAnimator.ts index 032a40391..38b4f9ee6 100644 --- a/arkoala-arkts/arkui/src/generated/ArkAnimator.ts +++ b/arkoala-arkts/arkui/src/generated/ArkAnimator.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkArkui-stubsInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkArkui-stubsInterfaces.ts new file mode 100644 index 000000000..9536646c4 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkArkui-stubsInterfaces.ts @@ -0,0 +1,5 @@ +import { int32, int64, float32 } from "@koalaui/common" +import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { NodeAttach, remember } from "@koalaui/runtime" +export interface ESObject { +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkBadge.ts b/arkoala-arkts/arkui/src/generated/ArkBadge.ts index 102ae5f17..268fe7ef5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkBadge.ts +++ b/arkoala-arkts/arkui/src/generated/ArkBadge.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkBaseEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkBaseEventMaterialized.ts new file mode 100644 index 000000000..8c8a5e1d9 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkBaseEventMaterialized.ts @@ -0,0 +1,312 @@ +/* + * 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 { EventTarget, SourceType, SourceTool } from "./ArkCommonInterfaces" +import { INTERFACE_BaseEvent } from "./SyntheticDeclarations" +import { TypeChecker } from "#components" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { ArkUIGeneratedNativeModule } from "#components" +import { wrapCallback, NativeBuffer } from "@koalaui/interop" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export interface BaseEvent { + target: EventTarget + timestamp: number + source: SourceType + axisHorizontal?: number + axisVertical?: number + pressure: number + tiltX: number + tiltY: number + sourceTool: SourceTool + deviceId?: number + getModifierKeyState(keys: Array): boolean +} +export class BaseEventInternal implements MaterializedBase,BaseEvent { + peer?: Finalizable | undefined + 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 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) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._BaseEvent_ctor() + return retval + } + constructor() { + { + const ctorPtr : KPointer = BaseEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, BaseEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._BaseEvent_getFinalizer() + } + getModifierKeyState(keys: Array): boolean { + const keys_casted = keys as (Array) + return this.getModifierKeyState_serialize(keys_casted) + } + 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 { + return this.getAxisHorizontal_serialize() + } + private setAxisHorizontal(axisHorizontal: number): void { + const axisHorizontal_casted = axisHorizontal as (number) + this.setAxisHorizontal_serialize(axisHorizontal_casted) + return + } + private getAxisVertical(): number { + 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 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 { + return this.getDeviceId_serialize() + } + private setDeviceId(deviceId: number): void { + const deviceId_casted = deviceId as (number) + this.setDeviceId_serialize(deviceId_casted) + return + } + private getModifierKeyState_serialize(keys: Array): boolean { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeInt32(keys.length as int32) + 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.asArray(), thisSerializer.length()) + thisSerializer.release() + return retval + } + private setTarget_serialize(target: EventTarget): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeEventTarget(target) + ArkUIGeneratedNativeModule._BaseEvent_setTarget(this.peer!.ptr, thisSerializer.asArray(), 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) + throw new Error("Object deserialization is not implemented.") + } + private setSource_serialize(source: SourceType): void { + ArkUIGeneratedNativeModule._BaseEvent_setSource(this.peer!.ptr, (source.valueOf() as int32)) + } + private getAxisHorizontal_serialize(): number { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getAxisHorizontal(this.peer!.ptr) + return retval + } + private setAxisHorizontal_serialize(axisHorizontal: number): void { + ArkUIGeneratedNativeModule._BaseEvent_setAxisHorizontal(this.peer!.ptr, axisHorizontal) + } + private getAxisVertical_serialize(): number { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getAxisVertical(this.peer!.ptr) + return retval + } + 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 getSourceTool_serialize(): SourceTool { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getSourceTool(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setSourceTool_serialize(sourceTool: SourceTool): void { + ArkUIGeneratedNativeModule._BaseEvent_setSourceTool(this.peer!.ptr, (sourceTool.valueOf() as int32)) + } + private getDeviceId_serialize(): number { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getDeviceId(this.peer!.ptr) + return retval + } + private setDeviceId_serialize(deviceId: number): void { + ArkUIGeneratedNativeModule._BaseEvent_setDeviceId(this.peer!.ptr, deviceId) + } + public static fromPtr(ptr: KPointer): BaseEventInternal { + const obj : BaseEventInternal = new BaseEventInternal() + obj.peer = new Finalizable(ptr, BaseEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkBaseGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkBaseGestureEventMaterialized.ts new file mode 100644 index 000000000..27879ed71 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkBaseGestureEventMaterialized.ts @@ -0,0 +1,101 @@ +/* + * 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 { BaseEvent, BaseEventInternal } from "./ArkBaseEventMaterialized" +import { FingerInfo } from "./ArkGestureInterfaces" +import { INTERFACE_BaseGestureEvent } from "./SyntheticDeclarations" +import { TypeChecker } from "#components" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { ArkUIGeneratedNativeModule } from "#components" +import { wrapCallback, NativeBuffer } from "@koalaui/interop" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export interface BaseGestureEvent { + fingerList: Array +} +export class BaseGestureEventInternal extends BaseEventInternal implements MaterializedBase,BaseGestureEvent { + peer?: Finalizable | undefined + get fingerList(): Array { + throw new Error("Not implemented") + } + set fingerList(fingerList: Array) { + this.setFingerList(fingerList) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._BaseGestureEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr : KPointer = BaseGestureEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, BaseGestureEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._BaseGestureEvent_getFinalizer() + } + private setFingerList(fingerList: Array): void { + const fingerList_casted = fingerList as (Array) + this.setFingerList_serialize(fingerList_casted) + return + } + private setFingerList_serialize(fingerList: Array): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeInt32(fingerList.length as int32) + for (let i = 0; i < fingerList.length; i++) { + const fingerList_element : FingerInfo = fingerList[i] + thisSerializer.writeFingerInfo(fingerList_element) + } + ArkUIGeneratedNativeModule._BaseGestureEvent_setFingerList(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + public static fromPtr(ptr: KPointer): BaseGestureEventInternal { + const obj : BaseGestureEventInternal = new BaseGestureEventInternal() + obj.peer = new Finalizable(ptr, BaseGestureEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkBlank.ts b/arkoala-arkts/arkui/src/generated/ArkBlank.ts index 5730e4760..944be4012 100644 --- a/arkoala-arkts/arkui/src/generated/ArkBlank.ts +++ b/arkoala-arkts/arkui/src/generated/ArkBlank.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkButton.ts b/arkoala-arkts/arkui/src/generated/ArkButton.ts index 89792579d..312452200 100644 --- a/arkoala-arkts/arkui/src/generated/ArkButton.ts +++ b/arkoala-arkts/arkui/src/generated/ArkButton.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -35,23 +35,23 @@ export class ArkButtonComponent extends ArkCommonMethodComponent { return (this.peer as ArkButtonPeer) } /** @memo */ - setButtonOptions(label?: ResourceStr | ButtonOptions, options?: ButtonOptions): this { + setButtonOptions(label?: ButtonOptions | ResourceStr, options?: ButtonOptions): this { if (this.checkPriority("setButtonOptions")) { const label_type = runtimeType(label) const options_type = runtimeType(options) - if ((((RuntimeType.STRING == label_type)) || ((RuntimeType.OBJECT == label_type))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { - const label_casted = label as (ResourceStr) - const options_casted = options as (ButtonOptions | undefined) - this.getPeer()?.setButtonOptions2Attribute(label_casted, options_casted) + if ((((RuntimeType.UNDEFINED == label_type))) && (((RuntimeType.UNDEFINED == options_type)))) { + this.getPeer()?.setButtonOptions0Attribute() return this } if ((((RuntimeType.OBJECT) == (label_type)) && (TypeChecker.isButtonOptions(label, false, false, false, false, false))) && (((RuntimeType.UNDEFINED == options_type)))) { - const label_casted = label as (ButtonOptions) - this.getPeer()?.setButtonOptions1Attribute(label_casted) + const options_casted = label as (ButtonOptions) + this.getPeer()?.setButtonOptions1Attribute(options_casted) return this } - if ((((RuntimeType.UNDEFINED == label_type))) && (((RuntimeType.UNDEFINED == options_type)))) { - this.getPeer()?.setButtonOptions0Attribute() + if ((((RuntimeType.STRING == label_type)) || ((RuntimeType.OBJECT == label_type))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { + const label_casted = label as (ResourceStr) + const options_casted = options as (ButtonOptions | undefined) + this.getPeer()?.setButtonOptions2Attribute(label_casted, options_casted) return this } throw new Error("Can not select appropriate overload") diff --git a/arkoala-arkts/arkui/src/generated/ArkCalendar.ts b/arkoala-arkts/arkui/src/generated/ArkCalendar.ts index 4da5dc002..53fabacf4 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCalendar.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCalendar.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkCalendarControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCalendarControllerMaterialized.ts index 0ba20be7a..b3d8f4ee6 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCalendarControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCalendarControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class CalendarController implements MaterializedBase,INTERFACE_CalendarController { - peer?: Finalizable +export class CalendarController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): CalendarController { - const objCalendarController : CalendarController = new CalendarController() - objCalendarController.peer = new Finalizable(ptr, CalendarController.getFinalizer()) - return objCalendarController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._CalendarController_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkCalendarPicker.ts b/arkoala-arkts/arkui/src/generated/ArkCalendarPicker.ts index 5a47e5f62..17d777d42 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCalendarPicker.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCalendarPicker.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkCalendarPickerDialogMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCalendarPickerDialogMaterialized.ts index 187b50331..4e9ada448 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCalendarPickerDialogMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCalendarPickerDialogMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class CalendarPickerDialog implements MaterializedBase,INTERFACE_CalendarPickerDialog { - peer?: Finalizable +export class CalendarPickerDialog implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): CalendarPickerDialog { - const objCalendarPickerDialog : CalendarPickerDialog = new CalendarPickerDialog() - objCalendarPickerDialog.peer = new Finalizable(ptr, CalendarPickerDialog.getFinalizer()) - return objCalendarPickerDialog - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._CalendarPickerDialog_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvas.ts b/arkoala-arkts/arkui/src/generated/ArkCanvas.ts index 866a848aa..e00ca0952 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvas.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvas.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasGradientMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasGradientMaterialized.ts index 6095a0c3b..0e0899160 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasGradientMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasGradientMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class CanvasGradient implements MaterializedBase,INTERFACE_CanvasGradient { - peer?: Finalizable +export class CanvasGradient implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): CanvasGradient { - const objCanvasGradient : CanvasGradient = new CanvasGradient() - objCanvasGradient.peer = new Finalizable(ptr, CanvasGradient.getFinalizer()) - return objCanvasGradient - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._CanvasGradient_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasPathMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasPathMaterialized.ts index e7bc5f8ed..575fa3c81 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasPathMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasPathMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class CanvasPath implements MaterializedBase,INTERFACE_CanvasPath { - peer?: Finalizable +export class CanvasPath implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): CanvasPath { - const objCanvasPath : CanvasPath = new CanvasPath() - objCanvasPath.peer = new Finalizable(ptr, CanvasPath.getFinalizer()) - return objCanvasPath - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._CanvasPath_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasPatternMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasPatternMaterialized.ts index 8d287fdbc..2b2c7b07c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasPatternMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasPatternMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,7 +16,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { Matrix2D } from "./ArkMatrix2DMaterialized" +import { Matrix2D, Matrix2DInternal } from "./ArkMatrix2DMaterialized" import { INTERFACE_CanvasPattern } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -49,24 +49,22 @@ import { } from "@koalaui/interop" -export class CanvasPattern implements MaterializedBase,INTERFACE_CanvasPattern { - peer?: Finalizable +export interface CanvasPattern { + setTransform(transform: Matrix2D): void +} +export class CanvasPatternInternal implements MaterializedBase,CanvasPattern { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): CanvasPattern { - const objCanvasPattern : CanvasPattern = new CanvasPattern() - objCanvasPattern.peer = new Finalizable(ptr, CanvasPattern.getFinalizer()) - return objCanvasPattern - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._CanvasPattern_ctor() return retval } constructor() { { - const ctorPtr : KPointer = CanvasPattern.ctor() - this.peer = new Finalizable(ctorPtr, CanvasPattern.getFinalizer()) + const ctorPtr : KPointer = CanvasPatternInternal.ctor() + this.peer = new Finalizable(ctorPtr, CanvasPatternInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -89,11 +87,9 @@ export class CanvasPattern implements MaterializedBase,INTERFACE_CanvasPattern { ArkUIGeneratedNativeModule._CanvasPattern_setTransform(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } -} -export class CanvasPatternInternal { - public static fromPtr(ptr: KPointer): CanvasPattern { - const obj : CanvasPattern = new CanvasPattern() - obj.peer = new Finalizable(ptr, CanvasPattern.getFinalizer()) + public static fromPtr(ptr: KPointer): CanvasPatternInternal { + const obj : CanvasPatternInternal = new CanvasPatternInternal() + obj.peer = new Finalizable(ptr, CanvasPatternInternal.getFinalizer()) return obj } } diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasRendererMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasRendererMaterialized.ts index e8e32fc87..2dc5801b9 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasRendererMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasRendererMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,14 +16,14 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { CanvasPath } from "./ArkCanvasPathMaterialized" -import { CanvasGradient } from "./ArkCanvasGradientMaterialized" -import { CanvasPattern } from "./ArkCanvasPatternMaterialized" +import { CanvasPath, CanvasPathInternal } from "./ArkCanvasPathMaterialized" +import { CanvasGradient, CanvasGradientInternal } from "./ArkCanvasGradientMaterialized" +import { CanvasPattern, CanvasPatternInternal } from "./ArkCanvasPatternMaterialized" import { ImageSmoothingQuality, CanvasLineCap, CanvasLineJoin, CanvasDirection, CanvasTextAlign, CanvasTextBaseline, CanvasFillRule, ImageData, TextMetrics } from "./ArkCanvasInterfaces" -import { ImageBitmap } from "./ArkImageBitmapMaterialized" -import { PixelMap } from "./ArkPixelMapMaterialized" -import { Path2D } from "./ArkPath2DMaterialized" -import { Matrix2D } from "./ArkMatrix2DMaterialized" +import { ImageBitmap, ImageBitmapInternal } from "./ArkImageBitmapMaterialized" +import { PixelMap, PixelMapInternal } from "./ArkPixelMapMaterialized" +import { Path2D, Path2DInternal } from "./ArkPath2DMaterialized" +import { Matrix2D, Matrix2DInternal } from "./ArkMatrix2DMaterialized" import { INTERFACE_CanvasRenderer } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -56,8 +56,8 @@ import { } from "@koalaui/interop" -export class CanvasRenderer extends CanvasPath implements MaterializedBase,INTERFACE_CanvasRenderer { - peer?: Finalizable +export class CanvasRenderer extends CanvasPath implements MaterializedBase { + peer?: Finalizable | undefined get globalAlpha(): number { return this.getGlobalAlpha() } @@ -181,11 +181,6 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,INTER getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): CanvasRenderer { - const objCanvasRenderer : CanvasRenderer = new CanvasRenderer() - objCanvasRenderer.peer = new Finalizable(ptr, CanvasRenderer.getFinalizer()) - return objCanvasRenderer - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._CanvasRenderer_ctor() return retval @@ -210,6 +205,22 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,INTER const dy_type = runtimeType(dy) const dw_type = runtimeType(dw) const dh_type = runtimeType(dh) + if ((((RuntimeType.OBJECT == image_type)) || ((RuntimeType.OBJECT == image_type))) && (((RuntimeType.UNDEFINED == sw_type))) && (((RuntimeType.UNDEFINED == sh_type))) && (((RuntimeType.UNDEFINED == dx_type))) && (((RuntimeType.UNDEFINED == dy_type))) && (((RuntimeType.UNDEFINED == dw_type))) && (((RuntimeType.UNDEFINED == dh_type)))) { + const image_casted = image as (ImageBitmap | PixelMap) + const dx_casted = sx as (number) + const dy_casted = sy as (number) + this.drawImage0_serialize(image_casted, dx_casted, dy_casted) + return + } + if ((((RuntimeType.OBJECT == image_type)) || ((RuntimeType.OBJECT == image_type))) && (((RuntimeType.NUMBER == sw_type))) && (((RuntimeType.NUMBER == sh_type))) && (((RuntimeType.UNDEFINED == dx_type))) && (((RuntimeType.UNDEFINED == dy_type))) && (((RuntimeType.UNDEFINED == dw_type))) && (((RuntimeType.UNDEFINED == dh_type)))) { + const image_casted = image as (ImageBitmap | PixelMap) + const dx_casted = sx as (number) + const dy_casted = sy as (number) + const dw_casted = sw as (number) + const dh_casted = sh as (number) + this.drawImage1_serialize(image_casted, dx_casted, dy_casted, dw_casted, dh_casted) + return + } if ((((RuntimeType.OBJECT == image_type)) || ((RuntimeType.OBJECT == image_type))) && (((RuntimeType.NUMBER == sw_type))) && (((RuntimeType.NUMBER == sh_type))) && (((RuntimeType.NUMBER == dx_type))) && (((RuntimeType.NUMBER == dy_type))) && (((RuntimeType.NUMBER == dw_type))) && (((RuntimeType.NUMBER == dh_type)))) { const image_casted = image as (ImageBitmap | PixelMap) const sx_casted = sx as (number) @@ -223,71 +234,55 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,INTER this.drawImage2_serialize(image_casted, sx_casted, sy_casted, sw_casted, sh_casted, dx_casted, dy_casted, dw_casted, dh_casted) return } - if ((((RuntimeType.OBJECT == image_type)) || ((RuntimeType.OBJECT == image_type))) && (((RuntimeType.NUMBER == sw_type))) && (((RuntimeType.NUMBER == sh_type))) && (((RuntimeType.UNDEFINED == dx_type))) && (((RuntimeType.UNDEFINED == dy_type))) && (((RuntimeType.UNDEFINED == dw_type))) && (((RuntimeType.UNDEFINED == dh_type)))) { - const image_casted = image as (ImageBitmap | PixelMap) - const sx_casted = sx as (number) - const sy_casted = sy as (number) - const sw_casted = sw as (number) - const sh_casted = sh as (number) - this.drawImage1_serialize(image_casted, sx_casted, sy_casted, sw_casted, sh_casted) - return - } - if ((((RuntimeType.OBJECT == image_type)) || ((RuntimeType.OBJECT == image_type))) && (((RuntimeType.UNDEFINED == sw_type))) && (((RuntimeType.UNDEFINED == sh_type))) && (((RuntimeType.UNDEFINED == dx_type))) && (((RuntimeType.UNDEFINED == dy_type))) && (((RuntimeType.UNDEFINED == dw_type))) && (((RuntimeType.UNDEFINED == dh_type)))) { - const image_casted = image as (ImageBitmap | PixelMap) - const sx_casted = sx as (number) - const sy_casted = sy as (number) - this.drawImage0_serialize(image_casted, sx_casted, sy_casted) - return - } throw new Error("Can not select appropriate overload") } beginPath(): void { this.beginPath_serialize() return } - clip(path?: Path2D | CanvasFillRule | undefined, fillRule?: CanvasFillRule): void { + clip(path?: CanvasFillRule | undefined | Path2D, fillRule?: CanvasFillRule): void { const path_type = runtimeType(path) const fillRule_type = runtimeType(fillRule) + if ((((RuntimeType.STRING == path_type)) || ((RuntimeType.UNDEFINED == path_type))) && (((RuntimeType.UNDEFINED == fillRule_type)))) { + const fillRule_casted = path as (CanvasFillRule | undefined) + this.clip0_serialize(fillRule_casted) + return + } if ((((RuntimeType.OBJECT == path_type))) && (((RuntimeType.STRING == fillRule_type)) || ((RuntimeType.UNDEFINED == fillRule_type)))) { const path_casted = path as (Path2D) const fillRule_casted = fillRule as (CanvasFillRule | undefined) this.clip1_serialize(path_casted, fillRule_casted) return } - if ((((RuntimeType.STRING == path_type)) || ((RuntimeType.UNDEFINED == path_type))) && (((RuntimeType.UNDEFINED == fillRule_type)))) { - const path_casted = path as (CanvasFillRule | undefined) - this.clip0_serialize(path_casted) - return - } throw new Error("Can not select appropriate overload") } - fill(path?: Path2D | CanvasFillRule | undefined, fillRule?: CanvasFillRule): void { + fill(path?: CanvasFillRule | undefined | Path2D, fillRule?: CanvasFillRule): void { const path_type = runtimeType(path) const fillRule_type = runtimeType(fillRule) + if ((((RuntimeType.STRING == path_type)) || ((RuntimeType.UNDEFINED == path_type))) && (((RuntimeType.UNDEFINED == fillRule_type)))) { + const fillRule_casted = path as (CanvasFillRule | undefined) + this.fill0_serialize(fillRule_casted) + return + } if ((((RuntimeType.OBJECT == path_type))) && (((RuntimeType.STRING == fillRule_type)) || ((RuntimeType.UNDEFINED == fillRule_type)))) { const path_casted = path as (Path2D) const fillRule_casted = fillRule as (CanvasFillRule | undefined) this.fill1_serialize(path_casted, fillRule_casted) return } - if ((((RuntimeType.STRING == path_type)) || ((RuntimeType.UNDEFINED == path_type))) && (((RuntimeType.UNDEFINED == fillRule_type)))) { - const path_casted = path as (CanvasFillRule | undefined) - this.fill0_serialize(path_casted) - return - } throw new Error("Can not select appropriate overload") } stroke(path?: Path2D): void { const path_type = runtimeType(path) + if ((((RuntimeType.UNDEFINED == path_type)))) { + this.stroke0_serialize() + return + } if ((((RuntimeType.OBJECT == path_type)))) { const path_casted = path as (Path2D) this.stroke1_serialize(path_casted) return } - if ((((RuntimeType.UNDEFINED == path_type)))) { - this.stroke0_serialize() - return - } throw new Error("Can not select appropriate overload") } createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient { @@ -317,18 +312,18 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,INTER const y_casted = y as (number) return this.createConicGradient_serialize(startAngle_casted, x_casted, y_casted) } - createImageData(sw: number | ImageData, sh?: number): ImageData { + createImageData(sw: ImageData | number, sh?: number): ImageData { const sw_type = runtimeType(sw) const sh_type = runtimeType(sh) + if ((((RuntimeType.OBJECT == sw_type))) && (((RuntimeType.UNDEFINED == sh_type)))) { + const imagedata_casted = sw as (ImageData) + return this.createImageData1_serialize(imagedata_casted) + } if ((((RuntimeType.NUMBER == sw_type))) && (((RuntimeType.NUMBER == sh_type)))) { const sw_casted = sw as (number) const sh_casted = sh as (number) return this.createImageData0_serialize(sw_casted, sh_casted) } - if ((((RuntimeType.OBJECT == sw_type))) && (((RuntimeType.UNDEFINED == sh_type)))) { - const sw_casted = sw as (ImageData) - return this.createImageData1_serialize(sw_casted) - } throw new Error("Can not select appropriate overload") } getImageData(sx: number, sy: number, sw: number, sh: number): ImageData { @@ -353,6 +348,13 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,INTER const dirtyY_type = runtimeType(dirtyY) const dirtyWidth_type = runtimeType(dirtyWidth) const dirtyHeight_type = runtimeType(dirtyHeight) + if ((((RuntimeType.NUMBER == dx_type)) || ((RuntimeType.STRING == dx_type))) && (((RuntimeType.NUMBER == dy_type)) || ((RuntimeType.STRING == dy_type))) && (((RuntimeType.UNDEFINED == dirtyX_type))) && (((RuntimeType.UNDEFINED == dirtyY_type))) && (((RuntimeType.UNDEFINED == dirtyWidth_type))) && (((RuntimeType.UNDEFINED == dirtyHeight_type)))) { + const imagedata_casted = imagedata as (ImageData) + const dx_casted = dx as (number | string) + const dy_casted = dy as (number | string) + this.putImageData0_serialize(imagedata_casted, dx_casted, dy_casted) + return + } if ((((RuntimeType.NUMBER == dx_type)) || ((RuntimeType.STRING == dx_type))) && (((RuntimeType.NUMBER == dy_type)) || ((RuntimeType.STRING == dy_type))) && (((RuntimeType.NUMBER == dirtyX_type)) || ((RuntimeType.STRING == dirtyX_type))) && (((RuntimeType.NUMBER == dirtyY_type)) || ((RuntimeType.STRING == dirtyY_type))) && (((RuntimeType.NUMBER == dirtyWidth_type)) || ((RuntimeType.STRING == dirtyWidth_type))) && (((RuntimeType.NUMBER == dirtyHeight_type)) || ((RuntimeType.STRING == dirtyHeight_type)))) { const imagedata_casted = imagedata as (ImageData) const dx_casted = dx as (number | string) @@ -364,13 +366,6 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,INTER this.putImageData1_serialize(imagedata_casted, dx_casted, dy_casted, dirtyX_casted, dirtyY_casted, dirtyWidth_casted, dirtyHeight_casted) return } - if ((((RuntimeType.NUMBER == dx_type)) || ((RuntimeType.STRING == dx_type))) && (((RuntimeType.NUMBER == dy_type)) || ((RuntimeType.STRING == dy_type))) && (((RuntimeType.UNDEFINED == dirtyX_type))) && (((RuntimeType.UNDEFINED == dirtyY_type))) && (((RuntimeType.UNDEFINED == dirtyWidth_type))) && (((RuntimeType.UNDEFINED == dirtyHeight_type)))) { - const imagedata_casted = imagedata as (ImageData) - const dx_casted = dx as (number | string) - const dy_casted = dy as (number | string) - this.putImageData0_serialize(imagedata_casted, dx_casted, dy_casted) - return - } throw new Error("Can not select appropriate overload") } getLineDash(): Array { @@ -451,13 +446,18 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,INTER this.scale_serialize(x_casted, y_casted) return } - setTransform(a?: number | Matrix2D | undefined, b?: number, c?: number, d?: number, e?: number, f?: number): void { + setTransform(a?: Matrix2D | undefined | number, b?: number, c?: number, d?: number, e?: number, f?: number): void { const a_type = runtimeType(a) const b_type = runtimeType(b) const c_type = runtimeType(c) const d_type = runtimeType(d) const e_type = runtimeType(e) const f_type = runtimeType(f) + if ((((RuntimeType.OBJECT == a_type)) || ((RuntimeType.UNDEFINED == a_type))) && (((RuntimeType.UNDEFINED == b_type))) && (((RuntimeType.UNDEFINED == c_type))) && (((RuntimeType.UNDEFINED == d_type))) && (((RuntimeType.UNDEFINED == e_type))) && (((RuntimeType.UNDEFINED == f_type)))) { + const transform_casted = a as (Matrix2D | undefined) + this.setTransform1_serialize(transform_casted) + return + } if ((((RuntimeType.NUMBER == a_type))) && (((RuntimeType.NUMBER == b_type))) && (((RuntimeType.NUMBER == c_type))) && (((RuntimeType.NUMBER == d_type))) && (((RuntimeType.NUMBER == e_type))) && (((RuntimeType.NUMBER == f_type)))) { const a_casted = a as (number) const b_casted = b as (number) @@ -468,11 +468,6 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,INTER this.setTransform0_serialize(a_casted, b_casted, c_casted, d_casted, e_casted, f_casted) return } - if ((((RuntimeType.OBJECT == a_type)) || ((RuntimeType.UNDEFINED == a_type))) && (((RuntimeType.UNDEFINED == b_type))) && (((RuntimeType.UNDEFINED == c_type))) && (((RuntimeType.UNDEFINED == d_type))) && (((RuntimeType.UNDEFINED == e_type))) && (((RuntimeType.UNDEFINED == f_type)))) { - const a_casted = a as (Matrix2D | undefined) - this.setTransform1_serialize(a_casted) - return - } throw new Error("Can not select appropriate overload") } transform(a: number, b: number, c: number, d: number, e: number, f: number): void { @@ -671,12 +666,12 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,INTER const thisSerializer : Serializer = Serializer.hold() let image_type : int32 = RuntimeType.UNDEFINED image_type = runtimeType(image) - if (((RuntimeType.OBJECT) == (image_type)) && (image instanceof ImageBitmap)) { + if (((RuntimeType.OBJECT) == (image_type)) && (TypeChecker.isImageBitmap(image, false, false))) { thisSerializer.writeInt8(0 as int32) const image_0 = image as ImageBitmap thisSerializer.writeImageBitmap(image_0) } - else if (((RuntimeType.OBJECT) == (image_type)) && (image instanceof PixelMap)) { + else if (((RuntimeType.OBJECT) == (image_type)) && (TypeChecker.isPixelMap(image, false, false))) { thisSerializer.writeInt8(1 as int32) const image_1 = image as PixelMap thisSerializer.writePixelMap(image_1) @@ -688,12 +683,12 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,INTER const thisSerializer : Serializer = Serializer.hold() let image_type : int32 = RuntimeType.UNDEFINED image_type = runtimeType(image) - if (((RuntimeType.OBJECT) == (image_type)) && (image instanceof ImageBitmap)) { + if (((RuntimeType.OBJECT) == (image_type)) && (TypeChecker.isImageBitmap(image, false, false))) { thisSerializer.writeInt8(0 as int32) const image_0 = image as ImageBitmap thisSerializer.writeImageBitmap(image_0) } - else if (((RuntimeType.OBJECT) == (image_type)) && (image instanceof PixelMap)) { + else if (((RuntimeType.OBJECT) == (image_type)) && (TypeChecker.isPixelMap(image, false, false))) { thisSerializer.writeInt8(1 as int32) const image_1 = image as PixelMap thisSerializer.writePixelMap(image_1) @@ -705,12 +700,12 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,INTER const thisSerializer : Serializer = Serializer.hold() let image_type : int32 = RuntimeType.UNDEFINED image_type = runtimeType(image) - if (((RuntimeType.OBJECT) == (image_type)) && (image instanceof ImageBitmap)) { + if (((RuntimeType.OBJECT) == (image_type)) && (TypeChecker.isImageBitmap(image, false, false))) { thisSerializer.writeInt8(0 as int32) const image_0 = image as ImageBitmap thisSerializer.writeImageBitmap(image_0) } - else if (((RuntimeType.OBJECT) == (image_type)) && (image instanceof PixelMap)) { + else if (((RuntimeType.OBJECT) == (image_type)) && (TypeChecker.isPixelMap(image, false, false))) { thisSerializer.writeInt8(1 as int32) const image_1 = image as PixelMap thisSerializer.writePixelMap(image_1) @@ -1079,7 +1074,7 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,INTER const fillStyle_1 = fillStyle as number thisSerializer.writeNumber(fillStyle_1) } - else if (((RuntimeType.OBJECT) == (fillStyle_type)) && (fillStyle instanceof CanvasGradient)) { + else if (((RuntimeType.OBJECT) == (fillStyle_type)) && (TypeChecker.isCanvasGradient(fillStyle))) { thisSerializer.writeInt8(2 as int32) const fillStyle_2 = fillStyle as CanvasGradient thisSerializer.writeCanvasGradient(fillStyle_2) @@ -1106,7 +1101,7 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,INTER const strokeStyle_1 = strokeStyle as number thisSerializer.writeNumber(strokeStyle_1) } - else if (((RuntimeType.OBJECT) == (strokeStyle_type)) && (strokeStyle instanceof CanvasGradient)) { + else if (((RuntimeType.OBJECT) == (strokeStyle_type)) && (TypeChecker.isCanvasGradient(strokeStyle))) { thisSerializer.writeInt8(2 as int32) const strokeStyle_2 = strokeStyle as CanvasGradient thisSerializer.writeCanvasGradient(strokeStyle_2) diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasRenderingContext2DMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasRenderingContext2DMaterialized.ts index 573182c1e..ec6f8bd71 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasRenderingContext2DMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasRenderingContext2DMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,8 +16,8 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { CanvasRenderer } from "./ArkCanvasRendererMaterialized" -import { FrameNode } from "./ArkFrameNodeMaterialized" +import { CanvasRenderer, CanvasRendererInternal } from "./ArkCanvasRendererMaterialized" +import { FrameNode, FrameNodeInternal } from "./ArkFrameNodeMaterialized" import { RenderingContextSettings } from "./ArkCanvasInterfaces" import { LengthMetricsUnit } from "./ArkUnitsInterfaces" import { ImageAnalyzerConfig } from "./ArkImageCommonInterfaces" @@ -53,8 +53,8 @@ import { } from "@koalaui/interop" -export class CanvasRenderingContext2D extends CanvasRenderer implements MaterializedBase,INTERFACE_CanvasRenderingContext2D { - peer?: Finalizable +export class CanvasRenderingContext2D extends CanvasRenderer implements MaterializedBase { + peer?: Finalizable | undefined get height(): number { return this.getHeight() } @@ -67,11 +67,6 @@ export class CanvasRenderingContext2D extends CanvasRenderer implements Material getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): CanvasRenderingContext2D { - const objCanvasRenderingContext2D : CanvasRenderingContext2D = new CanvasRenderingContext2D() - objCanvasRenderingContext2D.peer = new Finalizable(ptr, CanvasRenderingContext2D.getFinalizer()) - return objCanvasRenderingContext2D - } static ctor(settings?: RenderingContextSettings): KPointer { const thisSerializer : Serializer = Serializer.hold() let settings_type : int32 = RuntimeType.UNDEFINED @@ -95,9 +90,9 @@ export class CanvasRenderingContext2D extends CanvasRenderer implements Material static getFinalizer(): KPointer { return ArkUIGeneratedNativeModule._CanvasRenderingContext2D_getFinalizer() } - toDataURL(type?: string, quality?: object): string { + toDataURL(type?: string, quality?: number): string { const type_casted = type as (string | undefined) - const quality_casted = quality as (object | undefined) + const quality_casted = quality as (number | undefined) return this.toDataURL_serialize(type_casted, quality_casted) } startImageAnalyzer(config: ImageAnalyzerConfig): Promise { @@ -108,24 +103,24 @@ export class CanvasRenderingContext2D extends CanvasRenderer implements Material this.stopImageAnalyzer_serialize() return } - onOnAttach(callback: (() => void)): void { - const callback_casted = callback as ((() => void)) - this.onOnAttach_serialize(callback_casted) + onOnAttach(callback_: (() => void)): void { + const callback__casted = callback_ as ((() => void)) + this.onOnAttach_serialize(callback__casted) return } - offOnAttach(callback?: (() => void)): void { - const callback_casted = callback as ((() => void) | undefined) - this.offOnAttach_serialize(callback_casted) + offOnAttach(callback_?: (() => void)): void { + const callback__casted = callback_ as ((() => void) | undefined) + this.offOnAttach_serialize(callback__casted) return } - onOnDetach(callback: (() => void)): void { - const callback_casted = callback as ((() => void)) - this.onOnDetach_serialize(callback_casted) + onOnDetach(callback_: (() => void)): void { + const callback__casted = callback_ as ((() => void)) + this.onOnDetach_serialize(callback__casted) return } - offOnDetach(callback?: (() => void)): void { - const callback_casted = callback as ((() => void) | undefined) - this.offOnDetach_serialize(callback_casted) + offOnDetach(callback_?: (() => void)): void { + const callback__casted = callback_ as ((() => void) | undefined) + this.offOnDetach_serialize(callback__casted) return } private getHeight(): number { @@ -134,13 +129,13 @@ export class CanvasRenderingContext2D extends CanvasRenderer implements Material private getWidth(): number { return this.getWidth_serialize() } - on(type: string, callback: (() => void)): void { + on(type: string, callback_: (() => void)): void { throw new Error("TBD") } - off(type: string, callback: (() => void)): void { + off(type: string, callback_: (() => void)): void { throw new Error("TBD") } - private toDataURL_serialize(type?: string, quality?: object): string { + private toDataURL_serialize(type?: string, quality?: number): string { const thisSerializer : Serializer = Serializer.hold() let type_type : int32 = RuntimeType.UNDEFINED type_type = runtimeType(type) @@ -154,7 +149,7 @@ export class CanvasRenderingContext2D extends CanvasRenderer implements Material thisSerializer.writeInt8(quality_type as int32) if ((RuntimeType.UNDEFINED) != (quality_type)) { const quality_value = quality! - thisSerializer.writeCustomObject("Any", quality_value) + thisSerializer.writeNumber(quality_value) } const retval = ArkUIGeneratedNativeModule._CanvasRenderingContext2D_toDataURL(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() @@ -171,38 +166,38 @@ export class CanvasRenderingContext2D extends CanvasRenderer implements Material private stopImageAnalyzer_serialize(): void { ArkUIGeneratedNativeModule._CanvasRenderingContext2D_stopImageAnalyzer(this.peer!.ptr) } - private onOnAttach_serialize(callback: (() => void)): void { + private onOnAttach_serialize(callback_: (() => void)): void { const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(callback) + thisSerializer.holdAndWriteCallback(callback_) ArkUIGeneratedNativeModule._CanvasRenderingContext2D_onOnAttach(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - private offOnAttach_serialize(callback?: (() => void)): void { + private offOnAttach_serialize(callback_?: (() => void)): void { const thisSerializer : Serializer = Serializer.hold() - let callback_type : int32 = RuntimeType.UNDEFINED - callback_type = runtimeType(callback) - thisSerializer.writeInt8(callback_type as int32) - if ((RuntimeType.UNDEFINED) != (callback_type)) { - const callback_value = callback! - thisSerializer.holdAndWriteCallback(callback_value) + let callback__type : int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type as int32) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) } ArkUIGeneratedNativeModule._CanvasRenderingContext2D_offOnAttach(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - private onOnDetach_serialize(callback: (() => void)): void { + private onOnDetach_serialize(callback_: (() => void)): void { const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(callback) + thisSerializer.holdAndWriteCallback(callback_) ArkUIGeneratedNativeModule._CanvasRenderingContext2D_onOnDetach(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - private offOnDetach_serialize(callback?: (() => void)): void { + private offOnDetach_serialize(callback_?: (() => void)): void { const thisSerializer : Serializer = Serializer.hold() - let callback_type : int32 = RuntimeType.UNDEFINED - callback_type = runtimeType(callback) - thisSerializer.writeInt8(callback_type as int32) - if ((RuntimeType.UNDEFINED) != (callback_type)) { - const callback_value = callback! - thisSerializer.holdAndWriteCallback(callback_value) + let callback__type : int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type as int32) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) } ArkUIGeneratedNativeModule._CanvasRenderingContext2D_offOnDetach(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() diff --git a/arkoala-arkts/arkui/src/generated/ArkCheckbox.ts b/arkoala-arkts/arkui/src/generated/ArkCheckbox.ts index f15dc3899..494020b1b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCheckbox.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCheckbox.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkCheckboxgroup.ts b/arkoala-arkts/arkui/src/generated/ArkCheckboxgroup.ts index 36a8eca90..cd53f2f9e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCheckboxgroup.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCheckboxgroup.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkChildrenMainSizeMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkChildrenMainSizeMaterialized.ts index 2360719d5..557ea2470 100644 --- a/arkoala-arkts/arkui/src/generated/ArkChildrenMainSizeMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkChildrenMainSizeMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,8 +48,8 @@ import { } from "@koalaui/interop" -export class ChildrenMainSize implements MaterializedBase,INTERFACE_ChildrenMainSize { - peer?: Finalizable +export class ChildrenMainSize implements MaterializedBase { + peer?: Finalizable | undefined get childDefaultSize(): number { return this.getChildDefaultSize() } @@ -59,11 +59,6 @@ export class ChildrenMainSize implements MaterializedBase,INTERFACE_ChildrenMain getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ChildrenMainSize { - const objChildrenMainSize : ChildrenMainSize = new ChildrenMainSize() - objChildrenMainSize.peer = new Finalizable(ptr, ChildrenMainSize.getFinalizer()) - return objChildrenMainSize - } static ctor(childDefaultSize: number): KPointer { const retval = ArkUIGeneratedNativeModule._ChildrenMainSize_ctor(childDefaultSize) return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkCircle.ts b/arkoala-arkts/arkui/src/generated/ArkCircle.ts index 0bf05490c..991684c57 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCircle.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCircle.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkClickEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkClickEventMaterialized.ts new file mode 100644 index 000000000..57f85d861 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkClickEventMaterialized.ts @@ -0,0 +1,272 @@ +/* + * 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 { BaseEvent, BaseEventInternal } from "./ArkBaseEventMaterialized" +import { Callback_Void, INTERFACE_ClickEvent } from "./SyntheticDeclarations" +import { TypeChecker } from "#components" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { ArkUIGeneratedNativeModule } from "#components" +import { wrapCallback, NativeBuffer } from "@koalaui/interop" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export interface ClickEvent { + displayX: number + displayY: number + windowX: number + windowY: number + screenX: number + screenY: number + x: number + y: number + preventDefault: (() => void) +} +export class ClickEventInternal extends BaseEventInternal implements MaterializedBase,ClickEvent { + peer?: Finalizable | undefined + 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 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 preventDefault(): (() => void) { + throw new Error("Not implemented") + } + set preventDefault(preventDefault: (() => void)) { + this.setPreventDefault(preventDefault) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._ClickEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr : KPointer = ClickEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, ClickEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._ClickEvent_getFinalizer() + } + 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 getScreenX(): number { + return this.getScreenX_serialize() + } + private setScreenX(screenX: number): void { + const screenX_casted = screenX as (number) + this.setScreenX_serialize(screenX_casted) + return + } + private getScreenY(): number { + return this.getScreenY_serialize() + } + private setScreenY(screenY: number): void { + const screenY_casted = screenY as (number) + this.setScreenY_serialize(screenY_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 setPreventDefault(preventDefault: (() => void)): void { + const preventDefault_casted = preventDefault as ((() => void)) + this.setPreventDefault_serialize(preventDefault_casted) + return + } + private getDisplayX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getDisplayX(this.peer!.ptr) + return retval + } + private setDisplayX_serialize(displayX: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setDisplayX(this.peer!.ptr, displayX) + } + private getDisplayY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getDisplayY(this.peer!.ptr) + return retval + } + private setDisplayY_serialize(displayY: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setDisplayY(this.peer!.ptr, displayY) + } + private getWindowX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getWindowX(this.peer!.ptr) + return retval + } + private setWindowX_serialize(windowX: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setWindowX(this.peer!.ptr, windowX) + } + private getWindowY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getWindowY(this.peer!.ptr) + return retval + } + private setWindowY_serialize(windowY: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setWindowY(this.peer!.ptr, windowY) + } + private getScreenX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getScreenX(this.peer!.ptr) + return retval + } + private setScreenX_serialize(screenX: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setScreenX(this.peer!.ptr, screenX) + } + private getScreenY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getScreenY(this.peer!.ptr) + return retval + } + private setScreenY_serialize(screenY: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setScreenY(this.peer!.ptr, screenY) + } + private getX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getX(this.peer!.ptr) + return retval + } + private setX_serialize(x: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setX(this.peer!.ptr, x) + } + private getY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getY(this.peer!.ptr) + return retval + } + private setY_serialize(y: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setY(this.peer!.ptr, y) + } + private setPreventDefault_serialize(preventDefault: (() => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(preventDefault) + ArkUIGeneratedNativeModule._ClickEvent_setPreventDefault(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + public static fromPtr(ptr: KPointer): ClickEventInternal { + const obj : ClickEventInternal = new ClickEventInternal() + obj.peer = new Finalizable(ptr, ClickEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkClientAuthenticationHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkClientAuthenticationHandlerMaterialized.ts index c1499d0c0..fa0120d35 100644 --- a/arkoala-arkts/arkui/src/generated/ArkClientAuthenticationHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkClientAuthenticationHandlerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class ClientAuthenticationHandler implements MaterializedBase,INTERFACE_ClientAuthenticationHandler { - peer?: Finalizable +export class ClientAuthenticationHandler implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ClientAuthenticationHandler { - const objClientAuthenticationHandler : ClientAuthenticationHandler = new ClientAuthenticationHandler() - objClientAuthenticationHandler.peer = new Finalizable(ptr, ClientAuthenticationHandler.getFinalizer()) - return objClientAuthenticationHandler - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._ClientAuthenticationHandler_ctor() return retval @@ -74,17 +69,17 @@ export class ClientAuthenticationHandler implements MaterializedBase,INTERFACE_C confirm(priKeyFile: string, certChainFile?: string): void { const priKeyFile_type = runtimeType(priKeyFile) const certChainFile_type = runtimeType(certChainFile) + if ((((RuntimeType.UNDEFINED == certChainFile_type)))) { + const authUri_casted = priKeyFile as (string) + this.confirm1_serialize(authUri_casted) + return + } if ((((RuntimeType.STRING == certChainFile_type)))) { const priKeyFile_casted = priKeyFile as (string) const certChainFile_casted = certChainFile as (string) this.confirm0_serialize(priKeyFile_casted, certChainFile_casted) return } - if ((((RuntimeType.UNDEFINED == certChainFile_type)))) { - const priKeyFile_casted = priKeyFile as (string) - this.confirm1_serialize(priKeyFile_casted) - return - } throw new Error("Can not select appropriate overload") } cancel(): void { diff --git a/arkoala-arkts/arkui/src/generated/ArkColumn.ts b/arkoala-arkts/arkui/src/generated/ArkColumn.ts index e742cf365..22fa76fbd 100644 --- a/arkoala-arkts/arkui/src/generated/ArkColumn.ts +++ b/arkoala-arkts/arkui/src/generated/ArkColumn.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkColumnSplit.ts b/arkoala-arkts/arkui/src/generated/ArkColumnSplit.ts index ccdafc3b8..f9bb619c5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkColumnSplit.ts +++ b/arkoala-arkts/arkui/src/generated/ArkColumnSplit.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkCommon.ts b/arkoala-arkts/arkui/src/generated/ArkCommon.ts index 4a0606e22..79dc4db64 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCommon.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCommon.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -26,14 +26,20 @@ import { ArkCommonMethodPeer, ArkCommonShapeMethodPeer, ArkCommonPeer, ArkScroll import { UseEventsProperties } from "./use_properties" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions } from "./ArkUnitsInterfaces" import { DrawModifier } from "./ArkDrawModifierMaterialized" -import { Rectangle, TouchTestInfo, TouchResult, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, ClickEvent, HoverEvent, AccessibilityCallback, MouseEvent, TouchEvent, KeyEvent, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, DragEvent, CustomBuilder, DragItemInfo, UniformDataType, PreDragStatus, MotionPathOptions, ShadowOptions, ShadowStyle, CircleShape, EllipseShape, PathShape, RectShape, StateStyles, PixelStretchEffectOptions, BackgroundBrightnessOptions, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, SafeAreaType, SafeAreaEdge, BlurStyle, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, TransitionFinishCallback, BlurOptions, LinearGradientBlurOptions, EffectType, sharedTransitionOptions, ChainStyle, DragPreviewOptions, DragInteractionOptions, ComponentContent, OverlayOptions, BlendMode, BlendApplyType, Blender, GeometryTransitionOptions, PopupOptions, CustomPopupOptions, MenuElement, MenuOptions, ContextMenuOptions, ModalTransition, ContentCoverOptions, SheetOptions, VisibleAreaChangeCallback, CommonMethod, CommonAttribute, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions } from "./ArkCommonInterfaces" +import { Rectangle, TouchTestInfo, TouchResult, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, CustomBuilder, DragItemInfo, UniformDataType, PreDragStatus, MotionPathOptions, ShadowOptions, ShadowStyle, CircleShape, EllipseShape, PathShape, RectShape, StateStyles, PixelStretchEffectOptions, BackgroundBrightnessOptions, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, SafeAreaType, SafeAreaEdge, BlurStyle, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, TransitionFinishCallback, BlurOptions, LinearGradientBlurOptions, EffectType, sharedTransitionOptions, ChainStyle, DragPreviewOptions, DragInteractionOptions, ComponentContent, OverlayOptions, BlendMode, BlendApplyType, Blender, GeometryTransitionOptions, PopupOptions, CustomPopupOptions, MenuElement, MenuOptions, ContextMenuOptions, ModalTransition, ContentCoverOptions, SheetOptions, VisibleAreaChangeCallback, CommonMethod, CommonAttribute, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions } from "./ArkCommonInterfaces" import { HitTestMode, ImageSize, Alignment, BorderStyle, ColoringStrategy, HoverEffect, Color, Visibility, ItemAlign, Direction, GradientDirection, ObscuredReasons, RenderFit, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, LineCapStyle, LineJoinStyle, BarState, EdgeEffect } from "./ArkEnumsInterfaces" -import { Callback_Array_TouchTestInfo_TouchResult, Callback_ClickEvent_Void, Callback_Boolean_HoverEvent_Void, Callback_MouseEvent_Void, Callback_TouchEvent_Void, Callback_KeyEvent_Void, Callback_KeyEvent_Boolean, Callback_Void, Callback_Area_Area_Void, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, Literal_Number_offset_span, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, Callback_DragEvent_String_Void, Callback_PreDragStatus_Void, Type_CommonMethod_linearGradient_value, Tuple_ResourceColor_Number, Type_CommonMethod_sweepGradient_value, Tuple_Length_Length, Type_CommonMethod_radialGradient_value, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_TouchEvent_HitTestMode, Literal_Alignment_align, Callback_Number_ScrollState_Void } from "./SyntheticDeclarations" +import { Callback_Array_TouchTestInfo_TouchResult, Callback_ClickEvent_Void, Callback_Boolean_HoverEvent_Void, Callback_MouseEvent_Void, Callback_TouchEvent_Void, Callback_KeyEvent_Void, Callback_KeyEvent_Boolean, Callback_Void, Callback_Area_Area_Void, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, Literal_Number_offset_span, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, Callback_DragEvent_String_Void, Callback_PreDragStatus_Void, Type_CommonMethod_linearGradient_value, Tuple_ResourceColor_Number, Type_CommonMethod_sweepGradient_value, Tuple_Length_Length, Type_CommonMethod_radialGradient_value, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_TouchEvent_HitTestMode, Literal_Alignment_align, Callback_Number_Number_Void } from "./SyntheticDeclarations" import { LengthMetrics } from "./ArkArkui-externalInterfaces" import { ResizableOptions } from "./ArkImageInterfaces" import { Resource } from "./ArkResourceInterfaces" +import { ClickEvent } from "./ArkClickEventMaterialized" +import { HoverEvent } from "./ArkHoverEventMaterialized" +import { MouseEvent } from "./ArkMouseEventMaterialized" +import { TouchEvent } from "./ArkTouchEventMaterialized" +import { KeyEvent } from "./ArkKeyEventMaterialized" import { FocusBoxStyle, FocusPriority } from "./ArkFocusInterfaces" import { TransitionEffect } from "./ArkTransitionEffectMaterialized" +import { DragEvent } from "./ArkDragEventMaterialized" import { CircleAttribute } from "./ArkCircleInterfaces" import { EllipseAttribute } from "./ArkEllipseInterfaces" import { PathAttribute } from "./ArkPathInterfaces" @@ -41,10 +47,10 @@ import { RectAttribute } from "./ArkRectInterfaces" import { ProgressMask } from "./ArkProgressMaskMaterialized" import { AttributeModifier } from "./../handwritten" import { GestureModifier } from "./ArkGestureModifierMaterialized" -import { GestureInfo, BaseGestureEvent, GestureJudgeResult, GestureControl_GestureType, GestureMask } from "./ArkGestureInterfaces" +import { GestureInfo, GestureJudgeResult, GestureControl_GestureType, GestureMask } from "./ArkGestureInterfaces" +import { BaseGestureEvent } from "./ArkBaseGestureEventMaterialized" import { PixelMap } from "./ArkPixelMapMaterialized" -import { ScrollState } from "./ArkListInterfaces" -import { ScrollOnWillScrollCallback } from "./ArkScrollInterfaces" +import { ScrollOnWillScrollCallback, ScrollOnScrollCallback } from "./ArkScrollInterfaces" /** @memo:stable */ export class ArkCommonMethodComponent extends ComponentBase { getPeer(): ArkCommonMethodPeer { @@ -406,17 +412,17 @@ export class ArkCommonMethodComponent extends ComponentBase { if (this.checkPriority("onClick")) { const event_type = runtimeType(event) const distanceThreshold_type = runtimeType(distanceThreshold) + if ((((RuntimeType.UNDEFINED == distanceThreshold_type)))) { + const value_casted = event as (((event: ClickEvent) => void)) + this.getPeer()?.onClick0Attribute(value_casted) + return this + } if ((((RuntimeType.NUMBER == distanceThreshold_type)))) { const event_casted = event as (((event: ClickEvent) => void)) const distanceThreshold_casted = distanceThreshold as (number) this.getPeer()?.onClick1Attribute(event_casted, distanceThreshold_casted) return this } - if ((((RuntimeType.UNDEFINED == distanceThreshold_type)))) { - const event_casted = event as (((event: ClickEvent) => void)) - this.getPeer()?.onClick0Attribute(event_casted) - return this - } throw new Error("Can not select appropriate overload") } return this @@ -566,21 +572,21 @@ export class ArkCommonMethodComponent extends ComponentBase { return this } /** @memo */ - transition(effect: TransitionEffect | TransitionOptions | TransitionEffect, onFinish?: TransitionFinishCallback): this { + transition(effect: TransitionOptions | TransitionEffect | TransitionEffect, onFinish?: TransitionFinishCallback): this { if (this.checkPriority("transition")) { const effect_type = runtimeType(effect) const onFinish_type = runtimeType(onFinish) - if ((((RuntimeType.OBJECT) == (effect_type)) && (effect instanceof TransitionEffect)) && (((RuntimeType.FUNCTION == onFinish_type)) || ((RuntimeType.UNDEFINED == onFinish_type)))) { + if ((((RuntimeType.OBJECT == effect_type)) || ((RuntimeType.OBJECT == effect_type))) && (((RuntimeType.UNDEFINED == onFinish_type)))) { + const value_casted = effect as (TransitionOptions | TransitionEffect) + this.getPeer()?.transition0Attribute(value_casted) + return this + } + if ((((RuntimeType.OBJECT) == (effect_type)) && (TypeChecker.isTransitionEffect(effect))) && (((RuntimeType.FUNCTION == onFinish_type)) || ((RuntimeType.UNDEFINED == onFinish_type)))) { const effect_casted = effect as (TransitionEffect) const onFinish_casted = onFinish as (TransitionFinishCallback | undefined) this.getPeer()?.transition1Attribute(effect_casted, onFinish_casted) return this } - if ((((RuntimeType.OBJECT == effect_type)) || ((RuntimeType.OBJECT == effect_type))) && (((RuntimeType.UNDEFINED == onFinish_type)))) { - const effect_casted = effect as (TransitionOptions | TransitionEffect) - this.getPeer()?.transition0Attribute(effect_casted) - return this - } throw new Error("Can not select appropriate overload") } return this @@ -680,17 +686,17 @@ export class ArkCommonMethodComponent extends ComponentBase { if (this.checkPriority("useEffect")) { const useEffect_type = runtimeType(useEffect) const effectType_type = runtimeType(effectType) + if ((((RuntimeType.UNDEFINED == effectType_type)))) { + const value_casted = useEffect as (boolean) + this.getPeer()?.useEffect0Attribute(value_casted) + return this + } if ((((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.UNDEFINED == effectType_type)))) { - const useEffect_casted = useEffect as (boolean) - this.getPeer()?.useEffect0Attribute(useEffect_casted) - return this - } throw new Error("Can not select appropriate overload") } return this @@ -1140,7 +1146,7 @@ export class ArkCommonMethodComponent extends ComponentBase { mask(value: ProgressMask | CircleAttribute | EllipseAttribute | PathAttribute | RectAttribute | ProgressMask): this { if (this.checkPriority("mask")) { const value_type = runtimeType(value) - if ((((RuntimeType.OBJECT) == (value_type)) && (value instanceof ProgressMask))) { + if ((((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isProgressMask(value)))) { const value_casted = value as (ProgressMask) this.getPeer()?.mask0Attribute(value_casted) return this @@ -1186,17 +1192,17 @@ export class ArkCommonMethodComponent extends ComponentBase { if (this.checkPriority("geometryTransition")) { const id_type = runtimeType(id) const options_type = runtimeType(options) + if ((((RuntimeType.UNDEFINED == options_type)))) { + const value_casted = id as (string) + this.getPeer()?.geometryTransition0Attribute(value_casted) + return this + } if ((((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { const id_casted = id as (string) const options_casted = options as (GeometryTransitionOptions | undefined) this.getPeer()?.geometryTransition1Attribute(id_casted, options_casted) return this } - if ((((RuntimeType.UNDEFINED == options_type)))) { - const id_casted = id as (string) - this.getPeer()?.geometryTransition0Attribute(id_casted) - return this - } throw new Error("Can not select appropriate overload") } return this @@ -1251,17 +1257,17 @@ export class ArkCommonMethodComponent extends ComponentBase { if (this.checkPriority("accessibilityGroup")) { const isGroup_type = runtimeType(isGroup) const accessibilityOptions_type = runtimeType(accessibilityOptions) + if ((((RuntimeType.UNDEFINED == accessibilityOptions_type)))) { + const value_casted = isGroup as (boolean) + this.getPeer()?.accessibilityGroup0Attribute(value_casted) + return this + } if ((((RuntimeType.OBJECT == accessibilityOptions_type)))) { const isGroup_casted = isGroup as (boolean) const accessibilityOptions_casted = accessibilityOptions as (AccessibilityOptions) this.getPeer()?.accessibilityGroup1Attribute(isGroup_casted, accessibilityOptions_casted) return this } - if ((((RuntimeType.UNDEFINED == accessibilityOptions_type)))) { - const isGroup_casted = isGroup as (boolean) - this.getPeer()?.accessibilityGroup0Attribute(isGroup_casted) - return this - } throw new Error("Can not select appropriate overload") } return this @@ -1402,19 +1408,19 @@ export class ArkCommonMethodComponent extends ComponentBase { return this } /** @memo */ - onGestureRecognizerJudgeBegin(callback: GestureRecognizerJudgeBeginCallback, exposeInnerGesture?: boolean): this { + onGestureRecognizerJudgeBegin(callback_: GestureRecognizerJudgeBeginCallback, exposeInnerGesture?: boolean): this { if (this.checkPriority("onGestureRecognizerJudgeBegin")) { - const callback_type = runtimeType(callback) + const callback__type = runtimeType(callback_) const exposeInnerGesture_type = runtimeType(exposeInnerGesture) - if ((((RuntimeType.BOOLEAN == exposeInnerGesture_type)))) { - const callback_casted = callback as (GestureRecognizerJudgeBeginCallback) - const exposeInnerGesture_casted = exposeInnerGesture as (boolean) - this.getPeer()?.onGestureRecognizerJudgeBegin1Attribute(callback_casted, exposeInnerGesture_casted) + if ((((RuntimeType.UNDEFINED == exposeInnerGesture_type)))) { + const value_casted = callback_ as (GestureRecognizerJudgeBeginCallback) + this.getPeer()?.onGestureRecognizerJudgeBegin0Attribute(value_casted) return this } - if ((((RuntimeType.UNDEFINED == exposeInnerGesture_type)))) { - const callback_casted = callback as (GestureRecognizerJudgeBeginCallback) - this.getPeer()?.onGestureRecognizerJudgeBegin0Attribute(callback_casted) + if ((((RuntimeType.BOOLEAN == exposeInnerGesture_type)))) { + const callback__casted = callback_ as (GestureRecognizerJudgeBeginCallback) + const exposeInnerGesture_casted = exposeInnerGesture as (boolean) + this.getPeer()?.onGestureRecognizerJudgeBegin1Attribute(callback__casted, exposeInnerGesture_casted) return this } throw new Error("Can not select appropriate overload") @@ -1523,17 +1529,17 @@ export class ArkCommonMethodComponent extends ComponentBase { const id_type = runtimeType(id) const isGroup_type = runtimeType(isGroup) const arrowStepOut_type = runtimeType(arrowStepOut) - if ((((RuntimeType.BOOLEAN == isGroup_type)) || ((RuntimeType.UNDEFINED == isGroup_type))) && (((RuntimeType.BOOLEAN == arrowStepOut_type)) || ((RuntimeType.UNDEFINED == arrowStepOut_type)))) { + if ((((RuntimeType.BOOLEAN == isGroup_type)) || ((RuntimeType.UNDEFINED == isGroup_type))) && (((RuntimeType.UNDEFINED == arrowStepOut_type)))) { const id_casted = id as (string) const isGroup_casted = isGroup as (boolean | undefined) - const arrowStepOut_casted = arrowStepOut as (boolean | undefined) - this.getPeer()?.focusScopeId1Attribute(id_casted, isGroup_casted, arrowStepOut_casted) + this.getPeer()?.focusScopeId0Attribute(id_casted, isGroup_casted) return this } - if ((((RuntimeType.BOOLEAN == isGroup_type)) || ((RuntimeType.UNDEFINED == isGroup_type))) && (((RuntimeType.UNDEFINED == arrowStepOut_type)))) { + if ((((RuntimeType.BOOLEAN == isGroup_type)) || ((RuntimeType.UNDEFINED == isGroup_type))) && (((RuntimeType.BOOLEAN == arrowStepOut_type)) || ((RuntimeType.UNDEFINED == arrowStepOut_type)))) { const id_casted = id as (string) const isGroup_casted = isGroup as (boolean | undefined) - this.getPeer()?.focusScopeId0Attribute(id_casted, isGroup_casted) + const arrowStepOut_casted = arrowStepOut as (boolean | undefined) + this.getPeer()?.focusScopeId1Attribute(id_casted, isGroup_casted, arrowStepOut_casted) return this } throw new Error("Can not select appropriate overload") @@ -1689,11 +1695,17 @@ export class ArkCommonMethodComponent extends ComponentBase { return this } /** @memo */ - bindMenu(isShow: boolean | Array | CustomBuilder, content?: Array | CustomBuilder | MenuOptions | undefined, options?: MenuOptions): this { + bindMenu(isShow: Array | CustomBuilder | boolean, content?: MenuOptions | undefined | Array | CustomBuilder, options?: MenuOptions): this { if (this.checkPriority("bindMenu")) { const isShow_type = runtimeType(isShow) const content_type = runtimeType(content) const options_type = runtimeType(options) + if ((((RuntimeType.OBJECT == isShow_type)) || ((RuntimeType.FUNCTION == isShow_type))) && (((RuntimeType.OBJECT == content_type)) || ((RuntimeType.UNDEFINED == content_type))) && (((RuntimeType.UNDEFINED == options_type)))) { + const content_casted = isShow as (Array | CustomBuilder) + const options_casted = content as (MenuOptions | undefined) + this.getPeer()?.bindMenu0Attribute(content_casted, options_casted) + return this + } if ((((RuntimeType.BOOLEAN == isShow_type))) && (((RuntimeType.OBJECT == content_type)) || ((RuntimeType.FUNCTION == content_type))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { const isShow_casted = isShow as (boolean) const content_casted = content as (Array | CustomBuilder) @@ -1701,12 +1713,6 @@ export class ArkCommonMethodComponent extends ComponentBase { this.getPeer()?.bindMenu1Attribute(isShow_casted, content_casted, options_casted) return this } - if ((((RuntimeType.OBJECT == isShow_type)) || ((RuntimeType.FUNCTION == isShow_type))) && (((RuntimeType.OBJECT == content_type)) || ((RuntimeType.UNDEFINED == content_type))) && (((RuntimeType.UNDEFINED == options_type)))) { - const isShow_casted = isShow as (Array | CustomBuilder) - const content_casted = content as (MenuOptions | undefined) - this.getPeer()?.bindMenu0Attribute(isShow_casted, content_casted) - return this - } throw new Error("Can not select appropriate overload") } return this @@ -1725,10 +1731,10 @@ export class ArkCommonMethodComponent extends ComponentBase { return this } if ((((RuntimeType.BOOLEAN == content_type))) && (((RuntimeType.FUNCTION == responseType_type))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { - const content_casted = content as (boolean) - const responseType_casted = responseType as (CustomBuilder) + const isShown_casted = content as (boolean) + const content_casted = responseType as (CustomBuilder) const options_casted = options as (ContextMenuOptions | undefined) - this.getPeer()?.bindContextMenu1Attribute(content_casted, responseType_casted, options_casted) + this.getPeer()?.bindContextMenu1Attribute(isShown_casted, content_casted, options_casted) return this } throw new Error("Can not select appropriate overload") @@ -1741,7 +1747,7 @@ export class ArkCommonMethodComponent extends ComponentBase { 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)))) { + if ((((RuntimeType.BOOLEAN == isShow_type)) || ((RuntimeType.UNDEFINED == isShow_type))) && (((RuntimeType.OBJECT == type_type)) || ((RuntimeType.OBJECT == type_type)))) { const isShow_casted = isShow as (boolean | undefined) const builder_casted = builder as (CustomBuilder) const type_casted = type as (ModalTransition | undefined) @@ -1751,8 +1757,8 @@ export class ArkCommonMethodComponent extends ComponentBase { if ((((RuntimeType.BOOLEAN == isShow_type)) || ((RuntimeType.UNDEFINED == isShow_type))) && (((RuntimeType.OBJECT == type_type)) || ((RuntimeType.UNDEFINED == type_type)))) { const isShow_casted = isShow as (boolean | undefined) const builder_casted = builder as (CustomBuilder) - const type_casted = type as (ContentCoverOptions | undefined) - this.getPeer()?.bindContentCover1Attribute(isShow_casted, builder_casted, type_casted) + const options_casted = type as (ContentCoverOptions | undefined) + this.getPeer()?.bindContentCover1Attribute(isShow_casted, builder_casted, options_casted) return this } throw new Error("Can not select appropriate overload") @@ -1893,9 +1899,9 @@ export class ArkCommonShapeMethodComponent extends ArkCommonMethodComponent { return this } /** @memo */ - strokeDashArray(value: Array): this { + strokeDashArray(value: Array): this { if (this.checkPriority("strokeDashArray")) { - const value_casted = value as (Array) + const value_casted = value as (Array) this.getPeer()?.strokeDashArrayAttribute(value_casted) return this } @@ -2003,9 +2009,9 @@ export class ArkScrollableCommonMethodComponent extends ArkCommonMethodComponent return this } /** @memo */ - onScroll(value: ((scrollOffset: number,scrollState: ScrollState) => void)): this { + onScroll(value: ((first: number,last: number) => void)): this { if (this.checkPriority("onScroll")) { - const value_casted = value as (((scrollOffset: number,scrollState: ScrollState) => void)) + const value_casted = value as (((first: number,last: number) => void)) this.getPeer()?.onScrollAttribute(value_casted) return this } @@ -2021,9 +2027,9 @@ export class ArkScrollableCommonMethodComponent extends ArkCommonMethodComponent return this } /** @memo */ - onDidScroll(value?: ScrollOnWillScrollCallback): this { + onDidScroll(value?: ScrollOnScrollCallback): this { if (this.checkPriority("onDidScroll")) { - const value_casted = value as (ScrollOnWillScrollCallback | undefined) + const value_casted = value as (ScrollOnScrollCallback | undefined) this.getPeer()?.onDidScrollAttribute(value_casted) return this } diff --git a/arkoala-arkts/arkui/src/generated/ArkCommonInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkCommonInterfaces.ts index f0410595e..6aca8ac24 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCommonInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCommonInterfaces.ts @@ -1,21 +1,27 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" -import { TextDecorationType, TextDecorationStyle, Curve, PlayMode, SharedTransitionEffectType, HorizontalAlign, VerticalAlign, TransitionType, FontWeight, FontStyle, Color, ColoringStrategy, MouseButton, MouseAction, AccessibilityHoverType, TouchType, KeyType, KeySource, BorderStyle, Placement, ArrowPointPosition, ClickEffectLevel, NestedScrollMode, HitTestMode, ImageSize, Alignment, HoverEffect, Visibility, ItemAlign, Direction, GradientDirection, ObscuredReasons, RenderFit, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, LineCapStyle, LineJoinStyle, PixelRoundCalcPolicy, BarState, EdgeEffect, IlluminatedType } from "./ArkEnumsInterfaces" +import { TextDecorationType, TextDecorationStyle, Curve, PlayMode, SharedTransitionEffectType, HorizontalAlign, VerticalAlign, TransitionType, FontWeight, FontStyle, Color, ColoringStrategy, TouchType, BorderStyle, Placement, ArrowPointPosition, ClickEffectLevel, NestedScrollMode, HitTestMode, ImageSize, Alignment, HoverEffect, Visibility, ItemAlign, Direction, GradientDirection, ObscuredReasons, RenderFit, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, LineCapStyle, LineJoinStyle, PixelRoundCalcPolicy, BarState, EdgeEffect, IlluminatedType } from "./ArkEnumsInterfaces" import { ResourceColor, Length, Bias, Area, Font, BorderRadiuses, EdgeWidths, LocalizedEdgeWidths, SizeOptions, ResourceStr, Dimension, EdgeColors, LocalizedEdgeColors, EdgeStyles, Position, LocalizedBorderRadiuses, Margin, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, LocalizedMargin, BorderOptions, OutlineOptions, EdgeOutlineStyles, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions, EdgeWidth, DirectionalEdgesT } from "./ArkUnitsInterfaces" import { ICurve } from "./ArkICurveMaterialized" -import { Callback_Void, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Literal_TransitionEffect_appear_disappear, Tuple_Number_Number, Callback_DismissContentCoverAction_Void, Type_SheetOptions_detents, Callback_SheetDismiss_Void, Callback_DismissSheetAction_Void, Callback_SpringBackAction_Void, Callback_Number_Void, Callback_SheetType_Void, Literal_String_value_Callback_Void_action, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Literal_ResourceColor_color, Callback_DismissPopupAction_Void, Callback_Array_TouchTestInfo_TouchResult, Callback_ClickEvent_Void, Callback_Boolean_HoverEvent_Void, Callback_MouseEvent_Void, Callback_TouchEvent_Void, Callback_KeyEvent_Void, Callback_KeyEvent_Boolean, Callback_Area_Area_Void, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, Literal_Number_offset_span, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, Callback_DragEvent_String_Void, Callback_PreDragStatus_Void, Type_CommonMethod_linearGradient_value, Tuple_ResourceColor_Number, Type_CommonMethod_sweepGradient_value, Tuple_Length_Length, Type_CommonMethod_radialGradient_value, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_TouchEvent_HitTestMode, Literal_Alignment_align, Callback_Number_ScrollState_Void } from "./SyntheticDeclarations" +import { Callback_Void, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Literal_TransitionEffect_appear_disappear, Tuple_Number_Number, Callback_DismissContentCoverAction_Void, Type_SheetOptions_detents, Callback_SheetDismiss_Void, Callback_DismissSheetAction_Void, Callback_SpringBackAction_Void, Callback_Number_Void, Callback_SheetType_Void, Literal_String_value_Callback_Void_action, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Literal_ResourceColor_color, Callback_DismissPopupAction_Void, Callback_Array_TouchTestInfo_TouchResult, Callback_ClickEvent_Void, Callback_Boolean_HoverEvent_Void, Callback_MouseEvent_Void, Callback_TouchEvent_Void, Callback_KeyEvent_Void, Callback_KeyEvent_Boolean, Callback_Area_Area_Void, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, Literal_Number_offset_span, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, Callback_DragEvent_String_Void, Callback_PreDragStatus_Void, Type_CommonMethod_linearGradient_value, Tuple_ResourceColor_Number, Type_CommonMethod_sweepGradient_value, Tuple_Length_Length, Type_CommonMethod_radialGradient_value, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_TouchEvent_HitTestMode, Literal_Alignment_align, Callback_Number_Number_Void } from "./SyntheticDeclarations" import { TransitionEffect } from "./ArkTransitionEffectMaterialized" import { PixelMap } from "./ArkPixelMapMaterialized" import { ButtonType, ButtonStyleMode, ButtonRole } from "./ArkButtonInterfaces" import { Resource } from "./ArkResourceInterfaces" -import { BaseGestureEvent, GestureJudgeResult, GestureInfo, GestureControl_GestureType, GestureMask, GestureHandler, GesturePriority } from "./ArkGestureInterfaces" +import { BaseGestureEvent } from "./ArkBaseGestureEventMaterialized" import { GestureRecognizer } from "./ArkGestureRecognizerMaterialized" -import { UnifiedData } from "./ArkUnifiedDataMaterialized" +import { GestureJudgeResult, GestureInfo, GestureControl_GestureType, GestureMask, GestureHandler, GesturePriority } from "./ArkGestureInterfaces" import { LengthMetrics } from "./ArkArkui-externalInterfaces" import { DrawModifier } from "./ArkDrawModifierMaterialized" import { ResizableOptions } from "./ArkImageInterfaces" +import { ClickEvent } from "./ArkClickEventMaterialized" +import { HoverEvent } from "./ArkHoverEventMaterialized" +import { MouseEvent } from "./ArkMouseEventMaterialized" +import { TouchEvent } from "./ArkTouchEventMaterialized" +import { KeyEvent } from "./ArkKeyEventMaterialized" import { FocusBoxStyle, FocusPriority } from "./ArkFocusInterfaces" +import { DragEvent } from "./ArkDragEventMaterialized" import { CircleAttribute } from "./ArkCircleInterfaces" import { EllipseAttribute } from "./ArkEllipseInterfaces" import { PathAttribute } from "./ArkPathInterfaces" @@ -23,8 +29,9 @@ import { RectAttribute } from "./ArkRectInterfaces" import { ProgressMask } from "./ArkProgressMaskMaterialized" import { AttributeModifier } from "./../handwritten" import { GestureModifier } from "./ArkGestureModifierMaterialized" +import { ScrollOnWillScrollCallback, ScrollOnScrollCallback } from "./ArkScrollInterfaces" import { ScrollState } from "./ArkListInterfaces" -import { ScrollOnWillScrollCallback } from "./ArkScrollInterfaces" +import { AccessibilityHoverEvent } from "./ArkAccessibilityHoverEventMaterialized" export interface ComponentOptions { freezeWhenInactive: boolean; } @@ -373,18 +380,6 @@ export enum SheetSize { LARGE = 1, FIT_CONTENT = 2 } -export interface BaseEvent { - target: EventTarget; - timestamp: number; - source: SourceType; - axisHorizontal?: number; - axisVertical?: number; - pressure: number; - tiltX: number; - tiltY: number; - sourceTool: SourceTool; - deviceId?: number; -} export interface BorderImageOption { slice?: Length | EdgeWidths | LocalizedEdgeWidths; repeat?: RepeatMode; @@ -393,42 +388,6 @@ export interface BorderImageOption { outset?: Length | EdgeWidths | LocalizedEdgeWidths; fill?: boolean; } -export interface ClickEvent extends BaseEvent { - displayX: number; - displayY: number; - windowX: number; - windowY: number; - screenX: number; - screenY: number; - x: number; - y: number; - preventDefault: (() => void); -} -export interface HoverEvent extends BaseEvent { - stopPropagation: (() => void); -} -export interface MouseEvent extends BaseEvent { - button: MouseButton; - action: MouseAction; - displayX: number; - displayY: number; - windowX: number; - windowY: number; - screenX: number; - screenY: number; - x: number; - y: number; - stopPropagation: (() => void); -} -export interface AccessibilityHoverEvent extends BaseEvent { - type: AccessibilityHoverType; - x: number; - y: number; - displayX: number; - displayY: number; - windowX: number; - windowY: number; -} export interface TouchObject { type: TouchType; id: number; @@ -447,13 +406,6 @@ export interface HistoricalPoint { force: number; timestamp: number; } -export interface TouchEvent extends BaseEvent { - type: TouchType; - touches: Array; - changedTouches: Array; - stopPropagation: (() => void); - preventDefault: (() => void); -} export type SizeChangeCallback = (oldValue: SizeOptions, newValue: SizeOptions) => void; export type GestureRecognizerJudgeBeginCallback = (event: BaseGestureEvent, current: GestureRecognizer, recognizers: Array) => GestureJudgeResult; export type ShouldBuiltInRecognizerParallelWithCallback = (current: GestureRecognizer, others: Array) => GestureRecognizer; @@ -511,25 +463,9 @@ export enum BlendApplyType { FAST = 0, OFFSCREEN = 1 } -export interface DragEvent { - dragBehavior: DragBehavior; - useCustomDropAnimation: boolean; -} export interface IntentionCode { __IntentionCodeStub: string; } -export interface KeyEvent { - type: KeyType; - keyCode: number; - keyText: string; - keySource: KeySource; - deviceId: number; - metaKey: number; - timestamp: number; - stopPropagation: (() => void); - intentionCode: IntentionCode; - unicode?: number; -} export interface BindOptions { backgroundColor?: ResourceColor; onAppear?: (() => void); @@ -1002,7 +938,7 @@ export interface CommonShapeMethod extends CommonMethod { fillOpacity: number | string | Resource; strokeWidth: Length; antiAlias: boolean; - strokeDashArray: Array; + strokeDashArray: Array; } export interface LinearGradient_common { angle?: number | string; @@ -1109,9 +1045,9 @@ export interface ScrollableCommonMethod extends CommonMethod { nestedScroll: NestedScrollOptions; enableScrollInteraction: boolean; friction: number | Resource; - onScroll: ((scrollOffset: number,scrollState: ScrollState) => void); + onScroll: ((first: number,last: number) => void); onWillScroll: ScrollOnWillScrollCallback | undefined; - onDidScroll: ScrollOnWillScrollCallback | undefined; + onDidScroll: ScrollOnScrollCallback | undefined; onReachStart: (() => void); onReachEnd: (() => void); onScrollStart: (() => void); @@ -1164,8 +1100,6 @@ export interface VisibleAreaEventOptions { expectedUpdateInterval?: number; } export type VisibleAreaChangeCallback = (isExpanding: boolean, currentRatio: number) => void; -export interface UICommonEvent { -} export interface UIGestureEvent { } export interface SelectionOptions { diff --git a/arkoala-arkts/arkui/src/generated/ArkComponent3d.ts b/arkoala-arkts/arkui/src/generated/ArkComponent3d.ts index adde9157f..8795a05a1 100644 --- a/arkoala-arkts/arkui/src/generated/ArkComponent3d.ts +++ b/arkoala-arkts/arkui/src/generated/ArkComponent3d.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkConsoleMessageMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkConsoleMessageMaterialized.ts index 23721855e..78f604eeb 100644 --- a/arkoala-arkts/arkui/src/generated/ArkConsoleMessageMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkConsoleMessageMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class ConsoleMessage implements MaterializedBase,INTERFACE_ConsoleMessage { - peer?: Finalizable +export class ConsoleMessage implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ConsoleMessage { - const objConsoleMessage : ConsoleMessage = new ConsoleMessage() - objConsoleMessage.peer = new Finalizable(ptr, ConsoleMessage.getFinalizer()) - return objConsoleMessage - } static ctor(message: string, sourceId: string, lineNumber: number, messageLevel: MessageLevel): KPointer { const retval = ArkUIGeneratedNativeModule._ConsoleMessage_ctor(message, sourceId, lineNumber, (messageLevel.valueOf() as int32)) return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkContainerSpan.ts b/arkoala-arkts/arkui/src/generated/ArkContainerSpan.ts index 310502ea0..0b4f7e198 100644 --- a/arkoala-arkts/arkui/src/generated/ArkContainerSpan.ts +++ b/arkoala-arkts/arkui/src/generated/ArkContainerSpan.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkContextMenuMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkContextMenuMaterialized.ts index 6a6d1d0a4..b39d66187 100644 --- a/arkoala-arkts/arkui/src/generated/ArkContextMenuMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkContextMenuMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class ContextMenu implements MaterializedBase,INTERFACE_ContextMenu { - peer?: Finalizable +export class ContextMenu implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ContextMenu { - const objContextMenu : ContextMenu = new ContextMenu() - objContextMenu.peer = new Finalizable(ptr, ContextMenu.getFinalizer()) - return objContextMenu - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._ContextMenu_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkControllerHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkControllerHandlerMaterialized.ts index c6c05d7ea..b31d35ff5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkControllerHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkControllerHandlerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class ControllerHandler implements MaterializedBase,INTERFACE_ControllerHandler { - peer?: Finalizable +export class ControllerHandler implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ControllerHandler { - const objControllerHandler : ControllerHandler = new ControllerHandler() - objControllerHandler.peer = new Finalizable(ptr, ControllerHandler.getFinalizer()) - return objControllerHandler - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._ControllerHandler_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkCounter.ts b/arkoala-arkts/arkui/src/generated/ArkCounter.ts index 0ddfeaef8..fd59a50f6 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCounter.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCounter.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkCustomDialogControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCustomDialogControllerMaterialized.ts index 1dc278c1f..ace8cb616 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCustomDialogControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCustomDialogControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class CustomDialogController implements MaterializedBase,INTERFACE_CustomDialogController { - peer?: Finalizable +export class CustomDialogController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): CustomDialogController { - const objCustomDialogController : CustomDialogController = new CustomDialogController() - objCustomDialogController.peer = new Finalizable(ptr, CustomDialogController.getFinalizer()) - return objCustomDialogController - } static ctor(value: CustomDialogControllerOptions): KPointer { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeCustomDialogControllerOptions(value) diff --git a/arkoala-arkts/arkui/src/generated/ArkCustomSpanMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCustomSpanMaterialized.ts index 703a3c3e4..d752e4f3f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCustomSpanMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCustomSpanMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -50,16 +50,11 @@ import { } from "@koalaui/interop" -export class CustomSpan implements MaterializedBase,INTERFACE_CustomSpan { - peer?: Finalizable +export class CustomSpan implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): CustomSpan { - const objCustomSpan : CustomSpan = new CustomSpan() - objCustomSpan.peer = new Finalizable(ptr, CustomSpan.getFinalizer()) - return objCustomSpan - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._CustomSpan_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkDataPanel.ts b/arkoala-arkts/arkui/src/generated/ArkDataPanel.ts index b26419552..57e083f09 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDataPanel.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDataPanel.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkDataResubmissionHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDataResubmissionHandlerMaterialized.ts index 0c1330733..4c875535c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDataResubmissionHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDataResubmissionHandlerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class DataResubmissionHandler implements MaterializedBase,INTERFACE_DataResubmissionHandler { - peer?: Finalizable +export class DataResubmissionHandler implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): DataResubmissionHandler { - const objDataResubmissionHandler : DataResubmissionHandler = new DataResubmissionHandler() - objDataResubmissionHandler.peer = new Finalizable(ptr, DataResubmissionHandler.getFinalizer()) - return objDataResubmissionHandler - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._DataResubmissionHandler_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkDatePicker.ts b/arkoala-arkts/arkui/src/generated/ArkDatePicker.ts index 8e2c4c713..07cb98d8a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDatePicker.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDatePicker.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkDatePickerDialogMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDatePickerDialogMaterialized.ts index 0b9cdbb27..3d252983a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDatePickerDialogMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDatePickerDialogMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class DatePickerDialog implements MaterializedBase,INTERFACE_DatePickerDialog { - peer?: Finalizable +export class DatePickerDialog implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): DatePickerDialog { - const objDatePickerDialog : DatePickerDialog = new DatePickerDialog() - objDatePickerDialog.peer = new Finalizable(ptr, DatePickerDialog.getFinalizer()) - return objDatePickerDialog - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._DatePickerDialog_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkDivider.ts b/arkoala-arkts/arkui/src/generated/ArkDivider.ts index 40c13c325..3c8b9bcaf 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDivider.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDivider.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkDragEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDragEventMaterialized.ts new file mode 100644 index 000000000..7d2333417 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkDragEventMaterialized.ts @@ -0,0 +1,263 @@ +/* + * 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 { DragBehavior, Summary, DragResult, Rectangle } from "./ArkCommonInterfaces" +import { UnifiedData, UnifiedDataInternal } from "./ArkUnifiedDataMaterialized" +import { INTERFACE_DragEvent } from "./SyntheticDeclarations" +import { TypeChecker } from "#components" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { ArkUIGeneratedNativeModule } from "#components" +import { wrapCallback, NativeBuffer } from "@koalaui/interop" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +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 + 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) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._DragEvent_ctor() + return retval + } + constructor() { + { + const ctorPtr : KPointer = DragEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, DragEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._DragEvent_getFinalizer() + } + getDisplayX(): number { + return this.getDisplayX_serialize() + } + getDisplayY(): number { + return this.getDisplayY_serialize() + } + getWindowX(): number { + return this.getWindowX_serialize() + } + getWindowY(): number { + return this.getWindowY_serialize() + } + getX(): number { + return this.getX_serialize() + } + getY(): number { + return this.getY_serialize() + } + setData(unifiedData: UnifiedData): void { + const unifiedData_casted = unifiedData as (UnifiedData) + this.setData_serialize(unifiedData_casted) + return + } + getData(): UnifiedData { + return this.getData_serialize() + } + getSummary(): Summary { + return this.getSummary_serialize() + } + setResult(dragResult: DragResult): void { + const dragResult_casted = dragResult as (DragResult) + this.setResult_serialize(dragResult_casted) + return + } + getResult(): DragResult { + return this.getResult_serialize() + } + getPreviewRect(): Rectangle { + return this.getPreviewRect_serialize() + } + getVelocityX(): number { + return this.getVelocityX_serialize() + } + getVelocityY(): number { + return this.getVelocityY_serialize() + } + getVelocity(): number { + return this.getVelocity_serialize() + } + getModifierKeyState(keys: Array): boolean { + const keys_casted = keys as (Array) + return this.getModifierKeyState_serialize(keys_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 { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeUnifiedData(unifiedData) + ArkUIGeneratedNativeModule._DragEvent_setData(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private getData_serialize(): UnifiedData { + const retval = ArkUIGeneratedNativeModule._DragEvent_getData(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private getSummary_serialize(): Summary { + const retval = ArkUIGeneratedNativeModule._DragEvent_getSummary(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setResult_serialize(dragResult: DragResult): void { + ArkUIGeneratedNativeModule._DragEvent_setResult(this.peer!.ptr, (dragResult.valueOf() as int32)) + } + private getResult_serialize(): DragResult { + const retval = ArkUIGeneratedNativeModule._DragEvent_getResult(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private getPreviewRect_serialize(): Rectangle { + const retval = ArkUIGeneratedNativeModule._DragEvent_getPreviewRect(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + 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 as int32) + 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.asArray(), thisSerializer.length()) + thisSerializer.release() + return retval + } + private getDragBehavior_serialize(): DragBehavior { + const retval = ArkUIGeneratedNativeModule._DragEvent_getDragBehavior(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setDragBehavior_serialize(dragBehavior: DragBehavior): void { + ArkUIGeneratedNativeModule._DragEvent_setDragBehavior(this.peer!.ptr, (dragBehavior.valueOf() as int32)) + } + 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 ? 1 : 0) + } + public static fromPtr(ptr: KPointer): DragEventInternal { + const obj : DragEventInternal = new DragEventInternal() + obj.peer = new Finalizable(ptr, DragEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkDrawModifierMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDrawModifierMaterialized.ts index 5f19505fe..ad70755e1 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDrawModifierMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDrawModifierMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class DrawModifier implements MaterializedBase,INTERFACE_DrawModifier { - peer?: Finalizable +export class DrawModifier implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): DrawModifier { - const objDrawModifier : DrawModifier = new DrawModifier() - objDrawModifier.peer = new Finalizable(ptr, DrawModifier.getFinalizer()) - return objDrawModifier - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._DrawModifier_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkDrawingCanvasMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDrawingCanvasMaterialized.ts index e81f37b68..e8fdd882a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDrawingCanvasMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDrawingCanvasMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,7 +16,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { PixelMap } from "./ArkPixelMapMaterialized" +import { PixelMap, PixelMapInternal } from "./ArkPixelMapMaterialized" import { INTERFACE_DrawingCanvas } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class DrawingCanvas implements MaterializedBase,INTERFACE_DrawingCanvas { - peer?: Finalizable +export class DrawingCanvas implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): DrawingCanvas { - const objDrawingCanvas : DrawingCanvas = new DrawingCanvas() - objDrawingCanvas.peer = new Finalizable(ptr, DrawingCanvas.getFinalizer()) - return objDrawingCanvas - } static ctor(pixelmap: PixelMap): KPointer { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writePixelMap(pixelmap) diff --git a/arkoala-arkts/arkui/src/generated/ArkDrawingRenderingContextMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDrawingRenderingContextMaterialized.ts index a21d2b1ac..9a385d0a5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDrawingRenderingContextMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDrawingRenderingContextMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -17,7 +17,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { Size } from "./ArkCanvasInterfaces" -import { DrawingCanvas } from "./ArkDrawingCanvasMaterialized" +import { DrawingCanvas, DrawingCanvasInternal } from "./ArkDrawingCanvasMaterialized" import { LengthMetricsUnit } from "./ArkUnitsInterfaces" import { INTERFACE_DrawingRenderingContext } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -51,8 +51,8 @@ import { } from "@koalaui/interop" -export class DrawingRenderingContext implements MaterializedBase,INTERFACE_DrawingRenderingContext { - peer?: Finalizable +export class DrawingRenderingContext implements MaterializedBase { + peer?: Finalizable | undefined get size(): Size { throw new Error("Not implemented") } @@ -62,11 +62,6 @@ export class DrawingRenderingContext implements MaterializedBase,INTERFACE_Drawi getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): DrawingRenderingContext { - const objDrawingRenderingContext : DrawingRenderingContext = new DrawingRenderingContext() - objDrawingRenderingContext.peer = new Finalizable(ptr, DrawingRenderingContext.getFinalizer()) - return objDrawingRenderingContext - } static ctor(unit?: LengthMetricsUnit): KPointer { const thisSerializer : Serializer = Serializer.hold() let unit_type : int32 = RuntimeType.UNDEFINED diff --git a/arkoala-arkts/arkui/src/generated/ArkDynamicNodeMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDynamicNodeMaterialized.ts index 447b5ed1a..e1c5aa3b9 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDynamicNodeMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDynamicNodeMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class DynamicNode implements MaterializedBase,INTERFACE_DynamicNode { - peer?: Finalizable +export class DynamicNode implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): DynamicNode { - const objDynamicNode : DynamicNode = new DynamicNode() - objDynamicNode.peer = new Finalizable(ptr, DynamicNode.getFinalizer()) - return objDynamicNode - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._DynamicNode_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkEditMenuOptionsMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkEditMenuOptionsMaterialized.ts index c50c952e1..f866d8d5d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEditMenuOptionsMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEditMenuOptionsMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,24 +49,23 @@ import { } from "@koalaui/interop" -export class EditMenuOptions implements MaterializedBase,INTERFACE_EditMenuOptions { - peer?: Finalizable +export interface EditMenuOptions { + onCreateMenu(menuItems: Array): Array + onMenuItemClick(menuItem: TextMenuItem, range: TextRange): boolean +} +export class EditMenuOptionsInternal implements MaterializedBase,EditMenuOptions { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): EditMenuOptions { - const objEditMenuOptions : EditMenuOptions = new EditMenuOptions() - objEditMenuOptions.peer = new Finalizable(ptr, EditMenuOptions.getFinalizer()) - return objEditMenuOptions - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._EditMenuOptions_ctor() return retval } constructor() { { - const ctorPtr : KPointer = EditMenuOptions.ctor() - this.peer = new Finalizable(ctorPtr, EditMenuOptions.getFinalizer()) + const ctorPtr : KPointer = EditMenuOptionsInternal.ctor() + this.peer = new Finalizable(ctorPtr, EditMenuOptionsInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -100,11 +99,9 @@ export class EditMenuOptions implements MaterializedBase,INTERFACE_EditMenuOptio thisSerializer.release() return retval } -} -export class EditMenuOptionsInternal { - public static fromPtr(ptr: KPointer): EditMenuOptions { - const obj : EditMenuOptions = new EditMenuOptions() - obj.peer = new Finalizable(ptr, EditMenuOptions.getFinalizer()) + public static fromPtr(ptr: KPointer): EditMenuOptionsInternal { + const obj : EditMenuOptionsInternal = new EditMenuOptionsInternal() + obj.peer = new Finalizable(ptr, EditMenuOptionsInternal.getFinalizer()) return obj } } diff --git a/arkoala-arkts/arkui/src/generated/ArkEffectComponent.ts b/arkoala-arkts/arkui/src/generated/ArkEffectComponent.ts index 03dc679ec..f0a8587ad 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEffectComponent.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEffectComponent.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkEllipse.ts b/arkoala-arkts/arkui/src/generated/ArkEllipse.ts index b7c515b42..dfdc807db 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEllipse.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEllipse.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkEmbeddedComponent.ts b/arkoala-arkts/arkui/src/generated/ArkEmbeddedComponent.ts index f77270b12..4feef6a66 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEmbeddedComponent.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEmbeddedComponent.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkEventEmulatorMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkEventEmulatorMaterialized.ts index 8cf604fc4..9a64da08a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEventEmulatorMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEventEmulatorMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,7 +16,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { ClickEvent } from "./ArkCommonInterfaces" +import { ClickEvent, ClickEventInternal } from "./ArkClickEventMaterialized" import { INTERFACE_EventEmulator } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class EventEmulator implements MaterializedBase,INTERFACE_EventEmulator { - peer?: Finalizable +export class EventEmulator implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): EventEmulator { - const objEventEmulator : EventEmulator = new EventEmulator() - objEventEmulator.peer = new Finalizable(ptr, EventEmulator.getFinalizer()) - return objEventEmulator - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._EventEmulator_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkEventResultMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkEventResultMaterialized.ts index ef834d212..d2de74205 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEventResultMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEventResultMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class EventResult implements MaterializedBase,INTERFACE_EventResult { - peer?: Finalizable +export class EventResult implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): EventResult { - const objEventResult : EventResult = new EventResult() - objEventResult.peer = new Finalizable(ptr, EventResult.getFinalizer()) - return objEventResult - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._EventResult_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkEventTargetInfoMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkEventTargetInfoMaterialized.ts index 646146ba9..3cdad8fbe 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEventTargetInfoMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEventTargetInfoMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class EventTargetInfo implements MaterializedBase,INTERFACE_EventTargetInfo { - peer?: Finalizable +export class EventTargetInfo implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): EventTargetInfo { - const objEventTargetInfo : EventTargetInfo = new EventTargetInfo() - objEventTargetInfo.peer = new Finalizable(ptr, EventTargetInfo.getFinalizer()) - return objEventTargetInfo - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._EventTargetInfo_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkFileSelectorParamMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkFileSelectorParamMaterialized.ts index 49972443c..a27ce9d2e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFileSelectorParamMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFileSelectorParamMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class FileSelectorParam implements MaterializedBase,INTERFACE_FileSelectorParam { - peer?: Finalizable +export class FileSelectorParam implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): FileSelectorParam { - const objFileSelectorParam : FileSelectorParam = new FileSelectorParam() - objFileSelectorParam.peer = new Finalizable(ptr, FileSelectorParam.getFinalizer()) - return objFileSelectorParam - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._FileSelectorParam_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkFileSelectorResultMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkFileSelectorResultMaterialized.ts index fc326cd5f..311db9f57 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFileSelectorResultMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFileSelectorResultMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class FileSelectorResult implements MaterializedBase,INTERFACE_FileSelectorResult { - peer?: Finalizable +export class FileSelectorResult implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): FileSelectorResult { - const objFileSelectorResult : FileSelectorResult = new FileSelectorResult() - objFileSelectorResult.peer = new Finalizable(ptr, FileSelectorResult.getFinalizer()) - return objFileSelectorResult - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._FileSelectorResult_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkFlex.ts b/arkoala-arkts/arkui/src/generated/ArkFlex.ts index a1e95ad6c..ff50f33f3 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFlex.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFlex.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkFlowItem.ts b/arkoala-arkts/arkui/src/generated/ArkFlowItem.ts index 8d16e33e2..d48e651e3 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFlowItem.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFlowItem.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkFolderStack.ts b/arkoala-arkts/arkui/src/generated/ArkFolderStack.ts index c9b98ac53..1fe720655 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFolderStack.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFolderStack.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkFormComponent.ts b/arkoala-arkts/arkui/src/generated/ArkFormComponent.ts index 10ac118cf..3665d6fa3 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFormComponent.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFormComponent.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkFormLink.ts b/arkoala-arkts/arkui/src/generated/ArkFormLink.ts index 33863fdc7..c673d61fe 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFormLink.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFormLink.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkFrameNodeMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkFrameNodeMaterialized.ts index 801f79918..bc8848504 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFrameNodeMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFrameNodeMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class FrameNode implements MaterializedBase,INTERFACE_FrameNode { - peer?: Finalizable +export class FrameNode implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): FrameNode { - const objFrameNode : FrameNode = new FrameNode() - objFrameNode.peer = new Finalizable(ptr, FrameNode.getFinalizer()) - return objFrameNode - } static ctor(uiContext: UIContext): KPointer { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeUIContext(uiContext) @@ -150,23 +145,33 @@ export class FrameNode implements MaterializedBase,INTERFACE_FrameNode { } private getChild_serialize(index: number): FrameNode { const retval = ArkUIGeneratedNativeModule._FrameNode_getChild(this.peer!.ptr, index) - return this + const obj : FrameNode = new FrameNode() + obj.peer = new Finalizable(retval, FrameNode.getFinalizer()) + return obj } private getFirstChild_serialize(): FrameNode { const retval = ArkUIGeneratedNativeModule._FrameNode_getFirstChild(this.peer!.ptr) - return this + const obj : FrameNode = new FrameNode() + obj.peer = new Finalizable(retval, FrameNode.getFinalizer()) + return obj } private getNextSibling_serialize(): FrameNode { const retval = ArkUIGeneratedNativeModule._FrameNode_getNextSibling(this.peer!.ptr) - return this + const obj : FrameNode = new FrameNode() + obj.peer = new Finalizable(retval, FrameNode.getFinalizer()) + return obj } private getPreviousSibling_serialize(): FrameNode { const retval = ArkUIGeneratedNativeModule._FrameNode_getPreviousSibling(this.peer!.ptr) - return this + const obj : FrameNode = new FrameNode() + obj.peer = new Finalizable(retval, FrameNode.getFinalizer()) + return obj } private getParent_serialize(): FrameNode { const retval = ArkUIGeneratedNativeModule._FrameNode_getParent(this.peer!.ptr) - return this + const obj : FrameNode = new FrameNode() + obj.peer = new Finalizable(retval, FrameNode.getFinalizer()) + return obj } private getChildrenCount_serialize(): int32 { const retval = ArkUIGeneratedNativeModule._FrameNode_getChildrenCount(this.peer!.ptr) diff --git a/arkoala-arkts/arkui/src/generated/ArkFullScreenExitHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkFullScreenExitHandlerMaterialized.ts index 723e3d542..74c8c65ca 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFullScreenExitHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFullScreenExitHandlerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class FullScreenExitHandler implements MaterializedBase,INTERFACE_FullScreenExitHandler { - peer?: Finalizable +export class FullScreenExitHandler implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): FullScreenExitHandler { - const objFullScreenExitHandler : FullScreenExitHandler = new FullScreenExitHandler() - objFullScreenExitHandler.peer = new Finalizable(ptr, FullScreenExitHandler.getFinalizer()) - return objFullScreenExitHandler - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._FullScreenExitHandler_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkGauge.ts b/arkoala-arkts/arkui/src/generated/ArkGauge.ts index 5edc87290..d3aed4e26 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGauge.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGauge.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGestureEventMaterialized.ts new file mode 100644 index 000000000..c082130e5 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkGestureEventMaterialized.ts @@ -0,0 +1,343 @@ +/* + * 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 { BaseEvent, BaseEventInternal } from "./ArkBaseEventMaterialized" +import { FingerInfo } from "./ArkGestureInterfaces" +import { INTERFACE_GestureEvent } from "./SyntheticDeclarations" +import { TypeChecker } from "#components" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { ArkUIGeneratedNativeModule } from "#components" +import { wrapCallback, NativeBuffer } from "@koalaui/interop" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export interface GestureEvent { + repeat: boolean + fingerList: Array + offsetX: number + offsetY: number + angle: number + speed: number + scale: number + pinchCenterX: number + pinchCenterY: number + velocityX: number + velocityY: number + velocity: number +} +export class GestureEventInternal extends BaseEventInternal implements MaterializedBase,GestureEvent { + peer?: Finalizable | undefined + get repeat(): boolean { + return this.getRepeat() + } + set repeat(repeat: boolean) { + this.setRepeat(repeat) + } + get fingerList(): Array { + throw new Error("Not implemented") + } + set fingerList(fingerList: Array) { + this.setFingerList(fingerList) + } + get offsetX(): number { + return this.getOffsetX() + } + set offsetX(offsetX: number) { + this.setOffsetX(offsetX) + } + get offsetY(): number { + return this.getOffsetY() + } + set offsetY(offsetY: number) { + this.setOffsetY(offsetY) + } + get angle(): number { + return this.getAngle() + } + set angle(angle: number) { + this.setAngle(angle) + } + get speed(): number { + return this.getSpeed() + } + set speed(speed: number) { + this.setSpeed(speed) + } + get scale(): number { + return this.getScale() + } + set scale(scale: number) { + this.setScale(scale) + } + get pinchCenterX(): number { + return this.getPinchCenterX() + } + set pinchCenterX(pinchCenterX: number) { + this.setPinchCenterX(pinchCenterX) + } + get pinchCenterY(): number { + return this.getPinchCenterY() + } + set pinchCenterY(pinchCenterY: number) { + this.setPinchCenterY(pinchCenterY) + } + get velocityX(): number { + return this.getVelocityX() + } + set velocityX(velocityX: number) { + this.setVelocityX(velocityX) + } + get velocityY(): number { + return this.getVelocityY() + } + set velocityY(velocityY: number) { + this.setVelocityY(velocityY) + } + get velocity(): number { + return this.getVelocity() + } + set velocity(velocity: number) { + this.setVelocity(velocity) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._GestureEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr : KPointer = GestureEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, GestureEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._GestureEvent_getFinalizer() + } + private getRepeat(): boolean { + return this.getRepeat_serialize() + } + private setRepeat(repeat: boolean): void { + const repeat_casted = repeat as (boolean) + this.setRepeat_serialize(repeat_casted) + return + } + private setFingerList(fingerList: Array): void { + const fingerList_casted = fingerList as (Array) + this.setFingerList_serialize(fingerList_casted) + return + } + private getOffsetX(): number { + return this.getOffsetX_serialize() + } + private setOffsetX(offsetX: number): void { + const offsetX_casted = offsetX as (number) + this.setOffsetX_serialize(offsetX_casted) + return + } + private getOffsetY(): number { + return this.getOffsetY_serialize() + } + private setOffsetY(offsetY: number): void { + const offsetY_casted = offsetY as (number) + this.setOffsetY_serialize(offsetY_casted) + return + } + private getAngle(): number { + return this.getAngle_serialize() + } + private setAngle(angle: number): void { + const angle_casted = angle as (number) + this.setAngle_serialize(angle_casted) + return + } + private getSpeed(): number { + return this.getSpeed_serialize() + } + private setSpeed(speed: number): void { + const speed_casted = speed as (number) + this.setSpeed_serialize(speed_casted) + return + } + private getScale(): number { + return this.getScale_serialize() + } + private setScale(scale: number): void { + const scale_casted = scale as (number) + this.setScale_serialize(scale_casted) + return + } + private getPinchCenterX(): number { + return this.getPinchCenterX_serialize() + } + private setPinchCenterX(pinchCenterX: number): void { + const pinchCenterX_casted = pinchCenterX as (number) + this.setPinchCenterX_serialize(pinchCenterX_casted) + return + } + private getPinchCenterY(): number { + return this.getPinchCenterY_serialize() + } + private setPinchCenterY(pinchCenterY: number): void { + const pinchCenterY_casted = pinchCenterY as (number) + this.setPinchCenterY_serialize(pinchCenterY_casted) + return + } + private getVelocityX(): number { + return this.getVelocityX_serialize() + } + private setVelocityX(velocityX: number): void { + const velocityX_casted = velocityX as (number) + this.setVelocityX_serialize(velocityX_casted) + return + } + private getVelocityY(): number { + return this.getVelocityY_serialize() + } + private setVelocityY(velocityY: number): void { + const velocityY_casted = velocityY as (number) + this.setVelocityY_serialize(velocityY_casted) + return + } + private getVelocity(): number { + return this.getVelocity_serialize() + } + private setVelocity(velocity: number): void { + const velocity_casted = velocity as (number) + this.setVelocity_serialize(velocity_casted) + return + } + private getRepeat_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getRepeat(this.peer!.ptr) + return retval + } + private setRepeat_serialize(repeat: boolean): void { + ArkUIGeneratedNativeModule._GestureEvent_setRepeat(this.peer!.ptr, repeat ? 1 : 0) + } + private setFingerList_serialize(fingerList: Array): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeInt32(fingerList.length as int32) + for (let i = 0; i < fingerList.length; i++) { + const fingerList_element : FingerInfo = fingerList[i] + thisSerializer.writeFingerInfo(fingerList_element) + } + ArkUIGeneratedNativeModule._GestureEvent_setFingerList(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private getOffsetX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getOffsetX(this.peer!.ptr) + return retval + } + private setOffsetX_serialize(offsetX: number): void { + ArkUIGeneratedNativeModule._GestureEvent_setOffsetX(this.peer!.ptr, offsetX) + } + private getOffsetY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getOffsetY(this.peer!.ptr) + return retval + } + private setOffsetY_serialize(offsetY: number): void { + ArkUIGeneratedNativeModule._GestureEvent_setOffsetY(this.peer!.ptr, offsetY) + } + private getAngle_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getAngle(this.peer!.ptr) + return retval + } + private setAngle_serialize(angle: number): void { + ArkUIGeneratedNativeModule._GestureEvent_setAngle(this.peer!.ptr, angle) + } + private getSpeed_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getSpeed(this.peer!.ptr) + return retval + } + private setSpeed_serialize(speed: number): void { + ArkUIGeneratedNativeModule._GestureEvent_setSpeed(this.peer!.ptr, speed) + } + private getScale_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getScale(this.peer!.ptr) + return retval + } + private setScale_serialize(scale: number): void { + ArkUIGeneratedNativeModule._GestureEvent_setScale(this.peer!.ptr, scale) + } + private getPinchCenterX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getPinchCenterX(this.peer!.ptr) + return retval + } + private setPinchCenterX_serialize(pinchCenterX: number): void { + ArkUIGeneratedNativeModule._GestureEvent_setPinchCenterX(this.peer!.ptr, pinchCenterX) + } + private getPinchCenterY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getPinchCenterY(this.peer!.ptr) + return retval + } + private setPinchCenterY_serialize(pinchCenterY: number): void { + ArkUIGeneratedNativeModule._GestureEvent_setPinchCenterY(this.peer!.ptr, pinchCenterY) + } + private getVelocityX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getVelocityX(this.peer!.ptr) + return retval + } + private setVelocityX_serialize(velocityX: number): void { + ArkUIGeneratedNativeModule._GestureEvent_setVelocityX(this.peer!.ptr, velocityX) + } + private getVelocityY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getVelocityY(this.peer!.ptr) + return retval + } + private setVelocityY_serialize(velocityY: number): void { + ArkUIGeneratedNativeModule._GestureEvent_setVelocityY(this.peer!.ptr, velocityY) + } + private getVelocity_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getVelocity(this.peer!.ptr) + return retval + } + private setVelocity_serialize(velocity: number): void { + ArkUIGeneratedNativeModule._GestureEvent_setVelocity(this.peer!.ptr, velocity) + } + public static fromPtr(ptr: KPointer): GestureEventInternal { + const obj : GestureEventInternal = new GestureEventInternal() + obj.peer = new Finalizable(ptr, GestureEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkGestureInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkGestureInterfaces.ts index 9d8c4971a..bee6a38d2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGestureInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGestureInterfaces.ts @@ -1,8 +1,9 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" -import { BaseEvent, SourceTool } from "./ArkCommonInterfaces" +import { SourceTool } from "./ArkCommonInterfaces" import { Callback_GestureEvent_Void, Literal_Number_duration_fingers_Boolean_repeat, Callback_Void, Literal_Number_distance_fingers_PanDirection_direction, Literal_Number_fingers_speed_SwipeDirection_direction, Literal_Number_distance_fingers, Literal_Number_angle_fingers } from "./SyntheticDeclarations" +import { GestureEvent } from "./ArkGestureEventMaterialized" import { PanGestureOptions } from "./ArkPanGestureOptionsMaterialized" export enum PanDirection { NONE = 0, @@ -74,47 +75,6 @@ export interface FingerInfo { displayX: number; displayY: number; } -export interface BaseGestureEvent extends BaseEvent { - fingerList: Array; -} -export interface TapGestureEvent extends BaseGestureEvent { -} -export interface LongPressGestureEvent extends BaseGestureEvent { - repeat: boolean; -} -export interface PanGestureEvent extends BaseGestureEvent { - offsetX: number; - offsetY: number; - velocityX: number; - velocityY: number; - velocity: number; -} -export interface PinchGestureEvent extends BaseGestureEvent { - scale: number; - pinchCenterX: number; - pinchCenterY: number; -} -export interface RotationGestureEvent extends BaseGestureEvent { - angle: number; -} -export interface SwipeGestureEvent extends BaseGestureEvent { - angle: number; - speed: number; -} -export interface GestureEvent extends BaseEvent { - repeat: boolean; - fingerList: Array; - offsetX: number; - offsetY: number; - angle: number; - speed: number; - scale: number; - pinchCenterX: number; - pinchCenterY: number; - velocityX: number; - velocityY: number; - velocity: number; -} export interface GestureInterface { } export interface TapGestureParameters { diff --git a/arkoala-arkts/arkui/src/generated/ArkGestureModifierMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGestureModifierMaterialized.ts index 94c677bdd..a5d55c35a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGestureModifierMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGestureModifierMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,24 +49,22 @@ import { } from "@koalaui/interop" -export class GestureModifier implements MaterializedBase,INTERFACE_GestureModifier { - peer?: Finalizable +export interface GestureModifier { + applyGesture(event: UIGestureEvent): void +} +export class GestureModifierInternal implements MaterializedBase,GestureModifier { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): GestureModifier { - const objGestureModifier : GestureModifier = new GestureModifier() - objGestureModifier.peer = new Finalizable(ptr, GestureModifier.getFinalizer()) - return objGestureModifier - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._GestureModifier_ctor() return retval } constructor() { { - const ctorPtr : KPointer = GestureModifier.ctor() - this.peer = new Finalizable(ctorPtr, GestureModifier.getFinalizer()) + const ctorPtr : KPointer = GestureModifierInternal.ctor() + this.peer = new Finalizable(ctorPtr, GestureModifierInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -83,11 +81,9 @@ export class GestureModifier implements MaterializedBase,INTERFACE_GestureModifi ArkUIGeneratedNativeModule._GestureModifier_applyGesture(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } -} -export class GestureModifierInternal { - public static fromPtr(ptr: KPointer): GestureModifier { - const obj : GestureModifier = new GestureModifier() - obj.peer = new Finalizable(ptr, GestureModifier.getFinalizer()) + public static fromPtr(ptr: KPointer): GestureModifierInternal { + const obj : GestureModifierInternal = new GestureModifierInternal() + obj.peer = new Finalizable(ptr, GestureModifierInternal.getFinalizer()) return obj } } diff --git a/arkoala-arkts/arkui/src/generated/ArkGestureRecognizerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGestureRecognizerMaterialized.ts index 5043b8d2e..d333dc54e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGestureRecognizerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGestureRecognizerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -17,7 +17,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { GestureControl_GestureType, GestureRecognizerState } from "./ArkGestureInterfaces" -import { EventTargetInfo } from "./ArkEventTargetInfoMaterialized" +import { EventTargetInfo, EventTargetInfoInternal } from "./ArkEventTargetInfoMaterialized" import { INTERFACE_GestureRecognizer } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -50,16 +50,11 @@ import { } from "@koalaui/interop" -export class GestureRecognizer implements MaterializedBase,INTERFACE_GestureRecognizer { - peer?: Finalizable +export class GestureRecognizer implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): GestureRecognizer { - const objGestureRecognizer : GestureRecognizer = new GestureRecognizer() - objGestureRecognizer.peer = new Finalizable(ptr, GestureRecognizer.getFinalizer()) - return objGestureRecognizer - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._GestureRecognizer_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkGlobalScopeCommonMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGlobalScopeCommonMaterialized.ts new file mode 100644 index 000000000..5b7c464ad --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkGlobalScopeCommonMaterialized.ts @@ -0,0 +1,233 @@ +/* + * 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 { Context, AnimateParam } from "./ArkCommonInterfaces" +import { Resource } from "./ArkResourceInterfaces" +import { Callback_Void } from "./SyntheticDeclarations" +import { PointerStyle } from "./ArkArkui-customInterfaces" +import { TypeChecker } from "#components" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { ArkUIGeneratedNativeModule } from "#components" +import { wrapCallback, NativeBuffer } from "@koalaui/interop" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class GlobalScope_common implements MaterializedBase { + peer?: Finalizable | undefined + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_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 = GlobalScope_common.ctor() + this.peer = new Finalizable(ctorPtr, GlobalScope_common.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._GlobalScope_common_getFinalizer() + } + static getContext(component?: Object): Context { + const component_casted = component as (Object | undefined) + return GlobalScope_common.getContext_serialize(component_casted) + } + static postCardAction(component: Object, action: Object): void { + const component_casted = component as (Object) + const action_casted = action as (Object) + GlobalScope_common.postCardAction_serialize(component_casted, action_casted) + return + } + static dollar_r(value: string, params: Array): Resource { + const value_casted = value as (string) + const params_casted = params as (Array) + return GlobalScope_common.dollar_r_serialize(value_casted, params_casted) + } + static dollar_rawfile(value: string): Resource { + const value_casted = value as (string) + return GlobalScope_common.dollar_rawfile_serialize(value_casted) + } + static animateTo(value: AnimateParam, event: (() => void)): void { + const value_casted = value as (AnimateParam) + const event_casted = event as ((() => void)) + GlobalScope_common.animateTo_serialize(value_casted, event_casted) + return + } + static animateToImmediately(value: AnimateParam, event: (() => void)): void { + const value_casted = value as (AnimateParam) + const event_casted = event as ((() => void)) + GlobalScope_common.animateToImmediately_serialize(value_casted, event_casted) + return + } + static vp2px(value: number): number { + const value_casted = value as (number) + return GlobalScope_common.vp2px_serialize(value_casted) + } + static px2vp(value: number): number { + const value_casted = value as (number) + return GlobalScope_common.px2vp_serialize(value_casted) + } + static fp2px(value: number): number { + const value_casted = value as (number) + return GlobalScope_common.fp2px_serialize(value_casted) + } + static px2fp(value: number): number { + const value_casted = value as (number) + return GlobalScope_common.px2fp_serialize(value_casted) + } + static lpx2px(value: number): number { + const value_casted = value as (number) + return GlobalScope_common.lpx2px_serialize(value_casted) + } + static px2lpx(value: number): number { + const value_casted = value as (number) + return GlobalScope_common.px2lpx_serialize(value_casted) + } + static requestFocus(value: string): boolean { + const value_casted = value as (string) + return GlobalScope_common.requestFocus_serialize(value_casted) + } + static setCursor(value: PointerStyle): void { + const value_casted = value as (PointerStyle) + GlobalScope_common.setCursor_serialize(value_casted) + return + } + static restoreDefault(): void { + GlobalScope_common.restoreDefault_serialize() + return + } + private static getContext_serialize(component?: Object): Context { + const thisSerializer : Serializer = Serializer.hold() + let component_type : int32 = RuntimeType.UNDEFINED + component_type = runtimeType(component) + thisSerializer.writeInt8(component_type as int32) + if ((RuntimeType.UNDEFINED) != (component_type)) { + const component_value = component! + thisSerializer.writeCustomObject("Object", component_value) + } + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_getContext(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + throw new Error("Object deserialization is not implemented.") + } + private static postCardAction_serialize(component: Object, action: Object): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeCustomObject("Object", component) + thisSerializer.writeCustomObject("Object", action) + ArkUIGeneratedNativeModule._GlobalScope_common_postCardAction(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private static dollar_r_serialize(value: string, params: Array): Resource { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeInt32(params.length as int32) + for (let i = 0; i < params.length; i++) { + const params_element : object = params[i] + thisSerializer.writeCustomObject("Any", params_element) + } + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_dollar_r(value, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + throw new Error("Object deserialization is not implemented.") + } + private static dollar_rawfile_serialize(value: string): Resource { + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_dollar_rawfile(value) + throw new Error("Object deserialization is not implemented.") + } + private static animateTo_serialize(value: AnimateParam, event: (() => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeAnimateParam(value) + thisSerializer.holdAndWriteCallback(event) + ArkUIGeneratedNativeModule._GlobalScope_common_animateTo(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private static animateToImmediately_serialize(value: AnimateParam, event: (() => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeAnimateParam(value) + thisSerializer.holdAndWriteCallback(event) + ArkUIGeneratedNativeModule._GlobalScope_common_animateToImmediately(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private static vp2px_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_vp2px(value) + return retval + } + private static px2vp_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_px2vp(value) + return retval + } + private static fp2px_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_fp2px(value) + return retval + } + private static px2fp_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_px2fp(value) + return retval + } + private static lpx2px_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_lpx2px(value) + return retval + } + private static px2lpx_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_px2lpx(value) + return retval + } + private static requestFocus_serialize(value: string): boolean { + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_requestFocus(value) + return retval + } + private static setCursor_serialize(value: PointerStyle): void { + ArkUIGeneratedNativeModule._GlobalScope_common_setCursor((value.valueOf() as int32)) + } + private static restoreDefault_serialize(): void { + ArkUIGeneratedNativeModule._GlobalScope_common_restoreDefault() + } +} +export class GlobalScope_commonInternal { + public static fromPtr(ptr: KPointer): GlobalScope_common { + const obj : GlobalScope_common = new GlobalScope_common() + obj.peer = new Finalizable(ptr, GlobalScope_common.getFinalizer()) + return obj + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkGlobalScopeInspectorMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGlobalScopeInspectorMaterialized.ts new file mode 100644 index 000000000..9f63849e0 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkGlobalScopeInspectorMaterialized.ts @@ -0,0 +1,120 @@ +/* + * 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 { Callback_String_Void } from "./SyntheticDeclarations" +import { TypeChecker } from "#components" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { ArkUIGeneratedNativeModule } from "#components" +import { wrapCallback, NativeBuffer } from "@koalaui/interop" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class GlobalScope_inspector implements MaterializedBase { + peer?: Finalizable | undefined + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._GlobalScope_inspector_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 = GlobalScope_inspector.ctor() + this.peer = new Finalizable(ctorPtr, GlobalScope_inspector.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._GlobalScope_inspector_getFinalizer() + } + static getInspectorNodes(): Object { + return GlobalScope_inspector.getInspectorNodes_serialize() + } + static getInspectorNodeById(id: number): Object { + const id_casted = id as (number) + return GlobalScope_inspector.getInspectorNodeById_serialize(id_casted) + } + static registerVsyncCallback(callback_: ((breakpoints: string) => void)): void { + const callback__casted = callback_ as (((breakpoints: string) => void)) + GlobalScope_inspector.registerVsyncCallback_serialize(callback__casted) + return + } + static unregisterVsyncCallback(): void { + GlobalScope_inspector.unregisterVsyncCallback_serialize() + return + } + static setAppBgColor(value: string): void { + const value_casted = value as (string) + GlobalScope_inspector.setAppBgColor_serialize(value_casted) + return + } + private static getInspectorNodes_serialize(): Object { + const retval = ArkUIGeneratedNativeModule._GlobalScope_inspector_getInspectorNodes() + throw new Error("Object deserialization is not implemented.") + } + private static getInspectorNodeById_serialize(id: number): Object { + const retval = ArkUIGeneratedNativeModule._GlobalScope_inspector_getInspectorNodeById(id) + throw new Error("Object deserialization is not implemented.") + } + private static registerVsyncCallback_serialize(callback_: ((breakpoints: string) => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(callback_) + ArkUIGeneratedNativeModule._GlobalScope_inspector_registerVsyncCallback(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private static unregisterVsyncCallback_serialize(): void { + ArkUIGeneratedNativeModule._GlobalScope_inspector_unregisterVsyncCallback() + } + private static setAppBgColor_serialize(value: string): void { + ArkUIGeneratedNativeModule._GlobalScope_inspector_setAppBgColor(value) + } +} +export class GlobalScope_inspectorInternal { + public static fromPtr(ptr: KPointer): GlobalScope_inspector { + const obj : GlobalScope_inspector = new GlobalScope_inspector() + obj.peer = new Finalizable(ptr, GlobalScope_inspector.getFinalizer()) + return obj + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkGrid.ts b/arkoala-arkts/arkui/src/generated/ArkGrid.ts index fb6f50d87..84a7c922a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGrid.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGrid.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -25,11 +25,11 @@ import { TypeChecker } from "#components" import { ArkScrollableCommonMethodComponent } from "./ArkCommon" import { ArkGridPeer } from "./peers/ArkGridPeer" import { UseEventsProperties } from "./use_properties" -import { ScrollableCommonMethod, ItemDragInfo, NestedScrollOptions, EdgeEffectOptions } from "./ArkCommonInterfaces" +import { ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions } from "./ArkCommonInterfaces" import { GridAttribute, ComputedBarAttribute, GridDirection, GridItemAlignment, GridLayoutOptions } from "./ArkGridInterfaces" import { Length } from "./ArkUnitsInterfaces" import { Color, BarState, EdgeEffect } from "./ArkEnumsInterfaces" -import { Callback_Number_Number_ComputedBarAttribute, Callback_Number_Number_Void, Callback_ItemDragInfo_Number_Callback_Any, Callback_Any, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Number_ScrollState_Void, Callback_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain } from "./SyntheticDeclarations" +import { Callback_Number_Number_ComputedBarAttribute, Callback_Number_Number_Void, Callback_ItemDragInfo_Number_CustomBuilder, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain } from "./SyntheticDeclarations" import { Resource } from "./ArkResourceInterfaces" import { ScrollState } from "./ArkListInterfaces" import { Scroller } from "./ArkScrollerMaterialized" @@ -134,17 +134,17 @@ export class ArkGridComponent extends ArkScrollableCommonMethodComponent { if (this.checkPriority("cachedCount")) { const count_type = runtimeType(count) const show_type = runtimeType(show) + if ((((RuntimeType.UNDEFINED == show_type)))) { + const value_casted = count as (number) + this.getPeer()?.cachedCount0Attribute(value_casted) + return this + } if ((((RuntimeType.BOOLEAN == show_type)))) { const count_casted = count as (number) const show_casted = show as (boolean) this.getPeer()?.cachedCount1Attribute(count_casted, show_casted) return this } - if ((((RuntimeType.UNDEFINED == show_type)))) { - const count_casted = count as (number) - this.getPeer()?.cachedCount0Attribute(count_casted) - return this - } throw new Error("Can not select appropriate overload") } return this @@ -213,9 +213,9 @@ export class ArkGridComponent extends ArkScrollableCommonMethodComponent { return this } /** @memo */ - onItemDragStart(value: ((event: ItemDragInfo,itemIndex: number) => (() => object))): this { + onItemDragStart(value: ((event: ItemDragInfo,itemIndex: number) => CustomBuilder)): this { if (this.checkPriority("onItemDragStart")) { - const value_casted = value as (((event: ItemDragInfo,itemIndex: number) => (() => object))) + const value_casted = value as (((event: ItemDragInfo,itemIndex: number) => CustomBuilder)) this.getPeer()?.onItemDragStartAttribute(value_casted) return this } @@ -294,9 +294,9 @@ export class ArkGridComponent extends ArkScrollableCommonMethodComponent { return this } /** @memo */ - onScroll(value: ((scrollOffset: number,scrollState: ScrollState) => void)): this { + onScroll(value: ((first: number,last: number) => void)): this { if (this.checkPriority("onScroll")) { - const value_casted = value as (((scrollOffset: number,scrollState: ScrollState) => void)) + const value_casted = value as (((first: number,last: number) => void)) this.getPeer()?.onScrollAttribute(value_casted) return this } diff --git a/arkoala-arkts/arkui/src/generated/ArkGridCol.ts b/arkoala-arkts/arkui/src/generated/ArkGridCol.ts index 7bf827f36..3ddcdc554 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGridCol.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGridCol.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkGridContainer.ts b/arkoala-arkts/arkui/src/generated/ArkGridContainer.ts index 123fefa60..94ff25de3 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGridContainer.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGridContainer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkGridInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkGridInterfaces.ts index 27b2630df..cff113711 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGridInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGridInterfaces.ts @@ -1,9 +1,9 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" -import { Tuple_Number_Number, Callback_Number_Tuple_Number_Number, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number, Callback_Number_Number_ComputedBarAttribute, Callback_Number_Number_Void, Callback_ItemDragInfo_Number_Callback_Any, Callback_Any, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Number_ScrollState_Void, Callback_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain } from "./SyntheticDeclarations" +import { Tuple_Number_Number, Callback_Number_Tuple_Number_Number, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number, Callback_Number_Number_ComputedBarAttribute, Callback_Number_Number_Void, Callback_ItemDragInfo_Number_CustomBuilder, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain } from "./SyntheticDeclarations" import { Scroller } from "./ArkScrollerMaterialized" -import { ScrollableCommonMethod, ItemDragInfo, NestedScrollOptions, EdgeEffectOptions } from "./ArkCommonInterfaces" +import { ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions } from "./ArkCommonInterfaces" import { Length } from "./ArkUnitsInterfaces" import { Color, BarState, EdgeEffect } from "./ArkEnumsInterfaces" import { Resource } from "./ArkResourceInterfaces" @@ -51,7 +51,7 @@ export interface GridAttribute extends ScrollableCommonMethod { cellLength: number; layoutDirection: GridDirection; supportAnimation: boolean; - onItemDragStart: ((event: ItemDragInfo,itemIndex: number) => (() => object)); + onItemDragStart: ((event: ItemDragInfo,itemIndex: number) => CustomBuilder); onItemDragEnter: ((event: ItemDragInfo) => void); onItemDragMove: ((event: ItemDragInfo,itemIndex: number,insertIndex: number) => void); onItemDragLeave: ((event: ItemDragInfo,itemIndex: number) => void); @@ -60,7 +60,7 @@ export interface GridAttribute extends ScrollableCommonMethod { enableScrollInteraction: boolean; friction: number | Resource; alignItems: GridItemAlignment | undefined; - onScroll: ((scrollOffset: number,scrollState: ScrollState) => void); + onScroll: ((first: number,last: number) => void); onReachStart: (() => void); onReachEnd: (() => void); onScrollStart: (() => void); diff --git a/arkoala-arkts/arkui/src/generated/ArkGridItem.ts b/arkoala-arkts/arkui/src/generated/ArkGridItem.ts index 4e7214423..0e5ff67e0 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGridItem.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGridItem.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkGridRow.ts b/arkoala-arkts/arkui/src/generated/ArkGridRow.ts index 9d3c9b5ea..4f2cf3085 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGridRow.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGridRow.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkHoverEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkHoverEventMaterialized.ts new file mode 100644 index 000000000..6d3510c0e --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkHoverEventMaterialized.ts @@ -0,0 +1,96 @@ +/* + * 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 { BaseEvent, BaseEventInternal } from "./ArkBaseEventMaterialized" +import { Callback_Void, INTERFACE_HoverEvent } from "./SyntheticDeclarations" +import { TypeChecker } from "#components" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { ArkUIGeneratedNativeModule } from "#components" +import { wrapCallback, NativeBuffer } from "@koalaui/interop" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export interface HoverEvent { + stopPropagation: (() => void) +} +export class HoverEventInternal extends BaseEventInternal implements MaterializedBase,HoverEvent { + peer?: Finalizable | undefined + get stopPropagation(): (() => void) { + throw new Error("Not implemented") + } + set stopPropagation(stopPropagation: (() => void)) { + this.setStopPropagation(stopPropagation) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._HoverEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr : KPointer = HoverEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, HoverEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._HoverEvent_getFinalizer() + } + private setStopPropagation(stopPropagation: (() => void)): void { + const stopPropagation_casted = stopPropagation as ((() => void)) + this.setStopPropagation_serialize(stopPropagation_casted) + return + } + private setStopPropagation_serialize(stopPropagation: (() => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(stopPropagation) + ArkUIGeneratedNativeModule._HoverEvent_setStopPropagation(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + public static fromPtr(ptr: KPointer): HoverEventInternal { + const obj : HoverEventInternal = new HoverEventInternal() + obj.peer = new Finalizable(ptr, HoverEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkHttpAuthHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkHttpAuthHandlerMaterialized.ts index 50528ce35..fafdd8948 100644 --- a/arkoala-arkts/arkui/src/generated/ArkHttpAuthHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkHttpAuthHandlerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class HttpAuthHandler implements MaterializedBase,INTERFACE_HttpAuthHandler { - peer?: Finalizable +export class HttpAuthHandler implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): HttpAuthHandler { - const objHttpAuthHandler : HttpAuthHandler = new HttpAuthHandler() - objHttpAuthHandler.peer = new Finalizable(ptr, HttpAuthHandler.getFinalizer()) - return objHttpAuthHandler - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._HttpAuthHandler_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkHyperlink.ts b/arkoala-arkts/arkui/src/generated/ArkHyperlink.ts index fbe6ad7a5..82127e6a9 100644 --- a/arkoala-arkts/arkui/src/generated/ArkHyperlink.ts +++ b/arkoala-arkts/arkui/src/generated/ArkHyperlink.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkICurveMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkICurveMaterialized.ts index 3f7b1ee1c..8b1117389 100644 --- a/arkoala-arkts/arkui/src/generated/ArkICurveMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkICurveMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,24 +48,22 @@ import { } from "@koalaui/interop" -export class ICurve implements MaterializedBase,INTERFACE_ICurve { - peer?: Finalizable +export interface ICurve { + interpolate(fraction: number): number +} +export class ICurveInternal implements MaterializedBase,ICurve { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ICurve { - const objICurve : ICurve = new ICurve() - objICurve.peer = new Finalizable(ptr, ICurve.getFinalizer()) - return objICurve - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._ICurve_ctor() return retval } constructor() { { - const ctorPtr : KPointer = ICurve.ctor() - this.peer = new Finalizable(ctorPtr, ICurve.getFinalizer()) + const ctorPtr : KPointer = ICurveInternal.ctor() + this.peer = new Finalizable(ctorPtr, ICurveInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -79,11 +77,9 @@ export class ICurve implements MaterializedBase,INTERFACE_ICurve { const retval = ArkUIGeneratedNativeModule._ICurve_interpolate(this.peer!.ptr, fraction) return retval } -} -export class ICurveInternal { - public static fromPtr(ptr: KPointer): ICurve { - const obj : ICurve = new ICurve() - obj.peer = new Finalizable(ptr, ICurve.getFinalizer()) + public static fromPtr(ptr: KPointer): ICurveInternal { + const obj : ICurveInternal = new ICurveInternal() + obj.peer = new Finalizable(ptr, ICurveInternal.getFinalizer()) return obj } } diff --git a/arkoala-arkts/arkui/src/generated/ArkImage.ts b/arkoala-arkts/arkui/src/generated/ArkImage.ts index 9bf4c207a..7e292af93 100644 --- a/arkoala-arkts/arkui/src/generated/ArkImage.ts +++ b/arkoala-arkts/arkui/src/generated/ArkImage.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -43,15 +43,15 @@ export class ArkImageComponent extends ArkCommonMethodComponent { if (this.checkPriority("setImageOptions")) { const src_type = runtimeType(src) const imageAIOptions_type = runtimeType(imageAIOptions) - if ((((RuntimeType.OBJECT == src_type)) || ((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.OBJECT == src_type))) && (((RuntimeType.OBJECT == imageAIOptions_type)))) { + if ((((RuntimeType.OBJECT == src_type)) || ((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.OBJECT == src_type))) && (((RuntimeType.UNDEFINED == imageAIOptions_type)))) { const src_casted = src as (PixelMap | ResourceStr | DrawableDescriptor) - const imageAIOptions_casted = imageAIOptions as (ImageAIOptions) - this.getPeer()?.setImageOptions2Attribute(src_casted, imageAIOptions_casted) + this.getPeer()?.setImageOptions0Attribute(src_casted) return this } - if ((((RuntimeType.OBJECT == src_type)) || ((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.OBJECT == src_type))) && (((RuntimeType.UNDEFINED == imageAIOptions_type)))) { + if ((((RuntimeType.OBJECT == src_type)) || ((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.OBJECT == src_type))) && (((RuntimeType.OBJECT == imageAIOptions_type)))) { const src_casted = src as (PixelMap | ResourceStr | DrawableDescriptor) - this.getPeer()?.setImageOptions0Attribute(src_casted) + const imageAIOptions_casted = imageAIOptions as (ImageAIOptions) + this.getPeer()?.setImageOptions2Attribute(src_casted, imageAIOptions_casted) return this } if ((((RuntimeType.OBJECT == src_type)) || ((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.NUMBER == src_type))) && (((RuntimeType.UNDEFINED == imageAIOptions_type)))) { diff --git a/arkoala-arkts/arkui/src/generated/ArkImageAnalyzerControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkImageAnalyzerControllerMaterialized.ts index 2a16d1886..2e427a317 100644 --- a/arkoala-arkts/arkui/src/generated/ArkImageAnalyzerControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkImageAnalyzerControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class ImageAnalyzerController implements MaterializedBase,INTERFACE_ImageAnalyzerController { - peer?: Finalizable +export class ImageAnalyzerController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ImageAnalyzerController { - const objImageAnalyzerController : ImageAnalyzerController = new ImageAnalyzerController() - objImageAnalyzerController.peer = new Finalizable(ptr, ImageAnalyzerController.getFinalizer()) - return objImageAnalyzerController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._ImageAnalyzerController_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkImageAnimator.ts b/arkoala-arkts/arkui/src/generated/ArkImageAnimator.ts index f3ba69336..f92d9b5ad 100644 --- a/arkoala-arkts/arkui/src/generated/ArkImageAnimator.ts +++ b/arkoala-arkts/arkui/src/generated/ArkImageAnimator.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkImageBitmapMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkImageBitmapMaterialized.ts index 1d5fe2c27..1dd6c29df 100644 --- a/arkoala-arkts/arkui/src/generated/ArkImageBitmapMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkImageBitmapMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -17,7 +17,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { LengthMetricsUnit } from "./ArkUnitsInterfaces" -import { PixelMap } from "./ArkPixelMapMaterialized" +import { PixelMap, PixelMapInternal } from "./ArkPixelMapMaterialized" import { INTERFACE_ImageBitmap } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -50,8 +50,8 @@ import { } from "@koalaui/interop" -export class ImageBitmap implements MaterializedBase,INTERFACE_ImageBitmap { - peer?: Finalizable +export class ImageBitmap implements MaterializedBase { + peer?: Finalizable | undefined get height(): number { return this.getHeight() } @@ -61,11 +61,6 @@ export class ImageBitmap implements MaterializedBase,INTERFACE_ImageBitmap { getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ImageBitmap { - const objImageBitmap : ImageBitmap = new ImageBitmap() - objImageBitmap.peer = new Finalizable(ptr, ImageBitmap.getFinalizer()) - return objImageBitmap - } static ctor(src: string): KPointer { const retval = ArkUIGeneratedNativeModule._ImageBitmap_ctor(src) return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkImageSpan.ts b/arkoala-arkts/arkui/src/generated/ArkImageSpan.ts index 0ccc45104..94f99c948 100644 --- a/arkoala-arkts/arkui/src/generated/ArkImageSpan.ts +++ b/arkoala-arkts/arkui/src/generated/ArkImageSpan.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkIndicatorComponentControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkIndicatorComponentControllerMaterialized.ts index e52c1c782..01353c62b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkIndicatorComponentControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkIndicatorComponentControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class IndicatorComponentController implements MaterializedBase,INTERFACE_IndicatorComponentController { - peer?: Finalizable +export class IndicatorComponentController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): IndicatorComponentController { - const objIndicatorComponentController : IndicatorComponentController = new IndicatorComponentController() - objIndicatorComponentController.peer = new Finalizable(ptr, IndicatorComponentController.getFinalizer()) - return objIndicatorComponentController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._IndicatorComponentController_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkIndicatorcomponent.ts b/arkoala-arkts/arkui/src/generated/ArkIndicatorcomponent.ts index a880692a9..e4635b7de 100644 --- a/arkoala-arkts/arkui/src/generated/ArkIndicatorcomponent.ts +++ b/arkoala-arkts/arkui/src/generated/ArkIndicatorcomponent.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkJsGeolocationMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkJsGeolocationMaterialized.ts index 3ea3857e7..9e4b88a3a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkJsGeolocationMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkJsGeolocationMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class JsGeolocation implements MaterializedBase,INTERFACE_JsGeolocation { - peer?: Finalizable +export class JsGeolocation implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): JsGeolocation { - const objJsGeolocation : JsGeolocation = new JsGeolocation() - objJsGeolocation.peer = new Finalizable(ptr, JsGeolocation.getFinalizer()) - return objJsGeolocation - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._JsGeolocation_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkJsResultMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkJsResultMaterialized.ts index d2c2faf9b..5e219b046 100644 --- a/arkoala-arkts/arkui/src/generated/ArkJsResultMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkJsResultMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class JsResult implements MaterializedBase,INTERFACE_JsResult { - peer?: Finalizable +export class JsResult implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): JsResult { - const objJsResult : JsResult = new JsResult() - objJsResult.peer = new Finalizable(ptr, JsResult.getFinalizer()) - return objJsResult - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._JsResult_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkKeyEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkKeyEventMaterialized.ts new file mode 100644 index 000000000..c9765fc79 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkKeyEventMaterialized.ts @@ -0,0 +1,307 @@ +/* + * 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 { KeyType, KeySource } from "./ArkEnumsInterfaces" +import { Callback_Void, INTERFACE_KeyEvent } from "./SyntheticDeclarations" +import { IntentionCode } from "./ArkCommonInterfaces" +import { TypeChecker } from "#components" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { ArkUIGeneratedNativeModule } from "#components" +import { wrapCallback, NativeBuffer } from "@koalaui/interop" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export interface KeyEvent { + type: KeyType + keyCode: number + keyText: string + keySource: KeySource + deviceId: number + metaKey: number + timestamp: number + stopPropagation: (() => void) + intentionCode: IntentionCode + unicode?: number + getModifierKeyState(keys: Array): boolean +} +export class KeyEventInternal implements MaterializedBase,KeyEvent { + peer?: Finalizable | undefined + 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 { + throw new Error("Not implemented") + } + 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) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._KeyEvent_ctor() + return retval + } + constructor() { + { + const ctorPtr : KPointer = KeyEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, KeyEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._KeyEvent_getFinalizer() + } + 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 + } + 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 setStopPropagation(stopPropagation: (() => void)): void { + const stopPropagation_casted = stopPropagation as ((() => void)) + this.setStopPropagation_serialize(stopPropagation_casted) + return + } + private setIntentionCode(intentionCode: IntentionCode): void { + const intentionCode_casted = intentionCode as (IntentionCode) + this.setIntentionCode_serialize(intentionCode_casted) + return + } + private getUnicode(): number { + 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.writeInt32(keys.length as int32) + 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.asArray(), thisSerializer.length()) + thisSerializer.release() + return retval + } + private getType_serialize(): KeyType { + const retval = ArkUIGeneratedNativeModule._KeyEvent_getType(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setType_serialize(type: KeyType): void { + ArkUIGeneratedNativeModule._KeyEvent_setType(this.peer!.ptr, (type.valueOf() as int32)) + } + private getKeyCode_serialize(): number { + const retval = ArkUIGeneratedNativeModule._KeyEvent_getKeyCode(this.peer!.ptr) + return retval + } + 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 setKeyText_serialize(keyText: string): void { + ArkUIGeneratedNativeModule._KeyEvent_setKeyText(this.peer!.ptr, keyText) + } + private getKeySource_serialize(): KeySource { + const retval = ArkUIGeneratedNativeModule._KeyEvent_getKeySource(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setKeySource_serialize(keySource: KeySource): void { + ArkUIGeneratedNativeModule._KeyEvent_setKeySource(this.peer!.ptr, (keySource.valueOf() as int32)) + } + 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 setStopPropagation_serialize(stopPropagation: (() => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(stopPropagation) + ArkUIGeneratedNativeModule._KeyEvent_setStopPropagation(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setIntentionCode_serialize(intentionCode: IntentionCode): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeIntentionCode(intentionCode) + ArkUIGeneratedNativeModule._KeyEvent_setIntentionCode(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private getUnicode_serialize(): number { + const retval = ArkUIGeneratedNativeModule._KeyEvent_getUnicode(this.peer!.ptr) + return retval + } + 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 + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkLayoutManagerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkLayoutManagerMaterialized.ts index 3e3adb40a..304dea29a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLayoutManagerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLayoutManagerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -50,24 +50,25 @@ import { } from "@koalaui/interop" -export class LayoutManager implements MaterializedBase,INTERFACE_LayoutManager { - peer?: Finalizable +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 getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): LayoutManager { - const objLayoutManager : LayoutManager = new LayoutManager() - objLayoutManager.peer = new Finalizable(ptr, LayoutManager.getFinalizer()) - return objLayoutManager - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._LayoutManager_ctor() return retval } constructor() { { - const ctorPtr : KPointer = LayoutManager.ctor() - this.peer = new Finalizable(ctorPtr, LayoutManager.getFinalizer()) + const ctorPtr : KPointer = LayoutManagerInternal.ctor() + this.peer = new Finalizable(ctorPtr, LayoutManagerInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -110,11 +111,9 @@ export class LayoutManager implements MaterializedBase,INTERFACE_LayoutManager { thisSerializer.release() throw new Error("Object deserialization is not implemented.") } -} -export class LayoutManagerInternal { - public static fromPtr(ptr: KPointer): LayoutManager { - const obj : LayoutManager = new LayoutManager() - obj.peer = new Finalizable(ptr, LayoutManager.getFinalizer()) + public static fromPtr(ptr: KPointer): LayoutManagerInternal { + const obj : LayoutManagerInternal = new LayoutManagerInternal() + obj.peer = new Finalizable(ptr, LayoutManagerInternal.getFinalizer()) return obj } } diff --git a/arkoala-arkts/arkui/src/generated/ArkLazyForEachOpsMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkLazyForEachOpsMaterialized.ts index 2e27e7da4..75875d752 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLazyForEachOpsMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLazyForEachOpsMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class LazyForEachOps implements MaterializedBase,INTERFACE_LazyForEachOps { - peer?: Finalizable +export class LazyForEachOps implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): LazyForEachOps { - const objLazyForEachOps : LazyForEachOps = new LazyForEachOps() - objLazyForEachOps.peer = new Finalizable(ptr, LazyForEachOps.getFinalizer()) - return objLazyForEachOps - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._LazyForEachOps_ctor() return retval @@ -94,6 +89,11 @@ export class LazyForEachOps implements MaterializedBase,INTERFACE_LazyForEachOps LazyForEachOps.SetCurrentIndex_serialize(node_casted, index_casted) return } + static Prepare(node: KPointer): void { + const node_casted = node as (KPointer) + LazyForEachOps.Prepare_serialize(node_casted) + return + } private static NeedMoreElements_serialize(node: KPointer, mark: KPointer, direction: int32): KPointer { const retval = ArkUIGeneratedNativeModule._LazyForEachOps_NeedMoreElements(node, mark, direction) return retval @@ -107,6 +107,9 @@ export class LazyForEachOps implements MaterializedBase,INTERFACE_LazyForEachOps private static SetCurrentIndex_serialize(node: KPointer, index: int32): void { ArkUIGeneratedNativeModule._LazyForEachOps_SetCurrentIndex(node, index) } + private static Prepare_serialize(node: KPointer): void { + ArkUIGeneratedNativeModule._LazyForEachOps_Prepare(node) + } } export class LazyForEachOpsInternal { public static fromPtr(ptr: KPointer): LazyForEachOps { diff --git a/arkoala-arkts/arkui/src/generated/ArkLine.ts b/arkoala-arkts/arkui/src/generated/ArkLine.ts index bfc659754..c2b002593 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLine.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLine.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -26,6 +26,7 @@ import { ArkCommonShapeMethodComponent } from "./ArkCommon" import { ArkLinePeer } from "./peers/ArkLinePeer" import { CommonShapeMethod } from "./ArkCommonInterfaces" import { LineAttribute, LineOptions } from "./ArkLineInterfaces" +import { Length } from "./ArkUnitsInterfaces" /** @memo:stable */ export class ArkLineComponent extends ArkCommonShapeMethodComponent { getPeer(): ArkLinePeer { @@ -41,18 +42,18 @@ export class ArkLineComponent extends ArkCommonShapeMethodComponent { return this } /** @memo */ - startPoint(value: Array): this { + startPoint(value: Array): this { if (this.checkPriority("startPoint")) { - const value_casted = value as (Array) + const value_casted = value as (Array) this.getPeer()?.startPointAttribute(value_casted) return this } return this } /** @memo */ - endPoint(value: Array): this { + endPoint(value: Array): this { if (this.checkPriority("endPoint")) { - const value_casted = value as (Array) + const value_casted = value as (Array) this.getPeer()?.endPointAttribute(value_casted) return this } diff --git a/arkoala-arkts/arkui/src/generated/ArkLineInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkLineInterfaces.ts index cb0fa7f70..74ee96d8e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLineInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLineInterfaces.ts @@ -2,12 +2,13 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { CommonShapeMethod } from "./ArkCommonInterfaces" +import { Length } from "./ArkUnitsInterfaces" export interface LineOptions { width?: string | number; height?: string | number; } export type LineInterface = (options?: LineOptions) => LineAttribute; export interface LineAttribute extends CommonShapeMethod { - startPoint: Array; - endPoint: Array; + startPoint: Array; + endPoint: Array; } \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkLinearIndicatorControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkLinearIndicatorControllerMaterialized.ts index 9844605ed..56c39ad2b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLinearIndicatorControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLinearIndicatorControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class LinearIndicatorController implements MaterializedBase,INTERFACE_LinearIndicatorController { - peer?: Finalizable +export class LinearIndicatorController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): LinearIndicatorController { - const objLinearIndicatorController : LinearIndicatorController = new LinearIndicatorController() - objLinearIndicatorController.peer = new Finalizable(ptr, LinearIndicatorController.getFinalizer()) - return objLinearIndicatorController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._LinearIndicatorController_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkLinearindicator.ts b/arkoala-arkts/arkui/src/generated/ArkLinearindicator.ts index 67d724c24..8c5465aed 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLinearindicator.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLinearindicator.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkList.ts b/arkoala-arkts/arkui/src/generated/ArkList.ts index 9ef97abd1..686f6b879 100644 --- a/arkoala-arkts/arkui/src/generated/ArkList.ts +++ b/arkoala-arkts/arkui/src/generated/ArkList.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -25,12 +25,12 @@ import { TypeChecker } from "#components" import { ArkScrollableCommonMethodComponent } from "./ArkCommon" import { ArkListPeer } from "./peers/ArkListPeer" import { UseEventsProperties } from "./use_properties" -import { ScrollableCommonMethod, NestedScrollOptions, ItemDragInfo, EdgeEffectOptions } from "./ArkCommonInterfaces" -import { ListAttribute, ListItemAlign, ListDividerOptions, ChainAnimationOptions, StickyStyle, ScrollSnapAlign, ScrollState, OnScrollVisibleContentChangeCallback, ListOptions } from "./ArkListInterfaces" +import { ScrollableCommonMethod, NestedScrollOptions, ItemDragInfo, CustomBuilder, EdgeEffectOptions } from "./ArkCommonInterfaces" +import { ListAttribute, ListItemAlign, ListDividerOptions, ChainAnimationOptions, StickyStyle, ScrollSnapAlign, OnScrollVisibleContentChangeCallback, ScrollState, ListOptions } from "./ArkListInterfaces" import { Axis, BarState, EdgeEffect } from "./ArkEnumsInterfaces" import { Resource } from "./ArkResourceInterfaces" import { ChildrenMainSize } from "./ArkChildrenMainSizeMaterialized" -import { Callback_Number_ScrollState_Void, Callback_Number_Number_Number_Void, Callback_Void, Callback_Number_Boolean, Callback_Number_Number_Boolean, Callback_ItemDragInfo_Number_Callback_Any, Callback_Any, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain } from "./SyntheticDeclarations" +import { Callback_Number_Number_Void, Callback_Number_Number_Number_Void, Callback_Void, Callback_Number_Boolean, Callback_Number_Number_Boolean, Callback_ItemDragInfo_Number_CustomBuilder, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain } from "./SyntheticDeclarations" import { LengthConstrain, Dimension } from "./ArkUnitsInterfaces" /** @memo:stable */ export class ArkListComponent extends ArkScrollableCommonMethodComponent { @@ -123,17 +123,17 @@ export class ArkListComponent extends ArkScrollableCommonMethodComponent { if (this.checkPriority("cachedCount")) { const count_type = runtimeType(count) const show_type = runtimeType(show) + if ((((RuntimeType.UNDEFINED == show_type)))) { + const value_casted = count as (number) + this.getPeer()?.cachedCount0Attribute(value_casted) + return this + } if ((((RuntimeType.BOOLEAN == show_type)))) { const count_casted = count as (number) const show_casted = show as (boolean) this.getPeer()?.cachedCount1Attribute(count_casted, show_casted) return this } - if ((((RuntimeType.UNDEFINED == show_type)))) { - const count_casted = count as (number) - this.getPeer()?.cachedCount0Attribute(count_casted) - return this - } throw new Error("Can not select appropriate overload") } return this @@ -220,9 +220,9 @@ export class ArkListComponent extends ArkScrollableCommonMethodComponent { return this } /** @memo */ - onScroll(value: ((scrollOffset: number,scrollState: ScrollState) => void)): this { + onScroll(value: ((first: number,last: number) => void)): this { if (this.checkPriority("onScroll")) { - const value_casted = value as (((scrollOffset: number,scrollState: ScrollState) => void)) + const value_casted = value as (((first: number,last: number) => void)) this.getPeer()?.onScrollAttribute(value_casted) return this } @@ -301,9 +301,9 @@ export class ArkListComponent extends ArkScrollableCommonMethodComponent { return this } /** @memo */ - onItemDragStart(value: ((event: ItemDragInfo,itemIndex: number) => (() => object))): this { + onItemDragStart(value: ((event: ItemDragInfo,itemIndex: number) => CustomBuilder)): this { if (this.checkPriority("onItemDragStart")) { - const value_casted = value as (((event: ItemDragInfo,itemIndex: number) => (() => object))) + const value_casted = value as (((event: ItemDragInfo,itemIndex: number) => CustomBuilder)) this.getPeer()?.onItemDragStartAttribute(value_casted) return this } diff --git a/arkoala-arkts/arkui/src/generated/ArkListInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkListInterfaces.ts index 578db7c41..1dd63119b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkListInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkListInterfaces.ts @@ -2,9 +2,9 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { Length, ResourceColor, LengthConstrain, Dimension } from "./ArkUnitsInterfaces" -import { Callback_Void, Callback_Number_ScrollState_Void, Callback_Number_Number_Number_Void, Callback_Number_Boolean, Callback_Number_Number_Boolean, Callback_ItemDragInfo_Number_Callback_Any, Callback_Any, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain } from "./SyntheticDeclarations" +import { Callback_Void, Callback_Number_Number_Void, Callback_Number_Number_Number_Void, Callback_Number_Boolean, Callback_Number_Number_Boolean, Callback_ItemDragInfo_Number_CustomBuilder, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain } from "./SyntheticDeclarations" import { Scroller } from "./ArkScrollerMaterialized" -import { ScrollableCommonMethod, NestedScrollOptions, ItemDragInfo, EdgeEffectOptions } from "./ArkCommonInterfaces" +import { ScrollableCommonMethod, NestedScrollOptions, ItemDragInfo, CustomBuilder, EdgeEffectOptions } from "./ArkCommonInterfaces" import { Axis, BarState, EdgeEffect } from "./ArkEnumsInterfaces" import { Resource } from "./ArkResourceInterfaces" import { ChildrenMainSize } from "./ArkChildrenMainSizeMaterialized" @@ -97,7 +97,7 @@ export interface ListAttribute extends ScrollableCommonMethod { friction: number | Resource; childrenMainSize: ChildrenMainSize; maintainVisibleContentPosition: boolean; - onScroll: ((scrollOffset: number,scrollState: ScrollState) => void); + onScroll: ((first: number,last: number) => void); onScrollIndex: ((start: number,end: number,center: number) => void); onScrollVisibleContentChange: OnScrollVisibleContentChangeCallback; onReachStart: (() => void); @@ -106,7 +106,7 @@ export interface ListAttribute extends ScrollableCommonMethod { onScrollStop: (() => void); onItemDelete: ((index: number) => boolean); onItemMove: ((from: number,to: number) => boolean); - onItemDragStart: ((event: ItemDragInfo,itemIndex: number) => (() => object)); + onItemDragStart: ((event: ItemDragInfo,itemIndex: number) => CustomBuilder); onItemDragEnter: ((event: ItemDragInfo) => void); onItemDragMove: ((event: ItemDragInfo,itemIndex: number,insertIndex: number) => void); onItemDragLeave: ((event: ItemDragInfo,itemIndex: number) => void); diff --git a/arkoala-arkts/arkui/src/generated/ArkListItem.ts b/arkoala-arkts/arkui/src/generated/ArkListItem.ts index c0269aba9..88a3fb14f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkListItem.ts +++ b/arkoala-arkts/arkui/src/generated/ArkListItem.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkListItemGroup.ts b/arkoala-arkts/arkui/src/generated/ArkListItemGroup.ts index cad2668ac..f16908b3b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkListItemGroup.ts +++ b/arkoala-arkts/arkui/src/generated/ArkListItemGroup.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkListScrollerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkListScrollerMaterialized.ts index 77d4403cd..8b947cccb 100644 --- a/arkoala-arkts/arkui/src/generated/ArkListScrollerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkListScrollerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,7 +16,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { Scroller } from "./ArkScrollerMaterialized" +import { Scroller, ScrollerInternal } from "./ArkScrollerMaterialized" import { RectResult } from "./ArkCommonInterfaces" import { ScrollAlign } from "./ArkScrollInterfaces" import { CloseSwipeActionOptions, VisibleListContentInfo } from "./ArkListInterfaces" @@ -52,16 +52,11 @@ import { } from "@koalaui/interop" -export class ListScroller extends Scroller implements MaterializedBase,INTERFACE_ListScroller { - peer?: Finalizable +export class ListScroller extends Scroller implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ListScroller { - const objListScroller : ListScroller = new ListScroller() - objListScroller.peer = new Finalizable(ptr, ListScroller.getFinalizer()) - return objListScroller - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._ListScroller_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkLoadingProgress.ts b/arkoala-arkts/arkui/src/generated/ArkLoadingProgress.ts index dea10acfa..fff5e4ab9 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLoadingProgress.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLoadingProgress.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkLocationButton.ts b/arkoala-arkts/arkui/src/generated/ArkLocationButton.ts index 09c846640..eaf238667 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLocationButton.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLocationButton.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -28,7 +28,7 @@ import { UseEventsProperties } from "./use_properties" import { SecurityComponentMethod } from "./ArkSecurityComponentInterfaces" import { LocationButtonAttribute, LocationButtonOnClickResult, LocationButtonOptions } from "./ArkLocationButtonInterfaces" import { Callback_ClickEvent_LocationButtonOnClickResult_Void } from "./SyntheticDeclarations" -import { ClickEvent } from "./ArkCommonInterfaces" +import { ClickEvent } from "./ArkClickEventMaterialized" /** @memo:stable */ export class ArkLocationButtonComponent extends ArkSecurityComponentMethodComponent { getPeer(): ArkLocationButtonPeer { @@ -38,15 +38,15 @@ export class ArkLocationButtonComponent extends ArkSecurityComponentMethodCompon setLocationButtonOptions(options?: LocationButtonOptions): this { if (this.checkPriority("setLocationButtonOptions")) { const options_type = runtimeType(options) + if ((((RuntimeType.UNDEFINED == options_type)))) { + this.getPeer()?.setLocationButtonOptions0Attribute() + return this + } if ((((RuntimeType.OBJECT == options_type)))) { const options_casted = options as (LocationButtonOptions) this.getPeer()?.setLocationButtonOptions1Attribute(options_casted) return this } - if ((((RuntimeType.UNDEFINED == options_type)))) { - this.getPeer()?.setLocationButtonOptions0Attribute() - return this - } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala-arkts/arkui/src/generated/ArkLocationButtonInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkLocationButtonInterfaces.ts index 8126f2040..00d90009c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLocationButtonInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLocationButtonInterfaces.ts @@ -4,7 +4,7 @@ import { NodeAttach, remember } from "@koalaui/runtime" import { ButtonType } from "./ArkButtonInterfaces" import { SecurityComponentMethod } from "./ArkSecurityComponentInterfaces" import { Callback_ClickEvent_LocationButtonOnClickResult_Void } from "./SyntheticDeclarations" -import { ClickEvent } from "./ArkCommonInterfaces" +import { ClickEvent } from "./ArkClickEventMaterialized" export enum LocationIconStyle { FULL_FILLED = 0, LINES = 1 diff --git a/arkoala-arkts/arkui/src/generated/ArkLongPressGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkLongPressGestureEventMaterialized.ts new file mode 100644 index 000000000..28dda9457 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkLongPressGestureEventMaterialized.ts @@ -0,0 +1,100 @@ +/* + * 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 { BaseGestureEvent, BaseGestureEventInternal } from "./ArkBaseGestureEventMaterialized" +import { INTERFACE_LongPressGestureEvent } from "./SyntheticDeclarations" +import { TypeChecker } from "#components" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { ArkUIGeneratedNativeModule } from "#components" +import { wrapCallback, NativeBuffer } from "@koalaui/interop" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export interface LongPressGestureEvent { + repeat: boolean +} +export class LongPressGestureEventInternal extends BaseGestureEventInternal implements MaterializedBase,LongPressGestureEvent { + peer?: Finalizable | undefined + get repeat(): boolean { + return this.getRepeat() + } + set repeat(repeat: boolean) { + this.setRepeat(repeat) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._LongPressGestureEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr : KPointer = LongPressGestureEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, LongPressGestureEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._LongPressGestureEvent_getFinalizer() + } + private getRepeat(): boolean { + return this.getRepeat_serialize() + } + private setRepeat(repeat: boolean): void { + const repeat_casted = repeat as (boolean) + this.setRepeat_serialize(repeat_casted) + return + } + private getRepeat_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._LongPressGestureEvent_getRepeat(this.peer!.ptr) + return retval + } + private setRepeat_serialize(repeat: boolean): void { + ArkUIGeneratedNativeModule._LongPressGestureEvent_setRepeat(this.peer!.ptr, repeat ? 1 : 0) + } + public static fromPtr(ptr: KPointer): LongPressGestureEventInternal { + const obj : LongPressGestureEventInternal = new LongPressGestureEventInternal() + obj.peer = new Finalizable(ptr, LongPressGestureEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkMarquee.ts b/arkoala-arkts/arkui/src/generated/ArkMarquee.ts index a7e651185..f1d4c03e3 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMarquee.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMarquee.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkMatrix2DMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkMatrix2DMaterialized.ts index 3f75c6a8a..a15958300 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMatrix2DMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMatrix2DMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,8 +49,8 @@ import { } from "@koalaui/interop" -export class Matrix2D implements MaterializedBase,INTERFACE_Matrix2D { - peer?: Finalizable +export class Matrix2D implements MaterializedBase { + peer?: Finalizable | undefined get scaleX(): number | undefined { return this.getScaleX() } @@ -96,11 +96,6 @@ export class Matrix2D implements MaterializedBase,INTERFACE_Matrix2D { getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): Matrix2D { - const objMatrix2D : Matrix2D = new Matrix2D() - objMatrix2D.peer = new Finalizable(ptr, Matrix2D.getFinalizer()) - return objMatrix2D - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._Matrix2D_ctor() return retval @@ -124,21 +119,21 @@ export class Matrix2D implements MaterializedBase,INTERFACE_Matrix2D { const other_casted = other as (Matrix2D | undefined) return this.multiply_serialize(other_casted) } - rotate(degree?: number | number | undefined, rx?: number, ry?: number): Matrix2D { + 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) } - if ((((RuntimeType.NUMBER == degree_type)) || ((RuntimeType.UNDEFINED == degree_type))) && (((RuntimeType.NUMBER == rx_type)) || ((RuntimeType.UNDEFINED == rx_type))) && (((RuntimeType.UNDEFINED == ry_type)))) { - const degree_casted = degree as (number | undefined) - const rx_casted = rx as (number | undefined) - return this.rotate0_serialize(degree_casted, rx_casted) - } throw new Error("Can not select appropriate overload") } translate(tx?: number, ty?: number): Matrix2D { @@ -201,11 +196,15 @@ export class Matrix2D implements MaterializedBase,INTERFACE_Matrix2D { } private identity_serialize(): Matrix2D { const retval = ArkUIGeneratedNativeModule._Matrix2D_identity(this.peer!.ptr) - return this + const obj : Matrix2D = new Matrix2D() + obj.peer = new Finalizable(retval, Matrix2D.getFinalizer()) + return obj } private invert_serialize(): Matrix2D { const retval = ArkUIGeneratedNativeModule._Matrix2D_invert(this.peer!.ptr) - return this + const obj : Matrix2D = new Matrix2D() + obj.peer = new Finalizable(retval, Matrix2D.getFinalizer()) + return obj } private multiply_serialize(other?: Matrix2D): Matrix2D { const thisSerializer : Serializer = Serializer.hold() @@ -218,7 +217,9 @@ export class Matrix2D implements MaterializedBase,INTERFACE_Matrix2D { } const retval = ArkUIGeneratedNativeModule._Matrix2D_multiply(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() - return this + const obj : Matrix2D = new Matrix2D() + obj.peer = new Finalizable(retval, Matrix2D.getFinalizer()) + return obj } private rotate0_serialize(rx?: number, ry?: number): Matrix2D { const thisSerializer : Serializer = Serializer.hold() @@ -238,7 +239,9 @@ export class Matrix2D implements MaterializedBase,INTERFACE_Matrix2D { } const retval = ArkUIGeneratedNativeModule._Matrix2D_rotate0(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() - return this + const obj : Matrix2D = new Matrix2D() + obj.peer = new Finalizable(retval, Matrix2D.getFinalizer()) + return obj } private rotate1_serialize(degree: number, rx?: number, ry?: number): Matrix2D { const thisSerializer : Serializer = Serializer.hold() @@ -258,7 +261,9 @@ export class Matrix2D implements MaterializedBase,INTERFACE_Matrix2D { } const retval = ArkUIGeneratedNativeModule._Matrix2D_rotate1(this.peer!.ptr, degree, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() - return this + const obj : Matrix2D = new Matrix2D() + obj.peer = new Finalizable(retval, Matrix2D.getFinalizer()) + return obj } private translate_serialize(tx?: number, ty?: number): Matrix2D { const thisSerializer : Serializer = Serializer.hold() @@ -278,7 +283,9 @@ export class Matrix2D implements MaterializedBase,INTERFACE_Matrix2D { } const retval = ArkUIGeneratedNativeModule._Matrix2D_translate(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() - return this + const obj : Matrix2D = new Matrix2D() + obj.peer = new Finalizable(retval, Matrix2D.getFinalizer()) + return obj } private scale_serialize(sx?: number, sy?: number): Matrix2D { const thisSerializer : Serializer = Serializer.hold() @@ -298,7 +305,9 @@ export class Matrix2D implements MaterializedBase,INTERFACE_Matrix2D { } const retval = ArkUIGeneratedNativeModule._Matrix2D_scale(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() - return this + const obj : Matrix2D = new Matrix2D() + obj.peer = new Finalizable(retval, Matrix2D.getFinalizer()) + return obj } private getScaleX_serialize(): number { const retval = ArkUIGeneratedNativeModule._Matrix2D_getScaleX(this.peer!.ptr) diff --git a/arkoala-arkts/arkui/src/generated/ArkMediaCachedImage.ts b/arkoala-arkts/arkui/src/generated/ArkMediaCachedImage.ts index b0c20fdb6..f883448a8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMediaCachedImage.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMediaCachedImage.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkMenu.ts b/arkoala-arkts/arkui/src/generated/ArkMenu.ts index d3e85b760..251e7a959 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMenu.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMenu.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkMenuItem.ts b/arkoala-arkts/arkui/src/generated/ArkMenuItem.ts index 5f4faeb8f..cc7e5e4e3 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMenuItem.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMenuItem.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkMenuItemGroup.ts b/arkoala-arkts/arkui/src/generated/ArkMenuItemGroup.ts index 9415717c5..89a0e51cd 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMenuItemGroup.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMenuItemGroup.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkMouseEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkMouseEventMaterialized.ts new file mode 100644 index 000000000..f0369f485 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkMouseEventMaterialized.ts @@ -0,0 +1,317 @@ +/* + * 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 { BaseEvent, BaseEventInternal } from "./ArkBaseEventMaterialized" +import { MouseButton, MouseAction } from "./ArkEnumsInterfaces" +import { Callback_Void, INTERFACE_MouseEvent } from "./SyntheticDeclarations" +import { TypeChecker } from "#components" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { ArkUIGeneratedNativeModule } from "#components" +import { wrapCallback, NativeBuffer } from "@koalaui/interop" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export interface MouseEvent { + button: MouseButton + action: MouseAction + 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 { + peer?: Finalizable | undefined + 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() + } + 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 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) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._MouseEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr : KPointer = MouseEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, MouseEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + 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() + } + 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 getScreenX(): number { + return this.getScreenX_serialize() + } + private setScreenX(screenX: number): void { + const screenX_casted = screenX as (number) + this.setScreenX_serialize(screenX_casted) + return + } + private getScreenY(): number { + return this.getScreenY_serialize() + } + private setScreenY(screenY: number): void { + const screenY_casted = screenY as (number) + this.setScreenY_serialize(screenY_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 setStopPropagation(stopPropagation: (() => void)): void { + const stopPropagation_casted = stopPropagation as ((() => void)) + this.setStopPropagation_serialize(stopPropagation_casted) + return + } + private getButton_serialize(): MouseButton { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getButton(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setButton_serialize(button: MouseButton): void { + ArkUIGeneratedNativeModule._MouseEvent_setButton(this.peer!.ptr, (button.valueOf() as int32)) + } + private getAction_serialize(): MouseAction { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getAction(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setAction_serialize(action: MouseAction): void { + ArkUIGeneratedNativeModule._MouseEvent_setAction(this.peer!.ptr, (action.valueOf() as int32)) + } + 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 getScreenX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getScreenX(this.peer!.ptr) + return retval + } + private setScreenX_serialize(screenX: number): void { + ArkUIGeneratedNativeModule._MouseEvent_setScreenX(this.peer!.ptr, screenX) + } + private getScreenY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getScreenY(this.peer!.ptr) + return retval + } + private setScreenY_serialize(screenY: number): void { + ArkUIGeneratedNativeModule._MouseEvent_setScreenY(this.peer!.ptr, screenY) + } + private getX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getX(this.peer!.ptr) + return retval + } + private setX_serialize(x: number): void { + ArkUIGeneratedNativeModule._MouseEvent_setX(this.peer!.ptr, x) + } + private getY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getY(this.peer!.ptr) + return retval + } + private setY_serialize(y: number): void { + ArkUIGeneratedNativeModule._MouseEvent_setY(this.peer!.ptr, y) + } + private setStopPropagation_serialize(stopPropagation: (() => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(stopPropagation) + ArkUIGeneratedNativeModule._MouseEvent_setStopPropagation(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + public static fromPtr(ptr: KPointer): MouseEventInternal { + const obj : MouseEventInternal = new MouseEventInternal() + obj.peer = new Finalizable(ptr, MouseEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkMutableStyledStringMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkMutableStyledStringMaterialized.ts index b275e441e..37e655385 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMutableStyledStringMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMutableStyledStringMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,7 +16,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { StyledString } from "./ArkStyledStringMaterialized" +import { StyledString, StyledStringInternal } from "./ArkStyledStringMaterialized" import { SpanStyle, StyledStringKey } from "./ArkStyledStringInterfaces" import { INTERFACE_MutableStyledString } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -50,22 +50,17 @@ import { } from "@koalaui/interop" -export class MutableStyledString extends StyledString implements MaterializedBase,INTERFACE_MutableStyledString { - peer?: Finalizable +export class MutableStyledString extends StyledString implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): MutableStyledString { - const objMutableStyledString : MutableStyledString = new MutableStyledString() - objMutableStyledString.peer = new Finalizable(ptr, MutableStyledString.getFinalizer()) - return objMutableStyledString - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._MutableStyledString_ctor() return retval } constructor() { - super() + super("") { const ctorPtr : KPointer = MutableStyledString.ctor() this.peer = new Finalizable(ctorPtr, MutableStyledString.getFinalizer()) diff --git a/arkoala-arkts/arkui/src/generated/ArkNavDestination.ts b/arkoala-arkts/arkui/src/generated/ArkNavDestination.ts index df131c41c..cc747c037 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavDestination.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavDestination.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -51,17 +51,17 @@ export class ArkNavDestinationComponent extends ArkCommonMethodComponent { if (this.checkPriority("hideTitleBar")) { const hide_type = runtimeType(hide) const animated_type = runtimeType(animated) + if ((((RuntimeType.UNDEFINED == animated_type)))) { + const value_casted = hide as (boolean) + this.getPeer()?.hideTitleBar0Attribute(value_casted) + return this + } if ((((RuntimeType.BOOLEAN == animated_type)))) { const hide_casted = hide as (boolean) const animated_casted = animated as (boolean) this.getPeer()?.hideTitleBar1Attribute(hide_casted, animated_casted) return this } - if ((((RuntimeType.UNDEFINED == animated_type)))) { - const hide_casted = hide as (boolean) - this.getPeer()?.hideTitleBar0Attribute(hide_casted) - return this - } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala-arkts/arkui/src/generated/ArkNavDestinationContextMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkNavDestinationContextMaterialized.ts index f10584e2f..3e84f06bb 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavDestinationContextMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavDestinationContextMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -17,7 +17,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { NavPathInfo } from "./ArkNavigationInterfaces" -import { NavPathStack } from "./ArkNavPathStackMaterialized" +import { NavPathStack, NavPathStackInternal } from "./ArkNavPathStackMaterialized" import { RouteMapConfig } from "./ArkNavDestinationInterfaces" import { INTERFACE_NavDestinationContext } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -51,8 +51,14 @@ import { } from "@koalaui/interop" -export class NavDestinationContext implements MaterializedBase,INTERFACE_NavDestinationContext { - peer?: Finalizable +export interface NavDestinationContext { + pathInfo: NavPathInfo + pathStack: NavPathStack + navDestinationId?: string + getConfigInRouteMap(): RouteMapConfig | undefined +} +export class NavDestinationContextInternal implements MaterializedBase,NavDestinationContext { + peer?: Finalizable | undefined get pathInfo(): NavPathInfo { throw new Error("Not implemented") } @@ -75,19 +81,14 @@ export class NavDestinationContext implements MaterializedBase,INTERFACE_NavDest getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): NavDestinationContext { - const objNavDestinationContext : NavDestinationContext = new NavDestinationContext() - objNavDestinationContext.peer = new Finalizable(ptr, NavDestinationContext.getFinalizer()) - return objNavDestinationContext - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._NavDestinationContext_ctor() return retval } constructor() { { - const ctorPtr : KPointer = NavDestinationContext.ctor() - this.peer = new Finalizable(ctorPtr, NavDestinationContext.getFinalizer()) + const ctorPtr : KPointer = NavDestinationContextInternal.ctor() + this.peer = new Finalizable(ctorPtr, NavDestinationContextInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -137,11 +138,9 @@ export class NavDestinationContext implements MaterializedBase,INTERFACE_NavDest private setNavDestinationId_serialize(navDestinationId: string): void { ArkUIGeneratedNativeModule._NavDestinationContext_setNavDestinationId(this.peer!.ptr, navDestinationId) } -} -export class NavDestinationContextInternal { - public static fromPtr(ptr: KPointer): NavDestinationContext { - const obj : NavDestinationContext = new NavDestinationContext() - obj.peer = new Finalizable(ptr, NavDestinationContext.getFinalizer()) + public static fromPtr(ptr: KPointer): NavDestinationContextInternal { + const obj : NavDestinationContextInternal = new NavDestinationContextInternal() + obj.peer = new Finalizable(ptr, NavDestinationContextInternal.getFinalizer()) return obj } } diff --git a/arkoala-arkts/arkui/src/generated/ArkNavRouter.ts b/arkoala-arkts/arkui/src/generated/ArkNavRouter.ts index 19df539a4..1b247563b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavRouter.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavRouter.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -37,15 +37,15 @@ export class ArkNavRouterComponent extends ArkCommonMethodComponent { setNavRouterOptions(value?: RouteInfo): this { if (this.checkPriority("setNavRouterOptions")) { const value_type = runtimeType(value) + if ((((RuntimeType.UNDEFINED == value_type)))) { + this.getPeer()?.setNavRouterOptions0Attribute() + return this + } if ((((RuntimeType.OBJECT == value_type)))) { const value_casted = value as (RouteInfo) this.getPeer()?.setNavRouterOptions1Attribute(value_casted) return this } - if ((((RuntimeType.UNDEFINED == value_type)))) { - this.getPeer()?.setNavRouterOptions0Attribute() - return this - } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala-arkts/arkui/src/generated/ArkNavigationTransitionProxyMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkNavigationTransitionProxyMaterialized.ts index 2974b2dee..0174016b6 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavigationTransitionProxyMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavigationTransitionProxyMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,8 +49,16 @@ import { } from "@koalaui/interop" -export class NavigationTransitionProxy implements MaterializedBase,INTERFACE_NavigationTransitionProxy { - peer?: Finalizable +export interface NavigationTransitionProxy { + from: NavContentInfo + to: NavContentInfo + isInteractive?: boolean + finishTransition(): void + cancelTransition(): void + updateTransition(progress: number): void +} +export class NavigationTransitionProxyInternal implements MaterializedBase,NavigationTransitionProxy { + peer?: Finalizable | undefined get from(): NavContentInfo { throw new Error("Not implemented") } @@ -73,19 +81,14 @@ export class NavigationTransitionProxy implements MaterializedBase,INTERFACE_Nav getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): NavigationTransitionProxy { - const objNavigationTransitionProxy : NavigationTransitionProxy = new NavigationTransitionProxy() - objNavigationTransitionProxy.peer = new Finalizable(ptr, NavigationTransitionProxy.getFinalizer()) - return objNavigationTransitionProxy - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._NavigationTransitionProxy_ctor() return retval } constructor() { { - const ctorPtr : KPointer = NavigationTransitionProxy.ctor() - this.peer = new Finalizable(ctorPtr, NavigationTransitionProxy.getFinalizer()) + const ctorPtr : KPointer = NavigationTransitionProxyInternal.ctor() + this.peer = new Finalizable(ctorPtr, NavigationTransitionProxyInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -150,11 +153,9 @@ export class NavigationTransitionProxy implements MaterializedBase,INTERFACE_Nav private setIsInteractive_serialize(isInteractive: boolean): void { ArkUIGeneratedNativeModule._NavigationTransitionProxy_setIsInteractive(this.peer!.ptr, isInteractive ? 1 : 0) } -} -export class NavigationTransitionProxyInternal { - public static fromPtr(ptr: KPointer): NavigationTransitionProxy { - const obj : NavigationTransitionProxy = new NavigationTransitionProxy() - obj.peer = new Finalizable(ptr, NavigationTransitionProxy.getFinalizer()) + public static fromPtr(ptr: KPointer): NavigationTransitionProxyInternal { + const obj : NavigationTransitionProxyInternal = new NavigationTransitionProxyInternal() + obj.peer = new Finalizable(ptr, NavigationTransitionProxyInternal.getFinalizer()) return obj } } diff --git a/arkoala-arkts/arkui/src/generated/ArkNavigator.ts b/arkoala-arkts/arkui/src/generated/ArkNavigator.ts index 1df28f359..583d51da7 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavigator.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavigator.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -36,15 +36,15 @@ export class ArkNavigatorComponent extends ArkCommonMethodComponent { setNavigatorOptions(value?: Literal_String_target_NavigationType_type): this { if (this.checkPriority("setNavigatorOptions")) { const value_type = runtimeType(value) + if ((((RuntimeType.UNDEFINED == value_type)))) { + this.getPeer()?.setNavigatorOptions1Attribute() + return this + } if ((((RuntimeType.OBJECT == value_type)) || ((RuntimeType.UNDEFINED == value_type)))) { const value_casted = value as (Literal_String_target_NavigationType_type | undefined) this.getPeer()?.setNavigatorOptions0Attribute(value_casted) return this } - if ((((RuntimeType.UNDEFINED == value_type)))) { - this.getPeer()?.setNavigatorOptions1Attribute() - return this - } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala-arkts/arkui/src/generated/ArkNodeContainer.ts b/arkoala-arkts/arkui/src/generated/ArkNodeContainer.ts index 0b3717c97..2c4267fa5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNodeContainer.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNodeContainer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkPanGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPanGestureEventMaterialized.ts new file mode 100644 index 000000000..0360d8cad --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkPanGestureEventMaterialized.ts @@ -0,0 +1,188 @@ +/* + * 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 { BaseGestureEvent, BaseGestureEventInternal } from "./ArkBaseGestureEventMaterialized" +import { INTERFACE_PanGestureEvent } from "./SyntheticDeclarations" +import { TypeChecker } from "#components" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { ArkUIGeneratedNativeModule } from "#components" +import { wrapCallback, NativeBuffer } from "@koalaui/interop" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export interface PanGestureEvent { + offsetX: number + offsetY: number + velocityX: number + velocityY: number + velocity: number +} +export class PanGestureEventInternal extends BaseGestureEventInternal implements MaterializedBase,PanGestureEvent { + peer?: Finalizable | undefined + get offsetX(): number { + return this.getOffsetX() + } + set offsetX(offsetX: number) { + this.setOffsetX(offsetX) + } + get offsetY(): number { + return this.getOffsetY() + } + set offsetY(offsetY: number) { + this.setOffsetY(offsetY) + } + get velocityX(): number { + return this.getVelocityX() + } + set velocityX(velocityX: number) { + this.setVelocityX(velocityX) + } + get velocityY(): number { + return this.getVelocityY() + } + set velocityY(velocityY: number) { + this.setVelocityY(velocityY) + } + get velocity(): number { + return this.getVelocity() + } + set velocity(velocity: number) { + this.setVelocity(velocity) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._PanGestureEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr : KPointer = PanGestureEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, PanGestureEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._PanGestureEvent_getFinalizer() + } + private getOffsetX(): number { + return this.getOffsetX_serialize() + } + private setOffsetX(offsetX: number): void { + const offsetX_casted = offsetX as (number) + this.setOffsetX_serialize(offsetX_casted) + return + } + private getOffsetY(): number { + return this.getOffsetY_serialize() + } + private setOffsetY(offsetY: number): void { + const offsetY_casted = offsetY as (number) + this.setOffsetY_serialize(offsetY_casted) + return + } + private getVelocityX(): number { + return this.getVelocityX_serialize() + } + private setVelocityX(velocityX: number): void { + const velocityX_casted = velocityX as (number) + this.setVelocityX_serialize(velocityX_casted) + return + } + private getVelocityY(): number { + return this.getVelocityY_serialize() + } + private setVelocityY(velocityY: number): void { + const velocityY_casted = velocityY as (number) + this.setVelocityY_serialize(velocityY_casted) + return + } + private getVelocity(): number { + return this.getVelocity_serialize() + } + private setVelocity(velocity: number): void { + const velocity_casted = velocity as (number) + this.setVelocity_serialize(velocity_casted) + return + } + private getOffsetX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._PanGestureEvent_getOffsetX(this.peer!.ptr) + return retval + } + private setOffsetX_serialize(offsetX: number): void { + ArkUIGeneratedNativeModule._PanGestureEvent_setOffsetX(this.peer!.ptr, offsetX) + } + private getOffsetY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._PanGestureEvent_getOffsetY(this.peer!.ptr) + return retval + } + private setOffsetY_serialize(offsetY: number): void { + ArkUIGeneratedNativeModule._PanGestureEvent_setOffsetY(this.peer!.ptr, offsetY) + } + private getVelocityX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._PanGestureEvent_getVelocityX(this.peer!.ptr) + return retval + } + private setVelocityX_serialize(velocityX: number): void { + ArkUIGeneratedNativeModule._PanGestureEvent_setVelocityX(this.peer!.ptr, velocityX) + } + private getVelocityY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._PanGestureEvent_getVelocityY(this.peer!.ptr) + return retval + } + private setVelocityY_serialize(velocityY: number): void { + ArkUIGeneratedNativeModule._PanGestureEvent_setVelocityY(this.peer!.ptr, velocityY) + } + private getVelocity_serialize(): number { + const retval = ArkUIGeneratedNativeModule._PanGestureEvent_getVelocity(this.peer!.ptr) + return retval + } + private setVelocity_serialize(velocity: number): void { + ArkUIGeneratedNativeModule._PanGestureEvent_setVelocity(this.peer!.ptr, velocity) + } + public static fromPtr(ptr: KPointer): PanGestureEventInternal { + const obj : PanGestureEventInternal = new PanGestureEventInternal() + obj.peer = new Finalizable(ptr, PanGestureEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkPanGestureOptionsMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPanGestureOptionsMaterialized.ts index 237064c8c..4bfba2ca1 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPanGestureOptionsMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPanGestureOptionsMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class PanGestureOptions implements MaterializedBase,INTERFACE_PanGestureOptions { - peer?: Finalizable +export class PanGestureOptions implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): PanGestureOptions { - const objPanGestureOptions : PanGestureOptions = new PanGestureOptions() - objPanGestureOptions.peer = new Finalizable(ptr, PanGestureOptions.getFinalizer()) - return objPanGestureOptions - } static ctor(value?: Literal_Number_distance_fingers_PanDirection_direction): KPointer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED diff --git a/arkoala-arkts/arkui/src/generated/ArkPanRecognizerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPanRecognizerMaterialized.ts index 3ef23af1e..ed6a1b650 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPanRecognizerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPanRecognizerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,8 +16,8 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { GestureRecognizer } from "./ArkGestureRecognizerMaterialized" -import { PanGestureOptions } from "./ArkPanGestureOptionsMaterialized" +import { GestureRecognizer, GestureRecognizerInternal } from "./ArkGestureRecognizerMaterialized" +import { PanGestureOptions, PanGestureOptionsInternal } from "./ArkPanGestureOptionsMaterialized" import { INTERFACE_PanRecognizer } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -50,16 +50,11 @@ import { } from "@koalaui/interop" -export class PanRecognizer extends GestureRecognizer implements MaterializedBase,INTERFACE_PanRecognizer { - peer?: Finalizable +export class PanRecognizer extends GestureRecognizer implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): PanRecognizer { - const objPanRecognizer : PanRecognizer = new PanRecognizer() - objPanRecognizer.peer = new Finalizable(ptr, PanRecognizer.getFinalizer()) - return objPanRecognizer - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._PanRecognizer_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkPanel.ts b/arkoala-arkts/arkui/src/generated/ArkPanel.ts index 938a2b701..8c29ed497 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPanel.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPanel.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkPasteButton.ts b/arkoala-arkts/arkui/src/generated/ArkPasteButton.ts index 783d23159..91f63e1bb 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPasteButton.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPasteButton.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -28,7 +28,7 @@ import { UseEventsProperties } from "./use_properties" import { SecurityComponentMethod } from "./ArkSecurityComponentInterfaces" import { PasteButtonAttribute, PasteButtonOnClickResult, PasteButtonOptions } from "./ArkPasteButtonInterfaces" import { Callback_ClickEvent_PasteButtonOnClickResult_Void } from "./SyntheticDeclarations" -import { ClickEvent } from "./ArkCommonInterfaces" +import { ClickEvent } from "./ArkClickEventMaterialized" /** @memo:stable */ export class ArkPasteButtonComponent extends ArkSecurityComponentMethodComponent { getPeer(): ArkPasteButtonPeer { @@ -38,15 +38,15 @@ export class ArkPasteButtonComponent extends ArkSecurityComponentMethodComponent setPasteButtonOptions(options?: PasteButtonOptions): this { if (this.checkPriority("setPasteButtonOptions")) { const options_type = runtimeType(options) + if ((((RuntimeType.UNDEFINED == options_type)))) { + this.getPeer()?.setPasteButtonOptions0Attribute() + return this + } if ((((RuntimeType.OBJECT == options_type)))) { const options_casted = options as (PasteButtonOptions) this.getPeer()?.setPasteButtonOptions1Attribute(options_casted) return this } - if ((((RuntimeType.UNDEFINED == options_type)))) { - this.getPeer()?.setPasteButtonOptions0Attribute() - return this - } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala-arkts/arkui/src/generated/ArkPasteButtonInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkPasteButtonInterfaces.ts index 394e6f953..c5ff4da99 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPasteButtonInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPasteButtonInterfaces.ts @@ -4,7 +4,7 @@ import { NodeAttach, remember } from "@koalaui/runtime" import { ButtonType } from "./ArkButtonInterfaces" import { SecurityComponentMethod } from "./ArkSecurityComponentInterfaces" import { Callback_ClickEvent_PasteButtonOnClickResult_Void } from "./SyntheticDeclarations" -import { ClickEvent } from "./ArkCommonInterfaces" +import { ClickEvent } from "./ArkClickEventMaterialized" export enum PasteIconStyle { LINES = 0 } diff --git a/arkoala-arkts/arkui/src/generated/ArkPath.ts b/arkoala-arkts/arkui/src/generated/ArkPath.ts index 9d4ae2280..0d646cd0c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPath.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPath.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkPath2DMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPath2DMaterialized.ts index d4c777539..a94ff5657 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPath2DMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPath2DMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,9 +16,9 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { CanvasPath } from "./ArkCanvasPathMaterialized" +import { CanvasPath, CanvasPathInternal } from "./ArkCanvasPathMaterialized" import { LengthMetricsUnit } from "./ArkUnitsInterfaces" -import { Matrix2D } from "./ArkMatrix2DMaterialized" +import { Matrix2D, Matrix2DInternal } from "./ArkMatrix2DMaterialized" import { INTERFACE_Path2D } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -51,16 +51,11 @@ import { } from "@koalaui/interop" -export class Path2D extends CanvasPath implements MaterializedBase,INTERFACE_Path2D { - peer?: Finalizable +export class Path2D extends CanvasPath implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): Path2D { - const objPath2D : Path2D = new Path2D() - objPath2D.peer = new Finalizable(ptr, Path2D.getFinalizer()) - return objPath2D - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._Path2D_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkPatternLock.ts b/arkoala-arkts/arkui/src/generated/ArkPatternLock.ts index e402f8619..58ef4db87 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPatternLock.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPatternLock.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkPatternLockControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPatternLockControllerMaterialized.ts index b31a48cd6..78b727b82 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPatternLockControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPatternLockControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class PatternLockController implements MaterializedBase,INTERFACE_PatternLockController { - peer?: Finalizable +export class PatternLockController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): PatternLockController { - const objPatternLockController : PatternLockController = new PatternLockController() - objPatternLockController.peer = new Finalizable(ptr, PatternLockController.getFinalizer()) - return objPatternLockController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._PatternLockController_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkPermissionRequestMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPermissionRequestMaterialized.ts index e7cf1fef9..180e25fe4 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPermissionRequestMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPermissionRequestMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class PermissionRequest implements MaterializedBase,INTERFACE_PermissionRequest { - peer?: Finalizable +export class PermissionRequest implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): PermissionRequest { - const objPermissionRequest : PermissionRequest = new PermissionRequest() - objPermissionRequest.peer = new Finalizable(ptr, PermissionRequest.getFinalizer()) - return objPermissionRequest - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._PermissionRequest_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkPinchGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPinchGestureEventMaterialized.ts new file mode 100644 index 000000000..69f1c1a82 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkPinchGestureEventMaterialized.ts @@ -0,0 +1,144 @@ +/* + * 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 { BaseGestureEvent, BaseGestureEventInternal } from "./ArkBaseGestureEventMaterialized" +import { INTERFACE_PinchGestureEvent } from "./SyntheticDeclarations" +import { TypeChecker } from "#components" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { ArkUIGeneratedNativeModule } from "#components" +import { wrapCallback, NativeBuffer } from "@koalaui/interop" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export interface PinchGestureEvent { + scale: number + pinchCenterX: number + pinchCenterY: number +} +export class PinchGestureEventInternal extends BaseGestureEventInternal implements MaterializedBase,PinchGestureEvent { + peer?: Finalizable | undefined + get scale(): number { + return this.getScale() + } + set scale(scale: number) { + this.setScale(scale) + } + get pinchCenterX(): number { + return this.getPinchCenterX() + } + set pinchCenterX(pinchCenterX: number) { + this.setPinchCenterX(pinchCenterX) + } + get pinchCenterY(): number { + return this.getPinchCenterY() + } + set pinchCenterY(pinchCenterY: number) { + this.setPinchCenterY(pinchCenterY) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._PinchGestureEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr : KPointer = PinchGestureEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, PinchGestureEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._PinchGestureEvent_getFinalizer() + } + private getScale(): number { + return this.getScale_serialize() + } + private setScale(scale: number): void { + const scale_casted = scale as (number) + this.setScale_serialize(scale_casted) + return + } + private getPinchCenterX(): number { + return this.getPinchCenterX_serialize() + } + private setPinchCenterX(pinchCenterX: number): void { + const pinchCenterX_casted = pinchCenterX as (number) + this.setPinchCenterX_serialize(pinchCenterX_casted) + return + } + private getPinchCenterY(): number { + return this.getPinchCenterY_serialize() + } + private setPinchCenterY(pinchCenterY: number): void { + const pinchCenterY_casted = pinchCenterY as (number) + this.setPinchCenterY_serialize(pinchCenterY_casted) + return + } + private getScale_serialize(): number { + const retval = ArkUIGeneratedNativeModule._PinchGestureEvent_getScale(this.peer!.ptr) + return retval + } + private setScale_serialize(scale: number): void { + ArkUIGeneratedNativeModule._PinchGestureEvent_setScale(this.peer!.ptr, scale) + } + private getPinchCenterX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._PinchGestureEvent_getPinchCenterX(this.peer!.ptr) + return retval + } + private setPinchCenterX_serialize(pinchCenterX: number): void { + ArkUIGeneratedNativeModule._PinchGestureEvent_setPinchCenterX(this.peer!.ptr, pinchCenterX) + } + private getPinchCenterY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._PinchGestureEvent_getPinchCenterY(this.peer!.ptr) + return retval + } + private setPinchCenterY_serialize(pinchCenterY: number): void { + ArkUIGeneratedNativeModule._PinchGestureEvent_setPinchCenterY(this.peer!.ptr, pinchCenterY) + } + public static fromPtr(ptr: KPointer): PinchGestureEventInternal { + const obj : PinchGestureEventInternal = new PinchGestureEventInternal() + obj.peer = new Finalizable(ptr, PinchGestureEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkPixelMapMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPixelMapMaterialized.ts index c178bcb37..eaddf6067 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPixelMapMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPixelMapMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,8 +48,14 @@ import { } from "@koalaui/interop" -export class PixelMap implements MaterializedBase,INTERFACE_PixelMap { - peer?: Finalizable +export interface PixelMap { + isEditable: int32 + isStrideAlignment: int32 + readPixelsToBufferSync(dst: NativeBuffer): void + writeBufferToPixels(src: NativeBuffer): void +} +export class PixelMapInternal implements MaterializedBase,PixelMap { + peer?: Finalizable | undefined get isEditable(): int32 { return this.getIsEditable() } @@ -65,19 +71,14 @@ export class PixelMap implements MaterializedBase,INTERFACE_PixelMap { getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): PixelMap { - const objPixelMap : PixelMap = new PixelMap() - objPixelMap.peer = new Finalizable(ptr, PixelMap.getFinalizer()) - return objPixelMap - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._PixelMap_ctor() return retval } constructor() { { - const ctorPtr : KPointer = PixelMap.ctor() - this.peer = new Finalizable(ctorPtr, PixelMap.getFinalizer()) + const ctorPtr : KPointer = PixelMapInternal.ctor() + this.peer = new Finalizable(ctorPtr, PixelMapInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -135,11 +136,9 @@ export class PixelMap implements MaterializedBase,INTERFACE_PixelMap { private setIsStrideAlignment_serialize(isStrideAlignment: int32): void { ArkUIGeneratedNativeModule._PixelMap_setIsStrideAlignment(this.peer!.ptr, isStrideAlignment) } -} -export class PixelMapInternal { - public static fromPtr(ptr: KPointer): PixelMap { - const obj : PixelMap = new PixelMap() - obj.peer = new Finalizable(ptr, PixelMap.getFinalizer()) + public static fromPtr(ptr: KPointer): PixelMapInternal { + const obj : PixelMapInternal = new PixelMapInternal() + obj.peer = new Finalizable(ptr, PixelMapInternal.getFinalizer()) return obj } } diff --git a/arkoala-arkts/arkui/src/generated/ArkPixelMapMockMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPixelMapMockMaterialized.ts index 553fc7802..41703a3df 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPixelMapMockMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPixelMapMockMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,24 +48,22 @@ import { } from "@koalaui/interop" -export class PixelMapMock implements MaterializedBase,INTERFACE_PixelMapMock { - peer?: Finalizable +export interface PixelMapMock { + release(): void +} +export class PixelMapMockInternal implements MaterializedBase,PixelMapMock { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): PixelMapMock { - const objPixelMapMock : PixelMapMock = new PixelMapMock() - objPixelMapMock.peer = new Finalizable(ptr, PixelMapMock.getFinalizer()) - return objPixelMapMock - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._PixelMapMock_ctor() return retval } constructor() { { - const ctorPtr : KPointer = PixelMapMock.ctor() - this.peer = new Finalizable(ctorPtr, PixelMapMock.getFinalizer()) + const ctorPtr : KPointer = PixelMapMockInternal.ctor() + this.peer = new Finalizable(ctorPtr, PixelMapMockInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -78,11 +76,9 @@ export class PixelMapMock implements MaterializedBase,INTERFACE_PixelMapMock { private release_serialize(): void { ArkUIGeneratedNativeModule._PixelMapMock_release(this.peer!.ptr) } -} -export class PixelMapMockInternal { - public static fromPtr(ptr: KPointer): PixelMapMock { - const obj : PixelMapMock = new PixelMapMock() - obj.peer = new Finalizable(ptr, PixelMapMock.getFinalizer()) + public static fromPtr(ptr: KPointer): PixelMapMockInternal { + const obj : PixelMapMockInternal = new PixelMapMockInternal() + obj.peer = new Finalizable(ptr, PixelMapMockInternal.getFinalizer()) return obj } } diff --git a/arkoala-arkts/arkui/src/generated/ArkPluginComponent.ts b/arkoala-arkts/arkui/src/generated/ArkPluginComponent.ts index c0a7269a1..44e5ce44d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPluginComponent.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPluginComponent.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkPluginComponentInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkPluginComponentInterfaces.ts index 8b3bd5e2f..b819a1e30 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPluginComponentInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPluginComponentInterfaces.ts @@ -9,7 +9,7 @@ export interface PluginComponentTemplate { } export interface PluginComponentOptions { template: PluginComponentTemplate; - data: object; + data: string; } export interface PluginErrorData { errcode: number; diff --git a/arkoala-arkts/arkui/src/generated/ArkPointInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkPointInterfaces.ts new file mode 100644 index 000000000..feca1b8c2 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkPointInterfaces.ts @@ -0,0 +1,7 @@ +import { int32, int64, float32 } from "@koalaui/common" +import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { NodeAttach, remember } from "@koalaui/runtime" +export interface Point { + x: number; + y: number; +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkPolygon.ts b/arkoala-arkts/arkui/src/generated/ArkPolygon.ts index 76abc4823..45cab3934 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPolygon.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPolygon.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -26,6 +26,7 @@ import { ArkCommonShapeMethodComponent } from "./ArkCommon" import { ArkPolygonPeer } from "./peers/ArkPolygonPeer" import { CommonShapeMethod } from "./ArkCommonInterfaces" import { PolygonAttribute, PolygonOptions } from "./ArkPolygonInterfaces" +import { Point } from "./ArkPointInterfaces" /** @memo:stable */ export class ArkPolygonComponent extends ArkCommonShapeMethodComponent { getPeer(): ArkPolygonPeer { @@ -41,9 +42,9 @@ export class ArkPolygonComponent extends ArkCommonShapeMethodComponent { return this } /** @memo */ - points(value: Array): this { + points(value: Array): this { if (this.checkPriority("points")) { - const value_casted = value as (Array) + const value_casted = value as (Array) this.getPeer()?.pointsAttribute(value_casted) return this } diff --git a/arkoala-arkts/arkui/src/generated/ArkPolygonInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkPolygonInterfaces.ts index a9e943a40..007502dbe 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPolygonInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPolygonInterfaces.ts @@ -2,11 +2,12 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { CommonShapeMethod } from "./ArkCommonInterfaces" +import { Point } from "./ArkPointInterfaces" export interface PolygonOptions { width?: string | number; height?: string | number; } export type PolygonInterface = (options?: PolygonOptions) => PolygonAttribute; export interface PolygonAttribute extends CommonShapeMethod { - points: Array; + points: Array; } \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkPolyline.ts b/arkoala-arkts/arkui/src/generated/ArkPolyline.ts index 6deb02266..3330bb7ce 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPolyline.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPolyline.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -26,6 +26,7 @@ import { ArkCommonShapeMethodComponent } from "./ArkCommon" import { ArkPolylinePeer } from "./peers/ArkPolylinePeer" import { CommonShapeMethod } from "./ArkCommonInterfaces" import { PolylineAttribute, PolylineOptions } from "./ArkPolylineInterfaces" +import { Point } from "./ArkPointInterfaces" /** @memo:stable */ export class ArkPolylineComponent extends ArkCommonShapeMethodComponent { getPeer(): ArkPolylinePeer { @@ -41,9 +42,9 @@ export class ArkPolylineComponent extends ArkCommonShapeMethodComponent { return this } /** @memo */ - points(value: Array): this { + points(value: Array): this { if (this.checkPriority("points")) { - const value_casted = value as (Array) + const value_casted = value as (Array) this.getPeer()?.pointsAttribute(value_casted) return this } diff --git a/arkoala-arkts/arkui/src/generated/ArkPolylineInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkPolylineInterfaces.ts index 504dd697d..6c5dbc4c3 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPolylineInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPolylineInterfaces.ts @@ -2,11 +2,12 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { CommonShapeMethod } from "./ArkCommonInterfaces" +import { Point } from "./ArkPointInterfaces" export interface PolylineOptions { width?: string | number; height?: string | number; } export type PolylineInterface = (options?: PolylineOptions) => PolylineAttribute; export interface PolylineAttribute extends CommonShapeMethod { - points: Array; + points: Array; } \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkProgress.ts b/arkoala-arkts/arkui/src/generated/ArkProgress.ts index da0a3bab6..65bba2f45 100644 --- a/arkoala-arkts/arkui/src/generated/ArkProgress.ts +++ b/arkoala-arkts/arkui/src/generated/ArkProgress.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkProgressMaskMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkProgressMaskMaterialized.ts index 0cb29afd6..647ef74b9 100644 --- a/arkoala-arkts/arkui/src/generated/ArkProgressMaskMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkProgressMaskMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -51,16 +51,11 @@ import { } from "@koalaui/interop" -export class ProgressMask implements MaterializedBase,INTERFACE_ProgressMask { - peer?: Finalizable +export class ProgressMask implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ProgressMask { - const objProgressMask : ProgressMask = new ProgressMask() - objProgressMask.peer = new Finalizable(ptr, ProgressMask.getFinalizer()) - return objProgressMask - } static ctor(value: number, total: number, color: ResourceColor): KPointer { const thisSerializer : Serializer = Serializer.hold() let color_type : int32 = RuntimeType.UNDEFINED diff --git a/arkoala-arkts/arkui/src/generated/ArkQrcode.ts b/arkoala-arkts/arkui/src/generated/ArkQrcode.ts index 28c59e3ad..dfc4c528a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkQrcode.ts +++ b/arkoala-arkts/arkui/src/generated/ArkQrcode.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkRadio.ts b/arkoala-arkts/arkui/src/generated/ArkRadio.ts index 7a4006f24..c21835255 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRadio.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRadio.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkRating.ts b/arkoala-arkts/arkui/src/generated/ArkRating.ts index 1c38f8ec2..8b7305452 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRating.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRating.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkRect.ts b/arkoala-arkts/arkui/src/generated/ArkRect.ts index 3bcee5a8b..fefb94123 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRect.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRect.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -59,9 +59,9 @@ export class ArkRectComponent extends ArkCommonShapeMethodComponent { return this } /** @memo */ - radius(value: number | string | Array): this { + radius(value: number | string | Array): this { if (this.checkPriority("radius")) { - const value_casted = value as (number | string | Array) + const value_casted = value as (number | string | Array) this.getPeer()?.radiusAttribute(value_casted) return this } diff --git a/arkoala-arkts/arkui/src/generated/ArkRectInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkRectInterfaces.ts index 3f3af94dc..2bd0aebda 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRectInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRectInterfaces.ts @@ -5,7 +5,7 @@ import { CommonShapeMethod } from "./ArkCommonInterfaces" export interface RectOptions { width?: number | string; height?: number | string; - radius?: number | string | Array; + radius?: number | string | Array; } export interface RoundedRectOptions { width?: number | string; @@ -17,5 +17,5 @@ export type RectInterface = (options?: RectOptions | RoundedRectOptions) => Rect export interface RectAttribute extends CommonShapeMethod { radiusWidth: number | string; radiusHeight: number | string; - radius: number | string | Array; + radius: number | string | Array; } \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkRefresh.ts b/arkoala-arkts/arkui/src/generated/ArkRefresh.ts index a0f2f6d7a..dd4a82e19 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRefresh.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRefresh.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkRelativeContainer.ts b/arkoala-arkts/arkui/src/generated/ArkRelativeContainer.ts index 3703d4bfd..8cb9266cf 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRelativeContainer.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRelativeContainer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkRemoteWindow.ts b/arkoala-arkts/arkui/src/generated/ArkRemoteWindow.ts index c51d6ccf3..a988cca52 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRemoteWindow.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRemoteWindow.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkRichEditor.ts b/arkoala-arkts/arkui/src/generated/ArkRichEditor.ts index 7b7df5141..edb7b852a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRichEditor.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRichEditor.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,8 +48,8 @@ export class ArkRichEditorComponent extends ArkCommonMethodComponent { return this } if ((((RuntimeType.OBJECT == value_type)))) { - const value_casted = value as (RichEditorStyledStringOptions) - this.getPeer()?.setRichEditorOptions1Attribute(value_casted) + const options_casted = value as (RichEditorStyledStringOptions) + this.getPeer()?.setRichEditorOptions1Attribute(options_casted) return this } throw new Error("Can not select appropriate overload") diff --git a/arkoala-arkts/arkui/src/generated/ArkRichEditorBaseControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkRichEditorBaseControllerMaterialized.ts index 859479fec..ae2fc82fa 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRichEditorBaseControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRichEditorBaseControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,10 +16,10 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { TextEditControllerEx } from "./ArkTextEditControllerExMaterialized" +import { TextEditControllerEx, TextEditControllerExInternal } from "./ArkTextEditControllerExMaterialized" import { RichEditorTextStyle } from "./ArkRichEditorInterfaces" import { SelectionOptions } from "./ArkCommonInterfaces" -import { LayoutManager } from "./ArkLayoutManagerMaterialized" +import { LayoutManager, LayoutManagerInternal } from "./ArkLayoutManagerMaterialized" import { PreviewText } from "./ArkTextCommonInterfaces" import { INTERFACE_RichEditorBaseController } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -53,16 +53,11 @@ import { } from "@koalaui/interop" -export class RichEditorBaseController implements MaterializedBase,INTERFACE_RichEditorBaseController { - peer?: Finalizable +export class RichEditorBaseController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): RichEditorBaseController { - const objRichEditorBaseController : RichEditorBaseController = new RichEditorBaseController() - objRichEditorBaseController.peer = new Finalizable(ptr, RichEditorBaseController.getFinalizer()) - return objRichEditorBaseController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._RichEditorBaseController_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkRichEditorControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkRichEditorControllerMaterialized.ts index 5c55fd526..4d0294aa9 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRichEditorControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRichEditorControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,14 +16,14 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { RichEditorBaseController } from "./ArkRichEditorBaseControllerMaterialized" +import { RichEditorBaseController, RichEditorBaseControllerInternal } from "./ArkRichEditorBaseControllerMaterialized" import { RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorRange, RichEditorImageSpanResult, RichEditorTextSpanResult, RichEditorParagraphResult, RichEditorSelection, RichEditorSpan } from "./ArkRichEditorInterfaces" -import { PixelMap } from "./ArkPixelMapMaterialized" +import { PixelMap, PixelMapInternal } from "./ArkPixelMapMaterialized" import { ResourceStr } from "./ArkUnitsInterfaces" import { CustomBuilder } from "./ArkCommonInterfaces" import { CustomNodeBuilder, INTERFACE_RichEditorController } from "./SyntheticDeclarations" import { Resource } from "./ArkResourceInterfaces" -import { StyledString } from "./ArkStyledStringMaterialized" +import { StyledString, StyledStringInternal } from "./ArkStyledStringMaterialized" import { TypeChecker } from "#components" import { Finalizable } from "./Finalizable" @@ -55,16 +55,11 @@ import { } from "@koalaui/interop" -export class RichEditorController extends RichEditorBaseController implements MaterializedBase,INTERFACE_RichEditorController { - peer?: Finalizable +export class RichEditorController extends RichEditorBaseController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): RichEditorController { - const objRichEditorController : RichEditorController = new RichEditorController() - objRichEditorController.peer = new Finalizable(ptr, RichEditorController.getFinalizer()) - return objRichEditorController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._RichEditorController_ctor() return retval @@ -150,7 +145,7 @@ export class RichEditorController extends RichEditorBaseController implements Ma const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof PixelMap)) { + if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isPixelMap(value, false, false))) { thisSerializer.writeInt8(0 as int32) const value_0 = value as PixelMap thisSerializer.writePixelMap(value_0) diff --git a/arkoala-arkts/arkui/src/generated/ArkRichEditorInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkRichEditorInterfaces.ts index ef03c5c19..1f13671fc 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRichEditorInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRichEditorInterfaces.ts @@ -5,16 +5,18 @@ import { Tuple_Number_Number, Tuple_Dimension_Dimension, Callback_Void, Callback import { ResourceColor, Length, ResourceStr, Dimension, Margin, BorderRadiuses, Font } from "./ArkUnitsInterfaces" import { FontStyle, FontWeight, TextAlign, WordBreak, LineBreakStrategy, ImageSpanAlignment, ImageFit, CopyOptions, BarState, ResponseType } from "./ArkEnumsInterfaces" import { DecorationStyleInterface } from "./ArkStyledStringInterfaces" -import { ShadowOptions, ClickEvent, CommonMethod, CustomBuilder } from "./ArkCommonInterfaces" +import { ShadowOptions, CommonMethod, CustomBuilder } from "./ArkCommonInterfaces" import { Resource } from "./ArkResourceInterfaces" import { PixelMap } from "./ArkPixelMapMaterialized" import { SymbolEffectStrategy, SymbolRenderingStrategy } from "./ArkSymbolglyphInterfaces" import { DecorationStyleResult, TextRange, MenuType, TextDataDetectorConfig, OnDidChangeCallback } from "./ArkTextCommonInterfaces" -import { GestureEvent } from "./ArkGestureInterfaces" +import { ClickEvent } from "./ArkClickEventMaterialized" +import { GestureEvent } from "./ArkGestureEventMaterialized" import { RichEditorController } from "./ArkRichEditorControllerMaterialized" import { RichEditorStyledStringController } from "./ArkRichEditorStyledStringControllerMaterialized" -import { EnterKeyType, SubmitEvent } from "./ArkTextInputInterfaces" +import { EnterKeyType } from "./ArkTextInputInterfaces" import { EditMenuOptions } from "./ArkEditMenuOptionsMaterialized" +import { SubmitEvent } from "./ArkSubmitEventMaterialized" export enum RichEditorDeleteDirection { BACKWARD = 0, FORWARD = 1 diff --git a/arkoala-arkts/arkui/src/generated/ArkRichEditorStyledStringControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkRichEditorStyledStringControllerMaterialized.ts index d6015c292..56573ac04 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRichEditorStyledStringControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRichEditorStyledStringControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,10 +16,10 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { RichEditorBaseController } from "./ArkRichEditorBaseControllerMaterialized" -import { StyledStringController } from "./ArkStyledStringControllerMaterialized" -import { StyledString } from "./ArkStyledStringMaterialized" -import { MutableStyledString } from "./ArkMutableStyledStringMaterialized" +import { RichEditorBaseController, RichEditorBaseControllerInternal } from "./ArkRichEditorBaseControllerMaterialized" +import { StyledStringController, StyledStringControllerInternal } from "./ArkStyledStringControllerMaterialized" +import { StyledString, StyledStringInternal } from "./ArkStyledStringMaterialized" +import { MutableStyledString, MutableStyledStringInternal } from "./ArkMutableStyledStringMaterialized" import { RichEditorRange } from "./ArkRichEditorInterfaces" import { StyledStringChangedListener } from "./ArkTextCommonInterfaces" import { INTERFACE_RichEditorStyledStringController } from "./SyntheticDeclarations" @@ -54,16 +54,11 @@ import { } from "@koalaui/interop" -export class RichEditorStyledStringController extends RichEditorBaseController implements MaterializedBase,INTERFACE_RichEditorStyledStringController { - peer?: Finalizable +export class RichEditorStyledStringController extends RichEditorBaseController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): RichEditorStyledStringController { - const objRichEditorStyledStringController : RichEditorStyledStringController = new RichEditorStyledStringController() - objRichEditorStyledStringController.peer = new Finalizable(ptr, RichEditorStyledStringController.getFinalizer()) - return objRichEditorStyledStringController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._RichEditorStyledStringController_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkRichText.ts b/arkoala-arkts/arkui/src/generated/ArkRichText.ts index 554003f30..dca7a55fa 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRichText.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRichText.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkRootScene.ts b/arkoala-arkts/arkui/src/generated/ArkRootScene.ts index d133f124b..581182b69 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRootScene.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRootScene.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkRotationGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkRotationGestureEventMaterialized.ts new file mode 100644 index 000000000..a92235093 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkRotationGestureEventMaterialized.ts @@ -0,0 +1,100 @@ +/* + * 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 { BaseGestureEvent, BaseGestureEventInternal } from "./ArkBaseGestureEventMaterialized" +import { INTERFACE_RotationGestureEvent } from "./SyntheticDeclarations" +import { TypeChecker } from "#components" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { ArkUIGeneratedNativeModule } from "#components" +import { wrapCallback, NativeBuffer } from "@koalaui/interop" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export interface RotationGestureEvent { + angle: number +} +export class RotationGestureEventInternal extends BaseGestureEventInternal implements MaterializedBase,RotationGestureEvent { + peer?: Finalizable | undefined + get angle(): number { + return this.getAngle() + } + set angle(angle: number) { + this.setAngle(angle) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._RotationGestureEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr : KPointer = RotationGestureEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, RotationGestureEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._RotationGestureEvent_getFinalizer() + } + private getAngle(): number { + return this.getAngle_serialize() + } + private setAngle(angle: number): void { + const angle_casted = angle as (number) + this.setAngle_serialize(angle_casted) + return + } + private getAngle_serialize(): number { + const retval = ArkUIGeneratedNativeModule._RotationGestureEvent_getAngle(this.peer!.ptr) + return retval + } + private setAngle_serialize(angle: number): void { + ArkUIGeneratedNativeModule._RotationGestureEvent_setAngle(this.peer!.ptr, angle) + } + public static fromPtr(ptr: KPointer): RotationGestureEventInternal { + const obj : RotationGestureEventInternal = new RotationGestureEventInternal() + obj.peer = new Finalizable(ptr, RotationGestureEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkRow.ts b/arkoala-arkts/arkui/src/generated/ArkRow.ts index 722afdb78..f48752086 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRow.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRow.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkRowSplit.ts b/arkoala-arkts/arkui/src/generated/ArkRowSplit.ts index 543206d09..ffae35427 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRowSplit.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRowSplit.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkSaveButton.ts b/arkoala-arkts/arkui/src/generated/ArkSaveButton.ts index 0650729b1..bd0d4e73f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSaveButton.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSaveButton.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -28,7 +28,7 @@ import { UseEventsProperties } from "./use_properties" import { SecurityComponentMethod } from "./ArkSecurityComponentInterfaces" import { SaveButtonAttribute, SaveButtonOnClickResult, SaveButtonOptions } from "./ArkSaveButtonInterfaces" import { Callback_ClickEvent_SaveButtonOnClickResult_Void } from "./SyntheticDeclarations" -import { ClickEvent } from "./ArkCommonInterfaces" +import { ClickEvent } from "./ArkClickEventMaterialized" /** @memo:stable */ export class ArkSaveButtonComponent extends ArkSecurityComponentMethodComponent { getPeer(): ArkSaveButtonPeer { @@ -38,15 +38,15 @@ export class ArkSaveButtonComponent extends ArkSecurityComponentMethodComponent setSaveButtonOptions(options?: SaveButtonOptions): this { if (this.checkPriority("setSaveButtonOptions")) { const options_type = runtimeType(options) + if ((((RuntimeType.UNDEFINED == options_type)))) { + this.getPeer()?.setSaveButtonOptions0Attribute() + return this + } if ((((RuntimeType.OBJECT == options_type)))) { const options_casted = options as (SaveButtonOptions) this.getPeer()?.setSaveButtonOptions1Attribute(options_casted) return this } - if ((((RuntimeType.UNDEFINED == options_type)))) { - this.getPeer()?.setSaveButtonOptions0Attribute() - return this - } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala-arkts/arkui/src/generated/ArkSaveButtonInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkSaveButtonInterfaces.ts index 6629459dd..5c100d271 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSaveButtonInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSaveButtonInterfaces.ts @@ -4,7 +4,7 @@ import { NodeAttach, remember } from "@koalaui/runtime" import { ButtonType } from "./ArkButtonInterfaces" import { SecurityComponentMethod } from "./ArkSecurityComponentInterfaces" import { Callback_ClickEvent_SaveButtonOnClickResult_Void } from "./SyntheticDeclarations" -import { ClickEvent } from "./ArkCommonInterfaces" +import { ClickEvent } from "./ArkClickEventMaterialized" export enum SaveIconStyle { FULL_FILLED = 0, LINES = 1, diff --git a/arkoala-arkts/arkui/src/generated/ArkScreen.ts b/arkoala-arkts/arkui/src/generated/ArkScreen.ts index a8d3f11dd..022924e2d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScreen.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScreen.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkScreenCaptureHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkScreenCaptureHandlerMaterialized.ts index 6e41219b7..086e1a4d8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScreenCaptureHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScreenCaptureHandlerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class ScreenCaptureHandler implements MaterializedBase,INTERFACE_ScreenCaptureHandler { - peer?: Finalizable +export class ScreenCaptureHandler implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ScreenCaptureHandler { - const objScreenCaptureHandler : ScreenCaptureHandler = new ScreenCaptureHandler() - objScreenCaptureHandler.peer = new Finalizable(ptr, ScreenCaptureHandler.getFinalizer()) - return objScreenCaptureHandler - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._ScreenCaptureHandler_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkScroll.ts b/arkoala-arkts/arkui/src/generated/ArkScroll.ts index 25ef2e38f..87c46224b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScroll.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScroll.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -26,9 +26,9 @@ import { ArkScrollableCommonMethodComponent } from "./ArkCommon" import { ArkScrollPeer } from "./peers/ArkScrollPeer" import { UseEventsProperties } from "./use_properties" import { ScrollableCommonMethod, NestedScrollOptions, EdgeEffectOptions } from "./ArkCommonInterfaces" -import { ScrollAttribute, ScrollDirection, ScrollOnWillScrollCallback, OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollSnapOptions, OffsetOptions } from "./ArkScrollInterfaces" -import { Callback_Number_ScrollState_Void, Callback_Void } from "./SyntheticDeclarations" -import { ScrollState } from "./ArkListInterfaces" +import { ScrollAttribute, ScrollDirection, ScrollOnWillScrollCallback, ScrollOnScrollCallback, OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollSnapOptions, OffsetOptions } from "./ArkScrollInterfaces" +import { Callback_Number_Number_Void, Callback_Void } from "./SyntheticDeclarations" +import { VoidCallback } from "./ArkUnitsInterfaces" import { BarState, Color, EdgeEffect } from "./ArkEnumsInterfaces" import { Resource } from "./ArkResourceInterfaces" import { Scroller } from "./ArkScrollerMaterialized" @@ -56,9 +56,9 @@ export class ArkScrollComponent extends ArkScrollableCommonMethodComponent { return this } /** @memo */ - onScroll(value: ((scrollOffset: number,scrollState: ScrollState) => void)): this { + onScroll(value: ((first: number,last: number) => void)): this { if (this.checkPriority("onScroll")) { - const value_casted = value as (((scrollOffset: number,scrollState: ScrollState) => void)) + const value_casted = value as (((first: number,last: number) => void)) this.getPeer()?.onScrollAttribute(value_casted) return this } @@ -74,9 +74,9 @@ export class ArkScrollComponent extends ArkScrollableCommonMethodComponent { return this } /** @memo */ - onDidScroll(value?: ScrollOnWillScrollCallback): this { + onDidScroll(value?: ScrollOnScrollCallback): this { if (this.checkPriority("onDidScroll")) { - const value_casted = value as (ScrollOnWillScrollCallback | undefined) + const value_casted = value as (ScrollOnScrollCallback | undefined) this.getPeer()?.onDidScrollAttribute(value_casted) return this } @@ -92,9 +92,9 @@ export class ArkScrollComponent extends ArkScrollableCommonMethodComponent { return this } /** @memo */ - onScrollStart(value: (() => void)): this { + onScrollStart(value: VoidCallback): this { if (this.checkPriority("onScrollStart")) { - const value_casted = value as ((() => void)) + const value_casted = value as (VoidCallback) this.getPeer()?.onScrollStartAttribute(value_casted) return this } @@ -110,9 +110,9 @@ export class ArkScrollComponent extends ArkScrollableCommonMethodComponent { return this } /** @memo */ - onScrollStop(value: (() => void)): this { + onScrollStop(value: VoidCallback): this { if (this.checkPriority("onScrollStop")) { - const value_casted = value as ((() => void)) + const value_casted = value as (VoidCallback) this.getPeer()?.onScrollStopAttribute(value_casted) return this } diff --git a/arkoala-arkts/arkui/src/generated/ArkScrollBar.ts b/arkoala-arkts/arkui/src/generated/ArkScrollBar.ts index 4d891a162..6364b288e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScrollBar.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScrollBar.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkScrollInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkScrollInterfaces.ts index a0851d031..3e44f034c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScrollInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScrollInterfaces.ts @@ -4,11 +4,11 @@ import { NodeAttach, remember } from "@koalaui/runtime" import { LengthMetrics } from "./ArkArkui-externalInterfaces" import { Curve, Edge, BarState, Color, EdgeEffect, ScrollSource } from "./ArkEnumsInterfaces" import { ICurve } from "./ArkICurveMaterialized" -import { Dimension } from "./ArkUnitsInterfaces" +import { Dimension, VoidCallback } from "./ArkUnitsInterfaces" import { ScrollSnapAlign, ScrollState } from "./ArkListInterfaces" import { Scroller } from "./ArkScrollerMaterialized" import { ScrollableCommonMethod, NestedScrollOptions, EdgeEffectOptions } from "./ArkCommonInterfaces" -import { Callback_Number_ScrollState_Void, Callback_Void } from "./SyntheticDeclarations" +import { Callback_Number_Number_Void, Callback_Void } from "./SyntheticDeclarations" import { Resource } from "./ArkResourceInterfaces" export enum ScrollDirection { VERTICAL = 0, @@ -68,13 +68,13 @@ export interface OnScrollFrameBeginHandlerResult { export type OnScrollFrameBeginCallback = (offset: number, state: ScrollState) => OnScrollFrameBeginHandlerResult; export interface ScrollAttribute extends ScrollableCommonMethod { scrollable: ScrollDirection; - onScroll: ((scrollOffset: number,scrollState: ScrollState) => void); + onScroll: ((first: number,last: number) => void); onWillScroll: ScrollOnWillScrollCallback | undefined; - onDidScroll: ScrollOnWillScrollCallback | undefined; + onDidScroll: ScrollOnScrollCallback | undefined; onScrollEdge: OnScrollEdgeCallback; - onScrollStart: (() => void); + onScrollStart: VoidCallback; onScrollEnd: (() => void); - onScrollStop: (() => void); + onScrollStop: VoidCallback; scrollBar: BarState; scrollBarColor: Color | number | string; scrollBarWidth: number | string; diff --git a/arkoala-arkts/arkui/src/generated/ArkScrollableTargetInfoMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkScrollableTargetInfoMaterialized.ts index b9f098ad3..a665c0f16 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScrollableTargetInfoMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScrollableTargetInfoMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,7 +16,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { EventTargetInfo } from "./ArkEventTargetInfoMaterialized" +import { EventTargetInfo, EventTargetInfoInternal } from "./ArkEventTargetInfoMaterialized" import { INTERFACE_ScrollableTargetInfo } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class ScrollableTargetInfo extends EventTargetInfo implements MaterializedBase,INTERFACE_ScrollableTargetInfo { - peer?: Finalizable +export class ScrollableTargetInfo extends EventTargetInfo implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ScrollableTargetInfo { - const objScrollableTargetInfo : ScrollableTargetInfo = new ScrollableTargetInfo() - objScrollableTargetInfo.peer = new Finalizable(ptr, ScrollableTargetInfo.getFinalizer()) - return objScrollableTargetInfo - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._ScrollableTargetInfo_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkScrollerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkScrollerMaterialized.ts index 1f52bca3e..ef1aec143 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScrollerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScrollerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -53,16 +53,11 @@ import { } from "@koalaui/interop" -export class Scroller implements MaterializedBase,INTERFACE_Scroller { - peer?: Finalizable +export class Scroller implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): Scroller { - const objScroller : Scroller = new Scroller() - objScroller.peer = new Finalizable(ptr, Scroller.getFinalizer()) - return objScroller - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._Scroller_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkSearch.ts b/arkoala-arkts/arkui/src/generated/ArkSearch.ts index ca4fa9b8d..27d4cc4f1 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSearch.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSearch.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkSearchControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSearchControllerMaterialized.ts index c472123f7..40db88939 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSearchControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSearchControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,7 +16,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { TextContentControllerBase } from "./ArkTextContentControllerBaseMaterialized" +import { TextContentControllerBase, TextContentControllerBaseInternal } from "./ArkTextContentControllerBaseMaterialized" import { SelectionOptions } from "./ArkCommonInterfaces" import { INTERFACE_SearchController } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -50,16 +50,11 @@ import { } from "@koalaui/interop" -export class SearchController extends TextContentControllerBase implements MaterializedBase,INTERFACE_SearchController { - peer?: Finalizable +export class SearchController extends TextContentControllerBase implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): SearchController { - const objSearchController : SearchController = new SearchController() - objSearchController.peer = new Finalizable(ptr, SearchController.getFinalizer()) - return objSearchController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._SearchController_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkSearchInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkSearchInterfaces.ts index 1f73b026e..8a89736e3 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSearchInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSearchInterfaces.ts @@ -4,9 +4,10 @@ import { NodeAttach, remember } from "@koalaui/runtime" import { ResourceStr, Length, ResourceColor, Dimension, Font } from "./ArkUnitsInterfaces" import { SearchController } from "./ArkSearchControllerMaterialized" import { SymbolGlyphModifier, CommonMethod, TextDecorationOptions, CustomBuilder } from "./ArkCommonInterfaces" -import { SubmitEvent, EnterKeyType, OnTextSelectionChangeCallback, OnContentScrollCallback, OnPasteCallback } from "./ArkTextInputInterfaces" +import { SubmitEvent } from "./ArkSubmitEventMaterialized" import { Callback_Boolean_Void, Callback_String_Void, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void } from "./SyntheticDeclarations" import { CaretStyle, EditableTextOnChangeCallback, InsertValue, DeleteValue } from "./ArkTextCommonInterfaces" +import { EnterKeyType, OnTextSelectionChangeCallback, OnContentScrollCallback, OnPasteCallback } from "./ArkTextInputInterfaces" import { CopyOptions, TextAlign } from "./ArkEnumsInterfaces" import { Resource } from "./ArkResourceInterfaces" import { EditMenuOptions } from "./ArkEditMenuOptionsMaterialized" diff --git a/arkoala-arkts/arkui/src/generated/ArkSecurityComponent.ts b/arkoala-arkts/arkui/src/generated/ArkSecurityComponent.ts index 6e79bd394..335caf0e3 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSecurityComponent.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSecurityComponent.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkSelect.ts b/arkoala-arkts/arkui/src/generated/ArkSelect.ts index 404d90ad3..a0167e02c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSelect.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSelect.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkShape.ts b/arkoala-arkts/arkui/src/generated/ArkShape.ts index 970a56408..68fe78e9b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkShape.ts +++ b/arkoala-arkts/arkui/src/generated/ArkShape.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -26,7 +26,7 @@ import { ArkCommonMethodComponent } from "./ArkCommon" import { ArkShapePeer } from "./peers/ArkShapePeer" import { CommonMethod } from "./ArkCommonInterfaces" import { ShapeAttribute, ViewportRect } from "./ArkShapeInterfaces" -import { ResourceColor } from "./ArkUnitsInterfaces" +import { ResourceColor, Length } from "./ArkUnitsInterfaces" import { LineCapStyle, LineJoinStyle } from "./ArkEnumsInterfaces" import { Resource } from "./ArkResourceInterfaces" import { PixelMap } from "./ArkPixelMapMaterialized" @@ -39,15 +39,15 @@ export class ArkShapeComponent extends ArkCommonMethodComponent { setShapeOptions(value?: PixelMap): this { if (this.checkPriority("setShapeOptions")) { const value_type = runtimeType(value) + if ((((RuntimeType.UNDEFINED == value_type)))) { + this.getPeer()?.setShapeOptions1Attribute() + return this + } if ((((RuntimeType.OBJECT == value_type)))) { const value_casted = value as (PixelMap) this.getPeer()?.setShapeOptions0Attribute(value_casted) return this } - if ((((RuntimeType.UNDEFINED == value_type)))) { - this.getPeer()?.setShapeOptions1Attribute() - return this - } throw new Error("Can not select appropriate overload") } return this @@ -89,9 +89,9 @@ export class ArkShapeComponent extends ArkCommonMethodComponent { return this } /** @memo */ - strokeDashArray(value: Array): this { + strokeDashArray(value: Array): this { if (this.checkPriority("strokeDashArray")) { - const value_casted = value as (Array) + const value_casted = value as (Array) this.getPeer()?.strokeDashArrayAttribute(value_casted) return this } @@ -161,9 +161,9 @@ export class ArkShapeComponent extends ArkCommonMethodComponent { return this } /** @memo */ - mesh(value: Array, column: number, row: number): this { + mesh(value: Array, column: number, row: number): this { if (this.checkPriority("mesh")) { - const value_casted = value as (Array) + const value_casted = value as (Array) const column_casted = column as (number) const row_casted = row as (number) this.getPeer()?.meshAttribute(value_casted, column_casted, row_casted) diff --git a/arkoala-arkts/arkui/src/generated/ArkShapeInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkShapeInterfaces.ts index 1921b41a8..1ce3bf08f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkShapeInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkShapeInterfaces.ts @@ -3,7 +3,7 @@ import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from import { NodeAttach, remember } from "@koalaui/runtime" import { PixelMap } from "./ArkPixelMapMaterialized" import { CommonMethod } from "./ArkCommonInterfaces" -import { ResourceColor } from "./ArkUnitsInterfaces" +import { ResourceColor, Length } from "./ArkUnitsInterfaces" import { LineCapStyle, LineJoinStyle } from "./ArkEnumsInterfaces" import { Resource } from "./ArkResourceInterfaces" export interface ViewportRect { @@ -21,7 +21,7 @@ export interface ShapeAttribute extends CommonMethod { stroke: ResourceColor; fill: ResourceColor; strokeDashOffset: number | string; - strokeDashArray: Array; + strokeDashArray: Array; strokeLineCap: LineCapStyle; strokeLineJoin: LineJoinStyle; strokeMiterLimit: number | string; diff --git a/arkoala-arkts/arkui/src/generated/ArkSidebar.ts b/arkoala-arkts/arkui/src/generated/ArkSidebar.ts index 3a5dd6353..e2cc18a08 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSidebar.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSidebar.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkSlider.ts b/arkoala-arkts/arkui/src/generated/ArkSlider.ts index 734a0ddfb..a30115be5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSlider.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSlider.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkSpan.ts b/arkoala-arkts/arkui/src/generated/ArkSpan.ts index 3062af8db..53e7f2b4f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSpan.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSpan.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkSslErrorHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSslErrorHandlerMaterialized.ts index 9df4dd697..385328734 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSslErrorHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSslErrorHandlerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class SslErrorHandler implements MaterializedBase,INTERFACE_SslErrorHandler { - peer?: Finalizable +export class SslErrorHandler implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): SslErrorHandler { - const objSslErrorHandler : SslErrorHandler = new SslErrorHandler() - objSslErrorHandler.peer = new Finalizable(ptr, SslErrorHandler.getFinalizer()) - return objSslErrorHandler - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._SslErrorHandler_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkStack.ts b/arkoala-arkts/arkui/src/generated/ArkStack.ts index 65f0fe181..26f6473b3 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStack.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStack.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkStaticComponents.ts b/arkoala-arkts/arkui/src/generated/ArkStaticComponents.ts index 8fc90e0c1..c9281eaea 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStaticComponents.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStaticComponents.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkStepper.ts b/arkoala-arkts/arkui/src/generated/ArkStepper.ts index 8bc9c5308..a5f842565 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStepper.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStepper.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkStepperItem.ts b/arkoala-arkts/arkui/src/generated/ArkStepperItem.ts index c2e757fe1..416f00535 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStepperItem.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStepperItem.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkStyledStringControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkStyledStringControllerMaterialized.ts index 93e76a553..0609b044a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStyledStringControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStyledStringControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,8 +16,8 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { StyledString } from "./ArkStyledStringMaterialized" -import { MutableStyledString } from "./ArkMutableStyledStringMaterialized" +import { StyledString, StyledStringInternal } from "./ArkStyledStringMaterialized" +import { MutableStyledString, MutableStyledStringInternal } from "./ArkMutableStyledStringMaterialized" import { INTERFACE_StyledStringController } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -50,24 +50,23 @@ import { } from "@koalaui/interop" -export class StyledStringController implements MaterializedBase,INTERFACE_StyledStringController { - peer?: Finalizable +export interface StyledStringController { + setStyledString(styledString: StyledString): void + getStyledString(): MutableStyledString +} +export class StyledStringControllerInternal implements MaterializedBase,StyledStringController { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): StyledStringController { - const objStyledStringController : StyledStringController = new StyledStringController() - objStyledStringController.peer = new Finalizable(ptr, StyledStringController.getFinalizer()) - return objStyledStringController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._StyledStringController_ctor() return retval } constructor() { { - const ctorPtr : KPointer = StyledStringController.ctor() - this.peer = new Finalizable(ctorPtr, StyledStringController.getFinalizer()) + const ctorPtr : KPointer = StyledStringControllerInternal.ctor() + this.peer = new Finalizable(ctorPtr, StyledStringControllerInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -91,11 +90,9 @@ export class StyledStringController implements MaterializedBase,INTERFACE_Styled const retval = ArkUIGeneratedNativeModule._StyledStringController_getStyledString(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } -} -export class StyledStringControllerInternal { - public static fromPtr(ptr: KPointer): StyledStringController { - const obj : StyledStringController = new StyledStringController() - obj.peer = new Finalizable(ptr, StyledStringController.getFinalizer()) + public static fromPtr(ptr: KPointer): StyledStringControllerInternal { + const obj : StyledStringControllerInternal = new StyledStringControllerInternal() + obj.peer = new Finalizable(ptr, StyledStringControllerInternal.getFinalizer()) return obj } } diff --git a/arkoala-arkts/arkui/src/generated/ArkStyledStringInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkStyledStringInterfaces.ts index e53959534..eaf6f11be 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStyledStringInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStyledStringInterfaces.ts @@ -4,10 +4,11 @@ import { NodeAttach, remember } from "@koalaui/runtime" import { ResourceColor, ResourceStr, SizeOptions, Margin, Padding, BorderRadiuses } from "./ArkUnitsInterfaces" import { FontStyle, FontWeight, TextDecorationType, TextDecorationStyle, TextAlign, TextOverflow, WordBreak, ImageSpanAlignment, ImageFit } from "./ArkEnumsInterfaces" import { LengthMetrics } from "./ArkArkui-externalInterfaces" -import { ShadowOptions, ClickEvent } from "./ArkCommonInterfaces" +import { ShadowOptions } from "./ArkCommonInterfaces" import { TextBackgroundStyle } from "./ArkSpanInterfaces" import { Callback_ClickEvent_Void, Callback_GestureEvent_Void } from "./SyntheticDeclarations" -import { GestureEvent } from "./ArkGestureInterfaces" +import { ClickEvent } from "./ArkClickEventMaterialized" +import { GestureEvent } from "./ArkGestureEventMaterialized" import { LeadingMarginPlaceholder } from "./ArkRichEditorInterfaces" import { CustomSpan } from "./ArkCustomSpanMaterialized" import { PixelMap } from "./ArkPixelMapMaterialized" diff --git a/arkoala-arkts/arkui/src/generated/ArkStyledStringMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkStyledStringMaterialized.ts index 413603264..850b12d49 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStyledStringMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStyledStringMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -17,7 +17,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { ImageAttachment, StyleOptions, StyledStringKey, SpanStyle } from "./ArkStyledStringInterfaces" -import { CustomSpan } from "./ArkCustomSpanMaterialized" +import { CustomSpan, CustomSpanInternal } from "./ArkCustomSpanMaterialized" import { INTERFACE_StyledString } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -50,19 +50,14 @@ import { } from "@koalaui/interop" -export class StyledString implements MaterializedBase,INTERFACE_StyledString { - peer?: Finalizable +export class StyledString implements MaterializedBase { + peer?: Finalizable | undefined get length(): number { return this.getLength() } getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): StyledString { - const objStyledString : StyledString = new StyledString() - objStyledString.peer = new Finalizable(ptr, StyledString.getFinalizer()) - return objStyledString - } static ctor(value: string | ImageAttachment | CustomSpan, styles?: Array): KPointer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED @@ -77,7 +72,7 @@ export class StyledString implements MaterializedBase,INTERFACE_StyledString { const value_1 = value as ImageAttachment thisSerializer.writeImageAttachment(value_1) } - else if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof CustomSpan)) { + else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isCustomSpan(value))) { thisSerializer.writeInt8(2 as int32) const value_2 = value as CustomSpan thisSerializer.writeCustomSpan(value_2) @@ -179,7 +174,9 @@ export class StyledString implements MaterializedBase,INTERFACE_StyledString { } const retval = ArkUIGeneratedNativeModule._StyledString_subStyledString(this.peer!.ptr, start, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() - return this + const obj : StyledString = new StyledString() + obj.peer = new Finalizable(retval, StyledString.getFinalizer()) + return obj } private static fromHtml_serialize(html: string): Promise { const thisSerializer : Serializer = Serializer.hold() diff --git a/arkoala-arkts/arkui/src/generated/ArkSubmitEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSubmitEventMaterialized.ts new file mode 100644 index 000000000..999ce4768 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkSubmitEventMaterialized.ts @@ -0,0 +1,106 @@ +/* + * 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 { INTERFACE_SubmitEvent } from "./SyntheticDeclarations" +import { TypeChecker } from "#components" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { ArkUIGeneratedNativeModule } from "#components" +import { wrapCallback, NativeBuffer } from "@koalaui/interop" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export interface SubmitEvent { + text: string + keepEditableState(): void +} +export class SubmitEventInternal implements MaterializedBase,SubmitEvent { + peer?: Finalizable | undefined + get text(): string { + return this.getText() + } + set text(text: string) { + this.setText(text) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._SubmitEvent_ctor() + return retval + } + constructor() { + { + const ctorPtr : KPointer = SubmitEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, SubmitEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._SubmitEvent_getFinalizer() + } + keepEditableState(): void { + this.keepEditableState_serialize() + return + } + private getText(): string { + return this.getText_serialize() + } + private setText(text: string): void { + const text_casted = text as (string) + this.setText_serialize(text_casted) + return + } + private keepEditableState_serialize(): void { + ArkUIGeneratedNativeModule._SubmitEvent_keepEditableState(this.peer!.ptr) + } + private getText_serialize(): string { + const retval = ArkUIGeneratedNativeModule._SubmitEvent_getText(this.peer!.ptr) + return retval + } + private setText_serialize(text: string): void { + ArkUIGeneratedNativeModule._SubmitEvent_setText(this.peer!.ptr, text) + } + public static fromPtr(ptr: KPointer): SubmitEventInternal { + const obj : SubmitEventInternal = new SubmitEventInternal() + obj.peer = new Finalizable(ptr, SubmitEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkSwipeGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSwipeGestureEventMaterialized.ts new file mode 100644 index 000000000..2c81896b5 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkSwipeGestureEventMaterialized.ts @@ -0,0 +1,122 @@ +/* + * 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 { BaseGestureEvent, BaseGestureEventInternal } from "./ArkBaseGestureEventMaterialized" +import { INTERFACE_SwipeGestureEvent } from "./SyntheticDeclarations" +import { TypeChecker } from "#components" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { ArkUIGeneratedNativeModule } from "#components" +import { wrapCallback, NativeBuffer } from "@koalaui/interop" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export interface SwipeGestureEvent { + angle: number + speed: number +} +export class SwipeGestureEventInternal extends BaseGestureEventInternal implements MaterializedBase,SwipeGestureEvent { + peer?: Finalizable | undefined + get angle(): number { + return this.getAngle() + } + set angle(angle: number) { + this.setAngle(angle) + } + get speed(): number { + return this.getSpeed() + } + set speed(speed: number) { + this.setSpeed(speed) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._SwipeGestureEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr : KPointer = SwipeGestureEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, SwipeGestureEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._SwipeGestureEvent_getFinalizer() + } + private getAngle(): number { + return this.getAngle_serialize() + } + private setAngle(angle: number): void { + const angle_casted = angle as (number) + this.setAngle_serialize(angle_casted) + return + } + private getSpeed(): number { + return this.getSpeed_serialize() + } + private setSpeed(speed: number): void { + const speed_casted = speed as (number) + this.setSpeed_serialize(speed_casted) + return + } + private getAngle_serialize(): number { + const retval = ArkUIGeneratedNativeModule._SwipeGestureEvent_getAngle(this.peer!.ptr) + return retval + } + private setAngle_serialize(angle: number): void { + ArkUIGeneratedNativeModule._SwipeGestureEvent_setAngle(this.peer!.ptr, angle) + } + private getSpeed_serialize(): number { + const retval = ArkUIGeneratedNativeModule._SwipeGestureEvent_getSpeed(this.peer!.ptr) + return retval + } + private setSpeed_serialize(speed: number): void { + ArkUIGeneratedNativeModule._SwipeGestureEvent_setSpeed(this.peer!.ptr, speed) + } + public static fromPtr(ptr: KPointer): SwipeGestureEventInternal { + const obj : SwipeGestureEventInternal = new SwipeGestureEventInternal() + obj.peer = new Finalizable(ptr, SwipeGestureEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkSwiper.ts b/arkoala-arkts/arkui/src/generated/ArkSwiper.ts index 991653f00..89e90d51c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSwiper.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSwiper.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -77,19 +77,19 @@ export class ArkSwiperComponent extends ArkCommonMethodComponent { return this } /** @memo */ - indicator(value: DotIndicator | DigitIndicator | boolean | IndicatorComponentController): this { + indicator(value: IndicatorComponentController | DotIndicator | DigitIndicator | boolean): this { if (this.checkPriority("indicator")) { const value_type = runtimeType(value) + if ((((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isIndicatorComponentController(value)))) { + const value_casted = value as (IndicatorComponentController) + this.getPeer()?.indicator1Attribute(value_casted) + return this + } if ((((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((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))) { - const value_casted = value as (IndicatorComponentController) - this.getPeer()?.indicator1Attribute(value_casted) - return this - } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala-arkts/arkui/src/generated/ArkSwiperContentTransitionProxyMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSwiperContentTransitionProxyMaterialized.ts index 217215d5e..f87cf2ed9 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSwiperContentTransitionProxyMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSwiperContentTransitionProxyMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,8 +48,15 @@ import { } from "@koalaui/interop" -export class SwiperContentTransitionProxy implements MaterializedBase,INTERFACE_SwiperContentTransitionProxy { - peer?: Finalizable +export interface SwiperContentTransitionProxy { + selectedIndex: number + index: number + position: number + mainAxisLength: number + finishTransition(): void +} +export class SwiperContentTransitionProxyInternal implements MaterializedBase,SwiperContentTransitionProxy { + peer?: Finalizable | undefined get selectedIndex(): number { return this.getSelectedIndex() } @@ -77,19 +84,14 @@ export class SwiperContentTransitionProxy implements MaterializedBase,INTERFACE_ getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): SwiperContentTransitionProxy { - const objSwiperContentTransitionProxy : SwiperContentTransitionProxy = new SwiperContentTransitionProxy() - objSwiperContentTransitionProxy.peer = new Finalizable(ptr, SwiperContentTransitionProxy.getFinalizer()) - return objSwiperContentTransitionProxy - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_ctor() return retval } constructor() { { - const ctorPtr : KPointer = SwiperContentTransitionProxy.ctor() - this.peer = new Finalizable(ctorPtr, SwiperContentTransitionProxy.getFinalizer()) + const ctorPtr : KPointer = SwiperContentTransitionProxyInternal.ctor() + this.peer = new Finalizable(ctorPtr, SwiperContentTransitionProxyInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -162,11 +164,9 @@ export class SwiperContentTransitionProxy implements MaterializedBase,INTERFACE_ private setMainAxisLength_serialize(mainAxisLength: number): void { ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_setMainAxisLength(this.peer!.ptr, mainAxisLength) } -} -export class SwiperContentTransitionProxyInternal { - public static fromPtr(ptr: KPointer): SwiperContentTransitionProxy { - const obj : SwiperContentTransitionProxy = new SwiperContentTransitionProxy() - obj.peer = new Finalizable(ptr, SwiperContentTransitionProxy.getFinalizer()) + public static fromPtr(ptr: KPointer): SwiperContentTransitionProxyInternal { + const obj : SwiperContentTransitionProxyInternal = new SwiperContentTransitionProxyInternal() + obj.peer = new Finalizable(ptr, SwiperContentTransitionProxyInternal.getFinalizer()) return obj } } diff --git a/arkoala-arkts/arkui/src/generated/ArkSwiperControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSwiperControllerMaterialized.ts index b976c9614..f4a7e509b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSwiperControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSwiperControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class SwiperController implements MaterializedBase,INTERFACE_SwiperController { - peer?: Finalizable +export class SwiperController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): SwiperController { - const objSwiperController : SwiperController = new SwiperController() - objSwiperController.peer = new Finalizable(ptr, SwiperController.getFinalizer()) - return objSwiperController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._SwiperController_ctor() return retval @@ -83,9 +78,9 @@ export class SwiperController implements MaterializedBase,INTERFACE_SwiperContro const useAnimation_casted = useAnimation as (boolean | undefined) return this.changeIndex_serialize(index_casted, useAnimation_casted) } - finishAnimation(callback?: VoidCallback): undefined { - const callback_casted = callback as (VoidCallback | undefined) - return this.finishAnimation_serialize(callback_casted) + finishAnimation(callback_?: VoidCallback): undefined { + const callback__casted = callback_ as (VoidCallback | undefined) + return this.finishAnimation_serialize(callback__casted) } private showNext_serialize(): undefined { const retval = ArkUIGeneratedNativeModule._SwiperController_showNext(this.peer!.ptr) @@ -108,14 +103,14 @@ export class SwiperController implements MaterializedBase,INTERFACE_SwiperContro thisSerializer.release() return retval } - private finishAnimation_serialize(callback?: VoidCallback): undefined { + private finishAnimation_serialize(callback_?: VoidCallback): undefined { const thisSerializer : Serializer = Serializer.hold() - let callback_type : int32 = RuntimeType.UNDEFINED - callback_type = runtimeType(callback) - thisSerializer.writeInt8(callback_type as int32) - if ((RuntimeType.UNDEFINED) != (callback_type)) { - const callback_value = callback! - thisSerializer.holdAndWriteCallback(callback_value) + let callback__type : int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type as int32) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) } const retval = ArkUIGeneratedNativeModule._SwiperController_finishAnimation(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() diff --git a/arkoala-arkts/arkui/src/generated/ArkSymbolSpan.ts b/arkoala-arkts/arkui/src/generated/ArkSymbolSpan.ts index 99296afa1..fdae58811 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSymbolSpan.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSymbolSpan.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkSymbolglyph.ts b/arkoala-arkts/arkui/src/generated/ArkSymbolglyph.ts index c719ec109..41eb2485b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSymbolglyph.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSymbolglyph.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -101,8 +101,8 @@ export class ArkSymbolGlyphComponent extends ArkCommonMethodComponent { } if ((((RuntimeType.NUMBER == isActive_type)) || ((RuntimeType.UNDEFINED == isActive_type)))) { const symbolEffect_casted = symbolEffect as (SymbolEffect) - const isActive_casted = isActive as (number | undefined) - this.getPeer()?.symbolEffect1Attribute(symbolEffect_casted, isActive_casted) + const triggerValue_casted = isActive as (number | undefined) + this.getPeer()?.symbolEffect1Attribute(symbolEffect_casted, triggerValue_casted) return this } throw new Error("Can not select appropriate overload") diff --git a/arkoala-arkts/arkui/src/generated/ArkTabContent.ts b/arkoala-arkts/arkui/src/generated/ArkTabContent.ts index 4f9ea3162..4ed312cf0 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTabContent.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTabContent.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -45,19 +45,19 @@ export class ArkTabContentComponent extends ArkCommonMethodComponent { return this } /** @memo */ - tabBar(value: string | Resource | CustomBuilder | TabBarOptions | SubTabBarStyle | BottomTabBarStyle): this { + tabBar(value: SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions): this { if (this.checkPriority("tabBar")) { const value_type = runtimeType(value) - if ((((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.FUNCTION == value_type)) || ((RuntimeType.OBJECT == value_type)))) { - const value_casted = value as (string | Resource | CustomBuilder | TabBarOptions) - this.getPeer()?.tabBar0Attribute(value_casted) - return this - } if ((((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)))) { const value_casted = value as (SubTabBarStyle | BottomTabBarStyle) this.getPeer()?.tabBar1Attribute(value_casted) return this } + if ((((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.FUNCTION == value_type)) || ((RuntimeType.OBJECT == value_type)))) { + const value_casted = value as (string | Resource | CustomBuilder | TabBarOptions) + this.getPeer()?.tabBar0Attribute(value_casted) + return this + } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala-arkts/arkui/src/generated/ArkTabContentTransitionProxyMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTabContentTransitionProxyMaterialized.ts index c53ad1e04..339a8bd1c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTabContentTransitionProxyMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTabContentTransitionProxyMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,8 +48,13 @@ import { } from "@koalaui/interop" -export class TabContentTransitionProxy implements MaterializedBase,INTERFACE_TabContentTransitionProxy { - peer?: Finalizable +export interface TabContentTransitionProxy { + from: number + to: number + finishTransition(): void +} +export class TabContentTransitionProxyInternal implements MaterializedBase,TabContentTransitionProxy { + peer?: Finalizable | undefined get from(): number { return this.getFrom() } @@ -65,19 +70,14 @@ export class TabContentTransitionProxy implements MaterializedBase,INTERFACE_Tab getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TabContentTransitionProxy { - const objTabContentTransitionProxy : TabContentTransitionProxy = new TabContentTransitionProxy() - objTabContentTransitionProxy.peer = new Finalizable(ptr, TabContentTransitionProxy.getFinalizer()) - return objTabContentTransitionProxy - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TabContentTransitionProxy_ctor() return retval } constructor() { { - const ctorPtr : KPointer = TabContentTransitionProxy.ctor() - this.peer = new Finalizable(ctorPtr, TabContentTransitionProxy.getFinalizer()) + const ctorPtr : KPointer = TabContentTransitionProxyInternal.ctor() + this.peer = new Finalizable(ctorPtr, TabContentTransitionProxyInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -120,11 +120,9 @@ export class TabContentTransitionProxy implements MaterializedBase,INTERFACE_Tab private setTo_serialize(to: number): void { ArkUIGeneratedNativeModule._TabContentTransitionProxy_setTo(this.peer!.ptr, to) } -} -export class TabContentTransitionProxyInternal { - public static fromPtr(ptr: KPointer): TabContentTransitionProxy { - const obj : TabContentTransitionProxy = new TabContentTransitionProxy() - obj.peer = new Finalizable(ptr, TabContentTransitionProxy.getFinalizer()) + public static fromPtr(ptr: KPointer): TabContentTransitionProxyInternal { + const obj : TabContentTransitionProxyInternal = new TabContentTransitionProxyInternal() + obj.peer = new Finalizable(ptr, TabContentTransitionProxyInternal.getFinalizer()) return obj } } diff --git a/arkoala-arkts/arkui/src/generated/ArkTabs.ts b/arkoala-arkts/arkui/src/generated/ArkTabs.ts index 295b53c95..2ecd7393d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTabs.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTabs.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -76,15 +76,15 @@ export class ArkTabsComponent extends ArkCommonMethodComponent { if (this.checkPriority("barMode")) { const value_type = runtimeType(value) const options_type = runtimeType(options) - if ((TypeChecker.isBarMode(value)) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { + if ((TypeChecker.isBarMode(value)) && (((RuntimeType.UNDEFINED == options_type)))) { const value_casted = value as (BarMode) - const options_casted = options as (ScrollableBarModeOptions | undefined) - this.getPeer()?.barMode1Attribute(value_casted, options_casted) + this.getPeer()?.barMode0Attribute(value_casted) return this } - if ((TypeChecker.isBarMode(value)) && (((RuntimeType.UNDEFINED == options_type)))) { + if ((TypeChecker.isBarMode(value)) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { const value_casted = value as (BarMode) - this.getPeer()?.barMode0Attribute(value_casted) + const options_casted = options as (ScrollableBarModeOptions | undefined) + this.getPeer()?.barMode1Attribute(value_casted, options_casted) return this } throw new Error("Can not select appropriate overload") @@ -240,17 +240,17 @@ export class ArkTabsComponent extends ArkCommonMethodComponent { if (this.checkPriority("barBackgroundBlurStyle")) { const style_type = runtimeType(style) const options_type = runtimeType(options) + if ((TypeChecker.isBlurStyle(style)) && (((RuntimeType.UNDEFINED == options_type)))) { + const value_casted = style as (BlurStyle) + this.getPeer()?.barBackgroundBlurStyle0Attribute(value_casted) + return this + } if ((TypeChecker.isBlurStyle(style)) && (((RuntimeType.OBJECT == options_type)))) { const style_casted = style as (BlurStyle) const options_casted = options as (BackgroundBlurStyleOptions) this.getPeer()?.barBackgroundBlurStyle1Attribute(style_casted, options_casted) return this } - if ((TypeChecker.isBlurStyle(style)) && (((RuntimeType.UNDEFINED == options_type)))) { - const style_casted = style as (BlurStyle) - this.getPeer()?.barBackgroundBlurStyle0Attribute(style_casted) - return this - } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala-arkts/arkui/src/generated/ArkTabsControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTabsControllerMaterialized.ts index 991189b44..5fc2c4115 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTabsControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTabsControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class TabsController implements MaterializedBase,INTERFACE_TabsController { - peer?: Finalizable +export class TabsController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TabsController { - const objTabsController : TabsController = new TabsController() - objTabsController.peer = new Finalizable(ptr, TabsController.getFinalizer()) - return objTabsController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TabsController_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkTapGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTapGestureEventMaterialized.ts new file mode 100644 index 000000000..3f5ff8de3 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkTapGestureEventMaterialized.ts @@ -0,0 +1,78 @@ +/* + * 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 { BaseGestureEvent, BaseGestureEventInternal } from "./ArkBaseGestureEventMaterialized" +import { INTERFACE_TapGestureEvent } from "./SyntheticDeclarations" +import { TypeChecker } from "#components" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { ArkUIGeneratedNativeModule } from "#components" +import { wrapCallback, NativeBuffer } from "@koalaui/interop" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export interface TapGestureEvent { +} +export class TapGestureEventInternal extends BaseGestureEventInternal implements MaterializedBase,TapGestureEvent { + peer?: Finalizable | undefined + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._TapGestureEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr : KPointer = TapGestureEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, TapGestureEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._TapGestureEvent_getFinalizer() + } + public static fromPtr(ptr: KPointer): TapGestureEventInternal { + const obj : TapGestureEventInternal = new TapGestureEventInternal() + obj.peer = new Finalizable(ptr, TapGestureEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkText.ts b/arkoala-arkts/arkui/src/generated/ArkText.ts index 09126f654..6f353c92d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkText.ts +++ b/arkoala-arkts/arkui/src/generated/ArkText.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -56,17 +56,17 @@ export class ArkTextComponent extends ArkCommonMethodComponent { if (this.checkPriority("font")) { const fontValue_type = runtimeType(fontValue) const options_type = runtimeType(options) + if ((((RuntimeType.UNDEFINED == options_type)))) { + const value_casted = fontValue as (Font) + this.getPeer()?.font0Attribute(value_casted) + return this + } if ((((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { const fontValue_casted = fontValue as (Font) const options_casted = options as (FontSettingOptions | undefined) this.getPeer()?.font1Attribute(fontValue_casted, options_casted) return this } - if ((((RuntimeType.UNDEFINED == options_type)))) { - const fontValue_casted = fontValue as (Font) - this.getPeer()?.font0Attribute(fontValue_casted) - return this - } throw new Error("Can not select appropriate overload") } return this @@ -139,17 +139,17 @@ export class ArkTextComponent extends ArkCommonMethodComponent { if (this.checkPriority("fontWeight")) { const weight_type = runtimeType(weight) const options_type = runtimeType(options) + if ((((RuntimeType.NUMBER == weight_type)) || ((RuntimeType.OBJECT == weight_type)) || ((RuntimeType.STRING == weight_type))) && (((RuntimeType.UNDEFINED == options_type)))) { + const value_casted = weight as (number | FontWeight | string) + this.getPeer()?.fontWeight0Attribute(value_casted) + return this + } if ((((RuntimeType.NUMBER == weight_type)) || ((RuntimeType.OBJECT == weight_type)) || ((RuntimeType.STRING == weight_type))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { const weight_casted = weight as (number | FontWeight | string) const options_casted = options as (FontSettingOptions | undefined) this.getPeer()?.fontWeight1Attribute(weight_casted, options_casted) return this } - if ((((RuntimeType.NUMBER == weight_type)) || ((RuntimeType.OBJECT == weight_type)) || ((RuntimeType.STRING == weight_type))) && (((RuntimeType.UNDEFINED == options_type)))) { - const weight_casted = weight as (number | FontWeight | string) - this.getPeer()?.fontWeight0Attribute(weight_casted) - return this - } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala-arkts/arkui/src/generated/ArkTextArea.ts b/arkoala-arkts/arkui/src/generated/ArkTextArea.ts index 930860c00..7af96ef09 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextArea.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextArea.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkTextAreaControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextAreaControllerMaterialized.ts index bba026b4a..109bbc36d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextAreaControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextAreaControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,7 +16,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { TextContentControllerBase } from "./ArkTextContentControllerBaseMaterialized" +import { TextContentControllerBase, TextContentControllerBaseInternal } from "./ArkTextContentControllerBaseMaterialized" import { SelectionOptions } from "./ArkCommonInterfaces" import { INTERFACE_TextAreaController } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -50,16 +50,11 @@ import { } from "@koalaui/interop" -export class TextAreaController extends TextContentControllerBase implements MaterializedBase,INTERFACE_TextAreaController { - peer?: Finalizable +export class TextAreaController extends TextContentControllerBase implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TextAreaController { - const objTextAreaController : TextAreaController = new TextAreaController() - objTextAreaController.peer = new Finalizable(ptr, TextAreaController.getFinalizer()) - return objTextAreaController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TextAreaController_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkTextAreaInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkTextAreaInterfaces.ts index 3169d331f..9e7e0c912 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextAreaInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextAreaInterfaces.ts @@ -3,7 +3,8 @@ import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from import { NodeAttach, remember } from "@koalaui/runtime" import { ResourceStr, ResourceColor, Font, Length, Dimension } from "./ArkUnitsInterfaces" import { TextAreaController } from "./ArkTextAreaControllerMaterialized" -import { EnterKeyType, SubmitEvent } from "./ArkTextInputInterfaces" +import { EnterKeyType } from "./ArkTextInputInterfaces" +import { SubmitEvent } from "./ArkSubmitEventMaterialized" import { CommonMethod, TextDecorationOptions, InputCounterOptions, CustomBuilder } from "./ArkCommonInterfaces" import { TextAlign, FontStyle, FontWeight, TextOverflow, CopyOptions, TextContentStyle, BarState, TextHeightAdaptivePolicy, WordBreak, LineBreakStrategy } from "./ArkEnumsInterfaces" import { CaretStyle, EditableTextOnChangeCallback, InsertValue, DeleteValue } from "./ArkTextCommonInterfaces" diff --git a/arkoala-arkts/arkui/src/generated/ArkTextBaseControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextBaseControllerMaterialized.ts index 24cfec10b..bfb36bc28 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextBaseControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextBaseControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -17,7 +17,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { SelectionOptions } from "./ArkCommonInterfaces" -import { LayoutManager } from "./ArkLayoutManagerMaterialized" +import { LayoutManager, LayoutManagerInternal } from "./ArkLayoutManagerMaterialized" import { INTERFACE_TextBaseController } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -50,24 +50,24 @@ import { } from "@koalaui/interop" -export class TextBaseController implements MaterializedBase,INTERFACE_TextBaseController { - peer?: Finalizable +export interface TextBaseController { + setSelection(selectionStart: number, selectionEnd: number, options: SelectionOptions): void + closeSelectionMenu(): void + getLayoutManager(): LayoutManager +} +export class TextBaseControllerInternal implements MaterializedBase,TextBaseController { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TextBaseController { - const objTextBaseController : TextBaseController = new TextBaseController() - objTextBaseController.peer = new Finalizable(ptr, TextBaseController.getFinalizer()) - return objTextBaseController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TextBaseController_ctor() return retval } constructor() { { - const ctorPtr : KPointer = TextBaseController.ctor() - this.peer = new Finalizable(ctorPtr, TextBaseController.getFinalizer()) + const ctorPtr : KPointer = TextBaseControllerInternal.ctor() + this.peer = new Finalizable(ctorPtr, TextBaseControllerInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -106,11 +106,9 @@ export class TextBaseController implements MaterializedBase,INTERFACE_TextBaseCo const retval = ArkUIGeneratedNativeModule._TextBaseController_getLayoutManager(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } -} -export class TextBaseControllerInternal { - public static fromPtr(ptr: KPointer): TextBaseController { - const obj : TextBaseController = new TextBaseController() - obj.peer = new Finalizable(ptr, TextBaseController.getFinalizer()) + public static fromPtr(ptr: KPointer): TextBaseControllerInternal { + const obj : TextBaseControllerInternal = new TextBaseControllerInternal() + obj.peer = new Finalizable(ptr, TextBaseControllerInternal.getFinalizer()) return obj } } diff --git a/arkoala-arkts/arkui/src/generated/ArkTextClock.ts b/arkoala-arkts/arkui/src/generated/ArkTextClock.ts index 0a61b3637..f24b7c5a1 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextClock.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextClock.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkTextClockControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextClockControllerMaterialized.ts index fcd11a06e..98996434a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextClockControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextClockControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class TextClockController implements MaterializedBase,INTERFACE_TextClockController { - peer?: Finalizable +export class TextClockController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TextClockController { - const objTextClockController : TextClockController = new TextClockController() - objTextClockController.peer = new Finalizable(ptr, TextClockController.getFinalizer()) - return objTextClockController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TextClockController_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkTextContentControllerBaseMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextContentControllerBaseMaterialized.ts index ba8cdc45f..9f2dab63d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextContentControllerBaseMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextContentControllerBaseMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class TextContentControllerBase implements MaterializedBase,INTERFACE_TextContentControllerBase { - peer?: Finalizable +export class TextContentControllerBase implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TextContentControllerBase { - const objTextContentControllerBase : TextContentControllerBase = new TextContentControllerBase() - objTextContentControllerBase.peer = new Finalizable(ptr, TextContentControllerBase.getFinalizer()) - return objTextContentControllerBase - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TextContentControllerBase_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkTextControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextControllerMaterialized.ts index 18cf8919c..fa0456fb4 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,8 +16,8 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { StyledString } from "./ArkStyledStringMaterialized" -import { LayoutManager } from "./ArkLayoutManagerMaterialized" +import { StyledString, StyledStringInternal } from "./ArkStyledStringMaterialized" +import { LayoutManager, LayoutManagerInternal } from "./ArkLayoutManagerMaterialized" import { INTERFACE_TextController } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -50,16 +50,11 @@ import { } from "@koalaui/interop" -export class TextController implements MaterializedBase,INTERFACE_TextController { - peer?: Finalizable +export class TextController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TextController { - const objTextController : TextController = new TextController() - objTextController.peer = new Finalizable(ptr, TextController.getFinalizer()) - return objTextController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TextController_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkTextEditControllerExMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextEditControllerExMaterialized.ts index 6801aa802..46a8d18d1 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextEditControllerExMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextEditControllerExMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,7 +16,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { TextBaseController } from "./ArkTextBaseControllerMaterialized" +import { TextBaseController, TextBaseControllerInternal } from "./ArkTextBaseControllerMaterialized" import { PreviewText } from "./ArkTextCommonInterfaces" import { INTERFACE_TextEditControllerEx } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -50,16 +50,18 @@ import { } from "@koalaui/interop" -export class TextEditControllerEx extends TextBaseController implements MaterializedBase,INTERFACE_TextEditControllerEx { - peer?: Finalizable +export interface TextEditControllerEx { + isEditing(): boolean + stopEditing(): void + setCaretOffset(offset: number): boolean + getCaretOffset(): number + getPreviewText(): PreviewText +} +export class TextEditControllerExInternal extends TextBaseControllerInternal implements MaterializedBase,TextEditControllerEx { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TextEditControllerEx { - const objTextEditControllerEx : TextEditControllerEx = new TextEditControllerEx() - objTextEditControllerEx.peer = new Finalizable(ptr, TextEditControllerEx.getFinalizer()) - return objTextEditControllerEx - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TextEditControllerEx_ctor() return retval @@ -67,8 +69,8 @@ export class TextEditControllerEx extends TextBaseController implements Material constructor() { super() { - const ctorPtr : KPointer = TextEditControllerEx.ctor() - this.peer = new Finalizable(ctorPtr, TextEditControllerEx.getFinalizer()) + const ctorPtr : KPointer = TextEditControllerExInternal.ctor() + this.peer = new Finalizable(ctorPtr, TextEditControllerExInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -110,11 +112,9 @@ export class TextEditControllerEx extends TextBaseController implements Material const retval = ArkUIGeneratedNativeModule._TextEditControllerEx_getPreviewText(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } -} -export class TextEditControllerExInternal { - public static fromPtr(ptr: KPointer): TextEditControllerEx { - const obj : TextEditControllerEx = new TextEditControllerEx() - obj.peer = new Finalizable(ptr, TextEditControllerEx.getFinalizer()) + public static fromPtr(ptr: KPointer): TextEditControllerExInternal { + const obj : TextEditControllerExInternal = new TextEditControllerExInternal() + obj.peer = new Finalizable(ptr, TextEditControllerExInternal.getFinalizer()) return obj } } diff --git a/arkoala-arkts/arkui/src/generated/ArkTextInput.ts b/arkoala-arkts/arkui/src/generated/ArkTextInput.ts index 72a24096c..f3da9310a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextInput.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextInput.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkTextInputControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextInputControllerMaterialized.ts index f63c58470..2dd023dec 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextInputControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextInputControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,7 +16,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { TextContentControllerBase } from "./ArkTextContentControllerBaseMaterialized" +import { TextContentControllerBase, TextContentControllerBaseInternal } from "./ArkTextContentControllerBaseMaterialized" import { SelectionOptions } from "./ArkCommonInterfaces" import { INTERFACE_TextInputController } from "./SyntheticDeclarations" import { TypeChecker } from "#components" @@ -50,16 +50,11 @@ import { } from "@koalaui/interop" -export class TextInputController extends TextContentControllerBase implements MaterializedBase,INTERFACE_TextInputController { - peer?: Finalizable +export class TextInputController extends TextContentControllerBase implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TextInputController { - const objTextInputController : TextInputController = new TextInputController() - objTextInputController.peer = new Finalizable(ptr, TextInputController.getFinalizer()) - return objTextInputController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TextInputController_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkTextInputInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkTextInputInterfaces.ts index 40c209c13..89ff9d35d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextInputInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextInputInterfaces.ts @@ -4,6 +4,7 @@ import { NodeAttach, remember } from "@koalaui/runtime" import { ResourceColor, ResourceStr, Dimension, Font, Length } from "./ArkUnitsInterfaces" import { TextInputController } from "./ArkTextInputControllerMaterialized" import { Resource } from "./ArkResourceInterfaces" +import { SubmitEvent } from "./ArkSubmitEventMaterialized" import { PasteEvent, KeyboardOptions } from "./ArkRichEditorInterfaces" import { CommonMethod, CustomBuilder, TextDecorationOptions, InputCounterOptions } from "./ArkCommonInterfaces" import { ContentType } from "./ArkTextAreaInterfaces" @@ -50,9 +51,6 @@ export interface UnderlineColor { error?: ResourceColor | undefined; disable?: ResourceColor | undefined; } -export interface SubmitEvent { - text: string; -} export interface TextInputOptions { placeholder?: ResourceStr; text?: ResourceStr; diff --git a/arkoala-arkts/arkui/src/generated/ArkTextMenuItemIdMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextMenuItemIdMaterialized.ts index 371be03e0..7ba7acbe4 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextMenuItemIdMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextMenuItemIdMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -50,8 +50,8 @@ import { } from "@koalaui/interop" -export class TextMenuItemId implements MaterializedBase,INTERFACE_TextMenuItemId { - peer?: Finalizable +export class TextMenuItemId implements MaterializedBase { + peer?: Finalizable | undefined get CUT(): TextMenuItemId { throw new Error("Not implemented") } @@ -76,11 +76,6 @@ export class TextMenuItemId implements MaterializedBase,INTERFACE_TextMenuItemId getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TextMenuItemId { - const objTextMenuItemId : TextMenuItemId = new TextMenuItemId() - objTextMenuItemId.peer = new Finalizable(ptr, TextMenuItemId.getFinalizer()) - return objTextMenuItemId - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TextMenuItemId_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkTextPicker.ts b/arkoala-arkts/arkui/src/generated/ArkTextPicker.ts index 56908ef8f..d05927362 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextPicker.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextPicker.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkTextPickerDialogMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextPickerDialogMaterialized.ts index 7f08b094f..a6d21914b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextPickerDialogMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextPickerDialogMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class TextPickerDialog implements MaterializedBase,INTERFACE_TextPickerDialog { - peer?: Finalizable +export class TextPickerDialog implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TextPickerDialog { - const objTextPickerDialog : TextPickerDialog = new TextPickerDialog() - objTextPickerDialog.peer = new Finalizable(ptr, TextPickerDialog.getFinalizer()) - return objTextPickerDialog - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TextPickerDialog_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkTextTimer.ts b/arkoala-arkts/arkui/src/generated/ArkTextTimer.ts index d8e572d67..e97357ecd 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextTimer.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextTimer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkTextTimerControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextTimerControllerMaterialized.ts index 52f886804..3d542bf83 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextTimerControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextTimerControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class TextTimerController implements MaterializedBase,INTERFACE_TextTimerController { - peer?: Finalizable +export class TextTimerController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TextTimerController { - const objTextTimerController : TextTimerController = new TextTimerController() - objTextTimerController.peer = new Finalizable(ptr, TextTimerController.getFinalizer()) - return objTextTimerController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TextTimerController_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkTimePicker.ts b/arkoala-arkts/arkui/src/generated/ArkTimePicker.ts index e16762d2b..0b1fa40ae 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTimePicker.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTimePicker.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkTimePickerDialogMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTimePickerDialogMaterialized.ts index 0e849f790..a3cd78134 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTimePickerDialogMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTimePickerDialogMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class TimePickerDialog implements MaterializedBase,INTERFACE_TimePickerDialog { - peer?: Finalizable +export class TimePickerDialog implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TimePickerDialog { - const objTimePickerDialog : TimePickerDialog = new TimePickerDialog() - objTimePickerDialog.peer = new Finalizable(ptr, TimePickerDialog.getFinalizer()) - return objTimePickerDialog - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TimePickerDialog_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkToggle.ts b/arkoala-arkts/arkui/src/generated/ArkToggle.ts index f621f3a58..aa7c930a8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkToggle.ts +++ b/arkoala-arkts/arkui/src/generated/ArkToggle.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkTouchEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTouchEventMaterialized.ts new file mode 100644 index 000000000..8f23744b4 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkTouchEventMaterialized.ts @@ -0,0 +1,190 @@ +/* + * 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 { BaseEvent, BaseEventInternal } from "./ArkBaseEventMaterialized" +import { TouchType } from "./ArkEnumsInterfaces" +import { TouchObject, HistoricalPoint } from "./ArkCommonInterfaces" +import { Callback_Void, INTERFACE_TouchEvent } from "./SyntheticDeclarations" +import { TypeChecker } from "#components" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { ArkUIGeneratedNativeModule } from "#components" +import { wrapCallback, NativeBuffer } from "@koalaui/interop" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export interface TouchEvent { + type: TouchType + touches: Array + changedTouches: Array + stopPropagation: (() => void) + preventDefault: (() => void) + getHistoricalPoints(): Array +} +export class TouchEventInternal extends BaseEventInternal implements MaterializedBase,TouchEvent { + peer?: Finalizable | undefined + 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) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._TouchEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr : KPointer = TouchEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, TouchEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._TouchEvent_getFinalizer() + } + 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 setTouches(touches: Array): void { + const touches_casted = touches as (Array) + this.setTouches_serialize(touches_casted) + return + } + private setChangedTouches(changedTouches: Array): void { + const changedTouches_casted = changedTouches as (Array) + this.setChangedTouches_serialize(changedTouches_casted) + return + } + private setStopPropagation(stopPropagation: (() => void)): void { + const stopPropagation_casted = stopPropagation as ((() => void)) + this.setStopPropagation_serialize(stopPropagation_casted) + return + } + 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) + throw new Error("Object deserialization is not implemented.") + } + private getType_serialize(): TouchType { + const retval = ArkUIGeneratedNativeModule._TouchEvent_getType(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setType_serialize(type: TouchType): void { + ArkUIGeneratedNativeModule._TouchEvent_setType(this.peer!.ptr, (type.valueOf() as int32)) + } + private setTouches_serialize(touches: Array): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeInt32(touches.length as int32) + 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.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setChangedTouches_serialize(changedTouches: Array): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeInt32(changedTouches.length as int32) + 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.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setStopPropagation_serialize(stopPropagation: (() => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(stopPropagation) + ArkUIGeneratedNativeModule._TouchEvent_setStopPropagation(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setPreventDefault_serialize(preventDefault: (() => void)): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(preventDefault) + ArkUIGeneratedNativeModule._TouchEvent_setPreventDefault(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + public static fromPtr(ptr: KPointer): TouchEventInternal { + const obj : TouchEventInternal = new TouchEventInternal() + obj.peer = new Finalizable(ptr, TouchEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTransitionEffectMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTransitionEffectMaterialized.ts index d78984e53..763adc980 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTransitionEffectMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTransitionEffectMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,8 +49,8 @@ import { } from "@koalaui/interop" -export class TransitionEffect implements MaterializedBase,INTERFACE_TransitionEffect { - peer?: Finalizable +export class TransitionEffect implements MaterializedBase { + peer?: Finalizable | undefined get IDENTITY(): TransitionEffect { throw new Error("Not implemented") } @@ -66,11 +66,6 @@ export class TransitionEffect implements MaterializedBase,INTERFACE_TransitionEf getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TransitionEffect { - const objTransitionEffect : TransitionEffect = new TransitionEffect() - objTransitionEffect.peer = new Finalizable(ptr, TransitionEffect.getFinalizer()) - return objTransitionEffect - } static ctor(type: string, effect: TransitionEffects): KPointer { const thisSerializer : Serializer = Serializer.hold() const effect_identity = effect.identity @@ -191,14 +186,18 @@ export class TransitionEffect implements MaterializedBase,INTERFACE_TransitionEf thisSerializer.writeAnimateParam(value) const retval = ArkUIGeneratedNativeModule._TransitionEffect_animation(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() - return this + const obj : TransitionEffect = new TransitionEffect() + obj.peer = new Finalizable(retval, TransitionEffect.getFinalizer()) + return obj } private combine_serialize(transitionEffect: TransitionEffect): TransitionEffect { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeTransitionEffect(transitionEffect) const retval = ArkUIGeneratedNativeModule._TransitionEffect_combine(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() - return this + const obj : TransitionEffect = new TransitionEffect() + obj.peer = new Finalizable(retval, TransitionEffect.getFinalizer()) + return obj } } export class TransitionEffectInternal { diff --git a/arkoala-arkts/arkui/src/generated/ArkUICommonEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkUICommonEventMaterialized.ts new file mode 100644 index 000000000..7acf8fe5e --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkUICommonEventMaterialized.ts @@ -0,0 +1,281 @@ +/* + * 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 { Callback_ClickEvent_Void, Callback_TouchEvent_Void, Callback_Void, Callback_KeyEvent_Void, Callback_MouseEvent_Void, INTERFACE_UICommonEvent } from "./SyntheticDeclarations" +import { ClickEvent, ClickEventInternal } from "./ArkClickEventMaterialized" +import { TouchEvent, TouchEventInternal } from "./ArkTouchEventMaterialized" +import { KeyEvent, KeyEventInternal } from "./ArkKeyEventMaterialized" +import { HoverCallback, SizeChangeCallback, VisibleAreaEventOptions, VisibleAreaChangeCallback } from "./ArkCommonInterfaces" +import { MouseEvent, MouseEventInternal } from "./ArkMouseEventMaterialized" +import { TypeChecker } from "#components" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback } from "./peers/SerializerBase" +import { ArkUIGeneratedNativeModule } from "#components" +import { wrapCallback, NativeBuffer } from "@koalaui/interop" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export interface UICommonEvent { + setOnClick(callback_?: ((event: ClickEvent) => void)): void + setOnTouch(callback_?: ((event: TouchEvent) => void)): void + setOnAppear(callback_?: (() => void)): void + setOnDisappear(callback_?: (() => void)): void + setOnKeyEvent(callback_?: ((event: KeyEvent) => void)): void + setOnFocus(callback_?: (() => void)): void + setOnBlur(callback_?: (() => void)): void + setOnHover(callback_?: HoverCallback): void + setOnMouse(callback_?: ((event: MouseEvent) => void)): void + setOnSizeChange(callback_?: SizeChangeCallback): void + setOnVisibleAreaApproximateChange(options: VisibleAreaEventOptions, event?: VisibleAreaChangeCallback): void +} +export class UICommonEventInternal implements MaterializedBase,UICommonEvent { + peer?: Finalizable | undefined + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._UICommonEvent_ctor() + return retval + } + constructor() { + { + const ctorPtr : KPointer = UICommonEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, UICommonEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._UICommonEvent_getFinalizer() + } + setOnClick(callback_?: ((event: ClickEvent) => void)): void { + const callback__casted = callback_ as (((event: ClickEvent) => void) | undefined) + this.setOnClick_serialize(callback__casted) + return + } + setOnTouch(callback_?: ((event: TouchEvent) => void)): void { + const callback__casted = callback_ as (((event: TouchEvent) => void) | undefined) + this.setOnTouch_serialize(callback__casted) + return + } + setOnAppear(callback_?: (() => void)): void { + const callback__casted = callback_ as ((() => void) | undefined) + this.setOnAppear_serialize(callback__casted) + return + } + setOnDisappear(callback_?: (() => void)): void { + const callback__casted = callback_ as ((() => void) | undefined) + this.setOnDisappear_serialize(callback__casted) + return + } + setOnKeyEvent(callback_?: ((event: KeyEvent) => void)): void { + const callback__casted = callback_ as (((event: KeyEvent) => void) | undefined) + this.setOnKeyEvent_serialize(callback__casted) + return + } + setOnFocus(callback_?: (() => void)): void { + const callback__casted = callback_ as ((() => void) | undefined) + this.setOnFocus_serialize(callback__casted) + return + } + setOnBlur(callback_?: (() => void)): void { + const callback__casted = callback_ as ((() => void) | undefined) + this.setOnBlur_serialize(callback__casted) + return + } + setOnHover(callback_?: HoverCallback): void { + const callback__casted = callback_ as (HoverCallback | undefined) + this.setOnHover_serialize(callback__casted) + return + } + setOnMouse(callback_?: ((event: MouseEvent) => void)): void { + const callback__casted = callback_ as (((event: MouseEvent) => void) | undefined) + this.setOnMouse_serialize(callback__casted) + return + } + setOnSizeChange(callback_?: SizeChangeCallback): void { + const callback__casted = callback_ as (SizeChangeCallback | undefined) + this.setOnSizeChange_serialize(callback__casted) + return + } + setOnVisibleAreaApproximateChange(options: VisibleAreaEventOptions, event?: VisibleAreaChangeCallback): void { + const options_casted = options as (VisibleAreaEventOptions) + const event_casted = event as (VisibleAreaChangeCallback | undefined) + this.setOnVisibleAreaApproximateChange_serialize(options_casted, event_casted) + return + } + private setOnClick_serialize(callback_?: ((event: ClickEvent) => void)): void { + const thisSerializer : Serializer = Serializer.hold() + let callback__type : int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type as int32) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnClick(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setOnTouch_serialize(callback_?: ((event: TouchEvent) => void)): void { + const thisSerializer : Serializer = Serializer.hold() + let callback__type : int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type as int32) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnTouch(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setOnAppear_serialize(callback_?: (() => void)): void { + const thisSerializer : Serializer = Serializer.hold() + let callback__type : int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type as int32) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnAppear(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setOnDisappear_serialize(callback_?: (() => void)): void { + const thisSerializer : Serializer = Serializer.hold() + let callback__type : int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type as int32) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnDisappear(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setOnKeyEvent_serialize(callback_?: ((event: KeyEvent) => void)): void { + const thisSerializer : Serializer = Serializer.hold() + let callback__type : int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type as int32) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnKeyEvent(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setOnFocus_serialize(callback_?: (() => void)): void { + const thisSerializer : Serializer = Serializer.hold() + let callback__type : int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type as int32) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnFocus(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setOnBlur_serialize(callback_?: (() => void)): void { + const thisSerializer : Serializer = Serializer.hold() + let callback__type : int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type as int32) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnBlur(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setOnHover_serialize(callback_?: HoverCallback): void { + const thisSerializer : Serializer = Serializer.hold() + let callback__type : int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type as int32) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnHover(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setOnMouse_serialize(callback_?: ((event: MouseEvent) => void)): void { + const thisSerializer : Serializer = Serializer.hold() + let callback__type : int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type as int32) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnMouse(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setOnSizeChange_serialize(callback_?: SizeChangeCallback): void { + const thisSerializer : Serializer = Serializer.hold() + let callback__type : int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type as int32) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnSizeChange(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setOnVisibleAreaApproximateChange_serialize(options: VisibleAreaEventOptions, event?: VisibleAreaChangeCallback): void { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeVisibleAreaEventOptions(options) + let event_type : int32 = RuntimeType.UNDEFINED + event_type = runtimeType(event) + thisSerializer.writeInt8(event_type as int32) + if ((RuntimeType.UNDEFINED) != (event_type)) { + const event_value = event! + thisSerializer.holdAndWriteCallback(event_value) + } + ArkUIGeneratedNativeModule._UICommonEvent_setOnVisibleAreaApproximateChange(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + public static fromPtr(ptr: KPointer): UICommonEventInternal { + const obj : UICommonEventInternal = new UICommonEventInternal() + obj.peer = new Finalizable(ptr, UICommonEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala-arkts/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts index 6d4458b5b..4d1c4d588 100644 --- a/arkoala-arkts/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,24 +48,27 @@ import { } from "@koalaui/interop" -export class UIExtensionProxy implements MaterializedBase,INTERFACE_UIExtensionProxy { - peer?: Finalizable +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)): void + offSyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void +} +export class UIExtensionProxyInternal implements MaterializedBase,UIExtensionProxy { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): UIExtensionProxy { - const objUIExtensionProxy : UIExtensionProxy = new UIExtensionProxy() - objUIExtensionProxy.peer = new Finalizable(ptr, UIExtensionProxy.getFinalizer()) - return objUIExtensionProxy - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._UIExtensionProxy_ctor() return retval } constructor() { { - const ctorPtr : KPointer = UIExtensionProxy.ctor() - this.peer = new Finalizable(ctorPtr, UIExtensionProxy.getFinalizer()) + const ctorPtr : KPointer = UIExtensionProxyInternal.ctor() + this.peer = new Finalizable(ctorPtr, UIExtensionProxyInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -80,30 +83,30 @@ export class UIExtensionProxy implements MaterializedBase,INTERFACE_UIExtensionP const data_casted = data as (Map) return this.sendSync_serialize(data_casted) } - onAsyncReceiverRegister(callback: ((parameter: UIExtensionProxy) => void)): void { - const callback_casted = callback as (((parameter: UIExtensionProxy) => void)) - this.onAsyncReceiverRegister_serialize(callback_casted) + onAsyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void { + const callback__casted = callback_ as (((parameter: UIExtensionProxy) => void)) + this.onAsyncReceiverRegister_serialize(callback__casted) return } - onSyncReceiverRegister(callback: ((parameter: UIExtensionProxy) => void)): void { - const callback_casted = callback as (((parameter: UIExtensionProxy) => void)) - this.onSyncReceiverRegister_serialize(callback_casted) + onSyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void { + const callback__casted = callback_ as (((parameter: UIExtensionProxy) => void)) + this.onSyncReceiverRegister_serialize(callback__casted) return } - offAsyncReceiverRegister(callback?: ((parameter: UIExtensionProxy) => void)): void { - const callback_casted = callback as (((parameter: UIExtensionProxy) => void) | undefined) - this.offAsyncReceiverRegister_serialize(callback_casted) + offAsyncReceiverRegister(callback_?: ((parameter: UIExtensionProxy) => void)): void { + const callback__casted = callback_ as (((parameter: UIExtensionProxy) => void) | undefined) + this.offAsyncReceiverRegister_serialize(callback__casted) return } - offSyncReceiverRegister(callback?: ((parameter: UIExtensionProxy) => void)): void { - const callback_casted = callback as (((parameter: UIExtensionProxy) => void) | undefined) - this.offSyncReceiverRegister_serialize(callback_casted) + 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 { + on(type: string, callback_: ((parameter: UIExtensionProxy) => void)): void { throw new Error("TBD") } - off(type: string, callback: ((parameter: UIExtensionProxy) => void)): void { + off(type: string, callback_: ((parameter: UIExtensionProxy) => void)): void { throw new Error("TBD") } private send_serialize(data: Map): void { @@ -121,47 +124,45 @@ export class UIExtensionProxy implements MaterializedBase,INTERFACE_UIExtensionP thisSerializer.release() throw new Error("Object deserialization is not implemented.") } - private onAsyncReceiverRegister_serialize(callback: ((parameter: UIExtensionProxy) => void)): void { + private onAsyncReceiverRegister_serialize(callback_: ((parameter: UIExtensionProxy) => void)): void { const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(callback) + thisSerializer.holdAndWriteCallback(callback_) ArkUIGeneratedNativeModule._UIExtensionProxy_onAsyncReceiverRegister(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - private onSyncReceiverRegister_serialize(callback: ((parameter: UIExtensionProxy) => void)): void { + private onSyncReceiverRegister_serialize(callback_: ((parameter: UIExtensionProxy) => void)): void { const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(callback) + thisSerializer.holdAndWriteCallback(callback_) ArkUIGeneratedNativeModule._UIExtensionProxy_onSyncReceiverRegister(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - private offAsyncReceiverRegister_serialize(callback?: ((parameter: UIExtensionProxy) => void)): void { + 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 as int32) - if ((RuntimeType.UNDEFINED) != (callback_type)) { - const callback_value = callback! - thisSerializer.holdAndWriteCallback(callback_value) + let callback__type : int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type as int32) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) } ArkUIGeneratedNativeModule._UIExtensionProxy_offAsyncReceiverRegister(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - private offSyncReceiverRegister_serialize(callback?: ((parameter: UIExtensionProxy) => void)): void { + 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 as int32) - if ((RuntimeType.UNDEFINED) != (callback_type)) { - const callback_value = callback! - thisSerializer.holdAndWriteCallback(callback_value) + let callback__type : int32 = RuntimeType.UNDEFINED + callback__type = runtimeType(callback_) + thisSerializer.writeInt8(callback__type as int32) + if ((RuntimeType.UNDEFINED) != (callback__type)) { + const callback__value = callback_! + thisSerializer.holdAndWriteCallback(callback__value) } ArkUIGeneratedNativeModule._UIExtensionProxy_offSyncReceiverRegister(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } -} -export class UIExtensionProxyInternal { - public static fromPtr(ptr: KPointer): UIExtensionProxy { - const obj : UIExtensionProxy = new UIExtensionProxy() - obj.peer = new Finalizable(ptr, UIExtensionProxy.getFinalizer()) + public static fromPtr(ptr: KPointer): UIExtensionProxyInternal { + const obj : UIExtensionProxyInternal = new UIExtensionProxyInternal() + obj.peer = new Finalizable(ptr, UIExtensionProxyInternal.getFinalizer()) return obj } } diff --git a/arkoala-arkts/arkui/src/generated/ArkUiExtensionComponent.ts b/arkoala-arkts/arkui/src/generated/ArkUiExtensionComponent.ts index a29706bce..d4bf69907 100644 --- a/arkoala-arkts/arkui/src/generated/ArkUiExtensionComponent.ts +++ b/arkoala-arkts/arkui/src/generated/ArkUiExtensionComponent.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkUnifiedDataMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkUnifiedDataMaterialized.ts index 9460f6019..f68a26d7e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkUnifiedDataMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkUnifiedDataMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class UnifiedData implements MaterializedBase,INTERFACE_UnifiedData { - peer?: Finalizable +export class UnifiedData implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): UnifiedData { - const objUnifiedData : UnifiedData = new UnifiedData() - objUnifiedData.peer = new Finalizable(ptr, UnifiedData.getFinalizer()) - return objUnifiedData - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._UnifiedData_ctor() return retval @@ -71,15 +66,15 @@ export class UnifiedData implements MaterializedBase,INTERFACE_UnifiedData { static getFinalizer(): KPointer { return ArkUIGeneratedNativeModule._UnifiedData_getFinalizer() } - hasType(type: string): boolean { - const type_casted = type as (string) - return this.hasType_serialize(type_casted) + hasType(UnifiedData_type: string): boolean { + const UnifiedData_type_casted = UnifiedData_type as (string) + return this.hasType_serialize(UnifiedData_type_casted) } getTypes(): Array { return this.getTypes_serialize() } - private hasType_serialize(type: string): boolean { - const retval = ArkUIGeneratedNativeModule._UnifiedData_hasType(this.peer!.ptr, type) + private hasType_serialize(UnifiedData_type: string): boolean { + const retval = ArkUIGeneratedNativeModule._UnifiedData_hasType(this.peer!.ptr, UnifiedData_type) return retval } private getTypes_serialize(): Array { diff --git a/arkoala-arkts/arkui/src/generated/ArkVideo.ts b/arkoala-arkts/arkui/src/generated/ArkVideo.ts index 03b93c981..171853f06 100644 --- a/arkoala-arkts/arkui/src/generated/ArkVideo.ts +++ b/arkoala-arkts/arkui/src/generated/ArkVideo.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkVideoControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkVideoControllerMaterialized.ts index 14f6720a2..c282e4d0d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkVideoControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkVideoControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class VideoController implements MaterializedBase,INTERFACE_VideoController { - peer?: Finalizable +export class VideoController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): VideoController { - const objVideoController : VideoController = new VideoController() - objVideoController.peer = new Finalizable(ptr, VideoController.getFinalizer()) - return objVideoController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._VideoController_ctor() return retval @@ -84,15 +79,15 @@ export class VideoController implements MaterializedBase,INTERFACE_VideoControll setCurrentTime(value: number, seekMode?: SeekMode): undefined { const value_type = runtimeType(value) const seekMode_type = runtimeType(seekMode) + if ((((RuntimeType.UNDEFINED == seekMode_type)))) { + const value_casted = value as (number) + return this.setCurrentTime0_serialize(value_casted) + } if ((((TypeChecker.isSeekMode(seekMode))))) { const value_casted = value as (number) const seekMode_casted = seekMode as (SeekMode) return this.setCurrentTime1_serialize(value_casted, seekMode_casted) } - if ((((RuntimeType.UNDEFINED == seekMode_type)))) { - const value_casted = value as (number) - return this.setCurrentTime0_serialize(value_casted) - } throw new Error("Can not select appropriate overload") } requestFullscreen(value: boolean): undefined { diff --git a/arkoala-arkts/arkui/src/generated/ArkViewMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkViewMaterialized.ts index 51a44de7a..cb7f83ef9 100644 --- a/arkoala-arkts/arkui/src/generated/ArkViewMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkViewMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class View implements MaterializedBase,INTERFACE_View { - peer?: Finalizable +export class View implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): View { - const objView : View = new View() - objView.peer = new Finalizable(ptr, View.getFinalizer()) - return objView - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._View_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkWaterFlow.ts b/arkoala-arkts/arkui/src/generated/ArkWaterFlow.ts index f4a1d6384..f88a45129 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWaterFlow.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWaterFlow.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -132,17 +132,17 @@ export class ArkWaterFlowComponent extends ArkScrollableCommonMethodComponent { if (this.checkPriority("cachedCount")) { const count_type = runtimeType(count) const show_type = runtimeType(show) + if ((((RuntimeType.UNDEFINED == show_type)))) { + const value_casted = count as (number) + this.getPeer()?.cachedCount0Attribute(value_casted) + return this + } if ((((RuntimeType.BOOLEAN == show_type)))) { const count_casted = count as (number) const show_casted = show as (boolean) this.getPeer()?.cachedCount1Attribute(count_casted, show_casted) return this } - if ((((RuntimeType.UNDEFINED == show_type)))) { - const count_casted = count as (number) - this.getPeer()?.cachedCount0Attribute(count_casted) - return this - } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala-arkts/arkui/src/generated/ArkWaterFlowSectionsMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWaterFlowSectionsMaterialized.ts index bfb3f574b..19775765a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWaterFlowSectionsMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWaterFlowSectionsMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class WaterFlowSections implements MaterializedBase,INTERFACE_WaterFlowSections { - peer?: Finalizable +export class WaterFlowSections implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): WaterFlowSections { - const objWaterFlowSections : WaterFlowSections = new WaterFlowSections() - objWaterFlowSections.peer = new Finalizable(ptr, WaterFlowSections.getFinalizer()) - return objWaterFlowSections - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._WaterFlowSections_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkWeb.ts b/arkoala-arkts/arkui/src/generated/ArkWeb.ts index 1b785662e..115f8d8f9 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWeb.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWeb.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -25,11 +25,12 @@ import { TypeChecker } from "#components" import { ArkCommonMethodComponent } from "./ArkCommon" import { ArkWebPeer } from "./peers/ArkWebPeer" import { UseEventsProperties } from "./use_properties" -import { CommonMethod, KeyEvent, NestedScrollOptions, CustomBuilder } from "./ArkCommonInterfaces" +import { CommonMethod, NestedScrollOptions, CustomBuilder } from "./ArkCommonInterfaces" import { WebAttribute, MixedMode, JavaScriptProxy, CacheMode, WebDarkMode, WebMediaOptions, OverScrollMode, OnPageEndEvent, OnPageBeginEvent, OnProgressChangeEvent, OnTitleReceiveEvent, OnGeolocationShowEvent, OnAlertEvent, OnBeforeUnloadEvent, OnConfirmEvent, OnPromptEvent, OnConsoleEvent, OnErrorReceiveEvent, OnHttpErrorReceiveEvent, OnDownloadStartEvent, OnRefreshAccessedHistoryEvent, OnRenderExitedEvent, OnShowFileSelectorEvent, OnResourceLoadEvent, OnFullScreenEnterCallback, OnScaleChangeEvent, OnHttpAuthRequestEvent, OnInterceptRequestEvent, OnPermissionRequestEvent, OnScreenCaptureRequestEvent, OnContextMenuShowEvent, OnContextMenuHideCallback, OnSearchResultReceiveEvent, OnScrollEvent, OnSslErrorEventReceiveEvent, OnSslErrorEventCallback, OnClientAuthenticationEvent, OnWindowNewEvent, OnTouchIconUrlReceivedEvent, OnFaviconReceivedEvent, OnPageVisibleEvent, OnDataResubmittedEvent, OnAudioStateChangedEvent, OnFirstContentfulPaintEvent, OnFirstMeaningfulPaintCallback, OnLargestContentfulPaintCallback, OnLoadInterceptEvent, OnOverScrollEvent, OnSafeBrowsingCheckResultCallback, OnNavigationEntryCommittedCallback, OnIntelligentTrackingPreventionCallback, ScriptItem, WebLayoutMode, NestedScrollOptionsExt, NativeEmbedDataInfo, OnNativeEmbedVisibilityChangeCallback, NativeEmbedTouchInfo, OnOverrideUrlLoadingCallback, NativeMediaPlayerConfig, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, ExpandedMenuItemOptions, OnViewportFitChangedCallback, WebKeyboardCallback, OnAdsBlockedCallback, WebKeyboardAvoidMode, WebElementType, WebResponseType, SelectionMenuOptionsExt, WebOptions } from "./ArkWebInterfaces" -import { Callback_OnPageEndEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_Void, Callback_OnGeolocationShowEvent_Void, Callback_OnAlertEvent_Boolean, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnConfirmEvent_Boolean, Callback_OnPromptEvent_Boolean, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnRefreshAccessedHistoryEvent_Void, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Callback_OnRenderExitedEvent_Void, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Callback_Literal_Function_callback_Object_fileSelector_Void, Literal_Function_callback_Object_fileSelector, Callback_OnResourceLoadEvent_Void, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnPermissionRequestEvent_Void, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnContextMenuShowEvent_Boolean, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnClientAuthenticationEvent_Void, Callback_OnWindowNewEvent_Void, Callback_KeyEvent_Boolean, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnLoadInterceptEvent_Boolean, Callback_OnOverScrollEvent_Void, Callback_NativeEmbedDataInfo_Void, Callback_NativeEmbedTouchInfo_Void } from "./SyntheticDeclarations" +import { Callback_OnPageEndEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_Void, Callback_OnGeolocationShowEvent_Void, Callback_OnAlertEvent_Boolean, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnConfirmEvent_Boolean, Callback_OnPromptEvent_Boolean, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnRefreshAccessedHistoryEvent_Void, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Callback_OnRenderExitedEvent_Void, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Type_WebAttribute_onFileSelectorShow_callback, Literal_Function_callback__Object_fileSelector, Callback_OnResourceLoadEvent_Void, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnPermissionRequestEvent_Void, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnContextMenuShowEvent_Boolean, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnClientAuthenticationEvent_Void, Callback_OnWindowNewEvent_Void, Callback_KeyEvent_Boolean, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnLoadInterceptEvent_Boolean, Callback_OnOverScrollEvent_Void, Callback_NativeEmbedDataInfo_Void, Callback_NativeEmbedTouchInfo_Void } from "./SyntheticDeclarations" import { WebResourceRequest } from "./ArkWebResourceRequestMaterialized" import { WebResourceResponse } from "./ArkWebResourceResponseMaterialized" +import { KeyEvent } from "./ArkKeyEventMaterialized" import { CopyOptions } from "./ArkEnumsInterfaces" import { EditMenuOptions } from "./ArkEditMenuOptionsMaterialized" /** @memo:stable */ @@ -452,9 +453,9 @@ export class ArkWebComponent extends ArkCommonMethodComponent { return this } /** @memo */ - onFileSelectorShow(value: ((event?: Literal_Function_callback_Object_fileSelector) => void)): this { + onFileSelectorShow(value: ((event?: Literal_Function_callback__Object_fileSelector) => void)): this { if (this.checkPriority("onFileSelectorShow")) { - const value_casted = value as (((event?: Literal_Function_callback_Object_fileSelector) => void)) + const value_casted = value as (((event?: Literal_Function_callback__Object_fileSelector) => void)) this.getPeer()?.onFileSelectorShowAttribute(value_casted) return this } diff --git a/arkoala-arkts/arkui/src/generated/ArkWebContextMenuParamMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebContextMenuParamMaterialized.ts index ee1583122..3989328a2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebContextMenuParamMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebContextMenuParamMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class WebContextMenuParam implements MaterializedBase,INTERFACE_WebContextMenuParam { - peer?: Finalizable +export class WebContextMenuParam implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): WebContextMenuParam { - const objWebContextMenuParam : WebContextMenuParam = new WebContextMenuParam() - objWebContextMenuParam.peer = new Finalizable(ptr, WebContextMenuParam.getFinalizer()) - return objWebContextMenuParam - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkWebContextMenuResultMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebContextMenuResultMaterialized.ts index 122ed8b24..f9acc8aed 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebContextMenuResultMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebContextMenuResultMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class WebContextMenuResult implements MaterializedBase,INTERFACE_WebContextMenuResult { - peer?: Finalizable +export class WebContextMenuResult implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): WebContextMenuResult { - const objWebContextMenuResult : WebContextMenuResult = new WebContextMenuResult() - objWebContextMenuResult.peer = new Finalizable(ptr, WebContextMenuResult.getFinalizer()) - return objWebContextMenuResult - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._WebContextMenuResult_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkWebControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebControllerMaterialized.ts index d916fc415..ab9fd7cf8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,10 +16,10 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { Literal_String_script_Callback_String_Void_callback, Callback_String_Void, Literal_String_baseUrl_data_encoding_historyUrl_mimeType, Literal_Union_String_Resource_url_Array_Header_headers, Literal_Object_object_String_name_Array_String_methodList, INTERFACE_WebController } from "./SyntheticDeclarations" +import { Literal_String_script_Callback_String_Void_callback_, Callback_String_Void, Literal_String_baseUrl_data_encoding_historyUrl_mimeType, Literal_Union_String_Resource_url_Array_Header_headers, Literal_Object_object__String_name_Array_String_methodList, INTERFACE_WebController } from "./SyntheticDeclarations" import { Resource } from "./ArkResourceInterfaces" import { Header, HitTestType } from "./ArkWebInterfaces" -import { WebCookie } from "./ArkWebCookieMaterialized" +import { WebCookie, WebCookieInternal } from "./ArkWebCookieMaterialized" import { TypeChecker } from "#components" import { Finalizable } from "./Finalizable" @@ -51,16 +51,11 @@ import { } from "@koalaui/interop" -export class WebController implements MaterializedBase,INTERFACE_WebController { - peer?: Finalizable +export class WebController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): WebController { - const objWebController : WebController = new WebController() - objWebController.peer = new Finalizable(ptr, WebController.getFinalizer()) - return objWebController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._WebController_ctor() return retval @@ -91,8 +86,8 @@ export class WebController implements MaterializedBase,INTERFACE_WebController { this.clearHistory_serialize() return } - runJavaScript(options: Literal_String_script_Callback_String_Void_callback): undefined { - const options_casted = options as (Literal_String_script_Callback_String_Void_callback) + runJavaScript(options: Literal_String_script_Callback_String_Void_callback_): undefined { + const options_casted = options as (Literal_String_script_Callback_String_Void_callback_) return this.runJavaScript_serialize(options_casted) } loadData(options: Literal_String_baseUrl_data_encoding_historyUrl_mimeType): undefined { @@ -109,8 +104,8 @@ export class WebController implements MaterializedBase,INTERFACE_WebController { stop(): undefined { return this.stop_serialize() } - registerJavaScriptProxy(options: Literal_Object_object_String_name_Array_String_methodList): undefined { - const options_casted = options as (Literal_Object_object_String_name_Array_String_methodList) + registerJavaScriptProxy(options: Literal_Object_object__String_name_Array_String_methodList): undefined { + const options_casted = options as (Literal_Object_object__String_name_Array_String_methodList) return this.registerJavaScriptProxy_serialize(options_casted) } deleteJavaScriptRegister(name: string): undefined { @@ -154,17 +149,17 @@ export class WebController implements MaterializedBase,INTERFACE_WebController { private clearHistory_serialize(): void { ArkUIGeneratedNativeModule._WebController_clearHistory(this.peer!.ptr) } - private runJavaScript_serialize(options: Literal_String_script_Callback_String_Void_callback): undefined { + private runJavaScript_serialize(options: Literal_String_script_Callback_String_Void_callback_): undefined { 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 as int32) - if ((RuntimeType.UNDEFINED) != (options_callback_type)) { - const options_callback_value = options_callback! - thisSerializer.holdAndWriteCallback(options_callback_value) + 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) + if ((RuntimeType.UNDEFINED) != (options_callback__type)) { + const options_callback__value = options_callback_! + thisSerializer.holdAndWriteCallback(options_callback__value) } const retval = ArkUIGeneratedNativeModule._WebController_runJavaScript(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() @@ -237,10 +232,10 @@ export class WebController implements MaterializedBase,INTERFACE_WebController { const retval = ArkUIGeneratedNativeModule._WebController_stop(this.peer!.ptr) return retval } - private registerJavaScriptProxy_serialize(options: Literal_Object_object_String_name_Array_String_methodList): undefined { + private registerJavaScriptProxy_serialize(options: Literal_Object_object__String_name_Array_String_methodList): undefined { const thisSerializer : Serializer = Serializer.hold() - const options_object = options.object - thisSerializer.writeCustomObject("Object", options_object) + const options_object_ = options.object_ + thisSerializer.writeCustomObject("Object", options_object_) const options_name = options.name thisSerializer.writeString(options_name) const options_methodList = options.methodList diff --git a/arkoala-arkts/arkui/src/generated/ArkWebCookieMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebCookieMaterialized.ts index 701d4bd61..6b8c08fdb 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebCookieMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebCookieMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class WebCookie implements MaterializedBase,INTERFACE_WebCookie { - peer?: Finalizable +export class WebCookie implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): WebCookie { - const objWebCookie : WebCookie = new WebCookie() - objWebCookie.peer = new Finalizable(ptr, WebCookie.getFinalizer()) - return objWebCookie - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._WebCookie_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkWebInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkWebInterfaces.ts index 87481c219..4754e6ef2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebInterfaces.ts @@ -2,12 +2,13 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { WebResourceRequest } from "./ArkWebResourceRequestMaterialized" -import { CustomBuilder, TouchEvent, CommonMethod, KeyEvent, NestedScrollOptions } from "./ArkCommonInterfaces" +import { CustomBuilder, CommonMethod, NestedScrollOptions } from "./ArkCommonInterfaces" import { WebKeyboardController } from "./ArkWebKeyboardControllerMaterialized" import { FullScreenExitHandler } from "./ArkFullScreenExitHandlerMaterialized" import { Resource } from "./ArkResourceInterfaces" import { WebController } from "./ArkWebControllerMaterialized" import { Position, ResourceStr } from "./ArkUnitsInterfaces" +import { TouchEvent } from "./ArkTouchEventMaterialized" import { EventResult } from "./ArkEventResultMaterialized" import { JsGeolocation } from "./ArkJsGeolocationMaterialized" import { JsResult } from "./ArkJsResultMaterialized" @@ -26,8 +27,9 @@ import { ClientAuthenticationHandler } from "./ArkClientAuthenticationHandlerMat import { ControllerHandler } from "./ArkControllerHandlerMaterialized" import { PixelMap } from "./ArkPixelMapMaterialized" import { DataResubmissionHandler } from "./ArkDataResubmissionHandlerMaterialized" -import { Callback_Void, Callback_OnPageEndEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_OnGeolocationShowEvent_Void, Callback_OnAlertEvent_Boolean, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnConfirmEvent_Boolean, Callback_OnPromptEvent_Boolean, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnRefreshAccessedHistoryEvent_Void, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Callback_OnRenderExitedEvent_Void, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Callback_Literal_Function_callback_Object_fileSelector_Void, Literal_Function_callback_Object_fileSelector, Callback_OnResourceLoadEvent_Void, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnPermissionRequestEvent_Void, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnContextMenuShowEvent_Boolean, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnClientAuthenticationEvent_Void, Callback_OnWindowNewEvent_Void, Callback_KeyEvent_Boolean, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnLoadInterceptEvent_Boolean, Callback_OnOverScrollEvent_Void, Callback_NativeEmbedDataInfo_Void, Callback_NativeEmbedTouchInfo_Void, Callback_Literal_String_plainText_Void, Literal_String_plainText } from "./SyntheticDeclarations" +import { Callback_Void, Callback_OnPageEndEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_OnGeolocationShowEvent_Void, Callback_OnAlertEvent_Boolean, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnConfirmEvent_Boolean, Callback_OnPromptEvent_Boolean, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnRefreshAccessedHistoryEvent_Void, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Callback_OnRenderExitedEvent_Void, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Type_WebAttribute_onFileSelectorShow_callback, Literal_Function_callback__Object_fileSelector, Callback_OnResourceLoadEvent_Void, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnPermissionRequestEvent_Void, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnContextMenuShowEvent_Boolean, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnClientAuthenticationEvent_Void, Callback_OnWindowNewEvent_Void, Callback_KeyEvent_Boolean, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnLoadInterceptEvent_Boolean, Callback_OnOverScrollEvent_Void, Callback_NativeEmbedDataInfo_Void, Callback_NativeEmbedTouchInfo_Void, Callback_Literal_String_plainText_Void, Literal_String_plainText } from "./SyntheticDeclarations" import { MenuType } from "./ArkTextCommonInterfaces" +import { KeyEvent } from "./ArkKeyEventMaterialized" import { CopyOptions, NestedScrollMode } from "./ArkEnumsInterfaces" import { EditMenuOptions } from "./ArkEditMenuOptionsMaterialized" export interface WebviewController { @@ -467,7 +469,7 @@ export interface OnOverScrollEvent { yOffset: number; } export interface JavaScriptProxy { - object: Object; + object_: Object; name: string; methodList: Array; controller: WebController | WebviewController; @@ -537,7 +539,7 @@ export interface WebAttribute extends CommonMethod { onRenderExited: ((parameter: OnRenderExitedEvent) => void); onShowFileSelector: ((parameter: OnShowFileSelectorEvent) => boolean); - onFileSelectorShow: ((event?: Literal_Function_callback_Object_fileSelector) => void); + onFileSelectorShow: ((event?: Literal_Function_callback__Object_fileSelector) => void); onResourceLoad: ((parameter: OnResourceLoadEvent) => void); onFullScreenExit: (() => void); onFullScreenEnter: OnFullScreenEnterCallback; diff --git a/arkoala-arkts/arkui/src/generated/ArkWebKeyboardControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebKeyboardControllerMaterialized.ts index 324a9da79..d3b2a1d2b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebKeyboardControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebKeyboardControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class WebKeyboardController implements MaterializedBase,INTERFACE_WebKeyboardController { - peer?: Finalizable +export class WebKeyboardController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): WebKeyboardController { - const objWebKeyboardController : WebKeyboardController = new WebKeyboardController() - objWebKeyboardController.peer = new Finalizable(ptr, WebKeyboardController.getFinalizer()) - return objWebKeyboardController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._WebKeyboardController_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkWebResourceErrorMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebResourceErrorMaterialized.ts index 7db05f5e7..a3fccd387 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebResourceErrorMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebResourceErrorMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class WebResourceError implements MaterializedBase,INTERFACE_WebResourceError { - peer?: Finalizable +export class WebResourceError implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): WebResourceError { - const objWebResourceError : WebResourceError = new WebResourceError() - objWebResourceError.peer = new Finalizable(ptr, WebResourceError.getFinalizer()) - return objWebResourceError - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._WebResourceError_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkWebResourceRequestMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebResourceRequestMaterialized.ts index bad593cab..e5b6acb9d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebResourceRequestMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebResourceRequestMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class WebResourceRequest implements MaterializedBase,INTERFACE_WebResourceRequest { - peer?: Finalizable +export class WebResourceRequest implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): WebResourceRequest { - const objWebResourceRequest : WebResourceRequest = new WebResourceRequest() - objWebResourceRequest.peer = new Finalizable(ptr, WebResourceRequest.getFinalizer()) - return objWebResourceRequest - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._WebResourceRequest_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkWebResourceResponseMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebResourceResponseMaterialized.ts index 663351e08..ef1330f81 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebResourceResponseMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebResourceResponseMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -50,16 +50,11 @@ import { } from "@koalaui/interop" -export class WebResourceResponse implements MaterializedBase,INTERFACE_WebResourceResponse { - peer?: Finalizable +export class WebResourceResponse implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): WebResourceResponse { - const objWebResourceResponse : WebResourceResponse = new WebResourceResponse() - objWebResourceResponse.peer = new Finalizable(ptr, WebResourceResponse.getFinalizer()) - return objWebResourceResponse - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._WebResourceResponse_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkWindowScene.ts b/arkoala-arkts/arkui/src/generated/ArkWindowScene.ts index 14c42df75..5a7eb4e9a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWindowScene.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWindowScene.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkXComponentControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkXComponentControllerMaterialized.ts index dc9591b10..80ea2bc5e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkXComponentControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkXComponentControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -50,16 +50,11 @@ import { } from "@koalaui/interop" -export class XComponentController implements MaterializedBase,INTERFACE_XComponentController { - peer?: Finalizable +export class XComponentController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): XComponentController { - const objXComponentController : XComponentController = new XComponentController() - objXComponentController.peer = new Finalizable(ptr, XComponentController.getFinalizer()) - return objXComponentController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._XComponentController_ctor() return retval diff --git a/arkoala-arkts/arkui/src/generated/ArkXcomponent.ts b/arkoala-arkts/arkui/src/generated/ArkXcomponent.ts index 06377ab76..856dc9ccb 100644 --- a/arkoala-arkts/arkui/src/generated/ArkXcomponent.ts +++ b/arkoala-arkts/arkui/src/generated/ArkXcomponent.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -50,8 +50,8 @@ export class ArkXComponentComponent extends ArkCommonMethodComponent { return this } if ((((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isXComponentOptions(value, true, true, false)))) { - const value_casted = value as (XComponentOptions) - this.getPeer()?.setXComponentOptions2Attribute(value_casted) + const options_casted = value as (XComponentOptions) + this.getPeer()?.setXComponentOptions2Attribute(options_casted) return this } throw new Error("Can not select appropriate overload") diff --git a/arkoala-arkts/arkui/src/generated/GlobalScope.ts b/arkoala-arkts/arkui/src/generated/GlobalScope.ts new file mode 100644 index 000000000..f0fe703b6 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/GlobalScope.ts @@ -0,0 +1,84 @@ +/* + * 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 { Context, AnimateParam } from "./ArkCommonInterfaces" +import { Resource } from "./ArkResourceInterfaces" +import { Callback_Void, Callback_String_Void } from "./SyntheticDeclarations" +import { PointerStyle } from "./ArkArkui-customInterfaces" +import { GlobalScope_common } from "./ArkGlobalScopeCommonMaterialized" +import { GlobalScope_inspector } from "./ArkGlobalScopeInspectorMaterialized" +export function getContext(component: Object) { + return GlobalScope_common.getContext(component) +} +export function postCardAction(component: Object, action: Object) { + GlobalScope_common.postCardAction(component, action) +} +export function dollar_r(value: string, params: Array) { + return GlobalScope_common.dollar_r(value, params) +} +export function dollar_rawfile(value: string) { + return GlobalScope_common.dollar_rawfile(value) +} +export function animateTo(value: AnimateParam, event: (() => void)) { + GlobalScope_common.animateTo(value, event) +} +export function animateToImmediately(value: AnimateParam, event: (() => void)) { + GlobalScope_common.animateToImmediately(value, event) +} +export function vp2px(value: number) { + return GlobalScope_common.vp2px(value) +} +export function px2vp(value: number) { + return GlobalScope_common.px2vp(value) +} +export function fp2px(value: number) { + return GlobalScope_common.fp2px(value) +} +export function px2fp(value: number) { + return GlobalScope_common.px2fp(value) +} +export function lpx2px(value: number) { + return GlobalScope_common.lpx2px(value) +} +export function px2lpx(value: number) { + return GlobalScope_common.px2lpx(value) +} +export function requestFocus(value: string) { + return GlobalScope_common.requestFocus(value) +} +export function setCursor(value: PointerStyle) { + GlobalScope_common.setCursor(value) +} +export function restoreDefault() { + GlobalScope_common.restoreDefault() +} +export function getInspectorNodes() { + return GlobalScope_inspector.getInspectorNodes() +} +export function getInspectorNodeById(id: number) { + return GlobalScope_inspector.getInspectorNodeById(id) +} +export function registerVsyncCallback(callback_: ((breakpoints: string) => void)) { + GlobalScope_inspector.registerVsyncCallback(callback_) +} +export function unregisterVsyncCallback() { + GlobalScope_inspector.unregisterVsyncCallback() +} +export function setAppBgColor(value: string) { + GlobalScope_inspector.setAppBgColor(value) +} diff --git a/arkoala-arkts/arkui/src/generated/SyntheticDeclarations.ts b/arkoala-arkts/arkui/src/generated/SyntheticDeclarations.ts index 0ddd605fe..8ca2f4f9a 100644 --- a/arkoala-arkts/arkui/src/generated/SyntheticDeclarations.ts +++ b/arkoala-arkts/arkui/src/generated/SyntheticDeclarations.ts @@ -3,8 +3,9 @@ import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from import { NodeAttach, remember } from "@koalaui/runtime" import { Callback_RangeUpdate } from "./ArkArkui-customInterfaces" import { PixelMap } from "./ArkPixelMapMaterialized" -import { UIContext, ClickEvent, DrawContext, TransitionEffects, TranslateOptions, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, DismissContentCoverAction, SheetSize, SheetDismiss, DismissSheetAction, SpringBackAction, SheetType, DismissPopupAction, TouchResult, TouchTestInfo, HoverEvent, MouseEvent, TouchEvent, KeyEvent, CustomBuilder, DragItemInfo, DragEvent, PreDragStatus, CaretOffset, RectResult, OnMoveHandler, UIGestureEvent, LinearGradient_common, ItemDragInfo, SelectionOptions } from "./ArkCommonInterfaces" +import { UIContext, DrawContext, TransitionEffects, TranslateOptions, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, EventTarget, SourceType, SourceTool, TouchObject, HistoricalPoint, DragBehavior, Summary, DragResult, Rectangle, IntentionCode, DismissContentCoverAction, SheetSize, SheetDismiss, DismissSheetAction, SpringBackAction, SheetType, DismissPopupAction, TouchResult, TouchTestInfo, CustomBuilder, DragItemInfo, PreDragStatus, CaretOffset, RectResult, OnMoveHandler, HoverCallback, SizeChangeCallback, VisibleAreaEventOptions, VisibleAreaChangeCallback, UIGestureEvent, LinearGradient_common, ItemDragInfo, SelectionOptions } from "./ArkCommonInterfaces" import { FrameNode } from "./ArkFrameNodeMaterialized" +import { ClickEvent } from "./ArkClickEventMaterialized" import { Want, RectWidthStyle, RectHeightStyle } from "./ArkArkui-externalInterfaces" import { DismissDialogAction, ActionSheetOptions } from "./ArkActionSheetInterfaces" import { AlertDialogParamWithConfirm, AlertDialogParamWithButtons, AlertDialogParamWithOptions } from "./ArkAlertDialogInterfaces" @@ -20,14 +21,22 @@ import { ImageSmoothingQuality, CanvasLineCap, CanvasLineJoin, CanvasDirection, import { ImageBitmap } from "./ArkImageBitmapMaterialized" import { ImageAnalyzerConfig, ImageAnalyzerType } from "./ArkImageCommonInterfaces" import { DrawingCanvas } from "./ArkDrawingCanvasMaterialized" -import { HorizontalAlign, VerticalAlign, GradientDirection, HitTestMode, Alignment, Axis, Edge } from "./ArkEnumsInterfaces" +import { HorizontalAlign, VerticalAlign, MouseButton, MouseAction, AccessibilityHoverType, TouchType, KeyType, KeySource, GradientDirection, HitTestMode, Alignment, Axis, Edge } from "./ArkEnumsInterfaces" import { TransitionEffect } from "./ArkTransitionEffectMaterialized" -import { GestureJudgeResult, GestureInfo, BaseGestureEvent, GestureEvent, PanDirection, SwipeDirection, GestureControl_GestureType, GestureRecognizerState } from "./ArkGestureInterfaces" +import { GestureJudgeResult, GestureInfo, FingerInfo, PanDirection, SwipeDirection, GestureControl_GestureType, GestureRecognizerState } from "./ArkGestureInterfaces" import { GestureRecognizer } from "./ArkGestureRecognizerMaterialized" +import { UnifiedData } from "./ArkUnifiedDataMaterialized" +import { HoverEvent } from "./ArkHoverEventMaterialized" +import { MouseEvent } from "./ArkMouseEventMaterialized" +import { TouchEvent } from "./ArkTouchEventMaterialized" +import { KeyEvent } from "./ArkKeyEventMaterialized" +import { DragEvent } from "./ArkDragEventMaterialized" +import { BaseGestureEvent } from "./ArkBaseGestureEventMaterialized" import { CustomDialogControllerOptions } from "./ArkCustomDialogControllerInterfaces" import { DatePickerResult, DatePickerDialogOptions } from "./ArkDatePickerInterfaces" import { TerminationInfo } from "./ArkEmbeddedComponentInterfaces" import { FormCallbackInfo } from "./ArkFormComponentInterfaces" +import { GestureEvent } from "./ArkGestureEventMaterialized" import { EventTargetInfo } from "./ArkEventTargetInfoMaterialized" import { PanGestureOptions } from "./ArkPanGestureOptionsMaterialized" import { ComputedBarAttribute } from "./ArkGridInterfaces" @@ -193,10 +202,81 @@ export type Tuple_Number_Number = [ number, number ] +export interface INTERFACE_BaseEvent { + target: EventTarget; + timestamp: number; + source: SourceType; + axisHorizontal?: number; + axisVertical?: number; + pressure: number; + tiltX: number; + tiltY: number; + sourceTool: SourceTool; + deviceId?: number; +} +export interface INTERFACE_ClickEvent { + displayX: number; + displayY: number; + windowX: number; + windowY: number; + screenX: number; + screenY: number; + x: number; + y: number; + preventDefault: (() => void); +} +export interface INTERFACE_HoverEvent { + stopPropagation: (() => void); +} +export interface INTERFACE_MouseEvent { + button: MouseButton; + action: MouseAction; + displayX: number; + displayY: number; + windowX: number; + windowY: number; + screenX: number; + screenY: number; + x: number; + y: number; + stopPropagation: (() => void); +} +export interface INTERFACE_AccessibilityHoverEvent { + type: AccessibilityHoverType; + x: number; + y: number; + displayX: number; + displayY: number; + windowX: number; + windowY: number; +} +export interface INTERFACE_TouchEvent { + type: TouchType; + touches: Array; + changedTouches: Array; + stopPropagation: (() => void); + preventDefault: (() => void); +} export type Callback_GestureJudgeResult_Void = (value: GestureJudgeResult) => void; export type Callback_GestureRecognizer_Void = (value: GestureRecognizer) => void; export interface INTERFACE_PixelMapMock { } +export interface INTERFACE_DragEvent { + dragBehavior: DragBehavior; + useCustomDropAnimation: boolean; +} +export interface INTERFACE_KeyEvent { + type: KeyType; + keyCode: number; + keyText: string; + keySource: KeySource; + deviceId: number; + metaKey: number; + timestamp: number; + stopPropagation: (() => void); + intentionCode: IntentionCode; + unicode?: number; +} export type Callback_DismissContentCoverAction_Void = (parameter: DismissContentCoverAction) => void; export type Type_SheetOptions_detents = [ SheetSize | Length, @@ -291,6 +371,8 @@ export interface INTERFACE_DynamicNode { export interface INTERFACE_ChildrenMainSize { childDefaultSize: number; } +export interface INTERFACE_UICommonEvent { +} export interface INTERFACE_GestureModifier { } export interface Literal_String_key_Any_defaultValue { @@ -316,6 +398,47 @@ export type Tuple_Union_ResourceColor_LinearGradient_common_Number = [ ResourceColor | LinearGradient_common, number ] +export interface INTERFACE_BaseGestureEvent { + fingerList: Array; +} +export interface INTERFACE_TapGestureEvent { +} +export interface INTERFACE_LongPressGestureEvent { + repeat: boolean; +} +export interface INTERFACE_PanGestureEvent { + offsetX: number; + offsetY: number; + velocityX: number; + velocityY: number; + velocity: number; +} +export interface INTERFACE_PinchGestureEvent { + scale: number; + pinchCenterX: number; + pinchCenterY: number; +} +export interface INTERFACE_RotationGestureEvent { + angle: number; +} +export interface INTERFACE_SwipeGestureEvent { + angle: number; + speed: number; +} +export interface INTERFACE_GestureEvent { + repeat: boolean; + fingerList: Array; + offsetX: number; + offsetY: number; + angle: number; + speed: number; + scale: number; + pinchCenterX: number; + pinchCenterY: number; + velocityX: number; + velocityY: number; + velocity: number; +} export type Callback_GestureEvent_Void = (event: GestureEvent) => void; export interface Literal_Number_duration_fingers_Boolean_repeat { fingers?: number; @@ -363,14 +486,12 @@ export type Callback_Number_Tuple_Number_Number_Number_Number = (index: number) export type Callback_ComputedBarAttribute_Void = (value: ComputedBarAttribute) => void; export type Callback_Number_Number_ComputedBarAttribute = (index: number, offset: number) => ComputedBarAttribute; export type Callback_Number_Number_Void = (first: number, last: number) => void; -export type Callback_Any = () => object; -export type Callback_Callback_Any_Void = (value: (() => object)) => void; -export type Callback_ItemDragInfo_Number_Callback_Any = (event: ItemDragInfo, itemIndex: number) => (() => object); +export type Callback_CustomBuilder_Void = (value: CustomBuilder) => void; +export type Callback_ItemDragInfo_Number_CustomBuilder = (event: ItemDragInfo, itemIndex: number) => CustomBuilder; export type Callback_ItemDragInfo_Void = (event: ItemDragInfo) => void; export type Callback_ItemDragInfo_Number_Number_Void = (event: ItemDragInfo, itemIndex: number, insertIndex: number) => void; export type Callback_ItemDragInfo_Number_Void = (event: ItemDragInfo, itemIndex: number) => void; export type Callback_ItemDragInfo_Number_Number_Boolean_Void = (event: ItemDragInfo, itemIndex: number, insertIndex: number, isSuccess: boolean) => void; -export type Callback_Number_ScrollState_Void = (scrollOffset: number, scrollState: ScrollState) => void; export interface Literal_Number_offsetRemain { offsetRemain: number; } @@ -526,6 +647,9 @@ export interface INTERFACE_TextMenuItemId { } export interface INTERFACE_EditMenuOptions { } +export interface INTERFACE_SubmitEvent { + text: string; +} export interface INTERFACE_TextInputController { } export type Callback_String_Number_Void = (value: string, index: number) => void; @@ -589,9 +713,9 @@ export interface INTERFACE_WebCookie { } export interface INTERFACE_EventResult { } -export interface Literal_String_script_Callback_String_Void_callback { +export interface Literal_String_script_Callback_String_Void_callback_ { script: string; - callback?: ((breakpoints: string) => void); + callback_?: ((breakpoints: string) => void); } export interface Literal_String_baseUrl_data_encoding_historyUrl_mimeType { data: string; @@ -604,8 +728,8 @@ export interface Literal_Union_String_Resource_url_Array_Header_headers { url: string | Resource; headers?: Array
; } -export interface Literal_Object_object_String_name_Array_String_methodList { - object: Object; +export interface Literal_Object_object__String_name_Array_String_methodList { + object_: Object; name: string; methodList: Array; } @@ -640,11 +764,11 @@ export interface Literal_Object_detail { detail: Object; } export type Callback_Literal_Object_detail_Boolean = (event?: Literal_Object_detail) => boolean; -export interface Literal_Function_callback_Object_fileSelector { - callback: Function0; +export interface Literal_Function_callback__Object_fileSelector { + callback_: Function0; fileSelector: Object; } -export type Callback_Literal_Function_callback_Object_fileSelector_Void = (event?: Literal_Function_callback_Object_fileSelector) => void; +export type Type_WebAttribute_onFileSelectorShow_callback = (event?: Literal_Function_callback__Object_fileSelector) => void; export type Callback_OnResourceLoadEvent_Void = (parameter: OnResourceLoadEvent) => void; export type Callback_OnScaleChangeEvent_Void = (parameter: OnScaleChangeEvent) => void; export type Callback_OnHttpAuthRequestEvent_Boolean = (parameter: OnHttpAuthRequestEvent) => boolean; diff --git a/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts b/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts index a59c8234b..351c7c77c 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -1534,13 +1534,14 @@ export class ArkUIGeneratedNativeModule { native static _LinearIndicatorAttribute_onChange(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void native static _UnifiedData_ctor(): KPointer native static _UnifiedData_getFinalizer(): KPointer - native static _UnifiedData_hasType(ptr: KPointer, type: KStringPtr): boolean + native static _UnifiedData_hasType(ptr: KPointer, UnifiedData_type: KStringPtr): boolean native static _UnifiedData_getTypes(ptr: KPointer): KPointer native static _LazyForEachOps_ctor(): KPointer native static _LazyForEachOps_getFinalizer(): KPointer native static _LazyForEachOps_NeedMoreElements(node: KPointer, mark: KPointer, direction: KInt): KPointer native static _LazyForEachOps_OnRangeUpdate(node: KPointer, totalCount: KInt, thisArray: KUint8ArrayPtr, thisLength: int32): void native static _LazyForEachOps_SetCurrentIndex(node: KPointer, index: KInt): void + native static _LazyForEachOps_Prepare(node: KPointer): void native static _DrawingCanvas_ctor(thisArray: KUint8ArrayPtr, thisLength: int32): KPointer native static _DrawingCanvas_getFinalizer(): KPointer native static _DrawingCanvas_drawRect(ptr: KPointer, left: number, top: number, right: number, bottom: number): void @@ -1724,9 +1725,144 @@ export class ArkUIGeneratedNativeModule { native static _TransitionEffect_asymmetric(thisArray: KUint8ArrayPtr, thisLength: int32): KPointer native static _TransitionEffect_animation(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer native static _TransitionEffect_combine(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _BaseEvent_ctor(): KPointer + native static _BaseEvent_getFinalizer(): KPointer + native static _BaseEvent_getModifierKeyState(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): boolean + native static _BaseEvent_setTarget(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _BaseEvent_getTimestamp(ptr: KPointer): number + native static _BaseEvent_setTimestamp(ptr: KPointer, timestamp: number): void + native static _BaseEvent_getSource(ptr: KPointer): KPointer + native static _BaseEvent_setSource(ptr: KPointer, source: KInt): void + native static _BaseEvent_getAxisHorizontal(ptr: KPointer): number + native static _BaseEvent_setAxisHorizontal(ptr: KPointer, axisHorizontal: number): void + native static _BaseEvent_getAxisVertical(ptr: KPointer): number + native static _BaseEvent_setAxisVertical(ptr: KPointer, axisVertical: number): void + native static _BaseEvent_getPressure(ptr: KPointer): number + native static _BaseEvent_setPressure(ptr: KPointer, pressure: number): void + native static _BaseEvent_getTiltX(ptr: KPointer): number + native static _BaseEvent_setTiltX(ptr: KPointer, tiltX: number): void + native static _BaseEvent_getTiltY(ptr: KPointer): number + native static _BaseEvent_setTiltY(ptr: KPointer, tiltY: number): void + native static _BaseEvent_getSourceTool(ptr: KPointer): KPointer + native static _BaseEvent_setSourceTool(ptr: KPointer, sourceTool: KInt): void + native static _BaseEvent_getDeviceId(ptr: KPointer): number + native static _BaseEvent_setDeviceId(ptr: KPointer, deviceId: number): void + native static _ClickEvent_ctor(): KPointer + native static _ClickEvent_getFinalizer(): KPointer + native static _ClickEvent_getDisplayX(ptr: KPointer): number + native static _ClickEvent_setDisplayX(ptr: KPointer, displayX: number): void + native static _ClickEvent_getDisplayY(ptr: KPointer): number + native static _ClickEvent_setDisplayY(ptr: KPointer, displayY: number): void + native static _ClickEvent_getWindowX(ptr: KPointer): number + native static _ClickEvent_setWindowX(ptr: KPointer, windowX: number): void + native static _ClickEvent_getWindowY(ptr: KPointer): number + native static _ClickEvent_setWindowY(ptr: KPointer, windowY: number): void + native static _ClickEvent_getScreenX(ptr: KPointer): number + native static _ClickEvent_setScreenX(ptr: KPointer, screenX: number): void + native static _ClickEvent_getScreenY(ptr: KPointer): number + native static _ClickEvent_setScreenY(ptr: KPointer, screenY: number): void + native static _ClickEvent_getX(ptr: KPointer): number + native static _ClickEvent_setX(ptr: KPointer, x: number): void + native static _ClickEvent_getY(ptr: KPointer): number + native static _ClickEvent_setY(ptr: KPointer, y: number): void + native static _ClickEvent_setPreventDefault(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _HoverEvent_ctor(): KPointer + native static _HoverEvent_getFinalizer(): KPointer + native static _HoverEvent_setStopPropagation(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _MouseEvent_ctor(): KPointer + native static _MouseEvent_getFinalizer(): KPointer + native static _MouseEvent_getButton(ptr: KPointer): KPointer + native static _MouseEvent_setButton(ptr: KPointer, button: KInt): void + native static _MouseEvent_getAction(ptr: KPointer): KPointer + native static _MouseEvent_setAction(ptr: KPointer, action: KInt): void + native static _MouseEvent_getDisplayX(ptr: KPointer): number + native static _MouseEvent_setDisplayX(ptr: KPointer, displayX: number): void + native static _MouseEvent_getDisplayY(ptr: KPointer): number + native static _MouseEvent_setDisplayY(ptr: KPointer, displayY: number): void + native static _MouseEvent_getWindowX(ptr: KPointer): number + native static _MouseEvent_setWindowX(ptr: KPointer, windowX: number): void + native static _MouseEvent_getWindowY(ptr: KPointer): number + native static _MouseEvent_setWindowY(ptr: KPointer, windowY: number): void + native static _MouseEvent_getScreenX(ptr: KPointer): number + native static _MouseEvent_setScreenX(ptr: KPointer, screenX: number): void + native static _MouseEvent_getScreenY(ptr: KPointer): number + native static _MouseEvent_setScreenY(ptr: KPointer, screenY: number): void + native static _MouseEvent_getX(ptr: KPointer): number + native static _MouseEvent_setX(ptr: KPointer, x: number): void + native static _MouseEvent_getY(ptr: KPointer): number + native static _MouseEvent_setY(ptr: KPointer, y: number): void + native static _MouseEvent_setStopPropagation(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _AccessibilityHoverEvent_ctor(): KPointer + native static _AccessibilityHoverEvent_getFinalizer(): KPointer + native static _AccessibilityHoverEvent_getType(ptr: KPointer): KPointer + native static _AccessibilityHoverEvent_setType(ptr: KPointer, type: KInt): void + native static _AccessibilityHoverEvent_getX(ptr: KPointer): number + native static _AccessibilityHoverEvent_setX(ptr: KPointer, x: number): void + native static _AccessibilityHoverEvent_getY(ptr: KPointer): number + native static _AccessibilityHoverEvent_setY(ptr: KPointer, y: number): void + native static _AccessibilityHoverEvent_getDisplayX(ptr: KPointer): number + native static _AccessibilityHoverEvent_setDisplayX(ptr: KPointer, displayX: number): void + native static _AccessibilityHoverEvent_getDisplayY(ptr: KPointer): number + native static _AccessibilityHoverEvent_setDisplayY(ptr: KPointer, displayY: number): void + native static _AccessibilityHoverEvent_getWindowX(ptr: KPointer): number + native static _AccessibilityHoverEvent_setWindowX(ptr: KPointer, windowX: number): void + native static _AccessibilityHoverEvent_getWindowY(ptr: KPointer): number + native static _AccessibilityHoverEvent_setWindowY(ptr: KPointer, windowY: number): void + native static _TouchEvent_ctor(): KPointer + native static _TouchEvent_getFinalizer(): KPointer + native static _TouchEvent_getHistoricalPoints(ptr: KPointer): KPointer + native static _TouchEvent_getType(ptr: KPointer): KPointer + native static _TouchEvent_setType(ptr: KPointer, type: KInt): void + native static _TouchEvent_setTouches(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _TouchEvent_setChangedTouches(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _TouchEvent_setStopPropagation(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _TouchEvent_setPreventDefault(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void native static _PixelMapMock_ctor(): KPointer native static _PixelMapMock_getFinalizer(): KPointer native static _PixelMapMock_release(ptr: KPointer): void + native static _DragEvent_ctor(): KPointer + native static _DragEvent_getFinalizer(): KPointer + native static _DragEvent_getDisplayX(ptr: KPointer): number + native static _DragEvent_getDisplayY(ptr: KPointer): number + native static _DragEvent_getWindowX(ptr: KPointer): number + native static _DragEvent_getWindowY(ptr: KPointer): number + native static _DragEvent_getX(ptr: KPointer): number + native static _DragEvent_getY(ptr: KPointer): number + native static _DragEvent_setData(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _DragEvent_getData(ptr: KPointer): KPointer + native static _DragEvent_getSummary(ptr: KPointer): KPointer + native static _DragEvent_setResult(ptr: KPointer, dragResult: KInt): void + native static _DragEvent_getResult(ptr: KPointer): KPointer + native static _DragEvent_getPreviewRect(ptr: KPointer): KPointer + native static _DragEvent_getVelocityX(ptr: KPointer): number + native static _DragEvent_getVelocityY(ptr: KPointer): number + native static _DragEvent_getVelocity(ptr: KPointer): number + native static _DragEvent_getModifierKeyState(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): boolean + native static _DragEvent_getDragBehavior(ptr: KPointer): KPointer + native static _DragEvent_setDragBehavior(ptr: KPointer, dragBehavior: KInt): void + native static _DragEvent_getUseCustomDropAnimation(ptr: KPointer): boolean + native static _DragEvent_setUseCustomDropAnimation(ptr: KPointer, useCustomDropAnimation: KInt): void + native static _KeyEvent_ctor(): KPointer + native static _KeyEvent_getFinalizer(): KPointer + native static _KeyEvent_getModifierKeyState(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): boolean + native static _KeyEvent_getType(ptr: KPointer): KPointer + native static _KeyEvent_setType(ptr: KPointer, type: KInt): void + native static _KeyEvent_getKeyCode(ptr: KPointer): number + native static _KeyEvent_setKeyCode(ptr: KPointer, keyCode: number): void + native static _KeyEvent_getKeyText(ptr: KPointer): string + native static _KeyEvent_setKeyText(ptr: KPointer, keyText: KStringPtr): void + native static _KeyEvent_getKeySource(ptr: KPointer): KPointer + native static _KeyEvent_setKeySource(ptr: KPointer, keySource: KInt): void + native static _KeyEvent_getDeviceId(ptr: KPointer): number + native static _KeyEvent_setDeviceId(ptr: KPointer, deviceId: number): void + native static _KeyEvent_getMetaKey(ptr: KPointer): number + native static _KeyEvent_setMetaKey(ptr: KPointer, metaKey: number): void + native static _KeyEvent_getTimestamp(ptr: KPointer): number + native static _KeyEvent_setTimestamp(ptr: KPointer, timestamp: number): void + native static _KeyEvent_setStopPropagation(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _KeyEvent_setIntentionCode(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _KeyEvent_getUnicode(ptr: KPointer): number + native static _KeyEvent_setUnicode(ptr: KPointer, unicode: number): void native static _ProgressMask_ctor(value: number, total: number, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer native static _ProgressMask_getFinalizer(): KPointer native static _ProgressMask_updateProgress(ptr: KPointer, value: number): void @@ -1749,9 +1885,39 @@ export class ArkUIGeneratedNativeModule { native static _ChildrenMainSize_update(ptr: KPointer, index: number, childSize: number): void native static _ChildrenMainSize_getChildDefaultSize(ptr: KPointer): number native static _ChildrenMainSize_setChildDefaultSize(ptr: KPointer, childDefaultSize: number): void + native static _UICommonEvent_ctor(): KPointer + native static _UICommonEvent_getFinalizer(): KPointer + native static _UICommonEvent_setOnClick(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _UICommonEvent_setOnTouch(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _UICommonEvent_setOnAppear(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _UICommonEvent_setOnDisappear(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _UICommonEvent_setOnKeyEvent(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _UICommonEvent_setOnFocus(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _UICommonEvent_setOnBlur(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _UICommonEvent_setOnHover(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _UICommonEvent_setOnMouse(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _UICommonEvent_setOnSizeChange(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _UICommonEvent_setOnVisibleAreaApproximateChange(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void native static _GestureModifier_ctor(): KPointer native static _GestureModifier_getFinalizer(): KPointer native static _GestureModifier_applyGesture(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _GlobalScope_common_ctor(): KPointer + native static _GlobalScope_common_getFinalizer(): KPointer + native static _GlobalScope_common_getContext(thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _GlobalScope_common_postCardAction(thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _GlobalScope_common_dollar_r(value: KStringPtr, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _GlobalScope_common_dollar_rawfile(value: KStringPtr): KPointer + native static _GlobalScope_common_animateTo(thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _GlobalScope_common_animateToImmediately(thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _GlobalScope_common_vp2px(value: number): number + native static _GlobalScope_common_px2vp(value: number): number + native static _GlobalScope_common_fp2px(value: number): number + native static _GlobalScope_common_px2fp(value: number): number + native static _GlobalScope_common_lpx2px(value: number): number + native static _GlobalScope_common_px2lpx(value: number): number + native static _GlobalScope_common_requestFocus(value: KStringPtr): boolean + native static _GlobalScope_common_setCursor(value: KInt): void + native static _GlobalScope_common_restoreDefault(): void native static _ContextMenu_ctor(): KPointer native static _ContextMenu_getFinalizer(): KPointer native static _ContextMenu_close(): undefined @@ -1762,6 +1928,70 @@ export class ArkUIGeneratedNativeModule { native static _DatePickerDialog_ctor(): KPointer native static _DatePickerDialog_getFinalizer(): KPointer native static _DatePickerDialog_show(thisArray: KUint8ArrayPtr, thisLength: int32): undefined + native static _BaseGestureEvent_ctor(): KPointer + native static _BaseGestureEvent_getFinalizer(): KPointer + native static _BaseGestureEvent_setFingerList(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _TapGestureEvent_ctor(): KPointer + native static _TapGestureEvent_getFinalizer(): KPointer + native static _LongPressGestureEvent_ctor(): KPointer + native static _LongPressGestureEvent_getFinalizer(): KPointer + native static _LongPressGestureEvent_getRepeat(ptr: KPointer): boolean + native static _LongPressGestureEvent_setRepeat(ptr: KPointer, repeat: KInt): void + native static _PanGestureEvent_ctor(): KPointer + native static _PanGestureEvent_getFinalizer(): KPointer + native static _PanGestureEvent_getOffsetX(ptr: KPointer): number + native static _PanGestureEvent_setOffsetX(ptr: KPointer, offsetX: number): void + native static _PanGestureEvent_getOffsetY(ptr: KPointer): number + native static _PanGestureEvent_setOffsetY(ptr: KPointer, offsetY: number): void + native static _PanGestureEvent_getVelocityX(ptr: KPointer): number + native static _PanGestureEvent_setVelocityX(ptr: KPointer, velocityX: number): void + native static _PanGestureEvent_getVelocityY(ptr: KPointer): number + native static _PanGestureEvent_setVelocityY(ptr: KPointer, velocityY: number): void + native static _PanGestureEvent_getVelocity(ptr: KPointer): number + native static _PanGestureEvent_setVelocity(ptr: KPointer, velocity: number): void + native static _PinchGestureEvent_ctor(): KPointer + native static _PinchGestureEvent_getFinalizer(): KPointer + native static _PinchGestureEvent_getScale(ptr: KPointer): number + native static _PinchGestureEvent_setScale(ptr: KPointer, scale: number): void + native static _PinchGestureEvent_getPinchCenterX(ptr: KPointer): number + native static _PinchGestureEvent_setPinchCenterX(ptr: KPointer, pinchCenterX: number): void + native static _PinchGestureEvent_getPinchCenterY(ptr: KPointer): number + native static _PinchGestureEvent_setPinchCenterY(ptr: KPointer, pinchCenterY: number): void + native static _RotationGestureEvent_ctor(): KPointer + native static _RotationGestureEvent_getFinalizer(): KPointer + native static _RotationGestureEvent_getAngle(ptr: KPointer): number + native static _RotationGestureEvent_setAngle(ptr: KPointer, angle: number): void + native static _SwipeGestureEvent_ctor(): KPointer + native static _SwipeGestureEvent_getFinalizer(): KPointer + native static _SwipeGestureEvent_getAngle(ptr: KPointer): number + native static _SwipeGestureEvent_setAngle(ptr: KPointer, angle: number): void + native static _SwipeGestureEvent_getSpeed(ptr: KPointer): number + native static _SwipeGestureEvent_setSpeed(ptr: KPointer, speed: number): void + native static _GestureEvent_ctor(): KPointer + native static _GestureEvent_getFinalizer(): KPointer + native static _GestureEvent_getRepeat(ptr: KPointer): boolean + native static _GestureEvent_setRepeat(ptr: KPointer, repeat: KInt): void + native static _GestureEvent_setFingerList(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _GestureEvent_getOffsetX(ptr: KPointer): number + native static _GestureEvent_setOffsetX(ptr: KPointer, offsetX: number): void + native static _GestureEvent_getOffsetY(ptr: KPointer): number + native static _GestureEvent_setOffsetY(ptr: KPointer, offsetY: number): void + native static _GestureEvent_getAngle(ptr: KPointer): number + native static _GestureEvent_setAngle(ptr: KPointer, angle: number): void + native static _GestureEvent_getSpeed(ptr: KPointer): number + native static _GestureEvent_setSpeed(ptr: KPointer, speed: number): void + native static _GestureEvent_getScale(ptr: KPointer): number + native static _GestureEvent_setScale(ptr: KPointer, scale: number): void + native static _GestureEvent_getPinchCenterX(ptr: KPointer): number + native static _GestureEvent_setPinchCenterX(ptr: KPointer, pinchCenterX: number): void + native static _GestureEvent_getPinchCenterY(ptr: KPointer): number + native static _GestureEvent_setPinchCenterY(ptr: KPointer, pinchCenterY: number): void + native static _GestureEvent_getVelocityX(ptr: KPointer): number + native static _GestureEvent_setVelocityX(ptr: KPointer, velocityX: number): void + native static _GestureEvent_getVelocityY(ptr: KPointer): number + native static _GestureEvent_setVelocityY(ptr: KPointer, velocityY: number): void + native static _GestureEvent_getVelocity(ptr: KPointer): number + native static _GestureEvent_setVelocity(ptr: KPointer, velocity: number): void native static _PanGestureOptions_ctor(thisArray: KUint8ArrayPtr, thisLength: int32): KPointer native static _PanGestureOptions_getFinalizer(): KPointer native static _PanGestureOptions_setDirection(ptr: KPointer, value: KInt): undefined @@ -2001,6 +2231,11 @@ export class ArkUIGeneratedNativeModule { native static _EditMenuOptions_getFinalizer(): KPointer native static _EditMenuOptions_onCreateMenu(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer native static _EditMenuOptions_onMenuItemClick(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): boolean + native static _SubmitEvent_ctor(): KPointer + native static _SubmitEvent_getFinalizer(): KPointer + native static _SubmitEvent_keepEditableState(ptr: KPointer): void + native static _SubmitEvent_getText(ptr: KPointer): string + native static _SubmitEvent_setText(ptr: KPointer, text: KStringPtr): void native static _TextInputController_ctor(): KPointer native static _TextInputController_getFinalizer(): KPointer native static _TextInputController_caretPosition(ptr: KPointer, value: number): void @@ -2238,4 +2473,11 @@ export class ArkUIGeneratedNativeModule { native static _LinearIndicatorController_start(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void native static _LinearIndicatorController_pause(ptr: KPointer): void native static _LinearIndicatorController_stop(ptr: KPointer): void + native static _GlobalScope_inspector_ctor(): KPointer + native static _GlobalScope_inspector_getFinalizer(): KPointer + native static _GlobalScope_inspector_getInspectorNodes(): KPointer + native static _GlobalScope_inspector_getInspectorNodeById(id: number): KPointer + native static _GlobalScope_inspector_registerVsyncCallback(thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _GlobalScope_inspector_unregisterVsyncCallback(): void + native static _GlobalScope_inspector_setAppBgColor(value: KStringPtr): void } \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/arkts/ArkUINativeModule.ts b/arkoala-arkts/arkui/src/generated/arkts/ArkUINativeModule.ts index 5baf21a03..6f645abd8 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/ArkUINativeModule.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/ArkUINativeModule.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/arkts/TestNativeModule.ts b/arkoala-arkts/arkui/src/generated/arkts/TestNativeModule.ts index 6819d7563..c42589598 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/TestNativeModule.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/TestNativeModule.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -35,7 +35,6 @@ export class TestNativeModule { native static _TestGetManagedHolder(): KPointer native static _TestGetManagedReleaser(): KPointer native static _TestReadAndMutateManagedBuffer(arr: KUint8ArrayPtr, len: int32): void - native static _TestCallbackSyncCall(arr: KUint8ArrayPtr, len: int32): void static { loadLibrary("ArkoalaNative_ark") NativeModuleLoader.init([]) diff --git a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts index fa3adf771..3385efe68 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts @@ -7,10 +7,13 @@ import { DrawingCanvas } from "./../ArkDrawingCanvasMaterialized" import { PixelMap } from "./../ArkPixelMapMaterialized" import { NodeController, TextModifier, RectWidthStyle, RectHeightStyle, Want, LengthUnit, LengthMetrics } from "./../ArkArkui-externalInterfaces" import { FrameNode } from "./../ArkFrameNodeMaterialized" -import { UIContext, ClickEvent, CommonMethod, DismissReason, Rectangle, BlurStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, CommonConfiguration, ContentModifier, PickerTextStyle, PickerDialogButtonStyle, CustomBuilder, CommonShapeMethod, PointLightStyle, ComponentOptions, InputCounterOptions, TextDecorationOptions, ProvideOptions, AnimatableArithmetic, Context, Configuration, ExpectedFrameRateRange, FinishCallbackType, TouchTestStrategy, AnimateParam, MotionPathOptions, sharedTransitionOptions, GeometryTransitionOptions, TransitionHierarchyStrategy, TranslateOptions, ScaleOptions, AlignRuleOption, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, LocalizedAlignRuleOptions, ChainStyle, RotateOptions, TransitionOptions, TransitionEdge, TransitionEffects, DrawContext, PreviewParams, ItemDragInfo, EffectType, PreDragStatus, DragItemInfo, EventTarget, SourceType, SourceTool, RepeatMode, BlurStyleActivePolicy, ThemeColorMode, AdaptiveColor, ModalTransition, BackgroundBlurStyleOptions, BlurStyleOptions, ForegroundBlurStyleOptions, BlurOptions, BackgroundEffectOptions, ForegroundEffectOptions, ShadowType, MultiShadowOptions, SafeAreaType, SafeAreaEdge, LayoutSafeAreaType, LayoutSafeAreaEdge, SheetSize, BaseEvent, BorderImageOption, LinearGradient_common, HoverEvent, MouseEvent, AccessibilityHoverEvent, TouchObject, HistoricalPoint, TouchEvent, DragBehavior, Summary, UniformDataType, DragResult, BlendMode, BlendApplyType, DragEvent, IntentionCode, KeyEvent, BindOptions, DismissContentCoverAction, ContentCoverOptions, SheetTitleOptions, SheetType, SheetMode, ScrollSizeMode, SheetKeyboardAvoidMode, SheetDismiss, DismissSheetAction, SpringBackAction, SheetOptions, StateStyles, PopupMessageOptions, DismissPopupAction, PopupOptions, CustomPopupOptions, MenuPreviewMode, ContextMenuAnimationOptions, AnimationRange, ContextMenuOptions, MenuOptions, TouchTestInfo, RectResult, TouchResult, PixelStretchEffectOptions, ClickEffect, FadingEdgeOptions, NestedScrollOptions, MenuElement, SymbolGlyphModifier, OutlineStyle, DragPreviewMode, MenuPolicy, ImageModifier, DragPreviewOptions, DragInteractionOptions, InvertOptions, CircleShape, EllipseShape, PathShape, RectShape, PixelRoundPolicy, VisualEffect, Filter, AccessibilityCallback, MotionBlurOptions, BackgroundBrightnessOptions, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, LinearGradientBlurOptions, ComponentContent, OverlayOptions, Blender, VisibleAreaChangeCallback, CommonAttribute, CommonInterface, OverlayOffset, FractionStop, MotionBlurAnchor, LayoutBorderInfo, LayoutInfo, LayoutChild, GeometryInfo, SizeResult, Layoutable, Measurable, MeasureResult, NavDestinationInfo, NavigationInfo, RouterPageInfo, Theme, CaretOffset, ContentClipMode, ScrollableCommonMethod, EdgeEffectOptions, ScrollResult, OnWillScrollCallback, OnMoveHandler, LightSource, KeyframeAnimateParam, KeyframeState, Callback, VisibleAreaEventOptions, UICommonEvent, HoverCallback, UIGestureEvent, SelectionOptions, KeyboardAvoidMode } from "./../ArkCommonInterfaces" +import { UIContext, CommonMethod, DismissReason, Rectangle, BlurStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, CommonConfiguration, ContentModifier, PickerTextStyle, PickerDialogButtonStyle, CustomBuilder, CommonShapeMethod, PointLightStyle, ComponentOptions, InputCounterOptions, TextDecorationOptions, ProvideOptions, AnimatableArithmetic, Context, Configuration, ExpectedFrameRateRange, FinishCallbackType, TouchTestStrategy, AnimateParam, MotionPathOptions, sharedTransitionOptions, GeometryTransitionOptions, TransitionHierarchyStrategy, TranslateOptions, ScaleOptions, AlignRuleOption, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, LocalizedAlignRuleOptions, ChainStyle, RotateOptions, TransitionOptions, TransitionEdge, TransitionEffects, DrawContext, PreviewParams, ItemDragInfo, EffectType, PreDragStatus, DragItemInfo, EventTarget, SourceType, SourceTool, RepeatMode, BlurStyleActivePolicy, ThemeColorMode, AdaptiveColor, ModalTransition, BackgroundBlurStyleOptions, BlurStyleOptions, ForegroundBlurStyleOptions, BlurOptions, BackgroundEffectOptions, ForegroundEffectOptions, ShadowType, MultiShadowOptions, SafeAreaType, SafeAreaEdge, LayoutSafeAreaType, LayoutSafeAreaEdge, SheetSize, BorderImageOption, LinearGradient_common, TouchObject, HistoricalPoint, DragBehavior, Summary, UniformDataType, DragResult, BlendMode, BlendApplyType, IntentionCode, BindOptions, DismissContentCoverAction, ContentCoverOptions, SheetTitleOptions, SheetType, SheetMode, ScrollSizeMode, SheetKeyboardAvoidMode, SheetDismiss, DismissSheetAction, SpringBackAction, SheetOptions, StateStyles, PopupMessageOptions, DismissPopupAction, PopupOptions, CustomPopupOptions, MenuPreviewMode, ContextMenuAnimationOptions, AnimationRange, ContextMenuOptions, MenuOptions, TouchTestInfo, RectResult, TouchResult, PixelStretchEffectOptions, ClickEffect, FadingEdgeOptions, NestedScrollOptions, MenuElement, SymbolGlyphModifier, OutlineStyle, DragPreviewMode, MenuPolicy, ImageModifier, DragPreviewOptions, DragInteractionOptions, InvertOptions, CircleShape, EllipseShape, PathShape, RectShape, PixelRoundPolicy, VisualEffect, Filter, AccessibilityCallback, MotionBlurOptions, BackgroundBrightnessOptions, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, LinearGradientBlurOptions, ComponentContent, OverlayOptions, Blender, VisibleAreaChangeCallback, CommonAttribute, CommonInterface, OverlayOffset, FractionStop, MotionBlurAnchor, LayoutBorderInfo, LayoutInfo, LayoutChild, GeometryInfo, SizeResult, Layoutable, Measurable, MeasureResult, NavDestinationInfo, NavigationInfo, RouterPageInfo, Theme, CaretOffset, ContentClipMode, ScrollableCommonMethod, EdgeEffectOptions, ScrollResult, OnWillScrollCallback, OnMoveHandler, LightSource, KeyframeAnimateParam, KeyframeState, Callback, VisibleAreaEventOptions, HoverCallback, UIGestureEvent, SelectionOptions, KeyboardAvoidMode } from "./../ArkCommonInterfaces" +import { ESObject } from "./../ArkArkui-stubsInterfaces" +import { Point } from "./../ArkPointInterfaces" import { Root, ComponentRoot } from "./../ArkStaticComponentsInterfaces" import { EventEmulator } from "./../ArkEventEmulatorMaterialized" -import { Literal_Want_want, Callback_Void, Callback_DismissDialogAction_Void, Callback_Number_Void, Literal_Number_day_month_year, Type_CalendarInterface_value, Callback_CalendarSelectedDate_Void, Callback_CalendarRequestedData_Void, Callback_Date_Void, Callback_Boolean_Void, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Literal_TransitionEffect_appear_disappear, Tuple_Number_Number, Callback_DismissContentCoverAction_Void, Type_SheetOptions_detents, Callback_SheetDismiss_Void, Callback_DismissSheetAction_Void, Callback_SpringBackAction_Void, Callback_SheetType_Void, Literal_String_value_Callback_Void_action, Literal_Boolean_isVisible, Literal_ResourceColor_color, Callback_Literal_Boolean_isVisible_Void, Callback_DismissPopupAction_Void, Literal_Number_offset_span, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, Type_CommonMethod_linearGradient_value, Tuple_ResourceColor_Number, Type_CommonMethod_sweepGradient_value, Tuple_Length_Length, Type_CommonMethod_radialGradient_value, Literal_Alignment_align, Callback_Array_TouchTestInfo_TouchResult, Callback_ClickEvent_Void, Callback_Boolean_HoverEvent_Void, Callback_MouseEvent_Void, Callback_TouchEvent_Void, Callback_KeyEvent_Void, Callback_KeyEvent_Boolean, Callback_Area_Area_Void, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, Callback_DragEvent_String_Void, Callback_PreDragStatus_Void, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_TouchEvent_HitTestMode, Literal_Empty, Callback_Number_ScrollState_Void, Literal_String_key_Any_defaultValue, Callback_DatePickerResult_Void, Callback_TerminationInfo_Void, Literal_Number_errcode_String_msg, Callback_FormCallbackInfo_Void, Callback_Literal_Number_errcode_String_msg_Void, Callback_Any_Void, Tuple_Union_ResourceColor_LinearGradient_common_Number, Callback_GestureEvent_Void, Literal_Number_duration_fingers_Boolean_repeat, Literal_Number_distance_fingers_PanDirection_direction, Literal_Number_fingers_speed_SwipeDirection_direction, Literal_Number_distance_fingers, Literal_Number_angle_fingers, Callback_Number_Tuple_Number_Number, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number, Literal_Number_offsetRemain, Callback_Number_Number_ComputedBarAttribute, Callback_Number_Number_Void, Callback_ItemDragInfo_Number_Callback_Any, Callback_Any, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Callback_String_Void, Type_ImageAttribute_onComplete_callback_event, Callback_Type_ImageAttribute_onComplete_callback_event_Void, Callback_Number_Number_Number_Void, Callback_Number_Boolean, Callback_Number_Number_Boolean, Callback_SwipeActionState_Void, Callback_ClickEvent_LocationButtonOnClickResult_Void, Callback_Boolean, Callback_NavDestinationContext_Void, Callback_PopInfo_Void, Tuple_Dimension_Dimension, Callback_NavigationTitleMode_Void, Callback_NavigationMode_Void, Callback_String_Unknown_Void, Type_NavigationAttribute_customNavContentTransition_delegate, Callback_NavigationTransitionProxy_Void, Literal_String_target_NavigationType_type, Callback_Number_Number_PanelMode_Void, Callback_ClickEvent_PasteButtonOnClickResult_Void, Callback_Array_Number_Void, Callback_RefreshStatus_Void, Callback_RichEditorSelection_Void, Callback_RichEditorRange_Void, Callback_RichEditorInsertValue_Boolean, Callback_RichEditorTextSpanResult_Void, Callback_TextRange_Void, Callback_RichEditorDeleteValue_Boolean, Callback_RichEditorChangeValue_Boolean, Callback_CutEvent_Void, Callback_CopyEvent_Void, Callback_ClickEvent_SaveButtonOnClickResult_Void, Literal_Boolean_next_Axis_direction, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_Number_String_Void, Callback_Number_SliderChangeMode_Void, Literal_Number_index, Callback_SwiperContentTransitionProxy_Void, Callback_TabContentTransitionProxy_Void, Callback_EnterKeyType_Void, Callback_String_PasteEvent_Void, Callback_StyledStringChangeValue_Boolean, Callback_String_Number_Void, Type_TextPickerAttribute_onChange_callback, Callback_TextPickerResult_Void, Callback_TimePickerResult_Void, Callback_FullscreenInfo_Void, Callback_PreparedInfo_Void, Callback_PlaybackInfo_Void, Literal_String_script_Callback_String_Void_callback, Literal_String_baseUrl_data_encoding_historyUrl_mimeType, Literal_Union_String_Resource_url_Array_Header_headers, Literal_Object_object_String_name_Array_String_methodList, Literal_Union_String_WebResourceRequest_data, Literal_Function_handler_Object_error, Literal_Object_detail, Literal_Function_callback_Object_fileSelector, Callback_OnPageEndEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_OnGeolocationShowEvent_Void, Callback_OnAlertEvent_Boolean, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnConfirmEvent_Boolean, Callback_OnPromptEvent_Boolean, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnRefreshAccessedHistoryEvent_Void, Type_WebAttribute_onUrlLoadIntercept_callback, Callback_Literal_Function_handler_Object_error_Void, Callback_OnRenderExitedEvent_Void, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Callback_Literal_Function_callback_Object_fileSelector_Void, Callback_OnResourceLoadEvent_Void, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnPermissionRequestEvent_Void, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnContextMenuShowEvent_Boolean, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnClientAuthenticationEvent_Void, Callback_OnWindowNewEvent_Void, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnLoadInterceptEvent_Boolean, Callback_OnOverScrollEvent_Void, Callback_NativeEmbedDataInfo_Void, Callback_NativeEmbedTouchInfo_Void, Literal_String_plainText, Callback_Literal_String_plainText_Void, Literal_Number_surfaceHeight_surfaceWidth, Type_XComponentInterface_value, Callback_UIExtensionProxy_Void, Literal_Number_code_Want_want, Callback_Literal_Number_code_Want_want_Void } from "./../SyntheticDeclarations" +import { ClickEvent } from "./../ArkClickEventMaterialized" +import { Literal_Want_want, Callback_Void, Callback_DismissDialogAction_Void, Callback_Number_Void, Literal_Number_day_month_year, Type_CalendarInterface_value, Callback_CalendarSelectedDate_Void, Callback_CalendarRequestedData_Void, Callback_Date_Void, Callback_Boolean_Void, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Literal_TransitionEffect_appear_disappear, Tuple_Number_Number, Callback_DismissContentCoverAction_Void, Type_SheetOptions_detents, Callback_SheetDismiss_Void, Callback_DismissSheetAction_Void, Callback_SpringBackAction_Void, Callback_SheetType_Void, Literal_String_value_Callback_Void_action, Literal_Boolean_isVisible, Literal_ResourceColor_color, Callback_Literal_Boolean_isVisible_Void, Callback_DismissPopupAction_Void, Literal_Number_offset_span, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, Type_CommonMethod_linearGradient_value, Tuple_ResourceColor_Number, Type_CommonMethod_sweepGradient_value, Tuple_Length_Length, Type_CommonMethod_radialGradient_value, Literal_Alignment_align, Callback_Array_TouchTestInfo_TouchResult, Callback_ClickEvent_Void, Callback_Boolean_HoverEvent_Void, Callback_MouseEvent_Void, Callback_TouchEvent_Void, Callback_KeyEvent_Void, Callback_KeyEvent_Boolean, Callback_Area_Area_Void, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, Callback_DragEvent_String_Void, Callback_PreDragStatus_Void, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_TouchEvent_HitTestMode, Literal_Empty, Callback_Number_Number_Void, Literal_String_key_Any_defaultValue, Callback_DatePickerResult_Void, Callback_TerminationInfo_Void, Literal_Number_errcode_String_msg, Callback_FormCallbackInfo_Void, Callback_Literal_Number_errcode_String_msg_Void, Callback_Any_Void, Tuple_Union_ResourceColor_LinearGradient_common_Number, Callback_GestureEvent_Void, Literal_Number_duration_fingers_Boolean_repeat, Literal_Number_distance_fingers_PanDirection_direction, Literal_Number_fingers_speed_SwipeDirection_direction, Literal_Number_distance_fingers, Literal_Number_angle_fingers, Callback_Number_Tuple_Number_Number, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number, Literal_Number_offsetRemain, Callback_Number_Number_ComputedBarAttribute, Callback_ItemDragInfo_Number_CustomBuilder, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Callback_String_Void, Type_ImageAttribute_onComplete_callback_event, Callback_Type_ImageAttribute_onComplete_callback_event_Void, Callback_Number_Number_Number_Void, Callback_Number_Boolean, Callback_Number_Number_Boolean, Callback_SwipeActionState_Void, Callback_ClickEvent_LocationButtonOnClickResult_Void, Callback_Boolean, Callback_NavDestinationContext_Void, Callback_PopInfo_Void, Tuple_Dimension_Dimension, Callback_NavigationTitleMode_Void, Callback_NavigationMode_Void, Callback_String_Unknown_Void, Type_NavigationAttribute_customNavContentTransition_delegate, Callback_NavigationTransitionProxy_Void, Literal_String_target_NavigationType_type, Callback_Number_Number_PanelMode_Void, Callback_ClickEvent_PasteButtonOnClickResult_Void, Callback_Array_Number_Void, Callback_RefreshStatus_Void, Callback_RichEditorSelection_Void, Callback_RichEditorRange_Void, Callback_RichEditorInsertValue_Boolean, Callback_RichEditorTextSpanResult_Void, Callback_TextRange_Void, Callback_RichEditorDeleteValue_Boolean, Callback_RichEditorChangeValue_Boolean, Callback_CutEvent_Void, Callback_CopyEvent_Void, Callback_ClickEvent_SaveButtonOnClickResult_Void, Literal_Boolean_next_Axis_direction, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_Number_String_Void, Callback_Number_SliderChangeMode_Void, Literal_Number_index, Callback_SwiperContentTransitionProxy_Void, Callback_TabContentTransitionProxy_Void, Callback_EnterKeyType_Void, Callback_String_PasteEvent_Void, Callback_StyledStringChangeValue_Boolean, Callback_String_Number_Void, Type_TextPickerAttribute_onChange_callback, Callback_TextPickerResult_Void, Callback_TimePickerResult_Void, Callback_FullscreenInfo_Void, Callback_PreparedInfo_Void, Callback_PlaybackInfo_Void, Literal_String_script_Callback_String_Void_callback_, Literal_String_baseUrl_data_encoding_historyUrl_mimeType, Literal_Union_String_Resource_url_Array_Header_headers, Literal_Object_object__String_name_Array_String_methodList, Literal_Union_String_WebResourceRequest_data, Literal_Function_handler_Object_error, Literal_Object_detail, Literal_Function_callback__Object_fileSelector, Callback_OnPageEndEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_OnGeolocationShowEvent_Void, Callback_OnAlertEvent_Boolean, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnConfirmEvent_Boolean, Callback_OnPromptEvent_Boolean, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnRefreshAccessedHistoryEvent_Void, Type_WebAttribute_onUrlLoadIntercept_callback, Callback_Literal_Function_handler_Object_error_Void, Callback_OnRenderExitedEvent_Void, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Type_WebAttribute_onFileSelectorShow_callback, Callback_OnResourceLoadEvent_Void, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnPermissionRequestEvent_Void, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnContextMenuShowEvent_Boolean, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnClientAuthenticationEvent_Void, Callback_OnWindowNewEvent_Void, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnLoadInterceptEvent_Boolean, Callback_OnOverScrollEvent_Void, Callback_NativeEmbedDataInfo_Void, Callback_NativeEmbedTouchInfo_Void, Literal_String_plainText, Callback_Literal_String_plainText_Void, Literal_Number_surfaceHeight_surfaceWidth, Type_XComponentInterface_value, Callback_UIExtensionProxy_Void, Literal_Number_code_Want_want, Callback_Literal_Number_code_Want_want_Void } from "./../SyntheticDeclarations" import { AbilityComponentInterface, AbilityComponentAttribute } from "./../ArkAbilityComponentInterfaces" import { SheetInfo, DismissDialogAction, ActionSheetButtonOptions, ActionSheetOffset, ActionSheetOptions } from "./../ArkActionSheetInterfaces" import { Resource } from "./../ArkResourceInterfaces" @@ -47,7 +50,14 @@ import { ColumnOptions, ColumnInterface, ColumnAttribute } from "./../ArkColumnI import { ColumnSplitInterface, ColumnSplitAttribute, ColumnSplitDividerStyle } from "./../ArkColumnSplitInterfaces" import { ICurve } from "./../ArkICurveMaterialized" import { DrawModifier } from "./../ArkDrawModifierMaterialized" +import { BaseEvent } from "./../ArkBaseEventMaterialized" +import { HoverEvent } from "./../ArkHoverEventMaterialized" +import { MouseEvent } from "./../ArkMouseEventMaterialized" +import { AccessibilityHoverEvent } from "./../ArkAccessibilityHoverEventMaterialized" +import { TouchEvent } from "./../ArkTouchEventMaterialized" import { PixelMapMock } from "./../ArkPixelMapMockMaterialized" +import { DragEvent } from "./../ArkDragEventMaterialized" +import { KeyEvent } from "./../ArkKeyEventMaterialized" import { ProgressMask } from "./../ArkProgressMaskMaterialized" import { AttributeModifier, CustomComponent, AbstractProperty, IPropertySubscriber, ISinglePropertyChangeSubscriber, SubscribaleAbstract, NavigationAttribute, CommonTransition, PageTransitionEnterInterface, PageTransitionExitInterface } from "./../../handwritten" import { ResizableOptions, DrawableDescriptor, DrawingColorFilter, ResolutionQuality, DrawingLattice, ImageRenderMode, ImageContent, DynamicRangeMode, ImageInterpolation, ImageInterface, ImageAttribute, ImageSourceSize, ImageErrorCallback, ImageError } from "./../ArkImageInterfaces" @@ -56,13 +66,14 @@ import { EllipseAttribute, EllipseOptions, EllipseInterface } from "./../ArkElli import { PathAttribute, PathOptions, PathInterface } from "./../ArkPathInterfaces" import { RectAttribute, RectOptions, RoundedRectOptions, RectInterface } from "./../ArkRectInterfaces" import { GestureModifier } from "./../ArkGestureModifierMaterialized" -import { GestureInfo, BaseGestureEvent, GestureJudgeResult, GestureControl_GestureType, GestureMask, GestureHandler, GesturePriority, PanDirection, SwipeDirection, GestureMode, FingerInfo, TapGestureEvent, LongPressGestureEvent, PanGestureEvent, PinchGestureEvent, RotationGestureEvent, SwipeGestureEvent, GestureEvent, GestureInterface, TapGestureParameters, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, SwipeGestureInterface, PinchGestureInterface, RotationGestureInterface, GestureGroupInterface, TapGestureHandlerOptions, TapGestureHandler, LongPressGestureHandlerOptions, LongPressGestureHandler, PanGestureHandlerOptions, PanGestureHandler, SwipeGestureHandlerOptions, SwipeGestureHandler, PinchGestureHandlerOptions, PinchGestureHandler, RotationGestureHandlerOptions, RotationGestureHandler, GestureGroupGestureHandlerOptions, GestureRecognizerState } from "./../ArkGestureInterfaces" +import { GestureInfo, GestureJudgeResult, GestureControl_GestureType, GestureMask, GestureHandler, GesturePriority, PanDirection, SwipeDirection, GestureMode, FingerInfo, GestureInterface, TapGestureParameters, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, SwipeGestureInterface, PinchGestureInterface, RotationGestureInterface, GestureGroupInterface, TapGestureHandlerOptions, TapGestureHandler, LongPressGestureHandlerOptions, LongPressGestureHandler, PanGestureHandlerOptions, PanGestureHandler, SwipeGestureHandlerOptions, SwipeGestureHandler, PinchGestureHandlerOptions, PinchGestureHandler, RotationGestureHandlerOptions, RotationGestureHandler, GestureGroupGestureHandlerOptions, GestureRecognizerState } from "./../ArkGestureInterfaces" +import { BaseGestureEvent } from "./../ArkBaseGestureEventMaterialized" import { View } from "./../ArkViewMaterialized" import { TextContentControllerBase } from "./../ArkTextContentControllerBaseMaterialized" -import { ScrollState, ListItemAlign, ListItemGroupArea, StickyStyle, ChainEdgeEffect, ScrollSnapAlign, ChainAnimationOptions, CloseSwipeActionOptions, VisibleListContentInfo, ListOptions, ListInterface, ListAttribute, ListDividerOptions, OnScrollVisibleContentChangeCallback } from "./../ArkListInterfaces" -import { ScrollOnWillScrollCallback, ScrollAlign, ScrollDirection, OffsetResult, ScrollEdgeOptions, ScrollToIndexOptions, ScrollAnimationOptions, OffsetOptions, ScrollOptions, ScrollPageOptions, ScrollSnapOptions, ScrollInterface, ScrollAttribute, OnScrollFrameBeginHandlerResult, OnScrollEdgeCallback, OnScrollFrameBeginCallback } from "./../ArkScrollInterfaces" +import { ScrollOnWillScrollCallback, ScrollOnScrollCallback, ScrollAlign, ScrollDirection, OffsetResult, ScrollEdgeOptions, ScrollToIndexOptions, ScrollAnimationOptions, OffsetOptions, ScrollOptions, ScrollPageOptions, ScrollSnapOptions, ScrollInterface, ScrollAttribute, OnScrollFrameBeginHandlerResult, OnScrollEdgeCallback, OnScrollFrameBeginCallback } from "./../ArkScrollInterfaces" import { DynamicNode } from "./../ArkDynamicNodeMaterialized" import { ChildrenMainSize } from "./../ArkChildrenMainSizeMaterialized" +import { UICommonEvent } from "./../ArkUICommonEventMaterialized" import { EnvPropsOptions, PersistPropsOptions } from "./../ArkCommonTsEtsApiInterfaces" import { Scene, ModelType, SceneOptions, Component3DInterface, Component3DAttribute } from "./../ArkComponent3dInterfaces" import { ContainerSpanInterface, ContainerSpanAttribute } from "./../ArkContainerSpanInterfaces" @@ -86,6 +97,13 @@ import { WindowStatusType, FolderStackOptions, FolderStackInterface, FolderStack import { FormDimension, FormRenderingMode, FormShape, FormInfo, FormComponentInterface, FormComponentAttribute, FormCallbackInfo } from "./../ArkFormComponentInterfaces" import { FormLinkOptions, FormLinkInterface, FormLinkAttribute } from "./../ArkFormLinkInterfaces" import { GaugeOptions, GaugeInterface, GaugeAttribute, GaugeShadowOptions, GaugeIndicatorOptions, GaugeConfiguration } from "./../ArkGaugeInterfaces" +import { TapGestureEvent } from "./../ArkTapGestureEventMaterialized" +import { LongPressGestureEvent } from "./../ArkLongPressGestureEventMaterialized" +import { PanGestureEvent } from "./../ArkPanGestureEventMaterialized" +import { PinchGestureEvent } from "./../ArkPinchGestureEventMaterialized" +import { RotationGestureEvent } from "./../ArkRotationGestureEventMaterialized" +import { SwipeGestureEvent } from "./../ArkSwipeGestureEventMaterialized" +import { GestureEvent } from "./../ArkGestureEventMaterialized" import { PanGestureOptions } from "./../ArkPanGestureOptionsMaterialized" import { ScrollableTargetInfo } from "./../ArkScrollableTargetInfoMaterialized" import { EventTargetInfo } from "./../ArkEventTargetInfoMaterialized" @@ -93,6 +111,7 @@ import { GestureRecognizer } from "./../ArkGestureRecognizerMaterialized" import { PanRecognizer } from "./../ArkPanRecognizerMaterialized" import { GridLayoutOptions, GridInterface, GridAttribute, GridDirection, GridItemAlignment, ComputedBarAttribute } from "./../ArkGridInterfaces" import { Scroller } from "./../ArkScrollerMaterialized" +import { ScrollState, ListItemAlign, ListItemGroupArea, StickyStyle, ChainEdgeEffect, ScrollSnapAlign, ChainAnimationOptions, CloseSwipeActionOptions, VisibleListContentInfo, ListOptions, ListInterface, ListAttribute, ListDividerOptions, OnScrollVisibleContentChangeCallback } from "./../ArkListInterfaces" import { GridItemStyle, GridItemOptions, GridItemInterface, GridItemAttribute } from "./../ArkGridItemInterfaces" import { GridColColumnOption, GridColOptions, GridColInterface, GridColAttribute } from "./../ArkGridColInterfaces" import { SizeType, GridContainerOptions, GridContainerInterface, GridContainerAttribute } from "./../ArkGridContainerInterfaces" @@ -150,7 +169,7 @@ import { LayoutManager } from "./../ArkLayoutManagerMaterialized" import { StyledString } from "./../ArkStyledStringMaterialized" import { StyledStringController } from "./../ArkStyledStringControllerMaterialized" import { MutableStyledString } from "./../ArkMutableStyledStringMaterialized" -import { EnterKeyType, OnTextSelectionChangeCallback, OnContentScrollCallback, OnPasteCallback, InputType, UnderlineColor, SubmitEvent, TextInputOptions, TextInputStyle, TextInputInterface, TextInputAttribute, PasswordIcon, OnSubmitCallback } from "./../ArkTextInputInterfaces" +import { EnterKeyType, OnTextSelectionChangeCallback, OnContentScrollCallback, OnPasteCallback, InputType, UnderlineColor, TextInputOptions, TextInputStyle, TextInputInterface, TextInputAttribute, PasswordIcon, OnSubmitCallback } from "./../ArkTextInputInterfaces" import { EditMenuOptions } from "./../ArkEditMenuOptionsMaterialized" import { RichTextInterface, RichTextAttribute } from "./../ArkRichTextInterfaces" import { RootSceneSession, RootSceneInterface, RootSceneAttribute } from "./../ArkRootSceneInterfaces" @@ -192,6 +211,7 @@ import { TextClockController } from "./../ArkTextClockControllerMaterialized" import { TextClockConfiguration, TextClockOptions, TextClockInterface, TextClockAttribute } from "./../ArkTextClockInterfaces" import { TextBaseController } from "./../ArkTextBaseControllerMaterialized" import { TextMenuItemId } from "./../ArkTextMenuItemIdMaterialized" +import { SubmitEvent } from "./../ArkSubmitEventMaterialized" import { TextInputController } from "./../ArkTextInputControllerMaterialized" import { TextPickerDialog } from "./../ArkTextPickerDialogMaterialized" import { TextTimerController } from "./../ArkTextTimerControllerMaterialized" @@ -1129,6 +1149,9 @@ export class TypeChecker { static isErrorCallback(value: object|string|number|undefined|null, arg0: boolean): boolean { return value instanceof ErrorCallback } + static isESObject(value: object|string|number|undefined|null): boolean { + return value instanceof ESObject + } static isEventEmulator(value: object|string|number|undefined|null): boolean { return value instanceof EventEmulator } @@ -1834,8 +1857,8 @@ export class TypeChecker { static isLiteral_Empty(value: object|string|number|undefined|null): boolean { return value instanceof Literal_Empty } - static isLiteral_Function_callback_Object_fileSelector(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean): boolean { - return value instanceof Literal_Function_callback_Object_fileSelector + static isLiteral_Function_callback__Object_fileSelector(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean): boolean { + return value instanceof Literal_Function_callback__Object_fileSelector } static isLiteral_Function_handler_Object_error(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean): boolean { return value instanceof Literal_Function_handler_Object_error @@ -1879,8 +1902,8 @@ export class TypeChecker { static isLiteral_Object_detail(value: object|string|number|undefined|null, arg0: boolean): boolean { return value instanceof Literal_Object_detail } - static isLiteral_Object_object_String_name_Array_String_methodList(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean, arg2: boolean): boolean { - return value instanceof Literal_Object_object_String_name_Array_String_methodList + static isLiteral_Object_object__String_name_Array_String_methodList(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean, arg2: boolean): boolean { + return value instanceof Literal_Object_object__String_name_Array_String_methodList } static isLiteral_ResourceColor_color(value: object|string|number|undefined|null, arg0: boolean): boolean { return value instanceof Literal_ResourceColor_color @@ -1900,8 +1923,8 @@ export class TypeChecker { static isLiteral_String_plainText(value: object|string|number|undefined|null, arg0: boolean): boolean { return value instanceof Literal_String_plainText } - static isLiteral_String_script_Callback_String_Void_callback(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean): boolean { - return value instanceof Literal_String_script_Callback_String_Void_callback + static isLiteral_String_script_Callback_String_Void_callback_(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean): boolean { + return value instanceof Literal_String_script_Callback_String_Void_callback_ } static isLiteral_String_target_NavigationType_type(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean): boolean { return value instanceof Literal_String_target_NavigationType_type @@ -2620,6 +2643,9 @@ export class TypeChecker { static isPluginErrorData(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean): boolean { return value instanceof PluginErrorData } + static isPoint(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean): boolean { + return value instanceof Point + } static isPointerStyle(value: object|string|number|undefined|null): boolean { return value instanceof PointerStyle } @@ -4132,8 +4158,8 @@ export class TypeChecker { static isArray_ModifierKey(value: object|string|number|undefined|null): boolean { return value instanceof Array } - static isArray_CustomObject(value: object|string|number|undefined|null): boolean { - return value instanceof Array + static isArray_Length(value: object|string|number|undefined|null): boolean { + return value instanceof Array } static isArray_FractionStop(value: object|string|number|undefined|null): boolean { return value instanceof Array @@ -4183,6 +4209,15 @@ export class TypeChecker { static isArray_LayoutSafeAreaEdge(value: object|string|number|undefined|null): boolean { return value instanceof Array } + static isArray_CustomObject(value: object|string|number|undefined|null): boolean { + return value instanceof Array + } + static isArray_Point(value: object|string|number|undefined|null): boolean { + return value instanceof Array + } + static isArray_Union_Number_String(value: object|string|number|undefined|null): boolean { + return value instanceof Array + } static isArray_GuideLineStyle(value: object|string|number|undefined|null): boolean { return value instanceof Array } @@ -4216,9 +4251,6 @@ export class TypeChecker { static isArray_RichEditorSpan(value: object|string|number|undefined|null): boolean { return value instanceof Array } - static isArray_Length(value: object|string|number|undefined|null): boolean { - return value instanceof Array - } static isArray_SelectOption(value: object|string|number|undefined|null): boolean { return value instanceof Array } diff --git a/arkoala-arkts/arkui/src/generated/index.ts b/arkoala-arkts/arkui/src/generated/index.ts index 4b95081b3..f1027f363 100644 --- a/arkoala-arkts/arkui/src/generated/index.ts +++ b/arkoala-arkts/arkui/src/generated/index.ts @@ -129,16 +129,34 @@ export * from "./ArkDrawingRenderingContextMaterialized" export * from "./ArkICurveMaterialized" export * from "./ArkDrawModifierMaterialized" export * from "./ArkTransitionEffectMaterialized" +export * from "./ArkBaseEventMaterialized" +export * from "./ArkClickEventMaterialized" +export * from "./ArkHoverEventMaterialized" +export * from "./ArkMouseEventMaterialized" +export * from "./ArkAccessibilityHoverEventMaterialized" +export * from "./ArkTouchEventMaterialized" export * from "./ArkPixelMapMockMaterialized" +export * from "./ArkDragEventMaterialized" +export * from "./ArkKeyEventMaterialized" export * from "./ArkProgressMaskMaterialized" export * from "./ArkViewMaterialized" export * from "./ArkTextContentControllerBaseMaterialized" export * from "./ArkDynamicNodeMaterialized" export * from "./ArkChildrenMainSizeMaterialized" +export * from "./ArkUICommonEventMaterialized" export * from "./ArkGestureModifierMaterialized" +export * from "./ArkGlobalScopeCommonMaterialized" export * from "./ArkContextMenuMaterialized" export * from "./ArkCustomDialogControllerMaterialized" export * from "./ArkDatePickerDialogMaterialized" +export * from "./ArkBaseGestureEventMaterialized" +export * from "./ArkTapGestureEventMaterialized" +export * from "./ArkLongPressGestureEventMaterialized" +export * from "./ArkPanGestureEventMaterialized" +export * from "./ArkPinchGestureEventMaterialized" +export * from "./ArkRotationGestureEventMaterialized" +export * from "./ArkSwipeGestureEventMaterialized" +export * from "./ArkGestureEventMaterialized" export * from "./ArkPanGestureOptionsMaterialized" export * from "./ArkScrollableTargetInfoMaterialized" export * from "./ArkEventTargetInfoMaterialized" @@ -170,6 +188,7 @@ export * from "./ArkStyledStringControllerMaterialized" export * from "./ArkLayoutManagerMaterialized" export * from "./ArkTextMenuItemIdMaterialized" export * from "./ArkEditMenuOptionsMaterialized" +export * from "./ArkSubmitEventMaterialized" export * from "./ArkTextInputControllerMaterialized" export * from "./ArkTextPickerDialogMaterialized" export * from "./ArkTextTimerControllerMaterialized" @@ -204,10 +223,13 @@ export * from "./ArkStyledStringMaterialized" export * from "./ArkMutableStyledStringMaterialized" export * from "./ArkCustomSpanMaterialized" export * from "./ArkLinearIndicatorControllerMaterialized" +export * from "./ArkGlobalScopeInspectorMaterialized" export * from "./ArkStdlibInterfaces" export * from "./ArkArkui-customInterfaces" export * from "./SyntheticDeclarations" export * from "./ArkArkui-externalInterfaces" +export * from "./ArkArkui-stubsInterfaces" +export * from "./ArkPointInterfaces" export * from "./ArkStaticComponentsInterfaces" export * from "./ArkAbilityComponentInterfaces" export * from "./ArkActionSheetInterfaces" @@ -339,4 +361,5 @@ export * from "./ArkWaterFlowInterfaces" export * from "./ArkUiExtensionComponentInterfaces" export * from "./ArkStyledStringInterfaces" export * from "./ArkLinearindicatorInterfaces" -export * from "./ArkRawFileDescriptorInterfaces" \ No newline at end of file +export * from "./ArkRawFileDescriptorInterfaces" +export * from "./GlobalScope" \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/peer_events.ts b/arkoala-arkts/arkui/src/generated/peer_events.ts index 036669266..2a2804f2e 100644 --- a/arkoala-arkts/arkui/src/generated/peer_events.ts +++ b/arkoala-arkts/arkui/src/generated/peer_events.ts @@ -1,22 +1,30 @@ import { RuntimeType } from "./peers/SerializerBase" import { int32 } from "@koalaui/common" import { KStringPtr, KPointer } from "@koalaui/interop" -import { Callback_Void, Callback_Number_Void, Callback_CalendarSelectedDate_Void, Callback_CalendarRequestedData_Void, Callback_Date_Void, Callback_Array_TouchTestInfo_TouchResult, Callback_ClickEvent_Void, Callback_Boolean_HoverEvent_Void, Callback_MouseEvent_Void, Callback_TouchEvent_Void, Callback_KeyEvent_Void, Callback_KeyEvent_Boolean, Callback_Area_Area_Void, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, Callback_DragEvent_String_Void, Callback_PreDragStatus_Void, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_TouchEvent_HitTestMode, Callback_Number_ScrollState_Void, Callback_DatePickerResult_Void, Callback_TerminationInfo_Void, Callback_FormCallbackInfo_Void, Callback_Literal_Number_errcode_String_msg_Void, Literal_Number_errcode_String_msg, Callback_Any_Void, Callback_Number_Number_ComputedBarAttribute, Callback_Number_Number_Void, Callback_ItemDragInfo_Number_Callback_Any, Callback_Any, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain, Callback_Boolean_Void, Callback_String_Void, Callback_Type_ImageAttribute_onComplete_callback_event_Void, Type_ImageAttribute_onComplete_callback_event, Callback_Number_Number_Number_Void, Callback_Number_Boolean, Callback_Number_Number_Boolean, Callback_ClickEvent_LocationButtonOnClickResult_Void, Callback_Boolean, Callback_NavDestinationContext_Void, Callback_Number_Number_PanelMode_Void, Callback_ClickEvent_PasteButtonOnClickResult_Void, Callback_Array_Number_Void, Callback_RefreshStatus_Void, Callback_RichEditorSelection_Void, Callback_RichEditorRange_Void, Callback_RichEditorInsertValue_Boolean, Callback_RichEditorTextSpanResult_Void, Callback_TextRange_Void, Callback_RichEditorDeleteValue_Boolean, Callback_RichEditorChangeValue_Boolean, Callback_CutEvent_Void, Callback_CopyEvent_Void, Callback_ClickEvent_SaveButtonOnClickResult_Void, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_Number_String_Void, Callback_Number_SliderChangeMode_Void, Callback_EnterKeyType_Void, Callback_String_PasteEvent_Void, Callback_String_Number_Void, Type_TextPickerAttribute_onChange_callback, Callback_TimePickerResult_Void, Callback_FullscreenInfo_Void, Callback_PreparedInfo_Void, Callback_PlaybackInfo_Void, Callback_OnPageEndEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_OnGeolocationShowEvent_Void, Callback_OnAlertEvent_Boolean, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnConfirmEvent_Boolean, Callback_OnPromptEvent_Boolean, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnRefreshAccessedHistoryEvent_Void, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Callback_OnRenderExitedEvent_Void, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Function_callback_Object_fileSelector_Void, Literal_Function_callback_Object_fileSelector, Callback_OnResourceLoadEvent_Void, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnPermissionRequestEvent_Void, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnContextMenuShowEvent_Boolean, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnClientAuthenticationEvent_Void, Callback_OnWindowNewEvent_Void, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnLoadInterceptEvent_Boolean, Callback_OnOverScrollEvent_Void, Callback_NativeEmbedDataInfo_Void, Callback_NativeEmbedTouchInfo_Void, Callback_UIExtensionProxy_Void, Callback_Literal_Number_code_Want_want_Void, Literal_Number_code_Want_want } from "./SyntheticDeclarations" +import { Callback_Void, Callback_Number_Void, Callback_CalendarSelectedDate_Void, Callback_CalendarRequestedData_Void, Callback_Date_Void, Callback_Array_TouchTestInfo_TouchResult, Callback_ClickEvent_Void, Callback_Boolean_HoverEvent_Void, Callback_MouseEvent_Void, Callback_TouchEvent_Void, Callback_KeyEvent_Void, Callback_KeyEvent_Boolean, Callback_Area_Area_Void, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, Callback_DragEvent_String_Void, Callback_PreDragStatus_Void, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_TouchEvent_HitTestMode, Callback_Number_Number_Void, Callback_DatePickerResult_Void, Callback_TerminationInfo_Void, Callback_FormCallbackInfo_Void, Callback_Literal_Number_errcode_String_msg_Void, Literal_Number_errcode_String_msg, Callback_Any_Void, Callback_Number_Number_ComputedBarAttribute, Callback_ItemDragInfo_Number_CustomBuilder, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain, Callback_Boolean_Void, Callback_String_Void, Callback_Type_ImageAttribute_onComplete_callback_event_Void, Type_ImageAttribute_onComplete_callback_event, Callback_Number_Number_Number_Void, Callback_Number_Boolean, Callback_Number_Number_Boolean, Callback_ClickEvent_LocationButtonOnClickResult_Void, Callback_Boolean, Callback_NavDestinationContext_Void, Callback_Number_Number_PanelMode_Void, Callback_ClickEvent_PasteButtonOnClickResult_Void, Callback_Array_Number_Void, Callback_RefreshStatus_Void, Callback_RichEditorSelection_Void, Callback_RichEditorRange_Void, Callback_RichEditorInsertValue_Boolean, Callback_RichEditorTextSpanResult_Void, Callback_TextRange_Void, Callback_RichEditorDeleteValue_Boolean, Callback_RichEditorChangeValue_Boolean, Callback_CutEvent_Void, Callback_CopyEvent_Void, Callback_ClickEvent_SaveButtonOnClickResult_Void, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_Number_String_Void, Callback_Number_SliderChangeMode_Void, Callback_EnterKeyType_Void, Callback_String_PasteEvent_Void, Callback_String_Number_Void, Type_TextPickerAttribute_onChange_callback, Callback_TimePickerResult_Void, Callback_FullscreenInfo_Void, Callback_PreparedInfo_Void, Callback_PlaybackInfo_Void, Callback_OnPageEndEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_OnGeolocationShowEvent_Void, Callback_OnAlertEvent_Boolean, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnConfirmEvent_Boolean, Callback_OnPromptEvent_Boolean, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnRefreshAccessedHistoryEvent_Void, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Callback_OnRenderExitedEvent_Void, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Callback_OnShowFileSelectorEvent_Boolean, Type_WebAttribute_onFileSelectorShow_callback, Literal_Function_callback__Object_fileSelector, Callback_OnResourceLoadEvent_Void, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnPermissionRequestEvent_Void, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnContextMenuShowEvent_Boolean, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnClientAuthenticationEvent_Void, Callback_OnWindowNewEvent_Void, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnLoadInterceptEvent_Boolean, Callback_OnOverScrollEvent_Void, Callback_NativeEmbedDataInfo_Void, Callback_NativeEmbedTouchInfo_Void, Callback_UIExtensionProxy_Void, Callback_Literal_Number_code_Want_want_Void, Literal_Number_code_Want_want } from "./SyntheticDeclarations" import { OnAlphabetIndexerSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerPopupSelectCallback } from "./ArkAlphabetIndexerInterfaces" import { CalendarSelectedDate, CalendarRequestedData } from "./ArkCalendarInterfaces" import { VoidCallback, Area, SizeOptions } from "./ArkUnitsInterfaces" import { OnCheckboxChangeCallback } from "./ArkCheckboxInterfaces" import { OnCheckboxGroupChangeCallback, CheckboxGroupResult } from "./ArkCheckboxgroupInterfaces" -import { TouchTestInfo, TouchResult, ClickEvent, HoverEvent, AccessibilityCallback, AccessibilityHoverEvent, MouseEvent, TouchEvent, KeyEvent, DragEvent, CustomBuilder, DragItemInfo, PreDragStatus, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, VisibleAreaChangeCallback, ItemDragInfo } from "./ArkCommonInterfaces" -import { GestureInfo, BaseGestureEvent, GestureJudgeResult } from "./ArkGestureInterfaces" +import { TouchTestInfo, TouchResult, AccessibilityCallback, CustomBuilder, DragItemInfo, PreDragStatus, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, VisibleAreaChangeCallback, ItemDragInfo } from "./ArkCommonInterfaces" +import { ClickEvent } from "./ArkClickEventMaterialized" +import { HoverEvent } from "./ArkHoverEventMaterialized" +import { AccessibilityHoverEvent } from "./ArkAccessibilityHoverEventMaterialized" +import { MouseEvent } from "./ArkMouseEventMaterialized" +import { TouchEvent } from "./ArkTouchEventMaterialized" +import { KeyEvent } from "./ArkKeyEventMaterialized" +import { DragEvent } from "./ArkDragEventMaterialized" +import { GestureInfo, GestureJudgeResult } from "./ArkGestureInterfaces" +import { BaseGestureEvent } from "./ArkBaseGestureEventMaterialized" import { GestureRecognizer } from "./ArkGestureRecognizerMaterialized" import { HitTestMode, Edge } from "./ArkEnumsInterfaces" -import { ScrollState, OnScrollVisibleContentChangeCallback, VisibleListContentInfo } from "./ArkListInterfaces" import { DatePickerResult } from "./ArkDatePickerInterfaces" import { TerminationInfo } from "./ArkEmbeddedComponentInterfaces" import { OnFoldStatusChangeCallback, OnFoldStatusChangeInfo, OnHoverStatusChangeCallback, HoverEventParam } from "./ArkFolderStackInterfaces" import { FormCallbackInfo } from "./ArkFormComponentInterfaces" import { ComputedBarAttribute } from "./ArkGridInterfaces" +import { ScrollState, OnScrollVisibleContentChangeCallback, VisibleListContentInfo } from "./ArkListInterfaces" import { ImageErrorCallback, ImageError } from "./ArkImageInterfaces" import { ImageCompleteCallback, ImageLoadResult } from "./ArkImageSpanInterfaces" import { LocationButtonOnClickResult } from "./ArkLocationButtonInterfaces" @@ -27,7 +35,8 @@ import { PluginErrorCallback, PluginErrorData } from "./ArkPluginComponentInterf import { RefreshStatus } from "./ArkRefreshInterfaces" import { RichEditorSelection, RichEditorRange, RichEditorInsertValue, RichEditorTextSpanResult, RichEditorDeleteValue, PasteEventCallback, PasteEvent, SubmitCallback, RichEditorChangeValue, CutEvent, CopyEvent } from "./ArkRichEditorInterfaces" import { TextRange, OnDidChangeCallback, EditableTextOnChangeCallback, PreviewText, InsertValue, DeleteValue } from "./ArkTextCommonInterfaces" -import { EnterKeyType, SubmitEvent, OnTextSelectionChangeCallback, OnContentScrollCallback, OnPasteCallback, OnSubmitCallback } from "./ArkTextInputInterfaces" +import { EnterKeyType, OnTextSelectionChangeCallback, OnContentScrollCallback, OnPasteCallback, OnSubmitCallback } from "./ArkTextInputInterfaces" +import { SubmitEvent } from "./ArkSubmitEventMaterialized" import { SaveButtonOnClickResult } from "./ArkSaveButtonInterfaces" import { OnScrollEdgeCallback, OnScrollFrameBeginCallback, OnScrollFrameBeginHandlerResult } from "./ArkScrollInterfaces" import { SearchSubmitCallback } from "./ArkSearchInterfaces" @@ -596,8 +605,8 @@ export interface CommonMethod_onVisibleAreaChange_event extends PeerEvent { } export interface ScrollableCommonMethod_onScroll_event extends PeerEvent { readonly kind: PeerEventKind - readonly scrollOffset: number - readonly scrollState: ScrollState + readonly first: number + readonly last: number } export interface ScrollableCommonMethod_onReachStart_event extends PeerEvent { readonly kind: PeerEventKind @@ -698,8 +707,8 @@ export interface Grid_onItemDrop_event extends PeerEvent { } export interface Grid_onScroll_event extends PeerEvent { readonly kind: PeerEventKind - readonly scrollOffset: number - readonly scrollState: ScrollState + readonly first: number + readonly last: number } export interface Grid_onReachStart_event extends PeerEvent { readonly kind: PeerEventKind @@ -762,8 +771,8 @@ export interface ImageSpan_onError_event extends PeerEvent { } export interface List_onScroll_event extends PeerEvent { readonly kind: PeerEventKind - readonly scrollOffset: number - readonly scrollState: ScrollState + readonly first: number + readonly last: number } export interface List_onScrollIndex_event extends PeerEvent { readonly kind: PeerEventKind @@ -1008,8 +1017,8 @@ export interface SaveButton_onClick_event extends PeerEvent { } export interface Scroll_onScroll_event extends PeerEvent { readonly kind: PeerEventKind - readonly scrollOffset: number - readonly scrollState: ScrollState + readonly first: number + readonly last: number } export interface Scroll_onScrollEdge_event extends PeerEvent { readonly kind: PeerEventKind @@ -1479,7 +1488,7 @@ export interface Web_onShowFileSelector_event extends PeerEvent { } export interface Web_onFileSelectorShow_event extends PeerEvent { readonly kind: PeerEventKind - readonly event?: Literal_Function_callback_Object_fileSelector | undefined + readonly event?: Literal_Function_callback__Object_fileSelector | undefined } export interface Web_onResourceLoad_event extends PeerEvent { readonly kind: PeerEventKind @@ -2074,7 +2083,7 @@ export class PeerEventsProperties { CommonMethod_bindContentCover1?: CustomBuilder CommonMethod_bindSheet?: CustomBuilder CommonMethod_onVisibleAreaChange?: VisibleAreaChangeCallback - ScrollableCommonMethod_onScroll?: ((scrollOffset: number,scrollState: ScrollState) => void) + ScrollableCommonMethod_onScroll?: ((first: number,last: number) => void) ScrollableCommonMethod_onReachStart?: (() => void) ScrollableCommonMethod_onReachEnd?: (() => void) ScrollableCommonMethod_onScrollStart?: (() => void) @@ -2094,12 +2103,12 @@ export class PeerEventsProperties { Gauge_description?: CustomBuilder Grid_onScrollBarUpdate?: ((index: number,offset: number) => ComputedBarAttribute) Grid_onScrollIndex?: ((first: number,last: number) => void) - Grid_onItemDragStart?: ((event: ItemDragInfo,itemIndex: number) => (() => object)) + Grid_onItemDragStart?: ((event: ItemDragInfo,itemIndex: number) => CustomBuilder) Grid_onItemDragEnter?: ((event: ItemDragInfo) => void) Grid_onItemDragMove?: ((event: ItemDragInfo,itemIndex: number,insertIndex: number) => void) Grid_onItemDragLeave?: ((event: ItemDragInfo,itemIndex: number) => void) Grid_onItemDrop?: ((event: ItemDragInfo,itemIndex: number,insertIndex: number,isSuccess: boolean) => void) - Grid_onScroll?: ((scrollOffset: number,scrollState: ScrollState) => void) + Grid_onScroll?: ((first: number,last: number) => void) Grid_onReachStart?: (() => void) Grid_onReachEnd?: (() => void) Grid_onScrollStart?: (() => void) @@ -2117,7 +2126,7 @@ export class PeerEventsProperties { ImageAnimator_onFinish?: (() => void) ImageSpan_onComplete?: ImageCompleteCallback ImageSpan_onError?: ImageErrorCallback - List_onScroll?: ((scrollOffset: number,scrollState: ScrollState) => void) + List_onScroll?: ((first: number,last: number) => void) List_onScrollIndex?: ((start: number,end: number,center: number) => void) List_onScrollVisibleContentChange?: OnScrollVisibleContentChangeCallback List_onReachStart?: (() => void) @@ -2126,7 +2135,7 @@ export class PeerEventsProperties { List_onScrollStop?: (() => void) List_onItemDelete?: ((index: number) => boolean) List_onItemMove?: ((from: number,to: number) => boolean) - List_onItemDragStart?: ((event: ItemDragInfo,itemIndex: number) => (() => object)) + List_onItemDragStart?: ((event: ItemDragInfo,itemIndex: number) => CustomBuilder) List_onItemDragEnter?: ((event: ItemDragInfo) => void) List_onItemDragMove?: ((event: ItemDragInfo,itemIndex: number,insertIndex: number) => void) List_onItemDragLeave?: ((event: ItemDragInfo,itemIndex: number) => void) @@ -2179,11 +2188,11 @@ export class PeerEventsProperties { RichText_onStart?: (() => void) RichText_onComplete?: (() => void) SaveButton_onClick?: ((event: ClickEvent,result: SaveButtonOnClickResult) => void) - Scroll_onScroll?: ((scrollOffset: number,scrollState: ScrollState) => void) + Scroll_onScroll?: ((first: number,last: number) => void) Scroll_onScrollEdge?: OnScrollEdgeCallback - Scroll_onScrollStart?: (() => void) + Scroll_onScrollStart?: VoidCallback Scroll_onScrollEnd?: (() => void) - Scroll_onScrollStop?: (() => void) + Scroll_onScrollStop?: VoidCallback Scroll_onScrollFrameBegin?: OnScrollFrameBeginCallback Search_onEditChange?: ((parameter: boolean) => void) Search_onSubmit0?: ((breakpoints: string) => void) @@ -2292,7 +2301,7 @@ export class PeerEventsProperties { Web_onRenderExited0?: ((parameter: OnRenderExitedEvent) => void) Web_onRenderExited1?: ((event?: Literal_Object_detail) => boolean) Web_onShowFileSelector?: ((parameter: OnShowFileSelectorEvent) => boolean) - Web_onFileSelectorShow?: ((event?: Literal_Function_callback_Object_fileSelector) => void) + Web_onFileSelectorShow?: ((event?: Literal_Function_callback__Object_fileSelector) => void) Web_onResourceLoad?: ((parameter: OnResourceLoadEvent) => void) Web_onFullScreenExit?: (() => void) Web_onFullScreenEnter?: OnFullScreenEnterCallback diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkAbilityComponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkAbilityComponentPeer.ts index 59675f808..046f91706 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkAbilityComponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkAbilityComponentPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkAlphabetIndexerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkAlphabetIndexerPeer.ts index 3f32ff422..b19f227f3 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkAlphabetIndexerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkAlphabetIndexerPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkAnimatorPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkAnimatorPeer.ts index 92959a0ba..2b1eca782 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkAnimatorPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkAnimatorPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkBadgePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkBadgePeer.ts index 33ef3db5f..6f030fbe9 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkBadgePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkBadgePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkBlankPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkBlankPeer.ts index 2e804ac5e..ee9c6a14f 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkBlankPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkBlankPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkButtonPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkButtonPeer.ts index ead99ec58..e8318fb80 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkButtonPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkButtonPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCalendarPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCalendarPeer.ts index 81e397519..9d89f36e9 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCalendarPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCalendarPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCalendarPickerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCalendarPickerPeer.ts index 4924260c6..3aebe7970 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCalendarPickerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCalendarPickerPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCanvasPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCanvasPeer.ts index 2fb8dd46e..c3643854e 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCanvasPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCanvasPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -62,12 +62,12 @@ export class ArkCanvasPeer extends ArkCommonMethodPeer { const context_value = context! let context_value_type : int32 = RuntimeType.UNDEFINED context_value_type = runtimeType(context_value) - if (((RuntimeType.OBJECT) == (context_value_type)) && (context_value instanceof CanvasRenderingContext2D)) { + if (((RuntimeType.OBJECT) == (context_value_type)) && (TypeChecker.isCanvasRenderingContext2D(context_value, false, false, false))) { thisSerializer.writeInt8(0 as int32) const context_value_0 = context_value as CanvasRenderingContext2D thisSerializer.writeCanvasRenderingContext2D(context_value_0) } - else if (((RuntimeType.OBJECT) == (context_value_type)) && (context_value instanceof DrawingRenderingContext)) { + else if (((RuntimeType.OBJECT) == (context_value_type)) && (TypeChecker.isDrawingRenderingContext(context_value, false, false))) { thisSerializer.writeInt8(1 as int32) const context_value_1 = context_value as DrawingRenderingContext thisSerializer.writeDrawingRenderingContext(context_value_1) @@ -80,12 +80,12 @@ export class ArkCanvasPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let context_type : int32 = RuntimeType.UNDEFINED context_type = runtimeType(context) - if (((RuntimeType.OBJECT) == (context_type)) && (context instanceof CanvasRenderingContext2D)) { + if (((RuntimeType.OBJECT) == (context_type)) && (TypeChecker.isCanvasRenderingContext2D(context, false, false, false))) { thisSerializer.writeInt8(0 as int32) const context_0 = context as CanvasRenderingContext2D thisSerializer.writeCanvasRenderingContext2D(context_0) } - else if (((RuntimeType.OBJECT) == (context_type)) && (context instanceof DrawingRenderingContext)) { + else if (((RuntimeType.OBJECT) == (context_type)) && (TypeChecker.isDrawingRenderingContext(context, false, false))) { thisSerializer.writeInt8(1 as int32) const context_1 = context as DrawingRenderingContext thisSerializer.writeDrawingRenderingContext(context_1) diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCheckboxPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCheckboxPeer.ts index 0127ce2f4..c6e4646e7 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCheckboxPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCheckboxPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCheckboxgroupPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCheckboxgroupPeer.ts index 445bffeda..bb8cf9211 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCheckboxgroupPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCheckboxgroupPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCirclePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCirclePeer.ts index 43036f673..76c3a0ce2 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCirclePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCirclePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkColumnPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkColumnPeer.ts index 002d4888b..79a81c645 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkColumnPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkColumnPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkColumnSplitPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkColumnSplitPeer.ts index 3b2432772..baa836fe6 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkColumnSplitPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkColumnSplitPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCommonPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCommonPeer.ts index e75f1f690..f8c6e05b9 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCommonPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCommonPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -26,14 +26,20 @@ import { PeerNode } from "../PeerNode" import { ArkUIGeneratedNativeModule } from "#components" import { Length, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, Margin, LocalizedMargin, ResourceColor, Position, BorderOptions, EdgeStyles, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, BorderRadiuses, LocalizedBorderRadiuses, OutlineOptions, EdgeOutlineStyles, Dimension, EdgeOutlineWidths, OutlineRadiuses, Area, Edges, LocalizedEdges, LocalizedPosition, ResourceStr, AccessibilityOptions, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" import { DrawModifier } from "./../ArkDrawModifierMaterialized" -import { Rectangle, TouchTestInfo, TouchResult, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, ClickEvent, HoverEvent, AccessibilityCallback, MouseEvent, TouchEvent, KeyEvent, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, DragEvent, CustomBuilder, DragItemInfo, UniformDataType, PreDragStatus, MotionPathOptions, ShadowOptions, ShadowStyle, CircleShape, EllipseShape, PathShape, RectShape, StateStyles, PixelStretchEffectOptions, BackgroundBrightnessOptions, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, SafeAreaType, SafeAreaEdge, BlurStyle, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, TransitionFinishCallback, BlurOptions, LinearGradientBlurOptions, EffectType, sharedTransitionOptions, ChainStyle, DragPreviewOptions, DragInteractionOptions, ComponentContent, OverlayOptions, BlendMode, BlendApplyType, Blender, GeometryTransitionOptions, PopupOptions, CustomPopupOptions, MenuElement, MenuOptions, ContextMenuOptions, ModalTransition, ContentCoverOptions, SheetOptions, VisibleAreaChangeCallback, CommonMethod, CommonAttribute, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions } from "./../ArkCommonInterfaces" +import { Rectangle, TouchTestInfo, TouchResult, PixelRoundPolicy, BackgroundEffectOptions, ForegroundEffectOptions, VisualEffect, Filter, BorderImageOption, OutlineStyle, AccessibilityCallback, AnimateParam, TransitionOptions, MotionBlurOptions, InvertOptions, TranslateOptions, ScaleOptions, RotateOptions, AlignRuleOption, LocalizedAlignRuleOptions, ClickEffect, CustomBuilder, DragItemInfo, UniformDataType, PreDragStatus, MotionPathOptions, ShadowOptions, ShadowStyle, CircleShape, EllipseShape, PathShape, RectShape, StateStyles, PixelStretchEffectOptions, BackgroundBrightnessOptions, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, SafeAreaType, SafeAreaEdge, BlurStyle, BackgroundBlurStyleOptions, ForegroundBlurStyleOptions, TransitionFinishCallback, BlurOptions, LinearGradientBlurOptions, EffectType, sharedTransitionOptions, ChainStyle, DragPreviewOptions, DragInteractionOptions, ComponentContent, OverlayOptions, BlendMode, BlendApplyType, Blender, GeometryTransitionOptions, PopupOptions, CustomPopupOptions, MenuElement, MenuOptions, ContextMenuOptions, ModalTransition, ContentCoverOptions, SheetOptions, VisibleAreaChangeCallback, CommonMethod, CommonAttribute, NestedScrollOptions, ContentClipMode, EdgeEffectOptions, FadingEdgeOptions } from "./../ArkCommonInterfaces" import { HitTestMode, ImageSize, Alignment, BorderStyle, ColoringStrategy, HoverEffect, Color, Visibility, ItemAlign, Direction, GradientDirection, ObscuredReasons, RenderFit, ImageRepeat, Axis, ResponseType, FunctionKey, ModifierKey, LineCapStyle, LineJoinStyle, BarState, EdgeEffect } from "./../ArkEnumsInterfaces" -import { Callback_Array_TouchTestInfo_TouchResult, Callback_ClickEvent_Void, Callback_Boolean_HoverEvent_Void, Callback_MouseEvent_Void, Callback_TouchEvent_Void, Callback_KeyEvent_Void, Callback_KeyEvent_Boolean, Callback_Void, Callback_Area_Area_Void, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, Literal_Number_offset_span, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, Callback_DragEvent_String_Void, Callback_PreDragStatus_Void, Type_CommonMethod_linearGradient_value, Tuple_ResourceColor_Number, Type_CommonMethod_sweepGradient_value, Tuple_Length_Length, Type_CommonMethod_radialGradient_value, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_TouchEvent_HitTestMode, Literal_Alignment_align, Callback_Number_ScrollState_Void } from "./../SyntheticDeclarations" +import { Callback_Array_TouchTestInfo_TouchResult, Callback_ClickEvent_Void, Callback_Boolean_HoverEvent_Void, Callback_MouseEvent_Void, Callback_TouchEvent_Void, Callback_KeyEvent_Void, Callback_KeyEvent_Boolean, Callback_Void, Callback_Area_Area_Void, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, Literal_Number_offset_span, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, Callback_DragEvent_String_Void, Callback_PreDragStatus_Void, Type_CommonMethod_linearGradient_value, Tuple_ResourceColor_Number, Type_CommonMethod_sweepGradient_value, Tuple_Length_Length, Type_CommonMethod_radialGradient_value, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_TouchEvent_HitTestMode, Literal_Alignment_align, Callback_Number_Number_Void } from "./../SyntheticDeclarations" import { LengthMetrics } from "./../ArkArkui-externalInterfaces" import { ResizableOptions } from "./../ArkImageInterfaces" import { Resource } from "./../ArkResourceInterfaces" +import { ClickEvent } from "./../ArkClickEventMaterialized" +import { HoverEvent } from "./../ArkHoverEventMaterialized" +import { MouseEvent } from "./../ArkMouseEventMaterialized" +import { TouchEvent } from "./../ArkTouchEventMaterialized" +import { KeyEvent } from "./../ArkKeyEventMaterialized" import { FocusBoxStyle, FocusPriority } from "./../ArkFocusInterfaces" import { TransitionEffect } from "./../ArkTransitionEffectMaterialized" +import { DragEvent } from "./../ArkDragEventMaterialized" import { CircleAttribute } from "./../ArkCircleInterfaces" import { EllipseAttribute } from "./../ArkEllipseInterfaces" import { PathAttribute } from "./../ArkPathInterfaces" @@ -41,10 +47,10 @@ import { RectAttribute } from "./../ArkRectInterfaces" import { ProgressMask } from "./../ArkProgressMaskMaterialized" import { AttributeModifier } from "./../../handwritten" import { GestureModifier } from "./../ArkGestureModifierMaterialized" -import { GestureInfo, BaseGestureEvent, GestureJudgeResult, GestureControl_GestureType, GestureMask } from "./../ArkGestureInterfaces" +import { GestureInfo, GestureJudgeResult, GestureControl_GestureType, GestureMask } from "./../ArkGestureInterfaces" +import { BaseGestureEvent } from "./../ArkBaseGestureEventMaterialized" import { PixelMap } from "./../ArkPixelMapMaterialized" -import { ScrollState } from "./../ArkListInterfaces" -import { ScrollOnWillScrollCallback } from "./../ArkScrollInterfaces" +import { ScrollOnWillScrollCallback, ScrollOnScrollCallback } from "./../ArkScrollInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" @@ -1228,7 +1234,7 @@ export class ArkCommonMethodPeer extends PeerNode { const value_0 = value as TransitionOptions thisSerializer.writeTransitionOptions(value_0) } - else if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof TransitionEffect)) { + else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isTransitionEffect(value))) { thisSerializer.writeInt8(1 as int32) const value_1 = value as TransitionEffect thisSerializer.writeTransitionEffect(value_1) @@ -2060,7 +2066,7 @@ export class ArkCommonMethodPeer extends PeerNode { const value_3 = value as RectAttribute thisSerializer.writeRectAttribute(value_3) } - else if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof ProgressMask)) { + else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isProgressMask(value))) { thisSerializer.writeInt8(4 as int32) const value_4 = value as ProgressMask thisSerializer.writeProgressMask(value_4) @@ -2222,9 +2228,9 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_onGestureRecognizerJudgeBegin0(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - onGestureRecognizerJudgeBegin1Attribute(callback: GestureRecognizerJudgeBeginCallback, exposeInnerGesture: boolean): void { + onGestureRecognizerJudgeBegin1Attribute(callback_: GestureRecognizerJudgeBeginCallback, exposeInnerGesture: boolean): void { const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(callback) + thisSerializer.holdAndWriteCallback(callback_) ArkUIGeneratedNativeModule._CommonMethod_onGestureRecognizerJudgeBegin1(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length(), exposeInnerGesture ? 1 : 0) thisSerializer.release() } @@ -2328,7 +2334,7 @@ export class ArkCommonMethodPeer extends PeerNode { thisSerializer.writeResource(src_0_1) } } - else if (((RuntimeType.OBJECT) == (src_type)) && (src instanceof PixelMap)) { + else if (((RuntimeType.OBJECT) == (src_type)) && (TypeChecker.isPixelMap(src, false, false))) { thisSerializer.writeInt8(1 as int32) const src_1 = src as PixelMap thisSerializer.writePixelMap(src_1) @@ -3074,12 +3080,12 @@ export class ArkCommonShapeMethodPeer extends ArkCommonMethodPeer { antiAliasAttribute(value: boolean): void { ArkUIGeneratedNativeModule._CommonShapeMethod_antiAlias(this.peer.ptr, value ? 1 : 0) } - strokeDashArrayAttribute(value: Array): void { + strokeDashArrayAttribute(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 : object = value[i] - thisSerializer.writeCustomObject("Any", value_element) + const value_element : Length = value[i] + thisSerializer.writeLength(value_element) } ArkUIGeneratedNativeModule._CommonShapeMethod_strokeDashArray(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() @@ -3096,7 +3102,7 @@ export interface ArkCommonShapeMethodAttributes extends ArkCommonMethodAttribute fillOpacity?: number | string | Resource strokeWidth?: Length antiAlias?: boolean - strokeDashArray?: Array + strokeDashArray?: Array } export class ArkCommonPeer extends ArkCommonMethodPeer { protected constructor(peerPtr: KPointer, id: int32, name: string = "", flags: int32 = 0) { @@ -3194,7 +3200,7 @@ export class ArkScrollableCommonMethodPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._ScrollableCommonMethod_friction(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - onScrollAttribute(value: ((scrollOffset: number,scrollState: ScrollState) => void)): void { + onScrollAttribute(value: ((first: number,last: number) => void)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._ScrollableCommonMethod_onScroll(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) @@ -3212,7 +3218,7 @@ export class ArkScrollableCommonMethodPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._ScrollableCommonMethod_onWillScroll(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - onDidScrollAttribute(value?: ScrollOnWillScrollCallback): void { + onDidScrollAttribute(value?: ScrollOnScrollCallback): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkComponent3dPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkComponent3dPeer.ts index 54732cdde..60687bdbf 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkComponent3dPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkComponent3dPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkContainerSpanPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkContainerSpanPeer.ts index 680598c50..ab639d841 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkContainerSpanPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkContainerSpanPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCounterPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCounterPeer.ts index ff213fcbd..a9d5ab0f1 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCounterPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCounterPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkDataPanelPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkDataPanelPeer.ts index e164cd908..63b3c62f5 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkDataPanelPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkDataPanelPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkDatePickerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkDatePickerPeer.ts index 6c59ac236..9bf9fcb73 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkDatePickerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkDatePickerPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkDividerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkDividerPeer.ts index 7798f889b..69913e0fb 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkDividerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkDividerPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkEffectComponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkEffectComponentPeer.ts index 99e4ad5d6..7b254f465 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkEffectComponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkEffectComponentPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkEllipsePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkEllipsePeer.ts index 510f45d1e..ff2bdb7f0 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkEllipsePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkEllipsePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkEmbeddedComponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkEmbeddedComponentPeer.ts index 46b041ffe..50df31147 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkEmbeddedComponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkEmbeddedComponentPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkFlexPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkFlexPeer.ts index b4b843824..bd231516c 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkFlexPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkFlexPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkFlowItemPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkFlowItemPeer.ts index b30d2c31c..69bf6c815 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkFlowItemPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkFlowItemPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkFolderStackPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkFolderStackPeer.ts index bb6462661..028cc21e7 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkFolderStackPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkFolderStackPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkFormComponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkFormComponentPeer.ts index 3ebbcc510..2c8b51d27 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkFormComponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkFormComponentPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkFormLinkPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkFormLinkPeer.ts index 856a98ba6..076e3b4fc 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkFormLinkPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkFormLinkPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkGaugePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkGaugePeer.ts index 3afc67b99..631c283b8 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkGaugePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkGaugePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkGridColPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkGridColPeer.ts index 2a67073f0..a7f7cf2bf 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkGridColPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkGridColPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkGridContainerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkGridContainerPeer.ts index 9fa745b68..8c526f679 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkGridContainerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkGridContainerPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkGridItemPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkGridItemPeer.ts index 08e6b0950..8d9771893 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkGridItemPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkGridItemPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkGridPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkGridPeer.ts index 1c5a6d152..baa91f7ce 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkGridPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkGridPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -25,11 +25,11 @@ import { ComponentBase } from "../ComponentBase" import { PeerNode } from "../PeerNode" import { ArkUIGeneratedNativeModule } from "#components" import { ArkScrollableCommonMethodPeer, ArkScrollableCommonMethodAttributes } from "./ArkCommonPeer" -import { ScrollableCommonMethod, ItemDragInfo, NestedScrollOptions, EdgeEffectOptions } from "./../ArkCommonInterfaces" +import { ScrollableCommonMethod, ItemDragInfo, CustomBuilder, NestedScrollOptions, EdgeEffectOptions } from "./../ArkCommonInterfaces" import { GridAttribute, ComputedBarAttribute, GridDirection, GridItemAlignment, GridLayoutOptions } from "./../ArkGridInterfaces" import { Length } from "./../ArkUnitsInterfaces" import { Color, BarState, EdgeEffect } from "./../ArkEnumsInterfaces" -import { Callback_Number_Number_ComputedBarAttribute, Callback_Number_Number_Void, Callback_ItemDragInfo_Number_Callback_Any, Callback_Any, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Number_ScrollState_Void, Callback_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain } from "./../SyntheticDeclarations" +import { Callback_Number_Number_ComputedBarAttribute, Callback_Number_Number_Void, Callback_ItemDragInfo_Number_CustomBuilder, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain } from "./../SyntheticDeclarations" import { Resource } from "./../ArkResourceInterfaces" import { ScrollState } from "./../ArkListInterfaces" import { Scroller } from "./../ArkScrollerMaterialized" @@ -167,7 +167,7 @@ export class ArkGridPeer extends ArkScrollableCommonMethodPeer { supportAnimationAttribute(value: boolean): void { ArkUIGeneratedNativeModule._GridAttribute_supportAnimation(this.peer.ptr, value ? 1 : 0) } - onItemDragStartAttribute(value: ((event: ItemDragInfo,itemIndex: number) => (() => object))): void { + onItemDragStartAttribute(value: ((event: ItemDragInfo,itemIndex: number) => CustomBuilder)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._GridAttribute_onItemDragStart(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) @@ -235,7 +235,7 @@ export class ArkGridPeer extends ArkScrollableCommonMethodPeer { ArkUIGeneratedNativeModule._GridAttribute_alignItems(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - onScrollAttribute(value: ((scrollOffset: number,scrollState: ScrollState) => void)): void { + onScrollAttribute(value: ((first: number,last: number) => void)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._GridAttribute_onScroll(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) @@ -302,7 +302,7 @@ export interface ArkGridAttributes extends ArkScrollableCommonMethodAttributes { cellLength?: number layoutDirection?: GridDirection supportAnimation?: boolean - onItemDragStart?: ((event: ItemDragInfo,itemIndex: number) => (() => object)) + onItemDragStart?: ((event: ItemDragInfo,itemIndex: number) => CustomBuilder) onItemDragEnter?: ((event: ItemDragInfo) => void) onItemDragMove?: ((event: ItemDragInfo,itemIndex: number,insertIndex: number) => void) onItemDragLeave?: ((event: ItemDragInfo,itemIndex: number) => void) @@ -311,7 +311,7 @@ export interface ArkGridAttributes extends ArkScrollableCommonMethodAttributes { enableScrollInteraction?: boolean friction?: number | Resource alignItems?: GridItemAlignment | undefined - onScroll?: ((scrollOffset: number,scrollState: ScrollState) => void) + onScroll?: ((first: number,last: number) => void) onReachStart?: (() => void) onReachEnd?: (() => void) onScrollStart?: (() => void) diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkGridRowPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkGridRowPeer.ts index 020012420..9c766aeaa 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkGridRowPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkGridRowPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkHyperlinkPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkHyperlinkPeer.ts index 43e0b990c..cf9559797 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkHyperlinkPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkHyperlinkPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkImageAnimatorPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkImageAnimatorPeer.ts index a7b59e53b..b4f719dce 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkImageAnimatorPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkImageAnimatorPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkImagePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkImagePeer.ts index f6b4667a4..8f56f028c 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkImagePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkImagePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -59,7 +59,7 @@ export class ArkImagePeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let src_type : int32 = RuntimeType.UNDEFINED src_type = runtimeType(src) - if (((RuntimeType.OBJECT) == (src_type)) && (src instanceof PixelMap)) { + if (((RuntimeType.OBJECT) == (src_type)) && (TypeChecker.isPixelMap(src, false, false))) { thisSerializer.writeInt8(0 as int32) const src_0 = src as PixelMap thisSerializer.writePixelMap(src_0) @@ -92,7 +92,7 @@ export class ArkImagePeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let src_type : int32 = RuntimeType.UNDEFINED src_type = runtimeType(src) - if (((RuntimeType.OBJECT) == (src_type)) && (src instanceof PixelMap)) { + if (((RuntimeType.OBJECT) == (src_type)) && (TypeChecker.isPixelMap(src, false, false))) { thisSerializer.writeInt8(0 as int32) const src_0 = src as PixelMap thisSerializer.writePixelMap(src_0) @@ -130,7 +130,7 @@ export class ArkImagePeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let src_type : int32 = RuntimeType.UNDEFINED src_type = runtimeType(src) - if (((RuntimeType.OBJECT) == (src_type)) && (src instanceof PixelMap)) { + if (((RuntimeType.OBJECT) == (src_type)) && (TypeChecker.isPixelMap(src, false, false))) { thisSerializer.writeInt8(0 as int32) const src_0 = src as PixelMap thisSerializer.writePixelMap(src_0) @@ -174,7 +174,7 @@ export class ArkImagePeer extends ArkCommonMethodPeer { const value_1 = value as Resource thisSerializer.writeResource(value_1) } - else if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof PixelMap)) { + else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isPixelMap(value, false, false))) { thisSerializer.writeInt8(2 as int32) const value_2 = value as PixelMap thisSerializer.writePixelMap(value_2) diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkImageSpanPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkImageSpanPeer.ts index 6f7b9cc14..a384ce9ac 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkImageSpanPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkImageSpanPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -74,7 +74,7 @@ export class ArkImageSpanPeer extends ArkBaseSpanPeer { thisSerializer.writeResource(value_0_1) } } - else if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof PixelMap)) { + else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isPixelMap(value, false, false))) { thisSerializer.writeInt8(1 as int32) const value_1 = value as PixelMap thisSerializer.writePixelMap(value_1) diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkIndicatorcomponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkIndicatorcomponentPeer.ts index eb79e6a6b..190e83050 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkIndicatorcomponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkIndicatorcomponentPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkLinePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkLinePeer.ts index 1c3586c41..23a0f8ddf 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkLinePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkLinePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -27,6 +27,8 @@ import { ArkUIGeneratedNativeModule } from "#components" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { CommonShapeMethod } from "./../ArkCommonInterfaces" import { LineAttribute, LineOptions } from "./../ArkLineInterfaces" +import { Length } from "./../ArkUnitsInterfaces" +import { Resource } from "./../ArkResourceInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" @@ -61,28 +63,28 @@ export class ArkLinePeer extends ArkCommonShapeMethodPeer { ArkUIGeneratedNativeModule._LineInterface_setLineOptions(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - startPointAttribute(value: Array): void { + startPointAttribute(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 : object = value[i] - thisSerializer.writeCustomObject("Any", value_element) + const value_element : Length = value[i] + thisSerializer.writeLength(value_element) } ArkUIGeneratedNativeModule._LineAttribute_startPoint(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - endPointAttribute(value: Array): void { + endPointAttribute(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 : object = value[i] - thisSerializer.writeCustomObject("Any", value_element) + const value_element : Length = value[i] + thisSerializer.writeLength(value_element) } ArkUIGeneratedNativeModule._LineAttribute_endPoint(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } } export interface ArkLineAttributes extends ArkCommonShapeMethodAttributes { - startPoint?: Array - endPoint?: Array + startPoint?: Array + endPoint?: Array } diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkLinearindicatorPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkLinearindicatorPeer.ts index 783e1d5bd..a57d43f6a 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkLinearindicatorPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkLinearindicatorPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkListItemGroupPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkListItemGroupPeer.ts index 875b492ee..dea042771 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkListItemGroupPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkListItemGroupPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkListItemPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkListItemPeer.ts index ed90b01a6..b0f542ab0 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkListItemPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkListItemPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkListPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkListPeer.ts index 77c2e88b8..a3b9e5758 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkListPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkListPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -25,12 +25,12 @@ import { ComponentBase } from "../ComponentBase" import { PeerNode } from "../PeerNode" import { ArkUIGeneratedNativeModule } from "#components" import { ArkScrollableCommonMethodPeer, ArkScrollableCommonMethodAttributes } from "./ArkCommonPeer" -import { ScrollableCommonMethod, NestedScrollOptions, ItemDragInfo, EdgeEffectOptions } from "./../ArkCommonInterfaces" -import { ListAttribute, ListItemAlign, ListDividerOptions, ChainAnimationOptions, StickyStyle, ScrollSnapAlign, ScrollState, OnScrollVisibleContentChangeCallback, ListOptions } from "./../ArkListInterfaces" +import { ScrollableCommonMethod, NestedScrollOptions, ItemDragInfo, CustomBuilder, EdgeEffectOptions } from "./../ArkCommonInterfaces" +import { ListAttribute, ListItemAlign, ListDividerOptions, ChainAnimationOptions, StickyStyle, ScrollSnapAlign, OnScrollVisibleContentChangeCallback, ScrollState, ListOptions } from "./../ArkListInterfaces" import { Axis, BarState, EdgeEffect } from "./../ArkEnumsInterfaces" import { Resource } from "./../ArkResourceInterfaces" import { ChildrenMainSize } from "./../ArkChildrenMainSizeMaterialized" -import { Callback_Number_ScrollState_Void, Callback_Number_Number_Number_Void, Callback_Void, Callback_Number_Boolean, Callback_Number_Number_Boolean, Callback_ItemDragInfo_Number_Callback_Any, Callback_Any, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain } from "./../SyntheticDeclarations" +import { Callback_Number_Number_Void, Callback_Number_Number_Number_Void, Callback_Void, Callback_Number_Boolean, Callback_Number_Number_Boolean, Callback_ItemDragInfo_Number_CustomBuilder, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Literal_Number_offsetRemain } from "./../SyntheticDeclarations" import { LengthConstrain, Dimension, PX, VP, FP, LPX, Percentage } from "./../ArkUnitsInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" @@ -155,7 +155,7 @@ export class ArkListPeer extends ArkScrollableCommonMethodPeer { maintainVisibleContentPositionAttribute(value: boolean): void { ArkUIGeneratedNativeModule._ListAttribute_maintainVisibleContentPosition(this.peer.ptr, value ? 1 : 0) } - onScrollAttribute(value: ((scrollOffset: number,scrollState: ScrollState) => void)): void { + onScrollAttribute(value: ((first: number,last: number) => void)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._ListAttribute_onScroll(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) @@ -209,7 +209,7 @@ export class ArkListPeer extends ArkScrollableCommonMethodPeer { ArkUIGeneratedNativeModule._ListAttribute_onItemMove(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - onItemDragStartAttribute(value: ((event: ItemDragInfo,itemIndex: number) => (() => object))): void { + onItemDragStartAttribute(value: ((event: ItemDragInfo,itemIndex: number) => CustomBuilder)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._ListAttribute_onItemDragStart(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) @@ -304,7 +304,7 @@ export interface ArkListAttributes extends ArkScrollableCommonMethodAttributes { friction?: number | Resource childrenMainSize?: ChildrenMainSize maintainVisibleContentPosition?: boolean - onScroll?: ((scrollOffset: number,scrollState: ScrollState) => void) + onScroll?: ((first: number,last: number) => void) onScrollIndex?: ((start: number,end: number,center: number) => void) onScrollVisibleContentChange?: OnScrollVisibleContentChangeCallback onReachStart?: (() => void) @@ -313,7 +313,7 @@ export interface ArkListAttributes extends ArkScrollableCommonMethodAttributes { onScrollStop?: (() => void) onItemDelete?: ((index: number) => boolean) onItemMove?: ((from: number,to: number) => boolean) - onItemDragStart?: ((event: ItemDragInfo,itemIndex: number) => (() => object)) + onItemDragStart?: ((event: ItemDragInfo,itemIndex: number) => CustomBuilder) onItemDragEnter?: ((event: ItemDragInfo) => void) onItemDragMove?: ((event: ItemDragInfo,itemIndex: number,insertIndex: number) => void) onItemDragLeave?: ((event: ItemDragInfo,itemIndex: number) => void) diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkLoadingProgressPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkLoadingProgressPeer.ts index c9cfc5080..af41f92ac 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkLoadingProgressPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkLoadingProgressPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkLocationButtonPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkLocationButtonPeer.ts index 9003d9c48..a63562800 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkLocationButtonPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkLocationButtonPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -28,7 +28,7 @@ import { ArkSecurityComponentMethodPeer, ArkSecurityComponentMethodAttributes } import { SecurityComponentMethod } from "./../ArkSecurityComponentInterfaces" import { LocationButtonAttribute, LocationButtonOnClickResult, LocationButtonOptions } from "./../ArkLocationButtonInterfaces" import { Callback_ClickEvent_LocationButtonOnClickResult_Void } from "./../SyntheticDeclarations" -import { ClickEvent } from "./../ArkCommonInterfaces" +import { ClickEvent } from "./../ArkClickEventMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkMarqueePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkMarqueePeer.ts index 521f279f1..2756aca51 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkMarqueePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkMarqueePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkMediaCachedImagePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkMediaCachedImagePeer.ts index 42918585f..b5a0db779 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkMediaCachedImagePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkMediaCachedImagePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -56,7 +56,7 @@ export class ArkMediaCachedImagePeer extends ArkImagePeer { const thisSerializer : Serializer = Serializer.hold() let src_type : int32 = RuntimeType.UNDEFINED src_type = runtimeType(src) - if (((RuntimeType.OBJECT) == (src_type)) && (src instanceof PixelMap)) { + if (((RuntimeType.OBJECT) == (src_type)) && (TypeChecker.isPixelMap(src, false, false))) { thisSerializer.writeInt8(0 as int32) const src_0 = src as PixelMap thisSerializer.writePixelMap(src_0) diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkMenuItemGroupPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkMenuItemGroupPeer.ts index e5eeecc78..4f15f24cb 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkMenuItemGroupPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkMenuItemGroupPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkMenuItemPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkMenuItemPeer.ts index ad93bab95..7f6684209 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkMenuItemPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkMenuItemPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkMenuPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkMenuPeer.ts index 95f455be5..af6b90e01 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkMenuPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkMenuPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkNavDestinationPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkNavDestinationPeer.ts index 7c2e9d6fa..d3030ee67 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkNavDestinationPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkNavDestinationPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -105,7 +105,7 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { thisSerializer.writeResource(value_0_1) } } - else if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof PixelMap)) { + else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isPixelMap(value, false, false))) { thisSerializer.writeInt8(1 as int32) const value_1 = value as PixelMap thisSerializer.writePixelMap(value_1) diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkNavRouterPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkNavRouterPeer.ts index 8e27199f3..71b0a8c85 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkNavRouterPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkNavRouterPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkNavigatorPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkNavigatorPeer.ts index c9e37dc8d..c1dc04b1e 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkNavigatorPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkNavigatorPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkNodeContainerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkNodeContainerPeer.ts index 6a934a054..65eba52e0 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkNodeContainerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkNodeContainerPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkPanelPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkPanelPeer.ts index 9b6d3c11d..575a4c038 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkPanelPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkPanelPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkPasteButtonPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkPasteButtonPeer.ts index 8e0cc1aaf..9db71b326 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkPasteButtonPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkPasteButtonPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -28,7 +28,7 @@ import { ArkSecurityComponentMethodPeer, ArkSecurityComponentMethodAttributes } import { SecurityComponentMethod } from "./../ArkSecurityComponentInterfaces" import { PasteButtonAttribute, PasteButtonOnClickResult, PasteButtonOptions } from "./../ArkPasteButtonInterfaces" import { Callback_ClickEvent_PasteButtonOnClickResult_Void } from "./../SyntheticDeclarations" -import { ClickEvent } from "./../ArkCommonInterfaces" +import { ClickEvent } from "./../ArkClickEventMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkPathPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkPathPeer.ts index 17d1c7586..0a0a1ed91 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkPathPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkPathPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkPatternLockPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkPatternLockPeer.ts index aef75375f..f0b8e8678 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkPatternLockPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkPatternLockPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkPluginComponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkPluginComponentPeer.ts index 8ed6c44c2..87818176d 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkPluginComponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkPluginComponentPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkPolygonPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkPolygonPeer.ts index 22e09b714..d8f3b4e28 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkPolygonPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkPolygonPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -27,6 +27,7 @@ import { ArkUIGeneratedNativeModule } from "#components" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { CommonShapeMethod } from "./../ArkCommonInterfaces" import { PolygonAttribute, PolygonOptions } from "./../ArkPolygonInterfaces" +import { Point } from "./../ArkPointInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" @@ -61,17 +62,17 @@ export class ArkPolygonPeer extends ArkCommonShapeMethodPeer { ArkUIGeneratedNativeModule._PolygonInterface_setPolygonOptions(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - pointsAttribute(value: Array): void { + pointsAttribute(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 : object = value[i] - thisSerializer.writeCustomObject("Any", value_element) + const value_element : Point = value[i] + thisSerializer.writePoint(value_element) } ArkUIGeneratedNativeModule._PolygonAttribute_points(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } } export interface ArkPolygonAttributes extends ArkCommonShapeMethodAttributes { - points?: Array + points?: Array } diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkPolylinePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkPolylinePeer.ts index e377fab25..fe55ad7af 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkPolylinePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkPolylinePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -27,6 +27,7 @@ import { ArkUIGeneratedNativeModule } from "#components" import { ArkCommonShapeMethodPeer, ArkCommonShapeMethodAttributes } from "./ArkCommonPeer" import { CommonShapeMethod } from "./../ArkCommonInterfaces" import { PolylineAttribute, PolylineOptions } from "./../ArkPolylineInterfaces" +import { Point } from "./../ArkPointInterfaces" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" @@ -61,17 +62,17 @@ export class ArkPolylinePeer extends ArkCommonShapeMethodPeer { ArkUIGeneratedNativeModule._PolylineInterface_setPolylineOptions(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - pointsAttribute(value: Array): void { + pointsAttribute(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 : object = value[i] - thisSerializer.writeCustomObject("Any", value_element) + const value_element : Point = value[i] + thisSerializer.writePoint(value_element) } ArkUIGeneratedNativeModule._PolylineAttribute_points(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } } export interface ArkPolylineAttributes extends ArkCommonShapeMethodAttributes { - points?: Array + points?: Array } diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkProgressPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkProgressPeer.ts index 36f3fa0ef..c5e63323e 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkProgressPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkProgressPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkQrcodePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkQrcodePeer.ts index 6616e685f..6d01dc496 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkQrcodePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkQrcodePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRadioPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRadioPeer.ts index a90ac2c43..e8dcac705 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRadioPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRadioPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRatingPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRatingPeer.ts index 6fdea13a6..454a6d01b 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRatingPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRatingPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRectPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRectPeer.ts index 75e89b4a6..d3a4d2f1e 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRectPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRectPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -106,7 +106,7 @@ export class ArkRectPeer extends ArkCommonShapeMethodPeer { ArkUIGeneratedNativeModule._RectAttribute_radiusHeight(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - radiusAttribute(value: number | string | Array): void { + radiusAttribute(value: number | string | Array): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -122,11 +122,22 @@ export class ArkRectPeer extends ArkCommonShapeMethodPeer { } else if (((RuntimeType.OBJECT == value_type))) { thisSerializer.writeInt8(2 as int32) - const value_2 = value as Array + const value_2 = value as Array thisSerializer.writeInt32(value_2.length as int32) for (let i = 0; i < value_2.length; i++) { - const value_2_element : object = value_2[i] - thisSerializer.writeCustomObject("Any", value_2_element) + const value_2_element : number | string = value_2[i] + 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) + 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) + const value_2_element_1 = value_2_element as string + thisSerializer.writeString(value_2_element_1) + } } } ArkUIGeneratedNativeModule._RectAttribute_radius(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) @@ -136,5 +147,5 @@ export class ArkRectPeer extends ArkCommonShapeMethodPeer { export interface ArkRectAttributes extends ArkCommonShapeMethodAttributes { radiusWidth?: number | string radiusHeight?: number | string - radius?: number | string | Array + radius?: number | string | Array } diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRefreshPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRefreshPeer.ts index ff0e66af9..5d880b177 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRefreshPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRefreshPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRelativeContainerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRelativeContainerPeer.ts index 94f467236..a98166831 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRelativeContainerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRelativeContainerPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRemoteWindowPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRemoteWindowPeer.ts index 1fd051c1a..882a151e9 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRemoteWindowPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRemoteWindowPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRichEditorPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRichEditorPeer.ts index 611a08d25..ef9d68362 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRichEditorPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRichEditorPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRichTextPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRichTextPeer.ts index a9e3ebedd..ffc0760cc 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRichTextPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRichTextPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRootScenePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRootScenePeer.ts index effe0b60c..1d558b080 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRootScenePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRootScenePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRowPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRowPeer.ts index 8b5fde71b..40babc8cf 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRowPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRowPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkRowSplitPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkRowSplitPeer.ts index 04ac1e113..09f7c0d5f 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkRowSplitPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkRowSplitPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSaveButtonPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSaveButtonPeer.ts index cb5ab082c..0bf7c0fa1 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSaveButtonPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSaveButtonPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -28,7 +28,7 @@ import { ArkSecurityComponentMethodPeer, ArkSecurityComponentMethodAttributes } import { SecurityComponentMethod } from "./../ArkSecurityComponentInterfaces" import { SaveButtonAttribute, SaveButtonOnClickResult, SaveButtonOptions } from "./../ArkSaveButtonInterfaces" import { Callback_ClickEvent_SaveButtonOnClickResult_Void } from "./../SyntheticDeclarations" -import { ClickEvent } from "./../ArkCommonInterfaces" +import { ClickEvent } from "./../ArkClickEventMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkScreenPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkScreenPeer.ts index ffedbd00d..976cc28e8 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkScreenPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkScreenPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkScrollBarPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkScrollBarPeer.ts index 617db718b..558eba04f 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkScrollBarPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkScrollBarPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkScrollPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkScrollPeer.ts index 19a090ed1..702255c33 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkScrollPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkScrollPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -26,9 +26,9 @@ import { PeerNode } from "../PeerNode" import { ArkUIGeneratedNativeModule } from "#components" import { ArkScrollableCommonMethodPeer, ArkScrollableCommonMethodAttributes } from "./ArkCommonPeer" import { ScrollableCommonMethod, NestedScrollOptions, EdgeEffectOptions } from "./../ArkCommonInterfaces" -import { ScrollAttribute, ScrollDirection, ScrollOnWillScrollCallback, OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollSnapOptions, OffsetOptions } from "./../ArkScrollInterfaces" -import { Callback_Number_ScrollState_Void, Callback_Void } from "./../SyntheticDeclarations" -import { ScrollState } from "./../ArkListInterfaces" +import { ScrollAttribute, ScrollDirection, ScrollOnWillScrollCallback, ScrollOnScrollCallback, OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollSnapOptions, OffsetOptions } from "./../ArkScrollInterfaces" +import { Callback_Number_Number_Void, Callback_Void } from "./../SyntheticDeclarations" +import { VoidCallback } from "./../ArkUnitsInterfaces" import { BarState, Color, EdgeEffect } from "./../ArkEnumsInterfaces" import { Resource } from "./../ArkResourceInterfaces" import { Scroller } from "./../ArkScrollerMaterialized" @@ -69,7 +69,7 @@ export class ArkScrollPeer extends ArkScrollableCommonMethodPeer { scrollableAttribute(value: ScrollDirection): void { ArkUIGeneratedNativeModule._ScrollAttribute_scrollable(this.peer.ptr, (value.valueOf() as int32)) } - onScrollAttribute(value: ((scrollOffset: number,scrollState: ScrollState) => void)): void { + onScrollAttribute(value: ((first: number,last: number) => void)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._ScrollAttribute_onScroll(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) @@ -87,7 +87,7 @@ export class ArkScrollPeer extends ArkScrollableCommonMethodPeer { ArkUIGeneratedNativeModule._ScrollAttribute_onWillScroll(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - onDidScrollAttribute(value?: ScrollOnWillScrollCallback): void { + onDidScrollAttribute(value?: ScrollOnScrollCallback): void { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -105,7 +105,7 @@ export class ArkScrollPeer extends ArkScrollableCommonMethodPeer { ArkUIGeneratedNativeModule._ScrollAttribute_onScrollEdge(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - onScrollStartAttribute(value: (() => void)): void { + onScrollStartAttribute(value: VoidCallback): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._ScrollAttribute_onScrollStart(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) @@ -117,7 +117,7 @@ export class ArkScrollPeer extends ArkScrollableCommonMethodPeer { ArkUIGeneratedNativeModule._ScrollAttribute_onScrollEnd(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - onScrollStopAttribute(value: (() => void)): void { + onScrollStopAttribute(value: VoidCallback): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._ScrollAttribute_onScrollStop(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) @@ -227,13 +227,13 @@ export class ArkScrollPeer extends ArkScrollableCommonMethodPeer { } export interface ArkScrollAttributes extends ArkScrollableCommonMethodAttributes { scrollable?: ScrollDirection - onScroll?: ((scrollOffset: number,scrollState: ScrollState) => void) + onScroll?: ((first: number,last: number) => void) onWillScroll?: ScrollOnWillScrollCallback | undefined - onDidScroll?: ScrollOnWillScrollCallback | undefined + onDidScroll?: ScrollOnScrollCallback | undefined onScrollEdge?: OnScrollEdgeCallback - onScrollStart?: (() => void) + onScrollStart?: VoidCallback onScrollEnd?: (() => void) - onScrollStop?: (() => void) + onScrollStop?: VoidCallback scrollBar?: BarState scrollBarColor?: Color | number | string scrollBarWidth?: number | string diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSearchPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSearchPeer.ts index 6de0ef14e..0020f398f 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSearchPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSearchPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSecurityComponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSecurityComponentPeer.ts index faf201184..e0ad54781 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSecurityComponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSecurityComponentPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSelectPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSelectPeer.ts index 0ef52fa71..6c1c5f161 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSelectPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSelectPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkShapePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkShapePeer.ts index 11af6c6f2..3017f205a 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkShapePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkShapePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -27,7 +27,7 @@ import { ArkUIGeneratedNativeModule } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod } from "./../ArkCommonInterfaces" import { ShapeAttribute, ViewportRect } from "./../ArkShapeInterfaces" -import { ResourceColor } from "./../ArkUnitsInterfaces" +import { ResourceColor, Length } from "./../ArkUnitsInterfaces" import { LineCapStyle, LineJoinStyle, Color } from "./../ArkEnumsInterfaces" import { Resource } from "./../ArkResourceInterfaces" import { PixelMap } from "./../ArkPixelMapMaterialized" @@ -139,12 +139,12 @@ export class ArkShapePeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._ShapeAttribute_strokeDashOffset(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - strokeDashArrayAttribute(value: Array): void { + strokeDashArrayAttribute(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 : object = value[i] - thisSerializer.writeCustomObject("Any", value_element) + const value_element : Length = value[i] + thisSerializer.writeLength(value_element) } ArkUIGeneratedNativeModule._ShapeAttribute_strokeDashArray(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() @@ -236,12 +236,12 @@ export class ArkShapePeer extends ArkCommonMethodPeer { antiAliasAttribute(value: boolean): void { ArkUIGeneratedNativeModule._ShapeAttribute_antiAlias(this.peer.ptr, value ? 1 : 0) } - meshAttribute(value: Array, column: number, row: number): void { + meshAttribute(value: Array, column: number, row: number): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.writeInt32(value.length as int32) for (let i = 0; i < value.length; i++) { - const value_element : object = value[i] - thisSerializer.writeCustomObject("Any", value_element) + const value_element : number = value[i] + thisSerializer.writeNumber(value_element) } ArkUIGeneratedNativeModule._ShapeAttribute_mesh(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length(), column, row) thisSerializer.release() @@ -252,7 +252,7 @@ export interface ArkShapeAttributes extends ArkCommonMethodAttributes { stroke?: ResourceColor fill?: ResourceColor strokeDashOffset?: number | string - strokeDashArray?: Array + strokeDashArray?: Array strokeLineCap?: LineCapStyle strokeLineJoin?: LineJoinStyle strokeMiterLimit?: number | string diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSidebarPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSidebarPeer.ts index 299c195a9..99e4461df 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSidebarPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSidebarPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSliderPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSliderPeer.ts index 5061fc104..36ec5795a 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSliderPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSliderPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSpanPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSpanPeer.ts index cfbf096d1..a299f46fd 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSpanPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSpanPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkStackPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkStackPeer.ts index 65a101589..134c4cec1 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkStackPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkStackPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkStaticComponentsPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkStaticComponentsPeer.ts index edc0ddb92..6b911ed31 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkStaticComponentsPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkStaticComponentsPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkStepperItemPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkStepperItemPeer.ts index 2aecde04b..02d3e3d87 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkStepperItemPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkStepperItemPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkStepperPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkStepperPeer.ts index e26db088a..f6219ed7f 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkStepperPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkStepperPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSwiperPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSwiperPeer.ts index 96fc1cbcd..02984d700 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSwiperPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSwiperPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSymbolSpanPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSymbolSpanPeer.ts index 63e36860e..f2e221c95 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSymbolSpanPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSymbolSpanPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSymbolglyphPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSymbolglyphPeer.ts index db4cf6607..7e9d22694 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSymbolglyphPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSymbolglyphPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTabContentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTabContentPeer.ts index 29d030e64..26a3f1c1e 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTabContentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTabContentPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTabsPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTabsPeer.ts index 1fe0b323c..00e7ea170 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTabsPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTabsPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTextAreaPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTextAreaPeer.ts index ef3c5203a..bf3fd5edf 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTextAreaPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTextAreaPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTextClockPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTextClockPeer.ts index a17102d34..22eb052d8 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTextClockPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTextClockPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTextInputPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTextInputPeer.ts index cd1d9fb96..617f23fef 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTextInputPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTextInputPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTextPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTextPeer.ts index 5a3b58c90..43d230d4f 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTextPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTextPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTextPickerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTextPickerPeer.ts index 00fb37437..5dd32a567 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTextPickerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTextPickerPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTextTimerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTextTimerPeer.ts index c6bac2a69..f065ae738 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTextTimerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTextTimerPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTimePickerPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTimePickerPeer.ts index c50ee7cde..24299f1d9 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTimePickerPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTimePickerPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTogglePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTogglePeer.ts index c15cad2dd..4ac31cd2b 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTogglePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTogglePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkUiExtensionComponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkUiExtensionComponentPeer.ts index 0bc78944d..f8089ab7a 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkUiExtensionComponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkUiExtensionComponentPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkVideoPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkVideoPeer.ts index f6f306e0d..af97ed703 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkVideoPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkVideoPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkWaterFlowPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkWaterFlowPeer.ts index fecddad5f..49c0b19f4 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkWaterFlowPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkWaterFlowPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkWebPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkWebPeer.ts index d56af96e6..7f4d82663 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkWebPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkWebPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -25,11 +25,12 @@ import { ComponentBase } from "../ComponentBase" import { PeerNode } from "../PeerNode" import { ArkUIGeneratedNativeModule } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" -import { CommonMethod, KeyEvent, NestedScrollOptions, CustomBuilder } from "./../ArkCommonInterfaces" +import { CommonMethod, NestedScrollOptions, CustomBuilder } from "./../ArkCommonInterfaces" import { WebAttribute, MixedMode, JavaScriptProxy, CacheMode, WebDarkMode, WebMediaOptions, OverScrollMode, OnPageEndEvent, OnPageBeginEvent, OnProgressChangeEvent, OnTitleReceiveEvent, OnGeolocationShowEvent, OnAlertEvent, OnBeforeUnloadEvent, OnConfirmEvent, OnPromptEvent, OnConsoleEvent, OnErrorReceiveEvent, OnHttpErrorReceiveEvent, OnDownloadStartEvent, OnRefreshAccessedHistoryEvent, OnRenderExitedEvent, OnShowFileSelectorEvent, OnResourceLoadEvent, OnFullScreenEnterCallback, OnScaleChangeEvent, OnHttpAuthRequestEvent, OnInterceptRequestEvent, OnPermissionRequestEvent, OnScreenCaptureRequestEvent, OnContextMenuShowEvent, OnContextMenuHideCallback, OnSearchResultReceiveEvent, OnScrollEvent, OnSslErrorEventReceiveEvent, OnSslErrorEventCallback, OnClientAuthenticationEvent, OnWindowNewEvent, OnTouchIconUrlReceivedEvent, OnFaviconReceivedEvent, OnPageVisibleEvent, OnDataResubmittedEvent, OnAudioStateChangedEvent, OnFirstContentfulPaintEvent, OnFirstMeaningfulPaintCallback, OnLargestContentfulPaintCallback, OnLoadInterceptEvent, OnOverScrollEvent, OnSafeBrowsingCheckResultCallback, OnNavigationEntryCommittedCallback, OnIntelligentTrackingPreventionCallback, ScriptItem, WebLayoutMode, NestedScrollOptionsExt, NativeEmbedDataInfo, OnNativeEmbedVisibilityChangeCallback, NativeEmbedTouchInfo, OnOverrideUrlLoadingCallback, NativeMediaPlayerConfig, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, ExpandedMenuItemOptions, OnViewportFitChangedCallback, WebKeyboardCallback, OnAdsBlockedCallback, WebKeyboardAvoidMode, WebElementType, WebResponseType, SelectionMenuOptionsExt, WebOptions } from "./../ArkWebInterfaces" -import { Callback_OnPageEndEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_Void, Callback_OnGeolocationShowEvent_Void, Callback_OnAlertEvent_Boolean, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnConfirmEvent_Boolean, Callback_OnPromptEvent_Boolean, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnRefreshAccessedHistoryEvent_Void, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Callback_OnRenderExitedEvent_Void, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Callback_Literal_Function_callback_Object_fileSelector_Void, Literal_Function_callback_Object_fileSelector, Callback_OnResourceLoadEvent_Void, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnPermissionRequestEvent_Void, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnContextMenuShowEvent_Boolean, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnClientAuthenticationEvent_Void, Callback_OnWindowNewEvent_Void, Callback_KeyEvent_Boolean, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnLoadInterceptEvent_Boolean, Callback_OnOverScrollEvent_Void, Callback_NativeEmbedDataInfo_Void, Callback_NativeEmbedTouchInfo_Void } from "./../SyntheticDeclarations" +import { Callback_OnPageEndEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_Void, Callback_OnGeolocationShowEvent_Void, Callback_OnAlertEvent_Boolean, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnConfirmEvent_Boolean, Callback_OnPromptEvent_Boolean, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnRefreshAccessedHistoryEvent_Void, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Callback_OnRenderExitedEvent_Void, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Type_WebAttribute_onFileSelectorShow_callback, Literal_Function_callback__Object_fileSelector, Callback_OnResourceLoadEvent_Void, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnPermissionRequestEvent_Void, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnContextMenuShowEvent_Boolean, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnClientAuthenticationEvent_Void, Callback_OnWindowNewEvent_Void, Callback_KeyEvent_Boolean, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnLoadInterceptEvent_Boolean, Callback_OnOverScrollEvent_Void, Callback_NativeEmbedDataInfo_Void, Callback_NativeEmbedTouchInfo_Void } from "./../SyntheticDeclarations" import { WebResourceRequest } from "./../ArkWebResourceRequestMaterialized" import { WebResourceResponse } from "./../ArkWebResourceResponseMaterialized" +import { KeyEvent } from "./../ArkKeyEventMaterialized" import { CopyOptions } from "./../ArkEnumsInterfaces" import { EditMenuOptions } from "./../ArkEditMenuOptionsMaterialized" import { GestureName, GestureComponent } from "./../shared/generated-utils" @@ -264,7 +265,7 @@ export class ArkWebPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._WebAttribute_onShowFileSelector(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - onFileSelectorShowAttribute(value: ((event?: Literal_Function_callback_Object_fileSelector) => void)): void { + onFileSelectorShowAttribute(value: ((event?: Literal_Function_callback__Object_fileSelector) => void)): void { const thisSerializer : Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._WebAttribute_onFileSelectorShow(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) @@ -715,7 +716,7 @@ export interface ArkWebAttributes extends ArkCommonMethodAttributes { onSslErrorReceive?: ((event?: Literal_Function_handler_Object_error) => void) onRenderExited?: ((parameter: OnRenderExitedEvent) => void) onShowFileSelector?: ((parameter: OnShowFileSelectorEvent) => boolean) - onFileSelectorShow?: ((event?: Literal_Function_callback_Object_fileSelector) => void) + onFileSelectorShow?: ((event?: Literal_Function_callback__Object_fileSelector) => void) onResourceLoad?: ((parameter: OnResourceLoadEvent) => void) onFullScreenExit?: (() => void) onFullScreenEnter?: OnFullScreenEnterCallback diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkWindowScenePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkWindowScenePeer.ts index 465dd8a67..7f7a4a9e2 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkWindowScenePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkWindowScenePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkXcomponentPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkXcomponentPeer.ts index 669034897..93ae38e1f 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkXcomponentPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkXcomponentPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts b/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts index ed6c67aae..c55118e55 100644 --- a/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts +++ b/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -19,11 +19,14 @@ import { int32, int64 } from "@koalaui/common" import { ResourceHolder, KInt, KStringPtr, wrapSystemCallback, KPointer } from "@koalaui/interop" import { RuntimeType } from "./SerializerBase" import { CallbackTransformer } from "./CallbackTransformer" -import { AccessibilityCallback, AccessibilityHoverEvent, TouchTestInfo, TouchResult, HoverEvent, ClickEvent, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragEvent, CustomBuilder, DragItemInfo, ItemDragInfo, KeyEvent, MouseEvent, PreDragStatus, SheetDismiss, SheetType, SpringBackAction, TouchEvent, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback } from "./../ArkCommonInterfaces" +import { AccessibilityCallback, TouchTestInfo, TouchResult, CustomBuilder, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragItemInfo, ItemDragInfo, PreDragStatus, SheetDismiss, SheetType, SpringBackAction, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback } from "./../ArkCommonInterfaces" +import { AccessibilityHoverEvent } from "./../ArkAccessibilityHoverEventMaterialized" import { ButtonTriggerClickCallback } from "./../ArkButtonInterfaces" -import { Callback_Any, Callback_Any_Void, Callback_Area_Area_Void, Callback_Array_Number_Void, Callback_Array_String_Void, Callback_Array_TouchTestInfo_TouchResult, Callback_Boolean, Callback_Boolean_HoverEvent_Void, Callback_Boolean_Void, Callback_CalendarRequestedData_Void, Callback_CalendarSelectedDate_Void, Callback_Callback_Any_Void, Callback_ClickEvent_LocationButtonOnClickResult_Void, Callback_ClickEvent_PasteButtonOnClickResult_Void, Callback_ClickEvent_SaveButtonOnClickResult_Void, Callback_ClickEvent_Void, Callback_ComputedBarAttribute_Void, Callback_CopyEvent_Void, Callback_CutEvent_Void, Callback_Date_Void, Callback_DatePickerResult_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_DismissContentCoverAction_Void, Callback_DismissDialogAction_Void, Callback_DismissPopupAction_Void, Callback_DismissSheetAction_Void, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, Callback_DragEvent_String_Void, Callback_EnterKeyType_Void, Callback_FormCallbackInfo_Void, Callback_FullscreenInfo_Void, Callback_GestureEvent_Void, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_GestureJudgeResult_Void, Callback_GestureRecognizer_Void, Callback_HitTestMode_Void, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_IsolatedComponentAttribute_Void, Callback_ItemDragInfo_Number_Callback_Any, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Void, Callback_KeyEvent_Boolean, Callback_KeyEvent_Void, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_Literal_Function_callback_Object_fileSelector_Void, Literal_Function_callback_Object_fileSelector, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Callback_Literal_Number_code_Want_want_Void, Literal_Number_code_Want_want, Callback_Literal_Number_errcode_String_msg_Void, Literal_Number_errcode_String_msg, Callback_Literal_Number_offsetRemain_Void, Literal_Number_offsetRemain, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Callback_Literal_String_plainText_Void, Literal_String_plainText, Callback_MouseEvent_Void, Callback_NativeEmbedDataInfo_Void, Callback_NativeEmbedTouchInfo_Void, Callback_NavDestinationContext_Void, Callback_NavigationMode_Void, Callback_NavigationTitleMode_Void, Callback_NavigationTransitionProxy_Void, Callback_Number_Boolean, Callback_Number_Number_Boolean, Callback_Number_Number_ComputedBarAttribute, Callback_Number_Number_Number_Void, Callback_Number_Number_PanelMode_Void, Callback_Number_Number_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Callback_Number_ScrollState_Void, Callback_Number_SliderChangeMode_Void, Callback_Number_String_Void, Callback_Number_Tuple_Number_Number, Tuple_Number_Number, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number, Callback_Number_Void, Callback_OffsetResult_Void, Callback_OnAlertEvent_Boolean, Callback_OnAudioStateChangedEvent_Void, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnClientAuthenticationEvent_Void, Callback_OnConfirmEvent_Boolean, Callback_OnConsoleEvent_Boolean, Callback_OnContextMenuShowEvent_Boolean, Callback_OnDataResubmittedEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnErrorReceiveEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnGeolocationShowEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnLoadInterceptEvent_Boolean, Callback_OnOverScrollEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnPageEndEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnPermissionRequestEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnPromptEvent_Boolean, Callback_OnRefreshAccessedHistoryEvent_Void, Callback_OnRenderExitedEvent_Void, Callback_OnResourceLoadEvent_Void, Callback_OnScaleChangeEvent_Void, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnScrollEvent_Void, Callback_OnScrollFrameBeginHandlerResult_Void, Callback_OnSearchResultReceiveEvent_Void, Callback_OnShowFileSelectorEvent_Boolean, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnWindowNewEvent_Void, Callback_Opt_Array_String_Void, Callback_Opt_NavigationAnimatedTransition_Void, Callback_Opt_StyledString_Opt_Array_String_Void, Callback_Opt_TabContentAnimatedTransition_Void, Callback_PlaybackInfo_Void, Callback_Pointer_Void, Callback_PopInfo_Void, Callback_PreDragStatus_Void, Callback_PreparedInfo_Void, Callback_RefreshStatus_Void, Callback_RichEditorChangeValue_Boolean, Callback_RichEditorDeleteValue_Boolean, Callback_RichEditorInsertValue_Boolean, Callback_RichEditorRange_Void, Callback_RichEditorSelection_Void, Callback_RichEditorTextSpanResult_Void, Callback_SheetDismiss_Void, Callback_SheetType_Void, Callback_SpringBackAction_Void, Callback_String_Number_Void, Callback_String_PasteEvent_Void, Callback_String_Unknown_Void, Callback_String_Void, Callback_StyledStringChangeValue_Boolean, Callback_SwipeActionState_Void, Callback_SwiperContentTransitionProxy_Void, Callback_T_Any_this, Callback_TabContentTransitionProxy_Void, Callback_TerminationInfo_Void, Callback_TextPickerResult_Void, Callback_TextRange_Void, Callback_TimePickerResult_Void, Callback_TouchEvent_HitTestMode, Callback_TouchEvent_Void, Callback_TouchResult_Void, Callback_Tuple_Number_Number_Number_Number_Void, Callback_Tuple_Number_Number_Void, Callback_Type_ImageAttribute_onComplete_callback_event_Void, Type_ImageAttribute_onComplete_callback_event, Callback_UIExtensionProxy_Void, Callback_Union_CustomBuilder_DragItemInfo_Void, Callback_Void, Callback_WebKeyboardOptions_Void, Callback_WebResourceResponse_Void, Callback_WithThemeAttribute_Void, CustomNodeBuilder, Type_NavigationAttribute_customNavContentTransition_delegate, Type_TextPickerAttribute_onChange_callback, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data } from "./../SyntheticDeclarations" +import { Callback_Any_Void, Callback_Area_Area_Void, Callback_Array_Number_Void, Callback_Array_String_Void, Callback_Array_TouchTestInfo_TouchResult, Callback_Boolean, Callback_Boolean_HoverEvent_Void, Callback_Boolean_Void, Callback_CalendarRequestedData_Void, Callback_CalendarSelectedDate_Void, Callback_ClickEvent_LocationButtonOnClickResult_Void, Callback_ClickEvent_PasteButtonOnClickResult_Void, Callback_ClickEvent_SaveButtonOnClickResult_Void, Callback_ClickEvent_Void, Callback_ComputedBarAttribute_Void, Callback_CopyEvent_Void, Callback_CustomBuilder_Void, Callback_CutEvent_Void, Callback_Date_Void, Callback_DatePickerResult_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_DismissContentCoverAction_Void, Callback_DismissDialogAction_Void, Callback_DismissPopupAction_Void, Callback_DismissSheetAction_Void, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, Callback_DragEvent_String_Void, Callback_EnterKeyType_Void, Callback_FormCallbackInfo_Void, Callback_FullscreenInfo_Void, Callback_GestureEvent_Void, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_GestureJudgeResult_Void, Callback_GestureRecognizer_Void, Callback_HitTestMode_Void, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_IsolatedComponentAttribute_Void, Callback_ItemDragInfo_Number_CustomBuilder, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Void, Callback_KeyEvent_Boolean, Callback_KeyEvent_Void, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Callback_Literal_Number_code_Want_want_Void, Literal_Number_code_Want_want, Callback_Literal_Number_errcode_String_msg_Void, Literal_Number_errcode_String_msg, Callback_Literal_Number_offsetRemain_Void, Literal_Number_offsetRemain, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Callback_Literal_String_plainText_Void, Literal_String_plainText, Callback_MouseEvent_Void, Callback_NativeEmbedDataInfo_Void, Callback_NativeEmbedTouchInfo_Void, Callback_NavDestinationContext_Void, Callback_NavigationMode_Void, Callback_NavigationTitleMode_Void, Callback_NavigationTransitionProxy_Void, Callback_Number_Boolean, Callback_Number_Number_Boolean, Callback_Number_Number_ComputedBarAttribute, Callback_Number_Number_Number_Void, Callback_Number_Number_PanelMode_Void, Callback_Number_Number_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Callback_Number_SliderChangeMode_Void, Callback_Number_String_Void, Callback_Number_Tuple_Number_Number, Tuple_Number_Number, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number, Callback_Number_Void, Callback_OffsetResult_Void, Callback_OnAlertEvent_Boolean, Callback_OnAudioStateChangedEvent_Void, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnClientAuthenticationEvent_Void, Callback_OnConfirmEvent_Boolean, Callback_OnConsoleEvent_Boolean, Callback_OnContextMenuShowEvent_Boolean, Callback_OnDataResubmittedEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnErrorReceiveEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnGeolocationShowEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnLoadInterceptEvent_Boolean, Callback_OnOverScrollEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnPageEndEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnPermissionRequestEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnPromptEvent_Boolean, Callback_OnRefreshAccessedHistoryEvent_Void, Callback_OnRenderExitedEvent_Void, Callback_OnResourceLoadEvent_Void, Callback_OnScaleChangeEvent_Void, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnScrollEvent_Void, Callback_OnScrollFrameBeginHandlerResult_Void, Callback_OnSearchResultReceiveEvent_Void, Callback_OnShowFileSelectorEvent_Boolean, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnWindowNewEvent_Void, Callback_Opt_Array_String_Void, Callback_Opt_NavigationAnimatedTransition_Void, Callback_Opt_StyledString_Opt_Array_String_Void, Callback_Opt_TabContentAnimatedTransition_Void, Callback_PlaybackInfo_Void, Callback_Pointer_Void, Callback_PopInfo_Void, Callback_PreDragStatus_Void, Callback_PreparedInfo_Void, Callback_RefreshStatus_Void, Callback_RichEditorChangeValue_Boolean, Callback_RichEditorDeleteValue_Boolean, Callback_RichEditorInsertValue_Boolean, Callback_RichEditorRange_Void, Callback_RichEditorSelection_Void, Callback_RichEditorTextSpanResult_Void, Callback_SheetDismiss_Void, Callback_SheetType_Void, Callback_SpringBackAction_Void, Callback_String_Number_Void, Callback_String_PasteEvent_Void, Callback_String_Unknown_Void, Callback_String_Void, Callback_StyledStringChangeValue_Boolean, Callback_SwipeActionState_Void, Callback_SwiperContentTransitionProxy_Void, Callback_T_Any_this, Callback_TabContentTransitionProxy_Void, Callback_TerminationInfo_Void, Callback_TextPickerResult_Void, Callback_TextRange_Void, Callback_TimePickerResult_Void, Callback_TouchEvent_HitTestMode, Callback_TouchEvent_Void, Callback_TouchResult_Void, Callback_Tuple_Number_Number_Number_Number_Void, Callback_Tuple_Number_Number_Void, Callback_Type_ImageAttribute_onComplete_callback_event_Void, Type_ImageAttribute_onComplete_callback_event, Callback_UIExtensionProxy_Void, Callback_Union_CustomBuilder_DragItemInfo_Void, Callback_Void, Callback_WebKeyboardOptions_Void, Callback_WebResourceResponse_Void, Callback_WithThemeAttribute_Void, CustomNodeBuilder, Type_NavigationAttribute_customNavContentTransition_delegate, Type_TextPickerAttribute_onChange_callback, Type_WebAttribute_onFileSelectorShow_callback, Literal_Function_callback__Object_fileSelector, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data } from "./../SyntheticDeclarations" import { Area, SizeOptions, VoidCallback } from "./../ArkUnitsInterfaces" +import { HoverEvent } from "./../ArkHoverEventMaterialized" import { CalendarRequestedData, CalendarSelectedDate } from "./../ArkCalendarInterfaces" +import { ClickEvent } from "./../ArkClickEventMaterialized" import { LocationButtonOnClickResult } from "./../ArkLocationButtonInterfaces" import { PasteButtonOnClickResult } from "./../ArkPasteButtonInterfaces" import { SaveButtonOnClickResult } from "./../ArkSaveButtonInterfaces" @@ -32,14 +35,19 @@ import { CopyEvent, CutEvent, RichEditorChangeValue, RichEditorDeleteValue, Rich import { DatePickerResult } from "./../ArkDatePickerInterfaces" import { DeleteValue, InsertValue, StyledStringChangeValue, TextRange, EditableTextOnChangeCallback, PreviewText, OnDidChangeCallback } from "./../ArkTextCommonInterfaces" import { DismissDialogAction } from "./../ArkActionSheetInterfaces" -import { EnterKeyType, OnContentScrollCallback, OnPasteCallback, OnSubmitCallback, SubmitEvent, OnTextSelectionChangeCallback } from "./../ArkTextInputInterfaces" +import { DragEvent } from "./../ArkDragEventMaterialized" +import { EnterKeyType, OnContentScrollCallback, OnPasteCallback, OnSubmitCallback, OnTextSelectionChangeCallback } from "./../ArkTextInputInterfaces" import { FormCallbackInfo } from "./../ArkFormComponentInterfaces" import { FullscreenInfo, PlaybackInfo, PreparedInfo } from "./../ArkVideoInterfaces" -import { GestureEvent, GestureInfo, BaseGestureEvent, GestureJudgeResult } from "./../ArkGestureInterfaces" +import { GestureEvent } from "./../ArkGestureEventMaterialized" +import { GestureInfo, GestureJudgeResult } from "./../ArkGestureInterfaces" +import { BaseGestureEvent } from "./../ArkBaseGestureEventMaterialized" import { GestureRecognizer } from "./../ArkGestureRecognizerMaterialized" import { HitTestMode, Edge, ScrollSource } from "./../ArkEnumsInterfaces" import { IsolatedComponentAttribute, IsolatedComponentInterface, IsolatedOptions } from "./../ArkIsolatedComponentInterfaces" +import { KeyEvent } from "./../ArkKeyEventMaterialized" import { Want } from "./../ArkArkui-externalInterfaces" +import { MouseEvent } from "./../ArkMouseEventMaterialized" 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 "./../ArkWebInterfaces" import { NavDestinationContext } from "./../ArkNavDestinationContextMaterialized" import { NavigationMode, NavigationTitleMode, NavigationAnimatedTransition, PopInfo, InterceptionModeCallback, InterceptionShowCallback, NavBar, NavigationOperation, NavContentInfo } from "./../ArkNavigationInterfaces" @@ -59,6 +67,7 @@ import { TabContentTransitionProxy } from "./../ArkTabContentTransitionProxyMate import { TerminationInfo } from "./../ArkEmbeddedComponentInterfaces" import { TextPickerResult } from "./../ArkTextPickerInterfaces" import { TimePickerResult } from "./../ArkTimePickerInterfaces" +import { TouchEvent } from "./../ArkTouchEventMaterialized" import { UIExtensionProxy } from "./../ArkUIExtensionProxyMaterialized" import { WithThemeAttribute, WithThemeInterface, WithThemeOptions } from "./../ArkWithThemeInterfaces" import { ContentDidScrollCallback, OnSwiperAnimationEndCallback, SwiperAnimationEvent, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback } from "./../ArkSwiperInterfaces" @@ -72,6 +81,7 @@ import { OnFoldStatusChangeCallback, OnFoldStatusChangeInfo, OnHoverStatusChange import { OnLinearIndicatorChangeCallback } from "./../ArkLinearindicatorInterfaces" import { OnNativeLoadCallback } from "./../ArkXcomponentInterfaces" import { WebResourceRequest } from "./../ArkWebResourceRequestMaterialized" +import { SubmitEvent } from "./../ArkSubmitEventMaterialized" import { PageTransitionCallback, RouteType } from "./../ArkPageTransitionInterfaces" import { PluginErrorCallback, PluginErrorData } from "./../ArkPluginComponentInterfaces" import { SearchSubmitCallback } from "./../ArkSearchInterfaces" @@ -85,7 +95,7 @@ export function deserializeAndCallAccessibilityCallback(thisDeserializer: Deseri const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as AccessibilityCallback) let isHover : boolean = thisDeserializer.readBoolean() - let event : AccessibilityHoverEvent = thisDeserializer.readAccessibilityHoverEvent() + let event : AccessibilityHoverEvent = (thisDeserializer.readAccessibilityHoverEvent() as AccessibilityHoverEvent) _call(isHover, event) } export function deserializeAndCallButtonTriggerClickCallback(thisDeserializer: Deserializer) { @@ -95,13 +105,6 @@ export function deserializeAndCallButtonTriggerClickCallback(thisDeserializer: D let yPos : number = (thisDeserializer.readNumber() as number) _call(xPos, yPos) } -export function deserializeAndCallCallback_Any(thisDeserializer: Deserializer) { - const _resourceId : int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as (() => object)) - let _continuation : ((info: object) => void) = thisDeserializer.readCallback_Any_Void(true) - const _callResult = _call() - _continuation(_callResult) -} export function deserializeAndCallCallback_Any_Void(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((info: object) => void)) @@ -161,7 +164,7 @@ export function deserializeAndCallCallback_Boolean_HoverEvent_Void(thisDeseriali const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((isHover: boolean,event: HoverEvent) => void)) let isHover : boolean = thisDeserializer.readBoolean() - let event : HoverEvent = thisDeserializer.readHoverEvent() + let event : HoverEvent = (thisDeserializer.readHoverEvent() as HoverEvent) _call(isHover, event) } export function deserializeAndCallCallback_Boolean_Void(thisDeserializer: Deserializer) { @@ -182,37 +185,31 @@ export function deserializeAndCallCallback_CalendarSelectedDate_Void(thisDeseria let event : CalendarSelectedDate = thisDeserializer.readCalendarSelectedDate() _call(event) } -export function deserializeAndCallCallback_Callback_Any_Void(thisDeserializer: Deserializer) { - const _resourceId : int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as ((value: (() => object)) => void)) - let value : (() => object) = thisDeserializer.readCallback_Any() - _call(value) -} export function deserializeAndCallCallback_ClickEvent_LocationButtonOnClickResult_Void(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent,result: LocationButtonOnClickResult) => void)) - let event : ClickEvent = thisDeserializer.readClickEvent() + let event : ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) let result : LocationButtonOnClickResult = (thisDeserializer.readInt32() as LocationButtonOnClickResult) _call(event, result) } export function deserializeAndCallCallback_ClickEvent_PasteButtonOnClickResult_Void(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent,result: PasteButtonOnClickResult) => void)) - let event : ClickEvent = thisDeserializer.readClickEvent() + let event : ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) let result : PasteButtonOnClickResult = (thisDeserializer.readInt32() as PasteButtonOnClickResult) _call(event, result) } export function deserializeAndCallCallback_ClickEvent_SaveButtonOnClickResult_Void(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent,result: SaveButtonOnClickResult) => void)) - let event : ClickEvent = thisDeserializer.readClickEvent() + let event : ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) let result : SaveButtonOnClickResult = (thisDeserializer.readInt32() as SaveButtonOnClickResult) _call(event, result) } export function deserializeAndCallCallback_ClickEvent_Void(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent) => void)) - let event : ClickEvent = thisDeserializer.readClickEvent() + let event : ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) _call(event) } export function deserializeAndCallCallback_ComputedBarAttribute_Void(thisDeserializer: Deserializer) { @@ -227,6 +224,12 @@ export function deserializeAndCallCallback_CopyEvent_Void(thisDeserializer: Dese let parameter : CopyEvent = thisDeserializer.readCopyEvent() _call(parameter) } +export function deserializeAndCallCallback_CustomBuilder_Void(thisDeserializer: Deserializer) { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value: CustomBuilder) => void)) + let value : CustomBuilder = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) + _call(value) +} export function deserializeAndCallCallback_CutEvent_Void(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: CutEvent) => void)) @@ -286,7 +289,7 @@ export function deserializeAndCallCallback_DismissSheetAction_Void(thisDeseriali export function deserializeAndCallCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: DragEvent,extraParams?: string) => CustomBuilder | DragItemInfo)) - let event : DragEvent = thisDeserializer.readDragEvent() + 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)) @@ -301,7 +304,7 @@ export function deserializeAndCallCallback_DragEvent_String_Union_CustomBuilder_ export function deserializeAndCallCallback_DragEvent_String_Void(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: DragEvent,extraParams?: string) => void)) - let event : DragEvent = thisDeserializer.readDragEvent() + 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)) @@ -332,14 +335,14 @@ export function deserializeAndCallCallback_FullscreenInfo_Void(thisDeserializer: export function deserializeAndCallCallback_GestureEvent_Void(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: GestureEvent) => void)) - let event : GestureEvent = thisDeserializer.readGestureEvent() + let event : GestureEvent = (thisDeserializer.readGestureEvent() as GestureEvent) _call(event) } export function deserializeAndCallCallback_GestureInfo_BaseGestureEvent_GestureJudgeResult(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((gestureInfo: GestureInfo,event: BaseGestureEvent) => GestureJudgeResult)) let gestureInfo : GestureInfo = thisDeserializer.readGestureInfo() - let event : BaseGestureEvent = thisDeserializer.readBaseGestureEvent() + let event : BaseGestureEvent = (thisDeserializer.readBaseGestureEvent() as BaseGestureEvent) let _continuation : ((value: GestureJudgeResult) => void) = thisDeserializer.readCallback_GestureJudgeResult_Void(true) const _callResult = _call(gestureInfo, event) _continuation(_callResult) @@ -382,12 +385,12 @@ export function deserializeAndCallCallback_IsolatedComponentAttribute_Void(thisD let value : IsolatedComponentAttribute = thisDeserializer.readIsolatedComponentAttribute() _call(value) } -export function deserializeAndCallCallback_ItemDragInfo_Number_Callback_Any(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ItemDragInfo_Number_CustomBuilder(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ItemDragInfo,itemIndex: number) => (() => object))) + const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ItemDragInfo,itemIndex: number) => CustomBuilder)) let event : ItemDragInfo = thisDeserializer.readItemDragInfo() let itemIndex : number = (thisDeserializer.readNumber() as number) - let _continuation : ((value: (() => object)) => void) = thisDeserializer.readCallback_Callback_Any_Void(true) + let _continuation : ((value: CustomBuilder) => void) = thisDeserializer.readCallback_CustomBuilder_Void(true) const _callResult = _call(event, itemIndex) _continuation(_callResult) } @@ -424,7 +427,7 @@ export function deserializeAndCallCallback_ItemDragInfo_Void(thisDeserializer: D export function deserializeAndCallCallback_KeyEvent_Boolean(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: KeyEvent) => boolean)) - let parameter : KeyEvent = thisDeserializer.readKeyEvent() + let parameter : KeyEvent = (thisDeserializer.readKeyEvent() as KeyEvent) let _continuation : ((parameter: boolean) => void) = thisDeserializer.readCallback_Boolean_Void(true) const _callResult = _call(parameter) _continuation(_callResult) @@ -432,7 +435,7 @@ export function deserializeAndCallCallback_KeyEvent_Boolean(thisDeserializer: De export function deserializeAndCallCallback_KeyEvent_Void(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: KeyEvent) => void)) - let event : KeyEvent = thisDeserializer.readKeyEvent() + let event : KeyEvent = (thisDeserializer.readKeyEvent() as KeyEvent) _call(event) } export function deserializeAndCallCallback_Literal_Boolean_isVisible_Void(thisDeserializer: Deserializer) { @@ -442,18 +445,6 @@ export function deserializeAndCallCallback_Literal_Boolean_isVisible_Void(thisDe let event : Literal_Boolean_isVisible = ({isVisible: event_buf_isVisible} as Literal_Boolean_isVisible) _call(event) } -export function deserializeAndCallCallback_Literal_Function_callback_Object_fileSelector_Void(thisDeserializer: Deserializer) { - const _resourceId : int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: Literal_Function_callback_Object_fileSelector) => void)) - const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) - let event_buf : Literal_Function_callback_Object_fileSelector | undefined - if ((RuntimeType.UNDEFINED) != (event_buf_runtimeType)) - { - throw new Error("Not implemented yet") - } - let event : Literal_Function_callback_Object_fileSelector | undefined = event_buf - _call(event) -} export function deserializeAndCallCallback_Literal_Function_handler_Object_error_Void(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: Literal_Function_handler_Object_error) => void)) @@ -520,7 +511,7 @@ export function deserializeAndCallCallback_Literal_String_plainText_Void(thisDes export function deserializeAndCallCallback_MouseEvent_Void(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: MouseEvent) => void)) - let event : MouseEvent = thisDeserializer.readMouseEvent() + let event : MouseEvent = (thisDeserializer.readMouseEvent() as MouseEvent) _call(event) } export function deserializeAndCallCallback_NativeEmbedDataInfo_Void(thisDeserializer: Deserializer) { @@ -617,13 +608,6 @@ export function deserializeAndCallCallback_Number_ScrollState_Literal_Number_off const _callResult = _call(offset, state) _continuation(_callResult) } -export function deserializeAndCallCallback_Number_ScrollState_Void(thisDeserializer: Deserializer) { - const _resourceId : int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as ((scrollOffset: number,scrollState: ScrollState) => void)) - let scrollOffset : number = (thisDeserializer.readNumber() as number) - let scrollState : ScrollState = (thisDeserializer.readInt32() as ScrollState) - _call(scrollOffset, scrollState) -} export function deserializeAndCallCallback_Number_SliderChangeMode_Void(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: number,mode: SliderChangeMode) => void)) @@ -1165,7 +1149,7 @@ export function deserializeAndCallCallback_TimePickerResult_Void(thisDeserialize export function deserializeAndCallCallback_TouchEvent_HitTestMode(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: TouchEvent) => HitTestMode)) - let parameter : TouchEvent = thisDeserializer.readTouchEvent() + let parameter : TouchEvent = (thisDeserializer.readTouchEvent() as TouchEvent) let _continuation : ((value: HitTestMode) => void) = thisDeserializer.readCallback_HitTestMode_Void(true) const _callResult = _call(parameter) _continuation(_callResult) @@ -1173,7 +1157,7 @@ export function deserializeAndCallCallback_TouchEvent_HitTestMode(thisDeserializ export function deserializeAndCallCallback_TouchEvent_Void(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: TouchEvent) => void)) - let event : TouchEvent = thisDeserializer.readTouchEvent() + let event : TouchEvent = (thisDeserializer.readTouchEvent() as TouchEvent) _call(event) } export function deserializeAndCallCallback_TouchResult_Void(thisDeserializer: Deserializer) { @@ -1300,7 +1284,7 @@ export function deserializeAndCallEditableTextOnChangeCallback(thisDeserializer: export function deserializeAndCallGestureRecognizerJudgeBeginCallback(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as GestureRecognizerJudgeBeginCallback) - let event : BaseGestureEvent = thisDeserializer.readBaseGestureEvent() + let event : BaseGestureEvent = (thisDeserializer.readBaseGestureEvent() as BaseGestureEvent) let current : GestureRecognizer = (thisDeserializer.readGestureRecognizer() as GestureRecognizer) const recognizers_buf_length : int32 = thisDeserializer.readInt32() let recognizers_buf : Array = new Array() @@ -1324,7 +1308,7 @@ export function deserializeAndCallHoverCallback(thisDeserializer: Deserializer) const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as HoverCallback) let isHover : boolean = thisDeserializer.readBoolean() - let event : HoverEvent = thisDeserializer.readHoverEvent() + let event : HoverEvent = (thisDeserializer.readHoverEvent() as HoverEvent) _call(isHover, event) } export function deserializeAndCallImageCompleteCallback(thisDeserializer: Deserializer) { @@ -1593,7 +1577,7 @@ export function deserializeAndCallOnSubmitCallback(thisDeserializer: Deserialize const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnSubmitCallback) let enterKey : EnterKeyType = (thisDeserializer.readInt32() as EnterKeyType) - let event : SubmitEvent = thisDeserializer.readSubmitEvent() + let event : SubmitEvent = (thisDeserializer.readSubmitEvent() as SubmitEvent) _call(enterKey, event) } export function deserializeAndCallOnSwiperAnimationEndCallback(thisDeserializer: Deserializer) { @@ -1714,7 +1698,7 @@ export function deserializeAndCallSearchSubmitCallback(thisDeserializer: Deseria let event_buf : SubmitEvent | undefined if ((RuntimeType.UNDEFINED) != (event_buf_runtimeType)) { - event_buf = thisDeserializer.readSubmitEvent() + event_buf = (thisDeserializer.readSubmitEvent() as SubmitEvent) } let event : SubmitEvent | undefined = event_buf _call(searchContent, event) @@ -1751,7 +1735,7 @@ export function deserializeAndCallSubmitCallback(thisDeserializer: Deserializer) const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as SubmitCallback) let enterKey : EnterKeyType = (thisDeserializer.readInt32() as EnterKeyType) - let event : SubmitEvent = thisDeserializer.readSubmitEvent() + let event : SubmitEvent = (thisDeserializer.readSubmitEvent() as SubmitEvent) _call(enterKey, event) } export function deserializeAndCallTabsCustomContentTransitionCallback(thisDeserializer: Deserializer) { @@ -1771,7 +1755,7 @@ export function deserializeAndCallTextAreaSubmitCallback(thisDeserializer: Deser let event_buf : SubmitEvent | undefined if ((RuntimeType.UNDEFINED) != (event_buf_runtimeType)) { - event_buf = thisDeserializer.readSubmitEvent() + event_buf = (thisDeserializer.readSubmitEvent() as SubmitEvent) } let event : SubmitEvent | undefined = event_buf _call(enterKeyType, event) @@ -1831,6 +1815,18 @@ export function deserializeAndCallType_TextPickerAttribute_onChange_callback(thi let index : number | Array = (index_buf as number | Array) _call(value, index) } +export function deserializeAndCallType_WebAttribute_onFileSelectorShow_callback(thisDeserializer: Deserializer) { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: Literal_Function_callback__Object_fileSelector) => void)) + const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) + let event_buf : Literal_Function_callback__Object_fileSelector | undefined + if ((RuntimeType.UNDEFINED) != (event_buf_runtimeType)) + { + throw new Error("Not implemented yet") + } + let event : Literal_Function_callback__Object_fileSelector | undefined = event_buf + _call(event) +} export function deserializeAndCallType_WebAttribute_onUrlLoadIntercept_callback(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: Literal_Union_String_WebResourceRequest_data) => boolean)) @@ -1890,7 +1886,6 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer) { switch (kind) { case 589030517/*CallbackKind.Kind_AccessibilityCallback*/: return deserializeAndCallAccessibilityCallback(thisDeserializer); case -1964292933/*CallbackKind.Kind_ButtonTriggerClickCallback*/: return deserializeAndCallButtonTriggerClickCallback(thisDeserializer); - case -2139018190/*CallbackKind.Kind_Callback_Any*/: return deserializeAndCallCallback_Any(thisDeserializer); case 197193081/*CallbackKind.Kind_Callback_Any_Void*/: return deserializeAndCallCallback_Any_Void(thisDeserializer); case -2024393616/*CallbackKind.Kind_Callback_Area_Area_Void*/: return deserializeAndCallCallback_Area_Area_Void(thisDeserializer); case 582384234/*CallbackKind.Kind_Callback_Array_Number_Void*/: return deserializeAndCallCallback_Array_Number_Void(thisDeserializer); @@ -1901,13 +1896,13 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer) { case 313269291/*CallbackKind.Kind_Callback_Boolean_Void*/: return deserializeAndCallCallback_Boolean_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 1931725935/*CallbackKind.Kind_Callback_Callback_Any_Void*/: return deserializeAndCallCallback_Callback_Any_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 -721106019/*CallbackKind.Kind_Callback_CustomBuilder_Void*/: return deserializeAndCallCallback_CustomBuilder_Void(thisDeserializer); case -1875695871/*CallbackKind.Kind_Callback_CutEvent_Void*/: return deserializeAndCallCallback_CutEvent_Void(thisDeserializer); case 1405382363/*CallbackKind.Kind_Callback_Date_Void*/: return deserializeAndCallCallback_Date_Void(thisDeserializer); case 1280920532/*CallbackKind.Kind_Callback_DatePickerResult_Void*/: return deserializeAndCallCallback_DatePickerResult_Void(thisDeserializer); @@ -1930,7 +1925,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer) { 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 719029905/*CallbackKind.Kind_Callback_IsolatedComponentAttribute_Void*/: return deserializeAndCallCallback_IsolatedComponentAttribute_Void(thisDeserializer); - case 464274540/*CallbackKind.Kind_Callback_ItemDragInfo_Number_Callback_Any*/: return deserializeAndCallCallback_ItemDragInfo_Number_Callback_Any(thisDeserializer); + case 2071721246/*CallbackKind.Kind_Callback_ItemDragInfo_Number_CustomBuilder*/: return deserializeAndCallCallback_ItemDragInfo_Number_CustomBuilder(thisDeserializer); case -1627362945/*CallbackKind.Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void*/: return deserializeAndCallCallback_ItemDragInfo_Number_Number_Boolean_Void(thisDeserializer); case -918805852/*CallbackKind.Kind_Callback_ItemDragInfo_Number_Number_Void*/: return deserializeAndCallCallback_ItemDragInfo_Number_Number_Void(thisDeserializer); case 296908152/*CallbackKind.Kind_Callback_ItemDragInfo_Number_Void*/: return deserializeAndCallCallback_ItemDragInfo_Number_Void(thisDeserializer); @@ -1938,7 +1933,6 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer) { case -2061548092/*CallbackKind.Kind_Callback_KeyEvent_Boolean*/: return deserializeAndCallCallback_KeyEvent_Boolean(thisDeserializer); case 707696468/*CallbackKind.Kind_Callback_KeyEvent_Void*/: return deserializeAndCallCallback_KeyEvent_Void(thisDeserializer); case -1561407084/*CallbackKind.Kind_Callback_Literal_Boolean_isVisible_Void*/: return deserializeAndCallCallback_Literal_Boolean_isVisible_Void(thisDeserializer); - case 1754134729/*CallbackKind.Kind_Callback_Literal_Function_callback_Object_fileSelector_Void*/: return deserializeAndCallCallback_Literal_Function_callback_Object_fileSelector_Void(thisDeserializer); case 361012115/*CallbackKind.Kind_Callback_Literal_Function_handler_Object_error_Void*/: return deserializeAndCallCallback_Literal_Function_handler_Object_error_Void(thisDeserializer); case -582934742/*CallbackKind.Kind_Callback_Literal_Number_code_Want_want_Void*/: return deserializeAndCallCallback_Literal_Number_code_Want_want_Void(thisDeserializer); case 1321277443/*CallbackKind.Kind_Callback_Literal_Number_errcode_String_msg_Void*/: return deserializeAndCallCallback_Literal_Number_errcode_String_msg_Void(thisDeserializer); @@ -1959,7 +1953,6 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer) { case 1613628570/*CallbackKind.Kind_Callback_Number_Number_PanelMode_Void*/: return deserializeAndCallCallback_Number_Number_PanelMode_Void(thisDeserializer); case 1894574320/*CallbackKind.Kind_Callback_Number_Number_Void*/: return deserializeAndCallCallback_Number_Number_Void(thisDeserializer); case 2012829508/*CallbackKind.Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain*/: return deserializeAndCallCallback_Number_ScrollState_Literal_Number_offsetRemain(thisDeserializer); - case -1844695159/*CallbackKind.Kind_Callback_Number_ScrollState_Void*/: return deserializeAndCallCallback_Number_ScrollState_Void(thisDeserializer); case 88697971/*CallbackKind.Kind_Callback_Number_SliderChangeMode_Void*/: return deserializeAndCallCallback_Number_SliderChangeMode_Void(thisDeserializer); case 794065478/*CallbackKind.Kind_Callback_Number_String_Void*/: return deserializeAndCallCallback_Number_String_Void(thisDeserializer); case 1602877440/*CallbackKind.Kind_Callback_Number_Tuple_Number_Number*/: return deserializeAndCallCallback_Number_Tuple_Number_Number(thisDeserializer); @@ -2115,6 +2108,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer) { case -1878458553/*CallbackKind.Kind_TransitionFinishCallback*/: return deserializeAndCallTransitionFinishCallback(thisDeserializer); case 1044833488/*CallbackKind.Kind_Type_NavigationAttribute_customNavContentTransition_delegate*/: return deserializeAndCallType_NavigationAttribute_customNavContentTransition_delegate(thisDeserializer); case -1078223620/*CallbackKind.Kind_Type_TextPickerAttribute_onChange_callback*/: return deserializeAndCallType_TextPickerAttribute_onChange_callback(thisDeserializer); + case 1962174977/*CallbackKind.Kind_Type_WebAttribute_onFileSelectorShow_callback*/: return deserializeAndCallType_WebAttribute_onFileSelectorShow_callback(thisDeserializer); case -985284966/*CallbackKind.Kind_Type_WebAttribute_onUrlLoadIntercept_callback*/: return deserializeAndCallType_WebAttribute_onUrlLoadIntercept_callback(thisDeserializer); case 541663396/*CallbackKind.Kind_VisibleAreaChangeCallback*/: return deserializeAndCallVisibleAreaChangeCallback(thisDeserializer); case -2038961969/*CallbackKind.Kind_VoidCallback*/: return deserializeAndCallVoidCallback(thisDeserializer); diff --git a/arkoala-arkts/arkui/src/generated/peers/CallbackKind.ts b/arkoala-arkts/arkui/src/generated/peers/CallbackKind.ts index d9674cbc0..3f72f9d3e 100644 --- a/arkoala-arkts/arkui/src/generated/peers/CallbackKind.ts +++ b/arkoala-arkts/arkui/src/generated/peers/CallbackKind.ts @@ -2,7 +2,6 @@ import { int32 } from "@koalaui/common" export enum CallbackKind { Kind_AccessibilityCallback = 589030517, Kind_ButtonTriggerClickCallback = -1964292933, - Kind_Callback_Any = -2139018190, Kind_Callback_Any_Void = 197193081, Kind_Callback_Area_Area_Void = -2024393616, Kind_Callback_Array_Number_Void = 582384234, @@ -13,13 +12,13 @@ export enum CallbackKind { Kind_Callback_Boolean_Void = 313269291, Kind_Callback_CalendarRequestedData_Void = 1074619005, Kind_Callback_CalendarSelectedDate_Void = -289198976, - Kind_Callback_Callback_Any_Void = 1931725935, 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_CustomBuilder_Void = -721106019, Kind_Callback_CutEvent_Void = -1875695871, Kind_Callback_Date_Void = 1405382363, Kind_Callback_DatePickerResult_Void = 1280920532, @@ -42,7 +41,7 @@ export enum CallbackKind { Kind_Callback_InsertValue_Boolean = -383025085, Kind_Callback_InsertValue_Void = -1121207885, Kind_Callback_IsolatedComponentAttribute_Void = 719029905, - Kind_Callback_ItemDragInfo_Number_Callback_Any = 464274540, + Kind_Callback_ItemDragInfo_Number_CustomBuilder = 2071721246, Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void = -1627362945, Kind_Callback_ItemDragInfo_Number_Number_Void = -918805852, Kind_Callback_ItemDragInfo_Number_Void = 296908152, @@ -50,7 +49,6 @@ export enum CallbackKind { Kind_Callback_KeyEvent_Boolean = -2061548092, Kind_Callback_KeyEvent_Void = 707696468, Kind_Callback_Literal_Boolean_isVisible_Void = -1561407084, - Kind_Callback_Literal_Function_callback_Object_fileSelector_Void = 1754134729, Kind_Callback_Literal_Function_handler_Object_error_Void = 361012115, Kind_Callback_Literal_Number_code_Want_want_Void = -582934742, Kind_Callback_Literal_Number_errcode_String_msg_Void = 1321277443, @@ -71,7 +69,6 @@ export enum CallbackKind { Kind_Callback_Number_Number_PanelMode_Void = 1613628570, Kind_Callback_Number_Number_Void = 1894574320, Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain = 2012829508, - Kind_Callback_Number_ScrollState_Void = -1844695159, Kind_Callback_Number_SliderChangeMode_Void = 88697971, Kind_Callback_Number_String_Void = 794065478, Kind_Callback_Number_Tuple_Number_Number = 1602877440, @@ -227,6 +224,7 @@ export enum CallbackKind { Kind_TransitionFinishCallback = -1878458553, Kind_Type_NavigationAttribute_customNavContentTransition_delegate = 1044833488, Kind_Type_TextPickerAttribute_onChange_callback = -1078223620, + Kind_Type_WebAttribute_onFileSelectorShow_callback = 1962174977, Kind_Type_WebAttribute_onUrlLoadIntercept_callback = -985284966, Kind_VisibleAreaChangeCallback = 541663396, Kind_VoidCallback = -2038961969, diff --git a/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts b/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts index b0f0277ed..b1d132bb6 100644 --- a/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts @@ -1,6 +1,6 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -24,49 +24,50 @@ import { KPointer } from "@koalaui/interop" import { TypeChecker } from "#components" import { KUint8ArrayPtr, NativeBuffer, InteropNativeModule } from "@koalaui/interop" import { CallbackTransformer } from "./CallbackTransformer" -import { AccessibilityCallback, CustomBuilder, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, ShadowType, SymbolGlyphModifier, ShadowOptions, SheetSize, DrawContext, ShadowStyle, ComponentContent, ClickEvent, SheetTitleOptions, TransitionEffects, TranslateOptions, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, MenuPreviewMode, DismissPopupAction, DragPreviewMode, OutlineStyle, SourceTool, SourceType, EventTarget, HoverModeAreaType, BlurStyle, Rectangle, PickerTextStyle, PickerDialogButtonStyle, MenuPolicy, BlurStyleActivePolicy, BlurOptions, AdaptiveColor, ThemeColorMode, CommonShapeMethod, LinearGradient_common, ExpectedFrameRateRange, FinishCallbackType, SheetKeyboardAvoidMode, UIContext, SheetType, ScrollSizeMode, SheetMode, SpringBackAction, DismissSheetAction, SheetDismiss, DismissContentCoverAction, ModalTransition, ContextMenuAnimationOptions, AnimationRange, PopupMessageOptions, TransitionHierarchyStrategy, OverlayOffset, ImageModifier, MotionPathOptions, RectResult, TouchEvent, BaseEvent, TouchObject, HistoricalPoint, NestedScrollOptions, InputCounterOptions, SelectionOptions, BackgroundBlurStyleOptions, BlurStyleOptions, EdgeEffectOptions, KeyboardAvoidMode, UIGestureEvent, FadingEdgeOptions, RectShape, ContentClipMode, DismissReason, SheetOptions, BindOptions, ContentCoverOptions, ContextMenuOptions, MenuOptions, CustomPopupOptions, PopupOptions, GeometryTransitionOptions, BlendApplyType, Blender, BlendMode, OverlayOptions, DragInteractionOptions, DragPreviewOptions, ChainStyle, sharedTransitionOptions, EffectType, LinearGradientBlurOptions, FractionStop, ForegroundBlurStyleOptions, PathShape, EllipseShape, CircleShape, DragItemInfo, DragBehavior, ClickEffect, LocalizedVerticalAlignParam, LocalizedHorizontalAlignParam, InvertOptions, MotionBlurAnchor, TransitionOptions, IntentionCode, RepeatMode, TouchTestStrategy, LightSource, HoverEvent, TouchResult, CommonMethod, TextDecorationOptions, LayoutSafeAreaEdge, LayoutSafeAreaType, ItemDragInfo, MultiShadowOptions, MenuElement, SafeAreaEdge, SafeAreaType, BackgroundBrightnessOptions, PixelStretchEffectOptions, StateStyles, PreDragStatus, UniformDataType, DragEvent, Summary, DragResult, LocalizedAlignRuleOptions, AlignRuleOption, MotionBlurOptions, KeyEvent, MouseEvent, AccessibilityHoverEvent, BorderImageOption, Filter, VisualEffect, ForegroundEffectOptions, BackgroundEffectOptions, PixelRoundPolicy, TouchTestInfo, PointLightStyle } from "./../ArkCommonInterfaces" +import { AccessibilityCallback, CustomBuilder, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, ShadowType, SymbolGlyphModifier, ShadowOptions, SheetSize, DrawContext, ShadowStyle, ComponentContent, SheetTitleOptions, TransitionEffects, TranslateOptions, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, MenuPreviewMode, DismissPopupAction, DragPreviewMode, OutlineStyle, SourceTool, SourceType, EventTarget, HoverModeAreaType, BlurStyle, Rectangle, PickerTextStyle, PickerDialogButtonStyle, MenuPolicy, BlurStyleActivePolicy, BlurOptions, AdaptiveColor, ThemeColorMode, CommonShapeMethod, LinearGradient_common, ExpectedFrameRateRange, FinishCallbackType, SheetKeyboardAvoidMode, UIContext, SheetType, ScrollSizeMode, SheetMode, SpringBackAction, DismissSheetAction, SheetDismiss, DismissContentCoverAction, ModalTransition, ContextMenuAnimationOptions, AnimationRange, PopupMessageOptions, TransitionHierarchyStrategy, OverlayOffset, ImageModifier, MotionPathOptions, RectResult, TouchObject, HistoricalPoint, NestedScrollOptions, InputCounterOptions, SelectionOptions, BackgroundBlurStyleOptions, BlurStyleOptions, EdgeEffectOptions, KeyboardAvoidMode, UIGestureEvent, VisibleAreaEventOptions, FadingEdgeOptions, RectShape, ContentClipMode, DismissReason, SheetOptions, BindOptions, ContentCoverOptions, ContextMenuOptions, MenuOptions, CustomPopupOptions, PopupOptions, GeometryTransitionOptions, BlendApplyType, Blender, BlendMode, OverlayOptions, DragInteractionOptions, DragPreviewOptions, ChainStyle, sharedTransitionOptions, EffectType, LinearGradientBlurOptions, FractionStop, ForegroundBlurStyleOptions, PathShape, EllipseShape, CircleShape, DragItemInfo, DragBehavior, ClickEffect, LocalizedVerticalAlignParam, LocalizedHorizontalAlignParam, InvertOptions, MotionBlurAnchor, TransitionOptions, IntentionCode, RepeatMode, TouchTestStrategy, DragResult, LightSource, TouchResult, CommonMethod, TextDecorationOptions, ItemDragInfo, MultiShadowOptions, MenuElement, BackgroundBrightnessOptions, PixelStretchEffectOptions, StateStyles, PreDragStatus, UniformDataType, Summary, LocalizedAlignRuleOptions, AlignRuleOption, MotionBlurOptions, BorderImageOption, Filter, VisualEffect, ForegroundEffectOptions, BackgroundEffectOptions, PixelRoundPolicy, TouchTestInfo, LayoutSafeAreaEdge, LayoutSafeAreaType, SafeAreaEdge, SafeAreaType, PointLightStyle } from "./../ArkCommonInterfaces" import { ButtonTriggerClickCallback, ButtonRole, ButtonStyleMode, ButtonType, LabelStyle, ControlSize, ButtonOptions } from "./../ArkButtonInterfaces" import { Callback_RangeUpdate, PointerStyle } from "./../ArkArkui-customInterfaces" -import { ContentDidScrollCallback, OnSwiperAnimationEndCallback, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback, IndicatorStyle, SwiperAutoFill, ArrowStyle, SwiperContentAnimatedTransition, SwiperNestedScrollMode, SwiperAnimationEvent, SwiperDisplayMode } from "./../ArkSwiperInterfaces" +import { ContentDidScrollCallback, OnSwiperAnimationEndCallback, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback, IndicatorStyle, SwiperAutoFill, ArrowStyle, SwiperContentAnimatedTransition, SwiperAnimationEvent, SwiperNestedScrollMode, SwiperDisplayMode } from "./../ArkSwiperInterfaces" import { EditableTextOnChangeCallback, OnDidChangeCallback, DecorationStyleResult, MenuType, TextRange, StyledStringChangeValue, TextMenuItem, FontSettingOptions, TextDeleteDirection, StyledStringChangedListener, DeleteValue, InsertValue, PreviewText, CaretStyle, TextDataDetectorType, TextDataDetectorConfig } from "./../ArkTextCommonInterfaces" import { GetItemMainSizeByIndex, WaterFlowLayoutMode, SectionOptions, WaterFlowOptions } from "./../ArkWaterFlowInterfaces" import { ImageCompleteCallback, ImageLoadResult } from "./../ArkImageSpanInterfaces" import { ImageErrorCallback, DrawableDescriptor, DrawingColorFilter, ImageContent, DrawingLattice, ResolutionQuality, ImageError, ImageSourceSize, ImageInterpolation, DynamicRangeMode, ImageRenderMode, ResizableOptions } from "./../ArkImageInterfaces" -import { InterceptionModeCallback, InterceptionShowCallback, PopInfo, NavPathInfo, NavigationOptions, NavigationInterception, NavigationMode, NavBar, NavigationOperation, LaunchMode, BarStyle, NavigationAnimatedTransition, NavContentInfo, NavigationToolbarOptions, ToolbarItemStatus, NavigationTitleOptions, SystemBarStyle, NavigationTitleMode, ToolbarItem, NavigationMenuItem } from "./../ArkNavigationInterfaces" +import { InterceptionModeCallback, InterceptionShowCallback, PopInfo, NavPathInfo, NavigationOptions, NavigationInterception, NavigationMode, NavBar, NavigationOperation, LaunchMode, BarStyle, NavigationAnimatedTransition, NavContentInfo, NavigationToolbarOptions, ToolbarItemStatus, NavigationTitleOptions, SystemBarStyle, NavigationTitleMode, NavBarPosition, ToolbarItem, NavigationMenuItem } from "./../ArkNavigationInterfaces" import { IsolatedComponentInterface, RestrictedWorker, IsolatedOptions, IsolatedComponentAttribute, ErrorCallback } from "./../ArkIsolatedComponentInterfaces" import { MenuOnAppearCallback, PasteEventCallback, SubmitCallback, LeadingMarginPlaceholder, RichEditorLayoutStyle, RichEditorImageSpanStyleResult, RichEditorSpanPosition, RichEditorParagraphStyle, RichEditorSymbolSpanStyle, RichEditorTextStyleResult, RichEditorImageSpanStyle, RichEditorTextStyle, RichEditorGesture, KeyboardOptions, SelectionMenuOptions, RichEditorRange, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorImageSpanResult, RichEditorTextSpanResult, RichEditorParagraphResult, RichEditorSelection, RichEditorSpan, PlaceholderStyle, RichEditorResponseType, RichEditorSpanType, RichEditorDeleteDirection, RichEditorSpanStyleOptions, PasteEvent, RichEditorStyledStringOptions, RichEditorOptions, CopyEvent, CutEvent, RichEditorChangeValue, RichEditorDeleteValue, RichEditorInsertValue } from "./../ArkRichEditorInterfaces" -import { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, Header, WebviewController, HitTestType, WebCaptureMode, SelectionMenuOptionsExt, WebResponseType, WebElementType, RenderProcessNotRespondingReason, NativeEmbedInfo, NativeEmbedStatus, NestedScrollOptionsExt, WebNavigationType, SslError, ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType, ScreenCaptureConfig, FileSelectorMode, RenderExitReason, MessageLevel, RenderMode, WebKeyboardOptions, WebKeyboardAvoidMode, AdsBlockedDetails, WebKeyboardCallbackInfo, ViewportFit, ExpandedMenuItemOptions, RenderProcessNotRespondingData, NativeMediaPlayerConfig, NativeEmbedTouchInfo, NativeEmbedVisibilityInfo, NativeEmbedDataInfo, WebLayoutMode, ScriptItem, IntelligentTrackingPreventionDetails, LoadCommittedDetails, ThreatType, OnOverScrollEvent, OnLoadInterceptEvent, LargestContentfulPaint, FirstMeaningfulPaint, OnFirstContentfulPaintEvent, OnAudioStateChangedEvent, OnDataResubmittedEvent, OnPageVisibleEvent, OnFaviconReceivedEvent, OnTouchIconUrlReceivedEvent, OnWindowNewEvent, OnClientAuthenticationEvent, SslErrorEvent, OnSslErrorEventReceiveEvent, OnScrollEvent, OnSearchResultReceiveEvent, OnContextMenuShowEvent, OnScreenCaptureRequestEvent, OnPermissionRequestEvent, OnInterceptRequestEvent, OnHttpAuthRequestEvent, OnScaleChangeEvent, FullScreenEnterEvent, OnResourceLoadEvent, OnShowFileSelectorEvent, OnRenderExitedEvent, OnRefreshAccessedHistoryEvent, OnDownloadStartEvent, OnHttpErrorReceiveEvent, OnErrorReceiveEvent, OnConsoleEvent, OnPromptEvent, OnConfirmEvent, OnBeforeUnloadEvent, OnAlertEvent, OnGeolocationShowEvent, OnTitleReceiveEvent, OnProgressChangeEvent, OnPageBeginEvent, OnPageEndEvent, OverScrollMode, WebMediaOptions, WebDarkMode, CacheMode, JavaScriptProxy, MixedMode, WebOptions } from "./../ArkWebInterfaces" +import { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, Header, WebviewController, HitTestType, WebCaptureMode, SelectionMenuOptionsExt, WebResponseType, WebElementType, RenderProcessNotRespondingReason, NativeEmbedInfo, NativeEmbedStatus, NestedScrollOptionsExt, WebNavigationType, SslError, ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType, ScreenCaptureConfig, FileSelectorMode, RenderExitReason, MessageLevel, RenderMode, WebKeyboardOptions, AdsBlockedDetails, WebKeyboardCallbackInfo, ViewportFit, ExpandedMenuItemOptions, RenderProcessNotRespondingData, NativeMediaPlayerConfig, NativeEmbedTouchInfo, NativeEmbedVisibilityInfo, NativeEmbedDataInfo, ScriptItem, IntelligentTrackingPreventionDetails, LoadCommittedDetails, ThreatType, OnOverScrollEvent, OnLoadInterceptEvent, LargestContentfulPaint, FirstMeaningfulPaint, OnFirstContentfulPaintEvent, OnAudioStateChangedEvent, OnDataResubmittedEvent, OnPageVisibleEvent, OnFaviconReceivedEvent, OnTouchIconUrlReceivedEvent, OnWindowNewEvent, OnClientAuthenticationEvent, SslErrorEvent, OnSslErrorEventReceiveEvent, OnScrollEvent, OnSearchResultReceiveEvent, OnContextMenuShowEvent, OnScreenCaptureRequestEvent, OnPermissionRequestEvent, OnInterceptRequestEvent, OnHttpAuthRequestEvent, OnScaleChangeEvent, FullScreenEnterEvent, OnResourceLoadEvent, OnShowFileSelectorEvent, OnRenderExitedEvent, OnRefreshAccessedHistoryEvent, OnDownloadStartEvent, OnHttpErrorReceiveEvent, OnErrorReceiveEvent, OnConsoleEvent, OnPromptEvent, OnConfirmEvent, OnBeforeUnloadEvent, OnAlertEvent, OnGeolocationShowEvent, OnTitleReceiveEvent, OnProgressChangeEvent, OnPageBeginEvent, OnPageEndEvent, WebMediaOptions, JavaScriptProxy, WebKeyboardAvoidMode, WebOptions, ContextMenuEditStateFlags, ProtectedResourceType, WebLayoutMode, WebDarkMode, OverScrollMode, CacheMode, MixedMode } from "./../ArkWebInterfaces" import { OnAlphabetIndexerPopupSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerSelectCallback, IndexerAlign, AlphabetIndexerOptions } from "./../ArkAlphabetIndexerInterfaces" import { OnCheckboxChangeCallback, CheckboxOptions } from "./../ArkCheckboxInterfaces" import { OnCheckboxGroupChangeCallback, SelectStatus, CheckboxGroupResult, CheckboxGroupOptions } from "./../ArkCheckboxgroupInterfaces" -import { OnContentScrollCallback, OnPasteCallback, OnSubmitCallback, OnTextSelectionChangeCallback, UnderlineColor, TextInputStyle, PasswordIcon, EnterKeyType, SubmitEvent, InputType, TextInputOptions } from "./../ArkTextInputInterfaces" +import { OnContentScrollCallback, OnPasteCallback, OnSubmitCallback, OnTextSelectionChangeCallback, UnderlineColor, TextInputStyle, PasswordIcon, EnterKeyType, TextInputOptions, InputType } from "./../ArkTextInputInterfaces" import { OnFoldStatusChangeCallback, OnHoverStatusChangeCallback, WindowStatusType, HoverEventParam, OnFoldStatusChangeInfo, FolderStackOptions } from "./../ArkFolderStackInterfaces" import { OnLinearIndicatorChangeCallback, LinearIndicatorStyle, LinearIndicatorStartOptions } from "./../ArkLinearindicatorInterfaces" import { OnNativeLoadCallback, SurfaceRect, SurfaceRotationOptions, XComponentOptions } from "./../ArkXcomponentInterfaces" import { OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollOnScrollCallback, ScrollOnWillScrollCallback, ScrollAnimationOptions, ScrollOptions, ScrollEdgeOptions, ScrollPageOptions, OffsetResult, ScrollAlign, ScrollToIndexOptions, OnScrollFrameBeginHandlerResult, OffsetOptions, ScrollSnapOptions, ScrollDirection } from "./../ArkScrollInterfaces" -import { OnScrollVisibleContentChangeCallback, ScrollSnapAlign, ScrollState, ListDividerOptions, ListItemGroupArea, ChainEdgeEffect, CloseSwipeActionOptions, VisibleListContentInfo, StickyStyle, ChainAnimationOptions, ListItemAlign, ListOptions } from "./../ArkListInterfaces" +import { OnScrollVisibleContentChangeCallback, ScrollSnapAlign, ScrollState, ListDividerOptions, ListItemGroupArea, ChainEdgeEffect, CloseSwipeActionOptions, VisibleListContentInfo, ChainAnimationOptions, ListOptions, StickyStyle, ListItemAlign } from "./../ArkListInterfaces" import { OnTabsAnimationEndCallback, OnTabsAnimationStartCallback, OnTabsContentWillChangeCallback, OnTabsGestureSwipeCallback, TabsCustomContentTransitionCallback, LayoutStyle, DividerStyle, ScrollableBarModeOptions, BarMode, TabContentAnimatedTransition, AnimationMode, BarPosition, BarGridColumnOptions, TabsAnimationEvent, TabsOptions } from "./../ArkTabsInterfaces" -import { PageTransitionCallback, RouteType } from "./../ArkPageTransitionInterfaces" +import { PageTransitionCallback, RouteType, SlideEffect } from "./../ArkPageTransitionInterfaces" import { PluginErrorCallback, PluginComponentTemplate, PluginErrorData, PluginComponentOptions } from "./../ArkPluginComponentInterfaces" -import { SearchSubmitCallback, CancelButtonStyle, IconOptions, SearchButtonOptions, CancelButtonSymbolOptions, CancelButtonOptions, SearchType, SearchOptions } from "./../ArkSearchInterfaces" -import { SliderTriggerChangeCallback, SliderBlockType, SliderStyle, SliderChangeMode, SlideRange, SliderInteraction, SliderBlockStyle, SliderOptions } from "./../ArkSliderInterfaces" +import { SearchSubmitCallback, CancelButtonStyle, IconOptions, SearchButtonOptions, CancelButtonSymbolOptions, CancelButtonOptions, SearchOptions, SearchType } from "./../ArkSearchInterfaces" +import { SliderTriggerChangeCallback, SliderBlockType, SliderStyle, SliderChangeMode, SlideRange, SliderBlockStyle, SliderOptions, SliderInteraction } from "./../ArkSliderInterfaces" import { TextAreaSubmitCallback, ContentType, TextAreaType, TextAreaOptions } from "./../ArkTextAreaInterfaces" import { VoidCallback, Dimension, PX, VP, FP, LPX, Percentage, ResourceColor, BorderRadiuses, Margin, Padding, SizeOptions, Length, Position, Area, Font, LocalizedPadding, LocalizedEdgeColors, LocalizedEdgeWidths, ResourceStr, LocalizedBorderRadiuses, ColorMetrics, Offset, LocalizedEdges, Edges, DividerStyleOptions, LengthMetricsUnit, ColorFilter, AccessibilityOptions, EdgeWidths, EdgeColors, EdgeStyles, Bias, LocalizedPosition, OutlineOptions, EdgeOutlineWidths, OutlineRadiuses, EdgeOutlineStyles, BorderOptions, ChainWeightOptions, ConstraintSizeOptions, MarkStyle } from "./../ArkUnitsInterfaces" import { WithThemeInterface, CustomTheme, WithThemeOptions, WithThemeAttribute } from "./../ArkWithThemeInterfaces" import { LengthUnit, LengthMetrics, TextModifier, Want, RectHeightStyle, RectWidthStyle, NodeController } from "./../ArkArkui-externalInterfaces" import { Resource } from "./../ArkResourceInterfaces" -import { Color, ColoringStrategy, FontWeight, Curve, WordBreak, TextOverflow, TextAlign, ImageFit, ImageSpanAlignment, TextDecorationStyle, TextDecorationType, FontStyle, BorderStyle, TextHeightAdaptivePolicy, LineBreakStrategy, TitleHeight, GradientDirection, DialogButtonStyle, TouchType, NestedScrollMode, VerticalAlign, Axis, PlayMode, Placement, ArrowPointPosition, Alignment, SharedTransitionEffectType, ClickEffectLevel, HorizontalAlign, TransitionType, Edge, XComponentType, TextContentStyle, EdgeEffect, OptionWidthMode, BarState, ScrollSource, ResponseType, AppRotation, FoldStatus, FlexAlign, ItemAlign, FlexWrap, FlexDirection, FunctionKey, ImageRepeat, KeySource, KeyType, MouseAction, MouseButton, AccessibilityHoverType, ImageSize, PixelRoundCalcPolicy, IlluminatedType, HitTestMode, TextSelectableMode, EllipsisMode, TextCase, MarqueeUpdateStrategy, CopyOptions, EmbeddedType, LineJoinStyle, LineCapStyle, ModifierKey, RenderFit, ObscuredReasons, Direction, Visibility, HoverEffect, CheckBoxShape, FillMode, AnimationStatus } from "./../ArkEnumsInterfaces" +import { Color, ColoringStrategy, FontWeight, Curve, WordBreak, TextOverflow, TextAlign, ImageFit, ImageSpanAlignment, TextDecorationStyle, TextDecorationType, FontStyle, BorderStyle, TextHeightAdaptivePolicy, LineBreakStrategy, TitleHeight, GradientDirection, DialogButtonStyle, TouchType, NestedScrollMode, VerticalAlign, Axis, PlayMode, Placement, ArrowPointPosition, Alignment, SharedTransitionEffectType, ClickEffectLevel, HorizontalAlign, TransitionType, Edge, XComponentType, TextContentStyle, EdgeEffect, OptionWidthMode, BarState, ScrollSource, ResponseType, AppRotation, FoldStatus, FlexAlign, ItemAlign, FlexWrap, FlexDirection, FunctionKey, ImageRepeat, KeySource, KeyType, MouseAction, MouseButton, AccessibilityHoverType, ImageSize, PixelRoundCalcPolicy, IlluminatedType, HitTestMode, HeightBreakpoint, WidthBreakpoint, TextSelectableMode, MarqueeUpdateStrategy, EllipsisMode, CopyOptions, TextCase, RelateType, Week, EmbeddedType, LineJoinStyle, LineCapStyle, ModifierKey, RenderFit, ObscuredReasons, Direction, Visibility, HoverEffect, CheckBoxShape, FillMode, AnimationStatus } from "./../ArkEnumsInterfaces" import { PixelMap, PixelMapInternal } from "./../ArkPixelMapMaterialized" -import { Tuple_Dimension_Dimension, Callback_GestureEvent_Void, Callback_ClickEvent_Void, Callback_PopInfo_Void, Callback_SwipeActionState_Void, Callback_Void, CustomNodeBuilder, Callback_DismissPopupAction_Void, Callback_NavigationTransitionProxy_Void, Callback_Boolean_Void, Literal_String_script_Callback_String_Void_callback, Callback_String_Void, Literal_String_baseUrl_data_encoding_historyUrl_mimeType, Literal_Union_String_Resource_url_Array_Header_headers, Literal_Object_object_String_name_Array_String_methodList, Callback_TimePickerResult_Void, Callback_TextPickerResult_Void, Tuple_Number_Number, Callback_TabContentTransitionProxy_Void, Callback_StyledStringChangeValue_Boolean, Tuple_ResourceColor_Number, Callback_Date_Void, Callback_DatePickerResult_Void, Callback_SheetType_Void, Callback_Number_Void, Callback_SpringBackAction_Void, Callback_DismissSheetAction_Void, Callback_SheetDismiss_Void, Callback_DismissContentCoverAction_Void, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_DismissDialogAction_Void, Callback_UIExtensionProxy_Void, Literal_Boolean_next_Axis_direction, Literal_Number_surfaceHeight_surfaceWidth, Callback_Literal_String_plainText_Void, Literal_String_plainText, Callback_SwiperContentTransitionProxy_Void, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number, Callback_Number_Tuple_Number_Number, Type_SheetOptions_detents, Literal_ResourceColor_color, Literal_String_value_Callback_Void_action, Literal_Number_day_month_year, Type_NavigationAttribute_customNavContentTransition_delegate, Callback_WithThemeAttribute_Void, Callback_WebResourceResponse_Void, Callback_WebKeyboardOptions_Void, Callback_Union_CustomBuilder_DragItemInfo_Void, Callback_Tuple_Number_Number_Void, Callback_Tuple_Number_Number_Number_Number_Void, Callback_TouchResult_Void, Callback_T_Any_this, Callback_String_Unknown_Void, Callback_Pointer_Void, Callback_Opt_TabContentAnimatedTransition_Void, Callback_Opt_StyledString_Opt_Array_String_Void, Callback_Opt_NavigationAnimatedTransition_Void, Callback_Opt_Array_String_Void, Callback_OnScrollFrameBeginHandlerResult_Void, Callback_OffsetResult_Void, Callback_NavigationTitleMode_Void, Callback_NavigationMode_Void, Callback_Literal_Number_offsetRemain_Void, Literal_Number_offsetRemain, Callback_IsolatedComponentAttribute_Void, Callback_HitTestMode_Void, Callback_GestureRecognizer_Void, Callback_GestureJudgeResult_Void, Callback_ComputedBarAttribute_Void, Callback_Callback_Any_Void, Callback_Any, Callback_Array_String_Void, Callback_Literal_Number_code_Want_want_Void, Literal_Number_code_Want_want, Callback_NativeEmbedTouchInfo_Void, Callback_NativeEmbedDataInfo_Void, Callback_OnOverScrollEvent_Void, Callback_OnLoadInterceptEvent_Boolean, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnDataResubmittedEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnWindowNewEvent_Void, Callback_OnClientAuthenticationEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSearchResultReceiveEvent_Void, Callback_OnContextMenuShowEvent_Boolean, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnPermissionRequestEvent_Void, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnScaleChangeEvent_Void, Callback_OnResourceLoadEvent_Void, Callback_Literal_Function_callback_Object_fileSelector_Void, Literal_Function_callback_Object_fileSelector, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Callback_OnShowFileSelectorEvent_Boolean, Callback_OnRenderExitedEvent_Void, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, Callback_OnRefreshAccessedHistoryEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnErrorReceiveEvent_Void, Callback_OnConsoleEvent_Boolean, Callback_OnPromptEvent_Boolean, Callback_OnConfirmEvent_Boolean, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnAlertEvent_Boolean, Callback_OnGeolocationShowEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnPageEndEvent_Void, Callback_PlaybackInfo_Void, Callback_PreparedInfo_Void, Callback_FullscreenInfo_Void, Type_TextPickerAttribute_onChange_callback, Callback_String_Number_Void, Callback_String_PasteEvent_Void, Callback_EnterKeyType_Void, Callback_Number_SliderChangeMode_Void, Callback_Number_String_Void, Callback_DeleteValue_Void, Callback_DeleteValue_Boolean, Callback_InsertValue_Void, Callback_InsertValue_Boolean, Callback_ClickEvent_SaveButtonOnClickResult_Void, Callback_CopyEvent_Void, Callback_CutEvent_Void, Callback_RichEditorChangeValue_Boolean, Callback_RichEditorDeleteValue_Boolean, Callback_TextRange_Void, Callback_RichEditorTextSpanResult_Void, Callback_RichEditorInsertValue_Boolean, Callback_RichEditorRange_Void, Callback_RichEditorSelection_Void, Callback_RefreshStatus_Void, Callback_Array_Number_Void, Callback_ClickEvent_PasteButtonOnClickResult_Void, Callback_Number_Number_PanelMode_Void, Callback_NavDestinationContext_Void, Callback_Boolean, Callback_ClickEvent_LocationButtonOnClickResult_Void, Callback_Number_Number_Boolean, Callback_Number_Boolean, Callback_Number_Number_Number_Void, Callback_Type_ImageAttribute_onComplete_callback_event_Void, Type_ImageAttribute_onComplete_callback_event, Callback_Number_ScrollState_Literal_Number_offsetRemain, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Callback_Any, Callback_Number_Number_Void, Callback_Number_Number_ComputedBarAttribute, Callback_Any_Void, Callback_Literal_Number_errcode_String_msg_Void, Literal_Number_errcode_String_msg, Callback_FormCallbackInfo_Void, Callback_TerminationInfo_Void, Callback_Number_ScrollState_Void, Callback_TouchEvent_HitTestMode, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_PreDragStatus_Void, Callback_DragEvent_String_Void, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Callback_Area_Area_Void, Callback_KeyEvent_Boolean, Callback_KeyEvent_Void, Callback_TouchEvent_Void, Callback_MouseEvent_Void, Callback_Boolean_HoverEvent_Void, Callback_Array_TouchTestInfo_TouchResult, Callback_CalendarRequestedData_Void, Callback_CalendarSelectedDate_Void } from "./../SyntheticDeclarations" +import { Tuple_Dimension_Dimension, Callback_GestureEvent_Void, Callback_ClickEvent_Void, Callback_PopInfo_Void, Callback_SwipeActionState_Void, Callback_Void, CustomNodeBuilder, Callback_DismissPopupAction_Void, Callback_NavigationTransitionProxy_Void, Callback_Boolean_Void, Literal_String_script_Callback_String_Void_callback_, Callback_String_Void, Literal_String_baseUrl_data_encoding_historyUrl_mimeType, Literal_Union_String_Resource_url_Array_Header_headers, Literal_Object_object__String_name_Array_String_methodList, Callback_TimePickerResult_Void, Callback_TextPickerResult_Void, Tuple_Number_Number, Callback_TabContentTransitionProxy_Void, Callback_StyledStringChangeValue_Boolean, Tuple_ResourceColor_Number, Callback_Date_Void, Callback_DatePickerResult_Void, Callback_SheetType_Void, Callback_Number_Void, Callback_SpringBackAction_Void, Callback_DismissSheetAction_Void, Callback_SheetDismiss_Void, Callback_DismissContentCoverAction_Void, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_DismissDialogAction_Void, Callback_UIExtensionProxy_Void, Literal_Boolean_next_Axis_direction, Literal_Number_surfaceHeight_surfaceWidth, Callback_Literal_String_plainText_Void, Literal_String_plainText, Callback_SwiperContentTransitionProxy_Void, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number, Callback_Number_Tuple_Number_Number, Callback_MouseEvent_Void, Callback_KeyEvent_Void, Callback_TouchEvent_Void, Type_SheetOptions_detents, Literal_ResourceColor_color, Literal_String_value_Callback_Void_action, Literal_Number_day_month_year, Type_NavigationAttribute_customNavContentTransition_delegate, Callback_WithThemeAttribute_Void, Callback_WebResourceResponse_Void, Callback_WebKeyboardOptions_Void, Callback_Union_CustomBuilder_DragItemInfo_Void, Callback_Tuple_Number_Number_Void, Callback_Tuple_Number_Number_Number_Number_Void, Callback_TouchResult_Void, Callback_T_Any_this, Callback_String_Unknown_Void, Callback_Pointer_Void, Callback_Opt_TabContentAnimatedTransition_Void, Callback_Opt_StyledString_Opt_Array_String_Void, Callback_Opt_NavigationAnimatedTransition_Void, Callback_Opt_Array_String_Void, Callback_OnScrollFrameBeginHandlerResult_Void, Callback_OffsetResult_Void, Callback_NavigationTitleMode_Void, Callback_NavigationMode_Void, Callback_Literal_Number_offsetRemain_Void, Literal_Number_offsetRemain, Callback_IsolatedComponentAttribute_Void, Callback_HitTestMode_Void, Callback_GestureRecognizer_Void, Callback_GestureJudgeResult_Void, Callback_CustomBuilder_Void, Callback_ComputedBarAttribute_Void, Callback_Array_String_Void, Callback_Literal_Number_code_Want_want_Void, Literal_Number_code_Want_want, Callback_NativeEmbedTouchInfo_Void, Callback_NativeEmbedDataInfo_Void, Callback_OnOverScrollEvent_Void, Callback_OnLoadInterceptEvent_Boolean, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnDataResubmittedEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnWindowNewEvent_Void, Callback_OnClientAuthenticationEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSearchResultReceiveEvent_Void, Callback_OnContextMenuShowEvent_Boolean, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnPermissionRequestEvent_Void, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnScaleChangeEvent_Void, Callback_OnResourceLoadEvent_Void, Type_WebAttribute_onFileSelectorShow_callback, Literal_Function_callback__Object_fileSelector, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Callback_OnShowFileSelectorEvent_Boolean, Callback_OnRenderExitedEvent_Void, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, Callback_OnRefreshAccessedHistoryEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnErrorReceiveEvent_Void, Callback_OnConsoleEvent_Boolean, Callback_OnPromptEvent_Boolean, Callback_OnConfirmEvent_Boolean, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnAlertEvent_Boolean, Callback_OnGeolocationShowEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnPageEndEvent_Void, Callback_PlaybackInfo_Void, Callback_PreparedInfo_Void, Callback_FullscreenInfo_Void, Type_TextPickerAttribute_onChange_callback, Callback_String_Number_Void, Callback_String_PasteEvent_Void, Callback_EnterKeyType_Void, Callback_Number_SliderChangeMode_Void, Callback_Number_String_Void, Callback_DeleteValue_Void, Callback_DeleteValue_Boolean, Callback_InsertValue_Void, Callback_InsertValue_Boolean, Callback_ClickEvent_SaveButtonOnClickResult_Void, Callback_CopyEvent_Void, Callback_CutEvent_Void, Callback_RichEditorChangeValue_Boolean, Callback_RichEditorDeleteValue_Boolean, Callback_TextRange_Void, Callback_RichEditorTextSpanResult_Void, Callback_RichEditorInsertValue_Boolean, Callback_RichEditorRange_Void, Callback_RichEditorSelection_Void, Callback_RefreshStatus_Void, Callback_Array_Number_Void, Callback_ClickEvent_PasteButtonOnClickResult_Void, Callback_Number_Number_PanelMode_Void, Callback_NavDestinationContext_Void, Callback_Boolean, Callback_ClickEvent_LocationButtonOnClickResult_Void, Callback_Number_Number_Boolean, Callback_Number_Boolean, Callback_Number_Number_Number_Void, Callback_Type_ImageAttribute_onComplete_callback_event_Void, Type_ImageAttribute_onComplete_callback_event, Callback_Number_ScrollState_Literal_Number_offsetRemain, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_CustomBuilder, Callback_Number_Number_ComputedBarAttribute, Callback_Any_Void, Callback_Literal_Number_errcode_String_msg_Void, Literal_Number_errcode_String_msg, Callback_FormCallbackInfo_Void, Callback_TerminationInfo_Void, Callback_Number_Number_Void, Callback_TouchEvent_HitTestMode, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_PreDragStatus_Void, Callback_DragEvent_String_Void, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Callback_Area_Area_Void, Callback_KeyEvent_Boolean, Callback_Boolean_HoverEvent_Void, Callback_Array_TouchTestInfo_TouchResult, Callback_CalendarRequestedData_Void, Callback_CalendarSelectedDate_Void } from "./../SyntheticDeclarations" import { ICurve, ICurveInternal } from "./../ArkICurveMaterialized" import { TextBackgroundStyle } from "./../ArkSpanInterfaces" import { ImageAttachmentLayoutStyle, BackgroundColorStyle, UserDataSpan, CustomSpanMeasureInfo, CustomSpanMetrics, CustomSpanDrawInfo, UrlStyle, LineHeightStyle, ParagraphStyle, ParagraphStyleInterface, ImageAttachment, ImageAttachmentInterface, GestureStyle, GestureStyleInterface, TextShadowStyle, LetterSpacingStyle, BaselineOffsetStyle, DecorationStyle, DecorationStyleInterface, TextStyle_styled_string, TextStyleInterface, StyledStringKey, StyleOptions, SpanStyle, StyledStringValue } from "./../ArkStyledStringInterfaces" import { GridRowSizeOption, BreakpointsReference, GridRowColumnOption, GutterOption, GridRowDirection, BreakPoints, GridRowOptions } from "./../ArkGridRowInterfaces" import { CustomSpan, CustomSpanInternal } from "./../ArkCustomSpanMaterialized" import { TabBarSymbol, TabBarIconStyle, LayoutMode, BoardStyle, SelectedMode, TabBarOptions } from "./../ArkTabContentInterfaces" -import { SymbolRenderingStrategy, SymbolEffectStrategy, SymbolEffect } from "./../ArkSymbolglyphInterfaces" -import { GestureEvent, PanDirection, GestureHandler, GesturePriority, GestureMask, BaseGestureEvent, GestureJudgeResult, GestureControl_GestureType, FingerInfo, GestureRecognizerState, GestureInfo } from "./../ArkGestureInterfaces" -import { SwipeActionState, SwipeActionItem, SwipeEdgeEffect, EditMode, ListItemStyle, SwipeActionOptions, Sticky, ListItemOptions } from "./../ArkListItemInterfaces" +import { SymbolRenderingStrategy, SymbolEffectStrategy, SymbolEffect, EffectFillStyle, EffectScope, EffectDirection } from "./../ArkSymbolglyphInterfaces" +import { GestureEvent, GestureEventInternal } from "./../ArkGestureEventMaterialized" +import { ClickEvent, ClickEventInternal } from "./../ArkClickEventMaterialized" +import { SwipeActionState, SwipeActionItem, SwipeEdgeEffect, EditMode, ListItemStyle, SwipeActionOptions, ListItemOptions, Sticky } from "./../ArkListItemInterfaces" import { TransitionEffect, TransitionEffectInternal } from "./../ArkTransitionEffectMaterialized" import { CanvasPattern, CanvasPatternInternal } from "./../ArkCanvasPatternMaterialized" import { Matrix2D, Matrix2DInternal } from "./../ArkMatrix2DMaterialized" @@ -105,10 +106,12 @@ import { UIExtensionProxy, UIExtensionProxyInternal } from "./../ArkUIExtensionP import { WaterFlowSections, WaterFlowSectionsInternal } from "./../ArkWaterFlowSectionsMaterialized" import { Scroller, ScrollerInternal } from "./../ArkScrollerMaterialized" import { RRect, WindowAnimationTarget } from "./../ArkRemoteWindowInterfaces" -import { ButtonIconOptions, SideBarPosition, ButtonStyle, SideBarContainerType } from "./../ArkSidebarInterfaces" +import { ButtonIconOptions, ButtonStyle, SideBarPosition, SideBarContainerType } from "./../ArkSidebarInterfaces" import { XComponentController, XComponentControllerInternal } from "./../ArkXComponentControllerMaterialized" import { WebKeyboardController, WebKeyboardControllerInternal } from "./../ArkWebKeyboardControllerMaterialized" import { EventResult, EventResultInternal } from "./../ArkEventResultMaterialized" +import { TouchEvent, TouchEventInternal } from "./../ArkTouchEventMaterialized" +import { BaseEvent, BaseEventInternal } from "./../ArkBaseEventMaterialized" import { DataResubmissionHandler, DataResubmissionHandlerInternal } from "./../ArkDataResubmissionHandlerMaterialized" import { ControllerHandler, ControllerHandlerInternal } from "./../ArkControllerHandlerMaterialized" import { ClientAuthenticationHandler, ClientAuthenticationHandlerInternal } from "./../ArkClientAuthenticationHandlerMaterialized" @@ -165,13 +168,19 @@ import { ListItemGroupStyle, ListItemGroupOptions } from "./../ArkListItemGroupI import { SizeType, GridContainerOptions } from "./../ArkGridContainerInterfaces" import { GridItemStyle, GridItemOptions } from "./../ArkGridItemInterfaces" import { GridItemAlignment, ComputedBarAttribute, GridDirection, GridLayoutOptions } from "./../ArkGridInterfaces" +import { PanDirection, GestureHandler, GesturePriority, GestureMask, GestureJudgeResult, GestureControl_GestureType, FingerInfo, GestureRecognizerState, GestureMode, SwipeDirection, GestureInfo } from "./../ArkGestureInterfaces" import { FormShape, FormRenderingMode, FormDimension, FormCallbackInfo, FormInfo } from "./../ArkFormComponentInterfaces" import { FlexSpaceOptions, FlexOptions } from "./../ArkFlexInterfaces" import { LinearGradient_data_panel, ColorStop, DataPanelType, DataPanelShadowOptions, DataPanelOptions } from "./../ArkDataPanelInterfaces" +import { MouseEvent, MouseEventInternal } from "./../ArkMouseEventMaterialized" +import { HoverEvent, HoverEventInternal } from "./../ArkHoverEventMaterialized" +import { KeyEvent, KeyEventInternal } from "./../ArkKeyEventMaterialized" +import { BaseGestureEvent, BaseGestureEventInternal } from "./../ArkBaseGestureEventMaterialized" import { GestureRecognizer, GestureRecognizerInternal } from "./../ArkGestureRecognizerMaterialized" import { FocusPriority, FocusBoxStyle } from "./../ArkFocusInterfaces" import { ProgressMask, ProgressMaskInternal } from "./../ArkProgressMaskMaterialized" import { DrawModifier, DrawModifierInternal } from "./../ArkDrawModifierMaterialized" +import { UnifiedData, UnifiedDataInternal } from "./../ArkUnifiedDataMaterialized" import { ColumnSplitDividerStyle } from "./../ArkColumnSplitInterfaces" import { DrawingRenderingContext, DrawingRenderingContextInternal } from "./../ArkDrawingRenderingContextMaterialized" import { CanvasRenderingContext2D, CanvasRenderingContext2DInternal } from "./../ArkCanvasRenderingContext2DMaterialized" @@ -185,10 +194,12 @@ import { MonthData, CalendarDay, CalendarRequestedData, CalendarSelectedDate, Wo import { ScrollMotion, SpringProp, FrictionMotion, SpringMotion } from "./../ArkAnimatorInterfaces" import { LinearIndicatorController, LinearIndicatorControllerInternal } from "./../ArkLinearIndicatorControllerMaterialized" import { TextTimerOptions } from "./../ArkTextTimerInterfaces" +import { SubmitEvent, SubmitEventInternal } from "./../ArkSubmitEventMaterialized" import { TextClockOptions } from "./../ArkTextClockInterfaces" import { IndicatorComponentController, IndicatorComponentControllerInternal } from "./../ArkIndicatorComponentControllerMaterialized" import { SwiperController, SwiperControllerInternal } from "./../ArkSwiperControllerMaterialized" import { ItemState } from "./../ArkStepperItemInterfaces" +import { LayoutDirection, ColorMode } from "./../ArkStateManagementInterfaces" import { StackOptions } from "./../ArkStackInterfaces" import { ViewportRect } from "./../ArkShapeInterfaces" import { SecurityComponentLayoutDirection } from "./../ArkSecurityComponentInterfaces" @@ -198,14 +209,18 @@ import { EditMenuOptions, EditMenuOptionsInternal } from "./../ArkEditMenuOption import { RefreshStatus, RefreshOptions } from "./../ArkRefreshInterfaces" import { StarStyleOptions, RatingOptions } from "./../ArkRatingInterfaces" import { PolylineOptions } from "./../ArkPolylineInterfaces" +import { Point } from "./../ArkPointInterfaces" import { PolygonOptions } from "./../ArkPolygonInterfaces" import { PatternLockController, PatternLockControllerInternal } from "./../ArkPatternLockControllerMaterialized" +import { DisturbanceFieldShape, ParticleUpdater, DistributionType, ParticleEmitterShape, ParticleType } from "./../ArkParticleInterfaces" import { NavRouteMode, RouteInfo } from "./../ArkNavRouterInterfaces" import { MenuItemGroupOptions } from "./../ArkMenuItemGroupInterfaces" import { SubMenuExpandingMode } from "./../ArkMenuInterfaces" import { MarqueeOptions } from "./../ArkMarqueeInterfaces" +import { LoadingProgressStyle } from "./../ArkLoadingProgressInterfaces" import { ChildrenMainSize, ChildrenMainSizeInternal } from "./../ArkChildrenMainSizeMaterialized" import { LineOptions } from "./../ArkLineInterfaces" +import { DataOperationType } from "./../ArkLazyForEachInterfaces" import { ImageFrameInfo } from "./../ArkImageAnimatorInterfaces" import { GaugeIndicatorOptions, GaugeShadowOptions, GaugeOptions } from "./../ArkGaugeInterfaces" import { FormLinkOptions } from "./../ArkFormLinkInterfaces" @@ -213,7 +228,8 @@ import { TerminationInfo } from "./../ArkEmbeddedComponentInterfaces" import { CustomDialogControllerOptions } from "./../ArkCustomDialogControllerInterfaces" import { EventTargetInfo, EventTargetInfoInternal } from "./../ArkEventTargetInfoMaterialized" import { GestureModifier, GestureModifierInternal } from "./../ArkGestureModifierMaterialized" -import { UnifiedData, UnifiedDataInternal } from "./../ArkUnifiedDataMaterialized" +import { DragEvent, DragEventInternal } from "./../ArkDragEventMaterialized" +import { AccessibilityHoverEvent, AccessibilityHoverEventInternal } from "./../ArkAccessibilityHoverEventMaterialized" import { ColumnOptions } from "./../ArkColumnInterfaces" export class Deserializer extends DeserializerBase { @@ -4195,51 +4211,8 @@ export class Deserializer extends DeserializerBase { } readTouchEvent(): TouchEvent { let valueDeserializer : Deserializer = this - const target_result : EventTarget = valueDeserializer.readEventTarget() - const timestamp_result : number = (valueDeserializer.readNumber() as number) - const source_result : SourceType = (valueDeserializer.readInt32() as SourceType) - const axisHorizontal_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisHorizontal_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf = (valueDeserializer.readNumber() as number) - } - const axisHorizontal_result : number | undefined = axisHorizontal_buf - const axisVertical_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisVertical_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf = (valueDeserializer.readNumber() as number) - } - const axisVertical_result : number | undefined = axisVertical_buf - const pressure_result : number = (valueDeserializer.readNumber() as number) - const tiltX_result : number = (valueDeserializer.readNumber() as number) - const tiltY_result : number = (valueDeserializer.readNumber() as number) - const sourceTool_result : SourceTool = (valueDeserializer.readInt32() as SourceTool) - const deviceId_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let deviceId_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf = (valueDeserializer.readNumber() as number) - } - const deviceId_result : number | undefined = deviceId_buf - const type_result : TouchType = (valueDeserializer.readInt32() as TouchType) - const touches_buf_length : int32 = valueDeserializer.readInt32() - let touches_buf : Array = new Array() - for (let touches_buf_i = 0; touches_buf_i < touches_buf_length; touches_buf_i++) { - touches_buf[touches_buf_i] = valueDeserializer.readTouchObject() - } - const touches_result : Array = touches_buf - const changedTouches_buf_length : int32 = valueDeserializer.readInt32() - let changedTouches_buf : Array = new Array() - for (let changedTouches_buf_i = 0; changedTouches_buf_i < changedTouches_buf_length; changedTouches_buf_i++) { - changedTouches_buf[changedTouches_buf_i] = valueDeserializer.readTouchObject() - } - const changedTouches_result : Array = changedTouches_buf - const stopPropagation_result : (() => void) = valueDeserializer.readCallback_Void() - const preventDefault_result : (() => void) = valueDeserializer.readCallback_Void() - let value : TouchEvent = ({target: target_result,timestamp: timestamp_result,source: source_result,axisHorizontal: axisHorizontal_result,axisVertical: axisVertical_result,pressure: pressure_result,tiltX: tiltX_result,tiltY: tiltY_result,sourceTool: sourceTool_result,deviceId: deviceId_result,type: type_result,touches: touches_result,changedTouches: changedTouches_result,stopPropagation: stopPropagation_result,preventDefault: preventDefault_result} as TouchEvent) - return value + let ptr : KPointer = valueDeserializer.readPointer() + return TouchEventInternal.fromPtr(ptr) } readNativeEmbedInfo(): NativeEmbedInfo { let valueDeserializer : Deserializer = this @@ -5680,6 +5653,12 @@ export class Deserializer extends DeserializerBase { let value : EdgeEffectOptions = ({alwaysEnabled: alwaysEnabled_result} as EdgeEffectOptions) return value } + readScrollOnScrollCallback(isSync: boolean = false): ScrollOnScrollCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (xOffset: number, yOffset: number, scrollState: ScrollState):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeNumber(xOffset); _argsSerializer.writeNumber(yOffset); _argsSerializer.writeInt32((scrollState.valueOf() as int32)); (isSync) ? (InteropNativeModule._CallCallbackSync(-1265626662, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1265626662, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + } readScrollOnWillScrollCallback(isSync: boolean = false): ScrollOnWillScrollCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -6233,11 +6212,11 @@ export class Deserializer extends DeserializerBase { } const height_result : number | string | undefined = height_buf const radius_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let radius_buf : number | string | Array | undefined + let radius_buf : number | string | Array | undefined if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) { const radius_buf__selector : int32 = valueDeserializer.readInt8() - let radius_buf_ : number | string | Array | undefined + let radius_buf_ : number | string | Array | undefined if (radius_buf__selector == 0) { radius_buf_ = (valueDeserializer.readNumber() as number) } @@ -6246,18 +6225,29 @@ export class Deserializer extends DeserializerBase { } else if (radius_buf__selector == 2) { const radius_buf__u_length : int32 = valueDeserializer.readInt32() - let radius_buf__u : Array = new Array() + let radius_buf__u : Array = new Array() for (let radius_buf__u_i = 0; radius_buf__u_i < radius_buf__u_length; radius_buf__u_i++) { - radius_buf__u[radius_buf__u_i] = (valueDeserializer.readCustomObject("Any") as Object) + 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 radius_buf_ has to be chosen through deserialisation.") } - radius_buf = (radius_buf_ as number | string | Array) + radius_buf = (radius_buf_ as number | string | Array) } - const radius_result : number | string | Array | undefined = radius_buf + 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 } @@ -7369,6 +7359,60 @@ export class Deserializer extends DeserializerBase { let value : UIGestureEvent = ({} as UIGestureEvent) return value } + readVisibleAreaChangeCallback(isSync: boolean = false): VisibleAreaChangeCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (isExpanding: boolean, currentRatio: number):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeBoolean(isExpanding); _argsSerializer.writeNumber(currentRatio); (isSync) ? (InteropNativeModule._CallCallbackSync(541663396, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(541663396, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + } + readVisibleAreaEventOptions(): VisibleAreaEventOptions { + let valueDeserializer : Deserializer = this + const ratios_buf_length : int32 = valueDeserializer.readInt32() + let ratios_buf : Array = new Array() + for (let ratios_buf_i = 0; ratios_buf_i < ratios_buf_length; ratios_buf_i++) { + ratios_buf[ratios_buf_i] = (valueDeserializer.readNumber() as number) + } + const ratios_result : Array = ratios_buf + const expectedUpdateInterval_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let expectedUpdateInterval_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (expectedUpdateInterval_buf_runtimeType)) + { + expectedUpdateInterval_buf = (valueDeserializer.readNumber() as number) + } + const expectedUpdateInterval_result : number | undefined = expectedUpdateInterval_buf + let value : VisibleAreaEventOptions = ({ratios: ratios_result,expectedUpdateInterval: expectedUpdateInterval_result} as VisibleAreaEventOptions) + return value + } + readSizeChangeCallback(isSync: boolean = false): SizeChangeCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (oldValue: SizeOptions, newValue: SizeOptions):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeSizeOptions(oldValue); _argsSerializer.writeSizeOptions(newValue); (isSync) ? (InteropNativeModule._CallCallbackSync(-1716637992, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1716637992, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + } + readCallback_MouseEvent_Void(isSync: boolean = false): ((event: MouseEvent) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (event: MouseEvent):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeMouseEvent(event); (isSync) ? (InteropNativeModule._CallCallbackSync(-1382640094, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1382640094, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + } + readHoverCallback(isSync: boolean = false): HoverCallback { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (isHover: boolean, event: HoverEvent):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeBoolean(isHover); _argsSerializer.writeHoverEvent(event); (isSync) ? (InteropNativeModule._CallCallbackSync(68560477, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(68560477, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + } + readCallback_KeyEvent_Void(isSync: boolean = false): ((event: KeyEvent) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (event: KeyEvent):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeKeyEvent(event); (isSync) ? (InteropNativeModule._CallCallbackSync(707696468, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(707696468, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + } + readCallback_TouchEvent_Void(isSync: boolean = false): ((event: TouchEvent) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (event: TouchEvent):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeTouchEvent(event); (isSync) ? (InteropNativeModule._CallCallbackSync(-1676021850, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1676021850, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + } readOnMoveHandler(isSync: boolean = false): OnMoveHandler { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -7411,12 +7455,6 @@ export class Deserializer extends DeserializerBase { let value : AccessibilityOptions = ({accessibilityPreferred: accessibilityPreferred_result} as AccessibilityOptions) return value } - readVisibleAreaChangeCallback(isSync: boolean = false): VisibleAreaChangeCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (isExpanding: boolean, currentRatio: number):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeBoolean(isExpanding); _argsSerializer.writeNumber(currentRatio); (isSync) ? (InteropNativeModule._CallCallbackSync(541663396, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(541663396, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } - } readSheetOptions(): SheetOptions { let valueDeserializer : Deserializer = this const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -9430,6 +9468,11 @@ export class Deserializer extends DeserializerBase { let ptr : KPointer = valueDeserializer.readPointer() return DrawModifierInternal.fromPtr(ptr) } + readUnifiedData(): UnifiedData { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return UnifiedDataInternal.fromPtr(ptr) + } readColumnSplitDividerStyle(): ColumnSplitDividerStyle { let valueDeserializer : Deserializer = this const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -11801,45 +11844,8 @@ export class Deserializer extends DeserializerBase { } readClickEvent(): ClickEvent { let valueDeserializer : Deserializer = this - const target_result : EventTarget = valueDeserializer.readEventTarget() - const timestamp_result : number = (valueDeserializer.readNumber() as number) - const source_result : SourceType = (valueDeserializer.readInt32() as SourceType) - const axisHorizontal_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisHorizontal_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf = (valueDeserializer.readNumber() as number) - } - const axisHorizontal_result : number | undefined = axisHorizontal_buf - const axisVertical_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisVertical_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf = (valueDeserializer.readNumber() as number) - } - const axisVertical_result : number | undefined = axisVertical_buf - const pressure_result : number = (valueDeserializer.readNumber() as number) - const tiltX_result : number = (valueDeserializer.readNumber() as number) - const tiltY_result : number = (valueDeserializer.readNumber() as number) - const sourceTool_result : SourceTool = (valueDeserializer.readInt32() as SourceTool) - const deviceId_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let deviceId_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf = (valueDeserializer.readNumber() as number) - } - const deviceId_result : number | undefined = deviceId_buf - const displayX_result : number = (valueDeserializer.readNumber() as number) - const displayY_result : number = (valueDeserializer.readNumber() as number) - const windowX_result : number = (valueDeserializer.readNumber() as number) - const windowY_result : number = (valueDeserializer.readNumber() as number) - const screenX_result : number = (valueDeserializer.readNumber() as number) - const screenY_result : number = (valueDeserializer.readNumber() as number) - const x_result : number = (valueDeserializer.readNumber() as number) - const y_result : number = (valueDeserializer.readNumber() as number) - const preventDefault_result : (() => void) = valueDeserializer.readCallback_Void() - let value : ClickEvent = ({target: target_result,timestamp: timestamp_result,source: source_result,axisHorizontal: axisHorizontal_result,axisVertical: axisVertical_result,pressure: pressure_result,tiltX: tiltX_result,tiltY: tiltY_result,sourceTool: sourceTool_result,deviceId: deviceId_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,preventDefault: preventDefault_result} as ClickEvent) - return value + let ptr : KPointer = valueDeserializer.readPointer() + return ClickEventInternal.fromPtr(ptr) } readCallback_RangeUpdate(isSync: boolean = false): Callback_RangeUpdate { const _resource : CallbackResource = this.readCallbackResource() @@ -11884,12 +11890,6 @@ export class Deserializer extends DeserializerBase { const _callSync : KPointer = this.readPointer() return (value: number, mode: SliderChangeMode):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeNumber(value); _argsSerializer.writeInt32((mode.valueOf() as int32)); (isSync) ? (InteropNativeModule._CallCallbackSync(711649376, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(711649376, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readScrollOnScrollCallback(isSync: boolean = false): ScrollOnScrollCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (xOffset: number, yOffset: number, scrollState: ScrollState):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeNumber(xOffset); _argsSerializer.writeNumber(yOffset); _argsSerializer.writeInt32((scrollState.valueOf() as int32)); (isSync) ? (InteropNativeModule._CallCallbackSync(-1265626662, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1265626662, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } - } readPageTransitionCallback(isSync: boolean = false): PageTransitionCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -11915,12 +11915,6 @@ export class Deserializer extends DeserializerBase { const _callSync : KPointer = this.readPointer() return (options: IsolatedOptions):IsolatedComponentAttribute => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeIsolatedOptions(options); let _continuationValue : IsolatedComponentAttribute | undefined; const _continuationCallback : ((value: IsolatedComponentAttribute) => void) = (value: IsolatedComponentAttribute):void => { _continuationValue = value; }; _argsSerializer.holdAndWriteCallback(_continuationCallback); (isSync) ? (InteropNativeModule._CallCallbackSync(2139680213, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(2139680213, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return (_continuationValue as IsolatedComponentAttribute); } } - readHoverCallback(isSync: boolean = false): HoverCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (isHover: boolean, event: HoverEvent):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeBoolean(isHover); _argsSerializer.writeHoverEvent(event); (isSync) ? (InteropNativeModule._CallCallbackSync(68560477, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(68560477, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } - } readWithThemeAttribute(): WithThemeAttribute { let value : WithThemeAttribute = ({} as WithThemeAttribute) return value @@ -12072,17 +12066,17 @@ export class Deserializer extends DeserializerBase { const _callSync : KPointer = this.readPointer() return (value: GestureJudgeResult):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeInt32((value.valueOf() as int32)); (isSync) ? (InteropNativeModule._CallCallbackSync(-684588584, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-684588584, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_ComputedBarAttribute_Void(isSync: boolean = false): ((value: ComputedBarAttribute) => void) { + readCallback_CustomBuilder_Void(isSync: boolean = false): ((value: CustomBuilder) => void) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() - return (value: ComputedBarAttribute):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeComputedBarAttribute(value); (isSync) ? (InteropNativeModule._CallCallbackSync(-1270343661, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1270343661, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + return (value: CustomBuilder):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value)); (isSync) ? (InteropNativeModule._CallCallbackSync(-721106019, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-721106019, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_Callback_Any_Void(isSync: boolean = false): ((value: (() => object)) => void) { + 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 (value: (() => object)):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.holdAndWriteCallback(value); (isSync) ? (InteropNativeModule._CallCallbackSync(1931725935, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1931725935, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + return (value: ComputedBarAttribute):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeComputedBarAttribute(value); (isSync) ? (InteropNativeModule._CallCallbackSync(-1270343661, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1270343661, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } } readCallback_Array_String_Void(isSync: boolean = false): ((value: Array) => void) { const _resource : CallbackResource = this.readCallbackResource() @@ -12474,7 +12468,7 @@ export class Deserializer extends DeserializerBase { let touchEvent_buf : TouchEvent | undefined if ((RuntimeType.UNDEFINED) != (touchEvent_buf_runtimeType)) { - touchEvent_buf = valueDeserializer.readTouchEvent() + touchEvent_buf = (valueDeserializer.readTouchEvent() as TouchEvent) } const touchEvent_result : TouchEvent | undefined = touchEvent_buf const result_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -13000,11 +12994,11 @@ export class Deserializer extends DeserializerBase { const _callSync : KPointer = this.readPointer() return (parameter: OnResourceLoadEvent):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeOnResourceLoadEvent(parameter); (isSync) ? (InteropNativeModule._CallCallbackSync(793995118, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(793995118, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_Literal_Function_callback_Object_fileSelector_Void(isSync: boolean = false): ((event?: Literal_Function_callback_Object_fileSelector) => void) { + 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() - return (event?: Literal_Function_callback_Object_fileSelector | undefined):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); let event_type : int32 = RuntimeType.UNDEFINED; event_type = runtimeType(event); _argsSerializer.writeInt8(event_type as int32); if ((RuntimeType.UNDEFINED) != (event_type)) {; const event_value = event!; const event_value_callback = event_value.callback; _argsSerializer.writeFunction(event_value_callback); const event_value_fileSelector = event_value.fileSelector; _argsSerializer.writeCustomObject("Object", event_value_fileSelector); } (isSync) ? (InteropNativeModule._CallCallbackSync(1754134729, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1754134729, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + return (event?: Literal_Function_callback__Object_fileSelector | undefined):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); let event_type : int32 = RuntimeType.UNDEFINED; event_type = runtimeType(event); _argsSerializer.writeInt8(event_type as int32); if ((RuntimeType.UNDEFINED) != (event_type)) {; const event_value = event!; const event_value_callback_ = event_value.callback_; _argsSerializer.writeFunction(event_value_callback_); const event_value_fileSelector = event_value.fileSelector; _argsSerializer.writeCustomObject("Object", event_value_fileSelector); } (isSync) ? (InteropNativeModule._CallCallbackSync(1962174977, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1962174977, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } } readCallback_Literal_Object_detail_Boolean(isSync: boolean = false): ((event?: Literal_Object_detail) => boolean) { const _resource : CallbackResource = this.readCallbackResource() @@ -13255,7 +13249,7 @@ export class Deserializer extends DeserializerBase { } readJavaScriptProxy(): JavaScriptProxy { let valueDeserializer : Deserializer = this - const object_result : Object = (valueDeserializer.readCustomObject("Object") as Object) + const object__result : Object = (valueDeserializer.readCustomObject("Object") as Object) const name_result : string = (valueDeserializer.readString() as string) const methodList_buf_length : int32 = valueDeserializer.readInt32() let methodList_buf : Array = new Array() @@ -13294,7 +13288,7 @@ export class Deserializer extends DeserializerBase { 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) + 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 } readWebOptions(): WebOptions { @@ -14898,9 +14892,8 @@ export class Deserializer extends DeserializerBase { } readSubmitEvent(): SubmitEvent { let valueDeserializer : Deserializer = this - const text_result : string = (valueDeserializer.readString() as string) - let value : SubmitEvent = ({text: text_result} as SubmitEvent) - return value + let ptr : KPointer = valueDeserializer.readPointer() + return SubmitEventInternal.fromPtr(ptr) } readSubmitCallback(isSync: boolean = false): SubmitCallback { const _resource : CallbackResource = this.readCallbackResource() @@ -15091,53 +15084,8 @@ export class Deserializer extends DeserializerBase { } readGestureEvent(): GestureEvent { let valueDeserializer : Deserializer = this - const target_result : EventTarget = valueDeserializer.readEventTarget() - const timestamp_result : number = (valueDeserializer.readNumber() as number) - const source_result : SourceType = (valueDeserializer.readInt32() as SourceType) - const axisHorizontal_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisHorizontal_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf = (valueDeserializer.readNumber() as number) - } - const axisHorizontal_result : number | undefined = axisHorizontal_buf - const axisVertical_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisVertical_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf = (valueDeserializer.readNumber() as number) - } - const axisVertical_result : number | undefined = axisVertical_buf - const pressure_result : number = (valueDeserializer.readNumber() as number) - const tiltX_result : number = (valueDeserializer.readNumber() as number) - const tiltY_result : number = (valueDeserializer.readNumber() as number) - const sourceTool_result : SourceTool = (valueDeserializer.readInt32() as SourceTool) - const deviceId_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let deviceId_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf = (valueDeserializer.readNumber() as number) - } - const deviceId_result : number | undefined = deviceId_buf - const repeat_result : boolean = valueDeserializer.readBoolean() - const fingerList_buf_length : int32 = valueDeserializer.readInt32() - let fingerList_buf : Array = new Array() - for (let fingerList_buf_i = 0; fingerList_buf_i < fingerList_buf_length; fingerList_buf_i++) { - fingerList_buf[fingerList_buf_i] = valueDeserializer.readFingerInfo() - } - const fingerList_result : Array = fingerList_buf - const offsetX_result : number = (valueDeserializer.readNumber() as number) - const offsetY_result : number = (valueDeserializer.readNumber() as number) - const angle_result : number = (valueDeserializer.readNumber() as number) - const speed_result : number = (valueDeserializer.readNumber() as number) - const scale_result : number = (valueDeserializer.readNumber() as number) - const pinchCenterX_result : number = (valueDeserializer.readNumber() as number) - const pinchCenterY_result : number = (valueDeserializer.readNumber() as number) - const velocityX_result : number = (valueDeserializer.readNumber() as number) - const velocityY_result : number = (valueDeserializer.readNumber() as number) - const velocity_result : number = (valueDeserializer.readNumber() as number) - let value : GestureEvent = ({target: target_result,timestamp: timestamp_result,source: source_result,axisHorizontal: axisHorizontal_result,axisVertical: axisVertical_result,pressure: pressure_result,tiltX: tiltX_result,tiltY: tiltY_result,sourceTool: sourceTool_result,deviceId: deviceId_result,repeat: repeat_result,fingerList: fingerList_result,offsetX: offsetX_result,offsetY: offsetY_result,angle: angle_result,speed: speed_result,scale: scale_result,pinchCenterX: pinchCenterX_result,pinchCenterY: pinchCenterY_result,velocityX: velocityX_result,velocityY: velocityY_result,velocity: velocity_result} as GestureEvent) - return value + let ptr : KPointer = valueDeserializer.readPointer() + return GestureEventInternal.fromPtr(ptr) } readLocalizedBarrierStyle(): LocalizedBarrierStyle { let valueDeserializer : Deserializer = this @@ -15446,6 +15394,13 @@ export class Deserializer extends DeserializerBase { let value : PolylineOptions = ({width: width_result,height: height_result} as PolylineOptions) return value } + readPoint(): Point { + let valueDeserializer : Deserializer = this + const x_result : number = (valueDeserializer.readNumber() as number) + const y_result : number = (valueDeserializer.readNumber() as number) + let value : Point = ({x: x_result,y: y_result} as Point) + return value + } readPolygonOptions(): PolygonOptions { let valueDeserializer : Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -15503,7 +15458,7 @@ export class Deserializer extends DeserializerBase { readPluginComponentOptions(): PluginComponentOptions { let valueDeserializer : Deserializer = this const template_result : PluginComponentTemplate = valueDeserializer.readPluginComponentTemplate() - const data_result : object = (valueDeserializer.readCustomObject("Any") as Object) + const data_result : string = (valueDeserializer.readString() as string) let value : PluginComponentOptions = ({template: template_result,data: data_result} as PluginComponentOptions) return value } @@ -16568,12 +16523,6 @@ export class Deserializer extends DeserializerBase { const _callSync : KPointer = this.readPointer() return (event: ItemDragInfo):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeItemDragInfo(event); (isSync) ? (InteropNativeModule._CallCallbackSync(137353252, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(137353252, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_Any(isSync: boolean = false): (() => object) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return ():object => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); let _continuationValue : object | undefined; const _continuationCallback : ((info: object) => void) = (value: object):void => { _continuationValue = value; }; _argsSerializer.holdAndWriteCallback(_continuationCallback); (isSync) ? (InteropNativeModule._CallCallbackSync(-2139018190, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-2139018190, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return (_continuationValue as object); } - } readItemDragInfo(): ItemDragInfo { let valueDeserializer : Deserializer = this const x_result : number = (valueDeserializer.readNumber() as number) @@ -16581,17 +16530,11 @@ export class Deserializer extends DeserializerBase { let value : ItemDragInfo = ({x: x_result,y: y_result} as ItemDragInfo) return value } - readCallback_ItemDragInfo_Number_Callback_Any(isSync: boolean = false): ((event: ItemDragInfo,itemIndex: number) => (() => object)) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (event: ItemDragInfo, itemIndex: number) => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeItemDragInfo(event); _argsSerializer.writeNumber(itemIndex); let _continuationValue : (() => object) | undefined; const _continuationCallback : ((value: (() => object)) => void) = (value: (() => object)):void => { _continuationValue = value; }; _argsSerializer.holdAndWriteCallback(_continuationCallback); (isSync) ? (InteropNativeModule._CallCallbackSync(464274540, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(464274540, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return (_continuationValue as (() => object)); } - } - readCallback_Number_Number_Void(isSync: boolean = false): ((first: number,last: number) => void) { + readCallback_ItemDragInfo_Number_CustomBuilder(isSync: boolean = false): ((event: ItemDragInfo,itemIndex: number) => CustomBuilder) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() const _callSync : KPointer = this.readPointer() - return (first: number, last: number):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeNumber(first); _argsSerializer.writeNumber(last); (isSync) ? (InteropNativeModule._CallCallbackSync(1894574320, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1894574320, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + return (event: ItemDragInfo, itemIndex: number) => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeItemDragInfo(event); _argsSerializer.writeNumber(itemIndex); let _continuationValue : CustomBuilder | undefined; const _continuationCallback : ((value: CustomBuilder) => void) = (value: CustomBuilder):void => { _continuationValue = value; }; _argsSerializer.holdAndWriteCallback(_continuationCallback); (isSync) ? (InteropNativeModule._CallCallbackSync(2071721246, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(2071721246, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return (_continuationValue as CustomBuilder); } } readComputedBarAttribute(): ComputedBarAttribute { let valueDeserializer : Deserializer = this @@ -17715,11 +17658,11 @@ export class Deserializer extends DeserializerBase { let value : OffsetResult = ({xOffset: xOffset_result,yOffset: yOffset_result} as OffsetResult) return value } - readCallback_Number_ScrollState_Void(isSync: boolean = false): ((scrollOffset: number,scrollState: ScrollState) => void) { + 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() - return (scrollOffset: number, scrollState: ScrollState):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeNumber(scrollOffset); _argsSerializer.writeInt32((scrollState.valueOf() as int32)); (isSync) ? (InteropNativeModule._CallCallbackSync(-1844695159, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1844695159, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + return (first: number, last: number):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeNumber(first); _argsSerializer.writeNumber(last); (isSync) ? (InteropNativeModule._CallCallbackSync(1894574320, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1894574320, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } } readSpringBackAction(): SpringBackAction { let valueDeserializer : Deserializer = this @@ -17804,12 +17747,6 @@ export class Deserializer extends DeserializerBase { let value : DismissPopupAction = ({dismiss: dismiss_result,reason: reason_result} as DismissPopupAction) return value } - readSizeChangeCallback(isSync: boolean = false): SizeChangeCallback { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (oldValue: SizeOptions, newValue: SizeOptions):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeSizeOptions(oldValue); _argsSerializer.writeSizeOptions(newValue); (isSync) ? (InteropNativeModule._CallCallbackSync(-1716637992, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1716637992, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } - } readCallback_TouchEvent_HitTestMode(isSync: boolean = false): ((parameter: TouchEvent) => HitTestMode) { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -17841,42 +17778,8 @@ export class Deserializer extends DeserializerBase { } readBaseGestureEvent(): BaseGestureEvent { let valueDeserializer : Deserializer = this - const target_result : EventTarget = valueDeserializer.readEventTarget() - const timestamp_result : number = (valueDeserializer.readNumber() as number) - const source_result : SourceType = (valueDeserializer.readInt32() as SourceType) - const axisHorizontal_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisHorizontal_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf = (valueDeserializer.readNumber() as number) - } - const axisHorizontal_result : number | undefined = axisHorizontal_buf - const axisVertical_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisVertical_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf = (valueDeserializer.readNumber() as number) - } - const axisVertical_result : number | undefined = axisVertical_buf - const pressure_result : number = (valueDeserializer.readNumber() as number) - const tiltX_result : number = (valueDeserializer.readNumber() as number) - const tiltY_result : number = (valueDeserializer.readNumber() as number) - const sourceTool_result : SourceTool = (valueDeserializer.readInt32() as SourceTool) - const deviceId_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let deviceId_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf = (valueDeserializer.readNumber() as number) - } - const deviceId_result : number | undefined = deviceId_buf - const fingerList_buf_length : int32 = valueDeserializer.readInt32() - let fingerList_buf : Array = new Array() - for (let fingerList_buf_i = 0; fingerList_buf_i < fingerList_buf_length; fingerList_buf_i++) { - fingerList_buf[fingerList_buf_i] = valueDeserializer.readFingerInfo() - } - const fingerList_result : Array = fingerList_buf - let value : BaseGestureEvent = ({target: target_result,timestamp: timestamp_result,source: source_result,axisHorizontal: axisHorizontal_result,axisVertical: axisVertical_result,pressure: pressure_result,tiltX: tiltX_result,tiltY: tiltY_result,sourceTool: sourceTool_result,deviceId: deviceId_result,fingerList: fingerList_result} as BaseGestureEvent) - return value + let ptr : KPointer = valueDeserializer.readPointer() + return BaseGestureEventInternal.fromPtr(ptr) } readGestureInfo(): GestureInfo { let valueDeserializer : Deserializer = this @@ -18010,10 +17913,8 @@ export class Deserializer extends DeserializerBase { } readDragEvent(): DragEvent { let valueDeserializer : Deserializer = this - const dragBehavior_result : DragBehavior = (valueDeserializer.readInt32() as DragBehavior) - const useCustomDropAnimation_result : boolean = valueDeserializer.readBoolean() - let value : DragEvent = ({dragBehavior: dragBehavior_result,useCustomDropAnimation: useCustomDropAnimation_result} as DragEvent) - return value + let ptr : KPointer = valueDeserializer.readPointer() + return DragEventInternal.fromPtr(ptr) } readCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(isSync: boolean = false): ((event: DragEvent,extraParams?: string) => CustomBuilder | DragItemInfo) { const _resource : CallbackResource = this.readCallbackResource() @@ -18188,141 +18089,18 @@ export class Deserializer extends DeserializerBase { } readKeyEvent(): KeyEvent { let valueDeserializer : Deserializer = this - const type_result : KeyType = (valueDeserializer.readInt32() as KeyType) - const keyCode_result : number = (valueDeserializer.readNumber() as number) - const keyText_result : string = (valueDeserializer.readString() as string) - const keySource_result : KeySource = (valueDeserializer.readInt32() as KeySource) - const deviceId_result : number = (valueDeserializer.readNumber() as number) - const metaKey_result : number = (valueDeserializer.readNumber() as number) - const timestamp_result : number = (valueDeserializer.readNumber() as number) - const stopPropagation_result : (() => void) = valueDeserializer.readCallback_Void() - const intentionCode_result : IntentionCode = valueDeserializer.readIntentionCode() - const unicode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let unicode_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (unicode_buf_runtimeType)) - { - unicode_buf = (valueDeserializer.readNumber() as number) - } - const unicode_result : number | undefined = unicode_buf - let value : KeyEvent = ({type: type_result,keyCode: keyCode_result,keyText: keyText_result,keySource: keySource_result,deviceId: deviceId_result,metaKey: metaKey_result,timestamp: timestamp_result,stopPropagation: stopPropagation_result,intentionCode: intentionCode_result,unicode: unicode_result} as KeyEvent) - return value - } - readCallback_KeyEvent_Void(isSync: boolean = false): ((event: KeyEvent) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (event: KeyEvent):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeKeyEvent(event); (isSync) ? (InteropNativeModule._CallCallbackSync(707696468, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(707696468, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } - } - readTouchObject(): TouchObject { - let valueDeserializer : Deserializer = this - const type_result : TouchType = (valueDeserializer.readInt32() as TouchType) - const id_result : number = (valueDeserializer.readNumber() as number) - const displayX_result : number = (valueDeserializer.readNumber() as number) - const displayY_result : number = (valueDeserializer.readNumber() as number) - const windowX_result : number = (valueDeserializer.readNumber() as number) - const windowY_result : number = (valueDeserializer.readNumber() as number) - const screenX_result : number = (valueDeserializer.readNumber() as number) - 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) - return value - } - readCallback_TouchEvent_Void(isSync: boolean = false): ((event: TouchEvent) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (event: TouchEvent):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeTouchEvent(event); (isSync) ? (InteropNativeModule._CallCallbackSync(-1676021850, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1676021850, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + let ptr : KPointer = valueDeserializer.readPointer() + return KeyEventInternal.fromPtr(ptr) } readMouseEvent(): MouseEvent { let valueDeserializer : Deserializer = this - const target_result : EventTarget = valueDeserializer.readEventTarget() - const timestamp_result : number = (valueDeserializer.readNumber() as number) - const source_result : SourceType = (valueDeserializer.readInt32() as SourceType) - const axisHorizontal_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisHorizontal_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf = (valueDeserializer.readNumber() as number) - } - const axisHorizontal_result : number | undefined = axisHorizontal_buf - const axisVertical_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisVertical_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf = (valueDeserializer.readNumber() as number) - } - const axisVertical_result : number | undefined = axisVertical_buf - const pressure_result : number = (valueDeserializer.readNumber() as number) - const tiltX_result : number = (valueDeserializer.readNumber() as number) - const tiltY_result : number = (valueDeserializer.readNumber() as number) - const sourceTool_result : SourceTool = (valueDeserializer.readInt32() as SourceTool) - const deviceId_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let deviceId_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf = (valueDeserializer.readNumber() as number) - } - const deviceId_result : number | undefined = deviceId_buf - const button_result : MouseButton = (valueDeserializer.readInt32() as MouseButton) - const action_result : MouseAction = (valueDeserializer.readInt32() as MouseAction) - const displayX_result : number = (valueDeserializer.readNumber() as number) - const displayY_result : number = (valueDeserializer.readNumber() as number) - const windowX_result : number = (valueDeserializer.readNumber() as number) - const windowY_result : number = (valueDeserializer.readNumber() as number) - const screenX_result : number = (valueDeserializer.readNumber() as number) - const screenY_result : number = (valueDeserializer.readNumber() as number) - const x_result : number = (valueDeserializer.readNumber() as number) - const y_result : number = (valueDeserializer.readNumber() as number) - const stopPropagation_result : (() => void) = valueDeserializer.readCallback_Void() - let value : MouseEvent = ({target: target_result,timestamp: timestamp_result,source: source_result,axisHorizontal: axisHorizontal_result,axisVertical: axisVertical_result,pressure: pressure_result,tiltX: tiltX_result,tiltY: tiltY_result,sourceTool: sourceTool_result,deviceId: deviceId_result,button: button_result,action: action_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,stopPropagation: stopPropagation_result} as MouseEvent) - return value - } - readCallback_MouseEvent_Void(isSync: boolean = false): ((event: MouseEvent) => void) { - const _resource : CallbackResource = this.readCallbackResource() - const _call : KPointer = this.readPointer() - const _callSync : KPointer = this.readPointer() - return (event: MouseEvent):void => { const _argsSerializer : Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeMouseEvent(event); (isSync) ? (InteropNativeModule._CallCallbackSync(-1382640094, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1382640094, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + let ptr : KPointer = valueDeserializer.readPointer() + return MouseEventInternal.fromPtr(ptr) } readAccessibilityHoverEvent(): AccessibilityHoverEvent { let valueDeserializer : Deserializer = this - const target_result : EventTarget = valueDeserializer.readEventTarget() - const timestamp_result : number = (valueDeserializer.readNumber() as number) - const source_result : SourceType = (valueDeserializer.readInt32() as SourceType) - const axisHorizontal_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisHorizontal_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf = (valueDeserializer.readNumber() as number) - } - const axisHorizontal_result : number | undefined = axisHorizontal_buf - const axisVertical_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisVertical_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf = (valueDeserializer.readNumber() as number) - } - const axisVertical_result : number | undefined = axisVertical_buf - const pressure_result : number = (valueDeserializer.readNumber() as number) - const tiltX_result : number = (valueDeserializer.readNumber() as number) - const tiltY_result : number = (valueDeserializer.readNumber() as number) - const sourceTool_result : SourceTool = (valueDeserializer.readInt32() as SourceTool) - const deviceId_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let deviceId_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf = (valueDeserializer.readNumber() as number) - } - const deviceId_result : number | undefined = deviceId_buf - const type_result : AccessibilityHoverType = (valueDeserializer.readInt32() as AccessibilityHoverType) - const x_result : number = (valueDeserializer.readNumber() as number) - const y_result : number = (valueDeserializer.readNumber() as number) - const displayX_result : number = (valueDeserializer.readNumber() as number) - const displayY_result : number = (valueDeserializer.readNumber() as number) - const windowX_result : number = (valueDeserializer.readNumber() as number) - const windowY_result : number = (valueDeserializer.readNumber() as number) - let value : AccessibilityHoverEvent = ({target: target_result,timestamp: timestamp_result,source: source_result,axisHorizontal: axisHorizontal_result,axisVertical: axisVertical_result,pressure: pressure_result,tiltX: tiltX_result,tiltY: tiltY_result,sourceTool: sourceTool_result,deviceId: deviceId_result,type: type_result,x: x_result,y: y_result,displayX: displayX_result,displayY: displayY_result,windowX: windowX_result,windowY: windowY_result} as AccessibilityHoverEvent) - return value + let ptr : KPointer = valueDeserializer.readPointer() + return AccessibilityHoverEventInternal.fromPtr(ptr) } readAccessibilityCallback(isSync: boolean = false): AccessibilityCallback { const _resource : CallbackResource = this.readCallbackResource() @@ -18332,37 +18110,8 @@ export class Deserializer extends DeserializerBase { } readHoverEvent(): HoverEvent { let valueDeserializer : Deserializer = this - const target_result : EventTarget = valueDeserializer.readEventTarget() - const timestamp_result : number = (valueDeserializer.readNumber() as number) - const source_result : SourceType = (valueDeserializer.readInt32() as SourceType) - const axisHorizontal_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisHorizontal_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf = (valueDeserializer.readNumber() as number) - } - const axisHorizontal_result : number | undefined = axisHorizontal_buf - const axisVertical_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisVertical_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf = (valueDeserializer.readNumber() as number) - } - const axisVertical_result : number | undefined = axisVertical_buf - const pressure_result : number = (valueDeserializer.readNumber() as number) - const tiltX_result : number = (valueDeserializer.readNumber() as number) - const tiltY_result : number = (valueDeserializer.readNumber() as number) - const sourceTool_result : SourceTool = (valueDeserializer.readInt32() as SourceTool) - const deviceId_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let deviceId_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf = (valueDeserializer.readNumber() as number) - } - const deviceId_result : number | undefined = deviceId_buf - const stopPropagation_result : (() => void) = valueDeserializer.readCallback_Void() - let value : HoverEvent = ({target: target_result,timestamp: timestamp_result,source: source_result,axisHorizontal: axisHorizontal_result,axisVertical: axisVertical_result,pressure: pressure_result,tiltX: tiltX_result,tiltY: tiltY_result,sourceTool: sourceTool_result,deviceId: deviceId_result,stopPropagation: stopPropagation_result} as HoverEvent) - return value + let ptr : KPointer = valueDeserializer.readPointer() + return HoverEventInternal.fromPtr(ptr) } readCallback_Boolean_HoverEvent_Void(isSync: boolean = false): ((isHover: boolean,event: HoverEvent) => void) { const _resource : CallbackResource = this.readCallbackResource() @@ -19486,6 +19235,21 @@ export class Deserializer extends DeserializerBase { let value : ConstraintSizeOptions = ({minWidth: minWidth_result,maxWidth: maxWidth_result,minHeight: minHeight_result,maxHeight: maxHeight_result} as ConstraintSizeOptions) return value } + readTouchObject(): TouchObject { + let valueDeserializer : Deserializer = this + const type_result : TouchType = (valueDeserializer.readInt32() as TouchType) + const id_result : number = (valueDeserializer.readNumber() as number) + const displayX_result : number = (valueDeserializer.readNumber() as number) + const displayY_result : number = (valueDeserializer.readNumber() as number) + const windowX_result : number = (valueDeserializer.readNumber() as number) + const windowY_result : number = (valueDeserializer.readNumber() as number) + const screenX_result : number = (valueDeserializer.readNumber() as number) + 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) + return value + } readPointLightStyle(): PointLightStyle { let valueDeserializer : Deserializer = this const lightSource_buf_runtimeType = (valueDeserializer.readInt8() as int32) diff --git a/arkoala-arkts/arkui/src/generated/peers/Serializer.ts b/arkoala-arkts/arkui/src/generated/peers/Serializer.ts index bce52ed5b..6983df988 100644 --- a/arkoala-arkts/arkui/src/generated/peers/Serializer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/Serializer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -15,54 +15,56 @@ import { SerializerBase, Tags, RuntimeType, runtimeType, isResource, isInstanceOf } from "./SerializerBase" import { int32, float32, int64 } from "@koalaui/common" +import { unsafeCast } from "./../shared/generated-utils" import { MaterializedBase } from "./../MaterializedBase" import { nullptr, KPointer } from "@koalaui/interop" import { TypeChecker } from "#components" import { KUint8ArrayPtr, NativeBuffer, InteropNativeModule } from "@koalaui/interop" import { CallbackTransformer } from "./CallbackTransformer" -import { AccessibilityCallback, CustomBuilder, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, ShadowType, SymbolGlyphModifier, ShadowOptions, SheetSize, DrawContext, ShadowStyle, ComponentContent, ClickEvent, SheetTitleOptions, TransitionEffects, TranslateOptions, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, MenuPreviewMode, DismissPopupAction, DragPreviewMode, OutlineStyle, SourceTool, SourceType, EventTarget, HoverModeAreaType, BlurStyle, Rectangle, PickerTextStyle, PickerDialogButtonStyle, MenuPolicy, BlurStyleActivePolicy, BlurOptions, AdaptiveColor, ThemeColorMode, CommonShapeMethod, LinearGradient_common, ExpectedFrameRateRange, FinishCallbackType, SheetKeyboardAvoidMode, UIContext, SheetType, ScrollSizeMode, SheetMode, SpringBackAction, DismissSheetAction, SheetDismiss, DismissContentCoverAction, ModalTransition, ContextMenuAnimationOptions, AnimationRange, PopupMessageOptions, TransitionHierarchyStrategy, OverlayOffset, ImageModifier, MotionPathOptions, RectResult, TouchEvent, BaseEvent, TouchObject, HistoricalPoint, NestedScrollOptions, InputCounterOptions, SelectionOptions, BackgroundBlurStyleOptions, BlurStyleOptions, EdgeEffectOptions, KeyboardAvoidMode, UIGestureEvent, FadingEdgeOptions, RectShape, ContentClipMode, DismissReason, SheetOptions, BindOptions, ContentCoverOptions, ContextMenuOptions, MenuOptions, CustomPopupOptions, PopupOptions, GeometryTransitionOptions, BlendApplyType, Blender, BlendMode, OverlayOptions, DragInteractionOptions, DragPreviewOptions, ChainStyle, sharedTransitionOptions, EffectType, LinearGradientBlurOptions, FractionStop, ForegroundBlurStyleOptions, PathShape, EllipseShape, CircleShape, DragItemInfo, DragBehavior, ClickEffect, LocalizedVerticalAlignParam, LocalizedHorizontalAlignParam, InvertOptions, MotionBlurAnchor, TransitionOptions, IntentionCode, RepeatMode, TouchTestStrategy, LightSource, HoverEvent, TouchResult, CommonMethod, TextDecorationOptions, LayoutSafeAreaEdge, LayoutSafeAreaType, ItemDragInfo, MultiShadowOptions, MenuElement, SafeAreaEdge, SafeAreaType, BackgroundBrightnessOptions, PixelStretchEffectOptions, StateStyles, PreDragStatus, UniformDataType, DragEvent, Summary, DragResult, LocalizedAlignRuleOptions, AlignRuleOption, MotionBlurOptions, KeyEvent, MouseEvent, AccessibilityHoverEvent, BorderImageOption, Filter, VisualEffect, ForegroundEffectOptions, BackgroundEffectOptions, PixelRoundPolicy, TouchTestInfo, PointLightStyle } from "./../ArkCommonInterfaces" +import { AccessibilityCallback, CustomBuilder, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback, ShadowType, SymbolGlyphModifier, ShadowOptions, SheetSize, DrawContext, ShadowStyle, ComponentContent, SheetTitleOptions, TransitionEffects, TranslateOptions, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam, MenuPreviewMode, DismissPopupAction, DragPreviewMode, OutlineStyle, SourceTool, SourceType, EventTarget, HoverModeAreaType, BlurStyle, Rectangle, PickerTextStyle, PickerDialogButtonStyle, MenuPolicy, BlurStyleActivePolicy, BlurOptions, AdaptiveColor, ThemeColorMode, CommonShapeMethod, LinearGradient_common, ExpectedFrameRateRange, FinishCallbackType, SheetKeyboardAvoidMode, UIContext, SheetType, ScrollSizeMode, SheetMode, SpringBackAction, DismissSheetAction, SheetDismiss, DismissContentCoverAction, ModalTransition, ContextMenuAnimationOptions, AnimationRange, PopupMessageOptions, TransitionHierarchyStrategy, OverlayOffset, ImageModifier, MotionPathOptions, RectResult, TouchObject, HistoricalPoint, NestedScrollOptions, InputCounterOptions, SelectionOptions, BackgroundBlurStyleOptions, BlurStyleOptions, EdgeEffectOptions, KeyboardAvoidMode, UIGestureEvent, VisibleAreaEventOptions, FadingEdgeOptions, RectShape, ContentClipMode, DismissReason, SheetOptions, BindOptions, ContentCoverOptions, ContextMenuOptions, MenuOptions, CustomPopupOptions, PopupOptions, GeometryTransitionOptions, BlendApplyType, Blender, BlendMode, OverlayOptions, DragInteractionOptions, DragPreviewOptions, ChainStyle, sharedTransitionOptions, EffectType, LinearGradientBlurOptions, FractionStop, ForegroundBlurStyleOptions, PathShape, EllipseShape, CircleShape, DragItemInfo, DragBehavior, ClickEffect, LocalizedVerticalAlignParam, LocalizedHorizontalAlignParam, InvertOptions, MotionBlurAnchor, TransitionOptions, IntentionCode, RepeatMode, TouchTestStrategy, DragResult, LightSource, TouchResult, CommonMethod, TextDecorationOptions, ItemDragInfo, MultiShadowOptions, MenuElement, BackgroundBrightnessOptions, PixelStretchEffectOptions, StateStyles, PreDragStatus, UniformDataType, Summary, LocalizedAlignRuleOptions, AlignRuleOption, MotionBlurOptions, BorderImageOption, Filter, VisualEffect, ForegroundEffectOptions, BackgroundEffectOptions, PixelRoundPolicy, TouchTestInfo, LayoutSafeAreaEdge, LayoutSafeAreaType, SafeAreaEdge, SafeAreaType, PointLightStyle } from "./../ArkCommonInterfaces" import { ButtonTriggerClickCallback, ButtonRole, ButtonStyleMode, ButtonType, LabelStyle, ControlSize, ButtonOptions } from "./../ArkButtonInterfaces" import { Callback_RangeUpdate, PointerStyle } from "./../ArkArkui-customInterfaces" -import { ContentDidScrollCallback, OnSwiperAnimationEndCallback, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback, IndicatorStyle, SwiperAutoFill, ArrowStyle, SwiperContentAnimatedTransition, SwiperNestedScrollMode, SwiperAnimationEvent, SwiperDisplayMode } from "./../ArkSwiperInterfaces" +import { ContentDidScrollCallback, OnSwiperAnimationEndCallback, OnSwiperAnimationStartCallback, OnSwiperGestureSwipeCallback, IndicatorStyle, SwiperAutoFill, ArrowStyle, SwiperContentAnimatedTransition, SwiperAnimationEvent, SwiperNestedScrollMode, SwiperDisplayMode } from "./../ArkSwiperInterfaces" import { EditableTextOnChangeCallback, OnDidChangeCallback, DecorationStyleResult, MenuType, TextRange, StyledStringChangeValue, TextMenuItem, FontSettingOptions, TextDeleteDirection, StyledStringChangedListener, DeleteValue, InsertValue, PreviewText, CaretStyle, TextDataDetectorType, TextDataDetectorConfig } from "./../ArkTextCommonInterfaces" import { GetItemMainSizeByIndex, WaterFlowLayoutMode, SectionOptions, WaterFlowOptions } from "./../ArkWaterFlowInterfaces" import { ImageCompleteCallback, ImageLoadResult } from "./../ArkImageSpanInterfaces" import { ImageErrorCallback, DrawableDescriptor, DrawingColorFilter, ImageContent, DrawingLattice, ResolutionQuality, ImageError, ImageSourceSize, ImageInterpolation, DynamicRangeMode, ImageRenderMode, ResizableOptions } from "./../ArkImageInterfaces" -import { InterceptionModeCallback, InterceptionShowCallback, PopInfo, NavPathInfo, NavigationOptions, NavigationInterception, NavigationMode, NavBar, NavigationOperation, LaunchMode, BarStyle, NavigationAnimatedTransition, NavContentInfo, NavigationToolbarOptions, ToolbarItemStatus, NavigationTitleOptions, SystemBarStyle, NavigationTitleMode, ToolbarItem, NavigationMenuItem } from "./../ArkNavigationInterfaces" +import { InterceptionModeCallback, InterceptionShowCallback, PopInfo, NavPathInfo, NavigationOptions, NavigationInterception, NavigationMode, NavBar, NavigationOperation, LaunchMode, BarStyle, NavigationAnimatedTransition, NavContentInfo, NavigationToolbarOptions, ToolbarItemStatus, NavigationTitleOptions, SystemBarStyle, NavigationTitleMode, NavBarPosition, ToolbarItem, NavigationMenuItem } from "./../ArkNavigationInterfaces" import { IsolatedComponentInterface, RestrictedWorker, IsolatedOptions, IsolatedComponentAttribute, ErrorCallback } from "./../ArkIsolatedComponentInterfaces" import { MenuOnAppearCallback, PasteEventCallback, SubmitCallback, LeadingMarginPlaceholder, RichEditorLayoutStyle, RichEditorImageSpanStyleResult, RichEditorSpanPosition, RichEditorParagraphStyle, RichEditorSymbolSpanStyle, RichEditorTextStyleResult, RichEditorImageSpanStyle, RichEditorTextStyle, RichEditorGesture, KeyboardOptions, SelectionMenuOptions, RichEditorRange, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorImageSpanResult, RichEditorTextSpanResult, RichEditorParagraphResult, RichEditorSelection, RichEditorSpan, PlaceholderStyle, RichEditorResponseType, RichEditorSpanType, RichEditorDeleteDirection, RichEditorSpanStyleOptions, PasteEvent, RichEditorStyledStringOptions, RichEditorOptions, CopyEvent, CutEvent, RichEditorChangeValue, RichEditorDeleteValue, RichEditorInsertValue } from "./../ArkRichEditorInterfaces" -import { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, Header, WebviewController, HitTestType, WebCaptureMode, SelectionMenuOptionsExt, WebResponseType, WebElementType, RenderProcessNotRespondingReason, NativeEmbedInfo, NativeEmbedStatus, NestedScrollOptionsExt, WebNavigationType, SslError, ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType, ScreenCaptureConfig, FileSelectorMode, RenderExitReason, MessageLevel, RenderMode, WebKeyboardOptions, WebKeyboardAvoidMode, AdsBlockedDetails, WebKeyboardCallbackInfo, ViewportFit, ExpandedMenuItemOptions, RenderProcessNotRespondingData, NativeMediaPlayerConfig, NativeEmbedTouchInfo, NativeEmbedVisibilityInfo, NativeEmbedDataInfo, WebLayoutMode, ScriptItem, IntelligentTrackingPreventionDetails, LoadCommittedDetails, ThreatType, OnOverScrollEvent, OnLoadInterceptEvent, LargestContentfulPaint, FirstMeaningfulPaint, OnFirstContentfulPaintEvent, OnAudioStateChangedEvent, OnDataResubmittedEvent, OnPageVisibleEvent, OnFaviconReceivedEvent, OnTouchIconUrlReceivedEvent, OnWindowNewEvent, OnClientAuthenticationEvent, SslErrorEvent, OnSslErrorEventReceiveEvent, OnScrollEvent, OnSearchResultReceiveEvent, OnContextMenuShowEvent, OnScreenCaptureRequestEvent, OnPermissionRequestEvent, OnInterceptRequestEvent, OnHttpAuthRequestEvent, OnScaleChangeEvent, FullScreenEnterEvent, OnResourceLoadEvent, OnShowFileSelectorEvent, OnRenderExitedEvent, OnRefreshAccessedHistoryEvent, OnDownloadStartEvent, OnHttpErrorReceiveEvent, OnErrorReceiveEvent, OnConsoleEvent, OnPromptEvent, OnConfirmEvent, OnBeforeUnloadEvent, OnAlertEvent, OnGeolocationShowEvent, OnTitleReceiveEvent, OnProgressChangeEvent, OnPageBeginEvent, OnPageEndEvent, OverScrollMode, WebMediaOptions, WebDarkMode, CacheMode, JavaScriptProxy, MixedMode, WebOptions } from "./../ArkWebInterfaces" +import { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, Header, WebviewController, HitTestType, WebCaptureMode, SelectionMenuOptionsExt, WebResponseType, WebElementType, RenderProcessNotRespondingReason, NativeEmbedInfo, NativeEmbedStatus, NestedScrollOptionsExt, WebNavigationType, SslError, ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType, ScreenCaptureConfig, FileSelectorMode, RenderExitReason, MessageLevel, RenderMode, WebKeyboardOptions, AdsBlockedDetails, WebKeyboardCallbackInfo, ViewportFit, ExpandedMenuItemOptions, RenderProcessNotRespondingData, NativeMediaPlayerConfig, NativeEmbedTouchInfo, NativeEmbedVisibilityInfo, NativeEmbedDataInfo, ScriptItem, IntelligentTrackingPreventionDetails, LoadCommittedDetails, ThreatType, OnOverScrollEvent, OnLoadInterceptEvent, LargestContentfulPaint, FirstMeaningfulPaint, OnFirstContentfulPaintEvent, OnAudioStateChangedEvent, OnDataResubmittedEvent, OnPageVisibleEvent, OnFaviconReceivedEvent, OnTouchIconUrlReceivedEvent, OnWindowNewEvent, OnClientAuthenticationEvent, SslErrorEvent, OnSslErrorEventReceiveEvent, OnScrollEvent, OnSearchResultReceiveEvent, OnContextMenuShowEvent, OnScreenCaptureRequestEvent, OnPermissionRequestEvent, OnInterceptRequestEvent, OnHttpAuthRequestEvent, OnScaleChangeEvent, FullScreenEnterEvent, OnResourceLoadEvent, OnShowFileSelectorEvent, OnRenderExitedEvent, OnRefreshAccessedHistoryEvent, OnDownloadStartEvent, OnHttpErrorReceiveEvent, OnErrorReceiveEvent, OnConsoleEvent, OnPromptEvent, OnConfirmEvent, OnBeforeUnloadEvent, OnAlertEvent, OnGeolocationShowEvent, OnTitleReceiveEvent, OnProgressChangeEvent, OnPageBeginEvent, OnPageEndEvent, WebMediaOptions, JavaScriptProxy, WebKeyboardAvoidMode, WebOptions, ContextMenuEditStateFlags, ProtectedResourceType, WebLayoutMode, WebDarkMode, OverScrollMode, CacheMode, MixedMode } from "./../ArkWebInterfaces" import { OnAlphabetIndexerPopupSelectCallback, OnAlphabetIndexerRequestPopupDataCallback, OnAlphabetIndexerSelectCallback, IndexerAlign, AlphabetIndexerOptions } from "./../ArkAlphabetIndexerInterfaces" import { OnCheckboxChangeCallback, CheckboxOptions } from "./../ArkCheckboxInterfaces" import { OnCheckboxGroupChangeCallback, SelectStatus, CheckboxGroupResult, CheckboxGroupOptions } from "./../ArkCheckboxgroupInterfaces" -import { OnContentScrollCallback, OnPasteCallback, OnSubmitCallback, OnTextSelectionChangeCallback, UnderlineColor, TextInputStyle, PasswordIcon, EnterKeyType, SubmitEvent, InputType, TextInputOptions } from "./../ArkTextInputInterfaces" +import { OnContentScrollCallback, OnPasteCallback, OnSubmitCallback, OnTextSelectionChangeCallback, UnderlineColor, TextInputStyle, PasswordIcon, EnterKeyType, TextInputOptions, InputType } from "./../ArkTextInputInterfaces" import { OnFoldStatusChangeCallback, OnHoverStatusChangeCallback, WindowStatusType, HoverEventParam, OnFoldStatusChangeInfo, FolderStackOptions } from "./../ArkFolderStackInterfaces" import { OnLinearIndicatorChangeCallback, LinearIndicatorStyle, LinearIndicatorStartOptions } from "./../ArkLinearindicatorInterfaces" import { OnNativeLoadCallback, SurfaceRect, SurfaceRotationOptions, XComponentOptions } from "./../ArkXcomponentInterfaces" import { OnScrollEdgeCallback, OnScrollFrameBeginCallback, ScrollOnScrollCallback, ScrollOnWillScrollCallback, ScrollAnimationOptions, ScrollOptions, ScrollEdgeOptions, ScrollPageOptions, OffsetResult, ScrollAlign, ScrollToIndexOptions, OnScrollFrameBeginHandlerResult, OffsetOptions, ScrollSnapOptions, ScrollDirection } from "./../ArkScrollInterfaces" -import { OnScrollVisibleContentChangeCallback, ScrollSnapAlign, ScrollState, ListDividerOptions, ListItemGroupArea, ChainEdgeEffect, CloseSwipeActionOptions, VisibleListContentInfo, StickyStyle, ChainAnimationOptions, ListItemAlign, ListOptions } from "./../ArkListInterfaces" +import { OnScrollVisibleContentChangeCallback, ScrollSnapAlign, ScrollState, ListDividerOptions, ListItemGroupArea, ChainEdgeEffect, CloseSwipeActionOptions, VisibleListContentInfo, ChainAnimationOptions, ListOptions, StickyStyle, ListItemAlign } from "./../ArkListInterfaces" import { OnTabsAnimationEndCallback, OnTabsAnimationStartCallback, OnTabsContentWillChangeCallback, OnTabsGestureSwipeCallback, TabsCustomContentTransitionCallback, LayoutStyle, DividerStyle, ScrollableBarModeOptions, BarMode, TabContentAnimatedTransition, AnimationMode, BarPosition, BarGridColumnOptions, TabsAnimationEvent, TabsOptions } from "./../ArkTabsInterfaces" -import { PageTransitionCallback, RouteType } from "./../ArkPageTransitionInterfaces" +import { PageTransitionCallback, RouteType, SlideEffect } from "./../ArkPageTransitionInterfaces" import { PluginErrorCallback, PluginComponentTemplate, PluginErrorData, PluginComponentOptions } from "./../ArkPluginComponentInterfaces" -import { SearchSubmitCallback, CancelButtonStyle, IconOptions, SearchButtonOptions, CancelButtonSymbolOptions, CancelButtonOptions, SearchType, SearchOptions } from "./../ArkSearchInterfaces" -import { SliderTriggerChangeCallback, SliderBlockType, SliderStyle, SliderChangeMode, SlideRange, SliderInteraction, SliderBlockStyle, SliderOptions } from "./../ArkSliderInterfaces" +import { SearchSubmitCallback, CancelButtonStyle, IconOptions, SearchButtonOptions, CancelButtonSymbolOptions, CancelButtonOptions, SearchOptions, SearchType } from "./../ArkSearchInterfaces" +import { SliderTriggerChangeCallback, SliderBlockType, SliderStyle, SliderChangeMode, SlideRange, SliderBlockStyle, SliderOptions, SliderInteraction } from "./../ArkSliderInterfaces" import { TextAreaSubmitCallback, ContentType, TextAreaType, TextAreaOptions } from "./../ArkTextAreaInterfaces" import { VoidCallback, Dimension, PX, VP, FP, LPX, Percentage, ResourceColor, BorderRadiuses, Margin, Padding, SizeOptions, Length, Position, Area, Font, LocalizedPadding, LocalizedEdgeColors, LocalizedEdgeWidths, ResourceStr, LocalizedBorderRadiuses, ColorMetrics, Offset, LocalizedEdges, Edges, DividerStyleOptions, LengthMetricsUnit, ColorFilter, AccessibilityOptions, EdgeWidths, EdgeColors, EdgeStyles, Bias, LocalizedPosition, OutlineOptions, EdgeOutlineWidths, OutlineRadiuses, EdgeOutlineStyles, BorderOptions, ChainWeightOptions, ConstraintSizeOptions, MarkStyle } from "./../ArkUnitsInterfaces" import { WithThemeInterface, CustomTheme, WithThemeOptions, WithThemeAttribute } from "./../ArkWithThemeInterfaces" import { LengthUnit, LengthMetrics, TextModifier, Want, RectHeightStyle, RectWidthStyle, NodeController } from "./../ArkArkui-externalInterfaces" import { Resource } from "./../ArkResourceInterfaces" -import { Color, ColoringStrategy, FontWeight, Curve, WordBreak, TextOverflow, TextAlign, ImageFit, ImageSpanAlignment, TextDecorationStyle, TextDecorationType, FontStyle, BorderStyle, TextHeightAdaptivePolicy, LineBreakStrategy, TitleHeight, GradientDirection, DialogButtonStyle, TouchType, NestedScrollMode, VerticalAlign, Axis, PlayMode, Placement, ArrowPointPosition, Alignment, SharedTransitionEffectType, ClickEffectLevel, HorizontalAlign, TransitionType, Edge, XComponentType, TextContentStyle, EdgeEffect, OptionWidthMode, BarState, ScrollSource, ResponseType, AppRotation, FoldStatus, FlexAlign, ItemAlign, FlexWrap, FlexDirection, FunctionKey, ImageRepeat, KeySource, KeyType, MouseAction, MouseButton, AccessibilityHoverType, ImageSize, PixelRoundCalcPolicy, IlluminatedType, HitTestMode, TextSelectableMode, EllipsisMode, TextCase, MarqueeUpdateStrategy, CopyOptions, EmbeddedType, LineJoinStyle, LineCapStyle, ModifierKey, RenderFit, ObscuredReasons, Direction, Visibility, HoverEffect, CheckBoxShape, FillMode, AnimationStatus } from "./../ArkEnumsInterfaces" +import { Color, ColoringStrategy, FontWeight, Curve, WordBreak, TextOverflow, TextAlign, ImageFit, ImageSpanAlignment, TextDecorationStyle, TextDecorationType, FontStyle, BorderStyle, TextHeightAdaptivePolicy, LineBreakStrategy, TitleHeight, GradientDirection, DialogButtonStyle, TouchType, NestedScrollMode, VerticalAlign, Axis, PlayMode, Placement, ArrowPointPosition, Alignment, SharedTransitionEffectType, ClickEffectLevel, HorizontalAlign, TransitionType, Edge, XComponentType, TextContentStyle, EdgeEffect, OptionWidthMode, BarState, ScrollSource, ResponseType, AppRotation, FoldStatus, FlexAlign, ItemAlign, FlexWrap, FlexDirection, FunctionKey, ImageRepeat, KeySource, KeyType, MouseAction, MouseButton, AccessibilityHoverType, ImageSize, PixelRoundCalcPolicy, IlluminatedType, HitTestMode, HeightBreakpoint, WidthBreakpoint, TextSelectableMode, MarqueeUpdateStrategy, EllipsisMode, CopyOptions, TextCase, RelateType, Week, EmbeddedType, LineJoinStyle, LineCapStyle, ModifierKey, RenderFit, ObscuredReasons, Direction, Visibility, HoverEffect, CheckBoxShape, FillMode, AnimationStatus } from "./../ArkEnumsInterfaces" import { PixelMap, PixelMapInternal } from "./../ArkPixelMapMaterialized" -import { Tuple_Dimension_Dimension, Callback_GestureEvent_Void, Callback_ClickEvent_Void, Callback_PopInfo_Void, Callback_SwipeActionState_Void, Callback_Void, CustomNodeBuilder, Callback_DismissPopupAction_Void, Callback_NavigationTransitionProxy_Void, Callback_Boolean_Void, Literal_String_script_Callback_String_Void_callback, Callback_String_Void, Literal_String_baseUrl_data_encoding_historyUrl_mimeType, Literal_Union_String_Resource_url_Array_Header_headers, Literal_Object_object_String_name_Array_String_methodList, Callback_TimePickerResult_Void, Callback_TextPickerResult_Void, Tuple_Number_Number, Callback_TabContentTransitionProxy_Void, Callback_StyledStringChangeValue_Boolean, Tuple_ResourceColor_Number, Callback_Date_Void, Callback_DatePickerResult_Void, Callback_SheetType_Void, Callback_Number_Void, Callback_SpringBackAction_Void, Callback_DismissSheetAction_Void, Callback_SheetDismiss_Void, Callback_DismissContentCoverAction_Void, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_DismissDialogAction_Void, Callback_UIExtensionProxy_Void, Literal_Boolean_next_Axis_direction, Literal_Number_surfaceHeight_surfaceWidth, Callback_Literal_String_plainText_Void, Literal_String_plainText, Callback_SwiperContentTransitionProxy_Void, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number, Callback_Number_Tuple_Number_Number, Type_SheetOptions_detents, Literal_ResourceColor_color, Literal_String_value_Callback_Void_action, Literal_Number_day_month_year, Type_NavigationAttribute_customNavContentTransition_delegate, Callback_WithThemeAttribute_Void, Callback_WebResourceResponse_Void, Callback_WebKeyboardOptions_Void, Callback_Union_CustomBuilder_DragItemInfo_Void, Callback_Tuple_Number_Number_Void, Callback_Tuple_Number_Number_Number_Number_Void, Callback_TouchResult_Void, Callback_T_Any_this, Callback_String_Unknown_Void, Callback_Pointer_Void, Callback_Opt_TabContentAnimatedTransition_Void, Callback_Opt_StyledString_Opt_Array_String_Void, Callback_Opt_NavigationAnimatedTransition_Void, Callback_Opt_Array_String_Void, Callback_OnScrollFrameBeginHandlerResult_Void, Callback_OffsetResult_Void, Callback_NavigationTitleMode_Void, Callback_NavigationMode_Void, Callback_Literal_Number_offsetRemain_Void, Literal_Number_offsetRemain, Callback_IsolatedComponentAttribute_Void, Callback_HitTestMode_Void, Callback_GestureRecognizer_Void, Callback_GestureJudgeResult_Void, Callback_ComputedBarAttribute_Void, Callback_Callback_Any_Void, Callback_Any, Callback_Array_String_Void, Callback_Literal_Number_code_Want_want_Void, Literal_Number_code_Want_want, Callback_NativeEmbedTouchInfo_Void, Callback_NativeEmbedDataInfo_Void, Callback_OnOverScrollEvent_Void, Callback_OnLoadInterceptEvent_Boolean, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnDataResubmittedEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnWindowNewEvent_Void, Callback_OnClientAuthenticationEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSearchResultReceiveEvent_Void, Callback_OnContextMenuShowEvent_Boolean, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnPermissionRequestEvent_Void, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnScaleChangeEvent_Void, Callback_OnResourceLoadEvent_Void, Callback_Literal_Function_callback_Object_fileSelector_Void, Literal_Function_callback_Object_fileSelector, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Callback_OnShowFileSelectorEvent_Boolean, Callback_OnRenderExitedEvent_Void, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, Callback_OnRefreshAccessedHistoryEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnErrorReceiveEvent_Void, Callback_OnConsoleEvent_Boolean, Callback_OnPromptEvent_Boolean, Callback_OnConfirmEvent_Boolean, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnAlertEvent_Boolean, Callback_OnGeolocationShowEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnPageEndEvent_Void, Callback_PlaybackInfo_Void, Callback_PreparedInfo_Void, Callback_FullscreenInfo_Void, Type_TextPickerAttribute_onChange_callback, Callback_String_Number_Void, Callback_String_PasteEvent_Void, Callback_EnterKeyType_Void, Callback_Number_SliderChangeMode_Void, Callback_Number_String_Void, Callback_DeleteValue_Void, Callback_DeleteValue_Boolean, Callback_InsertValue_Void, Callback_InsertValue_Boolean, Callback_ClickEvent_SaveButtonOnClickResult_Void, Callback_CopyEvent_Void, Callback_CutEvent_Void, Callback_RichEditorChangeValue_Boolean, Callback_RichEditorDeleteValue_Boolean, Callback_TextRange_Void, Callback_RichEditorTextSpanResult_Void, Callback_RichEditorInsertValue_Boolean, Callback_RichEditorRange_Void, Callback_RichEditorSelection_Void, Callback_RefreshStatus_Void, Callback_Array_Number_Void, Callback_ClickEvent_PasteButtonOnClickResult_Void, Callback_Number_Number_PanelMode_Void, Callback_NavDestinationContext_Void, Callback_Boolean, Callback_ClickEvent_LocationButtonOnClickResult_Void, Callback_Number_Number_Boolean, Callback_Number_Boolean, Callback_Number_Number_Number_Void, Callback_Type_ImageAttribute_onComplete_callback_event_Void, Type_ImageAttribute_onComplete_callback_event, Callback_Number_ScrollState_Literal_Number_offsetRemain, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Callback_Any, Callback_Number_Number_Void, Callback_Number_Number_ComputedBarAttribute, Callback_Any_Void, Callback_Literal_Number_errcode_String_msg_Void, Literal_Number_errcode_String_msg, Callback_FormCallbackInfo_Void, Callback_TerminationInfo_Void, Callback_Number_ScrollState_Void, Callback_TouchEvent_HitTestMode, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_PreDragStatus_Void, Callback_DragEvent_String_Void, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Callback_Area_Area_Void, Callback_KeyEvent_Boolean, Callback_KeyEvent_Void, Callback_TouchEvent_Void, Callback_MouseEvent_Void, Callback_Boolean_HoverEvent_Void, Callback_Array_TouchTestInfo_TouchResult, Callback_CalendarRequestedData_Void, Callback_CalendarSelectedDate_Void } from "./../SyntheticDeclarations" +import { Tuple_Dimension_Dimension, Callback_GestureEvent_Void, Callback_ClickEvent_Void, Callback_PopInfo_Void, Callback_SwipeActionState_Void, Callback_Void, CustomNodeBuilder, Callback_DismissPopupAction_Void, Callback_NavigationTransitionProxy_Void, Callback_Boolean_Void, Literal_String_script_Callback_String_Void_callback_, Callback_String_Void, Literal_String_baseUrl_data_encoding_historyUrl_mimeType, Literal_Union_String_Resource_url_Array_Header_headers, Literal_Object_object__String_name_Array_String_methodList, Callback_TimePickerResult_Void, Callback_TextPickerResult_Void, Tuple_Number_Number, Callback_TabContentTransitionProxy_Void, Callback_StyledStringChangeValue_Boolean, Tuple_ResourceColor_Number, Callback_Date_Void, Callback_DatePickerResult_Void, Callback_SheetType_Void, Callback_Number_Void, Callback_SpringBackAction_Void, Callback_DismissSheetAction_Void, Callback_SheetDismiss_Void, Callback_DismissContentCoverAction_Void, Callback_Literal_Boolean_isVisible_Void, Literal_Boolean_isVisible, Callback_DismissDialogAction_Void, Callback_UIExtensionProxy_Void, Literal_Boolean_next_Axis_direction, Literal_Number_surfaceHeight_surfaceWidth, Callback_Literal_String_plainText_Void, Literal_String_plainText, Callback_SwiperContentTransitionProxy_Void, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number, Callback_Number_Tuple_Number_Number, Callback_MouseEvent_Void, Callback_KeyEvent_Void, Callback_TouchEvent_Void, Type_SheetOptions_detents, Literal_ResourceColor_color, Literal_String_value_Callback_Void_action, Literal_Number_day_month_year, Type_NavigationAttribute_customNavContentTransition_delegate, Callback_WithThemeAttribute_Void, Callback_WebResourceResponse_Void, Callback_WebKeyboardOptions_Void, Callback_Union_CustomBuilder_DragItemInfo_Void, Callback_Tuple_Number_Number_Void, Callback_Tuple_Number_Number_Number_Number_Void, Callback_TouchResult_Void, Callback_T_Any_this, Callback_String_Unknown_Void, Callback_Pointer_Void, Callback_Opt_TabContentAnimatedTransition_Void, Callback_Opt_StyledString_Opt_Array_String_Void, Callback_Opt_NavigationAnimatedTransition_Void, Callback_Opt_Array_String_Void, Callback_OnScrollFrameBeginHandlerResult_Void, Callback_OffsetResult_Void, Callback_NavigationTitleMode_Void, Callback_NavigationMode_Void, Callback_Literal_Number_offsetRemain_Void, Literal_Number_offsetRemain, Callback_IsolatedComponentAttribute_Void, Callback_HitTestMode_Void, Callback_GestureRecognizer_Void, Callback_GestureJudgeResult_Void, Callback_CustomBuilder_Void, Callback_ComputedBarAttribute_Void, Callback_Array_String_Void, Callback_Literal_Number_code_Want_want_Void, Literal_Number_code_Want_want, Callback_NativeEmbedTouchInfo_Void, Callback_NativeEmbedDataInfo_Void, Callback_OnOverScrollEvent_Void, Callback_OnLoadInterceptEvent_Boolean, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnDataResubmittedEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnWindowNewEvent_Void, Callback_OnClientAuthenticationEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSearchResultReceiveEvent_Void, Callback_OnContextMenuShowEvent_Boolean, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnPermissionRequestEvent_Void, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnScaleChangeEvent_Void, Callback_OnResourceLoadEvent_Void, Type_WebAttribute_onFileSelectorShow_callback, Literal_Function_callback__Object_fileSelector, Callback_Literal_Object_detail_Boolean, Literal_Object_detail, Callback_OnShowFileSelectorEvent_Boolean, Callback_OnRenderExitedEvent_Void, Callback_Literal_Function_handler_Object_error_Void, Literal_Function_handler_Object_error, Type_WebAttribute_onUrlLoadIntercept_callback, Literal_Union_String_WebResourceRequest_data, Callback_OnRefreshAccessedHistoryEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnErrorReceiveEvent_Void, Callback_OnConsoleEvent_Boolean, Callback_OnPromptEvent_Boolean, Callback_OnConfirmEvent_Boolean, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnAlertEvent_Boolean, Callback_OnGeolocationShowEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnPageEndEvent_Void, Callback_PlaybackInfo_Void, Callback_PreparedInfo_Void, Callback_FullscreenInfo_Void, Type_TextPickerAttribute_onChange_callback, Callback_String_Number_Void, Callback_String_PasteEvent_Void, Callback_EnterKeyType_Void, Callback_Number_SliderChangeMode_Void, Callback_Number_String_Void, Callback_DeleteValue_Void, Callback_DeleteValue_Boolean, Callback_InsertValue_Void, Callback_InsertValue_Boolean, Callback_ClickEvent_SaveButtonOnClickResult_Void, Callback_CopyEvent_Void, Callback_CutEvent_Void, Callback_RichEditorChangeValue_Boolean, Callback_RichEditorDeleteValue_Boolean, Callback_TextRange_Void, Callback_RichEditorTextSpanResult_Void, Callback_RichEditorInsertValue_Boolean, Callback_RichEditorRange_Void, Callback_RichEditorSelection_Void, Callback_RefreshStatus_Void, Callback_Array_Number_Void, Callback_ClickEvent_PasteButtonOnClickResult_Void, Callback_Number_Number_PanelMode_Void, Callback_NavDestinationContext_Void, Callback_Boolean, Callback_ClickEvent_LocationButtonOnClickResult_Void, Callback_Number_Number_Boolean, Callback_Number_Boolean, Callback_Number_Number_Number_Void, Callback_Type_ImageAttribute_onComplete_callback_event_Void, Type_ImageAttribute_onComplete_callback_event, Callback_Number_ScrollState_Literal_Number_offsetRemain, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_CustomBuilder, Callback_Number_Number_ComputedBarAttribute, Callback_Any_Void, Callback_Literal_Number_errcode_String_msg_Void, Literal_Number_errcode_String_msg, Callback_FormCallbackInfo_Void, Callback_TerminationInfo_Void, Callback_Number_Number_Void, Callback_TouchEvent_HitTestMode, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_PreDragStatus_Void, Callback_DragEvent_String_Void, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Callback_Area_Area_Void, Callback_KeyEvent_Boolean, Callback_Boolean_HoverEvent_Void, Callback_Array_TouchTestInfo_TouchResult, Callback_CalendarRequestedData_Void, Callback_CalendarSelectedDate_Void } from "./../SyntheticDeclarations" import { ICurve, ICurveInternal } from "./../ArkICurveMaterialized" import { TextBackgroundStyle } from "./../ArkSpanInterfaces" import { ImageAttachmentLayoutStyle, BackgroundColorStyle, UserDataSpan, CustomSpanMeasureInfo, CustomSpanMetrics, CustomSpanDrawInfo, UrlStyle, LineHeightStyle, ParagraphStyle, ParagraphStyleInterface, ImageAttachment, ImageAttachmentInterface, GestureStyle, GestureStyleInterface, TextShadowStyle, LetterSpacingStyle, BaselineOffsetStyle, DecorationStyle, DecorationStyleInterface, TextStyle_styled_string, TextStyleInterface, StyledStringKey, StyleOptions, SpanStyle, StyledStringValue } from "./../ArkStyledStringInterfaces" import { GridRowSizeOption, BreakpointsReference, GridRowColumnOption, GutterOption, GridRowDirection, BreakPoints, GridRowOptions } from "./../ArkGridRowInterfaces" import { CustomSpan, CustomSpanInternal } from "./../ArkCustomSpanMaterialized" import { TabBarSymbol, TabBarIconStyle, LayoutMode, BoardStyle, SelectedMode, TabBarOptions } from "./../ArkTabContentInterfaces" -import { SymbolRenderingStrategy, SymbolEffectStrategy, SymbolEffect } from "./../ArkSymbolglyphInterfaces" -import { GestureEvent, PanDirection, GestureHandler, GesturePriority, GestureMask, BaseGestureEvent, GestureJudgeResult, GestureControl_GestureType, FingerInfo, GestureRecognizerState, GestureInfo } from "./../ArkGestureInterfaces" -import { SwipeActionState, SwipeActionItem, SwipeEdgeEffect, EditMode, ListItemStyle, SwipeActionOptions, Sticky, ListItemOptions } from "./../ArkListItemInterfaces" +import { SymbolRenderingStrategy, SymbolEffectStrategy, SymbolEffect, EffectFillStyle, EffectScope, EffectDirection } from "./../ArkSymbolglyphInterfaces" +import { GestureEvent, GestureEventInternal } from "./../ArkGestureEventMaterialized" +import { ClickEvent, ClickEventInternal } from "./../ArkClickEventMaterialized" +import { SwipeActionState, SwipeActionItem, SwipeEdgeEffect, EditMode, ListItemStyle, SwipeActionOptions, ListItemOptions, Sticky } from "./../ArkListItemInterfaces" import { TransitionEffect, TransitionEffectInternal } from "./../ArkTransitionEffectMaterialized" import { CanvasPattern, CanvasPatternInternal } from "./../ArkCanvasPatternMaterialized" import { Matrix2D, Matrix2DInternal } from "./../ArkMatrix2DMaterialized" @@ -101,10 +103,12 @@ import { UIExtensionProxy, UIExtensionProxyInternal } from "./../ArkUIExtensionP import { WaterFlowSections, WaterFlowSectionsInternal } from "./../ArkWaterFlowSectionsMaterialized" import { Scroller, ScrollerInternal } from "./../ArkScrollerMaterialized" import { RRect, WindowAnimationTarget } from "./../ArkRemoteWindowInterfaces" -import { ButtonIconOptions, SideBarPosition, ButtonStyle, SideBarContainerType } from "./../ArkSidebarInterfaces" +import { ButtonIconOptions, ButtonStyle, SideBarPosition, SideBarContainerType } from "./../ArkSidebarInterfaces" import { XComponentController, XComponentControllerInternal } from "./../ArkXComponentControllerMaterialized" import { WebKeyboardController, WebKeyboardControllerInternal } from "./../ArkWebKeyboardControllerMaterialized" import { EventResult, EventResultInternal } from "./../ArkEventResultMaterialized" +import { TouchEvent, TouchEventInternal } from "./../ArkTouchEventMaterialized" +import { BaseEvent, BaseEventInternal } from "./../ArkBaseEventMaterialized" import { DataResubmissionHandler, DataResubmissionHandlerInternal } from "./../ArkDataResubmissionHandlerMaterialized" import { ControllerHandler, ControllerHandlerInternal } from "./../ArkControllerHandlerMaterialized" import { ClientAuthenticationHandler, ClientAuthenticationHandlerInternal } from "./../ArkClientAuthenticationHandlerMaterialized" @@ -161,13 +165,19 @@ import { ListItemGroupStyle, ListItemGroupOptions } from "./../ArkListItemGroupI import { SizeType, GridContainerOptions } from "./../ArkGridContainerInterfaces" import { GridItemStyle, GridItemOptions } from "./../ArkGridItemInterfaces" import { GridItemAlignment, ComputedBarAttribute, GridDirection, GridLayoutOptions } from "./../ArkGridInterfaces" +import { PanDirection, GestureHandler, GesturePriority, GestureMask, GestureJudgeResult, GestureControl_GestureType, FingerInfo, GestureRecognizerState, GestureMode, SwipeDirection, GestureInfo } from "./../ArkGestureInterfaces" import { FormShape, FormRenderingMode, FormDimension, FormCallbackInfo, FormInfo } from "./../ArkFormComponentInterfaces" import { FlexSpaceOptions, FlexOptions } from "./../ArkFlexInterfaces" import { LinearGradient_data_panel, ColorStop, DataPanelType, DataPanelShadowOptions, DataPanelOptions } from "./../ArkDataPanelInterfaces" +import { MouseEvent, MouseEventInternal } from "./../ArkMouseEventMaterialized" +import { HoverEvent, HoverEventInternal } from "./../ArkHoverEventMaterialized" +import { KeyEvent, KeyEventInternal } from "./../ArkKeyEventMaterialized" +import { BaseGestureEvent, BaseGestureEventInternal } from "./../ArkBaseGestureEventMaterialized" import { GestureRecognizer, GestureRecognizerInternal } from "./../ArkGestureRecognizerMaterialized" import { FocusPriority, FocusBoxStyle } from "./../ArkFocusInterfaces" import { ProgressMask, ProgressMaskInternal } from "./../ArkProgressMaskMaterialized" import { DrawModifier, DrawModifierInternal } from "./../ArkDrawModifierMaterialized" +import { UnifiedData, UnifiedDataInternal } from "./../ArkUnifiedDataMaterialized" import { ColumnSplitDividerStyle } from "./../ArkColumnSplitInterfaces" import { DrawingRenderingContext, DrawingRenderingContextInternal } from "./../ArkDrawingRenderingContextMaterialized" import { CanvasRenderingContext2D, CanvasRenderingContext2DInternal } from "./../ArkCanvasRenderingContext2DMaterialized" @@ -181,10 +191,12 @@ import { MonthData, CalendarDay, CalendarRequestedData, CalendarSelectedDate, Wo import { ScrollMotion, SpringProp, FrictionMotion, SpringMotion } from "./../ArkAnimatorInterfaces" import { LinearIndicatorController, LinearIndicatorControllerInternal } from "./../ArkLinearIndicatorControllerMaterialized" import { TextTimerOptions } from "./../ArkTextTimerInterfaces" +import { SubmitEvent, SubmitEventInternal } from "./../ArkSubmitEventMaterialized" import { TextClockOptions } from "./../ArkTextClockInterfaces" import { IndicatorComponentController, IndicatorComponentControllerInternal } from "./../ArkIndicatorComponentControllerMaterialized" import { SwiperController, SwiperControllerInternal } from "./../ArkSwiperControllerMaterialized" import { ItemState } from "./../ArkStepperItemInterfaces" +import { LayoutDirection, ColorMode } from "./../ArkStateManagementInterfaces" import { StackOptions } from "./../ArkStackInterfaces" import { ViewportRect } from "./../ArkShapeInterfaces" import { SecurityComponentLayoutDirection } from "./../ArkSecurityComponentInterfaces" @@ -194,14 +206,18 @@ import { EditMenuOptions, EditMenuOptionsInternal } from "./../ArkEditMenuOption import { RefreshStatus, RefreshOptions } from "./../ArkRefreshInterfaces" import { StarStyleOptions, RatingOptions } from "./../ArkRatingInterfaces" import { PolylineOptions } from "./../ArkPolylineInterfaces" +import { Point } from "./../ArkPointInterfaces" import { PolygonOptions } from "./../ArkPolygonInterfaces" import { PatternLockController, PatternLockControllerInternal } from "./../ArkPatternLockControllerMaterialized" +import { DisturbanceFieldShape, ParticleUpdater, DistributionType, ParticleEmitterShape, ParticleType } from "./../ArkParticleInterfaces" import { NavRouteMode, RouteInfo } from "./../ArkNavRouterInterfaces" import { MenuItemGroupOptions } from "./../ArkMenuItemGroupInterfaces" import { SubMenuExpandingMode } from "./../ArkMenuInterfaces" import { MarqueeOptions } from "./../ArkMarqueeInterfaces" +import { LoadingProgressStyle } from "./../ArkLoadingProgressInterfaces" import { ChildrenMainSize, ChildrenMainSizeInternal } from "./../ArkChildrenMainSizeMaterialized" import { LineOptions } from "./../ArkLineInterfaces" +import { DataOperationType } from "./../ArkLazyForEachInterfaces" import { ImageFrameInfo } from "./../ArkImageAnimatorInterfaces" import { GaugeIndicatorOptions, GaugeShadowOptions, GaugeOptions } from "./../ArkGaugeInterfaces" import { FormLinkOptions } from "./../ArkFormLinkInterfaces" @@ -209,7 +225,8 @@ import { TerminationInfo } from "./../ArkEmbeddedComponentInterfaces" import { CustomDialogControllerOptions } from "./../ArkCustomDialogControllerInterfaces" import { EventTargetInfo, EventTargetInfoInternal } from "./../ArkEventTargetInfoMaterialized" import { GestureModifier, GestureModifierInternal } from "./../ArkGestureModifierMaterialized" -import { UnifiedData, UnifiedDataInternal } from "./../ArkUnifiedDataMaterialized" +import { DragEvent, DragEventInternal } from "./../ArkDragEventMaterialized" +import { AccessibilityHoverEvent, AccessibilityHoverEventInternal } from "./../ArkAccessibilityHoverEventMaterialized" import { ColumnOptions } from "./../ArkColumnInterfaces" export class Serializer extends SerializerBase { private static pool?: Array | undefined = undefined @@ -280,7 +297,7 @@ export class Serializer extends SerializerBase { } writePixelMap(value: PixelMap): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -306,7 +323,7 @@ export class Serializer extends SerializerBase { } writeICurve(value: ICurve): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -750,7 +767,7 @@ export class Serializer extends SerializerBase { } writeCustomSpan(value: CustomSpan): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -1499,7 +1516,7 @@ export class Serializer extends SerializerBase { } writeTransitionEffect(value: TransitionEffect): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -1543,7 +1560,7 @@ export class Serializer extends SerializerBase { } writeCanvasPattern(value: CanvasPattern): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -1552,7 +1569,7 @@ export class Serializer extends SerializerBase { } writeCanvasGradient(value: CanvasGradient): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -1566,7 +1583,7 @@ export class Serializer extends SerializerBase { } writeImageAnalyzerController(value: ImageAnalyzerController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -1580,7 +1597,7 @@ export class Serializer extends SerializerBase { } writeWebResourceRequest(value: WebResourceRequest): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -1594,7 +1611,7 @@ export class Serializer extends SerializerBase { } writeWebController(value: WebController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -1885,7 +1902,7 @@ export class Serializer extends SerializerBase { } writeTextMenuItemId(value: TextMenuItemId): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -2734,7 +2751,7 @@ export class Serializer extends SerializerBase { } writeNavPathStack(value: NavPathStack): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -3484,7 +3501,7 @@ export class Serializer extends SerializerBase { } writeDrawingCanvas(value: DrawingCanvas): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -3500,7 +3517,7 @@ export class Serializer extends SerializerBase { } writeFrameNode(value: FrameNode): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -3799,7 +3816,7 @@ export class Serializer extends SerializerBase { } writeStyledString(value: StyledString): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4016,7 +4033,7 @@ export class Serializer extends SerializerBase { const value_styledValue_9 = value_styledValue as UrlStyle valueSerializer.writeUrlStyle(value_styledValue_9) } - else if (((RuntimeType.OBJECT) == (value_styledValue_type)) && (value_styledValue instanceof CustomSpan)) { + else if (((RuntimeType.OBJECT) == (value_styledValue_type)) && (TypeChecker.isCustomSpan(value_styledValue))) { valueSerializer.writeInt8(10 as int32) const value_styledValue_10 = value_styledValue as CustomSpan valueSerializer.writeCustomSpan(value_styledValue_10) @@ -4034,7 +4051,7 @@ export class Serializer extends SerializerBase { } writeWaterFlowSections(value: WaterFlowSections): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4043,7 +4060,7 @@ export class Serializer extends SerializerBase { } writeScroller(value: Scroller): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4210,7 +4227,7 @@ export class Serializer extends SerializerBase { const value_shown_0 = value_shown as string valueSerializer.writeString(value_shown_0) } - else if (((RuntimeType.OBJECT) == (value_shown_type)) && (value_shown instanceof PixelMap)) { + else if (((RuntimeType.OBJECT) == (value_shown_type)) && (TypeChecker.isPixelMap(value_shown, false, false))) { valueSerializer.writeInt8(1 as int32) const value_shown_1 = value_shown as PixelMap valueSerializer.writePixelMap(value_shown_1) @@ -4228,7 +4245,7 @@ export class Serializer extends SerializerBase { const value_hidden_0 = value_hidden as string valueSerializer.writeString(value_hidden_0) } - else if (((RuntimeType.OBJECT) == (value_hidden_type)) && (value_hidden instanceof PixelMap)) { + else if (((RuntimeType.OBJECT) == (value_hidden_type)) && (TypeChecker.isPixelMap(value_hidden, false, false))) { valueSerializer.writeInt8(1 as int32) const value_hidden_1 = value_hidden as PixelMap valueSerializer.writePixelMap(value_hidden_1) @@ -4251,7 +4268,7 @@ export class Serializer extends SerializerBase { const value_switching_value_0 = value_switching_value as string valueSerializer.writeString(value_switching_value_0) } - else if (((RuntimeType.OBJECT) == (value_switching_value_type)) && (value_switching_value instanceof PixelMap)) { + else if (((RuntimeType.OBJECT) == (value_switching_value_type)) && (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) @@ -4288,7 +4305,7 @@ export class Serializer extends SerializerBase { } writeXComponentController(value: XComponentController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4375,7 +4392,7 @@ export class Serializer extends SerializerBase { } writeWebKeyboardController(value: WebKeyboardController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4384,7 +4401,7 @@ export class Serializer extends SerializerBase { } writeEventResult(value: EventResult): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4393,62 +4410,12 @@ export class Serializer extends SerializerBase { } writeTouchEvent(value: TouchEvent): void { let valueSerializer : Serializer = this - const value_target = value.target - valueSerializer.writeEventTarget(value_target) - const value_timestamp = value.timestamp - valueSerializer.writeNumber(value_timestamp) - const value_source = value.source - valueSerializer.writeInt32((value_source.valueOf() as int32)) - const value_axisHorizontal = value.axisHorizontal - let value_axisHorizontal_type : int32 = RuntimeType.UNDEFINED - value_axisHorizontal_type = runtimeType(value_axisHorizontal) - valueSerializer.writeInt8(value_axisHorizontal_type as int32) - if ((RuntimeType.UNDEFINED) != (value_axisHorizontal_type)) { - const value_axisHorizontal_value = value_axisHorizontal! - valueSerializer.writeNumber(value_axisHorizontal_value) - } - const value_axisVertical = value.axisVertical - let value_axisVertical_type : int32 = RuntimeType.UNDEFINED - value_axisVertical_type = runtimeType(value_axisVertical) - valueSerializer.writeInt8(value_axisVertical_type as int32) - if ((RuntimeType.UNDEFINED) != (value_axisVertical_type)) { - const value_axisVertical_value = value_axisVertical! - valueSerializer.writeNumber(value_axisVertical_value) - } - const value_pressure = value.pressure - valueSerializer.writeNumber(value_pressure) - const value_tiltX = value.tiltX - valueSerializer.writeNumber(value_tiltX) - const value_tiltY = value.tiltY - valueSerializer.writeNumber(value_tiltY) - const value_sourceTool = value.sourceTool - valueSerializer.writeInt32((value_sourceTool.valueOf() as int32)) - 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) - if ((RuntimeType.UNDEFINED) != (value_deviceId_type)) { - const value_deviceId_value = value_deviceId! - valueSerializer.writeNumber(value_deviceId_value) - } - const value_type = value.type - valueSerializer.writeInt32((value_type.valueOf() as int32)) - const value_touches = value.touches - valueSerializer.writeInt32(value_touches.length as int32) - for (let i = 0; i < value_touches.length; i++) { - const value_touches_element : TouchObject = value_touches[i] - valueSerializer.writeTouchObject(value_touches_element) - } - const value_changedTouches = value.changedTouches - valueSerializer.writeInt32(value_changedTouches.length as int32) - for (let i = 0; i < value_changedTouches.length; i++) { - const value_changedTouches_element : TouchObject = value_changedTouches[i] - valueSerializer.writeTouchObject(value_changedTouches_element) - } - const value_stopPropagation = value.stopPropagation - valueSerializer.holdAndWriteCallback(value_stopPropagation) - const value_preventDefault = value.preventDefault - valueSerializer.holdAndWriteCallback(value_preventDefault) + const base : MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) } writeNativeEmbedInfo(value: NativeEmbedInfo): void { let valueSerializer : Serializer = this @@ -4570,7 +4537,7 @@ export class Serializer extends SerializerBase { } writeDataResubmissionHandler(value: DataResubmissionHandler): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4579,7 +4546,7 @@ export class Serializer extends SerializerBase { } writeControllerHandler(value: ControllerHandler): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4588,7 +4555,7 @@ export class Serializer extends SerializerBase { } writeClientAuthenticationHandler(value: ClientAuthenticationHandler): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4597,7 +4564,7 @@ export class Serializer extends SerializerBase { } writeSslErrorHandler(value: SslErrorHandler): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4606,7 +4573,7 @@ export class Serializer extends SerializerBase { } writeWebContextMenuResult(value: WebContextMenuResult): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4615,7 +4582,7 @@ export class Serializer extends SerializerBase { } writeWebContextMenuParam(value: WebContextMenuParam): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4624,7 +4591,7 @@ export class Serializer extends SerializerBase { } writeScreenCaptureHandler(value: ScreenCaptureHandler): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4633,7 +4600,7 @@ export class Serializer extends SerializerBase { } writePermissionRequest(value: PermissionRequest): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4642,7 +4609,7 @@ export class Serializer extends SerializerBase { } writeHttpAuthHandler(value: HttpAuthHandler): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4651,7 +4618,7 @@ export class Serializer extends SerializerBase { } writeFullScreenExitHandler(value: FullScreenExitHandler): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4660,7 +4627,7 @@ export class Serializer extends SerializerBase { } writeFileSelectorParam(value: FileSelectorParam): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4669,7 +4636,7 @@ export class Serializer extends SerializerBase { } writeFileSelectorResult(value: FileSelectorResult): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4678,7 +4645,7 @@ export class Serializer extends SerializerBase { } writeWebResourceResponse(value: WebResourceResponse): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4687,7 +4654,7 @@ export class Serializer extends SerializerBase { } writeWebResourceError(value: WebResourceError): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4696,7 +4663,7 @@ export class Serializer extends SerializerBase { } writeConsoleMessage(value: ConsoleMessage): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4705,7 +4672,7 @@ export class Serializer extends SerializerBase { } writeJsResult(value: JsResult): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4714,7 +4681,7 @@ export class Serializer extends SerializerBase { } writeJsGeolocation(value: JsGeolocation): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4728,7 +4695,7 @@ export class Serializer extends SerializerBase { } writeVideoController(value: VideoController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -4967,7 +4934,7 @@ export class Serializer extends SerializerBase { } writeTextTimerController(value: TextTimerController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -5500,7 +5467,7 @@ export class Serializer extends SerializerBase { } writeTextInputController(value: TextInputController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -5576,7 +5543,7 @@ export class Serializer extends SerializerBase { } writeTextClockController(value: TextClockController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -5585,7 +5552,7 @@ export class Serializer extends SerializerBase { } writeTextAreaController(value: TextAreaController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -5632,7 +5599,7 @@ export class Serializer extends SerializerBase { } writeTextController(value: TextController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -6069,7 +6036,7 @@ export class Serializer extends SerializerBase { } writeTabsController(value: TabsController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -6627,7 +6594,7 @@ export class Serializer extends SerializerBase { } writeSearchController(value: SearchController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -6724,7 +6691,7 @@ export class Serializer extends SerializerBase { } writeRichEditorStyledStringController(value: RichEditorStyledStringController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -6733,7 +6700,7 @@ export class Serializer extends SerializerBase { } writeRichEditorController(value: RichEditorController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -7237,11 +7204,22 @@ export class Serializer extends SerializerBase { } else if (((RuntimeType.OBJECT == value_radius_value_type))) { valueSerializer.writeInt8(2 as int32) - const value_radius_value_2 = value_radius_value as Array + 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 : object = value_radius_value_2[i] - valueSerializer.writeCustomObject("Any", value_radius_value_2_element) + 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) + } } } } @@ -7517,7 +7495,7 @@ export class Serializer extends SerializerBase { } writeNavDestinationContext(value: NavDestinationContext): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -7935,7 +7913,7 @@ export class Serializer extends SerializerBase { } writeMatrix2D(value: Matrix2D): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -8438,6 +8416,23 @@ export class Serializer extends SerializerBase { } writeUIGestureEvent(value: UIGestureEvent): void { } + writeVisibleAreaEventOptions(value: VisibleAreaEventOptions): void { + let valueSerializer : Serializer = this + const value_ratios = value.ratios + valueSerializer.writeInt32(value_ratios.length as int32) + for (let i = 0; i < value_ratios.length; i++) { + const value_ratios_element : number = value_ratios[i] + valueSerializer.writeNumber(value_ratios_element) + } + 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) + if ((RuntimeType.UNDEFINED) != (value_expectedUpdateInterval_type)) { + const value_expectedUpdateInterval_value = value_expectedUpdateInterval! + valueSerializer.writeNumber(value_expectedUpdateInterval_value) + } + } writeFadingEdgeOptions(value: FadingEdgeOptions): void { let valueSerializer : Serializer = this const value_fadingEdgeLength = value.fadingEdgeLength @@ -10503,7 +10498,7 @@ export class Serializer extends SerializerBase { } writeProgressMask(value: ProgressMask): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -10686,7 +10681,16 @@ export class Serializer extends SerializerBase { } writeDrawModifier(value: DrawModifier): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + } + writeUnifiedData(value: UnifiedData): void { + let valueSerializer : Serializer = this + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -10754,7 +10758,7 @@ export class Serializer extends SerializerBase { } writeDrawingRenderingContext(value: DrawingRenderingContext): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -10763,7 +10767,7 @@ export class Serializer extends SerializerBase { } writeCanvasRenderingContext2D(value: CanvasRenderingContext2D): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -10772,7 +10776,7 @@ export class Serializer extends SerializerBase { } writeImageBitmap(value: ImageBitmap): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -10790,7 +10794,7 @@ export class Serializer extends SerializerBase { } writePath2D(value: Path2D): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -10973,7 +10977,7 @@ export class Serializer extends SerializerBase { } writeCalendarController(value: CalendarController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -13388,62 +13392,12 @@ export class Serializer extends SerializerBase { } writeClickEvent(value: ClickEvent): void { let valueSerializer : Serializer = this - const value_target = value.target - valueSerializer.writeEventTarget(value_target) - const value_timestamp = value.timestamp - valueSerializer.writeNumber(value_timestamp) - const value_source = value.source - valueSerializer.writeInt32((value_source.valueOf() as int32)) - const value_axisHorizontal = value.axisHorizontal - let value_axisHorizontal_type : int32 = RuntimeType.UNDEFINED - value_axisHorizontal_type = runtimeType(value_axisHorizontal) - valueSerializer.writeInt8(value_axisHorizontal_type as int32) - if ((RuntimeType.UNDEFINED) != (value_axisHorizontal_type)) { - const value_axisHorizontal_value = value_axisHorizontal! - valueSerializer.writeNumber(value_axisHorizontal_value) - } - const value_axisVertical = value.axisVertical - let value_axisVertical_type : int32 = RuntimeType.UNDEFINED - value_axisVertical_type = runtimeType(value_axisVertical) - valueSerializer.writeInt8(value_axisVertical_type as int32) - if ((RuntimeType.UNDEFINED) != (value_axisVertical_type)) { - const value_axisVertical_value = value_axisVertical! - valueSerializer.writeNumber(value_axisVertical_value) - } - const value_pressure = value.pressure - valueSerializer.writeNumber(value_pressure) - const value_tiltX = value.tiltX - valueSerializer.writeNumber(value_tiltX) - const value_tiltY = value.tiltY - valueSerializer.writeNumber(value_tiltY) - const value_sourceTool = value.sourceTool - valueSerializer.writeInt32((value_sourceTool.valueOf() as int32)) - 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) - if ((RuntimeType.UNDEFINED) != (value_deviceId_type)) { - const value_deviceId_value = value_deviceId! - valueSerializer.writeNumber(value_deviceId_value) - } - const value_displayX = value.displayX - valueSerializer.writeNumber(value_displayX) - const value_displayY = value.displayY - valueSerializer.writeNumber(value_displayY) - const value_windowX = value.windowX - valueSerializer.writeNumber(value_windowX) - const value_windowY = value.windowY - valueSerializer.writeNumber(value_windowY) - const value_screenX = value.screenX - valueSerializer.writeNumber(value_screenX) - const value_screenY = value.screenY - valueSerializer.writeNumber(value_screenY) - const value_x = value.x - valueSerializer.writeNumber(value_x) - const value_y = value.y - valueSerializer.writeNumber(value_y) - const value_preventDefault = value.preventDefault - valueSerializer.holdAndWriteCallback(value_preventDefault) + const base : MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) } writeWithThemeOptions(value: WithThemeOptions): void { let valueSerializer : Serializer = this @@ -13475,7 +13429,7 @@ export class Serializer extends SerializerBase { } writeNavigationTransitionProxy(value: NavigationTransitionProxy): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -13486,7 +13440,7 @@ export class Serializer extends SerializerBase { } writeLinearIndicatorController(value: LinearIndicatorController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -13566,7 +13520,7 @@ export class Serializer extends SerializerBase { const value_styledValue_9 = value_styledValue as UrlStyle valueSerializer.writeUrlStyle(value_styledValue_9) } - else if (((RuntimeType.OBJECT) == (value_styledValue_type)) && (value_styledValue instanceof CustomSpan)) { + else if (((RuntimeType.OBJECT) == (value_styledValue_type)) && (TypeChecker.isCustomSpan(value_styledValue))) { valueSerializer.writeInt8(10 as int32) const value_styledValue_10 = value_styledValue as CustomSpan valueSerializer.writeCustomSpan(value_styledValue_10) @@ -13625,7 +13579,7 @@ export class Serializer extends SerializerBase { } writeUIExtensionProxy(value: UIExtensionProxy): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -14330,8 +14284,8 @@ export class Serializer extends SerializerBase { } writeJavaScriptProxy(value: JavaScriptProxy): void { let valueSerializer : Serializer = this - const value_object = value.object - valueSerializer.writeCustomObject("Object", value_object) + const value_object_ = value.object_ + valueSerializer.writeCustomObject("Object", value_object_) const value_name = value.name valueSerializer.writeString(value_name) const value_methodList = value.methodList @@ -14343,7 +14297,7 @@ export class Serializer extends SerializerBase { 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)) { + if (((RuntimeType.OBJECT) == (value_controller_type)) && (TypeChecker.isWebController(value_controller))) { valueSerializer.writeInt8(0 as int32) const value_controller_0 = value_controller as WebController valueSerializer.writeWebController(value_controller_0) @@ -14392,7 +14346,7 @@ export class Serializer extends SerializerBase { 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)) { + if (((RuntimeType.OBJECT) == (value_controller_type)) && (TypeChecker.isWebController(value_controller))) { valueSerializer.writeInt8(0 as int32) const value_controller_0 = value_controller as WebController valueSerializer.writeWebController(value_controller_0) @@ -14507,7 +14461,7 @@ export class Serializer extends SerializerBase { const value_previewUri_value_0 = value_previewUri_value as string valueSerializer.writeString(value_previewUri_value_0) } - else if (((RuntimeType.OBJECT) == (value_previewUri_value_type)) && (value_previewUri_value instanceof PixelMap)) { + else if (((RuntimeType.OBJECT) == (value_previewUri_value_type)) && (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) @@ -15069,7 +15023,7 @@ export class Serializer extends SerializerBase { } writeTabContentTransitionProxy(value: TabContentTransitionProxy): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -15157,7 +15111,7 @@ export class Serializer extends SerializerBase { } writeSwiperContentTransitionProxy(value: SwiperContentTransitionProxy): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -15188,7 +15142,7 @@ export class Serializer extends SerializerBase { } writeIndicatorComponentController(value: IndicatorComponentController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -15197,7 +15151,7 @@ export class Serializer extends SerializerBase { } writeSwiperController(value: SwiperController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -15771,7 +15725,7 @@ export class Serializer extends SerializerBase { } writeEditMenuOptions(value: EditMenuOptions): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -15825,8 +15779,12 @@ export class Serializer extends SerializerBase { } writeSubmitEvent(value: SubmitEvent): void { let valueSerializer : Serializer = this - const value_text = value.text - valueSerializer.writeString(value_text) + const base : MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) } writeTextDataDetectorConfig(value: TextDataDetectorConfig): void { let valueSerializer : Serializer = this @@ -15976,72 +15934,12 @@ export class Serializer extends SerializerBase { } writeGestureEvent(value: GestureEvent): void { let valueSerializer : Serializer = this - const value_target = value.target - valueSerializer.writeEventTarget(value_target) - const value_timestamp = value.timestamp - valueSerializer.writeNumber(value_timestamp) - const value_source = value.source - valueSerializer.writeInt32((value_source.valueOf() as int32)) - const value_axisHorizontal = value.axisHorizontal - let value_axisHorizontal_type : int32 = RuntimeType.UNDEFINED - value_axisHorizontal_type = runtimeType(value_axisHorizontal) - valueSerializer.writeInt8(value_axisHorizontal_type as int32) - if ((RuntimeType.UNDEFINED) != (value_axisHorizontal_type)) { - const value_axisHorizontal_value = value_axisHorizontal! - valueSerializer.writeNumber(value_axisHorizontal_value) - } - const value_axisVertical = value.axisVertical - let value_axisVertical_type : int32 = RuntimeType.UNDEFINED - value_axisVertical_type = runtimeType(value_axisVertical) - valueSerializer.writeInt8(value_axisVertical_type as int32) - if ((RuntimeType.UNDEFINED) != (value_axisVertical_type)) { - const value_axisVertical_value = value_axisVertical! - valueSerializer.writeNumber(value_axisVertical_value) - } - const value_pressure = value.pressure - valueSerializer.writeNumber(value_pressure) - const value_tiltX = value.tiltX - valueSerializer.writeNumber(value_tiltX) - const value_tiltY = value.tiltY - valueSerializer.writeNumber(value_tiltY) - const value_sourceTool = value.sourceTool - valueSerializer.writeInt32((value_sourceTool.valueOf() as int32)) - 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) - if ((RuntimeType.UNDEFINED) != (value_deviceId_type)) { - const value_deviceId_value = value_deviceId! - valueSerializer.writeNumber(value_deviceId_value) - } - const value_repeat = value.repeat - valueSerializer.writeBoolean(value_repeat) - const value_fingerList = value.fingerList - valueSerializer.writeInt32(value_fingerList.length as int32) - for (let i = 0; i < value_fingerList.length; i++) { - const value_fingerList_element : FingerInfo = value_fingerList[i] - valueSerializer.writeFingerInfo(value_fingerList_element) - } - const value_offsetX = value.offsetX - valueSerializer.writeNumber(value_offsetX) - const value_offsetY = value.offsetY - valueSerializer.writeNumber(value_offsetY) - const value_angle = value.angle - valueSerializer.writeNumber(value_angle) - const value_speed = value.speed - valueSerializer.writeNumber(value_speed) - const value_scale = value.scale - valueSerializer.writeNumber(value_scale) - const value_pinchCenterX = value.pinchCenterX - valueSerializer.writeNumber(value_pinchCenterX) - const value_pinchCenterY = value.pinchCenterY - valueSerializer.writeNumber(value_pinchCenterY) - const value_velocityX = value.velocityX - valueSerializer.writeNumber(value_velocityX) - const value_velocityY = value.velocityY - valueSerializer.writeNumber(value_velocityY) - const value_velocity = value.velocity - valueSerializer.writeNumber(value_velocity) + const base : MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) } writeLocalizedBarrierStyle(value: LocalizedBarrierStyle): void { let valueSerializer : Serializer = this @@ -16367,6 +16265,13 @@ export class Serializer extends SerializerBase { } } } + writePoint(value: Point): void { + let valueSerializer : Serializer = this + const value_x = value.x + valueSerializer.writeNumber(value_x) + const value_y = value.y + valueSerializer.writeNumber(value_y) + } writePolygonOptions(value: PolygonOptions): void { let valueSerializer : Serializer = this const value_width = value.width @@ -16420,11 +16325,11 @@ export class Serializer extends SerializerBase { const value_template = value.template valueSerializer.writePluginComponentTemplate(value_template) const value_data = value.data - valueSerializer.writeCustomObject("Any", value_data) + valueSerializer.writeString(value_data) } writePatternLockController(value: PatternLockController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -16948,7 +16853,7 @@ export class Serializer extends SerializerBase { } writeChildrenMainSize(value: ChildrenMainSize): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -17117,7 +17022,7 @@ export class Serializer extends SerializerBase { const value_src_1 = value_src as Resource valueSerializer.writeResource(value_src_1) } - else if (((RuntimeType.OBJECT) == (value_src_type)) && (value_src instanceof PixelMap)) { + else if (((RuntimeType.OBJECT) == (value_src_type)) && (TypeChecker.isPixelMap(value_src, false, false))) { valueSerializer.writeInt8(2 as int32) const value_src_2 = value_src as PixelMap valueSerializer.writePixelMap(value_src_2) @@ -18688,7 +18593,7 @@ export class Serializer extends SerializerBase { } writeGestureRecognizer(value: GestureRecognizer): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -18714,50 +18619,12 @@ export class Serializer extends SerializerBase { } writeBaseGestureEvent(value: BaseGestureEvent): void { let valueSerializer : Serializer = this - const value_target = value.target - valueSerializer.writeEventTarget(value_target) - const value_timestamp = value.timestamp - valueSerializer.writeNumber(value_timestamp) - const value_source = value.source - valueSerializer.writeInt32((value_source.valueOf() as int32)) - const value_axisHorizontal = value.axisHorizontal - let value_axisHorizontal_type : int32 = RuntimeType.UNDEFINED - value_axisHorizontal_type = runtimeType(value_axisHorizontal) - valueSerializer.writeInt8(value_axisHorizontal_type as int32) - if ((RuntimeType.UNDEFINED) != (value_axisHorizontal_type)) { - const value_axisHorizontal_value = value_axisHorizontal! - valueSerializer.writeNumber(value_axisHorizontal_value) - } - const value_axisVertical = value.axisVertical - let value_axisVertical_type : int32 = RuntimeType.UNDEFINED - value_axisVertical_type = runtimeType(value_axisVertical) - valueSerializer.writeInt8(value_axisVertical_type as int32) - if ((RuntimeType.UNDEFINED) != (value_axisVertical_type)) { - const value_axisVertical_value = value_axisVertical! - valueSerializer.writeNumber(value_axisVertical_value) - } - const value_pressure = value.pressure - valueSerializer.writeNumber(value_pressure) - const value_tiltX = value.tiltX - valueSerializer.writeNumber(value_tiltX) - const value_tiltY = value.tiltY - valueSerializer.writeNumber(value_tiltY) - const value_sourceTool = value.sourceTool - valueSerializer.writeInt32((value_sourceTool.valueOf() as int32)) - 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) - if ((RuntimeType.UNDEFINED) != (value_deviceId_type)) { - const value_deviceId_value = value_deviceId! - valueSerializer.writeNumber(value_deviceId_value) - } - const value_fingerList = value.fingerList - valueSerializer.writeInt32(value_fingerList.length as int32) - for (let i = 0; i < value_fingerList.length; i++) { - const value_fingerList_element : FingerInfo = value_fingerList[i] - valueSerializer.writeFingerInfo(value_fingerList_element) - } + const base : MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) } writeGestureInfo(value: GestureInfo): void { let valueSerializer : Serializer = this @@ -18783,7 +18650,7 @@ export class Serializer extends SerializerBase { } writeGestureModifier(value: GestureModifier): void { let valueSerializer : Serializer = this - const base : MaterializedBase = (value as MaterializedBase) + const base : MaterializedBase = unsafeCast(value) const peer = base.getPeer() let ptr : KPointer = nullptr if (peer != undefined) @@ -18883,10 +18750,12 @@ export class Serializer extends SerializerBase { } writeDragEvent(value: DragEvent): void { let valueSerializer : Serializer = this - const value_dragBehavior = value.dragBehavior - valueSerializer.writeInt32((value_dragBehavior.valueOf() as int32)) - const value_useCustomDropAnimation = value.useCustomDropAnimation - valueSerializer.writeBoolean(value_useCustomDropAnimation) + const base : MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) } writeLocalizedAlignRuleOptions(value: LocalizedAlignRuleOptions): void { let valueSerializer : Serializer = this @@ -19060,216 +18929,39 @@ export class Serializer extends SerializerBase { } writeKeyEvent(value: KeyEvent): void { let valueSerializer : Serializer = this - const value_type = value.type - valueSerializer.writeInt32((value_type.valueOf() as int32)) - const value_keyCode = value.keyCode - valueSerializer.writeNumber(value_keyCode) - const value_keyText = value.keyText - valueSerializer.writeString(value_keyText) - const value_keySource = value.keySource - valueSerializer.writeInt32((value_keySource.valueOf() as int32)) - const value_deviceId = value.deviceId - valueSerializer.writeNumber(value_deviceId) - const value_metaKey = value.metaKey - valueSerializer.writeNumber(value_metaKey) - const value_timestamp = value.timestamp - valueSerializer.writeNumber(value_timestamp) - const value_stopPropagation = value.stopPropagation - valueSerializer.holdAndWriteCallback(value_stopPropagation) - const value_intentionCode = value.intentionCode - valueSerializer.writeIntentionCode(value_intentionCode) - const value_unicode = value.unicode - let value_unicode_type : int32 = RuntimeType.UNDEFINED - value_unicode_type = runtimeType(value_unicode) - valueSerializer.writeInt8(value_unicode_type as int32) - if ((RuntimeType.UNDEFINED) != (value_unicode_type)) { - const value_unicode_value = value_unicode! - valueSerializer.writeNumber(value_unicode_value) - } - } - writeTouchObject(value: TouchObject): void { - let valueSerializer : Serializer = this - const value_type = value.type - valueSerializer.writeInt32((value_type.valueOf() as int32)) - const value_id = value.id - valueSerializer.writeNumber(value_id) - const value_displayX = value.displayX - valueSerializer.writeNumber(value_displayX) - const value_displayY = value.displayY - valueSerializer.writeNumber(value_displayY) - const value_windowX = value.windowX - valueSerializer.writeNumber(value_windowX) - const value_windowY = value.windowY - valueSerializer.writeNumber(value_windowY) - const value_screenX = value.screenX - valueSerializer.writeNumber(value_screenX) - const value_screenY = value.screenY - valueSerializer.writeNumber(value_screenY) - const value_x = value.x - valueSerializer.writeNumber(value_x) - const value_y = value.y - valueSerializer.writeNumber(value_y) + const base : MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) } writeMouseEvent(value: MouseEvent): void { let valueSerializer : Serializer = this - const value_target = value.target - valueSerializer.writeEventTarget(value_target) - const value_timestamp = value.timestamp - valueSerializer.writeNumber(value_timestamp) - const value_source = value.source - valueSerializer.writeInt32((value_source.valueOf() as int32)) - const value_axisHorizontal = value.axisHorizontal - let value_axisHorizontal_type : int32 = RuntimeType.UNDEFINED - value_axisHorizontal_type = runtimeType(value_axisHorizontal) - valueSerializer.writeInt8(value_axisHorizontal_type as int32) - if ((RuntimeType.UNDEFINED) != (value_axisHorizontal_type)) { - const value_axisHorizontal_value = value_axisHorizontal! - valueSerializer.writeNumber(value_axisHorizontal_value) - } - const value_axisVertical = value.axisVertical - let value_axisVertical_type : int32 = RuntimeType.UNDEFINED - value_axisVertical_type = runtimeType(value_axisVertical) - valueSerializer.writeInt8(value_axisVertical_type as int32) - if ((RuntimeType.UNDEFINED) != (value_axisVertical_type)) { - const value_axisVertical_value = value_axisVertical! - valueSerializer.writeNumber(value_axisVertical_value) - } - const value_pressure = value.pressure - valueSerializer.writeNumber(value_pressure) - const value_tiltX = value.tiltX - valueSerializer.writeNumber(value_tiltX) - const value_tiltY = value.tiltY - valueSerializer.writeNumber(value_tiltY) - const value_sourceTool = value.sourceTool - valueSerializer.writeInt32((value_sourceTool.valueOf() as int32)) - 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) - if ((RuntimeType.UNDEFINED) != (value_deviceId_type)) { - const value_deviceId_value = value_deviceId! - valueSerializer.writeNumber(value_deviceId_value) - } - const value_button = value.button - valueSerializer.writeInt32((value_button.valueOf() as int32)) - const value_action = value.action - valueSerializer.writeInt32((value_action.valueOf() as int32)) - const value_displayX = value.displayX - valueSerializer.writeNumber(value_displayX) - const value_displayY = value.displayY - valueSerializer.writeNumber(value_displayY) - const value_windowX = value.windowX - valueSerializer.writeNumber(value_windowX) - const value_windowY = value.windowY - valueSerializer.writeNumber(value_windowY) - const value_screenX = value.screenX - valueSerializer.writeNumber(value_screenX) - const value_screenY = value.screenY - valueSerializer.writeNumber(value_screenY) - const value_x = value.x - valueSerializer.writeNumber(value_x) - const value_y = value.y - valueSerializer.writeNumber(value_y) - const value_stopPropagation = value.stopPropagation - valueSerializer.holdAndWriteCallback(value_stopPropagation) + const base : MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) } writeAccessibilityHoverEvent(value: AccessibilityHoverEvent): void { let valueSerializer : Serializer = this - const value_target = value.target - valueSerializer.writeEventTarget(value_target) - const value_timestamp = value.timestamp - valueSerializer.writeNumber(value_timestamp) - const value_source = value.source - valueSerializer.writeInt32((value_source.valueOf() as int32)) - const value_axisHorizontal = value.axisHorizontal - let value_axisHorizontal_type : int32 = RuntimeType.UNDEFINED - value_axisHorizontal_type = runtimeType(value_axisHorizontal) - valueSerializer.writeInt8(value_axisHorizontal_type as int32) - if ((RuntimeType.UNDEFINED) != (value_axisHorizontal_type)) { - const value_axisHorizontal_value = value_axisHorizontal! - valueSerializer.writeNumber(value_axisHorizontal_value) - } - const value_axisVertical = value.axisVertical - let value_axisVertical_type : int32 = RuntimeType.UNDEFINED - value_axisVertical_type = runtimeType(value_axisVertical) - valueSerializer.writeInt8(value_axisVertical_type as int32) - if ((RuntimeType.UNDEFINED) != (value_axisVertical_type)) { - const value_axisVertical_value = value_axisVertical! - valueSerializer.writeNumber(value_axisVertical_value) - } - const value_pressure = value.pressure - valueSerializer.writeNumber(value_pressure) - const value_tiltX = value.tiltX - valueSerializer.writeNumber(value_tiltX) - const value_tiltY = value.tiltY - valueSerializer.writeNumber(value_tiltY) - const value_sourceTool = value.sourceTool - valueSerializer.writeInt32((value_sourceTool.valueOf() as int32)) - 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) - if ((RuntimeType.UNDEFINED) != (value_deviceId_type)) { - const value_deviceId_value = value_deviceId! - valueSerializer.writeNumber(value_deviceId_value) - } - const value_type = value.type - valueSerializer.writeInt32((value_type.valueOf() as int32)) - const value_x = value.x - valueSerializer.writeNumber(value_x) - const value_y = value.y - valueSerializer.writeNumber(value_y) - const value_displayX = value.displayX - valueSerializer.writeNumber(value_displayX) - const value_displayY = value.displayY - valueSerializer.writeNumber(value_displayY) - const value_windowX = value.windowX - valueSerializer.writeNumber(value_windowX) - const value_windowY = value.windowY - valueSerializer.writeNumber(value_windowY) + const base : MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) } writeHoverEvent(value: HoverEvent): void { let valueSerializer : Serializer = this - const value_target = value.target - valueSerializer.writeEventTarget(value_target) - const value_timestamp = value.timestamp - valueSerializer.writeNumber(value_timestamp) - const value_source = value.source - valueSerializer.writeInt32((value_source.valueOf() as int32)) - const value_axisHorizontal = value.axisHorizontal - let value_axisHorizontal_type : int32 = RuntimeType.UNDEFINED - value_axisHorizontal_type = runtimeType(value_axisHorizontal) - valueSerializer.writeInt8(value_axisHorizontal_type as int32) - if ((RuntimeType.UNDEFINED) != (value_axisHorizontal_type)) { - const value_axisHorizontal_value = value_axisHorizontal! - valueSerializer.writeNumber(value_axisHorizontal_value) - } - const value_axisVertical = value.axisVertical - let value_axisVertical_type : int32 = RuntimeType.UNDEFINED - value_axisVertical_type = runtimeType(value_axisVertical) - valueSerializer.writeInt8(value_axisVertical_type as int32) - if ((RuntimeType.UNDEFINED) != (value_axisVertical_type)) { - const value_axisVertical_value = value_axisVertical! - valueSerializer.writeNumber(value_axisVertical_value) - } - const value_pressure = value.pressure - valueSerializer.writeNumber(value_pressure) - const value_tiltX = value.tiltX - valueSerializer.writeNumber(value_tiltX) - const value_tiltY = value.tiltY - valueSerializer.writeNumber(value_tiltY) - const value_sourceTool = value.sourceTool - valueSerializer.writeInt32((value_sourceTool.valueOf() as int32)) - 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) - if ((RuntimeType.UNDEFINED) != (value_deviceId_type)) { - const value_deviceId_value = value_deviceId! - valueSerializer.writeNumber(value_deviceId_value) - } - const value_stopPropagation = value.stopPropagation - valueSerializer.holdAndWriteCallback(value_stopPropagation) + const base : MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) } writeOutlineOptions(value: OutlineOptions): void { let valueSerializer : Serializer = this @@ -20514,6 +20206,29 @@ export class Serializer extends SerializerBase { valueSerializer.writeLength(value_maxHeight_value) } } + writeTouchObject(value: TouchObject): void { + let valueSerializer : Serializer = this + const value_type = value.type + valueSerializer.writeInt32((value_type.valueOf() as int32)) + const value_id = value.id + valueSerializer.writeNumber(value_id) + const value_displayX = value.displayX + valueSerializer.writeNumber(value_displayX) + const value_displayY = value.displayY + valueSerializer.writeNumber(value_displayY) + const value_windowX = value.windowX + valueSerializer.writeNumber(value_windowX) + const value_windowY = value.windowY + valueSerializer.writeNumber(value_windowY) + const value_screenX = value.screenX + valueSerializer.writeNumber(value_screenX) + const value_screenY = value.screenY + valueSerializer.writeNumber(value_screenY) + const value_x = value.x + valueSerializer.writeNumber(value_x) + const value_y = value.y + valueSerializer.writeNumber(value_y) + } writePointLightStyle(value: PointLightStyle): void { let valueSerializer : Serializer = this const value_lightSource = value.lightSource diff --git a/arkoala-arkts/arkui/src/generated/shared/generated-utils.ts b/arkoala-arkts/arkui/src/generated/shared/generated-utils.ts index 1125a8361..d50044bd1 100644 --- a/arkoala-arkts/arkui/src/generated/shared/generated-utils.ts +++ b/arkoala-arkts/arkui/src/generated/shared/generated-utils.ts @@ -2,7 +2,7 @@ * TODO: move to compat */ -import { int32 } from "@koalaui/common" +import { int32 } from "@koalaui/common" export class GestureName { static readonly Tap = 0 @@ -19,3 +19,7 @@ export class GestureComponent { public value?: T public hasEvent?: Int32Array } + +export function unsafeCast(value: Object): T { + return value as T +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ts/type_check.ts b/arkoala-arkts/arkui/src/generated/ts/type_check.ts index bb2b92c21..012fa3bbb 100644 --- a/arkoala-arkts/arkui/src/generated/ts/type_check.ts +++ b/arkoala-arkts/arkui/src/generated/ts/type_check.ts @@ -7,10 +7,13 @@ import { DrawingCanvas } from "./../ArkDrawingCanvasMaterialized" import { PixelMap } from "./../ArkPixelMapMaterialized" import { NodeController, TextModifier, RectWidthStyle, RectHeightStyle, Want, LengthUnit, LengthMetrics } from "./../ArkArkui-externalInterfaces" import { FrameNode } from "./../ArkFrameNodeMaterialized" -import { UIContext, ClickEvent, CommonMethod, DismissReason, Rectangle, BlurStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, CommonConfiguration, ContentModifier, PickerTextStyle, PickerDialogButtonStyle, CustomBuilder, CommonShapeMethod, PointLightStyle, ComponentOptions, InputCounterOptions, TextDecorationOptions, ProvideOptions, AnimatableArithmetic, Context, Configuration, ExpectedFrameRateRange, FinishCallbackType, TouchTestStrategy, AnimateParam, MotionPathOptions, sharedTransitionOptions, GeometryTransitionOptions, TransitionHierarchyStrategy, TranslateOptions, ScaleOptions, AlignRuleOption, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, LocalizedAlignRuleOptions, ChainStyle, RotateOptions, TransitionOptions, TransitionEdge, TransitionEffects, DrawContext, PreviewParams, ItemDragInfo, EffectType, PreDragStatus, DragItemInfo, EventTarget, SourceType, SourceTool, RepeatMode, BlurStyleActivePolicy, ThemeColorMode, AdaptiveColor, ModalTransition, BackgroundBlurStyleOptions, BlurStyleOptions, ForegroundBlurStyleOptions, BlurOptions, BackgroundEffectOptions, ForegroundEffectOptions, ShadowType, MultiShadowOptions, SafeAreaType, SafeAreaEdge, LayoutSafeAreaType, LayoutSafeAreaEdge, SheetSize, BaseEvent, BorderImageOption, LinearGradient_common, HoverEvent, MouseEvent, AccessibilityHoverEvent, TouchObject, HistoricalPoint, TouchEvent, DragBehavior, Summary, UniformDataType, DragResult, BlendMode, BlendApplyType, DragEvent, IntentionCode, KeyEvent, BindOptions, DismissContentCoverAction, ContentCoverOptions, SheetTitleOptions, SheetType, SheetMode, ScrollSizeMode, SheetKeyboardAvoidMode, SheetDismiss, DismissSheetAction, SpringBackAction, SheetOptions, StateStyles, PopupMessageOptions, DismissPopupAction, PopupOptions, CustomPopupOptions, MenuPreviewMode, ContextMenuAnimationOptions, AnimationRange, ContextMenuOptions, MenuOptions, TouchTestInfo, RectResult, TouchResult, PixelStretchEffectOptions, ClickEffect, FadingEdgeOptions, NestedScrollOptions, MenuElement, SymbolGlyphModifier, OutlineStyle, DragPreviewMode, MenuPolicy, ImageModifier, DragPreviewOptions, DragInteractionOptions, InvertOptions, CircleShape, EllipseShape, PathShape, RectShape, PixelRoundPolicy, VisualEffect, Filter, AccessibilityCallback, MotionBlurOptions, BackgroundBrightnessOptions, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, LinearGradientBlurOptions, ComponentContent, OverlayOptions, Blender, VisibleAreaChangeCallback, CommonAttribute, CommonInterface, OverlayOffset, FractionStop, MotionBlurAnchor, LayoutBorderInfo, LayoutInfo, LayoutChild, GeometryInfo, SizeResult, Layoutable, Measurable, MeasureResult, NavDestinationInfo, NavigationInfo, RouterPageInfo, Theme, CaretOffset, ContentClipMode, ScrollableCommonMethod, EdgeEffectOptions, ScrollResult, OnWillScrollCallback, OnMoveHandler, LightSource, KeyframeAnimateParam, KeyframeState, Callback, VisibleAreaEventOptions, UICommonEvent, HoverCallback, UIGestureEvent, SelectionOptions, KeyboardAvoidMode } from "./../ArkCommonInterfaces" +import { UIContext, CommonMethod, DismissReason, Rectangle, BlurStyle, ShadowOptions, ShadowStyle, HoverModeAreaType, CommonConfiguration, ContentModifier, PickerTextStyle, PickerDialogButtonStyle, CustomBuilder, CommonShapeMethod, PointLightStyle, ComponentOptions, InputCounterOptions, TextDecorationOptions, ProvideOptions, AnimatableArithmetic, Context, Configuration, ExpectedFrameRateRange, FinishCallbackType, TouchTestStrategy, AnimateParam, MotionPathOptions, sharedTransitionOptions, GeometryTransitionOptions, TransitionHierarchyStrategy, TranslateOptions, ScaleOptions, AlignRuleOption, LocalizedHorizontalAlignParam, LocalizedVerticalAlignParam, LocalizedAlignRuleOptions, ChainStyle, RotateOptions, TransitionOptions, TransitionEdge, TransitionEffects, DrawContext, PreviewParams, ItemDragInfo, EffectType, PreDragStatus, DragItemInfo, EventTarget, SourceType, SourceTool, RepeatMode, BlurStyleActivePolicy, ThemeColorMode, AdaptiveColor, ModalTransition, BackgroundBlurStyleOptions, BlurStyleOptions, ForegroundBlurStyleOptions, BlurOptions, BackgroundEffectOptions, ForegroundEffectOptions, ShadowType, MultiShadowOptions, SafeAreaType, SafeAreaEdge, LayoutSafeAreaType, LayoutSafeAreaEdge, SheetSize, BorderImageOption, LinearGradient_common, TouchObject, HistoricalPoint, DragBehavior, Summary, UniformDataType, DragResult, BlendMode, BlendApplyType, IntentionCode, BindOptions, DismissContentCoverAction, ContentCoverOptions, SheetTitleOptions, SheetType, SheetMode, ScrollSizeMode, SheetKeyboardAvoidMode, SheetDismiss, DismissSheetAction, SpringBackAction, SheetOptions, StateStyles, PopupMessageOptions, DismissPopupAction, PopupOptions, CustomPopupOptions, MenuPreviewMode, ContextMenuAnimationOptions, AnimationRange, ContextMenuOptions, MenuOptions, TouchTestInfo, RectResult, TouchResult, PixelStretchEffectOptions, ClickEffect, FadingEdgeOptions, NestedScrollOptions, MenuElement, SymbolGlyphModifier, OutlineStyle, DragPreviewMode, MenuPolicy, ImageModifier, DragPreviewOptions, DragInteractionOptions, InvertOptions, CircleShape, EllipseShape, PathShape, RectShape, PixelRoundPolicy, VisualEffect, Filter, AccessibilityCallback, MotionBlurOptions, BackgroundBrightnessOptions, GestureRecognizerJudgeBeginCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, LinearGradientBlurOptions, ComponentContent, OverlayOptions, Blender, VisibleAreaChangeCallback, CommonAttribute, CommonInterface, OverlayOffset, FractionStop, MotionBlurAnchor, LayoutBorderInfo, LayoutInfo, LayoutChild, GeometryInfo, SizeResult, Layoutable, Measurable, MeasureResult, NavDestinationInfo, NavigationInfo, RouterPageInfo, Theme, CaretOffset, ContentClipMode, ScrollableCommonMethod, EdgeEffectOptions, ScrollResult, OnWillScrollCallback, OnMoveHandler, LightSource, KeyframeAnimateParam, KeyframeState, Callback, VisibleAreaEventOptions, HoverCallback, UIGestureEvent, SelectionOptions, KeyboardAvoidMode } from "./../ArkCommonInterfaces" +import { ESObject } from "./../ArkArkui-stubsInterfaces" +import { Point } from "./../ArkPointInterfaces" import { Root, ComponentRoot } from "./../ArkStaticComponentsInterfaces" import { EventEmulator } from "./../ArkEventEmulatorMaterialized" -import { Literal_Want_want, Callback_Void, Callback_DismissDialogAction_Void, Callback_Number_Void, Literal_Number_day_month_year, Type_CalendarInterface_value, Callback_CalendarSelectedDate_Void, Callback_CalendarRequestedData_Void, Callback_Date_Void, Callback_Boolean_Void, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Literal_TransitionEffect_appear_disappear, Tuple_Number_Number, Callback_DismissContentCoverAction_Void, Type_SheetOptions_detents, Callback_SheetDismiss_Void, Callback_DismissSheetAction_Void, Callback_SpringBackAction_Void, Callback_SheetType_Void, Literal_String_value_Callback_Void_action, Literal_Boolean_isVisible, Literal_ResourceColor_color, Callback_Literal_Boolean_isVisible_Void, Callback_DismissPopupAction_Void, Literal_Number_offset_span, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, Type_CommonMethod_linearGradient_value, Tuple_ResourceColor_Number, Type_CommonMethod_sweepGradient_value, Tuple_Length_Length, Type_CommonMethod_radialGradient_value, Literal_Alignment_align, Callback_Array_TouchTestInfo_TouchResult, Callback_ClickEvent_Void, Callback_Boolean_HoverEvent_Void, Callback_MouseEvent_Void, Callback_TouchEvent_Void, Callback_KeyEvent_Void, Callback_KeyEvent_Boolean, Callback_Area_Area_Void, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, Callback_DragEvent_String_Void, Callback_PreDragStatus_Void, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_TouchEvent_HitTestMode, Literal_Empty, Callback_Number_ScrollState_Void, Literal_String_key_Any_defaultValue, Callback_DatePickerResult_Void, Callback_TerminationInfo_Void, Literal_Number_errcode_String_msg, Callback_FormCallbackInfo_Void, Callback_Literal_Number_errcode_String_msg_Void, Callback_Any_Void, Tuple_Union_ResourceColor_LinearGradient_common_Number, Callback_GestureEvent_Void, Literal_Number_duration_fingers_Boolean_repeat, Literal_Number_distance_fingers_PanDirection_direction, Literal_Number_fingers_speed_SwipeDirection_direction, Literal_Number_distance_fingers, Literal_Number_angle_fingers, Callback_Number_Tuple_Number_Number, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number, Literal_Number_offsetRemain, Callback_Number_Number_ComputedBarAttribute, Callback_Number_Number_Void, Callback_ItemDragInfo_Number_Callback_Any, Callback_Any, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Callback_String_Void, Type_ImageAttribute_onComplete_callback_event, Callback_Type_ImageAttribute_onComplete_callback_event_Void, Callback_Number_Number_Number_Void, Callback_Number_Boolean, Callback_Number_Number_Boolean, Callback_SwipeActionState_Void, Callback_ClickEvent_LocationButtonOnClickResult_Void, Callback_Boolean, Callback_NavDestinationContext_Void, Callback_PopInfo_Void, Tuple_Dimension_Dimension, Callback_NavigationTitleMode_Void, Callback_NavigationMode_Void, Callback_String_Unknown_Void, Type_NavigationAttribute_customNavContentTransition_delegate, Callback_NavigationTransitionProxy_Void, Literal_String_target_NavigationType_type, Callback_Number_Number_PanelMode_Void, Callback_ClickEvent_PasteButtonOnClickResult_Void, Callback_Array_Number_Void, Callback_RefreshStatus_Void, Callback_RichEditorSelection_Void, Callback_RichEditorRange_Void, Callback_RichEditorInsertValue_Boolean, Callback_RichEditorTextSpanResult_Void, Callback_TextRange_Void, Callback_RichEditorDeleteValue_Boolean, Callback_RichEditorChangeValue_Boolean, Callback_CutEvent_Void, Callback_CopyEvent_Void, Callback_ClickEvent_SaveButtonOnClickResult_Void, Literal_Boolean_next_Axis_direction, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_Number_String_Void, Callback_Number_SliderChangeMode_Void, Literal_Number_index, Callback_SwiperContentTransitionProxy_Void, Callback_TabContentTransitionProxy_Void, Callback_EnterKeyType_Void, Callback_String_PasteEvent_Void, Callback_StyledStringChangeValue_Boolean, Callback_String_Number_Void, Type_TextPickerAttribute_onChange_callback, Callback_TextPickerResult_Void, Callback_TimePickerResult_Void, Callback_FullscreenInfo_Void, Callback_PreparedInfo_Void, Callback_PlaybackInfo_Void, Literal_String_script_Callback_String_Void_callback, Literal_String_baseUrl_data_encoding_historyUrl_mimeType, Literal_Union_String_Resource_url_Array_Header_headers, Literal_Object_object_String_name_Array_String_methodList, Literal_Union_String_WebResourceRequest_data, Literal_Function_handler_Object_error, Literal_Object_detail, Literal_Function_callback_Object_fileSelector, Callback_OnPageEndEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_OnGeolocationShowEvent_Void, Callback_OnAlertEvent_Boolean, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnConfirmEvent_Boolean, Callback_OnPromptEvent_Boolean, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnRefreshAccessedHistoryEvent_Void, Type_WebAttribute_onUrlLoadIntercept_callback, Callback_Literal_Function_handler_Object_error_Void, Callback_OnRenderExitedEvent_Void, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Callback_Literal_Function_callback_Object_fileSelector_Void, Callback_OnResourceLoadEvent_Void, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnPermissionRequestEvent_Void, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnContextMenuShowEvent_Boolean, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnClientAuthenticationEvent_Void, Callback_OnWindowNewEvent_Void, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnLoadInterceptEvent_Boolean, Callback_OnOverScrollEvent_Void, Callback_NativeEmbedDataInfo_Void, Callback_NativeEmbedTouchInfo_Void, Literal_String_plainText, Callback_Literal_String_plainText_Void, Literal_Number_surfaceHeight_surfaceWidth, Type_XComponentInterface_value, Callback_UIExtensionProxy_Void, Literal_Number_code_Want_want, Callback_Literal_Number_code_Want_want_Void } from "./../SyntheticDeclarations" +import { ClickEvent } from "./../ArkClickEventMaterialized" +import { Literal_Want_want, Callback_Void, Callback_DismissDialogAction_Void, Callback_Number_Void, Literal_Number_day_month_year, Type_CalendarInterface_value, Callback_CalendarSelectedDate_Void, Callback_CalendarRequestedData_Void, Callback_Date_Void, Callback_Boolean_Void, Literal_String_anchor_HorizontalAlign_align, Literal_String_anchor_VerticalAlign_align, Literal_TransitionEffect_appear_disappear, Tuple_Number_Number, Callback_DismissContentCoverAction_Void, Type_SheetOptions_detents, Callback_SheetDismiss_Void, Callback_DismissSheetAction_Void, Callback_SpringBackAction_Void, Callback_SheetType_Void, Literal_String_value_Callback_Void_action, Literal_Boolean_isVisible, Literal_ResourceColor_color, Callback_Literal_Boolean_isVisible_Void, Callback_DismissPopupAction_Void, Literal_Number_offset_span, Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs, Type_CommonMethod_linearGradient_value, Tuple_ResourceColor_Number, Type_CommonMethod_sweepGradient_value, Tuple_Length_Length, Type_CommonMethod_radialGradient_value, Literal_Alignment_align, Callback_Array_TouchTestInfo_TouchResult, Callback_ClickEvent_Void, Callback_Boolean_HoverEvent_Void, Callback_MouseEvent_Void, Callback_TouchEvent_Void, Callback_KeyEvent_Void, Callback_KeyEvent_Boolean, Callback_Area_Area_Void, Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo, Callback_DragEvent_String_Void, Callback_PreDragStatus_Void, Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult, Callback_TouchEvent_HitTestMode, Literal_Empty, Callback_Number_Number_Void, Literal_String_key_Any_defaultValue, Callback_DatePickerResult_Void, Callback_TerminationInfo_Void, Literal_Number_errcode_String_msg, Callback_FormCallbackInfo_Void, Callback_Literal_Number_errcode_String_msg_Void, Callback_Any_Void, Tuple_Union_ResourceColor_LinearGradient_common_Number, Callback_GestureEvent_Void, Literal_Number_duration_fingers_Boolean_repeat, Literal_Number_distance_fingers_PanDirection_direction, Literal_Number_fingers_speed_SwipeDirection_direction, Literal_Number_distance_fingers, Literal_Number_angle_fingers, Callback_Number_Tuple_Number_Number, Callback_Number_Tuple_Number_Number_Number_Number, Tuple_Number_Number_Number_Number, Literal_Number_offsetRemain, Callback_Number_Number_ComputedBarAttribute, Callback_ItemDragInfo_Number_CustomBuilder, Callback_ItemDragInfo_Void, Callback_ItemDragInfo_Number_Number_Void, Callback_ItemDragInfo_Number_Void, Callback_ItemDragInfo_Number_Number_Boolean_Void, Callback_Number_ScrollState_Literal_Number_offsetRemain, Callback_String_Void, Type_ImageAttribute_onComplete_callback_event, Callback_Type_ImageAttribute_onComplete_callback_event_Void, Callback_Number_Number_Number_Void, Callback_Number_Boolean, Callback_Number_Number_Boolean, Callback_SwipeActionState_Void, Callback_ClickEvent_LocationButtonOnClickResult_Void, Callback_Boolean, Callback_NavDestinationContext_Void, Callback_PopInfo_Void, Tuple_Dimension_Dimension, Callback_NavigationTitleMode_Void, Callback_NavigationMode_Void, Callback_String_Unknown_Void, Type_NavigationAttribute_customNavContentTransition_delegate, Callback_NavigationTransitionProxy_Void, Literal_String_target_NavigationType_type, Callback_Number_Number_PanelMode_Void, Callback_ClickEvent_PasteButtonOnClickResult_Void, Callback_Array_Number_Void, Callback_RefreshStatus_Void, Callback_RichEditorSelection_Void, Callback_RichEditorRange_Void, Callback_RichEditorInsertValue_Boolean, Callback_RichEditorTextSpanResult_Void, Callback_TextRange_Void, Callback_RichEditorDeleteValue_Boolean, Callback_RichEditorChangeValue_Boolean, Callback_CutEvent_Void, Callback_CopyEvent_Void, Callback_ClickEvent_SaveButtonOnClickResult_Void, Literal_Boolean_next_Axis_direction, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_Number_String_Void, Callback_Number_SliderChangeMode_Void, Literal_Number_index, Callback_SwiperContentTransitionProxy_Void, Callback_TabContentTransitionProxy_Void, Callback_EnterKeyType_Void, Callback_String_PasteEvent_Void, Callback_StyledStringChangeValue_Boolean, Callback_String_Number_Void, Type_TextPickerAttribute_onChange_callback, Callback_TextPickerResult_Void, Callback_TimePickerResult_Void, Callback_FullscreenInfo_Void, Callback_PreparedInfo_Void, Callback_PlaybackInfo_Void, Literal_String_script_Callback_String_Void_callback_, Literal_String_baseUrl_data_encoding_historyUrl_mimeType, Literal_Union_String_Resource_url_Array_Header_headers, Literal_Object_object__String_name_Array_String_methodList, Literal_Union_String_WebResourceRequest_data, Literal_Function_handler_Object_error, Literal_Object_detail, Literal_Function_callback__Object_fileSelector, Callback_OnPageEndEvent_Void, Callback_OnPageBeginEvent_Void, Callback_OnProgressChangeEvent_Void, Callback_OnTitleReceiveEvent_Void, Callback_OnGeolocationShowEvent_Void, Callback_OnAlertEvent_Boolean, Callback_OnBeforeUnloadEvent_Boolean, Callback_OnConfirmEvent_Boolean, Callback_OnPromptEvent_Boolean, Callback_OnConsoleEvent_Boolean, Callback_OnErrorReceiveEvent_Void, Callback_OnHttpErrorReceiveEvent_Void, Callback_OnDownloadStartEvent_Void, Callback_OnRefreshAccessedHistoryEvent_Void, Type_WebAttribute_onUrlLoadIntercept_callback, Callback_Literal_Function_handler_Object_error_Void, Callback_OnRenderExitedEvent_Void, Callback_OnShowFileSelectorEvent_Boolean, Callback_Literal_Object_detail_Boolean, Type_WebAttribute_onFileSelectorShow_callback, Callback_OnResourceLoadEvent_Void, Callback_OnScaleChangeEvent_Void, Callback_OnHttpAuthRequestEvent_Boolean, Callback_OnInterceptRequestEvent_WebResourceResponse, Callback_OnPermissionRequestEvent_Void, Callback_OnScreenCaptureRequestEvent_Void, Callback_OnContextMenuShowEvent_Boolean, Callback_OnSearchResultReceiveEvent_Void, Callback_OnScrollEvent_Void, Callback_OnSslErrorEventReceiveEvent_Void, Callback_OnClientAuthenticationEvent_Void, Callback_OnWindowNewEvent_Void, Callback_OnTouchIconUrlReceivedEvent_Void, Callback_OnFaviconReceivedEvent_Void, Callback_OnPageVisibleEvent_Void, Callback_OnDataResubmittedEvent_Void, Callback_OnAudioStateChangedEvent_Void, Callback_OnFirstContentfulPaintEvent_Void, Callback_OnLoadInterceptEvent_Boolean, Callback_OnOverScrollEvent_Void, Callback_NativeEmbedDataInfo_Void, Callback_NativeEmbedTouchInfo_Void, Literal_String_plainText, Callback_Literal_String_plainText_Void, Literal_Number_surfaceHeight_surfaceWidth, Type_XComponentInterface_value, Callback_UIExtensionProxy_Void, Literal_Number_code_Want_want, Callback_Literal_Number_code_Want_want_Void } from "./../SyntheticDeclarations" import { AbilityComponentInterface, AbilityComponentAttribute } from "./../ArkAbilityComponentInterfaces" import { SheetInfo, DismissDialogAction, ActionSheetButtonOptions, ActionSheetOffset, ActionSheetOptions } from "./../ArkActionSheetInterfaces" import { Resource } from "./../ArkResourceInterfaces" @@ -47,7 +50,14 @@ import { ColumnOptions, ColumnInterface, ColumnAttribute } from "./../ArkColumnI import { ColumnSplitInterface, ColumnSplitAttribute, ColumnSplitDividerStyle } from "./../ArkColumnSplitInterfaces" import { ICurve } from "./../ArkICurveMaterialized" import { DrawModifier } from "./../ArkDrawModifierMaterialized" +import { BaseEvent } from "./../ArkBaseEventMaterialized" +import { HoverEvent } from "./../ArkHoverEventMaterialized" +import { MouseEvent } from "./../ArkMouseEventMaterialized" +import { AccessibilityHoverEvent } from "./../ArkAccessibilityHoverEventMaterialized" +import { TouchEvent } from "./../ArkTouchEventMaterialized" import { PixelMapMock } from "./../ArkPixelMapMockMaterialized" +import { DragEvent } from "./../ArkDragEventMaterialized" +import { KeyEvent } from "./../ArkKeyEventMaterialized" import { ProgressMask } from "./../ArkProgressMaskMaterialized" import { AttributeModifier, CustomComponent, AbstractProperty, IPropertySubscriber, ISinglePropertyChangeSubscriber, SubscribaleAbstract, NavigationAttribute, CommonTransition, PageTransitionEnterInterface, PageTransitionExitInterface } from "./../../handwritten" import { ResizableOptions, DrawableDescriptor, DrawingColorFilter, ResolutionQuality, DrawingLattice, ImageRenderMode, ImageContent, DynamicRangeMode, ImageInterpolation, ImageInterface, ImageAttribute, ImageSourceSize, ImageErrorCallback, ImageError } from "./../ArkImageInterfaces" @@ -56,13 +66,14 @@ import { EllipseAttribute, EllipseOptions, EllipseInterface } from "./../ArkElli import { PathAttribute, PathOptions, PathInterface } from "./../ArkPathInterfaces" import { RectAttribute, RectOptions, RoundedRectOptions, RectInterface } from "./../ArkRectInterfaces" import { GestureModifier } from "./../ArkGestureModifierMaterialized" -import { GestureInfo, BaseGestureEvent, GestureJudgeResult, GestureControl_GestureType, GestureMask, GestureHandler, GesturePriority, PanDirection, SwipeDirection, GestureMode, FingerInfo, TapGestureEvent, LongPressGestureEvent, PanGestureEvent, PinchGestureEvent, RotationGestureEvent, SwipeGestureEvent, GestureEvent, GestureInterface, TapGestureParameters, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, SwipeGestureInterface, PinchGestureInterface, RotationGestureInterface, GestureGroupInterface, TapGestureHandlerOptions, TapGestureHandler, LongPressGestureHandlerOptions, LongPressGestureHandler, PanGestureHandlerOptions, PanGestureHandler, SwipeGestureHandlerOptions, SwipeGestureHandler, PinchGestureHandlerOptions, PinchGestureHandler, RotationGestureHandlerOptions, RotationGestureHandler, GestureGroupGestureHandlerOptions, GestureRecognizerState } from "./../ArkGestureInterfaces" +import { GestureInfo, GestureJudgeResult, GestureControl_GestureType, GestureMask, GestureHandler, GesturePriority, PanDirection, SwipeDirection, GestureMode, FingerInfo, GestureInterface, TapGestureParameters, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, SwipeGestureInterface, PinchGestureInterface, RotationGestureInterface, GestureGroupInterface, TapGestureHandlerOptions, TapGestureHandler, LongPressGestureHandlerOptions, LongPressGestureHandler, PanGestureHandlerOptions, PanGestureHandler, SwipeGestureHandlerOptions, SwipeGestureHandler, PinchGestureHandlerOptions, PinchGestureHandler, RotationGestureHandlerOptions, RotationGestureHandler, GestureGroupGestureHandlerOptions, GestureRecognizerState } from "./../ArkGestureInterfaces" +import { BaseGestureEvent } from "./../ArkBaseGestureEventMaterialized" import { View } from "./../ArkViewMaterialized" import { TextContentControllerBase } from "./../ArkTextContentControllerBaseMaterialized" -import { ScrollState, ListItemAlign, ListItemGroupArea, StickyStyle, ChainEdgeEffect, ScrollSnapAlign, ChainAnimationOptions, CloseSwipeActionOptions, VisibleListContentInfo, ListOptions, ListInterface, ListAttribute, ListDividerOptions, OnScrollVisibleContentChangeCallback } from "./../ArkListInterfaces" -import { ScrollOnWillScrollCallback, ScrollAlign, ScrollDirection, OffsetResult, ScrollEdgeOptions, ScrollToIndexOptions, ScrollAnimationOptions, OffsetOptions, ScrollOptions, ScrollPageOptions, ScrollSnapOptions, ScrollInterface, ScrollAttribute, OnScrollFrameBeginHandlerResult, OnScrollEdgeCallback, OnScrollFrameBeginCallback } from "./../ArkScrollInterfaces" +import { ScrollOnWillScrollCallback, ScrollOnScrollCallback, ScrollAlign, ScrollDirection, OffsetResult, ScrollEdgeOptions, ScrollToIndexOptions, ScrollAnimationOptions, OffsetOptions, ScrollOptions, ScrollPageOptions, ScrollSnapOptions, ScrollInterface, ScrollAttribute, OnScrollFrameBeginHandlerResult, OnScrollEdgeCallback, OnScrollFrameBeginCallback } from "./../ArkScrollInterfaces" import { DynamicNode } from "./../ArkDynamicNodeMaterialized" import { ChildrenMainSize } from "./../ArkChildrenMainSizeMaterialized" +import { UICommonEvent } from "./../ArkUICommonEventMaterialized" import { EnvPropsOptions, PersistPropsOptions } from "./../ArkCommonTsEtsApiInterfaces" import { Scene, ModelType, SceneOptions, Component3DInterface, Component3DAttribute } from "./../ArkComponent3dInterfaces" import { ContainerSpanInterface, ContainerSpanAttribute } from "./../ArkContainerSpanInterfaces" @@ -86,6 +97,13 @@ import { WindowStatusType, FolderStackOptions, FolderStackInterface, FolderStack import { FormDimension, FormRenderingMode, FormShape, FormInfo, FormComponentInterface, FormComponentAttribute, FormCallbackInfo } from "./../ArkFormComponentInterfaces" import { FormLinkOptions, FormLinkInterface, FormLinkAttribute } from "./../ArkFormLinkInterfaces" import { GaugeOptions, GaugeInterface, GaugeAttribute, GaugeShadowOptions, GaugeIndicatorOptions, GaugeConfiguration } from "./../ArkGaugeInterfaces" +import { TapGestureEvent } from "./../ArkTapGestureEventMaterialized" +import { LongPressGestureEvent } from "./../ArkLongPressGestureEventMaterialized" +import { PanGestureEvent } from "./../ArkPanGestureEventMaterialized" +import { PinchGestureEvent } from "./../ArkPinchGestureEventMaterialized" +import { RotationGestureEvent } from "./../ArkRotationGestureEventMaterialized" +import { SwipeGestureEvent } from "./../ArkSwipeGestureEventMaterialized" +import { GestureEvent } from "./../ArkGestureEventMaterialized" import { PanGestureOptions } from "./../ArkPanGestureOptionsMaterialized" import { ScrollableTargetInfo } from "./../ArkScrollableTargetInfoMaterialized" import { EventTargetInfo } from "./../ArkEventTargetInfoMaterialized" @@ -93,6 +111,7 @@ import { GestureRecognizer } from "./../ArkGestureRecognizerMaterialized" import { PanRecognizer } from "./../ArkPanRecognizerMaterialized" import { GridLayoutOptions, GridInterface, GridAttribute, GridDirection, GridItemAlignment, ComputedBarAttribute } from "./../ArkGridInterfaces" import { Scroller } from "./../ArkScrollerMaterialized" +import { ScrollState, ListItemAlign, ListItemGroupArea, StickyStyle, ChainEdgeEffect, ScrollSnapAlign, ChainAnimationOptions, CloseSwipeActionOptions, VisibleListContentInfo, ListOptions, ListInterface, ListAttribute, ListDividerOptions, OnScrollVisibleContentChangeCallback } from "./../ArkListInterfaces" import { GridItemStyle, GridItemOptions, GridItemInterface, GridItemAttribute } from "./../ArkGridItemInterfaces" import { GridColColumnOption, GridColOptions, GridColInterface, GridColAttribute } from "./../ArkGridColInterfaces" import { SizeType, GridContainerOptions, GridContainerInterface, GridContainerAttribute } from "./../ArkGridContainerInterfaces" @@ -150,7 +169,7 @@ import { LayoutManager } from "./../ArkLayoutManagerMaterialized" import { StyledString } from "./../ArkStyledStringMaterialized" import { StyledStringController } from "./../ArkStyledStringControllerMaterialized" import { MutableStyledString } from "./../ArkMutableStyledStringMaterialized" -import { EnterKeyType, OnTextSelectionChangeCallback, OnContentScrollCallback, OnPasteCallback, InputType, UnderlineColor, SubmitEvent, TextInputOptions, TextInputStyle, TextInputInterface, TextInputAttribute, PasswordIcon, OnSubmitCallback } from "./../ArkTextInputInterfaces" +import { EnterKeyType, OnTextSelectionChangeCallback, OnContentScrollCallback, OnPasteCallback, InputType, UnderlineColor, TextInputOptions, TextInputStyle, TextInputInterface, TextInputAttribute, PasswordIcon, OnSubmitCallback } from "./../ArkTextInputInterfaces" import { EditMenuOptions } from "./../ArkEditMenuOptionsMaterialized" import { RichTextInterface, RichTextAttribute } from "./../ArkRichTextInterfaces" import { RootSceneSession, RootSceneInterface, RootSceneAttribute } from "./../ArkRootSceneInterfaces" @@ -192,6 +211,7 @@ import { TextClockController } from "./../ArkTextClockControllerMaterialized" import { TextClockConfiguration, TextClockOptions, TextClockInterface, TextClockAttribute } from "./../ArkTextClockInterfaces" import { TextBaseController } from "./../ArkTextBaseControllerMaterialized" import { TextMenuItemId } from "./../ArkTextMenuItemIdMaterialized" +import { SubmitEvent } from "./../ArkSubmitEventMaterialized" import { TextInputController } from "./../ArkTextInputControllerMaterialized" import { TextPickerDialog } from "./../ArkTextPickerDialogMaterialized" import { TextTimerController } from "./../ArkTextTimerControllerMaterialized" @@ -598,31 +618,31 @@ export class TypeChecker { } } static isAlignment(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (Alignment.TOP_START))) { + if (((value) === (Alignment.TopStart))) { return true } - else if (((value) === (Alignment.TOP))) { + else if (((value) === (Alignment.Top))) { return true } - else if (((value) === (Alignment.TOP_END))) { + else if (((value) === (Alignment.TopEnd))) { return true } - else if (((value) === (Alignment.START))) { + else if (((value) === (Alignment.Start))) { return true } - else if (((value) === (Alignment.CENTER))) { + else if (((value) === (Alignment.Center))) { return true } - else if (((value) === (Alignment.END))) { + else if (((value) === (Alignment.End))) { return true } - else if (((value) === (Alignment.BOTTOM_START))) { + else if (((value) === (Alignment.BottomStart))) { return true } - else if (((value) === (Alignment.BOTTOM))) { + else if (((value) === (Alignment.Bottom))) { return true } - else if (((value) === (Alignment.BOTTOM_END))) { + else if (((value) === (Alignment.BottomEnd))) { return true } else { @@ -802,16 +822,16 @@ export class TypeChecker { } } static isAnimationStatus(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (AnimationStatus.INITIAL))) { + if (((value) === (AnimationStatus.Initial))) { return true } - else if (((value) === (AnimationStatus.RUNNING))) { + else if (((value) === (AnimationStatus.Running))) { return true } - else if (((value) === (AnimationStatus.PAUSED))) { + else if (((value) === (AnimationStatus.Paused))) { return true } - else if (((value) === (AnimationStatus.STOPPED))) { + else if (((value) === (AnimationStatus.Stopped))) { return true } else { @@ -973,10 +993,10 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof AttributeModifier") } static isAxis(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (Axis.VERTICAL))) { + if (((value) === (Axis.Vertical))) { return true } - else if (((value) === (Axis.HORIZONTAL))) { + else if (((value) === (Axis.Horizontal))) { return true } else { @@ -1079,13 +1099,13 @@ export class TypeChecker { } } static isBadgePosition(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (BadgePosition.RIGHT_TOP))) { + if (((value) === (BadgePosition.RightTop))) { return true } - else if (((value) === (BadgePosition.RIGHT))) { + else if (((value) === (BadgePosition.Right))) { return true } - else if (((value) === (BadgePosition.LEFT))) { + else if (((value) === (BadgePosition.Left))) { return true } else { @@ -1139,10 +1159,10 @@ export class TypeChecker { } } static isBarMode(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (BarMode.SCROLLABLE))) { + if (((value) === (BarMode.Scrollable))) { return true } - else if (((value) === (BarMode.FIXED))) { + else if (((value) === (BarMode.Fixed))) { return true } else { @@ -1150,10 +1170,10 @@ export class TypeChecker { } } static isBarPosition(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (BarPosition.START))) { + if (((value) === (BarPosition.Start))) { return true } - else if (((value) === (BarPosition.END))) { + else if (((value) === (BarPosition.End))) { return true } else { @@ -1192,13 +1212,13 @@ export class TypeChecker { } } static isBarState(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (BarState.OFF))) { + if (((value) === (BarState.Off))) { return true } - else if (((value) === (BarState.AUTO))) { + else if (((value) === (BarState.Auto))) { return true } - else if (((value) === (BarState.ON))) { + else if (((value) === (BarState.On))) { return true } else { @@ -1446,13 +1466,13 @@ export class TypeChecker { } } static isBlurStyle(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (BlurStyle.THIN))) { + if (((value) === (BlurStyle.Thin))) { return true } - else if (((value) === (BlurStyle.REGULAR))) { + else if (((value) === (BlurStyle.Regular))) { return true } - else if (((value) === (BlurStyle.THICK))) { + else if (((value) === (BlurStyle.Thick))) { return true } else if (((value) === (BlurStyle.BACKGROUND_THIN))) { @@ -1592,13 +1612,13 @@ export class TypeChecker { } } static isBorderStyle(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (BorderStyle.DOTTED))) { + if (((value) === (BorderStyle.Dotted))) { return true } - else if (((value) === (BorderStyle.DASHED))) { + else if (((value) === (BorderStyle.Dashed))) { return true } - else if (((value) === (BorderStyle.SOLID))) { + else if (((value) === (BorderStyle.Solid))) { return true } else { @@ -1631,10 +1651,10 @@ export class TypeChecker { } } static isBreakpointsReference(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (BreakpointsReference.WINDOW_SIZE))) { + if (((value) === (BreakpointsReference.WindowSize))) { return true } - else if (((value) === (BreakpointsReference.COMPONENT_SIZE))) { + else if (((value) === (BreakpointsReference.ComponentSize))) { return true } else { @@ -1779,13 +1799,13 @@ export class TypeChecker { } } static isButtonType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (ButtonType.CAPSULE))) { + if (((value) === (ButtonType.Capsule))) { return true } - else if (((value) === (ButtonType.CIRCLE))) { + else if (((value) === (ButtonType.Circle))) { return true } - else if (((value) === (ButtonType.NORMAL))) { + else if (((value) === (ButtonType.Normal))) { return true } else if (((value) === (ButtonType.ROUNDED_RECTANGLE))) { @@ -1796,16 +1816,16 @@ export class TypeChecker { } } static isCacheMode(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (CacheMode.DEFAULT))) { + if (((value) === (CacheMode.Default))) { return true } - else if (((value) === (CacheMode.NONE))) { + else if (((value) === (CacheMode.None))) { return true } - else if (((value) === (CacheMode.ONLINE))) { + else if (((value) === (CacheMode.Online))) { return true } - else if (((value) === (CacheMode.ONLY))) { + else if (((value) === (CacheMode.Only))) { return true } else { @@ -2506,40 +2526,40 @@ export class TypeChecker { } } static isColor(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (Color.WHITE))) { + if (((value) === (Color.White))) { return true } - else if (((value) === (Color.BLACK))) { + else if (((value) === (Color.Black))) { return true } - else if (((value) === (Color.BLUE))) { + else if (((value) === (Color.Blue))) { return true } - else if (((value) === (Color.BROWN))) { + else if (((value) === (Color.Brown))) { return true } - else if (((value) === (Color.GRAY))) { + else if (((value) === (Color.Gray))) { return true } - else if (((value) === (Color.GREEN))) { + else if (((value) === (Color.Green))) { return true } - else if (((value) === (Color.GREY))) { + else if (((value) === (Color.Grey))) { return true } - else if (((value) === (Color.ORANGE))) { + else if (((value) === (Color.Orange))) { return true } - else if (((value) === (Color.PINK))) { + else if (((value) === (Color.Pink))) { return true } - else if (((value) === (Color.RED))) { + else if (((value) === (Color.Red))) { return true } - else if (((value) === (Color.YELLOW))) { + else if (((value) === (Color.Yellow))) { return true } - else if (((value) === (Color.TRANSPARENT))) { + else if (((value) === (Color.Transparent))) { return true } else { @@ -3431,22 +3451,22 @@ export class TypeChecker { } } static isContextMenuInputFieldType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (ContextMenuInputFieldType.NONE))) { + if (((value) === (ContextMenuInputFieldType.None))) { return true } - else if (((value) === (ContextMenuInputFieldType.PLAIN_TEXT))) { + else if (((value) === (ContextMenuInputFieldType.PlainText))) { return true } - else if (((value) === (ContextMenuInputFieldType.PASSWORD))) { + else if (((value) === (ContextMenuInputFieldType.Password))) { return true } - else if (((value) === (ContextMenuInputFieldType.NUMBER))) { + else if (((value) === (ContextMenuInputFieldType.Number))) { return true } - else if (((value) === (ContextMenuInputFieldType.TELEPHONE))) { + else if (((value) === (ContextMenuInputFieldType.Telephone))) { return true } - else if (((value) === (ContextMenuInputFieldType.OTHER))) { + else if (((value) === (ContextMenuInputFieldType.Other))) { return true } else { @@ -3454,10 +3474,10 @@ export class TypeChecker { } } static isContextMenuMediaType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (ContextMenuMediaType.NONE))) { + if (((value) === (ContextMenuMediaType.None))) { return true } - else if (((value) === (ContextMenuMediaType.IMAGE))) { + else if (((value) === (ContextMenuMediaType.Image))) { return true } else { @@ -3518,13 +3538,13 @@ export class TypeChecker { } } static isContextMenuSourceType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (ContextMenuSourceType.NONE))) { + if (((value) === (ContextMenuSourceType.None))) { return true } - else if (((value) === (ContextMenuSourceType.MOUSE))) { + else if (((value) === (ContextMenuSourceType.Mouse))) { return true } - else if (((value) === (ContextMenuSourceType.LONG_PRESS))) { + else if (((value) === (ContextMenuSourceType.LongPress))) { return true } else { @@ -3554,13 +3574,13 @@ export class TypeChecker { } } static isCopyOptions(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (CopyOptions.NONE))) { + if (((value) === (CopyOptions.None))) { return true } - else if (((value) === (CopyOptions.IN_APP))) { + else if (((value) === (CopyOptions.InApp))) { return true } - else if (((value) === (CopyOptions.LOCAL_DEVICE))) { + else if (((value) === (CopyOptions.LocalDevice))) { return true } else if (((value) === (CopyOptions.CROSS_DEVICE))) { @@ -3665,43 +3685,43 @@ export class TypeChecker { } } static isCurve(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (Curve.LINEAR))) { + if (((value) === (Curve.Linear))) { return true } - else if (((value) === (Curve.EASE))) { + else if (((value) === (Curve.Ease))) { return true } - else if (((value) === (Curve.EASE_IN))) { + else if (((value) === (Curve.EaseIn))) { return true } - else if (((value) === (Curve.EASE_OUT))) { + else if (((value) === (Curve.EaseOut))) { return true } - else if (((value) === (Curve.EASE_IN_OUT))) { + else if (((value) === (Curve.EaseInOut))) { return true } - else if (((value) === (Curve.FAST_OUT_SLOW_IN))) { + else if (((value) === (Curve.FastOutSlowIn))) { return true } - else if (((value) === (Curve.LINEAR_OUT_SLOW_IN))) { + else if (((value) === (Curve.LinearOutSlowIn))) { return true } - else if (((value) === (Curve.FAST_OUT_LINEAR_IN))) { + else if (((value) === (Curve.FastOutLinearIn))) { return true } - else if (((value) === (Curve.EXTREME_DECELERATION))) { + else if (((value) === (Curve.ExtremeDeceleration))) { return true } - else if (((value) === (Curve.SHARP))) { + else if (((value) === (Curve.Sharp))) { return true } - else if (((value) === (Curve.RHYTHM))) { + else if (((value) === (Curve.Rhythm))) { return true } - else if (((value) === (Curve.SMOOTH))) { + else if (((value) === (Curve.Smooth))) { return true } - else if (((value) === (Curve.FRICTION))) { + else if (((value) === (Curve.Friction))) { return true } else { @@ -4062,10 +4082,10 @@ export class TypeChecker { } } static isDataPanelType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (DataPanelType.LINE))) { + if (((value) === (DataPanelType.Line))) { return true } - else if (((value) === (DataPanelType.CIRCLE))) { + else if (((value) === (DataPanelType.Circle))) { return true } else { @@ -4286,34 +4306,34 @@ export class TypeChecker { } } static isDialogAlignment(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (DialogAlignment.TOP))) { + if (((value) === (DialogAlignment.Top))) { return true } - else if (((value) === (DialogAlignment.CENTER))) { + else if (((value) === (DialogAlignment.Center))) { return true } - else if (((value) === (DialogAlignment.BOTTOM))) { + else if (((value) === (DialogAlignment.Bottom))) { return true } - else if (((value) === (DialogAlignment.DEFAULT))) { + else if (((value) === (DialogAlignment.Default))) { return true } - else if (((value) === (DialogAlignment.TOP_START))) { + else if (((value) === (DialogAlignment.TopStart))) { return true } - else if (((value) === (DialogAlignment.TOP_END))) { + else if (((value) === (DialogAlignment.TopEnd))) { return true } - else if (((value) === (DialogAlignment.CENTER_START))) { + else if (((value) === (DialogAlignment.CenterStart))) { return true } - else if (((value) === (DialogAlignment.CENTER_END))) { + else if (((value) === (DialogAlignment.CenterEnd))) { return true } - else if (((value) === (DialogAlignment.BOTTOM_START))) { + else if (((value) === (DialogAlignment.BottomStart))) { return true } - else if (((value) === (DialogAlignment.BOTTOM_END))) { + else if (((value) === (DialogAlignment.BottomEnd))) { return true } else { @@ -4349,13 +4369,13 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof DigitIndicator") } static isDirection(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (Direction.LTR))) { + if (((value) === (Direction.Ltr))) { return true } - else if (((value) === (Direction.RTL))) { + else if (((value) === (Direction.Rtl))) { return true } - else if (((value) === (Direction.AUTO))) { + else if (((value) === (Direction.Auto))) { return true } else { @@ -4726,25 +4746,25 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof EclipseStyleOptions") } static isEdge(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (Edge.TOP))) { + if (((value) === (Edge.Top))) { return true } - else if (((value) === (Edge.CENTER))) { + else if (((value) === (Edge.Center))) { return true } - else if (((value) === (Edge.BOTTOM))) { + else if (((value) === (Edge.Bottom))) { return true } - else if (((value) === (Edge.BASELINE))) { + else if (((value) === (Edge.Baseline))) { return true } - else if (((value) === (Edge.START))) { + else if (((value) === (Edge.Start))) { return true } - else if (((value) === (Edge.MIDDLE))) { + else if (((value) === (Edge.Middle))) { return true } - else if (((value) === (Edge.END))) { + else if (((value) === (Edge.End))) { return true } else { @@ -4769,13 +4789,13 @@ export class TypeChecker { } } static isEdgeEffect(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (EdgeEffect.SPRING))) { + if (((value) === (EdgeEffect.Spring))) { return true } - else if (((value) === (EdgeEffect.FADE))) { + else if (((value) === (EdgeEffect.Fade))) { return true } - else if (((value) === (EdgeEffect.NONE))) { + else if (((value) === (EdgeEffect.None))) { return true } else { @@ -4879,13 +4899,13 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof EditMenuOptions") } static isEditMode(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (EditMode.NONE))) { + if (((value) === (EditMode.None))) { return true } - else if (((value) === (EditMode.DELETABLE))) { + else if (((value) === (EditMode.Deletable))) { return true } - else if (((value) === (EditMode.MOVABLE))) { + else if (((value) === (EditMode.Movable))) { return true } else { @@ -5032,19 +5052,19 @@ export class TypeChecker { } } static isEnterKeyType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (EnterKeyType.GO))) { + if (((value) === (EnterKeyType.Go))) { return true } - else if (((value) === (EnterKeyType.SEARCH))) { + else if (((value) === (EnterKeyType.Search))) { return true } - else if (((value) === (EnterKeyType.SEND))) { + else if (((value) === (EnterKeyType.Send))) { return true } - else if (((value) === (EnterKeyType.NEXT))) { + else if (((value) === (EnterKeyType.Next))) { return true } - else if (((value) === (EnterKeyType.DONE))) { + else if (((value) === (EnterKeyType.Done))) { return true } else if (((value) === (EnterKeyType.PREVIOUS))) { @@ -5076,6 +5096,9 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof ErrorCallback") } } + static isESObject(value: object|string|number|undefined|null|boolean): boolean { + throw new Error("Can not discriminate value typeof ESObject") + } static isEventEmulator(value: object|string|number|undefined|null|boolean): boolean { throw new Error("Can not discriminate value typeof EventEmulator") } @@ -5152,16 +5175,16 @@ export class TypeChecker { } } static isFileSelectorMode(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (FileSelectorMode.FILE_OPEN_MODE))) { + if (((value) === (FileSelectorMode.FileOpenMode))) { return true } - else if (((value) === (FileSelectorMode.FILE_OPEN_MULTIPLE_MODE))) { + else if (((value) === (FileSelectorMode.FileOpenMultipleMode))) { return true } - else if (((value) === (FileSelectorMode.FILE_OPEN_FOLDER_MODE))) { + else if (((value) === (FileSelectorMode.FileOpenFolderMode))) { return true } - else if (((value) === (FileSelectorMode.FILE_SAVE_MODE))) { + else if (((value) === (FileSelectorMode.FileSaveMode))) { return true } else { @@ -5175,16 +5198,16 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof FileSelectorResult") } static isFillMode(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (FillMode.NONE))) { + if (((value) === (FillMode.None))) { return true } - else if (((value) === (FillMode.FORWARDS))) { + else if (((value) === (FillMode.Forwards))) { return true } - else if (((value) === (FillMode.BACKWARDS))) { + else if (((value) === (FillMode.Backwards))) { return true } - else if (((value) === (FillMode.BOTH))) { + else if (((value) === (FillMode.Both))) { return true } else { @@ -5248,22 +5271,22 @@ export class TypeChecker { } } static isFlexAlign(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (FlexAlign.START))) { + if (((value) === (FlexAlign.Start))) { return true } - else if (((value) === (FlexAlign.CENTER))) { + else if (((value) === (FlexAlign.Center))) { return true } - else if (((value) === (FlexAlign.END))) { + else if (((value) === (FlexAlign.End))) { return true } - else if (((value) === (FlexAlign.SPACE_BETWEEN))) { + else if (((value) === (FlexAlign.SpaceBetween))) { return true } - else if (((value) === (FlexAlign.SPACE_AROUND))) { + else if (((value) === (FlexAlign.SpaceAround))) { return true } - else if (((value) === (FlexAlign.SPACE_EVENLY))) { + else if (((value) === (FlexAlign.SpaceEvenly))) { return true } else { @@ -5279,16 +5302,16 @@ export class TypeChecker { } } static isFlexDirection(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (FlexDirection.ROW))) { + if (((value) === (FlexDirection.Row))) { return true } - else if (((value) === (FlexDirection.COLUMN))) { + else if (((value) === (FlexDirection.Column))) { return true } - else if (((value) === (FlexDirection.ROW_REVERSE))) { + else if (((value) === (FlexDirection.RowReverse))) { return true } - else if (((value) === (FlexDirection.COLUMN_REVERSE))) { + else if (((value) === (FlexDirection.ColumnReverse))) { return true } else { @@ -5333,13 +5356,13 @@ export class TypeChecker { } } static isFlexWrap(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (FlexWrap.NO_WRAP))) { + if (((value) === (FlexWrap.NoWrap))) { return true } - else if (((value) === (FlexWrap.WRAP))) { + else if (((value) === (FlexWrap.Wrap))) { return true } - else if (((value) === (FlexWrap.WRAP_REVERSE))) { + else if (((value) === (FlexWrap.WrapReverse))) { return true } else { @@ -5454,10 +5477,10 @@ export class TypeChecker { } } static isFontStyle(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (FontStyle.NORMAL))) { + if (((value) === (FontStyle.Normal))) { return true } - else if (((value) === (FontStyle.ITALIC))) { + else if (((value) === (FontStyle.Italic))) { return true } else { @@ -5465,22 +5488,22 @@ export class TypeChecker { } } static isFontWeight(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (FontWeight.LIGHTER))) { + if (((value) === (FontWeight.Lighter))) { return true } - else if (((value) === (FontWeight.NORMAL))) { + else if (((value) === (FontWeight.Normal))) { return true } - else if (((value) === (FontWeight.REGULAR))) { + else if (((value) === (FontWeight.Regular))) { return true } - else if (((value) === (FontWeight.MEDIUM))) { + else if (((value) === (FontWeight.Medium))) { return true } - else if (((value) === (FontWeight.BOLD))) { + else if (((value) === (FontWeight.Bold))) { return true } - else if (((value) === (FontWeight.BOLDER))) { + else if (((value) === (FontWeight.Bolder))) { return true } else { @@ -5548,19 +5571,19 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof FormComponentInterface") } static isFormDimension(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (FormDimension.DIMENSION_1_2))) { + if (((value) === (FormDimension.Dimension_1_2))) { return true } - else if (((value) === (FormDimension.DIMENSION_2_2))) { + else if (((value) === (FormDimension.Dimension_2_2))) { return true } - else if (((value) === (FormDimension.DIMENSION_2_4))) { + else if (((value) === (FormDimension.Dimension_2_4))) { return true } - else if (((value) === (FormDimension.DIMENSION_4_4))) { + else if (((value) === (FormDimension.Dimension_4_4))) { return true } - else if (((value) === (FormDimension.DIMENSION_2_1))) { + else if (((value) === (FormDimension.Dimension_2_1))) { return true } else if (((value) === (FormDimension.DIMENSION_1_1))) { @@ -5967,10 +5990,10 @@ export class TypeChecker { } } static isGestureMask(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (GestureMask.NORMAL))) { + if (((value) === (GestureMask.Normal))) { return true } - else if (((value) === (GestureMask.IGNORE_INTERNAL))) { + else if (((value) === (GestureMask.IgnoreInternal))) { return true } else { @@ -5978,13 +6001,13 @@ export class TypeChecker { } } static isGestureMode(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (GestureMode.SEQUENCE))) { + if (((value) === (GestureMode.Sequence))) { return true } - else if (((value) === (GestureMode.PARALLEL))) { + else if (((value) === (GestureMode.Parallel))) { return true } - else if (((value) === (GestureMode.EXCLUSIVE))) { + else if (((value) === (GestureMode.Exclusive))) { return true } else { @@ -6046,31 +6069,31 @@ export class TypeChecker { } } static isGradientDirection(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (GradientDirection.LEFT))) { + if (((value) === (GradientDirection.Left))) { return true } - else if (((value) === (GradientDirection.TOP))) { + else if (((value) === (GradientDirection.Top))) { return true } - else if (((value) === (GradientDirection.RIGHT))) { + else if (((value) === (GradientDirection.Right))) { return true } - else if (((value) === (GradientDirection.BOTTOM))) { + else if (((value) === (GradientDirection.Bottom))) { return true } - else if (((value) === (GradientDirection.LEFT_TOP))) { + else if (((value) === (GradientDirection.LeftTop))) { return true } - else if (((value) === (GradientDirection.LEFT_BOTTOM))) { + else if (((value) === (GradientDirection.LeftBottom))) { return true } - else if (((value) === (GradientDirection.RIGHT_TOP))) { + else if (((value) === (GradientDirection.RightTop))) { return true } - else if (((value) === (GradientDirection.RIGHT_BOTTOM))) { + else if (((value) === (GradientDirection.RightBottom))) { return true } - else if (((value) === (GradientDirection.NONE))) { + else if (((value) === (GradientDirection.None))) { return true } else { @@ -6256,16 +6279,16 @@ export class TypeChecker { } } static isGridDirection(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (GridDirection.ROW))) { + if (((value) === (GridDirection.Row))) { return true } - else if (((value) === (GridDirection.COLUMN))) { + else if (((value) === (GridDirection.Column))) { return true } - else if (((value) === (GridDirection.ROW_REVERSE))) { + else if (((value) === (GridDirection.RowReverse))) { return true } - else if (((value) === (GridDirection.COLUMN_REVERSE))) { + else if (((value) === (GridDirection.ColumnReverse))) { return true } else { @@ -6389,10 +6412,10 @@ export class TypeChecker { } } static isGridRowDirection(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (GridRowDirection.ROW))) { + if (((value) === (GridRowDirection.Row))) { return true } - else if (((value) === (GridRowDirection.ROW_REVERSE))) { + else if (((value) === (GridRowDirection.RowReverse))) { return true } else { @@ -6529,16 +6552,16 @@ export class TypeChecker { } } static isHitTestMode(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (HitTestMode.DEFAULT))) { + if (((value) === (HitTestMode.Default))) { return true } - else if (((value) === (HitTestMode.BLOCK))) { + else if (((value) === (HitTestMode.Block))) { return true } - else if (((value) === (HitTestMode.TRANSPARENT))) { + else if (((value) === (HitTestMode.Transparent))) { return true } - else if (((value) === (HitTestMode.NONE))) { + else if (((value) === (HitTestMode.None))) { return true } else { @@ -6546,28 +6569,28 @@ export class TypeChecker { } } static isHitTestType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (HitTestType.EDIT_TEXT))) { + if (((value) === (HitTestType.EditText))) { return true } - else if (((value) === (HitTestType.EMAIL))) { + else if (((value) === (HitTestType.Email))) { return true } - else if (((value) === (HitTestType.HTTP_ANCHOR))) { + else if (((value) === (HitTestType.HttpAnchor))) { return true } - else if (((value) === (HitTestType.HTTP_ANCHOR_IMG))) { + else if (((value) === (HitTestType.HttpAnchorImg))) { return true } - else if (((value) === (HitTestType.IMG))) { + else if (((value) === (HitTestType.Img))) { return true } - else if (((value) === (HitTestType.MAP))) { + else if (((value) === (HitTestType.Map))) { return true } - else if (((value) === (HitTestType.PHONE))) { + else if (((value) === (HitTestType.Phone))) { return true } - else if (((value) === (HitTestType.UNKNOWN))) { + else if (((value) === (HitTestType.Unknown))) { return true } else { @@ -6575,13 +6598,13 @@ export class TypeChecker { } } static isHorizontalAlign(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (HorizontalAlign.START))) { + if (((value) === (HorizontalAlign.Start))) { return true } - else if (((value) === (HorizontalAlign.CENTER))) { + else if (((value) === (HorizontalAlign.Center))) { return true } - else if (((value) === (HorizontalAlign.END))) { + else if (((value) === (HorizontalAlign.End))) { return true } else { @@ -6589,16 +6612,16 @@ export class TypeChecker { } } static isHoverEffect(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (HoverEffect.AUTO))) { + if (((value) === (HoverEffect.Auto))) { return true } - else if (((value) === (HoverEffect.SCALE))) { + else if (((value) === (HoverEffect.Scale))) { return true } - else if (((value) === (HoverEffect.HIGHLIGHT))) { + else if (((value) === (HoverEffect.Highlight))) { return true } - else if (((value) === (HoverEffect.NONE))) { + else if (((value) === (HoverEffect.None))) { return true } else { @@ -6960,22 +6983,22 @@ export class TypeChecker { } } static isImageFit(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (ImageFit.CONTAIN))) { + if (((value) === (ImageFit.Contain))) { return true } - else if (((value) === (ImageFit.COVER))) { + else if (((value) === (ImageFit.Cover))) { return true } - else if (((value) === (ImageFit.AUTO))) { + else if (((value) === (ImageFit.Auto))) { return true } - else if (((value) === (ImageFit.FILL))) { + else if (((value) === (ImageFit.Fill))) { return true } - else if (((value) === (ImageFit.SCALE_DOWN))) { + else if (((value) === (ImageFit.ScaleDown))) { return true } - else if (((value) === (ImageFit.NONE))) { + else if (((value) === (ImageFit.None))) { return true } else if (((value) === (ImageFit.TOP_START))) { @@ -7036,16 +7059,16 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof ImageInterface") } static isImageInterpolation(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (ImageInterpolation.NONE))) { + if (((value) === (ImageInterpolation.None))) { return true } - else if (((value) === (ImageInterpolation.LOW))) { + else if (((value) === (ImageInterpolation.Low))) { return true } - else if (((value) === (ImageInterpolation.MEDIUM))) { + else if (((value) === (ImageInterpolation.Medium))) { return true } - else if (((value) === (ImageInterpolation.HIGH))) { + else if (((value) === (ImageInterpolation.High))) { return true } else { @@ -7107,10 +7130,10 @@ export class TypeChecker { } } static isImageRenderMode(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (ImageRenderMode.ORIGINAL))) { + if (((value) === (ImageRenderMode.Original))) { return true } - else if (((value) === (ImageRenderMode.TEMPLATE))) { + else if (((value) === (ImageRenderMode.Template))) { return true } else { @@ -7118,7 +7141,7 @@ export class TypeChecker { } } static isImageRepeat(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (ImageRepeat.NO_REPEAT))) { + if (((value) === (ImageRepeat.NoRepeat))) { return true } else if (((value) === (ImageRepeat.X))) { @@ -7135,13 +7158,13 @@ export class TypeChecker { } } static isImageSize(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (ImageSize.AUTO))) { + if (((value) === (ImageSize.Auto))) { return true } - else if (((value) === (ImageSize.COVER))) { + else if (((value) === (ImageSize.Cover))) { return true } - else if (((value) === (ImageSize.CONTAIN))) { + else if (((value) === (ImageSize.Contain))) { return true } else if (((value) === (ImageSize.FILL))) { @@ -7206,10 +7229,10 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof ImageSpanInterface") } static isIndexerAlign(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (IndexerAlign.LEFT))) { + if (((value) === (IndexerAlign.Left))) { return true } - else if (((value) === (IndexerAlign.RIGHT))) { + else if (((value) === (IndexerAlign.Right))) { return true } else if (((value) === (IndexerAlign.START))) { @@ -7295,19 +7318,19 @@ export class TypeChecker { } } static isInputType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (InputType.NORMAL))) { + if (((value) === (InputType.Normal))) { return true } - else if (((value) === (InputType.NUMBER))) { + else if (((value) === (InputType.Number))) { return true } - else if (((value) === (InputType.PHONE_NUMBER))) { + else if (((value) === (InputType.PhoneNumber))) { return true } - else if (((value) === (InputType.EMAIL))) { + else if (((value) === (InputType.Email))) { return true } - else if (((value) === (InputType.PASSWORD))) { + else if (((value) === (InputType.Password))) { return true } else if (((value) === (InputType.NUMBER_PASSWORD))) { @@ -7405,22 +7428,22 @@ export class TypeChecker { } } static isItemAlign(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (ItemAlign.AUTO))) { + if (((value) === (ItemAlign.Auto))) { return true } - else if (((value) === (ItemAlign.START))) { + else if (((value) === (ItemAlign.Start))) { return true } - else if (((value) === (ItemAlign.CENTER))) { + else if (((value) === (ItemAlign.Center))) { return true } - else if (((value) === (ItemAlign.END))) { + else if (((value) === (ItemAlign.End))) { return true } - else if (((value) === (ItemAlign.BASELINE))) { + else if (((value) === (ItemAlign.Baseline))) { return true } - else if (((value) === (ItemAlign.STRETCH))) { + else if (((value) === (ItemAlign.Stretch))) { return true } else { @@ -7439,24 +7462,24 @@ export class TypeChecker { } } static isItemState(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (ItemState.NORMAL))) { + if (((value) === (ItemState.Normal))) { return true } - else if (((value) === (ItemState.DISABLED))) { + else if (((value) === (ItemState.Disabled))) { return true } - else if (((value) === (ItemState.WAITING))) { + else if (((value) === (ItemState.Waiting))) { return true } - else if (((value) === (ItemState.SKIP))) { + else if (((value) === (ItemState.Skip))) { return true } else { throw new Error("Can not discriminate value typeof ItemState") } } - static isJavaScriptProxy(value: object|string|number|undefined|null|boolean, duplicated_object: boolean, duplicated_name: boolean, duplicated_methodList: boolean, duplicated_controller: boolean, duplicated_asyncMethodList: boolean, duplicated_permission: boolean): boolean { - if ((!duplicated_object) && (value?.hasOwnProperty("object"))) { + static isJavaScriptProxy(value: object|string|number|undefined|null|boolean, duplicated_object_: boolean, duplicated_name: boolean, duplicated_methodList: boolean, duplicated_controller: boolean, duplicated_asyncMethodList: boolean, duplicated_permission: boolean): boolean { + if ((!duplicated_object_) && (value?.hasOwnProperty("object_"))) { return true } else if ((!duplicated_name) && (value?.hasOwnProperty("name"))) { @@ -7567,10 +7590,10 @@ export class TypeChecker { } } static isKeySource(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (KeySource.UNKNOWN))) { + if (((value) === (KeySource.Unknown))) { return true } - else if (((value) === (KeySource.KEYBOARD))) { + else if (((value) === (KeySource.Keyboard))) { return true } else { @@ -7578,10 +7601,10 @@ export class TypeChecker { } } static isKeyType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (KeyType.DOWN))) { + if (((value) === (KeyType.Down))) { return true } - else if (((value) === (KeyType.UP))) { + else if (((value) === (KeyType.Up))) { return true } else { @@ -7688,7 +7711,7 @@ export class TypeChecker { else if (((value) === (LayoutDirection.RTL))) { return true } - else if (((value) === (LayoutDirection.AUTO))) { + else if (((value) === (LayoutDirection.Auto))) { return true } else { @@ -7967,13 +7990,13 @@ export class TypeChecker { } } static isLineCapStyle(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (LineCapStyle.BUTT))) { + if (((value) === (LineCapStyle.Butt))) { return true } - else if (((value) === (LineCapStyle.ROUND))) { + else if (((value) === (LineCapStyle.Round))) { return true } - else if (((value) === (LineCapStyle.SQUARE))) { + else if (((value) === (LineCapStyle.Square))) { return true } else { @@ -7992,13 +8015,13 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof LineInterface") } static isLineJoinStyle(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (LineJoinStyle.MITER))) { + if (((value) === (LineJoinStyle.Miter))) { return true } - else if (((value) === (LineJoinStyle.ROUND))) { + else if (((value) === (LineJoinStyle.Round))) { return true } - else if (((value) === (LineJoinStyle.BEVEL))) { + else if (((value) === (LineJoinStyle.Bevel))) { return true } else { @@ -8149,13 +8172,13 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof ListInterface") } static isListItemAlign(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (ListItemAlign.START))) { + if (((value) === (ListItemAlign.Start))) { return true } - else if (((value) === (ListItemAlign.CENTER))) { + else if (((value) === (ListItemAlign.Center))) { return true } - else if (((value) === (ListItemAlign.END))) { + else if (((value) === (ListItemAlign.End))) { return true } else { @@ -8319,15 +8342,15 @@ export class TypeChecker { static isLiteral_Empty(value: object|string|number|undefined|null|boolean): boolean { throw new Error("Can not discriminate value typeof Literal_Empty") } - static isLiteral_Function_callback_Object_fileSelector(value: object|string|number|undefined|null|boolean, duplicated_callback: boolean, duplicated_fileSelector: boolean): boolean { - if ((!duplicated_callback) && (value?.hasOwnProperty("callback"))) { + static isLiteral_Function_callback__Object_fileSelector(value: object|string|number|undefined|null|boolean, duplicated_callback_: boolean, duplicated_fileSelector: boolean): boolean { + if ((!duplicated_callback_) && (value?.hasOwnProperty("callback_"))) { return true } else if ((!duplicated_fileSelector) && (value?.hasOwnProperty("fileSelector"))) { return true } else { - throw new Error("Can not discriminate value typeof Literal_Function_callback_Object_fileSelector") + throw new Error("Can not discriminate value typeof Literal_Function_callback__Object_fileSelector") } } static isLiteral_Function_handler_Object_error(value: object|string|number|undefined|null|boolean, duplicated_handler: boolean, duplicated_error: boolean): boolean { @@ -8487,8 +8510,8 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof Literal_Object_detail") } } - static isLiteral_Object_object_String_name_Array_String_methodList(value: object|string|number|undefined|null|boolean, duplicated_object: boolean, duplicated_name: boolean, duplicated_methodList: boolean): boolean { - if ((!duplicated_object) && (value?.hasOwnProperty("object"))) { + static isLiteral_Object_object__String_name_Array_String_methodList(value: object|string|number|undefined|null|boolean, duplicated_object_: boolean, duplicated_name: boolean, duplicated_methodList: boolean): boolean { + if ((!duplicated_object_) && (value?.hasOwnProperty("object_"))) { return true } else if ((!duplicated_name) && (value?.hasOwnProperty("name"))) { @@ -8498,7 +8521,7 @@ export class TypeChecker { return true } else { - throw new Error("Can not discriminate value typeof Literal_Object_object_String_name_Array_String_methodList") + throw new Error("Can not discriminate value typeof Literal_Object_object__String_name_Array_String_methodList") } } static isLiteral_ResourceColor_color(value: object|string|number|undefined|null|boolean, duplicated_color: boolean): boolean { @@ -8570,15 +8593,15 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof Literal_String_plainText") } } - static isLiteral_String_script_Callback_String_Void_callback(value: object|string|number|undefined|null|boolean, duplicated_script: boolean, duplicated_callback: boolean): boolean { + static isLiteral_String_script_Callback_String_Void_callback_(value: object|string|number|undefined|null|boolean, duplicated_script: boolean, duplicated_callback_: boolean): boolean { if ((!duplicated_script) && (value?.hasOwnProperty("script"))) { return true } - else if ((!duplicated_callback) && (value?.hasOwnProperty("callback"))) { + else if ((!duplicated_callback_) && (value?.hasOwnProperty("callback_"))) { return true } else { - throw new Error("Can not discriminate value typeof Literal_String_script_Callback_String_Void_callback") + throw new Error("Can not discriminate value typeof Literal_String_script_Callback_String_Void_callback_") } } static isLiteral_String_target_NavigationType_type(value: object|string|number|undefined|null|boolean, duplicated_target: boolean, duplicated_type: boolean): boolean { @@ -8704,13 +8727,13 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof LoadingProgressInterface") } static isLoadingProgressStyle(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (LoadingProgressStyle.DEFAULT))) { + if (((value) === (LoadingProgressStyle.Default))) { return true } - else if (((value) === (LoadingProgressStyle.CIRCULAR))) { + else if (((value) === (LoadingProgressStyle.Circular))) { return true } - else if (((value) === (LoadingProgressStyle.ORBITAL))) { + else if (((value) === (LoadingProgressStyle.Orbital))) { return true } else { @@ -9331,19 +9354,19 @@ export class TypeChecker { } } static isMessageLevel(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (MessageLevel.DEBUG))) { + if (((value) === (MessageLevel.Debug))) { return true } - else if (((value) === (MessageLevel.ERROR))) { + else if (((value) === (MessageLevel.Error))) { return true } - else if (((value) === (MessageLevel.INFO))) { + else if (((value) === (MessageLevel.Info))) { return true } - else if (((value) === (MessageLevel.LOG))) { + else if (((value) === (MessageLevel.Log))) { return true } - else if (((value) === (MessageLevel.WARN))) { + else if (((value) === (MessageLevel.Warn))) { return true } else { @@ -9351,13 +9374,13 @@ export class TypeChecker { } } static isMixedMode(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (MixedMode.ALL))) { + if (((value) === (MixedMode.All))) { return true } - else if (((value) === (MixedMode.COMPATIBLE))) { + else if (((value) === (MixedMode.Compatible))) { return true } - else if (((value) === (MixedMode.NONE))) { + else if (((value) === (MixedMode.None))) { return true } else { @@ -9457,16 +9480,16 @@ export class TypeChecker { } } static isMouseAction(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (MouseAction.PRESS))) { + if (((value) === (MouseAction.Press))) { return true } - else if (((value) === (MouseAction.RELEASE))) { + else if (((value) === (MouseAction.Release))) { return true } - else if (((value) === (MouseAction.MOVE))) { + else if (((value) === (MouseAction.Move))) { return true } - else if (((value) === (MouseAction.HOVER))) { + else if (((value) === (MouseAction.Hover))) { return true } else { @@ -9474,22 +9497,22 @@ export class TypeChecker { } } static isMouseButton(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (MouseButton.LEFT))) { + if (((value) === (MouseButton.Left))) { return true } - else if (((value) === (MouseButton.RIGHT))) { + else if (((value) === (MouseButton.Right))) { return true } - else if (((value) === (MouseButton.MIDDLE))) { + else if (((value) === (MouseButton.Middle))) { return true } - else if (((value) === (MouseButton.BACK))) { + else if (((value) === (MouseButton.Back))) { return true } - else if (((value) === (MouseButton.FORWARD))) { + else if (((value) === (MouseButton.Forward))) { return true } - else if (((value) === (MouseButton.NONE))) { + else if (((value) === (MouseButton.None))) { return true } else { @@ -9668,10 +9691,10 @@ export class TypeChecker { } } static isNavBarPosition(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (NavBarPosition.START))) { + if (((value) === (NavBarPosition.Start))) { return true } - else if (((value) === (NavBarPosition.END))) { + else if (((value) === (NavBarPosition.End))) { return true } else { @@ -9962,13 +9985,13 @@ export class TypeChecker { } } static isNavigationMode(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (NavigationMode.STACK))) { + if (((value) === (NavigationMode.Stack))) { return true } - else if (((value) === (NavigationMode.SPLIT))) { + else if (((value) === (NavigationMode.Split))) { return true } - else if (((value) === (NavigationMode.AUTO))) { + else if (((value) === (NavigationMode.Auto))) { return true } else { @@ -10018,13 +10041,13 @@ export class TypeChecker { } } static isNavigationTitleMode(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (NavigationTitleMode.FREE))) { + if (((value) === (NavigationTitleMode.Free))) { return true } - else if (((value) === (NavigationTitleMode.FULL))) { + else if (((value) === (NavigationTitleMode.Full))) { return true } - else if (((value) === (NavigationTitleMode.MINI))) { + else if (((value) === (NavigationTitleMode.Mini))) { return true } else { @@ -10089,13 +10112,13 @@ export class TypeChecker { } } static isNavigationType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (NavigationType.PUSH))) { + if (((value) === (NavigationType.Push))) { return true } - else if (((value) === (NavigationType.BACK))) { + else if (((value) === (NavigationType.Back))) { return true } - else if (((value) === (NavigationType.REPLACE))) { + else if (((value) === (NavigationType.Replace))) { return true } else { @@ -10838,28 +10861,28 @@ export class TypeChecker { } } static isPanDirection(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (PanDirection.NONE))) { + if (((value) === (PanDirection.None))) { return true } - else if (((value) === (PanDirection.HORIZONTAL))) { + else if (((value) === (PanDirection.Horizontal))) { return true } - else if (((value) === (PanDirection.LEFT))) { + else if (((value) === (PanDirection.Left))) { return true } - else if (((value) === (PanDirection.RIGHT))) { + else if (((value) === (PanDirection.Right))) { return true } - else if (((value) === (PanDirection.VERTICAL))) { + else if (((value) === (PanDirection.Vertical))) { return true } - else if (((value) === (PanDirection.UP))) { + else if (((value) === (PanDirection.Up))) { return true } - else if (((value) === (PanDirection.DOWN))) { + else if (((value) === (PanDirection.Down))) { return true } - else if (((value) === (PanDirection.ALL))) { + else if (((value) === (PanDirection.All))) { return true } else { @@ -10919,13 +10942,13 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof PanelInterface") } static isPanelMode(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (PanelMode.MINI))) { + if (((value) === (PanelMode.Mini))) { return true } - else if (((value) === (PanelMode.HALF))) { + else if (((value) === (PanelMode.Half))) { return true } - else if (((value) === (PanelMode.FULL))) { + else if (((value) === (PanelMode.Full))) { return true } else { @@ -10933,13 +10956,13 @@ export class TypeChecker { } } static isPanelType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (PanelType.MINIBAR))) { + if (((value) === (PanelType.Minibar))) { return true } - else if (((value) === (PanelType.FOLDABLE))) { + else if (((value) === (PanelType.Foldable))) { return true } - else if (((value) === (PanelType.TEMPORARY))) { + else if (((value) === (PanelType.Temporary))) { return true } else if (((value) === (PanelType.CUSTOM))) { @@ -11481,40 +11504,40 @@ export class TypeChecker { } } static isPlacement(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (Placement.LEFT))) { + if (((value) === (Placement.Left))) { return true } - else if (((value) === (Placement.RIGHT))) { + else if (((value) === (Placement.Right))) { return true } - else if (((value) === (Placement.TOP))) { + else if (((value) === (Placement.Top))) { return true } - else if (((value) === (Placement.BOTTOM))) { + else if (((value) === (Placement.Bottom))) { return true } - else if (((value) === (Placement.TOP_LEFT))) { + else if (((value) === (Placement.TopLeft))) { return true } - else if (((value) === (Placement.TOP_RIGHT))) { + else if (((value) === (Placement.TopRight))) { return true } - else if (((value) === (Placement.BOTTOM_LEFT))) { + else if (((value) === (Placement.BottomLeft))) { return true } - else if (((value) === (Placement.BOTTOM_RIGHT))) { + else if (((value) === (Placement.BottomRight))) { return true } - else if (((value) === (Placement.LEFT_TOP))) { + else if (((value) === (Placement.LeftTop))) { return true } - else if (((value) === (Placement.LEFT_BOTTOM))) { + else if (((value) === (Placement.LeftBottom))) { return true } - else if (((value) === (Placement.RIGHT_TOP))) { + else if (((value) === (Placement.RightTop))) { return true } - else if (((value) === (Placement.RIGHT_BOTTOM))) { + else if (((value) === (Placement.RightBottom))) { return true } else { @@ -11530,19 +11553,19 @@ export class TypeChecker { } } static isPlaybackSpeed(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (PlaybackSpeed.SPEED_FORWARD_0_75_X))) { + if (((value) === (PlaybackSpeed.Speed_Forward_0_75_X))) { return true } - else if (((value) === (PlaybackSpeed.SPEED_FORWARD_1_00_X))) { + else if (((value) === (PlaybackSpeed.Speed_Forward_1_00_X))) { return true } - else if (((value) === (PlaybackSpeed.SPEED_FORWARD_1_25_X))) { + else if (((value) === (PlaybackSpeed.Speed_Forward_1_25_X))) { return true } - else if (((value) === (PlaybackSpeed.SPEED_FORWARD_1_75_X))) { + else if (((value) === (PlaybackSpeed.Speed_Forward_1_75_X))) { return true } - else if (((value) === (PlaybackSpeed.SPEED_FORWARD_2_00_X))) { + else if (((value) === (PlaybackSpeed.Speed_Forward_2_00_X))) { return true } else { @@ -11550,16 +11573,16 @@ export class TypeChecker { } } static isPlayMode(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (PlayMode.NORMAL))) { + if (((value) === (PlayMode.Normal))) { return true } - else if (((value) === (PlayMode.REVERSE))) { + else if (((value) === (PlayMode.Reverse))) { return true } - else if (((value) === (PlayMode.ALTERNATE))) { + else if (((value) === (PlayMode.Alternate))) { return true } - else if (((value) === (PlayMode.ALTERNATE_REVERSE))) { + else if (((value) === (PlayMode.AlternateReverse))) { return true } else { @@ -11613,6 +11636,17 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof PluginErrorData") } } + static isPoint(value: object|string|number|undefined|null|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 Point") + } + } static isPointerStyle(value: object|string|number|undefined|null|boolean): boolean { if (((value) === (PointerStyle.DEFAULT))) { return true @@ -12086,19 +12120,19 @@ export class TypeChecker { } } static isProgressStyle(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (ProgressStyle.LINEAR))) { + if (((value) === (ProgressStyle.Linear))) { return true } - else if (((value) === (ProgressStyle.RING))) { + else if (((value) === (ProgressStyle.Ring))) { return true } - else if (((value) === (ProgressStyle.ECLIPSE))) { + else if (((value) === (ProgressStyle.Eclipse))) { return true } - else if (((value) === (ProgressStyle.SCALE_RING))) { + else if (((value) === (ProgressStyle.ScaleRing))) { return true } - else if (((value) === (ProgressStyle.CAPSULE))) { + else if (((value) === (ProgressStyle.Capsule))) { return true } else { @@ -12123,19 +12157,19 @@ export class TypeChecker { } } static isProgressType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (ProgressType.LINEAR))) { + if (((value) === (ProgressType.Linear))) { return true } - else if (((value) === (ProgressType.RING))) { + else if (((value) === (ProgressType.Ring))) { return true } - else if (((value) === (ProgressType.ECLIPSE))) { + else if (((value) === (ProgressType.Eclipse))) { return true } - else if (((value) === (ProgressType.SCALE_RING))) { + else if (((value) === (ProgressType.ScaleRing))) { return true } - else if (((value) === (ProgressType.CAPSULE))) { + else if (((value) === (ProgressType.Capsule))) { return true } else { @@ -12143,7 +12177,7 @@ export class TypeChecker { } } static isProtectedResourceType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (ProtectedResourceType.MIDI_SYSEX))) { + if (((value) === (ProtectedResourceType.MidiSysex))) { return true } else if (((value) === (ProtectedResourceType.VIDEO_CAPTURE))) { @@ -12499,19 +12533,19 @@ export class TypeChecker { } } static isRefreshStatus(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (RefreshStatus.INACTIVE))) { + if (((value) === (RefreshStatus.Inactive))) { return true } - else if (((value) === (RefreshStatus.DRAG))) { + else if (((value) === (RefreshStatus.Drag))) { return true } - else if (((value) === (RefreshStatus.OVER_DRAG))) { + else if (((value) === (RefreshStatus.OverDrag))) { return true } - else if (((value) === (RefreshStatus.REFRESH))) { + else if (((value) === (RefreshStatus.Refresh))) { return true } - else if (((value) === (RefreshStatus.DONE))) { + else if (((value) === (RefreshStatus.Done))) { return true } else { @@ -12550,19 +12584,19 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof RemoteWindowInterface") } static isRenderExitReason(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (RenderExitReason.PROCESS_ABNORMAL_TERMINATION))) { + if (((value) === (RenderExitReason.ProcessAbnormalTermination))) { return true } - else if (((value) === (RenderExitReason.PROCESS_WAS_KILLED))) { + else if (((value) === (RenderExitReason.ProcessWasKilled))) { return true } - else if (((value) === (RenderExitReason.PROCESS_CRASHED))) { + else if (((value) === (RenderExitReason.ProcessCrashed))) { return true } - else if (((value) === (RenderExitReason.PROCESS_OOM))) { + else if (((value) === (RenderExitReason.ProcessOom))) { return true } - else if (((value) === (RenderExitReason.PROCESS_EXIT_UNKNOWN))) { + else if (((value) === (RenderExitReason.ProcessExitUnknown))) { return true } else { @@ -12667,16 +12701,16 @@ export class TypeChecker { } } static isRepeatMode(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (RepeatMode.REPEAT))) { + if (((value) === (RepeatMode.Repeat))) { return true } - else if (((value) === (RepeatMode.STRETCH))) { + else if (((value) === (RepeatMode.Stretch))) { return true } - else if (((value) === (RepeatMode.ROUND))) { + else if (((value) === (RepeatMode.Round))) { return true } - else if (((value) === (RepeatMode.SPACE))) { + else if (((value) === (RepeatMode.Space))) { return true } else { @@ -12731,10 +12765,10 @@ export class TypeChecker { } } static isResponseType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (ResponseType.RIGHT_CLICK))) { + if (((value) === (ResponseType.RightClick))) { return true } - else if (((value) === (ResponseType.LONG_PRESS))) { + else if (((value) === (ResponseType.LongPress))) { return true } else { @@ -13484,13 +13518,13 @@ export class TypeChecker { } } static isRouteType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (RouteType.NONE))) { + if (((value) === (RouteType.None))) { return true } - else if (((value) === (RouteType.PUSH))) { + else if (((value) === (RouteType.Push))) { return true } - else if (((value) === (RouteType.POP))) { + else if (((value) === (RouteType.Pop))) { return true } else { @@ -13944,10 +13978,10 @@ export class TypeChecker { } } static isScrollBarDirection(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (ScrollBarDirection.VERTICAL))) { + if (((value) === (ScrollBarDirection.Vertical))) { return true } - else if (((value) === (ScrollBarDirection.HORIZONTAL))) { + else if (((value) === (ScrollBarDirection.Horizontal))) { return true } else { @@ -13972,16 +14006,16 @@ export class TypeChecker { } } static isScrollDirection(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (ScrollDirection.VERTICAL))) { + if (((value) === (ScrollDirection.Vertical))) { return true } - else if (((value) === (ScrollDirection.HORIZONTAL))) { + else if (((value) === (ScrollDirection.Horizontal))) { return true } - else if (((value) === (ScrollDirection.FREE))) { + else if (((value) === (ScrollDirection.Free))) { return true } - else if (((value) === (ScrollDirection.NONE))) { + else if (((value) === (ScrollDirection.None))) { return true } else { @@ -14113,13 +14147,13 @@ export class TypeChecker { } } static isScrollState(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (ScrollState.IDLE))) { + if (((value) === (ScrollState.Idle))) { return true } - else if (((value) === (ScrollState.SCROLL))) { + else if (((value) === (ScrollState.Scroll))) { return true } - else if (((value) === (ScrollState.FLING))) { + else if (((value) === (ScrollState.Fling))) { return true } else { @@ -14419,16 +14453,16 @@ export class TypeChecker { } } static isSeekMode(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (SeekMode.PREVIOUS_KEYFRAME))) { + if (((value) === (SeekMode.PreviousKeyframe))) { return true } - else if (((value) === (SeekMode.NEXT_KEYFRAME))) { + else if (((value) === (SeekMode.NextKeyframe))) { return true } - else if (((value) === (SeekMode.CLOSEST_KEYFRAME))) { + else if (((value) === (SeekMode.ClosestKeyframe))) { return true } - else if (((value) === (SeekMode.ACCURATE))) { + else if (((value) === (SeekMode.Accurate))) { return true } else { @@ -14568,13 +14602,13 @@ export class TypeChecker { } } static isSelectStatus(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (SelectStatus.ALL))) { + if (((value) === (SelectStatus.All))) { return true } - else if (((value) === (SelectStatus.PART))) { + else if (((value) === (SelectStatus.Part))) { return true } - else if (((value) === (SelectStatus.NONE))) { + else if (((value) === (SelectStatus.None))) { return true } else { @@ -14683,10 +14717,10 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof ShapeInterface") } static isSharedTransitionEffectType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (SharedTransitionEffectType.STATIC))) { + if (((value) === (SharedTransitionEffectType.Static))) { return true } - else if (((value) === (SharedTransitionEffectType.EXCHANGE))) { + else if (((value) === (SharedTransitionEffectType.Exchange))) { return true } else { @@ -14927,10 +14961,10 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof SideBarContainerInterface") } static isSideBarContainerType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (SideBarContainerType.EMBED))) { + if (((value) === (SideBarContainerType.Embed))) { return true } - else if (((value) === (SideBarContainerType.OVERLAY))) { + else if (((value) === (SideBarContainerType.Overlay))) { return true } else if (((value) === (SideBarContainerType.AUTO))) { @@ -14941,10 +14975,10 @@ export class TypeChecker { } } static isSideBarPosition(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (SideBarPosition.START))) { + if (((value) === (SideBarPosition.Start))) { return true } - else if (((value) === (SideBarPosition.END))) { + else if (((value) === (SideBarPosition.End))) { return true } else { @@ -14985,7 +15019,7 @@ export class TypeChecker { } } static isSizeType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (SizeType.AUTO))) { + if (((value) === (SizeType.Auto))) { return true } else if (((value) === (SizeType.XS))) { @@ -15005,16 +15039,16 @@ export class TypeChecker { } } static isSlideEffect(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (SlideEffect.LEFT))) { + if (((value) === (SlideEffect.Left))) { return true } - else if (((value) === (SlideEffect.RIGHT))) { + else if (((value) === (SlideEffect.Right))) { return true } - else if (((value) === (SlideEffect.TOP))) { + else if (((value) === (SlideEffect.Top))) { return true } - else if (((value) === (SlideEffect.BOTTOM))) { + else if (((value) === (SlideEffect.Bottom))) { return true } else if (((value) === (SlideEffect.START))) { @@ -15132,16 +15166,16 @@ export class TypeChecker { } } static isSliderChangeMode(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (SliderChangeMode.BEGIN))) { + if (((value) === (SliderChangeMode.Begin))) { return true } - else if (((value) === (SliderChangeMode.MOVING))) { + else if (((value) === (SliderChangeMode.Moving))) { return true } - else if (((value) === (SliderChangeMode.END))) { + else if (((value) === (SliderChangeMode.End))) { return true } - else if (((value) === (SliderChangeMode.CLICK))) { + else if (((value) === (SliderChangeMode.Click))) { return true } else { @@ -15212,10 +15246,10 @@ export class TypeChecker { } } static isSliderStyle(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (SliderStyle.OUT_SET))) { + if (((value) === (SliderStyle.OutSet))) { return true } - else if (((value) === (SliderStyle.IN_SET))) { + else if (((value) === (SliderStyle.InSet))) { return true } else if (((value) === (SliderStyle.NONE))) { @@ -15226,13 +15260,13 @@ export class TypeChecker { } } static isSourceTool(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (SourceTool.UNKNOWN))) { + if (((value) === (SourceTool.Unknown))) { return true } - else if (((value) === (SourceTool.FINGER))) { + else if (((value) === (SourceTool.Finger))) { return true } - else if (((value) === (SourceTool.PEN))) { + else if (((value) === (SourceTool.Pen))) { return true } else if (((value) === (SourceTool.MOUSE))) { @@ -15249,13 +15283,13 @@ export class TypeChecker { } } static isSourceType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (SourceType.UNKNOWN))) { + if (((value) === (SourceType.Unknown))) { return true } - else if (((value) === (SourceType.MOUSE))) { + else if (((value) === (SourceType.Mouse))) { return true } - else if (((value) === (SourceType.TOUCH_SCREEN))) { + else if (((value) === (SourceType.TouchScreen))) { return true } else { @@ -15335,16 +15369,16 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof SpringProp") } static isSslError(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (SslError.INVALID))) { + if (((value) === (SslError.Invalid))) { return true } - else if (((value) === (SslError.HOST_MISMATCH))) { + else if (((value) === (SslError.HostMismatch))) { return true } - else if (((value) === (SslError.DATE_INVALID))) { + else if (((value) === (SslError.DateInvalid))) { return true } - else if (((value) === (SslError.UNTRUSTED))) { + else if (((value) === (SslError.Untrusted))) { return true } else { @@ -15480,13 +15514,13 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof StepperItemInterface") } static isSticky(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (Sticky.NONE))) { + if (((value) === (Sticky.None))) { return true } - else if (((value) === (Sticky.NORMAL))) { + else if (((value) === (Sticky.Normal))) { return true } - else if (((value) === (Sticky.OPACITY))) { + else if (((value) === (Sticky.Opacity))) { return true } else { @@ -15494,13 +15528,13 @@ export class TypeChecker { } } static isStickyStyle(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (StickyStyle.NONE))) { + if (((value) === (StickyStyle.None))) { return true } - else if (((value) === (StickyStyle.HEADER))) { + else if (((value) === (StickyStyle.Header))) { return true } - else if (((value) === (StickyStyle.FOOTER))) { + else if (((value) === (StickyStyle.Footer))) { return true } else { @@ -15720,16 +15754,16 @@ export class TypeChecker { } } static isSwipeDirection(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (SwipeDirection.NONE))) { + if (((value) === (SwipeDirection.None))) { return true } - else if (((value) === (SwipeDirection.HORIZONTAL))) { + else if (((value) === (SwipeDirection.Horizontal))) { return true } - else if (((value) === (SwipeDirection.VERTICAL))) { + else if (((value) === (SwipeDirection.Vertical))) { return true } - else if (((value) === (SwipeDirection.ALL))) { + else if (((value) === (SwipeDirection.All))) { return true } else { @@ -15737,10 +15771,10 @@ export class TypeChecker { } } static isSwipeEdgeEffect(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (SwipeEdgeEffect.SPRING))) { + if (((value) === (SwipeEdgeEffect.Spring))) { return true } - else if (((value) === (SwipeEdgeEffect.NONE))) { + else if (((value) === (SwipeEdgeEffect.None))) { return true } else { @@ -15903,10 +15937,10 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof SwiperController") } static isSwiperDisplayMode(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (SwiperDisplayMode.LEGACY_STRETCH))) { + if (((value) === (SwiperDisplayMode.Stretch))) { return true } - else if (((value) === (SwiperDisplayMode.LEGACY_AUTO_LINEAR))) { + else if (((value) === (SwiperDisplayMode.AutoLinear))) { return true } else if (((value) === (SwiperDisplayMode.STRETCH))) { @@ -16280,13 +16314,13 @@ export class TypeChecker { } } static isTextAlign(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (TextAlign.CENTER))) { + if (((value) === (TextAlign.Center))) { return true } - else if (((value) === (TextAlign.START))) { + else if (((value) === (TextAlign.Start))) { return true } - else if (((value) === (TextAlign.END))) { + else if (((value) === (TextAlign.End))) { return true } else if (((value) === (TextAlign.JUSTIFY))) { @@ -16647,13 +16681,13 @@ export class TypeChecker { } } static isTextCase(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (TextCase.NORMAL))) { + if (((value) === (TextCase.Normal))) { return true } - else if (((value) === (TextCase.LOWER_CASE))) { + else if (((value) === (TextCase.LowerCase))) { return true } - else if (((value) === (TextCase.UPPER_CASE))) { + else if (((value) === (TextCase.UpperCase))) { return true } else { @@ -16818,16 +16852,16 @@ export class TypeChecker { } } static isTextDecorationType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (TextDecorationType.NONE))) { + if (((value) === (TextDecorationType.None))) { return true } - else if (((value) === (TextDecorationType.UNDERLINE))) { + else if (((value) === (TextDecorationType.Underline))) { return true } - else if (((value) === (TextDecorationType.OVERLINE))) { + else if (((value) === (TextDecorationType.Overline))) { return true } - else if (((value) === (TextDecorationType.LINE_THROUGH))) { + else if (((value) === (TextDecorationType.LineThrough))) { return true } else { @@ -17071,10 +17105,10 @@ export class TypeChecker { } } static isTextInputStyle(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (TextInputStyle.DEFAULT))) { + if (((value) === (TextInputStyle.Default))) { return true } - else if (((value) === (TextInputStyle.INLINE))) { + else if (((value) === (TextInputStyle.Inline))) { return true } else { @@ -17157,13 +17191,13 @@ export class TypeChecker { } } static isTextOverflow(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (TextOverflow.NONE))) { + if (((value) === (TextOverflow.None))) { return true } - else if (((value) === (TextOverflow.CLIP))) { + else if (((value) === (TextOverflow.Clip))) { return true } - else if (((value) === (TextOverflow.ELLIPSIS))) { + else if (((value) === (TextOverflow.Ellipsis))) { return true } else if (((value) === (TextOverflow.MARQUEE))) { @@ -17692,10 +17726,10 @@ export class TypeChecker { } } static isTitleHeight(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (TitleHeight.MAIN_ONLY))) { + if (((value) === (TitleHeight.MainOnly))) { return true } - else if (((value) === (TitleHeight.MAIN_WITH_SUB))) { + else if (((value) === (TitleHeight.MainWithSub))) { return true } else { @@ -17768,13 +17802,13 @@ export class TypeChecker { } } static isToggleType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (ToggleType.CHECKBOX))) { + if (((value) === (ToggleType.Checkbox))) { return true } - else if (((value) === (ToggleType.SWITCH))) { + else if (((value) === (ToggleType.Switch))) { return true } - else if (((value) === (ToggleType.BUTTON))) { + else if (((value) === (ToggleType.Button))) { return true } else { @@ -17942,16 +17976,16 @@ export class TypeChecker { } } static isTouchType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (TouchType.DOWN))) { + if (((value) === (TouchType.Down))) { return true } - else if (((value) === (TouchType.UP))) { + else if (((value) === (TouchType.Up))) { return true } - else if (((value) === (TouchType.MOVE))) { + else if (((value) === (TouchType.Move))) { return true } - else if (((value) === (TouchType.CANCEL))) { + else if (((value) === (TouchType.Cancel))) { return true } else { @@ -18039,13 +18073,13 @@ export class TypeChecker { } } static isTransitionType(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (TransitionType.ALL))) { + if (((value) === (TransitionType.All))) { return true } - else if (((value) === (TransitionType.INSERT))) { + else if (((value) === (TransitionType.Insert))) { return true } - else if (((value) === (TransitionType.DELETE))) { + else if (((value) === (TransitionType.Delete))) { return true } else { @@ -18303,13 +18337,13 @@ export class TypeChecker { } } static isVerticalAlign(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (VerticalAlign.TOP))) { + if (((value) === (VerticalAlign.Top))) { return true } - else if (((value) === (VerticalAlign.CENTER))) { + else if (((value) === (VerticalAlign.Center))) { return true } - else if (((value) === (VerticalAlign.BOTTOM))) { + else if (((value) === (VerticalAlign.Bottom))) { return true } else { @@ -18441,13 +18475,13 @@ export class TypeChecker { } } static isVisibility(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (Visibility.VISIBLE))) { + if (((value) === (Visibility.Visible))) { return true } - else if (((value) === (Visibility.HIDDEN))) { + else if (((value) === (Visibility.Hidden))) { return true } - else if (((value) === (Visibility.NONE))) { + else if (((value) === (Visibility.None))) { return true } else { @@ -18986,13 +19020,13 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof WebCookie") } static isWebDarkMode(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (WebDarkMode.OFF))) { + if (((value) === (WebDarkMode.Off))) { return true } - else if (((value) === (WebDarkMode.ON))) { + else if (((value) === (WebDarkMode.On))) { return true } - else if (((value) === (WebDarkMode.AUTO))) { + else if (((value) === (WebDarkMode.Auto))) { return true } else { @@ -19140,25 +19174,25 @@ export class TypeChecker { } } static isWeek(value: object|string|number|undefined|null|boolean): boolean { - if (((value) === (Week.MON))) { + if (((value) === (Week.Mon))) { return true } - else if (((value) === (Week.TUE))) { + else if (((value) === (Week.Tue))) { return true } - else if (((value) === (Week.WED))) { + else if (((value) === (Week.Wed))) { return true } - else if (((value) === (Week.THUR))) { + else if (((value) === (Week.Thur))) { return true } - else if (((value) === (Week.FRI))) { + else if (((value) === (Week.Fri))) { return true } - else if (((value) === (Week.SAT))) { + else if (((value) === (Week.Sat))) { return true } - else if (((value) === (Week.SUN))) { + else if (((value) === (Week.Sun))) { return true } else { @@ -19404,7 +19438,7 @@ export class TypeChecker { static isArray_ModifierKey(value: object|string|number|undefined|null): boolean { return Array.isArray(value) } - static isArray_CustomObject(value: object|string|number|undefined|null): boolean { + static isArray_Length(value: object|string|number|undefined|null): boolean { return Array.isArray(value) } static isArray_FractionStop(value: object|string|number|undefined|null): boolean { @@ -19455,6 +19489,15 @@ export class TypeChecker { static isArray_LayoutSafeAreaEdge(value: object|string|number|undefined|null): boolean { return Array.isArray(value) } + static isArray_CustomObject(value: object|string|number|undefined|null): boolean { + return Array.isArray(value) + } + static isArray_Point(value: object|string|number|undefined|null): boolean { + return Array.isArray(value) + } + static isArray_Union_Number_String(value: object|string|number|undefined|null): boolean { + return Array.isArray(value) + } static isArray_GuideLineStyle(value: object|string|number|undefined|null): boolean { return Array.isArray(value) } @@ -19488,9 +19531,6 @@ export class TypeChecker { static isArray_RichEditorSpan(value: object|string|number|undefined|null): boolean { return Array.isArray(value) } - static isArray_Length(value: object|string|number|undefined|null): boolean { - return Array.isArray(value) - } static isArray_SelectOption(value: object|string|number|undefined|null): 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 1baab3431..3ee6b339d 100644 --- a/arkoala-arkts/arkui/types/index-full.d.ts +++ b/arkoala-arkts/arkui/types/index-full.d.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -227,7 +227,7 @@ declare enum PointerStyle { } declare class UnifiedData { constructor(); - hasType(type: string): boolean; + hasType(UnifiedData_type: string): boolean; getTypes(): string[]; } declare type Callback_RangeUpdate = ((index: number, mark: number|bigint) => void); @@ -235,6 +235,7 @@ declare class LazyForEachOps { static NeedMoreElements(node: number|bigint, mark: number|bigint, direction: number): number|bigint; static OnRangeUpdate(node: number|bigint, totalCount: number, updater: Callback_RangeUpdate): void; static SetCurrentIndex(node: number|bigint, index: number): void; + static Prepare(node: number|bigint): void; } declare class DrawingCanvas { constructor(pixelmap: PixelMap); @@ -300,6 +301,12 @@ declare interface PixelMap { readPixelsToBufferSync(dst: ArrayBuffer): void; writeBufferToPixels(src: ArrayBuffer): void; } +declare interface ESObject { +} +declare interface Point { + x: number; + y: number; +} declare interface Root { } declare interface ComponentRoot { @@ -920,13 +927,13 @@ declare class CanvasRenderingContext2D extends CanvasRenderer { readonly height: number; readonly width: number; readonly canvas: FrameNode; - toDataURL(type?: string, quality?: any): string; + toDataURL(type?: string, quality?: number): string; startImageAnalyzer(config: ImageAnalyzerConfig): Promise; stopImageAnalyzer(): void; - on(type: 'onAttach', callback: (() => void)): void; - off(type: 'onAttach', callback?: (() => void)): void; - on(type: 'onDetach', callback: (() => void)): void; - off(type: 'onDetach', callback?: (() => void)): void; + on(type: 'onAttach', callback_: (() => void)): void; + off(type: 'onAttach', callback_?: (() => void)): void; + on(type: 'onDetach', callback_: (() => void)): void; + off(type: 'onDetach', callback_?: (() => void)): void; } declare class OffscreenCanvasRenderingContext2D extends CanvasRenderer { constructor(width: number, height: number, settings?: RenderingContextSettings); @@ -2066,6 +2073,7 @@ declare class CommonMethod { obscured(value: ObscuredReasons[]): T; reuseId(value: string): T; renderFit(value: RenderFit): T; + attributeModifier(value: AttributeModifier): T; gestureModifier(value: GestureModifier): T; backgroundBrightness(value: BackgroundBrightnessOptions): T; onGestureJudgeBegin(value: ((gestureInfo: GestureInfo, event: BaseGestureEvent) => GestureJudgeResult)): T; @@ -2111,7 +2119,7 @@ declare class CommonMethod { onVisibleAreaChange(ratios: number[], event: VisibleAreaChangeCallback): T; keyboardShortcut(value: (string|FunctionKey), keys: ModifierKey[], action?: (() => void)): T; accessibilityGroup(isGroup: boolean, accessibilityOptions: AccessibilityOptions): T; - onGestureRecognizerJudgeBegin(callback: GestureRecognizerJudgeBeginCallback, exposeInnerGesture: boolean): T; + onGestureRecognizerJudgeBegin(callback_: GestureRecognizerJudgeBeginCallback, exposeInnerGesture: boolean): T; } declare class CommonAttribute extends CommonMethod { } @@ -2140,7 +2148,7 @@ declare class CommonShapeMethod extends CommonMethod { fillOpacity(value: (number|string|Resource)): T; strokeWidth(value: Length): T; antiAlias(value: boolean): T; - strokeDashArray(value: any[]): T; + strokeDashArray(value: Length[]): T; } declare interface LinearGradient_common { angle?: (number|string); @@ -2284,9 +2292,9 @@ declare class ScrollableCommonMethod extends CommonMethod { nestedScroll(value: NestedScrollOptions): T; enableScrollInteraction(value: boolean): T; friction(value: (number|Resource)): T; - onScroll(value: ((scrollOffset: number, scrollState: ScrollState) => void)): T; + onScroll(value: ((first: number, last: number) => void)): T; onWillScroll(value: ScrollOnWillScrollCallback | undefined): T; - onDidScroll(value: ScrollOnWillScrollCallback | undefined): T; + onDidScroll(value: ScrollOnScrollCallback | undefined): T; onReachStart(value: (() => void)): T; onReachEnd(value: (() => void)): T; onScrollStart(value: (() => void)): T; @@ -2353,16 +2361,16 @@ declare interface VisibleAreaEventOptions { } declare type VisibleAreaChangeCallback = ((isExpanding: boolean, currentRatio: number) => void); declare 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; + 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; } declare interface UIGestureEvent { @@ -2560,6 +2568,7 @@ declare interface ContainerSpanInterface { } declare class ContainerSpanAttribute { textBackgroundStyle(value: TextBackgroundStyle): ContainerSpanAttribute; + attributeModifier(value: AttributeModifier): ContainerSpanAttribute; } declare interface Content { __ContentStub: string; @@ -3917,13 +3926,11 @@ declare interface ComputedBarAttribute { } declare type Callback_Number_Number_ComputedBarAttribute = ((index: number, offset: number) => ComputedBarAttribute); declare type Callback_Number_Number_Void = ((first: number, last: number) => void); -declare type Callback_Any = (() => any); -declare type Callback_ItemDragInfo_Number_Callback_Any = ((event: ItemDragInfo, itemIndex: number) => (() => any)); +declare type Callback_ItemDragInfo_Number_CustomBuilder = ((event: ItemDragInfo, itemIndex: number) => CustomBuilder); declare type Callback_ItemDragInfo_Void = ((event: ItemDragInfo) => void); declare type Callback_ItemDragInfo_Number_Number_Void = ((event: ItemDragInfo, itemIndex: number, insertIndex: number) => void); declare type Callback_ItemDragInfo_Number_Void = ((event: ItemDragInfo, itemIndex: number) => void); declare type Callback_ItemDragInfo_Number_Number_Boolean_Void = ((event: ItemDragInfo, itemIndex: number, insertIndex: number, isSuccess: boolean) => void); -declare type Callback_Number_ScrollState_Void = ((scrollOffset: number, scrollState: ScrollState) => void); declare type Literal_Number_offsetRemain = { offsetRemain: number } declare type Callback_Number_ScrollState_Literal_Number_offsetRemain = ((offset: number, state: ScrollState) => { offsetRemain: number }); declare class GridAttribute extends ScrollableCommonMethod { @@ -3944,7 +3951,7 @@ declare class GridAttribute extends ScrollableCommonMethod { cellLength(value: number): GridAttribute; layoutDirection(value: GridDirection): GridAttribute; supportAnimation(value: boolean): GridAttribute; - onItemDragStart(value: ((event: ItemDragInfo, itemIndex: number) => (() => any))): GridAttribute; + onItemDragStart(value: ((event: ItemDragInfo, itemIndex: number) => CustomBuilder)): GridAttribute; onItemDragEnter(value: ((event: ItemDragInfo) => void)): GridAttribute; onItemDragMove(value: ((event: ItemDragInfo, itemIndex: number, insertIndex: number) => void)): GridAttribute; onItemDragLeave(value: ((event: ItemDragInfo, itemIndex: number) => void)): GridAttribute; @@ -3953,7 +3960,7 @@ declare class GridAttribute extends ScrollableCommonMethod { enableScrollInteraction(value: boolean): GridAttribute; friction(value: (number|Resource)): GridAttribute; alignItems(value: GridItemAlignment | undefined): GridAttribute; - onScroll(value: ((scrollOffset: number, scrollState: ScrollState) => void)): GridAttribute; + onScroll(value: ((first: number, last: number) => void)): GridAttribute; onReachStart(value: (() => void)): GridAttribute; onReachEnd(value: (() => void)): GridAttribute; onScrollStart(value: (() => void)): GridAttribute; @@ -4286,8 +4293,8 @@ declare interface LineInterface { (options?: LineOptions): LineAttribute; } declare class LineAttribute extends CommonShapeMethod { - startPoint(value: any[]): LineAttribute; - endPoint(value: any[]): LineAttribute; + startPoint(value: Length[]): LineAttribute; + endPoint(value: Length[]): LineAttribute; } declare enum ScrollState { IDLE = 0, @@ -4389,7 +4396,7 @@ declare class ListAttribute extends ScrollableCommonMethod { friction(value: (number|Resource)): ListAttribute; childrenMainSize(value: ChildrenMainSize): ListAttribute; maintainVisibleContentPosition(value: boolean): ListAttribute; - onScroll(value: ((scrollOffset: number, scrollState: ScrollState) => void)): ListAttribute; + onScroll(value: ((first: number, last: number) => void)): ListAttribute; onScrollIndex(value: ((start: number, end: number, center: number) => void)): ListAttribute; onScrollVisibleContentChange(value: OnScrollVisibleContentChangeCallback): ListAttribute; onReachStart(value: (() => void)): ListAttribute; @@ -4398,7 +4405,7 @@ declare class ListAttribute extends ScrollableCommonMethod { onScrollStop(value: (() => void)): ListAttribute; onItemDelete(value: ((index: number) => boolean)): ListAttribute; onItemMove(value: ((from: number, to: number) => boolean)): ListAttribute; - onItemDragStart(value: ((event: ItemDragInfo, itemIndex: number) => (() => any))): ListAttribute; + onItemDragStart(value: ((event: ItemDragInfo, itemIndex: number) => CustomBuilder)): ListAttribute; onItemDragEnter(value: ((event: ItemDragInfo) => void)): ListAttribute; onItemDragMove(value: ((event: ItemDragInfo, itemIndex: number, insertIndex: number) => void)): ListAttribute; onItemDragLeave(value: ((event: ItemDragInfo, itemIndex: number) => void)): ListAttribute; @@ -5168,7 +5175,7 @@ declare interface PluginComponentTemplate { } declare interface PluginComponentOptions { template: PluginComponentTemplate; - data: any; + data: string; } declare interface PluginErrorData { errcode: number; @@ -5191,7 +5198,7 @@ declare interface PolygonInterface { (options?: PolygonOptions): PolygonAttribute; } declare class PolygonAttribute extends CommonShapeMethod { - points(value: any[]): PolygonAttribute; + points(value: Point[]): PolygonAttribute; } declare interface PolylineOptions { width?: (string|number); @@ -5202,7 +5209,7 @@ declare interface PolylineInterface { (options?: PolylineOptions): PolylineAttribute; } declare class PolylineAttribute extends CommonShapeMethod { - points(value: any[]): PolylineAttribute; + points(value: Point[]): PolylineAttribute; } declare interface ProgressOptions { value: number; @@ -5356,7 +5363,7 @@ declare class RatingAttribute extends CommonMethod { declare interface RectOptions { width?: (number|string); height?: (number|string); - radius?: (number|string|any[]); + radius?: (number|string|(number|string)[]); } declare interface RoundedRectOptions { width?: (number|string); @@ -5371,7 +5378,7 @@ declare interface RectInterface { declare class RectAttribute extends CommonShapeMethod { radiusWidth(value: (number|string)): RectAttribute; radiusHeight(value: (number|string)): RectAttribute; - radius(value: (number|string|any[])): RectAttribute; + radius(value: (number|string|(number|string)[])): RectAttribute; } declare enum RefreshStatus { INACTIVE = 0, @@ -5880,13 +5887,13 @@ declare interface OnScrollFrameBeginHandlerResult { declare type OnScrollFrameBeginCallback = ((offset: number, state: ScrollState) => OnScrollFrameBeginHandlerResult); declare class ScrollAttribute extends ScrollableCommonMethod { scrollable(value: ScrollDirection): ScrollAttribute; - onScroll(value: ((scrollOffset: number, scrollState: ScrollState) => void)): ScrollAttribute; + onScroll(value: ((first: number, last: number) => void)): ScrollAttribute; onWillScroll(value: ScrollOnWillScrollCallback | undefined): ScrollAttribute; - onDidScroll(value: ScrollOnWillScrollCallback | undefined): ScrollAttribute; + onDidScroll(value: ScrollOnScrollCallback | undefined): ScrollAttribute; onScrollEdge(value: OnScrollEdgeCallback): ScrollAttribute; - onScrollStart(value: (() => void)): ScrollAttribute; + onScrollStart(value: VoidCallback): ScrollAttribute; onScrollEnd(value: (() => void)): ScrollAttribute; - onScrollStop(value: (() => void)): ScrollAttribute; + onScrollStop(value: VoidCallback): ScrollAttribute; scrollBar(value: BarState): ScrollAttribute; scrollBarColor(value: (Color|number|string)): ScrollAttribute; scrollBarWidth(value: (number|string)): ScrollAttribute; @@ -6106,7 +6113,7 @@ declare class ShapeAttribute extends CommonMethod { stroke(value: ResourceColor): ShapeAttribute; fill(value: ResourceColor): ShapeAttribute; strokeDashOffset(value: (number|string)): ShapeAttribute; - strokeDashArray(value: any[]): ShapeAttribute; + strokeDashArray(value: Length[]): ShapeAttribute; strokeLineCap(value: LineCapStyle): ShapeAttribute; strokeLineJoin(value: LineJoinStyle): ShapeAttribute; strokeMiterLimit(value: (number|string)): ShapeAttribute; @@ -6114,7 +6121,7 @@ declare class ShapeAttribute extends CommonMethod { fillOpacity(value: (number|string|Resource)): ShapeAttribute; strokeWidth(value: (number|string)): ShapeAttribute; antiAlias(value: boolean): ShapeAttribute; - mesh(value: any[], column: number, row: number): ShapeAttribute; + mesh(value: number[], column: number, row: number): ShapeAttribute; } declare enum SliderStyle { OUT_SET = 0, @@ -6281,7 +6288,7 @@ declare class SwiperController { showNext(): void; showPrevious(): void; changeIndex(index: number, useAnimation?: boolean): void; - finishAnimation(callback?: VoidCallback): void; + finishAnimation(callback_?: VoidCallback): void; } declare class Indicator { left(value: Length): T; @@ -6487,6 +6494,7 @@ declare class SymbolSpanAttribute extends CommonMethod { fontWeight(value: (number|FontWeight|string)): SymbolSpanAttribute; effectStrategy(value: SymbolEffectStrategy): SymbolSpanAttribute; renderingStrategy(value: SymbolRenderingStrategy): SymbolSpanAttribute; + attributeModifier(value: AttributeModifier): SymbolSpanAttribute; } declare enum BarMode { SCROLLABLE = 0, @@ -7899,22 +7907,22 @@ declare class EventResult { constructor(); setGestureEventResult(result: boolean): void; } -declare type Literal_String_script_Callback_String_Void_callback = { script: string, callback?: ((breakpoints: string) => 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 } declare type Literal_Union_String_Resource_url_Array_Header_headers = { url: (string|Resource), headers?: Header[] } -declare type Literal_Object_object_String_name_Array_String_methodList = { object: Object, name: string, methodList: string[] } +declare type Literal_Object_object__String_name_Array_String_methodList = { object_: Object, name: string, methodList: string[] } declare class WebController { constructor(); onInactive(): void; onActive(): void; zoom(factor: number): void; clearHistory(): void; - runJavaScript(options: { script: string, callback?: ((breakpoints: string) => void) }): void; + runJavaScript(options: { script: string, callback_?: ((breakpoints: string) => void) }): void; loadData(options: { data: string, mimeType: string, encoding: string, baseUrl?: string, historyUrl?: string }): void; loadUrl(options: { url: (string|Resource), headers?: Header[] }): void; refresh(): void; stop(): void; - registerJavaScriptProxy(options: { object: Object, name: string, methodList: string[] }): void; + registerJavaScriptProxy(options: { object_: Object, name: string, methodList: string[] }): void; deleteJavaScriptRegister(name: string): void; getHitTest(): HitTestType; requestFocus(): void; @@ -8139,7 +8147,7 @@ declare interface OnOverScrollEvent { yOffset: number; } declare interface JavaScriptProxy { - object: Object; + object_: Object; name: string; methodList: string[]; controller: (WebController|WebviewController); @@ -8185,8 +8193,8 @@ declare type Callback_OnRenderExitedEvent_Void = ((parameter: OnRenderExitedEven declare type Callback_OnShowFileSelectorEvent_Boolean = ((parameter: OnShowFileSelectorEvent) => boolean); declare type Literal_Object_detail = { detail: Object } declare type Callback_Literal_Object_detail_Boolean = ((event?: { detail: Object }) => boolean); -declare type Literal_Function_callback_Object_fileSelector = { callback: Function, fileSelector: Object } -declare type Callback_Literal_Function_callback_Object_fileSelector_Void = ((event?: { callback: Function, fileSelector: Object }) => void); +declare type Literal_Function_callback__Object_fileSelector = { callback_: Function, fileSelector: Object } +declare type Type_WebAttribute_onFileSelectorShow_callback = ((event?: { callback_: Function, fileSelector: Object }) => void); declare type Callback_OnResourceLoadEvent_Void = ((parameter: OnResourceLoadEvent) => void); declare type Callback_OnScaleChangeEvent_Void = ((parameter: OnScaleChangeEvent) => void); declare type Callback_OnHttpAuthRequestEvent_Boolean = ((parameter: OnHttpAuthRequestEvent) => boolean); @@ -8255,7 +8263,7 @@ declare class WebAttribute extends CommonMethod { onRenderExited(value: ((parameter: OnRenderExitedEvent) => void)): WebAttribute; onShowFileSelector(value: ((parameter: OnShowFileSelectorEvent) => boolean)): WebAttribute; onRenderExited(value: ((event?: { detail: Object }) => boolean)): WebAttribute; - onFileSelectorShow(value: ((event?: { callback: Function, fileSelector: Object }) => void)): WebAttribute; + onFileSelectorShow(value: ((event?: { callback_: Function, fileSelector: Object }) => void)): WebAttribute; onResourceLoad(value: ((parameter: OnResourceLoadEvent) => void)): WebAttribute; onFullScreenExit(value: (() => void)): WebAttribute; onFullScreenEnter(value: OnFullScreenEnterCallback): WebAttribute; @@ -8529,10 +8537,10 @@ declare type Callback_UIExtensionProxy_Void = ((parameter: UIExtensionProxy) => declare interface UIExtensionProxy { send(data: Map): void; sendSync(data: Map): Map; - on(type: 'asyncReceiverRegister', callback: ((parameter: UIExtensionProxy) => void)): void; - on(type: 'syncReceiverRegister', callback: ((parameter: UIExtensionProxy) => void)): void; - off(type: 'asyncReceiverRegister', callback?: ((parameter: UIExtensionProxy) => void)): void; - off(type: 'syncReceiverRegister', callback?: ((parameter: UIExtensionProxy) => void)): void; + on(type: 'asyncReceiverRegister', callback_: ((parameter: UIExtensionProxy) => void)): void; + on(type: 'syncReceiverRegister', callback_: ((parameter: UIExtensionProxy) => void)): void; + off(type: 'asyncReceiverRegister', callback_?: ((parameter: UIExtensionProxy) => void)): void; + off(type: 'syncReceiverRegister', callback_?: ((parameter: UIExtensionProxy) => void)): void; } declare interface UIExtensionComponentInterface { (want: Want, options?: UIExtensionOptions): UIExtensionComponentAttribute; @@ -8755,7 +8763,7 @@ declare type OnLinearIndicatorChangeCallback = ((index: number, progress: number declare function getInspectorNodes(): Object; declare function getInspectorNodeById(id: number): Object; declare namespace Profiler { - function registerVsyncCallback(callback: ((breakpoints: string) => void)): void; + function registerVsyncCallback(callback_: ((breakpoints: string) => void)): void; } declare namespace Profiler { function unregisterVsyncCallback(): void; diff --git a/arkoala/arkui-types/index-full.d.ts b/arkoala/arkui-types/index-full.d.ts index f3403971f..bab7b9881 100644 --- a/arkoala/arkui-types/index-full.d.ts +++ b/arkoala/arkui-types/index-full.d.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -303,7 +303,7 @@ declare enum PointerStyle { } declare class UnifiedData { constructor(); - hasType(type: string): boolean; + hasType(UnifiedData_type: string): boolean; getTypes(): string[]; } declare type Callback_RangeUpdate = ((index: number, mark: number|bigint) => void); @@ -311,6 +311,7 @@ declare class LazyForEachOps { static NeedMoreElements(node: number|bigint, mark: number|bigint, direction: number): number|bigint; static OnRangeUpdate(node: number|bigint, totalCount: number, updater: Callback_RangeUpdate): void; static SetCurrentIndex(node: number|bigint, index: number): void; + static Prepare(node: number|bigint): void; } declare class DrawingCanvas { constructor(pixelmap: PixelMap); @@ -376,6 +377,12 @@ declare interface PixelMap { readPixelsToBufferSync(dst: ArrayBuffer): void; writeBufferToPixels(src: ArrayBuffer): void; } +declare interface ESObject { +} +declare interface Point { + x: number; + y: number; +} declare interface Root { } declare interface ComponentRoot { @@ -996,13 +1003,13 @@ declare class CanvasRenderingContext2D extends CanvasRenderer { readonly height: number; readonly width: number; readonly canvas: FrameNode; - toDataURL(type?: string, quality?: any): string; + toDataURL(type?: string, quality?: number): string; startImageAnalyzer(config: ImageAnalyzerConfig): Promise; stopImageAnalyzer(): void; - on(type: 'onAttach', callback: (() => void)): void; - off(type: 'onAttach', callback?: (() => void)): void; - on(type: 'onDetach', callback: (() => void)): void; - off(type: 'onDetach', callback?: (() => void)): void; + on(type: 'onAttach', callback_: (() => void)): void; + off(type: 'onAttach', callback_?: (() => void)): void; + on(type: 'onDetach', callback_: (() => void)): void; + off(type: 'onDetach', callback_?: (() => void)): void; } declare class OffscreenCanvasRenderingContext2D extends CanvasRenderer { constructor(width: number, height: number, settings?: RenderingContextSettings); @@ -2142,6 +2149,7 @@ declare class CommonMethod { obscured(value: ObscuredReasons[]): T; reuseId(value: string): T; renderFit(value: RenderFit): T; + attributeModifier(value: AttributeModifier): T; gestureModifier(value: GestureModifier): T; backgroundBrightness(value: BackgroundBrightnessOptions): T; onGestureJudgeBegin(value: ((gestureInfo: GestureInfo, event: BaseGestureEvent) => GestureJudgeResult)): T; @@ -2187,7 +2195,7 @@ declare class CommonMethod { onVisibleAreaChange(ratios: number[], event: VisibleAreaChangeCallback): T; keyboardShortcut(value: (string|FunctionKey), keys: ModifierKey[], action?: (() => void)): T; accessibilityGroup(isGroup: boolean, accessibilityOptions: AccessibilityOptions): T; - onGestureRecognizerJudgeBegin(callback: GestureRecognizerJudgeBeginCallback, exposeInnerGesture: boolean): T; + onGestureRecognizerJudgeBegin(callback_: GestureRecognizerJudgeBeginCallback, exposeInnerGesture: boolean): T; } declare class CommonAttribute extends CommonMethod { } @@ -2216,7 +2224,7 @@ declare class CommonShapeMethod extends CommonMethod { fillOpacity(value: (number|string|Resource)): T; strokeWidth(value: Length): T; antiAlias(value: boolean): T; - strokeDashArray(value: any[]): T; + strokeDashArray(value: Length[]): T; } declare interface LinearGradient_common { angle?: (number|string); @@ -2360,9 +2368,9 @@ declare class ScrollableCommonMethod extends CommonMethod { nestedScroll(value: NestedScrollOptions): T; enableScrollInteraction(value: boolean): T; friction(value: (number|Resource)): T; - onScroll(value: ((scrollOffset: number, scrollState: ScrollState) => void)): T; + onScroll(value: ((first: number, last: number) => void)): T; onWillScroll(value: ScrollOnWillScrollCallback | undefined): T; - onDidScroll(value: ScrollOnWillScrollCallback | undefined): T; + onDidScroll(value: ScrollOnScrollCallback | undefined): T; onReachStart(value: (() => void)): T; onReachEnd(value: (() => void)): T; onScrollStart(value: (() => void)): T; @@ -2429,16 +2437,16 @@ declare interface VisibleAreaEventOptions { } declare type VisibleAreaChangeCallback = ((isExpanding: boolean, currentRatio: number) => void); declare 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; + 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; } declare interface UIGestureEvent { @@ -2636,6 +2644,7 @@ declare interface ContainerSpanInterface { } declare class ContainerSpanAttribute { textBackgroundStyle(value: TextBackgroundStyle): ContainerSpanAttribute; + attributeModifier(value: AttributeModifier): ContainerSpanAttribute; } declare interface Content { __ContentStub: string; @@ -3993,13 +4002,11 @@ declare interface ComputedBarAttribute { } declare type Callback_Number_Number_ComputedBarAttribute = ((index: number, offset: number) => ComputedBarAttribute); declare type Callback_Number_Number_Void = ((first: number, last: number) => void); -declare type Callback_Any = (() => any); -declare type Callback_ItemDragInfo_Number_Callback_Any = ((event: ItemDragInfo, itemIndex: number) => (() => any)); +declare type Callback_ItemDragInfo_Number_CustomBuilder = ((event: ItemDragInfo, itemIndex: number) => CustomBuilder); declare type Callback_ItemDragInfo_Void = ((event: ItemDragInfo) => void); declare type Callback_ItemDragInfo_Number_Number_Void = ((event: ItemDragInfo, itemIndex: number, insertIndex: number) => void); declare type Callback_ItemDragInfo_Number_Void = ((event: ItemDragInfo, itemIndex: number) => void); declare type Callback_ItemDragInfo_Number_Number_Boolean_Void = ((event: ItemDragInfo, itemIndex: number, insertIndex: number, isSuccess: boolean) => void); -declare type Callback_Number_ScrollState_Void = ((scrollOffset: number, scrollState: ScrollState) => void); declare type Literal_Number_offsetRemain = { offsetRemain: number } declare type Callback_Number_ScrollState_Literal_Number_offsetRemain = ((offset: number, state: ScrollState) => { offsetRemain: number }); declare class GridAttribute extends ScrollableCommonMethod { @@ -4020,7 +4027,7 @@ declare class GridAttribute extends ScrollableCommonMethod { cellLength(value: number): GridAttribute; layoutDirection(value: GridDirection): GridAttribute; supportAnimation(value: boolean): GridAttribute; - onItemDragStart(value: ((event: ItemDragInfo, itemIndex: number) => (() => any))): GridAttribute; + onItemDragStart(value: ((event: ItemDragInfo, itemIndex: number) => CustomBuilder)): GridAttribute; onItemDragEnter(value: ((event: ItemDragInfo) => void)): GridAttribute; onItemDragMove(value: ((event: ItemDragInfo, itemIndex: number, insertIndex: number) => void)): GridAttribute; onItemDragLeave(value: ((event: ItemDragInfo, itemIndex: number) => void)): GridAttribute; @@ -4029,7 +4036,7 @@ declare class GridAttribute extends ScrollableCommonMethod { enableScrollInteraction(value: boolean): GridAttribute; friction(value: (number|Resource)): GridAttribute; alignItems(value: GridItemAlignment | undefined): GridAttribute; - onScroll(value: ((scrollOffset: number, scrollState: ScrollState) => void)): GridAttribute; + onScroll(value: ((first: number, last: number) => void)): GridAttribute; onReachStart(value: (() => void)): GridAttribute; onReachEnd(value: (() => void)): GridAttribute; onScrollStart(value: (() => void)): GridAttribute; @@ -4362,8 +4369,8 @@ declare interface LineInterface { (options?: LineOptions): LineAttribute; } declare class LineAttribute extends CommonShapeMethod { - startPoint(value: any[]): LineAttribute; - endPoint(value: any[]): LineAttribute; + startPoint(value: Length[]): LineAttribute; + endPoint(value: Length[]): LineAttribute; } declare enum ScrollState { IDLE = 0, @@ -4465,7 +4472,7 @@ declare class ListAttribute extends ScrollableCommonMethod { friction(value: (number|Resource)): ListAttribute; childrenMainSize(value: ChildrenMainSize): ListAttribute; maintainVisibleContentPosition(value: boolean): ListAttribute; - onScroll(value: ((scrollOffset: number, scrollState: ScrollState) => void)): ListAttribute; + onScroll(value: ((first: number, last: number) => void)): ListAttribute; onScrollIndex(value: ((start: number, end: number, center: number) => void)): ListAttribute; onScrollVisibleContentChange(value: OnScrollVisibleContentChangeCallback): ListAttribute; onReachStart(value: (() => void)): ListAttribute; @@ -4474,7 +4481,7 @@ declare class ListAttribute extends ScrollableCommonMethod { onScrollStop(value: (() => void)): ListAttribute; onItemDelete(value: ((index: number) => boolean)): ListAttribute; onItemMove(value: ((from: number, to: number) => boolean)): ListAttribute; - onItemDragStart(value: ((event: ItemDragInfo, itemIndex: number) => (() => any))): ListAttribute; + onItemDragStart(value: ((event: ItemDragInfo, itemIndex: number) => CustomBuilder)): ListAttribute; onItemDragEnter(value: ((event: ItemDragInfo) => void)): ListAttribute; onItemDragMove(value: ((event: ItemDragInfo, itemIndex: number, insertIndex: number) => void)): ListAttribute; onItemDragLeave(value: ((event: ItemDragInfo, itemIndex: number) => void)): ListAttribute; @@ -5244,7 +5251,7 @@ declare interface PluginComponentTemplate { } declare interface PluginComponentOptions { template: PluginComponentTemplate; - data: any; + data: string; } declare interface PluginErrorData { errcode: number; @@ -5267,7 +5274,7 @@ declare interface PolygonInterface { (options?: PolygonOptions): PolygonAttribute; } declare class PolygonAttribute extends CommonShapeMethod { - points(value: any[]): PolygonAttribute; + points(value: Point[]): PolygonAttribute; } declare interface PolylineOptions { width?: (string|number); @@ -5278,7 +5285,7 @@ declare interface PolylineInterface { (options?: PolylineOptions): PolylineAttribute; } declare class PolylineAttribute extends CommonShapeMethod { - points(value: any[]): PolylineAttribute; + points(value: Point[]): PolylineAttribute; } declare interface ProgressOptions { value: number; @@ -5432,7 +5439,7 @@ declare class RatingAttribute extends CommonMethod { declare interface RectOptions { width?: (number|string); height?: (number|string); - radius?: (number|string|any[]); + radius?: (number|string|(number|string)[]); } declare interface RoundedRectOptions { width?: (number|string); @@ -5447,7 +5454,7 @@ declare interface RectInterface { declare class RectAttribute extends CommonShapeMethod { radiusWidth(value: (number|string)): RectAttribute; radiusHeight(value: (number|string)): RectAttribute; - radius(value: (number|string|any[])): RectAttribute; + radius(value: (number|string|(number|string)[])): RectAttribute; } declare enum RefreshStatus { INACTIVE = 0, @@ -5956,13 +5963,13 @@ declare interface OnScrollFrameBeginHandlerResult { declare type OnScrollFrameBeginCallback = ((offset: number, state: ScrollState) => OnScrollFrameBeginHandlerResult); declare class ScrollAttribute extends ScrollableCommonMethod { scrollable(value: ScrollDirection): ScrollAttribute; - onScroll(value: ((scrollOffset: number, scrollState: ScrollState) => void)): ScrollAttribute; + onScroll(value: ((first: number, last: number) => void)): ScrollAttribute; onWillScroll(value: ScrollOnWillScrollCallback | undefined): ScrollAttribute; - onDidScroll(value: ScrollOnWillScrollCallback | undefined): ScrollAttribute; + onDidScroll(value: ScrollOnScrollCallback | undefined): ScrollAttribute; onScrollEdge(value: OnScrollEdgeCallback): ScrollAttribute; - onScrollStart(value: (() => void)): ScrollAttribute; + onScrollStart(value: VoidCallback): ScrollAttribute; onScrollEnd(value: (() => void)): ScrollAttribute; - onScrollStop(value: (() => void)): ScrollAttribute; + onScrollStop(value: VoidCallback): ScrollAttribute; scrollBar(value: BarState): ScrollAttribute; scrollBarColor(value: (Color|number|string)): ScrollAttribute; scrollBarWidth(value: (number|string)): ScrollAttribute; @@ -6182,7 +6189,7 @@ declare class ShapeAttribute extends CommonMethod { stroke(value: ResourceColor): ShapeAttribute; fill(value: ResourceColor): ShapeAttribute; strokeDashOffset(value: (number|string)): ShapeAttribute; - strokeDashArray(value: any[]): ShapeAttribute; + strokeDashArray(value: Length[]): ShapeAttribute; strokeLineCap(value: LineCapStyle): ShapeAttribute; strokeLineJoin(value: LineJoinStyle): ShapeAttribute; strokeMiterLimit(value: (number|string)): ShapeAttribute; @@ -6190,7 +6197,7 @@ declare class ShapeAttribute extends CommonMethod { fillOpacity(value: (number|string|Resource)): ShapeAttribute; strokeWidth(value: (number|string)): ShapeAttribute; antiAlias(value: boolean): ShapeAttribute; - mesh(value: any[], column: number, row: number): ShapeAttribute; + mesh(value: number[], column: number, row: number): ShapeAttribute; } declare enum SliderStyle { OUT_SET = 0, @@ -6357,7 +6364,7 @@ declare class SwiperController { showNext(): void; showPrevious(): void; changeIndex(index: number, useAnimation?: boolean): void; - finishAnimation(callback?: VoidCallback): void; + finishAnimation(callback_?: VoidCallback): void; } declare class Indicator { left(value: Length): T; @@ -6563,6 +6570,7 @@ declare class SymbolSpanAttribute extends CommonMethod { fontWeight(value: (number|FontWeight|string)): SymbolSpanAttribute; effectStrategy(value: SymbolEffectStrategy): SymbolSpanAttribute; renderingStrategy(value: SymbolRenderingStrategy): SymbolSpanAttribute; + attributeModifier(value: AttributeModifier): SymbolSpanAttribute; } declare enum BarMode { SCROLLABLE = 0, @@ -7975,22 +7983,22 @@ declare class EventResult { constructor(); setGestureEventResult(result: boolean): void; } -declare type Literal_String_script_Callback_String_Void_callback = { script: string, callback?: ((breakpoints: string) => 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 } declare type Literal_Union_String_Resource_url_Array_Header_headers = { url: (string|Resource), headers?: Header[] } -declare type Literal_Object_object_String_name_Array_String_methodList = { object: Object, name: string, methodList: string[] } +declare type Literal_Object_object__String_name_Array_String_methodList = { object_: Object, name: string, methodList: string[] } declare class WebController { constructor(); onInactive(): void; onActive(): void; zoom(factor: number): void; clearHistory(): void; - runJavaScript(options: { script: string, callback?: ((breakpoints: string) => void) }): void; + runJavaScript(options: { script: string, callback_?: ((breakpoints: string) => void) }): void; loadData(options: { data: string, mimeType: string, encoding: string, baseUrl?: string, historyUrl?: string }): void; loadUrl(options: { url: (string|Resource), headers?: Header[] }): void; refresh(): void; stop(): void; - registerJavaScriptProxy(options: { object: Object, name: string, methodList: string[] }): void; + registerJavaScriptProxy(options: { object_: Object, name: string, methodList: string[] }): void; deleteJavaScriptRegister(name: string): void; getHitTest(): HitTestType; requestFocus(): void; @@ -8215,7 +8223,7 @@ declare interface OnOverScrollEvent { yOffset: number; } declare interface JavaScriptProxy { - object: Object; + object_: Object; name: string; methodList: string[]; controller: (WebController|WebviewController); @@ -8261,8 +8269,8 @@ declare type Callback_OnRenderExitedEvent_Void = ((parameter: OnRenderExitedEven declare type Callback_OnShowFileSelectorEvent_Boolean = ((parameter: OnShowFileSelectorEvent) => boolean); declare type Literal_Object_detail = { detail: Object } declare type Callback_Literal_Object_detail_Boolean = ((event?: { detail: Object }) => boolean); -declare type Literal_Function_callback_Object_fileSelector = { callback: Function, fileSelector: Object } -declare type Callback_Literal_Function_callback_Object_fileSelector_Void = ((event?: { callback: Function, fileSelector: Object }) => void); +declare type Literal_Function_callback__Object_fileSelector = { callback_: Function, fileSelector: Object } +declare type Type_WebAttribute_onFileSelectorShow_callback = ((event?: { callback_: Function, fileSelector: Object }) => void); declare type Callback_OnResourceLoadEvent_Void = ((parameter: OnResourceLoadEvent) => void); declare type Callback_OnScaleChangeEvent_Void = ((parameter: OnScaleChangeEvent) => void); declare type Callback_OnHttpAuthRequestEvent_Boolean = ((parameter: OnHttpAuthRequestEvent) => boolean); @@ -8331,7 +8339,7 @@ declare class WebAttribute extends CommonMethod { onRenderExited(value: ((parameter: OnRenderExitedEvent) => void)): WebAttribute; onShowFileSelector(value: ((parameter: OnShowFileSelectorEvent) => boolean)): WebAttribute; onRenderExited(value: ((event?: { detail: Object }) => boolean)): WebAttribute; - onFileSelectorShow(value: ((event?: { callback: Function, fileSelector: Object }) => void)): WebAttribute; + onFileSelectorShow(value: ((event?: { callback_: Function, fileSelector: Object }) => void)): WebAttribute; onResourceLoad(value: ((parameter: OnResourceLoadEvent) => void)): WebAttribute; onFullScreenExit(value: (() => void)): WebAttribute; onFullScreenEnter(value: OnFullScreenEnterCallback): WebAttribute; @@ -8605,10 +8613,10 @@ declare type Callback_UIExtensionProxy_Void = ((parameter: UIExtensionProxy) => declare interface UIExtensionProxy { send(data: Map): void; sendSync(data: Map): Map; - on(type: 'asyncReceiverRegister', callback: ((parameter: UIExtensionProxy) => void)): void; - on(type: 'syncReceiverRegister', callback: ((parameter: UIExtensionProxy) => void)): void; - off(type: 'asyncReceiverRegister', callback?: ((parameter: UIExtensionProxy) => void)): void; - off(type: 'syncReceiverRegister', callback?: ((parameter: UIExtensionProxy) => void)): void; + on(type: 'asyncReceiverRegister', callback_: ((parameter: UIExtensionProxy) => void)): void; + on(type: 'syncReceiverRegister', callback_: ((parameter: UIExtensionProxy) => void)): void; + off(type: 'asyncReceiverRegister', callback_?: ((parameter: UIExtensionProxy) => void)): void; + off(type: 'syncReceiverRegister', callback_?: ((parameter: UIExtensionProxy) => void)): void; } declare interface UIExtensionComponentInterface { (want: Want, options?: UIExtensionOptions): UIExtensionComponentAttribute; @@ -8831,7 +8839,7 @@ declare type OnLinearIndicatorChangeCallback = ((index: number, progress: number declare function getInspectorNodes(): Object; declare function getInspectorNodeById(id: number): Object; declare namespace Profiler { - function registerVsyncCallback(callback: ((breakpoints: string) => void)): void; + function registerVsyncCallback(callback_: ((breakpoints: string) => void)): void; } declare namespace Profiler { function unregisterVsyncCallback(): void; diff --git a/arkoala/arkui/src/ArkAbilityComponent.ts b/arkoala/arkui/src/ArkAbilityComponent.ts index 987161f2f..2bf0d10c7 100644 --- a/arkoala/arkui/src/ArkAbilityComponent.ts +++ b/arkoala/arkui/src/ArkAbilityComponent.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkAccessibilityHoverEventMaterialized.ts b/arkoala/arkui/src/ArkAccessibilityHoverEventMaterialized.ts new file mode 100644 index 000000000..b893a3b7e --- /dev/null +++ b/arkoala/arkui/src/ArkAccessibilityHoverEventMaterialized.ts @@ -0,0 +1,223 @@ +/* + * 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 { BaseEventInternal } from "./ArkBaseEventMaterialized" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase } from "./peers/SerializerBase" +import { unsafeCast } from "./shared/generated-utils" +import { registerCallback } from "./peers/SerializerBase" +import { wrapCallback } from "@koalaui/interop" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class AccessibilityHoverEventInternal extends BaseEventInternal implements MaterializedBase,AccessibilityHoverEvent { + peer?: Finalizable | undefined + 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() + } + set y(y: number) { + this.setY(y) + } + 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) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr: KPointer = AccessibilityHoverEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, AccessibilityHoverEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getFinalizer() + } + private getType(): AccessibilityHoverType { + return this.getType_serialize() + } + private setType(type: AccessibilityHoverType): void { + const type_casted = type as (AccessibilityHoverType) + this?.setType_serialize(type_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 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 getType_serialize(): AccessibilityHoverType { + const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getType(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setType_serialize(type: AccessibilityHoverType): void { + ArkUIGeneratedNativeModule._AccessibilityHoverEvent_setType(this.peer!.ptr, type) + } + private getX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._AccessibilityHoverEvent_getX(this.peer!.ptr) + return retval + } + 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 + } +} diff --git a/arkoala/arkui/src/ArkActionSheetMaterialized.ts b/arkoala/arkui/src/ArkActionSheetMaterialized.ts index 59cb4878c..47e004135 100644 --- a/arkoala/arkui/src/ArkActionSheetMaterialized.ts +++ b/arkoala/arkui/src/ArkActionSheetMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class ActionSheet implements MaterializedBase,ActionSheet { - peer?: Finalizable +export class ActionSheet implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ActionSheet { - const objActionSheet: ActionSheet = new ActionSheet() - objActionSheet.peer = new Finalizable(ptr, ActionSheet.getFinalizer()) - return objActionSheet - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._ActionSheet_ctor() return retval diff --git a/arkoala/arkui/src/ArkAlertDialogMaterialized.ts b/arkoala/arkui/src/ArkAlertDialogMaterialized.ts index bfbac38a7..80f73a8ea 100644 --- a/arkoala/arkui/src/ArkAlertDialogMaterialized.ts +++ b/arkoala/arkui/src/ArkAlertDialogMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class AlertDialog implements MaterializedBase,AlertDialog { - peer?: Finalizable +export class AlertDialog implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): AlertDialog { - const objAlertDialog: AlertDialog = new AlertDialog() - objAlertDialog.peer = new Finalizable(ptr, AlertDialog.getFinalizer()) - return objAlertDialog - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._AlertDialog_ctor() return retval diff --git a/arkoala/arkui/src/ArkAlphabetIndexer.ts b/arkoala/arkui/src/ArkAlphabetIndexer.ts index bff9ee943..00f73809a 100644 --- a/arkoala/arkui/src/ArkAlphabetIndexer.ts +++ b/arkoala/arkui/src/ArkAlphabetIndexer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkAnimator.ts b/arkoala/arkui/src/ArkAnimator.ts index 5f1baf2c9..e44b86be0 100644 --- a/arkoala/arkui/src/ArkAnimator.ts +++ b/arkoala/arkui/src/ArkAnimator.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkBadge.ts b/arkoala/arkui/src/ArkBadge.ts index 9d31feab5..69d6718eb 100644 --- a/arkoala/arkui/src/ArkBadge.ts +++ b/arkoala/arkui/src/ArkBadge.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkBaseEventMaterialized.ts b/arkoala/arkui/src/ArkBaseEventMaterialized.ts new file mode 100644 index 000000000..bd23c1847 --- /dev/null +++ b/arkoala/arkui/src/ArkBaseEventMaterialized.ts @@ -0,0 +1,298 @@ +/* + * 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 { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase } from "./peers/SerializerBase" +import { unsafeCast } from "./shared/generated-utils" +import { registerCallback } from "./peers/SerializerBase" +import { wrapCallback } from "@koalaui/interop" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class BaseEventInternal implements MaterializedBase,BaseEvent { + peer?: Finalizable | undefined + 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 { + return this.getAxisHorizontal() + } + set axisHorizontal(axisHorizontal: number) { + const axisHorizontal_NonNull = (axisHorizontal as number) + this.setAxisHorizontal(axisHorizontal_NonNull) + } + get axisVertical(): number { + return this.getAxisVertical() + } + set axisVertical(axisVertical: number) { + 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 sourceTool(): SourceTool { + return this.getSourceTool() + } + set sourceTool(sourceTool: SourceTool) { + this.setSourceTool(sourceTool) + } + get deviceId(): number { + return this.getDeviceId() + } + set deviceId(deviceId: number) { + const deviceId_NonNull = (deviceId as number) + this.setDeviceId(deviceId_NonNull) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._BaseEvent_ctor() + return retval + } + constructor() { + { + const ctorPtr: KPointer = BaseEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, BaseEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._BaseEvent_getFinalizer() + } + getModifierKeyState(keys: Array): boolean { + const keys_casted = keys as (Array) + return this.getModifierKeyState_serialize(keys_casted) + } + 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 { + return this.getAxisHorizontal_serialize() + } + private setAxisHorizontal(axisHorizontal: number): void { + const axisHorizontal_casted = axisHorizontal as (number) + this?.setAxisHorizontal_serialize(axisHorizontal_casted) + return + } + private getAxisVertical(): number { + 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 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 { + return this.getDeviceId_serialize() + } + private setDeviceId(deviceId: number): void { + const deviceId_casted = deviceId as (number) + this?.setDeviceId_serialize(deviceId_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.asArray(), thisSerializer.length()) + thisSerializer.release() + return retval + } + private setTarget_serialize(target: EventTarget): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeEventTarget(target) + ArkUIGeneratedNativeModule._BaseEvent_setTarget(this.peer!.ptr, thisSerializer.asArray(), 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) + throw new Error("Object deserialization is not implemented.") + } + private setSource_serialize(source: SourceType): void { + ArkUIGeneratedNativeModule._BaseEvent_setSource(this.peer!.ptr, source) + } + private getAxisHorizontal_serialize(): number { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getAxisHorizontal(this.peer!.ptr) + return retval + } + private setAxisHorizontal_serialize(axisHorizontal: number): void { + ArkUIGeneratedNativeModule._BaseEvent_setAxisHorizontal(this.peer!.ptr, axisHorizontal) + } + private getAxisVertical_serialize(): number { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getAxisVertical(this.peer!.ptr) + return retval + } + 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 getSourceTool_serialize(): SourceTool { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getSourceTool(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setSourceTool_serialize(sourceTool: SourceTool): void { + ArkUIGeneratedNativeModule._BaseEvent_setSourceTool(this.peer!.ptr, sourceTool) + } + private getDeviceId_serialize(): number { + const retval = ArkUIGeneratedNativeModule._BaseEvent_getDeviceId(this.peer!.ptr) + return retval + } + private setDeviceId_serialize(deviceId: number): void { + ArkUIGeneratedNativeModule._BaseEvent_setDeviceId(this.peer!.ptr, deviceId) + } + public static fromPtr(ptr: KPointer): BaseEventInternal { + const obj: BaseEventInternal = new BaseEventInternal() + obj.peer = new Finalizable(ptr, BaseEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala/arkui/src/ArkBaseGestureEventMaterialized.ts b/arkoala/arkui/src/ArkBaseGestureEventMaterialized.ts new file mode 100644 index 000000000..5349daa4a --- /dev/null +++ b/arkoala/arkui/src/ArkBaseGestureEventMaterialized.ts @@ -0,0 +1,97 @@ +/* + * 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 { BaseEventInternal } from "./ArkBaseEventMaterialized" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase } from "./peers/SerializerBase" +import { unsafeCast } from "./shared/generated-utils" +import { registerCallback } from "./peers/SerializerBase" +import { wrapCallback } from "@koalaui/interop" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class BaseGestureEventInternal extends BaseEventInternal implements MaterializedBase,BaseGestureEvent { + peer?: Finalizable | undefined + get fingerList(): Array { + throw new Error("Not implemented") + } + set fingerList(fingerList: Array) { + this.setFingerList(fingerList) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._BaseGestureEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr: KPointer = BaseGestureEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, BaseGestureEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._BaseGestureEvent_getFinalizer() + } + private setFingerList(fingerList: Array): void { + const fingerList_casted = fingerList as (Array) + this?.setFingerList_serialize(fingerList_casted) + return + } + private setFingerList_serialize(fingerList: Array): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(fingerList.length) + for (let i = 0; i < fingerList.length; i++) { + const fingerList_element: FingerInfo = fingerList[i] + thisSerializer.writeFingerInfo(fingerList_element) + } + ArkUIGeneratedNativeModule._BaseGestureEvent_setFingerList(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + public static fromPtr(ptr: KPointer): BaseGestureEventInternal { + const obj: BaseGestureEventInternal = new BaseGestureEventInternal() + obj.peer = new Finalizable(ptr, BaseGestureEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala/arkui/src/ArkBlank.ts b/arkoala/arkui/src/ArkBlank.ts index f3e25b757..718b756cd 100644 --- a/arkoala/arkui/src/ArkBlank.ts +++ b/arkoala/arkui/src/ArkBlank.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkButton.ts b/arkoala/arkui/src/ArkButton.ts index 7e08ebe4b..ce52ffffe 100644 --- a/arkoala/arkui/src/ArkButton.ts +++ b/arkoala/arkui/src/ArkButton.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -30,23 +30,23 @@ export class ArkButtonComponent extends ArkCommonMethodComponent { return (this.peer as ArkButtonPeer) } /** @memo */ - setButtonOptions(label?: ResourceStr | ButtonOptions, options?: ButtonOptions): this { + setButtonOptions(label?: ButtonOptions | ResourceStr, options?: ButtonOptions): this { if (this.checkPriority("setButtonOptions")) { const label_type = runtimeType(label) const options_type = runtimeType(options) - if ((((RuntimeType.STRING == label_type)) || ((RuntimeType.OBJECT == label_type))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { - const label_casted = label as (ResourceStr) - const options_casted = options as (ButtonOptions | undefined) - this.getPeer()?.setButtonOptions2Attribute(label_casted, options_casted) + if ((((RuntimeType.UNDEFINED == label_type))) && (((RuntimeType.UNDEFINED == options_type)))) { + this.getPeer()?.setButtonOptions0Attribute() return this } if ((((RuntimeType.OBJECT) == (label_type)) && (((label!.hasOwnProperty("type")) || (label!.hasOwnProperty("stateEffect")) || (label!.hasOwnProperty("buttonStyle")) || (label!.hasOwnProperty("controlSize")) || (label!.hasOwnProperty("role"))))) && (((RuntimeType.UNDEFINED == options_type)))) { - const label_casted = label as (ButtonOptions) - this.getPeer()?.setButtonOptions1Attribute(label_casted) + const options_casted = label as (ButtonOptions) + this.getPeer()?.setButtonOptions1Attribute(options_casted) return this } - if ((((RuntimeType.UNDEFINED == label_type))) && (((RuntimeType.UNDEFINED == options_type)))) { - this.getPeer()?.setButtonOptions0Attribute() + if ((((RuntimeType.STRING == label_type)) || ((RuntimeType.OBJECT == label_type))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { + const label_casted = label as (ResourceStr) + const options_casted = options as (ButtonOptions | undefined) + this.getPeer()?.setButtonOptions2Attribute(label_casted, options_casted) return this } throw new Error("Can not select appropriate overload") diff --git a/arkoala/arkui/src/ArkCalendar.ts b/arkoala/arkui/src/ArkCalendar.ts index fee594c72..e47d08bc8 100644 --- a/arkoala/arkui/src/ArkCalendar.ts +++ b/arkoala/arkui/src/ArkCalendar.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkCalendarControllerMaterialized.ts b/arkoala/arkui/src/ArkCalendarControllerMaterialized.ts index 21b7ffc1c..40126a7d0 100644 --- a/arkoala/arkui/src/ArkCalendarControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkCalendarControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class CalendarController implements MaterializedBase,CalendarController { - peer?: Finalizable +export class CalendarController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): CalendarController { - const objCalendarController: CalendarController = new CalendarController() - objCalendarController.peer = new Finalizable(ptr, CalendarController.getFinalizer()) - return objCalendarController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._CalendarController_ctor() return retval diff --git a/arkoala/arkui/src/ArkCalendarPicker.ts b/arkoala/arkui/src/ArkCalendarPicker.ts index 84d481ed1..c065492d6 100644 --- a/arkoala/arkui/src/ArkCalendarPicker.ts +++ b/arkoala/arkui/src/ArkCalendarPicker.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkCalendarPickerDialogMaterialized.ts b/arkoala/arkui/src/ArkCalendarPickerDialogMaterialized.ts index 0032de9db..4f2a6e4cc 100644 --- a/arkoala/arkui/src/ArkCalendarPickerDialogMaterialized.ts +++ b/arkoala/arkui/src/ArkCalendarPickerDialogMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class CalendarPickerDialog implements MaterializedBase,CalendarPickerDialog { - peer?: Finalizable +export class CalendarPickerDialog implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): CalendarPickerDialog { - const objCalendarPickerDialog: CalendarPickerDialog = new CalendarPickerDialog() - objCalendarPickerDialog.peer = new Finalizable(ptr, CalendarPickerDialog.getFinalizer()) - return objCalendarPickerDialog - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._CalendarPickerDialog_ctor() return retval diff --git a/arkoala/arkui/src/ArkCanvas.ts b/arkoala/arkui/src/ArkCanvas.ts index d1f76d3cc..9d791791e 100644 --- a/arkoala/arkui/src/ArkCanvas.ts +++ b/arkoala/arkui/src/ArkCanvas.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkCanvasGradientMaterialized.ts b/arkoala/arkui/src/ArkCanvasGradientMaterialized.ts index 61082df40..5f58f659f 100644 --- a/arkoala/arkui/src/ArkCanvasGradientMaterialized.ts +++ b/arkoala/arkui/src/ArkCanvasGradientMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class CanvasGradient implements MaterializedBase,CanvasGradient { - peer?: Finalizable +export class CanvasGradient implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): CanvasGradient { - const objCanvasGradient: CanvasGradient = new CanvasGradient() - objCanvasGradient.peer = new Finalizable(ptr, CanvasGradient.getFinalizer()) - return objCanvasGradient - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._CanvasGradient_ctor() return retval diff --git a/arkoala/arkui/src/ArkCanvasPathMaterialized.ts b/arkoala/arkui/src/ArkCanvasPathMaterialized.ts index 223b409d6..48700c035 100644 --- a/arkoala/arkui/src/ArkCanvasPathMaterialized.ts +++ b/arkoala/arkui/src/ArkCanvasPathMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class CanvasPath implements MaterializedBase,CanvasPath { - peer?: Finalizable +export class CanvasPath implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): CanvasPath { - const objCanvasPath: CanvasPath = new CanvasPath() - objCanvasPath.peer = new Finalizable(ptr, CanvasPath.getFinalizer()) - return objCanvasPath - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._CanvasPath_ctor() return retval diff --git a/arkoala/arkui/src/ArkCanvasPatternMaterialized.ts b/arkoala/arkui/src/ArkCanvasPatternMaterialized.ts index ea99edfec..895ef4c13 100644 --- a/arkoala/arkui/src/ArkCanvasPatternMaterialized.ts +++ b/arkoala/arkui/src/ArkCanvasPatternMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,7 +16,6 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { Matrix2D } from "./ArkMatrix2DMaterialized" import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" @@ -49,24 +48,19 @@ import { } from "@koalaui/interop" -export class CanvasPattern implements MaterializedBase,CanvasPattern { - peer?: Finalizable +export class CanvasPatternInternal implements MaterializedBase,CanvasPattern { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): CanvasPattern { - const objCanvasPattern: CanvasPattern = new CanvasPattern() - objCanvasPattern.peer = new Finalizable(ptr, CanvasPattern.getFinalizer()) - return objCanvasPattern - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._CanvasPattern_ctor() return retval } constructor() { { - const ctorPtr: KPointer = CanvasPattern.ctor() - this.peer = new Finalizable(ctorPtr, CanvasPattern.getFinalizer()) + const ctorPtr: KPointer = CanvasPatternInternal.ctor() + this.peer = new Finalizable(ctorPtr, CanvasPatternInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -89,11 +83,9 @@ export class CanvasPattern implements MaterializedBase,CanvasPattern { ArkUIGeneratedNativeModule._CanvasPattern_setTransform(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } -} -export class CanvasPatternInternal { - public static fromPtr(ptr: KPointer): CanvasPattern { - const obj: CanvasPattern = new CanvasPattern() - obj.peer = new Finalizable(ptr, CanvasPattern.getFinalizer()) + public static fromPtr(ptr: KPointer): CanvasPatternInternal { + const obj: CanvasPatternInternal = new CanvasPatternInternal() + obj.peer = new Finalizable(ptr, CanvasPatternInternal.getFinalizer()) return obj } } diff --git a/arkoala/arkui/src/ArkCanvasRendererMaterialized.ts b/arkoala/arkui/src/ArkCanvasRendererMaterialized.ts index 0171a4c15..639b211d3 100644 --- a/arkoala/arkui/src/ArkCanvasRendererMaterialized.ts +++ b/arkoala/arkui/src/ArkCanvasRendererMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -17,12 +17,6 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { CanvasPath } from "./ArkCanvasPathMaterialized" -import { CanvasGradient } from "./ArkCanvasGradientMaterialized" -import { CanvasPattern } from "./ArkCanvasPatternMaterialized" -import { ImageBitmap } from "./ArkImageBitmapMaterialized" -import { PixelMap } from "./ArkPixelMapMaterialized" -import { Path2D } from "./ArkPath2DMaterialized" -import { Matrix2D } from "./ArkMatrix2DMaterialized" import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" @@ -55,8 +49,8 @@ import { } from "@koalaui/interop" -export class CanvasRenderer extends CanvasPath implements MaterializedBase,CanvasRenderer { - peer?: Finalizable +export class CanvasRenderer extends CanvasPath implements MaterializedBase { + peer?: Finalizable | undefined get globalAlpha(): number { return this.getGlobalAlpha() } @@ -180,11 +174,6 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,Canva getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): CanvasRenderer { - const objCanvasRenderer: CanvasRenderer = new CanvasRenderer() - objCanvasRenderer.peer = new Finalizable(ptr, CanvasRenderer.getFinalizer()) - return objCanvasRenderer - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._CanvasRenderer_ctor() return retval @@ -209,6 +198,22 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,Canva const dy_type = runtimeType(dy) const dw_type = runtimeType(dw) const dh_type = runtimeType(dh) + if ((((RuntimeType.OBJECT == image_type)) || ((RuntimeType.OBJECT == image_type))) && (((RuntimeType.UNDEFINED == sw_type))) && (((RuntimeType.UNDEFINED == sh_type))) && (((RuntimeType.UNDEFINED == dx_type))) && (((RuntimeType.UNDEFINED == dy_type))) && (((RuntimeType.UNDEFINED == dw_type))) && (((RuntimeType.UNDEFINED == dh_type)))) { + const image_casted = image as (ImageBitmap | PixelMap) + const dx_casted = sx as (number) + const dy_casted = sy as (number) + this?.drawImage0_serialize(image_casted, dx_casted, dy_casted) + return + } + if ((((RuntimeType.OBJECT == image_type)) || ((RuntimeType.OBJECT == image_type))) && (((RuntimeType.NUMBER == sw_type))) && (((RuntimeType.NUMBER == sh_type))) && (((RuntimeType.UNDEFINED == dx_type))) && (((RuntimeType.UNDEFINED == dy_type))) && (((RuntimeType.UNDEFINED == dw_type))) && (((RuntimeType.UNDEFINED == dh_type)))) { + const image_casted = image as (ImageBitmap | PixelMap) + const dx_casted = sx as (number) + const dy_casted = sy as (number) + const dw_casted = sw as (number) + const dh_casted = sh as (number) + this?.drawImage1_serialize(image_casted, dx_casted, dy_casted, dw_casted, dh_casted) + return + } if ((((RuntimeType.OBJECT == image_type)) || ((RuntimeType.OBJECT == image_type))) && (((RuntimeType.NUMBER == sw_type))) && (((RuntimeType.NUMBER == sh_type))) && (((RuntimeType.NUMBER == dx_type))) && (((RuntimeType.NUMBER == dy_type))) && (((RuntimeType.NUMBER == dw_type))) && (((RuntimeType.NUMBER == dh_type)))) { const image_casted = image as (ImageBitmap | PixelMap) const sx_casted = sx as (number) @@ -222,71 +227,55 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,Canva this?.drawImage2_serialize(image_casted, sx_casted, sy_casted, sw_casted, sh_casted, dx_casted, dy_casted, dw_casted, dh_casted) return } - if ((((RuntimeType.OBJECT == image_type)) || ((RuntimeType.OBJECT == image_type))) && (((RuntimeType.NUMBER == sw_type))) && (((RuntimeType.NUMBER == sh_type))) && (((RuntimeType.UNDEFINED == dx_type))) && (((RuntimeType.UNDEFINED == dy_type))) && (((RuntimeType.UNDEFINED == dw_type))) && (((RuntimeType.UNDEFINED == dh_type)))) { - const image_casted = image as (ImageBitmap | PixelMap) - const sx_casted = sx as (number) - const sy_casted = sy as (number) - const sw_casted = sw as (number) - const sh_casted = sh as (number) - this?.drawImage1_serialize(image_casted, sx_casted, sy_casted, sw_casted, sh_casted) - return - } - if ((((RuntimeType.OBJECT == image_type)) || ((RuntimeType.OBJECT == image_type))) && (((RuntimeType.UNDEFINED == sw_type))) && (((RuntimeType.UNDEFINED == sh_type))) && (((RuntimeType.UNDEFINED == dx_type))) && (((RuntimeType.UNDEFINED == dy_type))) && (((RuntimeType.UNDEFINED == dw_type))) && (((RuntimeType.UNDEFINED == dh_type)))) { - const image_casted = image as (ImageBitmap | PixelMap) - const sx_casted = sx as (number) - const sy_casted = sy as (number) - this?.drawImage0_serialize(image_casted, sx_casted, sy_casted) - return - } throw new Error("Can not select appropriate overload") } beginPath(): void { this?.beginPath_serialize() return } - clip(path?: Path2D | CanvasFillRule | undefined, fillRule?: CanvasFillRule): void { + clip(path?: CanvasFillRule | undefined | Path2D, fillRule?: CanvasFillRule): void { const path_type = runtimeType(path) const fillRule_type = runtimeType(fillRule) + if ((((RuntimeType.STRING == path_type)) || ((RuntimeType.UNDEFINED == path_type))) && (((RuntimeType.UNDEFINED == fillRule_type)))) { + const fillRule_casted = path as (CanvasFillRule | undefined) + this?.clip0_serialize(fillRule_casted) + return + } if ((((RuntimeType.OBJECT == path_type))) && (((RuntimeType.STRING == fillRule_type)) || ((RuntimeType.UNDEFINED == fillRule_type)))) { const path_casted = path as (Path2D) const fillRule_casted = fillRule as (CanvasFillRule | undefined) this?.clip1_serialize(path_casted, fillRule_casted) return } - if ((((RuntimeType.STRING == path_type)) || ((RuntimeType.UNDEFINED == path_type))) && (((RuntimeType.UNDEFINED == fillRule_type)))) { - const path_casted = path as (CanvasFillRule | undefined) - this?.clip0_serialize(path_casted) - return - } throw new Error("Can not select appropriate overload") } - fill(path?: Path2D | CanvasFillRule | undefined, fillRule?: CanvasFillRule): void { + fill(path?: CanvasFillRule | undefined | Path2D, fillRule?: CanvasFillRule): void { const path_type = runtimeType(path) const fillRule_type = runtimeType(fillRule) + if ((((RuntimeType.STRING == path_type)) || ((RuntimeType.UNDEFINED == path_type))) && (((RuntimeType.UNDEFINED == fillRule_type)))) { + const fillRule_casted = path as (CanvasFillRule | undefined) + this?.fill0_serialize(fillRule_casted) + return + } if ((((RuntimeType.OBJECT == path_type))) && (((RuntimeType.STRING == fillRule_type)) || ((RuntimeType.UNDEFINED == fillRule_type)))) { const path_casted = path as (Path2D) const fillRule_casted = fillRule as (CanvasFillRule | undefined) this?.fill1_serialize(path_casted, fillRule_casted) return } - if ((((RuntimeType.STRING == path_type)) || ((RuntimeType.UNDEFINED == path_type))) && (((RuntimeType.UNDEFINED == fillRule_type)))) { - const path_casted = path as (CanvasFillRule | undefined) - this?.fill0_serialize(path_casted) - return - } throw new Error("Can not select appropriate overload") } stroke(path?: Path2D): void { const path_type = runtimeType(path) + if ((((RuntimeType.UNDEFINED == path_type)))) { + this?.stroke0_serialize() + return + } if ((((RuntimeType.OBJECT == path_type)))) { const path_casted = path as (Path2D) this?.stroke1_serialize(path_casted) return } - if ((((RuntimeType.UNDEFINED == path_type)))) { - this?.stroke0_serialize() - return - } throw new Error("Can not select appropriate overload") } createLinearGradient(x0: number, y0: number, x1: number, y1: number): CanvasGradient { @@ -316,18 +305,18 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,Canva const y_casted = y as (number) return this.createConicGradient_serialize(startAngle_casted, x_casted, y_casted) } - createImageData(sw: number | ImageData, sh?: number): ImageData { + createImageData(sw: ImageData | number, sh?: number): ImageData { const sw_type = runtimeType(sw) const sh_type = runtimeType(sh) + if ((((RuntimeType.OBJECT == sw_type))) && (((RuntimeType.UNDEFINED == sh_type)))) { + const imagedata_casted = sw as (ImageData) + return this.createImageData1_serialize(imagedata_casted) + } if ((((RuntimeType.NUMBER == sw_type))) && (((RuntimeType.NUMBER == sh_type)))) { const sw_casted = sw as (number) const sh_casted = sh as (number) return this.createImageData0_serialize(sw_casted, sh_casted) } - if ((((RuntimeType.OBJECT == sw_type))) && (((RuntimeType.UNDEFINED == sh_type)))) { - const sw_casted = sw as (ImageData) - return this.createImageData1_serialize(sw_casted) - } throw new Error("Can not select appropriate overload") } getImageData(sx: number, sy: number, sw: number, sh: number): ImageData { @@ -352,6 +341,13 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,Canva const dirtyY_type = runtimeType(dirtyY) const dirtyWidth_type = runtimeType(dirtyWidth) const dirtyHeight_type = runtimeType(dirtyHeight) + if ((((RuntimeType.NUMBER == dx_type)) || ((RuntimeType.STRING == dx_type))) && (((RuntimeType.NUMBER == dy_type)) || ((RuntimeType.STRING == dy_type))) && (((RuntimeType.UNDEFINED == dirtyX_type))) && (((RuntimeType.UNDEFINED == dirtyY_type))) && (((RuntimeType.UNDEFINED == dirtyWidth_type))) && (((RuntimeType.UNDEFINED == dirtyHeight_type)))) { + const imagedata_casted = imagedata as (ImageData) + const dx_casted = dx as (number | string) + const dy_casted = dy as (number | string) + this?.putImageData0_serialize(imagedata_casted, dx_casted, dy_casted) + return + } if ((((RuntimeType.NUMBER == dx_type)) || ((RuntimeType.STRING == dx_type))) && (((RuntimeType.NUMBER == dy_type)) || ((RuntimeType.STRING == dy_type))) && (((RuntimeType.NUMBER == dirtyX_type)) || ((RuntimeType.STRING == dirtyX_type))) && (((RuntimeType.NUMBER == dirtyY_type)) || ((RuntimeType.STRING == dirtyY_type))) && (((RuntimeType.NUMBER == dirtyWidth_type)) || ((RuntimeType.STRING == dirtyWidth_type))) && (((RuntimeType.NUMBER == dirtyHeight_type)) || ((RuntimeType.STRING == dirtyHeight_type)))) { const imagedata_casted = imagedata as (ImageData) const dx_casted = dx as (number | string) @@ -363,13 +359,6 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,Canva this?.putImageData1_serialize(imagedata_casted, dx_casted, dy_casted, dirtyX_casted, dirtyY_casted, dirtyWidth_casted, dirtyHeight_casted) return } - if ((((RuntimeType.NUMBER == dx_type)) || ((RuntimeType.STRING == dx_type))) && (((RuntimeType.NUMBER == dy_type)) || ((RuntimeType.STRING == dy_type))) && (((RuntimeType.UNDEFINED == dirtyX_type))) && (((RuntimeType.UNDEFINED == dirtyY_type))) && (((RuntimeType.UNDEFINED == dirtyWidth_type))) && (((RuntimeType.UNDEFINED == dirtyHeight_type)))) { - const imagedata_casted = imagedata as (ImageData) - const dx_casted = dx as (number | string) - const dy_casted = dy as (number | string) - this?.putImageData0_serialize(imagedata_casted, dx_casted, dy_casted) - return - } throw new Error("Can not select appropriate overload") } getLineDash(): Array { @@ -450,13 +439,18 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,Canva this?.scale_serialize(x_casted, y_casted) return } - setTransform(a?: number | Matrix2D | undefined, b?: number, c?: number, d?: number, e?: number, f?: number): void { + setTransform(a?: Matrix2D | undefined | number, b?: number, c?: number, d?: number, e?: number, f?: number): void { const a_type = runtimeType(a) const b_type = runtimeType(b) const c_type = runtimeType(c) const d_type = runtimeType(d) const e_type = runtimeType(e) const f_type = runtimeType(f) + if ((((RuntimeType.OBJECT == a_type)) || ((RuntimeType.UNDEFINED == a_type))) && (((RuntimeType.UNDEFINED == b_type))) && (((RuntimeType.UNDEFINED == c_type))) && (((RuntimeType.UNDEFINED == d_type))) && (((RuntimeType.UNDEFINED == e_type))) && (((RuntimeType.UNDEFINED == f_type)))) { + const transform_casted = a as (Matrix2D | undefined) + this?.setTransform1_serialize(transform_casted) + return + } if ((((RuntimeType.NUMBER == a_type))) && (((RuntimeType.NUMBER == b_type))) && (((RuntimeType.NUMBER == c_type))) && (((RuntimeType.NUMBER == d_type))) && (((RuntimeType.NUMBER == e_type))) && (((RuntimeType.NUMBER == f_type)))) { const a_casted = a as (number) const b_casted = b as (number) @@ -467,11 +461,6 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase,Canva this?.setTransform0_serialize(a_casted, b_casted, c_casted, d_casted, e_casted, f_casted) return } - if ((((RuntimeType.OBJECT == a_type)) || ((RuntimeType.UNDEFINED == a_type))) && (((RuntimeType.UNDEFINED == b_type))) && (((RuntimeType.UNDEFINED == c_type))) && (((RuntimeType.UNDEFINED == d_type))) && (((RuntimeType.UNDEFINED == e_type))) && (((RuntimeType.UNDEFINED == f_type)))) { - const a_casted = a as (Matrix2D | undefined) - this?.setTransform1_serialize(a_casted) - return - } throw new Error("Can not select appropriate overload") } transform(a: number, b: number, c: number, d: number, e: number, f: number): void { diff --git a/arkoala/arkui/src/ArkCanvasRenderingContext2DMaterialized.ts b/arkoala/arkui/src/ArkCanvasRenderingContext2DMaterialized.ts index fbde1b0ef..d35757361 100644 --- a/arkoala/arkui/src/ArkCanvasRenderingContext2DMaterialized.ts +++ b/arkoala/arkui/src/ArkCanvasRenderingContext2DMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -17,7 +17,6 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { CanvasRenderer } from "./ArkCanvasRendererMaterialized" -import { FrameNode } from "./ArkFrameNodeMaterialized" import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" @@ -50,8 +49,8 @@ import { } from "@koalaui/interop" -export class CanvasRenderingContext2D extends CanvasRenderer implements MaterializedBase,CanvasRenderingContext2D { - peer?: Finalizable +export class CanvasRenderingContext2D extends CanvasRenderer implements MaterializedBase { + peer?: Finalizable | undefined get height(): number { return this.getHeight() } @@ -64,11 +63,6 @@ export class CanvasRenderingContext2D extends CanvasRenderer implements Material getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): CanvasRenderingContext2D { - const objCanvasRenderingContext2D: CanvasRenderingContext2D = new CanvasRenderingContext2D() - objCanvasRenderingContext2D.peer = new Finalizable(ptr, CanvasRenderingContext2D.getFinalizer()) - return objCanvasRenderingContext2D - } static ctor(settings?: RenderingContextSettings): KPointer { const thisSerializer: Serializer = Serializer.hold() let settings_type: int32 = RuntimeType.UNDEFINED @@ -92,9 +86,9 @@ export class CanvasRenderingContext2D extends CanvasRenderer implements Material static getFinalizer(): KPointer { return ArkUIGeneratedNativeModule._CanvasRenderingContext2D_getFinalizer() } - toDataURL(type?: string, quality?: any): string { + toDataURL(type?: string, quality?: number): string { const type_casted = type as (string | undefined) - const quality_casted = quality as (any | undefined) + const quality_casted = quality as (number | undefined) return this.toDataURL_serialize(type_casted, quality_casted) } startImageAnalyzer(config: ImageAnalyzerConfig): Promise { @@ -105,24 +99,24 @@ export class CanvasRenderingContext2D extends CanvasRenderer implements Material this?.stopImageAnalyzer_serialize() return } - onOnAttach(callback: (() => void)): void { - const callback_casted = callback as ((() => void)) - this?.onOnAttach_serialize(callback_casted) + onOnAttach(callback_: (() => void)): void { + const callback__casted = callback_ as ((() => void)) + this?.onOnAttach_serialize(callback__casted) return } - offOnAttach(callback?: (() => void)): void { - const callback_casted = callback as ((() => void) | undefined) - this?.offOnAttach_serialize(callback_casted) + offOnAttach(callback_?: (() => void)): void { + const callback__casted = callback_ as ((() => void) | undefined) + this?.offOnAttach_serialize(callback__casted) return } - onOnDetach(callback: (() => void)): void { - const callback_casted = callback as ((() => void)) - this?.onOnDetach_serialize(callback_casted) + onOnDetach(callback_: (() => void)): void { + const callback__casted = callback_ as ((() => void)) + this?.onOnDetach_serialize(callback__casted) return } - offOnDetach(callback?: (() => void)): void { - const callback_casted = callback as ((() => void) | undefined) - this?.offOnDetach_serialize(callback_casted) + offOnDetach(callback_?: (() => void)): void { + const callback__casted = callback_ as ((() => void) | undefined) + this?.offOnDetach_serialize(callback__casted) return } private getHeight(): number { @@ -131,13 +125,13 @@ export class CanvasRenderingContext2D extends CanvasRenderer implements Material private getWidth(): number { return this.getWidth_serialize() } - on(type: string, callback: (() => void)): void { + on(type: string, callback_: (() => void)): void { throw new Error("TBD") } - off(type: string, callback: (() => void)): void { + off(type: string, callback_: (() => void)): void { throw new Error("TBD") } - private toDataURL_serialize(type?: string, quality?: any): string { + private toDataURL_serialize(type?: string, quality?: number): string { const thisSerializer: Serializer = Serializer.hold() let type_type: int32 = RuntimeType.UNDEFINED type_type = runtimeType(type) @@ -151,7 +145,7 @@ export class CanvasRenderingContext2D extends CanvasRenderer implements Material thisSerializer.writeInt8(quality_type) if ((RuntimeType.UNDEFINED) != (quality_type)) { const quality_value = quality! - thisSerializer.writeCustomObject("Any", quality_value) + thisSerializer.writeNumber(quality_value) } const retval = ArkUIGeneratedNativeModule._CanvasRenderingContext2D_toDataURL(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() @@ -168,38 +162,38 @@ export class CanvasRenderingContext2D extends CanvasRenderer implements Material private stopImageAnalyzer_serialize(): void { ArkUIGeneratedNativeModule._CanvasRenderingContext2D_stopImageAnalyzer(this.peer!.ptr) } - private onOnAttach_serialize(callback: (() => void)): void { + private onOnAttach_serialize(callback_: (() => void)): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(callback) + thisSerializer.holdAndWriteCallback(callback_) ArkUIGeneratedNativeModule._CanvasRenderingContext2D_onOnAttach(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - private offOnAttach_serialize(callback?: (() => void)): void { + private offOnAttach_serialize(callback_?: (() => 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) + 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._CanvasRenderingContext2D_offOnAttach(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - private onOnDetach_serialize(callback: (() => void)): void { + private onOnDetach_serialize(callback_: (() => void)): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(callback) + thisSerializer.holdAndWriteCallback(callback_) ArkUIGeneratedNativeModule._CanvasRenderingContext2D_onOnDetach(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - private offOnDetach_serialize(callback?: (() => void)): void { + private offOnDetach_serialize(callback_?: (() => 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) + 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._CanvasRenderingContext2D_offOnDetach(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() diff --git a/arkoala/arkui/src/ArkCheckbox.ts b/arkoala/arkui/src/ArkCheckbox.ts index b6d7855d9..8943faeaf 100644 --- a/arkoala/arkui/src/ArkCheckbox.ts +++ b/arkoala/arkui/src/ArkCheckbox.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkCheckboxgroup.ts b/arkoala/arkui/src/ArkCheckboxgroup.ts index 83e148e6b..e27600c05 100644 --- a/arkoala/arkui/src/ArkCheckboxgroup.ts +++ b/arkoala/arkui/src/ArkCheckboxgroup.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkChildrenMainSizeMaterialized.ts b/arkoala/arkui/src/ArkChildrenMainSizeMaterialized.ts index fe147ef35..5144e34a5 100644 --- a/arkoala/arkui/src/ArkChildrenMainSizeMaterialized.ts +++ b/arkoala/arkui/src/ArkChildrenMainSizeMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,8 +48,8 @@ import { } from "@koalaui/interop" -export class ChildrenMainSize implements MaterializedBase,ChildrenMainSize { - peer?: Finalizable +export class ChildrenMainSize implements MaterializedBase { + peer?: Finalizable | undefined get childDefaultSize(): number { return this.getChildDefaultSize() } @@ -59,11 +59,6 @@ export class ChildrenMainSize implements MaterializedBase,ChildrenMainSize { getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ChildrenMainSize { - const objChildrenMainSize: ChildrenMainSize = new ChildrenMainSize() - objChildrenMainSize.peer = new Finalizable(ptr, ChildrenMainSize.getFinalizer()) - return objChildrenMainSize - } static ctor(childDefaultSize: number): KPointer { const retval = ArkUIGeneratedNativeModule._ChildrenMainSize_ctor(childDefaultSize) return retval diff --git a/arkoala/arkui/src/ArkCircle.ts b/arkoala/arkui/src/ArkCircle.ts index 91dcb168a..3dd909428 100644 --- a/arkoala/arkui/src/ArkCircle.ts +++ b/arkoala/arkui/src/ArkCircle.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkClickEventMaterialized.ts b/arkoala/arkui/src/ArkClickEventMaterialized.ts new file mode 100644 index 000000000..eb1ac5e81 --- /dev/null +++ b/arkoala/arkui/src/ArkClickEventMaterialized.ts @@ -0,0 +1,261 @@ +/* + * 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 { BaseEventInternal } from "./ArkBaseEventMaterialized" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase } from "./peers/SerializerBase" +import { unsafeCast } from "./shared/generated-utils" +import { registerCallback } from "./peers/SerializerBase" +import { wrapCallback } from "@koalaui/interop" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class ClickEventInternal extends BaseEventInternal implements MaterializedBase,ClickEvent { + peer?: Finalizable | undefined + 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 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 preventDefault(): (() => void) { + throw new Error("Not implemented") + } + set preventDefault(preventDefault: (() => void)) { + this.setPreventDefault(preventDefault) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._ClickEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr: KPointer = ClickEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, ClickEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._ClickEvent_getFinalizer() + } + 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 getScreenX(): number { + return this.getScreenX_serialize() + } + private setScreenX(screenX: number): void { + const screenX_casted = screenX as (number) + this?.setScreenX_serialize(screenX_casted) + return + } + private getScreenY(): number { + return this.getScreenY_serialize() + } + private setScreenY(screenY: number): void { + const screenY_casted = screenY as (number) + this?.setScreenY_serialize(screenY_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 setPreventDefault(preventDefault: (() => void)): void { + const preventDefault_casted = preventDefault as ((() => void)) + this?.setPreventDefault_serialize(preventDefault_casted) + return + } + private getDisplayX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getDisplayX(this.peer!.ptr) + return retval + } + private setDisplayX_serialize(displayX: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setDisplayX(this.peer!.ptr, displayX) + } + private getDisplayY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getDisplayY(this.peer!.ptr) + return retval + } + private setDisplayY_serialize(displayY: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setDisplayY(this.peer!.ptr, displayY) + } + private getWindowX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getWindowX(this.peer!.ptr) + return retval + } + private setWindowX_serialize(windowX: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setWindowX(this.peer!.ptr, windowX) + } + private getWindowY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getWindowY(this.peer!.ptr) + return retval + } + private setWindowY_serialize(windowY: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setWindowY(this.peer!.ptr, windowY) + } + private getScreenX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getScreenX(this.peer!.ptr) + return retval + } + private setScreenX_serialize(screenX: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setScreenX(this.peer!.ptr, screenX) + } + private getScreenY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getScreenY(this.peer!.ptr) + return retval + } + private setScreenY_serialize(screenY: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setScreenY(this.peer!.ptr, screenY) + } + private getX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getX(this.peer!.ptr) + return retval + } + private setX_serialize(x: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setX(this.peer!.ptr, x) + } + private getY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._ClickEvent_getY(this.peer!.ptr) + return retval + } + private setY_serialize(y: number): void { + ArkUIGeneratedNativeModule._ClickEvent_setY(this.peer!.ptr, y) + } + private setPreventDefault_serialize(preventDefault: (() => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(preventDefault) + ArkUIGeneratedNativeModule._ClickEvent_setPreventDefault(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + public static fromPtr(ptr: KPointer): ClickEventInternal { + const obj: ClickEventInternal = new ClickEventInternal() + obj.peer = new Finalizable(ptr, ClickEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala/arkui/src/ArkClientAuthenticationHandlerMaterialized.ts b/arkoala/arkui/src/ArkClientAuthenticationHandlerMaterialized.ts index 0c76ae148..f20f0b236 100644 --- a/arkoala/arkui/src/ArkClientAuthenticationHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkClientAuthenticationHandlerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class ClientAuthenticationHandler implements MaterializedBase,ClientAuthenticationHandler { - peer?: Finalizable +export class ClientAuthenticationHandler implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ClientAuthenticationHandler { - const objClientAuthenticationHandler: ClientAuthenticationHandler = new ClientAuthenticationHandler() - objClientAuthenticationHandler.peer = new Finalizable(ptr, ClientAuthenticationHandler.getFinalizer()) - return objClientAuthenticationHandler - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._ClientAuthenticationHandler_ctor() return retval @@ -74,17 +69,17 @@ export class ClientAuthenticationHandler implements MaterializedBase,ClientAuthe confirm(priKeyFile: string, certChainFile?: string): void { const priKeyFile_type = runtimeType(priKeyFile) const certChainFile_type = runtimeType(certChainFile) + if ((((RuntimeType.UNDEFINED == certChainFile_type)))) { + const authUri_casted = priKeyFile as (string) + this?.confirm1_serialize(authUri_casted) + return + } if ((((RuntimeType.STRING == certChainFile_type)))) { const priKeyFile_casted = priKeyFile as (string) const certChainFile_casted = certChainFile as (string) this?.confirm0_serialize(priKeyFile_casted, certChainFile_casted) return } - if ((((RuntimeType.UNDEFINED == certChainFile_type)))) { - const priKeyFile_casted = priKeyFile as (string) - this?.confirm1_serialize(priKeyFile_casted) - return - } throw new Error("Can not select appropriate overload") } cancel(): void { diff --git a/arkoala/arkui/src/ArkColumn.ts b/arkoala/arkui/src/ArkColumn.ts index 84f31dc73..0588c6f1f 100644 --- a/arkoala/arkui/src/ArkColumn.ts +++ b/arkoala/arkui/src/ArkColumn.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkColumnSplit.ts b/arkoala/arkui/src/ArkColumnSplit.ts index 06164fb5a..0840bfdfb 100644 --- a/arkoala/arkui/src/ArkColumnSplit.ts +++ b/arkoala/arkui/src/ArkColumnSplit.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkCommon.ts b/arkoala/arkui/src/ArkCommon.ts index bee1a1b37..a99608c1a 100644 --- a/arkoala/arkui/src/ArkCommon.ts +++ b/arkoala/arkui/src/ArkCommon.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -386,6 +386,12 @@ export class ArkCommonMethodComponent extends ComponentBase { if (this.checkPriority("onClick")) { const event_type = runtimeType(event) const distanceThreshold_type = runtimeType(distanceThreshold) + if ((((RuntimeType.UNDEFINED == distanceThreshold_type)))) { + const value_casted = event as (((event: ClickEvent) => void)) + UseEventsProperties({CommonMethod_onClick0: value_casted}) + this.getPeer()?.onClick0Attribute(value_casted) + return this + } if ((((RuntimeType.NUMBER == distanceThreshold_type)))) { const event_casted = event as (((event: ClickEvent) => void)) const distanceThreshold_casted = distanceThreshold as (number) @@ -393,12 +399,6 @@ export class ArkCommonMethodComponent extends ComponentBase { this.getPeer()?.onClick1Attribute(event_casted, distanceThreshold_casted) return this } - if ((((RuntimeType.UNDEFINED == distanceThreshold_type)))) { - const event_casted = event as (((event: ClickEvent) => void)) - UseEventsProperties({CommonMethod_onClick0: event_casted}) - this.getPeer()?.onClick0Attribute(event_casted) - return this - } throw new Error("Can not select appropriate overload") } return this @@ -556,21 +556,21 @@ export class ArkCommonMethodComponent extends ComponentBase { return this } /** @memo */ - transition(effect: TransitionEffect | TransitionOptions | TransitionEffect, onFinish?: TransitionFinishCallback): this { + transition(effect: TransitionOptions | TransitionEffect | TransitionEffect, onFinish?: TransitionFinishCallback): this { if (this.checkPriority("transition")) { const effect_type = runtimeType(effect) const onFinish_type = runtimeType(onFinish) + if ((((RuntimeType.OBJECT == effect_type)) || ((RuntimeType.OBJECT == effect_type))) && (((RuntimeType.UNDEFINED == onFinish_type)))) { + const value_casted = effect as (TransitionOptions | TransitionEffect) + this.getPeer()?.transition0Attribute(value_casted) + return this + } if ((((RuntimeType.OBJECT) == (effect_type)) && (effect instanceof TransitionEffect)) && (((RuntimeType.FUNCTION == onFinish_type)) || ((RuntimeType.UNDEFINED == onFinish_type)))) { const effect_casted = effect as (TransitionEffect) const onFinish_casted = onFinish as (TransitionFinishCallback | undefined) this.getPeer()?.transition1Attribute(effect_casted, onFinish_casted) return this } - if ((((RuntimeType.OBJECT == effect_type)) || ((RuntimeType.OBJECT == effect_type))) && (((RuntimeType.UNDEFINED == onFinish_type)))) { - const effect_casted = effect as (TransitionOptions | TransitionEffect) - this.getPeer()?.transition0Attribute(effect_casted) - return this - } throw new Error("Can not select appropriate overload") } return this @@ -670,17 +670,17 @@ export class ArkCommonMethodComponent extends ComponentBase { if (this.checkPriority("useEffect")) { const useEffect_type = runtimeType(useEffect) const effectType_type = runtimeType(effectType) + if ((((RuntimeType.UNDEFINED == effectType_type)))) { + const value_casted = useEffect as (boolean) + this.getPeer()?.useEffect0Attribute(value_casted) + return this + } if ((((RuntimeType.NUMBER == effectType_type)))) { const useEffect_casted = useEffect as (boolean) const effectType_casted = effectType as (EffectType) this.getPeer()?.useEffect1Attribute(useEffect_casted, effectType_casted) return this } - if ((((RuntimeType.UNDEFINED == effectType_type)))) { - const useEffect_casted = useEffect as (boolean) - this.getPeer()?.useEffect0Attribute(useEffect_casted) - return this - } throw new Error("Can not select appropriate overload") } return this @@ -1188,17 +1188,17 @@ export class ArkCommonMethodComponent extends ComponentBase { if (this.checkPriority("geometryTransition")) { const id_type = runtimeType(id) const options_type = runtimeType(options) + if ((((RuntimeType.UNDEFINED == options_type)))) { + const value_casted = id as (string) + this.getPeer()?.geometryTransition0Attribute(value_casted) + return this + } if ((((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { const id_casted = id as (string) const options_casted = options as (GeometryTransitionOptions | undefined) this.getPeer()?.geometryTransition1Attribute(id_casted, options_casted) return this } - if ((((RuntimeType.UNDEFINED == options_type)))) { - const id_casted = id as (string) - this.getPeer()?.geometryTransition0Attribute(id_casted) - return this - } throw new Error("Can not select appropriate overload") } return this @@ -1253,17 +1253,17 @@ export class ArkCommonMethodComponent extends ComponentBase { if (this.checkPriority("accessibilityGroup")) { const isGroup_type = runtimeType(isGroup) const accessibilityOptions_type = runtimeType(accessibilityOptions) + if ((((RuntimeType.UNDEFINED == accessibilityOptions_type)))) { + const value_casted = isGroup as (boolean) + this.getPeer()?.accessibilityGroup0Attribute(value_casted) + return this + } if ((((RuntimeType.OBJECT == accessibilityOptions_type)))) { const isGroup_casted = isGroup as (boolean) const accessibilityOptions_casted = accessibilityOptions as (AccessibilityOptions) this.getPeer()?.accessibilityGroup1Attribute(isGroup_casted, accessibilityOptions_casted) return this } - if ((((RuntimeType.UNDEFINED == accessibilityOptions_type)))) { - const isGroup_casted = isGroup as (boolean) - this.getPeer()?.accessibilityGroup0Attribute(isGroup_casted) - return this - } throw new Error("Can not select appropriate overload") } return this @@ -1406,21 +1406,21 @@ export class ArkCommonMethodComponent extends ComponentBase { return this } /** @memo */ - onGestureRecognizerJudgeBegin(callback: GestureRecognizerJudgeBeginCallback, exposeInnerGesture?: boolean): this { + onGestureRecognizerJudgeBegin(callback_: GestureRecognizerJudgeBeginCallback, exposeInnerGesture?: boolean): this { if (this.checkPriority("onGestureRecognizerJudgeBegin")) { - const callback_type = runtimeType(callback) + const callback__type = runtimeType(callback_) const exposeInnerGesture_type = runtimeType(exposeInnerGesture) - if ((((RuntimeType.BOOLEAN == exposeInnerGesture_type)))) { - const callback_casted = callback as (GestureRecognizerJudgeBeginCallback) - const exposeInnerGesture_casted = exposeInnerGesture as (boolean) - UseEventsProperties({CommonMethod_onGestureRecognizerJudgeBegin1: callback_casted}) - this.getPeer()?.onGestureRecognizerJudgeBegin1Attribute(callback_casted, exposeInnerGesture_casted) + if ((((RuntimeType.UNDEFINED == exposeInnerGesture_type)))) { + const value_casted = callback_ as (GestureRecognizerJudgeBeginCallback) + UseEventsProperties({CommonMethod_onGestureRecognizerJudgeBegin0: value_casted}) + this.getPeer()?.onGestureRecognizerJudgeBegin0Attribute(value_casted) return this } - if ((((RuntimeType.UNDEFINED == exposeInnerGesture_type)))) { - const callback_casted = callback as (GestureRecognizerJudgeBeginCallback) - UseEventsProperties({CommonMethod_onGestureRecognizerJudgeBegin0: callback_casted}) - this.getPeer()?.onGestureRecognizerJudgeBegin0Attribute(callback_casted) + if ((((RuntimeType.BOOLEAN == exposeInnerGesture_type)))) { + const callback__casted = callback_ as (GestureRecognizerJudgeBeginCallback) + const exposeInnerGesture_casted = exposeInnerGesture as (boolean) + UseEventsProperties({CommonMethod_onGestureRecognizerJudgeBegin1: callback__casted}) + this.getPeer()?.onGestureRecognizerJudgeBegin1Attribute(callback__casted, exposeInnerGesture_casted) return this } throw new Error("Can not select appropriate overload") @@ -1533,17 +1533,17 @@ export class ArkCommonMethodComponent extends ComponentBase { const id_type = runtimeType(id) const isGroup_type = runtimeType(isGroup) const arrowStepOut_type = runtimeType(arrowStepOut) - if ((((RuntimeType.BOOLEAN == isGroup_type)) || ((RuntimeType.UNDEFINED == isGroup_type))) && (((RuntimeType.BOOLEAN == arrowStepOut_type)) || ((RuntimeType.UNDEFINED == arrowStepOut_type)))) { + if ((((RuntimeType.BOOLEAN == isGroup_type)) || ((RuntimeType.UNDEFINED == isGroup_type))) && (((RuntimeType.UNDEFINED == arrowStepOut_type)))) { const id_casted = id as (string) const isGroup_casted = isGroup as (boolean | undefined) - const arrowStepOut_casted = arrowStepOut as (boolean | undefined) - this.getPeer()?.focusScopeId1Attribute(id_casted, isGroup_casted, arrowStepOut_casted) + this.getPeer()?.focusScopeId0Attribute(id_casted, isGroup_casted) return this } - if ((((RuntimeType.BOOLEAN == isGroup_type)) || ((RuntimeType.UNDEFINED == isGroup_type))) && (((RuntimeType.UNDEFINED == arrowStepOut_type)))) { + if ((((RuntimeType.BOOLEAN == isGroup_type)) || ((RuntimeType.UNDEFINED == isGroup_type))) && (((RuntimeType.BOOLEAN == arrowStepOut_type)) || ((RuntimeType.UNDEFINED == arrowStepOut_type)))) { const id_casted = id as (string) const isGroup_casted = isGroup as (boolean | undefined) - this.getPeer()?.focusScopeId0Attribute(id_casted, isGroup_casted) + const arrowStepOut_casted = arrowStepOut as (boolean | undefined) + this.getPeer()?.focusScopeId1Attribute(id_casted, isGroup_casted, arrowStepOut_casted) return this } throw new Error("Can not select appropriate overload") @@ -1699,11 +1699,17 @@ export class ArkCommonMethodComponent extends ComponentBase { return this } /** @memo */ - bindMenu(isShow: boolean | Array | CustomBuilder, content?: Array | CustomBuilder | MenuOptions | undefined, options?: MenuOptions): this { + bindMenu(isShow: Array | CustomBuilder | boolean, content?: MenuOptions | undefined | Array | CustomBuilder, options?: MenuOptions): this { if (this.checkPriority("bindMenu")) { const isShow_type = runtimeType(isShow) const content_type = runtimeType(content) const options_type = runtimeType(options) + if ((((RuntimeType.OBJECT == isShow_type)) || ((RuntimeType.FUNCTION == isShow_type))) && (((RuntimeType.OBJECT == content_type)) || ((RuntimeType.UNDEFINED == content_type))) && (((RuntimeType.UNDEFINED == options_type)))) { + const content_casted = isShow as (Array | CustomBuilder) + const options_casted = content as (MenuOptions | undefined) + this.getPeer()?.bindMenu0Attribute(content_casted, options_casted) + return this + } if ((((RuntimeType.BOOLEAN == isShow_type))) && (((RuntimeType.OBJECT == content_type)) || ((RuntimeType.FUNCTION == content_type))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { const isShow_casted = isShow as (boolean) const content_casted = content as (Array | CustomBuilder) @@ -1711,12 +1717,6 @@ export class ArkCommonMethodComponent extends ComponentBase { this.getPeer()?.bindMenu1Attribute(isShow_casted, content_casted, options_casted) return this } - if ((((RuntimeType.OBJECT == isShow_type)) || ((RuntimeType.FUNCTION == isShow_type))) && (((RuntimeType.OBJECT == content_type)) || ((RuntimeType.UNDEFINED == content_type))) && (((RuntimeType.UNDEFINED == options_type)))) { - const isShow_casted = isShow as (Array | CustomBuilder) - const content_casted = content as (MenuOptions | undefined) - this.getPeer()?.bindMenu0Attribute(isShow_casted, content_casted) - return this - } throw new Error("Can not select appropriate overload") } return this @@ -1736,11 +1736,11 @@ export class ArkCommonMethodComponent extends ComponentBase { return this } if ((((RuntimeType.BOOLEAN == content_type))) && (((RuntimeType.FUNCTION == responseType_type))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { - const content_casted = content as (boolean) - const responseType_casted = responseType as (CustomBuilder) + const isShown_casted = content as (boolean) + const content_casted = responseType as (CustomBuilder) const options_casted = options as (ContextMenuOptions | undefined) - UseEventsProperties({CommonMethod_bindContextMenu1: responseType_casted}) - this.getPeer()?.bindContextMenu1Attribute(content_casted, responseType_casted, options_casted) + UseEventsProperties({CommonMethod_bindContextMenu1: content_casted}) + this.getPeer()?.bindContextMenu1Attribute(isShown_casted, content_casted, options_casted) return this } throw new Error("Can not select appropriate overload") @@ -1764,9 +1764,9 @@ export class ArkCommonMethodComponent extends ComponentBase { if ((((RuntimeType.BOOLEAN == isShow_type)) || ((RuntimeType.UNDEFINED == isShow_type))) && (((RuntimeType.OBJECT == type_type)) || ((RuntimeType.UNDEFINED == type_type)))) { const isShow_casted = isShow as (boolean | undefined) const builder_casted = builder as (CustomBuilder) - const type_casted = type as (ContentCoverOptions | undefined) + const options_casted = type as (ContentCoverOptions | undefined) UseEventsProperties({CommonMethod_bindContentCover1: builder_casted}) - this.getPeer()?.bindContentCover1Attribute(isShow_casted, builder_casted, type_casted) + this.getPeer()?.bindContentCover1Attribute(isShow_casted, builder_casted, options_casted) return this } throw new Error("Can not select appropriate overload") @@ -1909,9 +1909,9 @@ export class ArkCommonShapeMethodComponent extends ArkCommonMethodComponent { return this } /** @memo */ - strokeDashArray(value: Array): this { + strokeDashArray(value: Array): this { if (this.checkPriority("strokeDashArray")) { - const value_casted = value as (Array) + const value_casted = value as (Array) this.getPeer()?.strokeDashArrayAttribute(value_casted) return this } @@ -2019,9 +2019,9 @@ export class ArkScrollableCommonMethodComponent extends ArkCommonMethodComponent return this } /** @memo */ - onScroll(value: ((scrollOffset: number, scrollState: ScrollState) => void)): this { + onScroll(value: ((first: number, last: number) => void)): this { if (this.checkPriority("onScroll")) { - const value_casted = value as (((scrollOffset: number, scrollState: ScrollState) => void)) + const value_casted = value as (((first: number, last: number) => void)) UseEventsProperties({ScrollableCommonMethod_onScroll: value_casted}) this.getPeer()?.onScrollAttribute(value_casted) return this @@ -2038,9 +2038,9 @@ export class ArkScrollableCommonMethodComponent extends ArkCommonMethodComponent return this } /** @memo */ - onDidScroll(value?: ScrollOnWillScrollCallback): this { + onDidScroll(value?: ScrollOnScrollCallback): this { if (this.checkPriority("onDidScroll")) { - const value_casted = value as (ScrollOnWillScrollCallback | undefined) + const value_casted = value as (ScrollOnScrollCallback | undefined) this.getPeer()?.onDidScrollAttribute(value_casted) return this } diff --git a/arkoala/arkui/src/ArkComponent3d.ts b/arkoala/arkui/src/ArkComponent3d.ts index 8d6c78a26..3e1d356bf 100644 --- a/arkoala/arkui/src/ArkComponent3d.ts +++ b/arkoala/arkui/src/ArkComponent3d.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkConsoleMessageMaterialized.ts b/arkoala/arkui/src/ArkConsoleMessageMaterialized.ts index f53bad8e0..6ed0bef72 100644 --- a/arkoala/arkui/src/ArkConsoleMessageMaterialized.ts +++ b/arkoala/arkui/src/ArkConsoleMessageMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class ConsoleMessage implements MaterializedBase,ConsoleMessage { - peer?: Finalizable +export class ConsoleMessage implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ConsoleMessage { - const objConsoleMessage: ConsoleMessage = new ConsoleMessage() - objConsoleMessage.peer = new Finalizable(ptr, ConsoleMessage.getFinalizer()) - return objConsoleMessage - } static ctor(message: string, sourceId: string, lineNumber: number, messageLevel: MessageLevel): KPointer { const retval = ArkUIGeneratedNativeModule._ConsoleMessage_ctor(message, sourceId, lineNumber, messageLevel) return retval diff --git a/arkoala/arkui/src/ArkContainerSpan.ts b/arkoala/arkui/src/ArkContainerSpan.ts index d25de051b..119433879 100644 --- a/arkoala/arkui/src/ArkContainerSpan.ts +++ b/arkoala/arkui/src/ArkContainerSpan.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkContextMenuMaterialized.ts b/arkoala/arkui/src/ArkContextMenuMaterialized.ts index b1eedc9c6..551c5c5f3 100644 --- a/arkoala/arkui/src/ArkContextMenuMaterialized.ts +++ b/arkoala/arkui/src/ArkContextMenuMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class ContextMenu implements MaterializedBase,ContextMenu { - peer?: Finalizable +export class ContextMenu implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ContextMenu { - const objContextMenu: ContextMenu = new ContextMenu() - objContextMenu.peer = new Finalizable(ptr, ContextMenu.getFinalizer()) - return objContextMenu - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._ContextMenu_ctor() return retval diff --git a/arkoala/arkui/src/ArkControllerHandlerMaterialized.ts b/arkoala/arkui/src/ArkControllerHandlerMaterialized.ts index 8a5f74a1c..d42a76c2b 100644 --- a/arkoala/arkui/src/ArkControllerHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkControllerHandlerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class ControllerHandler implements MaterializedBase,ControllerHandler { - peer?: Finalizable +export class ControllerHandler implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ControllerHandler { - const objControllerHandler: ControllerHandler = new ControllerHandler() - objControllerHandler.peer = new Finalizable(ptr, ControllerHandler.getFinalizer()) - return objControllerHandler - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._ControllerHandler_ctor() return retval diff --git a/arkoala/arkui/src/ArkCounter.ts b/arkoala/arkui/src/ArkCounter.ts index 6a83900e3..3da026ce8 100644 --- a/arkoala/arkui/src/ArkCounter.ts +++ b/arkoala/arkui/src/ArkCounter.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkCustomDialogControllerMaterialized.ts b/arkoala/arkui/src/ArkCustomDialogControllerMaterialized.ts index 7db5aafe5..39f860800 100644 --- a/arkoala/arkui/src/ArkCustomDialogControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkCustomDialogControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class CustomDialogController implements MaterializedBase,CustomDialogController { - peer?: Finalizable +export class CustomDialogController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): CustomDialogController { - const objCustomDialogController: CustomDialogController = new CustomDialogController() - objCustomDialogController.peer = new Finalizable(ptr, CustomDialogController.getFinalizer()) - return objCustomDialogController - } static ctor(value: CustomDialogControllerOptions): KPointer { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeCustomDialogControllerOptions(value) diff --git a/arkoala/arkui/src/ArkCustomSpanMaterialized.ts b/arkoala/arkui/src/ArkCustomSpanMaterialized.ts index a6415b369..998cdd413 100644 --- a/arkoala/arkui/src/ArkCustomSpanMaterialized.ts +++ b/arkoala/arkui/src/ArkCustomSpanMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class CustomSpan implements MaterializedBase,CustomSpan { - peer?: Finalizable +export class CustomSpan implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): CustomSpan { - const objCustomSpan: CustomSpan = new CustomSpan() - objCustomSpan.peer = new Finalizable(ptr, CustomSpan.getFinalizer()) - return objCustomSpan - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._CustomSpan_ctor() return retval diff --git a/arkoala/arkui/src/ArkDataPanel.ts b/arkoala/arkui/src/ArkDataPanel.ts index 9b84e2615..22caea197 100644 --- a/arkoala/arkui/src/ArkDataPanel.ts +++ b/arkoala/arkui/src/ArkDataPanel.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkDataResubmissionHandlerMaterialized.ts b/arkoala/arkui/src/ArkDataResubmissionHandlerMaterialized.ts index ee8628b1b..1732dab69 100644 --- a/arkoala/arkui/src/ArkDataResubmissionHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkDataResubmissionHandlerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class DataResubmissionHandler implements MaterializedBase,DataResubmissionHandler { - peer?: Finalizable +export class DataResubmissionHandler implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): DataResubmissionHandler { - const objDataResubmissionHandler: DataResubmissionHandler = new DataResubmissionHandler() - objDataResubmissionHandler.peer = new Finalizable(ptr, DataResubmissionHandler.getFinalizer()) - return objDataResubmissionHandler - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._DataResubmissionHandler_ctor() return retval diff --git a/arkoala/arkui/src/ArkDatePicker.ts b/arkoala/arkui/src/ArkDatePicker.ts index 3f4452873..db8408d18 100644 --- a/arkoala/arkui/src/ArkDatePicker.ts +++ b/arkoala/arkui/src/ArkDatePicker.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkDatePickerDialogMaterialized.ts b/arkoala/arkui/src/ArkDatePickerDialogMaterialized.ts index 3c6b811a2..70203415b 100644 --- a/arkoala/arkui/src/ArkDatePickerDialogMaterialized.ts +++ b/arkoala/arkui/src/ArkDatePickerDialogMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class DatePickerDialog implements MaterializedBase,DatePickerDialog { - peer?: Finalizable +export class DatePickerDialog implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): DatePickerDialog { - const objDatePickerDialog: DatePickerDialog = new DatePickerDialog() - objDatePickerDialog.peer = new Finalizable(ptr, DatePickerDialog.getFinalizer()) - return objDatePickerDialog - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._DatePickerDialog_ctor() return retval diff --git a/arkoala/arkui/src/ArkDivider.ts b/arkoala/arkui/src/ArkDivider.ts index b3c284432..92393f8bd 100644 --- a/arkoala/arkui/src/ArkDivider.ts +++ b/arkoala/arkui/src/ArkDivider.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkDragEventMaterialized.ts b/arkoala/arkui/src/ArkDragEventMaterialized.ts new file mode 100644 index 000000000..e90a43a22 --- /dev/null +++ b/arkoala/arkui/src/ArkDragEventMaterialized.ts @@ -0,0 +1,241 @@ +/* + * 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 { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase } from "./peers/SerializerBase" +import { unsafeCast } from "./shared/generated-utils" +import { registerCallback } from "./peers/SerializerBase" +import { wrapCallback } from "@koalaui/interop" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class DragEventInternal implements MaterializedBase,DragEvent { + peer?: Finalizable | undefined + 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) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._DragEvent_ctor() + return retval + } + constructor() { + { + const ctorPtr: KPointer = DragEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, DragEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._DragEvent_getFinalizer() + } + getDisplayX(): number { + return this.getDisplayX_serialize() + } + getDisplayY(): number { + return this.getDisplayY_serialize() + } + getWindowX(): number { + return this.getWindowX_serialize() + } + getWindowY(): number { + return this.getWindowY_serialize() + } + getX(): number { + return this.getX_serialize() + } + getY(): number { + return this.getY_serialize() + } + setData(unifiedData: UnifiedData): void { + const unifiedData_casted = unifiedData as (UnifiedData) + this?.setData_serialize(unifiedData_casted) + return + } + getData(): UnifiedData { + return this.getData_serialize() + } + getSummary(): Summary { + return this.getSummary_serialize() + } + setResult(dragResult: DragResult): void { + const dragResult_casted = dragResult as (DragResult) + this?.setResult_serialize(dragResult_casted) + return + } + getResult(): DragResult { + return this.getResult_serialize() + } + getPreviewRect(): Rectangle { + return this.getPreviewRect_serialize() + } + getVelocityX(): number { + return this.getVelocityX_serialize() + } + getVelocityY(): number { + return this.getVelocityY_serialize() + } + getVelocity(): number { + return this.getVelocity_serialize() + } + getModifierKeyState(keys: Array): boolean { + const keys_casted = keys as (Array) + return this.getModifierKeyState_serialize(keys_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 { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeUnifiedData(unifiedData) + ArkUIGeneratedNativeModule._DragEvent_setData(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private getData_serialize(): UnifiedData { + const retval = ArkUIGeneratedNativeModule._DragEvent_getData(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private getSummary_serialize(): Summary { + const retval = ArkUIGeneratedNativeModule._DragEvent_getSummary(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setResult_serialize(dragResult: DragResult): void { + ArkUIGeneratedNativeModule._DragEvent_setResult(this.peer!.ptr, dragResult) + } + private getResult_serialize(): DragResult { + const retval = ArkUIGeneratedNativeModule._DragEvent_getResult(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private getPreviewRect_serialize(): Rectangle { + const retval = ArkUIGeneratedNativeModule._DragEvent_getPreviewRect(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + 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) + } + const retval = ArkUIGeneratedNativeModule._DragEvent_getModifierKeyState(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + return retval + } + private getDragBehavior_serialize(): DragBehavior { + const retval = ArkUIGeneratedNativeModule._DragEvent_getDragBehavior(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setDragBehavior_serialize(dragBehavior: DragBehavior): void { + ArkUIGeneratedNativeModule._DragEvent_setDragBehavior(this.peer!.ptr, dragBehavior) + } + 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 + } +} diff --git a/arkoala/arkui/src/ArkDrawModifierMaterialized.ts b/arkoala/arkui/src/ArkDrawModifierMaterialized.ts index 9a99d6c30..d720ece17 100644 --- a/arkoala/arkui/src/ArkDrawModifierMaterialized.ts +++ b/arkoala/arkui/src/ArkDrawModifierMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class DrawModifier implements MaterializedBase,DrawModifier { - peer?: Finalizable +export class DrawModifier implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): DrawModifier { - const objDrawModifier: DrawModifier = new DrawModifier() - objDrawModifier.peer = new Finalizable(ptr, DrawModifier.getFinalizer()) - return objDrawModifier - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._DrawModifier_ctor() return retval diff --git a/arkoala/arkui/src/ArkDrawingCanvasMaterialized.ts b/arkoala/arkui/src/ArkDrawingCanvasMaterialized.ts index 28cec1282..43301d584 100644 --- a/arkoala/arkui/src/ArkDrawingCanvasMaterialized.ts +++ b/arkoala/arkui/src/ArkDrawingCanvasMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,7 +16,6 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { PixelMap } from "./ArkPixelMapMaterialized" import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" @@ -49,16 +48,11 @@ import { } from "@koalaui/interop" -export class DrawingCanvas implements MaterializedBase,DrawingCanvas { - peer?: Finalizable +export class DrawingCanvas implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): DrawingCanvas { - const objDrawingCanvas: DrawingCanvas = new DrawingCanvas() - objDrawingCanvas.peer = new Finalizable(ptr, DrawingCanvas.getFinalizer()) - return objDrawingCanvas - } static ctor(pixelmap: PixelMap): KPointer { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writePixelMap(pixelmap) diff --git a/arkoala/arkui/src/ArkDrawingRenderingContextMaterialized.ts b/arkoala/arkui/src/ArkDrawingRenderingContextMaterialized.ts index 74caa676b..9807f524a 100644 --- a/arkoala/arkui/src/ArkDrawingRenderingContextMaterialized.ts +++ b/arkoala/arkui/src/ArkDrawingRenderingContextMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,7 +16,6 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { DrawingCanvas } from "./ArkDrawingCanvasMaterialized" import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" @@ -49,8 +48,8 @@ import { } from "@koalaui/interop" -export class DrawingRenderingContext implements MaterializedBase,DrawingRenderingContext { - peer?: Finalizable +export class DrawingRenderingContext implements MaterializedBase { + peer?: Finalizable | undefined get size(): Size { throw new Error("Not implemented") } @@ -60,11 +59,6 @@ export class DrawingRenderingContext implements MaterializedBase,DrawingRenderin getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): DrawingRenderingContext { - const objDrawingRenderingContext: DrawingRenderingContext = new DrawingRenderingContext() - objDrawingRenderingContext.peer = new Finalizable(ptr, DrawingRenderingContext.getFinalizer()) - return objDrawingRenderingContext - } static ctor(unit?: LengthMetricsUnit): KPointer { const thisSerializer: Serializer = Serializer.hold() let unit_type: int32 = RuntimeType.UNDEFINED diff --git a/arkoala/arkui/src/ArkDynamicNodeMaterialized.ts b/arkoala/arkui/src/ArkDynamicNodeMaterialized.ts index 62bcd7208..796d513cc 100644 --- a/arkoala/arkui/src/ArkDynamicNodeMaterialized.ts +++ b/arkoala/arkui/src/ArkDynamicNodeMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class DynamicNode implements MaterializedBase,DynamicNode { - peer?: Finalizable +export class DynamicNode implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): DynamicNode { - const objDynamicNode: DynamicNode = new DynamicNode() - objDynamicNode.peer = new Finalizable(ptr, DynamicNode.getFinalizer()) - return objDynamicNode - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._DynamicNode_ctor() return retval diff --git a/arkoala/arkui/src/ArkEditMenuOptionsMaterialized.ts b/arkoala/arkui/src/ArkEditMenuOptionsMaterialized.ts index 224fc73b2..e31d760a0 100644 --- a/arkoala/arkui/src/ArkEditMenuOptionsMaterialized.ts +++ b/arkoala/arkui/src/ArkEditMenuOptionsMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,24 +48,19 @@ import { } from "@koalaui/interop" -export class EditMenuOptions implements MaterializedBase,EditMenuOptions { - peer?: Finalizable +export class EditMenuOptionsInternal implements MaterializedBase,EditMenuOptions { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): EditMenuOptions { - const objEditMenuOptions: EditMenuOptions = new EditMenuOptions() - objEditMenuOptions.peer = new Finalizable(ptr, EditMenuOptions.getFinalizer()) - return objEditMenuOptions - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._EditMenuOptions_ctor() return retval } constructor() { { - const ctorPtr: KPointer = EditMenuOptions.ctor() - this.peer = new Finalizable(ctorPtr, EditMenuOptions.getFinalizer()) + const ctorPtr: KPointer = EditMenuOptionsInternal.ctor() + this.peer = new Finalizable(ctorPtr, EditMenuOptionsInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -99,11 +94,9 @@ export class EditMenuOptions implements MaterializedBase,EditMenuOptions { thisSerializer.release() return retval } -} -export class EditMenuOptionsInternal { - public static fromPtr(ptr: KPointer): EditMenuOptions { - const obj: EditMenuOptions = new EditMenuOptions() - obj.peer = new Finalizable(ptr, EditMenuOptions.getFinalizer()) + public static fromPtr(ptr: KPointer): EditMenuOptionsInternal { + const obj: EditMenuOptionsInternal = new EditMenuOptionsInternal() + obj.peer = new Finalizable(ptr, EditMenuOptionsInternal.getFinalizer()) return obj } } diff --git a/arkoala/arkui/src/ArkEffectComponent.ts b/arkoala/arkui/src/ArkEffectComponent.ts index 7a7e1600e..1969e737c 100644 --- a/arkoala/arkui/src/ArkEffectComponent.ts +++ b/arkoala/arkui/src/ArkEffectComponent.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkEllipse.ts b/arkoala/arkui/src/ArkEllipse.ts index 4855a278b..2fa2febad 100644 --- a/arkoala/arkui/src/ArkEllipse.ts +++ b/arkoala/arkui/src/ArkEllipse.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkEmbeddedComponent.ts b/arkoala/arkui/src/ArkEmbeddedComponent.ts index df29b45c2..482bcd184 100644 --- a/arkoala/arkui/src/ArkEmbeddedComponent.ts +++ b/arkoala/arkui/src/ArkEmbeddedComponent.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkEventEmulatorMaterialized.ts b/arkoala/arkui/src/ArkEventEmulatorMaterialized.ts index 2335e0bac..5bc3cd220 100644 --- a/arkoala/arkui/src/ArkEventEmulatorMaterialized.ts +++ b/arkoala/arkui/src/ArkEventEmulatorMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class EventEmulator implements MaterializedBase,EventEmulator { - peer?: Finalizable +export class EventEmulator implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): EventEmulator { - const objEventEmulator: EventEmulator = new EventEmulator() - objEventEmulator.peer = new Finalizable(ptr, EventEmulator.getFinalizer()) - return objEventEmulator - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._EventEmulator_ctor() return retval diff --git a/arkoala/arkui/src/ArkEventResultMaterialized.ts b/arkoala/arkui/src/ArkEventResultMaterialized.ts index e49f387c7..dfbb5a596 100644 --- a/arkoala/arkui/src/ArkEventResultMaterialized.ts +++ b/arkoala/arkui/src/ArkEventResultMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class EventResult implements MaterializedBase,EventResult { - peer?: Finalizable +export class EventResult implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): EventResult { - const objEventResult: EventResult = new EventResult() - objEventResult.peer = new Finalizable(ptr, EventResult.getFinalizer()) - return objEventResult - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._EventResult_ctor() return retval diff --git a/arkoala/arkui/src/ArkEventTargetInfoMaterialized.ts b/arkoala/arkui/src/ArkEventTargetInfoMaterialized.ts index a6aa2e6da..07228291c 100644 --- a/arkoala/arkui/src/ArkEventTargetInfoMaterialized.ts +++ b/arkoala/arkui/src/ArkEventTargetInfoMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class EventTargetInfo implements MaterializedBase,EventTargetInfo { - peer?: Finalizable +export class EventTargetInfo implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): EventTargetInfo { - const objEventTargetInfo: EventTargetInfo = new EventTargetInfo() - objEventTargetInfo.peer = new Finalizable(ptr, EventTargetInfo.getFinalizer()) - return objEventTargetInfo - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._EventTargetInfo_ctor() return retval diff --git a/arkoala/arkui/src/ArkFileSelectorParamMaterialized.ts b/arkoala/arkui/src/ArkFileSelectorParamMaterialized.ts index 03897eb18..da6f62a91 100644 --- a/arkoala/arkui/src/ArkFileSelectorParamMaterialized.ts +++ b/arkoala/arkui/src/ArkFileSelectorParamMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class FileSelectorParam implements MaterializedBase,FileSelectorParam { - peer?: Finalizable +export class FileSelectorParam implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): FileSelectorParam { - const objFileSelectorParam: FileSelectorParam = new FileSelectorParam() - objFileSelectorParam.peer = new Finalizable(ptr, FileSelectorParam.getFinalizer()) - return objFileSelectorParam - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._FileSelectorParam_ctor() return retval diff --git a/arkoala/arkui/src/ArkFileSelectorResultMaterialized.ts b/arkoala/arkui/src/ArkFileSelectorResultMaterialized.ts index a8935af66..4806cc882 100644 --- a/arkoala/arkui/src/ArkFileSelectorResultMaterialized.ts +++ b/arkoala/arkui/src/ArkFileSelectorResultMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class FileSelectorResult implements MaterializedBase,FileSelectorResult { - peer?: Finalizable +export class FileSelectorResult implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): FileSelectorResult { - const objFileSelectorResult: FileSelectorResult = new FileSelectorResult() - objFileSelectorResult.peer = new Finalizable(ptr, FileSelectorResult.getFinalizer()) - return objFileSelectorResult - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._FileSelectorResult_ctor() return retval diff --git a/arkoala/arkui/src/ArkFlex.ts b/arkoala/arkui/src/ArkFlex.ts index 35c10f31c..48aa8971b 100644 --- a/arkoala/arkui/src/ArkFlex.ts +++ b/arkoala/arkui/src/ArkFlex.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkFlowItem.ts b/arkoala/arkui/src/ArkFlowItem.ts index c28a07b4d..de7f693ba 100644 --- a/arkoala/arkui/src/ArkFlowItem.ts +++ b/arkoala/arkui/src/ArkFlowItem.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkFolderStack.ts b/arkoala/arkui/src/ArkFolderStack.ts index fd891e3c8..9946e1276 100644 --- a/arkoala/arkui/src/ArkFolderStack.ts +++ b/arkoala/arkui/src/ArkFolderStack.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkFormComponent.ts b/arkoala/arkui/src/ArkFormComponent.ts index ccb507a2a..cdb5eafd5 100644 --- a/arkoala/arkui/src/ArkFormComponent.ts +++ b/arkoala/arkui/src/ArkFormComponent.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkFormLink.ts b/arkoala/arkui/src/ArkFormLink.ts index 3ebe3e7df..13bf21044 100644 --- a/arkoala/arkui/src/ArkFormLink.ts +++ b/arkoala/arkui/src/ArkFormLink.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkFrameNodeMaterialized.ts b/arkoala/arkui/src/ArkFrameNodeMaterialized.ts index 30e54b66e..8220ef122 100644 --- a/arkoala/arkui/src/ArkFrameNodeMaterialized.ts +++ b/arkoala/arkui/src/ArkFrameNodeMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class FrameNode implements MaterializedBase,FrameNode { - peer?: Finalizable +export class FrameNode implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): FrameNode { - const objFrameNode: FrameNode = new FrameNode() - objFrameNode.peer = new Finalizable(ptr, FrameNode.getFinalizer()) - return objFrameNode - } static ctor(uiContext: UIContext): KPointer { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeUIContext(uiContext) @@ -149,23 +144,33 @@ export class FrameNode implements MaterializedBase,FrameNode { } private getChild_serialize(index: number): FrameNode { const retval = ArkUIGeneratedNativeModule._FrameNode_getChild(this.peer!.ptr, index) - return this + const obj: FrameNode = new FrameNode() + obj.peer = new Finalizable(retval, FrameNode.getFinalizer()) + return obj } private getFirstChild_serialize(): FrameNode { const retval = ArkUIGeneratedNativeModule._FrameNode_getFirstChild(this.peer!.ptr) - return this + const obj: FrameNode = new FrameNode() + obj.peer = new Finalizable(retval, FrameNode.getFinalizer()) + return obj } private getNextSibling_serialize(): FrameNode { const retval = ArkUIGeneratedNativeModule._FrameNode_getNextSibling(this.peer!.ptr) - return this + const obj: FrameNode = new FrameNode() + obj.peer = new Finalizable(retval, FrameNode.getFinalizer()) + return obj } private getPreviousSibling_serialize(): FrameNode { const retval = ArkUIGeneratedNativeModule._FrameNode_getPreviousSibling(this.peer!.ptr) - return this + const obj: FrameNode = new FrameNode() + obj.peer = new Finalizable(retval, FrameNode.getFinalizer()) + return obj } private getParent_serialize(): FrameNode { const retval = ArkUIGeneratedNativeModule._FrameNode_getParent(this.peer!.ptr) - return this + const obj: FrameNode = new FrameNode() + obj.peer = new Finalizable(retval, FrameNode.getFinalizer()) + return obj } private getChildrenCount_serialize(): int32 { const retval = ArkUIGeneratedNativeModule._FrameNode_getChildrenCount(this.peer!.ptr) diff --git a/arkoala/arkui/src/ArkFullScreenExitHandlerMaterialized.ts b/arkoala/arkui/src/ArkFullScreenExitHandlerMaterialized.ts index 8f21d21c9..beeaf44a1 100644 --- a/arkoala/arkui/src/ArkFullScreenExitHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkFullScreenExitHandlerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class FullScreenExitHandler implements MaterializedBase,FullScreenExitHandler { - peer?: Finalizable +export class FullScreenExitHandler implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): FullScreenExitHandler { - const objFullScreenExitHandler: FullScreenExitHandler = new FullScreenExitHandler() - objFullScreenExitHandler.peer = new Finalizable(ptr, FullScreenExitHandler.getFinalizer()) - return objFullScreenExitHandler - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._FullScreenExitHandler_ctor() return retval diff --git a/arkoala/arkui/src/ArkGauge.ts b/arkoala/arkui/src/ArkGauge.ts index 0918dd7e4..ba5b0efe0 100644 --- a/arkoala/arkui/src/ArkGauge.ts +++ b/arkoala/arkui/src/ArkGauge.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkGestureEventMaterialized.ts b/arkoala/arkui/src/ArkGestureEventMaterialized.ts new file mode 100644 index 000000000..8d4e03c61 --- /dev/null +++ b/arkoala/arkui/src/ArkGestureEventMaterialized.ts @@ -0,0 +1,328 @@ +/* + * 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 { BaseEventInternal } from "./ArkBaseEventMaterialized" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase } from "./peers/SerializerBase" +import { unsafeCast } from "./shared/generated-utils" +import { registerCallback } from "./peers/SerializerBase" +import { wrapCallback } from "@koalaui/interop" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class GestureEventInternal extends BaseEventInternal implements MaterializedBase,GestureEvent { + peer?: Finalizable | undefined + get repeat(): boolean { + return this.getRepeat() + } + set repeat(repeat: boolean) { + this.setRepeat(repeat) + } + get fingerList(): Array { + throw new Error("Not implemented") + } + set fingerList(fingerList: Array) { + this.setFingerList(fingerList) + } + get offsetX(): number { + return this.getOffsetX() + } + set offsetX(offsetX: number) { + this.setOffsetX(offsetX) + } + get offsetY(): number { + return this.getOffsetY() + } + set offsetY(offsetY: number) { + this.setOffsetY(offsetY) + } + get angle(): number { + return this.getAngle() + } + set angle(angle: number) { + this.setAngle(angle) + } + get speed(): number { + return this.getSpeed() + } + set speed(speed: number) { + this.setSpeed(speed) + } + get scale(): number { + return this.getScale() + } + set scale(scale: number) { + this.setScale(scale) + } + get pinchCenterX(): number { + return this.getPinchCenterX() + } + set pinchCenterX(pinchCenterX: number) { + this.setPinchCenterX(pinchCenterX) + } + get pinchCenterY(): number { + return this.getPinchCenterY() + } + set pinchCenterY(pinchCenterY: number) { + this.setPinchCenterY(pinchCenterY) + } + get velocityX(): number { + return this.getVelocityX() + } + set velocityX(velocityX: number) { + this.setVelocityX(velocityX) + } + get velocityY(): number { + return this.getVelocityY() + } + set velocityY(velocityY: number) { + this.setVelocityY(velocityY) + } + get velocity(): number { + return this.getVelocity() + } + set velocity(velocity: number) { + this.setVelocity(velocity) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._GestureEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr: KPointer = GestureEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, GestureEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._GestureEvent_getFinalizer() + } + private getRepeat(): boolean { + return this.getRepeat_serialize() + } + private setRepeat(repeat: boolean): void { + const repeat_casted = repeat as (boolean) + this?.setRepeat_serialize(repeat_casted) + return + } + private setFingerList(fingerList: Array): void { + const fingerList_casted = fingerList as (Array) + this?.setFingerList_serialize(fingerList_casted) + return + } + private getOffsetX(): number { + return this.getOffsetX_serialize() + } + private setOffsetX(offsetX: number): void { + const offsetX_casted = offsetX as (number) + this?.setOffsetX_serialize(offsetX_casted) + return + } + private getOffsetY(): number { + return this.getOffsetY_serialize() + } + private setOffsetY(offsetY: number): void { + const offsetY_casted = offsetY as (number) + this?.setOffsetY_serialize(offsetY_casted) + return + } + private getAngle(): number { + return this.getAngle_serialize() + } + private setAngle(angle: number): void { + const angle_casted = angle as (number) + this?.setAngle_serialize(angle_casted) + return + } + private getSpeed(): number { + return this.getSpeed_serialize() + } + private setSpeed(speed: number): void { + const speed_casted = speed as (number) + this?.setSpeed_serialize(speed_casted) + return + } + private getScale(): number { + return this.getScale_serialize() + } + private setScale(scale: number): void { + const scale_casted = scale as (number) + this?.setScale_serialize(scale_casted) + return + } + private getPinchCenterX(): number { + return this.getPinchCenterX_serialize() + } + private setPinchCenterX(pinchCenterX: number): void { + const pinchCenterX_casted = pinchCenterX as (number) + this?.setPinchCenterX_serialize(pinchCenterX_casted) + return + } + private getPinchCenterY(): number { + return this.getPinchCenterY_serialize() + } + private setPinchCenterY(pinchCenterY: number): void { + const pinchCenterY_casted = pinchCenterY as (number) + this?.setPinchCenterY_serialize(pinchCenterY_casted) + return + } + private getVelocityX(): number { + return this.getVelocityX_serialize() + } + private setVelocityX(velocityX: number): void { + const velocityX_casted = velocityX as (number) + this?.setVelocityX_serialize(velocityX_casted) + return + } + private getVelocityY(): number { + return this.getVelocityY_serialize() + } + private setVelocityY(velocityY: number): void { + const velocityY_casted = velocityY as (number) + this?.setVelocityY_serialize(velocityY_casted) + return + } + private getVelocity(): number { + return this.getVelocity_serialize() + } + private setVelocity(velocity: number): void { + const velocity_casted = velocity as (number) + this?.setVelocity_serialize(velocity_casted) + return + } + private getRepeat_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getRepeat(this.peer!.ptr) + return retval + } + private setRepeat_serialize(repeat: boolean): void { + ArkUIGeneratedNativeModule._GestureEvent_setRepeat(this.peer!.ptr, +repeat) + } + private setFingerList_serialize(fingerList: Array): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(fingerList.length) + for (let i = 0; i < fingerList.length; i++) { + const fingerList_element: FingerInfo = fingerList[i] + thisSerializer.writeFingerInfo(fingerList_element) + } + ArkUIGeneratedNativeModule._GestureEvent_setFingerList(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private getOffsetX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getOffsetX(this.peer!.ptr) + return retval + } + private setOffsetX_serialize(offsetX: number): void { + ArkUIGeneratedNativeModule._GestureEvent_setOffsetX(this.peer!.ptr, offsetX) + } + private getOffsetY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getOffsetY(this.peer!.ptr) + return retval + } + private setOffsetY_serialize(offsetY: number): void { + ArkUIGeneratedNativeModule._GestureEvent_setOffsetY(this.peer!.ptr, offsetY) + } + private getAngle_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getAngle(this.peer!.ptr) + return retval + } + private setAngle_serialize(angle: number): void { + ArkUIGeneratedNativeModule._GestureEvent_setAngle(this.peer!.ptr, angle) + } + private getSpeed_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getSpeed(this.peer!.ptr) + return retval + } + private setSpeed_serialize(speed: number): void { + ArkUIGeneratedNativeModule._GestureEvent_setSpeed(this.peer!.ptr, speed) + } + private getScale_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getScale(this.peer!.ptr) + return retval + } + private setScale_serialize(scale: number): void { + ArkUIGeneratedNativeModule._GestureEvent_setScale(this.peer!.ptr, scale) + } + private getPinchCenterX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getPinchCenterX(this.peer!.ptr) + return retval + } + private setPinchCenterX_serialize(pinchCenterX: number): void { + ArkUIGeneratedNativeModule._GestureEvent_setPinchCenterX(this.peer!.ptr, pinchCenterX) + } + private getPinchCenterY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getPinchCenterY(this.peer!.ptr) + return retval + } + private setPinchCenterY_serialize(pinchCenterY: number): void { + ArkUIGeneratedNativeModule._GestureEvent_setPinchCenterY(this.peer!.ptr, pinchCenterY) + } + private getVelocityX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getVelocityX(this.peer!.ptr) + return retval + } + private setVelocityX_serialize(velocityX: number): void { + ArkUIGeneratedNativeModule._GestureEvent_setVelocityX(this.peer!.ptr, velocityX) + } + private getVelocityY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getVelocityY(this.peer!.ptr) + return retval + } + private setVelocityY_serialize(velocityY: number): void { + ArkUIGeneratedNativeModule._GestureEvent_setVelocityY(this.peer!.ptr, velocityY) + } + private getVelocity_serialize(): number { + const retval = ArkUIGeneratedNativeModule._GestureEvent_getVelocity(this.peer!.ptr) + return retval + } + private setVelocity_serialize(velocity: number): void { + ArkUIGeneratedNativeModule._GestureEvent_setVelocity(this.peer!.ptr, velocity) + } + public static fromPtr(ptr: KPointer): GestureEventInternal { + const obj: GestureEventInternal = new GestureEventInternal() + obj.peer = new Finalizable(ptr, GestureEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala/arkui/src/ArkGestureModifierMaterialized.ts b/arkoala/arkui/src/ArkGestureModifierMaterialized.ts index 06b7c4a99..39071bbd8 100644 --- a/arkoala/arkui/src/ArkGestureModifierMaterialized.ts +++ b/arkoala/arkui/src/ArkGestureModifierMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,24 +48,19 @@ import { } from "@koalaui/interop" -export class GestureModifier implements MaterializedBase,GestureModifier { - peer?: Finalizable +export class GestureModifierInternal implements MaterializedBase,GestureModifier { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): GestureModifier { - const objGestureModifier: GestureModifier = new GestureModifier() - objGestureModifier.peer = new Finalizable(ptr, GestureModifier.getFinalizer()) - return objGestureModifier - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._GestureModifier_ctor() return retval } constructor() { { - const ctorPtr: KPointer = GestureModifier.ctor() - this.peer = new Finalizable(ctorPtr, GestureModifier.getFinalizer()) + const ctorPtr: KPointer = GestureModifierInternal.ctor() + this.peer = new Finalizable(ctorPtr, GestureModifierInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -82,11 +77,9 @@ export class GestureModifier implements MaterializedBase,GestureModifier { ArkUIGeneratedNativeModule._GestureModifier_applyGesture(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } -} -export class GestureModifierInternal { - public static fromPtr(ptr: KPointer): GestureModifier { - const obj: GestureModifier = new GestureModifier() - obj.peer = new Finalizable(ptr, GestureModifier.getFinalizer()) + public static fromPtr(ptr: KPointer): GestureModifierInternal { + const obj: GestureModifierInternal = new GestureModifierInternal() + obj.peer = new Finalizable(ptr, GestureModifierInternal.getFinalizer()) return obj } } diff --git a/arkoala/arkui/src/ArkGestureRecognizerMaterialized.ts b/arkoala/arkui/src/ArkGestureRecognizerMaterialized.ts index 1ba6d9598..e3bb7a911 100644 --- a/arkoala/arkui/src/ArkGestureRecognizerMaterialized.ts +++ b/arkoala/arkui/src/ArkGestureRecognizerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,7 +16,6 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { EventTargetInfo } from "./ArkEventTargetInfoMaterialized" import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" @@ -49,16 +48,11 @@ import { } from "@koalaui/interop" -export class GestureRecognizer implements MaterializedBase,GestureRecognizer { - peer?: Finalizable +export class GestureRecognizer implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): GestureRecognizer { - const objGestureRecognizer: GestureRecognizer = new GestureRecognizer() - objGestureRecognizer.peer = new Finalizable(ptr, GestureRecognizer.getFinalizer()) - return objGestureRecognizer - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._GestureRecognizer_ctor() return retval diff --git a/arkoala/arkui/src/ArkGlobalScopeCommonMaterialized.ts b/arkoala/arkui/src/ArkGlobalScopeCommonMaterialized.ts new file mode 100644 index 000000000..55b9d7261 --- /dev/null +++ b/arkoala/arkui/src/ArkGlobalScopeCommonMaterialized.ts @@ -0,0 +1,230 @@ +/* + * 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 { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase } from "./peers/SerializerBase" +import { unsafeCast } from "./shared/generated-utils" +import { registerCallback } from "./peers/SerializerBase" +import { wrapCallback } from "@koalaui/interop" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class GlobalScope_common implements MaterializedBase { + peer?: Finalizable | undefined + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_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 = GlobalScope_common.ctor() + this.peer = new Finalizable(ctorPtr, GlobalScope_common.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._GlobalScope_common_getFinalizer() + } + static getContext(component?: Object): Context { + const component_casted = component as (Object | undefined) + return GlobalScope_common.getContext_serialize(component_casted) + } + static postCardAction(component: Object, action: Object): void { + const component_casted = component as (Object) + const action_casted = action as (Object) + GlobalScope_common.postCardAction_serialize(component_casted, action_casted) + return + } + static dollar_r(value: string, params: Array): Resource { + const value_casted = value as (string) + const params_casted = params as (Array) + return GlobalScope_common.dollar_r_serialize(value_casted, params_casted) + } + static dollar_rawfile(value: string): Resource { + const value_casted = value as (string) + return GlobalScope_common.dollar_rawfile_serialize(value_casted) + } + static animateTo(value: AnimateParam, event: (() => void)): void { + const value_casted = value as (AnimateParam) + const event_casted = event as ((() => void)) + GlobalScope_common.animateTo_serialize(value_casted, event_casted) + return + } + static animateToImmediately(value: AnimateParam, event: (() => void)): void { + const value_casted = value as (AnimateParam) + const event_casted = event as ((() => void)) + GlobalScope_common.animateToImmediately_serialize(value_casted, event_casted) + return + } + static vp2px(value: number): number { + const value_casted = value as (number) + return GlobalScope_common.vp2px_serialize(value_casted) + } + static px2vp(value: number): number { + const value_casted = value as (number) + return GlobalScope_common.px2vp_serialize(value_casted) + } + static fp2px(value: number): number { + const value_casted = value as (number) + return GlobalScope_common.fp2px_serialize(value_casted) + } + static px2fp(value: number): number { + const value_casted = value as (number) + return GlobalScope_common.px2fp_serialize(value_casted) + } + static lpx2px(value: number): number { + const value_casted = value as (number) + return GlobalScope_common.lpx2px_serialize(value_casted) + } + static px2lpx(value: number): number { + const value_casted = value as (number) + return GlobalScope_common.px2lpx_serialize(value_casted) + } + static requestFocus(value: string): boolean { + const value_casted = value as (string) + return GlobalScope_common.requestFocus_serialize(value_casted) + } + static setCursor(value: PointerStyle): void { + const value_casted = value as (PointerStyle) + GlobalScope_common.setCursor_serialize(value_casted) + return + } + static restoreDefault(): void { + GlobalScope_common.restoreDefault_serialize() + return + } + private static getContext_serialize(component?: Object): Context { + const thisSerializer: Serializer = Serializer.hold() + let component_type: int32 = RuntimeType.UNDEFINED + component_type = runtimeType(component) + thisSerializer.writeInt8(component_type) + if ((RuntimeType.UNDEFINED) != (component_type)) { + const component_value = component! + thisSerializer.writeCustomObject("Object", component_value) + } + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_getContext(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + throw new Error("Object deserialization is not implemented.") + } + private static postCardAction_serialize(component: Object, action: Object): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeCustomObject("Object", component) + thisSerializer.writeCustomObject("Object", action) + ArkUIGeneratedNativeModule._GlobalScope_common_postCardAction(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private static dollar_r_serialize(value: string, params: Array): Resource { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(params.length) + for (let i = 0; i < params.length; i++) { + const params_element: any = params[i] + thisSerializer.writeCustomObject("Any", params_element) + } + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_dollar_r(value, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + throw new Error("Object deserialization is not implemented.") + } + private static dollar_rawfile_serialize(value: string): Resource { + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_dollar_rawfile(value) + throw new Error("Object deserialization is not implemented.") + } + private static animateTo_serialize(value: AnimateParam, event: (() => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeAnimateParam(value) + thisSerializer.holdAndWriteCallback(event) + ArkUIGeneratedNativeModule._GlobalScope_common_animateTo(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private static animateToImmediately_serialize(value: AnimateParam, event: (() => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeAnimateParam(value) + thisSerializer.holdAndWriteCallback(event) + ArkUIGeneratedNativeModule._GlobalScope_common_animateToImmediately(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private static vp2px_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_vp2px(value) + return retval + } + private static px2vp_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_px2vp(value) + return retval + } + private static fp2px_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_fp2px(value) + return retval + } + private static px2fp_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_px2fp(value) + return retval + } + private static lpx2px_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_lpx2px(value) + return retval + } + private static px2lpx_serialize(value: number): number { + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_px2lpx(value) + return retval + } + private static requestFocus_serialize(value: string): boolean { + const retval = ArkUIGeneratedNativeModule._GlobalScope_common_requestFocus(value) + return retval + } + private static setCursor_serialize(value: PointerStyle): void { + ArkUIGeneratedNativeModule._GlobalScope_common_setCursor(value) + } + private static restoreDefault_serialize(): void { + ArkUIGeneratedNativeModule._GlobalScope_common_restoreDefault() + } +} +export class GlobalScope_commonInternal { + public static fromPtr(ptr: KPointer): GlobalScope_common { + const obj: GlobalScope_common = new GlobalScope_common() + obj.peer = new Finalizable(ptr, GlobalScope_common.getFinalizer()) + return obj + } +} diff --git a/arkoala/arkui/src/ArkGlobalScopeInspectorMaterialized.ts b/arkoala/arkui/src/ArkGlobalScopeInspectorMaterialized.ts new file mode 100644 index 000000000..49126a64f --- /dev/null +++ b/arkoala/arkui/src/ArkGlobalScopeInspectorMaterialized.ts @@ -0,0 +1,120 @@ +/* + * 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 { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase } from "./peers/SerializerBase" +import { unsafeCast } from "./shared/generated-utils" +import { registerCallback } from "./peers/SerializerBase" +import { wrapCallback } from "@koalaui/interop" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class GlobalScope_inspector implements MaterializedBase { + peer?: Finalizable | undefined + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._GlobalScope_inspector_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 = GlobalScope_inspector.ctor() + this.peer = new Finalizable(ctorPtr, GlobalScope_inspector.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._GlobalScope_inspector_getFinalizer() + } + static getInspectorNodes(): Object { + return GlobalScope_inspector.getInspectorNodes_serialize() + } + static getInspectorNodeById(id: number): Object { + const id_casted = id as (number) + return GlobalScope_inspector.getInspectorNodeById_serialize(id_casted) + } + static registerVsyncCallback(callback_: ((breakpoints: string) => void)): void { + const callback__casted = callback_ as (((breakpoints: string) => void)) + GlobalScope_inspector.registerVsyncCallback_serialize(callback__casted) + return + } + static unregisterVsyncCallback(): void { + GlobalScope_inspector.unregisterVsyncCallback_serialize() + return + } + static setAppBgColor(value: string): void { + const value_casted = value as (string) + GlobalScope_inspector.setAppBgColor_serialize(value_casted) + return + } + private static getInspectorNodes_serialize(): Object { + const retval = ArkUIGeneratedNativeModule._GlobalScope_inspector_getInspectorNodes() + throw new Error("Object deserialization is not implemented.") + } + private static getInspectorNodeById_serialize(id: number): Object { + const retval = ArkUIGeneratedNativeModule._GlobalScope_inspector_getInspectorNodeById(id) + throw new Error("Object deserialization is not implemented.") + } + private static registerVsyncCallback_serialize(callback_: ((breakpoints: string) => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(callback_) + ArkUIGeneratedNativeModule._GlobalScope_inspector_registerVsyncCallback(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private static unregisterVsyncCallback_serialize(): void { + ArkUIGeneratedNativeModule._GlobalScope_inspector_unregisterVsyncCallback() + } + private static setAppBgColor_serialize(value: string): void { + ArkUIGeneratedNativeModule._GlobalScope_inspector_setAppBgColor(value) + } +} +export class GlobalScope_inspectorInternal { + public static fromPtr(ptr: KPointer): GlobalScope_inspector { + const obj: GlobalScope_inspector = new GlobalScope_inspector() + obj.peer = new Finalizable(ptr, GlobalScope_inspector.getFinalizer()) + return obj + } +} diff --git a/arkoala/arkui/src/ArkGrid.ts b/arkoala/arkui/src/ArkGrid.ts index b23e7ea7f..1d70a0f9e 100644 --- a/arkoala/arkui/src/ArkGrid.ts +++ b/arkoala/arkui/src/ArkGrid.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -128,17 +128,17 @@ export class ArkGridComponent extends ArkScrollableCommonMethodComponent { if (this.checkPriority("cachedCount")) { const count_type = runtimeType(count) const show_type = runtimeType(show) + if ((((RuntimeType.UNDEFINED == show_type)))) { + const value_casted = count as (number) + this.getPeer()?.cachedCount0Attribute(value_casted) + return this + } if ((((RuntimeType.BOOLEAN == show_type)))) { const count_casted = count as (number) const show_casted = show as (boolean) this.getPeer()?.cachedCount1Attribute(count_casted, show_casted) return this } - if ((((RuntimeType.UNDEFINED == show_type)))) { - const count_casted = count as (number) - this.getPeer()?.cachedCount0Attribute(count_casted) - return this - } throw new Error("Can not select appropriate overload") } return this @@ -207,9 +207,9 @@ export class ArkGridComponent extends ArkScrollableCommonMethodComponent { return this } /** @memo */ - onItemDragStart(value: ((event: ItemDragInfo, itemIndex: number) => (() => any))): this { + onItemDragStart(value: ((event: ItemDragInfo, itemIndex: number) => CustomBuilder)): this { if (this.checkPriority("onItemDragStart")) { - const value_casted = value as (((event: ItemDragInfo, itemIndex: number) => (() => any))) + const value_casted = value as (((event: ItemDragInfo, itemIndex: number) => CustomBuilder)) UseEventsProperties({Grid_onItemDragStart: value_casted}) this.getPeer()?.onItemDragStartAttribute(value_casted) return this @@ -293,9 +293,9 @@ export class ArkGridComponent extends ArkScrollableCommonMethodComponent { return this } /** @memo */ - onScroll(value: ((scrollOffset: number, scrollState: ScrollState) => void)): this { + onScroll(value: ((first: number, last: number) => void)): this { if (this.checkPriority("onScroll")) { - const value_casted = value as (((scrollOffset: number, scrollState: ScrollState) => void)) + const value_casted = value as (((first: number, last: number) => void)) UseEventsProperties({Grid_onScroll: value_casted}) this.getPeer()?.onScrollAttribute(value_casted) return this diff --git a/arkoala/arkui/src/ArkGridCol.ts b/arkoala/arkui/src/ArkGridCol.ts index edbfcb3d8..d8a7fc95c 100644 --- a/arkoala/arkui/src/ArkGridCol.ts +++ b/arkoala/arkui/src/ArkGridCol.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkGridContainer.ts b/arkoala/arkui/src/ArkGridContainer.ts index 331db80c2..fcd099855 100644 --- a/arkoala/arkui/src/ArkGridContainer.ts +++ b/arkoala/arkui/src/ArkGridContainer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkGridItem.ts b/arkoala/arkui/src/ArkGridItem.ts index 1b670b31e..c480108a8 100644 --- a/arkoala/arkui/src/ArkGridItem.ts +++ b/arkoala/arkui/src/ArkGridItem.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkGridRow.ts b/arkoala/arkui/src/ArkGridRow.ts index b6c705b0f..a8331209c 100644 --- a/arkoala/arkui/src/ArkGridRow.ts +++ b/arkoala/arkui/src/ArkGridRow.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkHoverEventMaterialized.ts b/arkoala/arkui/src/ArkHoverEventMaterialized.ts new file mode 100644 index 000000000..dfd35f75a --- /dev/null +++ b/arkoala/arkui/src/ArkHoverEventMaterialized.ts @@ -0,0 +1,93 @@ +/* + * 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 { BaseEventInternal } from "./ArkBaseEventMaterialized" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase } from "./peers/SerializerBase" +import { unsafeCast } from "./shared/generated-utils" +import { registerCallback } from "./peers/SerializerBase" +import { wrapCallback } from "@koalaui/interop" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class HoverEventInternal extends BaseEventInternal implements MaterializedBase,HoverEvent { + peer?: Finalizable | undefined + get stopPropagation(): (() => void) { + throw new Error("Not implemented") + } + set stopPropagation(stopPropagation: (() => void)) { + this.setStopPropagation(stopPropagation) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._HoverEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr: KPointer = HoverEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, HoverEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._HoverEvent_getFinalizer() + } + private setStopPropagation(stopPropagation: (() => void)): void { + const stopPropagation_casted = stopPropagation as ((() => void)) + this?.setStopPropagation_serialize(stopPropagation_casted) + return + } + private setStopPropagation_serialize(stopPropagation: (() => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(stopPropagation) + ArkUIGeneratedNativeModule._HoverEvent_setStopPropagation(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + public static fromPtr(ptr: KPointer): HoverEventInternal { + const obj: HoverEventInternal = new HoverEventInternal() + obj.peer = new Finalizable(ptr, HoverEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala/arkui/src/ArkHttpAuthHandlerMaterialized.ts b/arkoala/arkui/src/ArkHttpAuthHandlerMaterialized.ts index 5fcb18646..e154426d2 100644 --- a/arkoala/arkui/src/ArkHttpAuthHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkHttpAuthHandlerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class HttpAuthHandler implements MaterializedBase,HttpAuthHandler { - peer?: Finalizable +export class HttpAuthHandler implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): HttpAuthHandler { - const objHttpAuthHandler: HttpAuthHandler = new HttpAuthHandler() - objHttpAuthHandler.peer = new Finalizable(ptr, HttpAuthHandler.getFinalizer()) - return objHttpAuthHandler - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._HttpAuthHandler_ctor() return retval diff --git a/arkoala/arkui/src/ArkHyperlink.ts b/arkoala/arkui/src/ArkHyperlink.ts index 70cf85791..9391b412c 100644 --- a/arkoala/arkui/src/ArkHyperlink.ts +++ b/arkoala/arkui/src/ArkHyperlink.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkICurveMaterialized.ts b/arkoala/arkui/src/ArkICurveMaterialized.ts index ee1427468..ead420bd9 100644 --- a/arkoala/arkui/src/ArkICurveMaterialized.ts +++ b/arkoala/arkui/src/ArkICurveMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,24 +48,19 @@ import { } from "@koalaui/interop" -export class ICurve implements MaterializedBase,ICurve { - peer?: Finalizable +export class ICurveInternal implements MaterializedBase,ICurve { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ICurve { - const objICurve: ICurve = new ICurve() - objICurve.peer = new Finalizable(ptr, ICurve.getFinalizer()) - return objICurve - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._ICurve_ctor() return retval } constructor() { { - const ctorPtr: KPointer = ICurve.ctor() - this.peer = new Finalizable(ctorPtr, ICurve.getFinalizer()) + const ctorPtr: KPointer = ICurveInternal.ctor() + this.peer = new Finalizable(ctorPtr, ICurveInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -79,11 +74,9 @@ export class ICurve implements MaterializedBase,ICurve { const retval = ArkUIGeneratedNativeModule._ICurve_interpolate(this.peer!.ptr, fraction) return retval } -} -export class ICurveInternal { - public static fromPtr(ptr: KPointer): ICurve { - const obj: ICurve = new ICurve() - obj.peer = new Finalizable(ptr, ICurve.getFinalizer()) + public static fromPtr(ptr: KPointer): ICurveInternal { + const obj: ICurveInternal = new ICurveInternal() + obj.peer = new Finalizable(ptr, ICurveInternal.getFinalizer()) return obj } } diff --git a/arkoala/arkui/src/ArkImage.ts b/arkoala/arkui/src/ArkImage.ts index 919dc7ebf..b25194aa4 100644 --- a/arkoala/arkui/src/ArkImage.ts +++ b/arkoala/arkui/src/ArkImage.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -35,15 +35,15 @@ export class ArkImageComponent extends ArkCommonMethodComponent { if (this.checkPriority("setImageOptions")) { const src_type = runtimeType(src) const imageAIOptions_type = runtimeType(imageAIOptions) - if ((((RuntimeType.OBJECT == src_type)) || ((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.OBJECT == src_type))) && (((RuntimeType.OBJECT == imageAIOptions_type)))) { + if ((((RuntimeType.OBJECT == src_type)) || ((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.OBJECT == src_type))) && (((RuntimeType.UNDEFINED == imageAIOptions_type)))) { const src_casted = src as (PixelMap | ResourceStr | DrawableDescriptor) - const imageAIOptions_casted = imageAIOptions as (ImageAIOptions) - this.getPeer()?.setImageOptions2Attribute(src_casted, imageAIOptions_casted) + this.getPeer()?.setImageOptions0Attribute(src_casted) return this } - if ((((RuntimeType.OBJECT == src_type)) || ((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.OBJECT == src_type))) && (((RuntimeType.UNDEFINED == imageAIOptions_type)))) { + if ((((RuntimeType.OBJECT == src_type)) || ((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.OBJECT == src_type))) && (((RuntimeType.OBJECT == imageAIOptions_type)))) { const src_casted = src as (PixelMap | ResourceStr | DrawableDescriptor) - this.getPeer()?.setImageOptions0Attribute(src_casted) + const imageAIOptions_casted = imageAIOptions as (ImageAIOptions) + this.getPeer()?.setImageOptions2Attribute(src_casted, imageAIOptions_casted) return this } if ((((RuntimeType.OBJECT == src_type)) || ((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.NUMBER == src_type))) && (((RuntimeType.UNDEFINED == imageAIOptions_type)))) { diff --git a/arkoala/arkui/src/ArkImageAnalyzerControllerMaterialized.ts b/arkoala/arkui/src/ArkImageAnalyzerControllerMaterialized.ts index 7e4963be8..7c3fef1dd 100644 --- a/arkoala/arkui/src/ArkImageAnalyzerControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkImageAnalyzerControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class ImageAnalyzerController implements MaterializedBase,ImageAnalyzerController { - peer?: Finalizable +export class ImageAnalyzerController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ImageAnalyzerController { - const objImageAnalyzerController: ImageAnalyzerController = new ImageAnalyzerController() - objImageAnalyzerController.peer = new Finalizable(ptr, ImageAnalyzerController.getFinalizer()) - return objImageAnalyzerController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._ImageAnalyzerController_ctor() return retval diff --git a/arkoala/arkui/src/ArkImageAnimator.ts b/arkoala/arkui/src/ArkImageAnimator.ts index 2e69b55ca..57e43722a 100644 --- a/arkoala/arkui/src/ArkImageAnimator.ts +++ b/arkoala/arkui/src/ArkImageAnimator.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkImageBitmapMaterialized.ts b/arkoala/arkui/src/ArkImageBitmapMaterialized.ts index ad1fe2083..024d8d552 100644 --- a/arkoala/arkui/src/ArkImageBitmapMaterialized.ts +++ b/arkoala/arkui/src/ArkImageBitmapMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,7 +16,6 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { PixelMap } from "./ArkPixelMapMaterialized" import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" @@ -49,8 +48,8 @@ import { } from "@koalaui/interop" -export class ImageBitmap implements MaterializedBase,ImageBitmap { - peer?: Finalizable +export class ImageBitmap implements MaterializedBase { + peer?: Finalizable | undefined get height(): number { return this.getHeight() } @@ -60,11 +59,6 @@ export class ImageBitmap implements MaterializedBase,ImageBitmap { getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ImageBitmap { - const objImageBitmap: ImageBitmap = new ImageBitmap() - objImageBitmap.peer = new Finalizable(ptr, ImageBitmap.getFinalizer()) - return objImageBitmap - } static ctor(src: string): KPointer { const retval = ArkUIGeneratedNativeModule._ImageBitmap_ctor(src) return retval diff --git a/arkoala/arkui/src/ArkImageSpan.ts b/arkoala/arkui/src/ArkImageSpan.ts index 8516d59b3..5b7f59790 100644 --- a/arkoala/arkui/src/ArkImageSpan.ts +++ b/arkoala/arkui/src/ArkImageSpan.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkIndicatorComponentControllerMaterialized.ts b/arkoala/arkui/src/ArkIndicatorComponentControllerMaterialized.ts index d3031c467..937af6eaa 100644 --- a/arkoala/arkui/src/ArkIndicatorComponentControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkIndicatorComponentControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class IndicatorComponentController implements MaterializedBase,IndicatorComponentController { - peer?: Finalizable +export class IndicatorComponentController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): IndicatorComponentController { - const objIndicatorComponentController: IndicatorComponentController = new IndicatorComponentController() - objIndicatorComponentController.peer = new Finalizable(ptr, IndicatorComponentController.getFinalizer()) - return objIndicatorComponentController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._IndicatorComponentController_ctor() return retval diff --git a/arkoala/arkui/src/ArkIndicatorcomponent.ts b/arkoala/arkui/src/ArkIndicatorcomponent.ts index d0406b12a..39bc0a695 100644 --- a/arkoala/arkui/src/ArkIndicatorcomponent.ts +++ b/arkoala/arkui/src/ArkIndicatorcomponent.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkJsGeolocationMaterialized.ts b/arkoala/arkui/src/ArkJsGeolocationMaterialized.ts index fe0a05ec0..c09af2c15 100644 --- a/arkoala/arkui/src/ArkJsGeolocationMaterialized.ts +++ b/arkoala/arkui/src/ArkJsGeolocationMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class JsGeolocation implements MaterializedBase,JsGeolocation { - peer?: Finalizable +export class JsGeolocation implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): JsGeolocation { - const objJsGeolocation: JsGeolocation = new JsGeolocation() - objJsGeolocation.peer = new Finalizable(ptr, JsGeolocation.getFinalizer()) - return objJsGeolocation - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._JsGeolocation_ctor() return retval diff --git a/arkoala/arkui/src/ArkJsResultMaterialized.ts b/arkoala/arkui/src/ArkJsResultMaterialized.ts index cd061c224..d18ddb4fd 100644 --- a/arkoala/arkui/src/ArkJsResultMaterialized.ts +++ b/arkoala/arkui/src/ArkJsResultMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class JsResult implements MaterializedBase,JsResult { - peer?: Finalizable +export class JsResult implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): JsResult { - const objJsResult: JsResult = new JsResult() - objJsResult.peer = new Finalizable(ptr, JsResult.getFinalizer()) - return objJsResult - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._JsResult_ctor() return retval diff --git a/arkoala/arkui/src/ArkKeyEventMaterialized.ts b/arkoala/arkui/src/ArkKeyEventMaterialized.ts new file mode 100644 index 000000000..94265e85f --- /dev/null +++ b/arkoala/arkui/src/ArkKeyEventMaterialized.ts @@ -0,0 +1,292 @@ +/* + * 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 { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase } from "./peers/SerializerBase" +import { unsafeCast } from "./shared/generated-utils" +import { registerCallback } from "./peers/SerializerBase" +import { wrapCallback } from "@koalaui/interop" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class KeyEventInternal implements MaterializedBase,KeyEvent { + peer?: Finalizable | undefined + 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 { + throw new Error("Not implemented") + } + set intentionCode(intentionCode: IntentionCode) { + this.setIntentionCode(intentionCode) + } + get unicode(): number { + return this.getUnicode() + } + set unicode(unicode: number) { + const unicode_NonNull = (unicode as number) + this.setUnicode(unicode_NonNull) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._KeyEvent_ctor() + return retval + } + constructor() { + { + const ctorPtr: KPointer = KeyEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, KeyEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._KeyEvent_getFinalizer() + } + 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 + } + 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 setStopPropagation(stopPropagation: (() => void)): void { + const stopPropagation_casted = stopPropagation as ((() => void)) + this?.setStopPropagation_serialize(stopPropagation_casted) + return + } + private setIntentionCode(intentionCode: IntentionCode): void { + const intentionCode_casted = intentionCode as (IntentionCode) + this?.setIntentionCode_serialize(intentionCode_casted) + return + } + private getUnicode(): number { + 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.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.asArray(), thisSerializer.length()) + thisSerializer.release() + return retval + } + private getType_serialize(): KeyType { + const retval = ArkUIGeneratedNativeModule._KeyEvent_getType(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setType_serialize(type: KeyType): void { + ArkUIGeneratedNativeModule._KeyEvent_setType(this.peer!.ptr, type) + } + private getKeyCode_serialize(): number { + const retval = ArkUIGeneratedNativeModule._KeyEvent_getKeyCode(this.peer!.ptr) + return retval + } + 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 setKeyText_serialize(keyText: string): void { + ArkUIGeneratedNativeModule._KeyEvent_setKeyText(this.peer!.ptr, keyText) + } + private getKeySource_serialize(): KeySource { + const retval = ArkUIGeneratedNativeModule._KeyEvent_getKeySource(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setKeySource_serialize(keySource: KeySource): void { + ArkUIGeneratedNativeModule._KeyEvent_setKeySource(this.peer!.ptr, keySource) + } + 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 setStopPropagation_serialize(stopPropagation: (() => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(stopPropagation) + ArkUIGeneratedNativeModule._KeyEvent_setStopPropagation(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setIntentionCode_serialize(intentionCode: IntentionCode): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeIntentionCode(intentionCode) + ArkUIGeneratedNativeModule._KeyEvent_setIntentionCode(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private getUnicode_serialize(): number { + const retval = ArkUIGeneratedNativeModule._KeyEvent_getUnicode(this.peer!.ptr) + return retval + } + 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 + } +} diff --git a/arkoala/arkui/src/ArkLayoutManagerMaterialized.ts b/arkoala/arkui/src/ArkLayoutManagerMaterialized.ts index 3c1911441..b0a0a04e8 100644 --- a/arkoala/arkui/src/ArkLayoutManagerMaterialized.ts +++ b/arkoala/arkui/src/ArkLayoutManagerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,24 +48,19 @@ import { } from "@koalaui/interop" -export class LayoutManager implements MaterializedBase,LayoutManager { - peer?: Finalizable +export class LayoutManagerInternal implements MaterializedBase,LayoutManager { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): LayoutManager { - const objLayoutManager: LayoutManager = new LayoutManager() - objLayoutManager.peer = new Finalizable(ptr, LayoutManager.getFinalizer()) - return objLayoutManager - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._LayoutManager_ctor() return retval } constructor() { { - const ctorPtr: KPointer = LayoutManager.ctor() - this.peer = new Finalizable(ctorPtr, LayoutManager.getFinalizer()) + const ctorPtr: KPointer = LayoutManagerInternal.ctor() + this.peer = new Finalizable(ctorPtr, LayoutManagerInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -108,11 +103,9 @@ export class LayoutManager implements MaterializedBase,LayoutManager { thisSerializer.release() throw new Error("Object deserialization is not implemented.") } -} -export class LayoutManagerInternal { - public static fromPtr(ptr: KPointer): LayoutManager { - const obj: LayoutManager = new LayoutManager() - obj.peer = new Finalizable(ptr, LayoutManager.getFinalizer()) + public static fromPtr(ptr: KPointer): LayoutManagerInternal { + const obj: LayoutManagerInternal = new LayoutManagerInternal() + obj.peer = new Finalizable(ptr, LayoutManagerInternal.getFinalizer()) return obj } } diff --git a/arkoala/arkui/src/ArkLazyForEachOpsMaterialized.ts b/arkoala/arkui/src/ArkLazyForEachOpsMaterialized.ts index 40bb60645..a7d8785a8 100644 --- a/arkoala/arkui/src/ArkLazyForEachOpsMaterialized.ts +++ b/arkoala/arkui/src/ArkLazyForEachOpsMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class LazyForEachOps implements MaterializedBase,LazyForEachOps { - peer?: Finalizable +export class LazyForEachOps implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): LazyForEachOps { - const objLazyForEachOps: LazyForEachOps = new LazyForEachOps() - objLazyForEachOps.peer = new Finalizable(ptr, LazyForEachOps.getFinalizer()) - return objLazyForEachOps - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._LazyForEachOps_ctor() return retval @@ -93,6 +88,11 @@ export class LazyForEachOps implements MaterializedBase,LazyForEachOps { LazyForEachOps.SetCurrentIndex_serialize(node_casted, index_casted) return } + static Prepare(node: KPointer): void { + const node_casted = node as (KPointer) + LazyForEachOps.Prepare_serialize(node_casted) + return + } private static NeedMoreElements_serialize(node: KPointer, mark: KPointer, direction: int32): KPointer { const retval = ArkUIGeneratedNativeModule._LazyForEachOps_NeedMoreElements(node, mark, direction) return retval @@ -106,6 +106,9 @@ export class LazyForEachOps implements MaterializedBase,LazyForEachOps { private static SetCurrentIndex_serialize(node: KPointer, index: int32): void { ArkUIGeneratedNativeModule._LazyForEachOps_SetCurrentIndex(node, index) } + private static Prepare_serialize(node: KPointer): void { + ArkUIGeneratedNativeModule._LazyForEachOps_Prepare(node) + } } export class LazyForEachOpsInternal { public static fromPtr(ptr: KPointer): LazyForEachOps { diff --git a/arkoala/arkui/src/ArkLine.ts b/arkoala/arkui/src/ArkLine.ts index f2bf4b7a1..986a9e372 100644 --- a/arkoala/arkui/src/ArkLine.ts +++ b/arkoala/arkui/src/ArkLine.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -39,18 +39,18 @@ export class ArkLineComponent extends ArkCommonShapeMethodComponent { return this } /** @memo */ - startPoint(value: Array): this { + startPoint(value: Array): this { if (this.checkPriority("startPoint")) { - const value_casted = value as (Array) + const value_casted = value as (Array) this.getPeer()?.startPointAttribute(value_casted) return this } return this } /** @memo */ - endPoint(value: Array): this { + endPoint(value: Array): this { if (this.checkPriority("endPoint")) { - const value_casted = value as (Array) + const value_casted = value as (Array) this.getPeer()?.endPointAttribute(value_casted) return this } diff --git a/arkoala/arkui/src/ArkLinearIndicatorControllerMaterialized.ts b/arkoala/arkui/src/ArkLinearIndicatorControllerMaterialized.ts index 7e2cef05e..1f229b470 100644 --- a/arkoala/arkui/src/ArkLinearIndicatorControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkLinearIndicatorControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class LinearIndicatorController implements MaterializedBase,LinearIndicatorController { - peer?: Finalizable +export class LinearIndicatorController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): LinearIndicatorController { - const objLinearIndicatorController: LinearIndicatorController = new LinearIndicatorController() - objLinearIndicatorController.peer = new Finalizable(ptr, LinearIndicatorController.getFinalizer()) - return objLinearIndicatorController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._LinearIndicatorController_ctor() return retval diff --git a/arkoala/arkui/src/ArkLinearindicator.ts b/arkoala/arkui/src/ArkLinearindicator.ts index 91783dc05..cc908704c 100644 --- a/arkoala/arkui/src/ArkLinearindicator.ts +++ b/arkoala/arkui/src/ArkLinearindicator.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkList.ts b/arkoala/arkui/src/ArkList.ts index ec9779153..07dfa3032 100644 --- a/arkoala/arkui/src/ArkList.ts +++ b/arkoala/arkui/src/ArkList.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -116,17 +116,17 @@ export class ArkListComponent extends ArkScrollableCommonMethodComponent { if (this.checkPriority("cachedCount")) { const count_type = runtimeType(count) const show_type = runtimeType(show) + if ((((RuntimeType.UNDEFINED == show_type)))) { + const value_casted = count as (number) + this.getPeer()?.cachedCount0Attribute(value_casted) + return this + } if ((((RuntimeType.BOOLEAN == show_type)))) { const count_casted = count as (number) const show_casted = show as (boolean) this.getPeer()?.cachedCount1Attribute(count_casted, show_casted) return this } - if ((((RuntimeType.UNDEFINED == show_type)))) { - const count_casted = count as (number) - this.getPeer()?.cachedCount0Attribute(count_casted) - return this - } throw new Error("Can not select appropriate overload") } return this @@ -213,9 +213,9 @@ export class ArkListComponent extends ArkScrollableCommonMethodComponent { return this } /** @memo */ - onScroll(value: ((scrollOffset: number, scrollState: ScrollState) => void)): this { + onScroll(value: ((first: number, last: number) => void)): this { if (this.checkPriority("onScroll")) { - const value_casted = value as (((scrollOffset: number, scrollState: ScrollState) => void)) + const value_casted = value as (((first: number, last: number) => void)) UseEventsProperties({List_onScroll: value_casted}) this.getPeer()?.onScrollAttribute(value_casted) return this @@ -303,9 +303,9 @@ export class ArkListComponent extends ArkScrollableCommonMethodComponent { return this } /** @memo */ - onItemDragStart(value: ((event: ItemDragInfo, itemIndex: number) => (() => any))): this { + onItemDragStart(value: ((event: ItemDragInfo, itemIndex: number) => CustomBuilder)): this { if (this.checkPriority("onItemDragStart")) { - const value_casted = value as (((event: ItemDragInfo, itemIndex: number) => (() => any))) + const value_casted = value as (((event: ItemDragInfo, itemIndex: number) => CustomBuilder)) UseEventsProperties({List_onItemDragStart: value_casted}) this.getPeer()?.onItemDragStartAttribute(value_casted) return this diff --git a/arkoala/arkui/src/ArkListItem.ts b/arkoala/arkui/src/ArkListItem.ts index 6b8dc8af6..f8c9a6516 100644 --- a/arkoala/arkui/src/ArkListItem.ts +++ b/arkoala/arkui/src/ArkListItem.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkListItemGroup.ts b/arkoala/arkui/src/ArkListItemGroup.ts index 02cff4024..3af12aa39 100644 --- a/arkoala/arkui/src/ArkListItemGroup.ts +++ b/arkoala/arkui/src/ArkListItemGroup.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkListScrollerMaterialized.ts b/arkoala/arkui/src/ArkListScrollerMaterialized.ts index fe60872fc..485e67706 100644 --- a/arkoala/arkui/src/ArkListScrollerMaterialized.ts +++ b/arkoala/arkui/src/ArkListScrollerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class ListScroller extends Scroller implements MaterializedBase,ListScroller { - peer?: Finalizable +export class ListScroller extends Scroller implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ListScroller { - const objListScroller: ListScroller = new ListScroller() - objListScroller.peer = new Finalizable(ptr, ListScroller.getFinalizer()) - return objListScroller - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._ListScroller_ctor() return retval diff --git a/arkoala/arkui/src/ArkLoadingProgress.ts b/arkoala/arkui/src/ArkLoadingProgress.ts index 49d736d04..5281f1279 100644 --- a/arkoala/arkui/src/ArkLoadingProgress.ts +++ b/arkoala/arkui/src/ArkLoadingProgress.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkLocationButton.ts b/arkoala/arkui/src/ArkLocationButton.ts index e428a076a..0a45ecdde 100644 --- a/arkoala/arkui/src/ArkLocationButton.ts +++ b/arkoala/arkui/src/ArkLocationButton.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -34,15 +34,15 @@ export class ArkLocationButtonComponent extends ArkSecurityComponentMethodCompon setLocationButtonOptions(options?: LocationButtonOptions): this { if (this.checkPriority("setLocationButtonOptions")) { const options_type = runtimeType(options) + if ((((RuntimeType.UNDEFINED == options_type)))) { + this.getPeer()?.setLocationButtonOptions0Attribute() + return this + } if ((((RuntimeType.OBJECT == options_type)))) { const options_casted = options as (LocationButtonOptions) this.getPeer()?.setLocationButtonOptions1Attribute(options_casted) return this } - if ((((RuntimeType.UNDEFINED == options_type)))) { - this.getPeer()?.setLocationButtonOptions0Attribute() - return this - } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala/arkui/src/ArkLongPressGestureEventMaterialized.ts b/arkoala/arkui/src/ArkLongPressGestureEventMaterialized.ts new file mode 100644 index 000000000..6e285fc24 --- /dev/null +++ b/arkoala/arkui/src/ArkLongPressGestureEventMaterialized.ts @@ -0,0 +1,97 @@ +/* + * 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 { BaseGestureEventInternal } from "./ArkBaseGestureEventMaterialized" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase } from "./peers/SerializerBase" +import { unsafeCast } from "./shared/generated-utils" +import { registerCallback } from "./peers/SerializerBase" +import { wrapCallback } from "@koalaui/interop" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class LongPressGestureEventInternal extends BaseGestureEventInternal implements MaterializedBase,LongPressGestureEvent { + peer?: Finalizable | undefined + get repeat(): boolean { + return this.getRepeat() + } + set repeat(repeat: boolean) { + this.setRepeat(repeat) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._LongPressGestureEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr: KPointer = LongPressGestureEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, LongPressGestureEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._LongPressGestureEvent_getFinalizer() + } + private getRepeat(): boolean { + return this.getRepeat_serialize() + } + private setRepeat(repeat: boolean): void { + const repeat_casted = repeat as (boolean) + this?.setRepeat_serialize(repeat_casted) + return + } + private getRepeat_serialize(): boolean { + const retval = ArkUIGeneratedNativeModule._LongPressGestureEvent_getRepeat(this.peer!.ptr) + return retval + } + private setRepeat_serialize(repeat: boolean): void { + ArkUIGeneratedNativeModule._LongPressGestureEvent_setRepeat(this.peer!.ptr, +repeat) + } + public static fromPtr(ptr: KPointer): LongPressGestureEventInternal { + const obj: LongPressGestureEventInternal = new LongPressGestureEventInternal() + obj.peer = new Finalizable(ptr, LongPressGestureEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala/arkui/src/ArkMarquee.ts b/arkoala/arkui/src/ArkMarquee.ts index 102485a0d..c6b10fb8a 100644 --- a/arkoala/arkui/src/ArkMarquee.ts +++ b/arkoala/arkui/src/ArkMarquee.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkMatrix2DMaterialized.ts b/arkoala/arkui/src/ArkMatrix2DMaterialized.ts index 255ee36e2..2e26c3c69 100644 --- a/arkoala/arkui/src/ArkMatrix2DMaterialized.ts +++ b/arkoala/arkui/src/ArkMatrix2DMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,8 +48,8 @@ import { } from "@koalaui/interop" -export class Matrix2D implements MaterializedBase,Matrix2D { - peer?: Finalizable +export class Matrix2D implements MaterializedBase { + peer?: Finalizable | undefined get scaleX(): number { return this.getScaleX() } @@ -95,11 +95,6 @@ export class Matrix2D implements MaterializedBase,Matrix2D { getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): Matrix2D { - const objMatrix2D: Matrix2D = new Matrix2D() - objMatrix2D.peer = new Finalizable(ptr, Matrix2D.getFinalizer()) - return objMatrix2D - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._Matrix2D_ctor() return retval @@ -123,21 +118,21 @@ export class Matrix2D implements MaterializedBase,Matrix2D { const other_casted = other as (Matrix2D | undefined) return this.multiply_serialize(other_casted) } - rotate(degree?: number | number | undefined, rx?: number, ry?: number): Matrix2D { + 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) } - if ((((RuntimeType.NUMBER == degree_type)) || ((RuntimeType.UNDEFINED == degree_type))) && (((RuntimeType.NUMBER == rx_type)) || ((RuntimeType.UNDEFINED == rx_type))) && (((RuntimeType.UNDEFINED == ry_type)))) { - const degree_casted = degree as (number | undefined) - const rx_casted = rx as (number | undefined) - return this.rotate0_serialize(degree_casted, rx_casted) - } throw new Error("Can not select appropriate overload") } translate(tx?: number, ty?: number): Matrix2D { @@ -200,11 +195,15 @@ export class Matrix2D implements MaterializedBase,Matrix2D { } private identity_serialize(): Matrix2D { const retval = ArkUIGeneratedNativeModule._Matrix2D_identity(this.peer!.ptr) - return this + const obj: Matrix2D = new Matrix2D() + obj.peer = new Finalizable(retval, Matrix2D.getFinalizer()) + return obj } private invert_serialize(): Matrix2D { const retval = ArkUIGeneratedNativeModule._Matrix2D_invert(this.peer!.ptr) - return this + const obj: Matrix2D = new Matrix2D() + obj.peer = new Finalizable(retval, Matrix2D.getFinalizer()) + return obj } private multiply_serialize(other?: Matrix2D): Matrix2D { const thisSerializer: Serializer = Serializer.hold() @@ -217,7 +216,9 @@ export class Matrix2D implements MaterializedBase,Matrix2D { } const retval = ArkUIGeneratedNativeModule._Matrix2D_multiply(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() - return this + const obj: Matrix2D = new Matrix2D() + obj.peer = new Finalizable(retval, Matrix2D.getFinalizer()) + return obj } private rotate0_serialize(rx?: number, ry?: number): Matrix2D { const thisSerializer: Serializer = Serializer.hold() @@ -237,7 +238,9 @@ export class Matrix2D implements MaterializedBase,Matrix2D { } const retval = ArkUIGeneratedNativeModule._Matrix2D_rotate0(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() - return this + const obj: Matrix2D = new Matrix2D() + obj.peer = new Finalizable(retval, Matrix2D.getFinalizer()) + return obj } private rotate1_serialize(degree: number, rx?: number, ry?: number): Matrix2D { const thisSerializer: Serializer = Serializer.hold() @@ -257,7 +260,9 @@ export class Matrix2D implements MaterializedBase,Matrix2D { } const retval = ArkUIGeneratedNativeModule._Matrix2D_rotate1(this.peer!.ptr, degree, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() - return this + const obj: Matrix2D = new Matrix2D() + obj.peer = new Finalizable(retval, Matrix2D.getFinalizer()) + return obj } private translate_serialize(tx?: number, ty?: number): Matrix2D { const thisSerializer: Serializer = Serializer.hold() @@ -277,7 +282,9 @@ export class Matrix2D implements MaterializedBase,Matrix2D { } const retval = ArkUIGeneratedNativeModule._Matrix2D_translate(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() - return this + const obj: Matrix2D = new Matrix2D() + obj.peer = new Finalizable(retval, Matrix2D.getFinalizer()) + return obj } private scale_serialize(sx?: number, sy?: number): Matrix2D { const thisSerializer: Serializer = Serializer.hold() @@ -297,7 +304,9 @@ export class Matrix2D implements MaterializedBase,Matrix2D { } const retval = ArkUIGeneratedNativeModule._Matrix2D_scale(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() - return this + const obj: Matrix2D = new Matrix2D() + obj.peer = new Finalizable(retval, Matrix2D.getFinalizer()) + return obj } private getScaleX_serialize(): number { const retval = ArkUIGeneratedNativeModule._Matrix2D_getScaleX(this.peer!.ptr) diff --git a/arkoala/arkui/src/ArkMediaCachedImage.ts b/arkoala/arkui/src/ArkMediaCachedImage.ts index d446d367f..c09f10202 100644 --- a/arkoala/arkui/src/ArkMediaCachedImage.ts +++ b/arkoala/arkui/src/ArkMediaCachedImage.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkMenu.ts b/arkoala/arkui/src/ArkMenu.ts index ec2f407fc..495611fec 100644 --- a/arkoala/arkui/src/ArkMenu.ts +++ b/arkoala/arkui/src/ArkMenu.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkMenuItem.ts b/arkoala/arkui/src/ArkMenuItem.ts index a6c70f003..00179652a 100644 --- a/arkoala/arkui/src/ArkMenuItem.ts +++ b/arkoala/arkui/src/ArkMenuItem.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkMenuItemGroup.ts b/arkoala/arkui/src/ArkMenuItemGroup.ts index 4670f700f..8d13847d1 100644 --- a/arkoala/arkui/src/ArkMenuItemGroup.ts +++ b/arkoala/arkui/src/ArkMenuItemGroup.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkMouseEventMaterialized.ts b/arkoala/arkui/src/ArkMouseEventMaterialized.ts new file mode 100644 index 000000000..c437fe590 --- /dev/null +++ b/arkoala/arkui/src/ArkMouseEventMaterialized.ts @@ -0,0 +1,303 @@ +/* + * 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 { BaseEventInternal } from "./ArkBaseEventMaterialized" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase } from "./peers/SerializerBase" +import { unsafeCast } from "./shared/generated-utils" +import { registerCallback } from "./peers/SerializerBase" +import { wrapCallback } from "@koalaui/interop" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class MouseEventInternal extends BaseEventInternal implements MaterializedBase,MouseEvent { + peer?: Finalizable | undefined + 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() + } + 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 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) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._MouseEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr: KPointer = MouseEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, MouseEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + 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() + } + 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 getScreenX(): number { + return this.getScreenX_serialize() + } + private setScreenX(screenX: number): void { + const screenX_casted = screenX as (number) + this?.setScreenX_serialize(screenX_casted) + return + } + private getScreenY(): number { + return this.getScreenY_serialize() + } + private setScreenY(screenY: number): void { + const screenY_casted = screenY as (number) + this?.setScreenY_serialize(screenY_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 setStopPropagation(stopPropagation: (() => void)): void { + const stopPropagation_casted = stopPropagation as ((() => void)) + this?.setStopPropagation_serialize(stopPropagation_casted) + return + } + private getButton_serialize(): MouseButton { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getButton(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setButton_serialize(button: MouseButton): void { + ArkUIGeneratedNativeModule._MouseEvent_setButton(this.peer!.ptr, button) + } + private getAction_serialize(): MouseAction { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getAction(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setAction_serialize(action: MouseAction): void { + ArkUIGeneratedNativeModule._MouseEvent_setAction(this.peer!.ptr, action) + } + 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 getScreenX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getScreenX(this.peer!.ptr) + return retval + } + private setScreenX_serialize(screenX: number): void { + ArkUIGeneratedNativeModule._MouseEvent_setScreenX(this.peer!.ptr, screenX) + } + private getScreenY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getScreenY(this.peer!.ptr) + return retval + } + private setScreenY_serialize(screenY: number): void { + ArkUIGeneratedNativeModule._MouseEvent_setScreenY(this.peer!.ptr, screenY) + } + private getX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getX(this.peer!.ptr) + return retval + } + private setX_serialize(x: number): void { + ArkUIGeneratedNativeModule._MouseEvent_setX(this.peer!.ptr, x) + } + private getY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._MouseEvent_getY(this.peer!.ptr) + return retval + } + private setY_serialize(y: number): void { + ArkUIGeneratedNativeModule._MouseEvent_setY(this.peer!.ptr, y) + } + private setStopPropagation_serialize(stopPropagation: (() => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(stopPropagation) + ArkUIGeneratedNativeModule._MouseEvent_setStopPropagation(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + public static fromPtr(ptr: KPointer): MouseEventInternal { + const obj: MouseEventInternal = new MouseEventInternal() + obj.peer = new Finalizable(ptr, MouseEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala/arkui/src/ArkMutableStyledStringMaterialized.ts b/arkoala/arkui/src/ArkMutableStyledStringMaterialized.ts index bef92da32..f3dc0ea87 100644 --- a/arkoala/arkui/src/ArkMutableStyledStringMaterialized.ts +++ b/arkoala/arkui/src/ArkMutableStyledStringMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,22 +49,17 @@ import { } from "@koalaui/interop" -export class MutableStyledString extends StyledString implements MaterializedBase,MutableStyledString { - peer?: Finalizable +export class MutableStyledString extends StyledString implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): MutableStyledString { - const objMutableStyledString: MutableStyledString = new MutableStyledString() - objMutableStyledString.peer = new Finalizable(ptr, MutableStyledString.getFinalizer()) - return objMutableStyledString - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._MutableStyledString_ctor() return retval } constructor() { - super() + super("") { const ctorPtr: KPointer = MutableStyledString.ctor() this.peer = new Finalizable(ctorPtr, MutableStyledString.getFinalizer()) diff --git a/arkoala/arkui/src/ArkNavDestination.ts b/arkoala/arkui/src/ArkNavDestination.ts index ff42151da..415a3576a 100644 --- a/arkoala/arkui/src/ArkNavDestination.ts +++ b/arkoala/arkui/src/ArkNavDestination.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -43,17 +43,17 @@ export class ArkNavDestinationComponent extends ArkCommonMethodComponent { if (this.checkPriority("hideTitleBar")) { const hide_type = runtimeType(hide) const animated_type = runtimeType(animated) + if ((((RuntimeType.UNDEFINED == animated_type)))) { + const value_casted = hide as (boolean) + this.getPeer()?.hideTitleBar0Attribute(value_casted) + return this + } if ((((RuntimeType.BOOLEAN == animated_type)))) { const hide_casted = hide as (boolean) const animated_casted = animated as (boolean) this.getPeer()?.hideTitleBar1Attribute(hide_casted, animated_casted) return this } - if ((((RuntimeType.UNDEFINED == animated_type)))) { - const hide_casted = hide as (boolean) - this.getPeer()?.hideTitleBar0Attribute(hide_casted) - return this - } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala/arkui/src/ArkNavDestinationContextMaterialized.ts b/arkoala/arkui/src/ArkNavDestinationContextMaterialized.ts index c08232311..c09b2b75a 100644 --- a/arkoala/arkui/src/ArkNavDestinationContextMaterialized.ts +++ b/arkoala/arkui/src/ArkNavDestinationContextMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,7 +16,6 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { NavPathStack } from "./ArkNavPathStackMaterialized" import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" @@ -49,8 +48,8 @@ import { } from "@koalaui/interop" -export class NavDestinationContext implements MaterializedBase,NavDestinationContext { - peer?: Finalizable +export class NavDestinationContextInternal implements MaterializedBase,NavDestinationContext { + peer?: Finalizable | undefined get pathInfo(): NavPathInfo { throw new Error("Not implemented") } @@ -73,19 +72,14 @@ export class NavDestinationContext implements MaterializedBase,NavDestinationCon getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): NavDestinationContext { - const objNavDestinationContext: NavDestinationContext = new NavDestinationContext() - objNavDestinationContext.peer = new Finalizable(ptr, NavDestinationContext.getFinalizer()) - return objNavDestinationContext - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._NavDestinationContext_ctor() return retval } constructor() { { - const ctorPtr: KPointer = NavDestinationContext.ctor() - this.peer = new Finalizable(ctorPtr, NavDestinationContext.getFinalizer()) + const ctorPtr: KPointer = NavDestinationContextInternal.ctor() + this.peer = new Finalizable(ctorPtr, NavDestinationContextInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -135,11 +129,9 @@ export class NavDestinationContext implements MaterializedBase,NavDestinationCon private setNavDestinationId_serialize(navDestinationId: string): void { ArkUIGeneratedNativeModule._NavDestinationContext_setNavDestinationId(this.peer!.ptr, navDestinationId) } -} -export class NavDestinationContextInternal { - public static fromPtr(ptr: KPointer): NavDestinationContext { - const obj: NavDestinationContext = new NavDestinationContext() - obj.peer = new Finalizable(ptr, NavDestinationContext.getFinalizer()) + public static fromPtr(ptr: KPointer): NavDestinationContextInternal { + const obj: NavDestinationContextInternal = new NavDestinationContextInternal() + obj.peer = new Finalizable(ptr, NavDestinationContextInternal.getFinalizer()) return obj } } diff --git a/arkoala/arkui/src/ArkNavPathStackMaterialized.ts b/arkoala/arkui/src/ArkNavPathStackMaterialized.ts index d925ea4c4..651cf0407 100644 --- a/arkoala/arkui/src/ArkNavPathStackMaterialized.ts +++ b/arkoala/arkui/src/ArkNavPathStackMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -46,101 +46,114 @@ import { KFloat32ArrayPtr, pointer } from "@koalaui/interop" -import { NavPathStackExtender } from "./handwritten/ArkNavPathStack" -export class NavPathStack implements MaterializedBase,NavPathStack { - _extender = new NavPathStackExtender() - peer?: Finalizable +export class NavPathStack implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): NavPathStack { - const objNavPathStack: NavPathStack = new NavPathStack() - objNavPathStack.peer = new Finalizable(ptr, NavPathStack.getFinalizer()) - return objNavPathStack - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._NavPathStack_ctor() return retval } - constructor() { - const ctorPtr: KPointer = NavPathStack.ctor() - this.peer = new Finalizable(ctorPtr, NavPathStack.getFinalizer()) + constructor() { + { + const ctorPtr: KPointer = NavPathStack.ctor() + this.peer = new Finalizable(ctorPtr, NavPathStack.getFinalizer()) + } } static getFinalizer(): KPointer { return ArkUIGeneratedNativeModule._NavPathStack_getFinalizer() } pushPath(info: NavPathInfo, animated?: boolean | undefined | NavigationOptions | undefined): void { - this._extender.push(info.name, info.param as (Object | undefined)) + 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") } pushDestination(info: NavPathInfo, animated?: boolean | undefined | NavigationOptions | undefined): Promise { const info_type = runtimeType(info) const animated_type = runtimeType(animated) - if ((((RuntimeType.OBJECT) == (info_type)) && (info instanceof NavPathInfo)) && (((RuntimeType.BOOLEAN == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { + 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) == (info_type)) && (info instanceof NavPathInfo)) && (((RuntimeType.OBJECT == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { + if ((((RuntimeType.OBJECT == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { const info_casted = info as (NavPathInfo) - const animated_casted = animated as (NavigationOptions | undefined) - return this.pushDestination1_serialize(info_casted, animated_casted) + const options_casted = animated as (NavigationOptions | undefined) + return this.pushDestination1_serialize(info_casted, options_casted) } throw new Error("Can not select appropriate overload") } - pushPathByName(name: string, param: Object | unknown, onPop?: ((parameter: PopInfo) => void) | boolean | undefined, animated?: boolean): void { + 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.STRING == name_type))) && (((RuntimeType.OBJECT == param_type))) && (((RuntimeType.FUNCTION == onPop_type))) && (((RuntimeType.BOOLEAN == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { + if ((((RuntimeType.OBJECT == 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.OBJECT == 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) - } - if ((((RuntimeType.STRING == name_type))) && (((RuntimeType.OBJECT == 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 onPop_casted = onPop as (boolean | undefined) - this?.pushPathByName0_serialize(name_casted, param_casted, onPop_casted) + return } throw new Error("Can not select appropriate overload") } - pushDestinationByName(name: string, param: Object, onPop?: ((parameter: PopInfo) => void) | boolean | undefined, animated?: boolean): Promise { + 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.STRING == name_type))) && (((RuntimeType.OBJECT == param_type))) && (((RuntimeType.FUNCTION == onPop_type))) && (((RuntimeType.BOOLEAN == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { + 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 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) + const animated_casted = onPop as (boolean | undefined) + return this.pushDestinationByName0_serialize(name_casted, param_casted, animated_casted) } - if ((((RuntimeType.STRING == name_type))) && (((RuntimeType.OBJECT == param_type))) && (((RuntimeType.BOOLEAN == onPop_type)) || ((RuntimeType.UNDEFINED == onPop_type))) && (((RuntimeType.UNDEFINED == animated_type)))) { + 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 (boolean | undefined) - return this.pushDestinationByName0_serialize(name_casted, param_casted, onPop_casted) + 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") } replacePath(info: NavPathInfo, animated?: boolean | undefined | NavigationOptions | undefined): void { const info_type = runtimeType(info) const animated_type = runtimeType(animated) - if ((((RuntimeType.OBJECT) == (info_type)) && (info instanceof NavPathInfo)) && (((RuntimeType.BOOLEAN == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { + 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) == (info_type)) && (info instanceof NavPathInfo)) && (((RuntimeType.OBJECT == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { + if ((((RuntimeType.OBJECT == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { const info_casted = info as (NavPathInfo) - const animated_casted = animated as (NavigationOptions | undefined) - this?.replacePath1_serialize(info_casted, animated_casted) + const options_casted = animated as (NavigationOptions | undefined) + this?.replacePath1_serialize(info_casted, options_casted) + return } throw new Error("Can not select appropriate overload") } @@ -154,6 +167,7 @@ export class NavPathStack implements MaterializedBase,NavPathStack { const param_casted = param as (Object) const animated_casted = animated as (boolean | undefined) this?.replacePathByName_serialize(name_casted, param_casted, animated_casted) + return } removeByIndexes(indexes: Array): number { const indexes_casted = indexes as (Array) @@ -167,41 +181,53 @@ export class NavPathStack implements MaterializedBase,NavPathStack { const navDestinationId_casted = navDestinationId as (string) return this.removeByNavDestinationId_serialize(navDestinationId_casted) } - pop(result?: Object | boolean | undefined, animated?: boolean): NavPathInfo | undefined { - this._extender.pop() - return undefined + 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.OBJECT == 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") } - popToName(name: string, result?: Object | boolean | undefined, animated?: boolean): number { + 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.STRING == name_type))) && (((RuntimeType.OBJECT == result_type))) && (((RuntimeType.BOOLEAN == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { + 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.OBJECT == 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) } - if ((((RuntimeType.STRING == name_type))) && (((RuntimeType.BOOLEAN == result_type)) || ((RuntimeType.UNDEFINED == result_type))) && (((RuntimeType.UNDEFINED == animated_type)))) { - const name_casted = name as (string) - const result_casted = result as (boolean | undefined) - return this.popToName0_serialize(name_casted, result_casted) - } throw new Error("Can not select appropriate overload") } - popToIndex(index: number, result?: Object | boolean | undefined, animated?: boolean): void { + 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.NUMBER == index_type))) && (((RuntimeType.OBJECT == result_type))) && (((RuntimeType.BOOLEAN == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { + 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.OBJECT == 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) - } - if ((((RuntimeType.NUMBER == index_type))) && (((RuntimeType.BOOLEAN == result_type)) || ((RuntimeType.UNDEFINED == result_type))) && (((RuntimeType.UNDEFINED == animated_type)))) { - const index_casted = index as (number) - const result_casted = result as (boolean | undefined) - this?.popToIndex0_serialize(index_casted, result_casted) + return } throw new Error("Can not select appropriate overload") } @@ -214,10 +240,12 @@ export class NavPathStack implements MaterializedBase,NavPathStack { const index_casted = index as (number) const animated_casted = animated as (boolean | undefined) this?.moveIndexToTop_serialize(index_casted, animated_casted) + return } clear(animated?: boolean): void { const animated_casted = animated as (boolean | undefined) this?.clear_serialize(animated_casted) + return } getAllPathName(): Array { return this.getAllPathName_serialize() @@ -227,7 +255,8 @@ export class NavPathStack implements MaterializedBase,NavPathStack { return this.getParamByIndex_serialize(index_casted) } getParamByName(name: string): Array { - return this._extender.getParamByName(name) + const name_casted = name as (string) + return this.getParamByName_serialize(name_casted) } getIndexByName(name: string): Array { const name_casted = name as (string) @@ -242,10 +271,12 @@ export class NavPathStack implements MaterializedBase,NavPathStack { disableAnimation(value: boolean): void { const value_casted = value as (boolean) this?.disableAnimation_serialize(value_casted) + return } setInterception(interception: NavigationInterception): void { const interception_casted = interception as (NavigationInterception) this?.setInterception_serialize(interception_casted) + return } private pushPath0_serialize(info: NavPathInfo, animated?: boolean): void { const thisSerializer: Serializer = Serializer.hold() @@ -419,7 +450,7 @@ export class NavPathStack implements MaterializedBase,NavPathStack { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeInt32(indexes.length) for (let i = 0; i < indexes.length; i++) { - const indexes_element = indexes[i] + const indexes_element: number = indexes[i] thisSerializer.writeNumber(indexes_element) } const retval = ArkUIGeneratedNativeModule._NavPathStack_removeByIndexes(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) diff --git a/arkoala/arkui/src/ArkNavRouter.ts b/arkoala/arkui/src/ArkNavRouter.ts index b875670fa..b0d28ee57 100644 --- a/arkoala/arkui/src/ArkNavRouter.ts +++ b/arkoala/arkui/src/ArkNavRouter.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -34,15 +34,15 @@ export class ArkNavRouterComponent extends ArkCommonMethodComponent { setNavRouterOptions(value?: RouteInfo): this { if (this.checkPriority("setNavRouterOptions")) { const value_type = runtimeType(value) + if ((((RuntimeType.UNDEFINED == value_type)))) { + this.getPeer()?.setNavRouterOptions0Attribute() + return this + } if ((((RuntimeType.OBJECT == value_type)))) { const value_casted = value as (RouteInfo) this.getPeer()?.setNavRouterOptions1Attribute(value_casted) return this } - if ((((RuntimeType.UNDEFINED == value_type)))) { - this.getPeer()?.setNavRouterOptions0Attribute() - return this - } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala/arkui/src/ArkNavigationTransitionProxyMaterialized.ts b/arkoala/arkui/src/ArkNavigationTransitionProxyMaterialized.ts index 563281208..f15fafc68 100644 --- a/arkoala/arkui/src/ArkNavigationTransitionProxyMaterialized.ts +++ b/arkoala/arkui/src/ArkNavigationTransitionProxyMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,8 +48,8 @@ import { } from "@koalaui/interop" -export class NavigationTransitionProxy implements MaterializedBase,NavigationTransitionProxy { - peer?: Finalizable +export class NavigationTransitionProxyInternal implements MaterializedBase,NavigationTransitionProxy { + peer?: Finalizable | undefined get from(): NavContentInfo { throw new Error("Not implemented") } @@ -72,19 +72,14 @@ export class NavigationTransitionProxy implements MaterializedBase,NavigationTra getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): NavigationTransitionProxy { - const objNavigationTransitionProxy: NavigationTransitionProxy = new NavigationTransitionProxy() - objNavigationTransitionProxy.peer = new Finalizable(ptr, NavigationTransitionProxy.getFinalizer()) - return objNavigationTransitionProxy - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._NavigationTransitionProxy_ctor() return retval } constructor() { { - const ctorPtr: KPointer = NavigationTransitionProxy.ctor() - this.peer = new Finalizable(ctorPtr, NavigationTransitionProxy.getFinalizer()) + const ctorPtr: KPointer = NavigationTransitionProxyInternal.ctor() + this.peer = new Finalizable(ctorPtr, NavigationTransitionProxyInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -149,11 +144,9 @@ export class NavigationTransitionProxy implements MaterializedBase,NavigationTra private setIsInteractive_serialize(isInteractive: boolean): void { ArkUIGeneratedNativeModule._NavigationTransitionProxy_setIsInteractive(this.peer!.ptr, +isInteractive) } -} -export class NavigationTransitionProxyInternal { - public static fromPtr(ptr: KPointer): NavigationTransitionProxy { - const obj: NavigationTransitionProxy = new NavigationTransitionProxy() - obj.peer = new Finalizable(ptr, NavigationTransitionProxy.getFinalizer()) + public static fromPtr(ptr: KPointer): NavigationTransitionProxyInternal { + const obj: NavigationTransitionProxyInternal = new NavigationTransitionProxyInternal() + obj.peer = new Finalizable(ptr, NavigationTransitionProxyInternal.getFinalizer()) return obj } } diff --git a/arkoala/arkui/src/ArkNavigator.ts b/arkoala/arkui/src/ArkNavigator.ts index 3c2bab50d..091a8be25 100644 --- a/arkoala/arkui/src/ArkNavigator.ts +++ b/arkoala/arkui/src/ArkNavigator.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -33,15 +33,15 @@ export class ArkNavigatorComponent extends ArkCommonMethodComponent { setNavigatorOptions(value?: { target: string, type?: NavigationType }): this { if (this.checkPriority("setNavigatorOptions")) { const value_type = runtimeType(value) + if ((((RuntimeType.UNDEFINED == value_type)))) { + this.getPeer()?.setNavigatorOptions1Attribute() + return this + } if ((((RuntimeType.OBJECT == value_type)) || ((RuntimeType.UNDEFINED == value_type)))) { const value_casted = value as ({ target: string, type?: NavigationType } | undefined) this.getPeer()?.setNavigatorOptions0Attribute(value_casted) return this } - if ((((RuntimeType.UNDEFINED == value_type)))) { - this.getPeer()?.setNavigatorOptions1Attribute() - return this - } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala/arkui/src/ArkNodeContainer.ts b/arkoala/arkui/src/ArkNodeContainer.ts index 91c189b2e..9028c92e0 100644 --- a/arkoala/arkui/src/ArkNodeContainer.ts +++ b/arkoala/arkui/src/ArkNodeContainer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkPanGestureEventMaterialized.ts b/arkoala/arkui/src/ArkPanGestureEventMaterialized.ts new file mode 100644 index 000000000..9fa9a3255 --- /dev/null +++ b/arkoala/arkui/src/ArkPanGestureEventMaterialized.ts @@ -0,0 +1,181 @@ +/* + * 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 { BaseGestureEventInternal } from "./ArkBaseGestureEventMaterialized" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase } from "./peers/SerializerBase" +import { unsafeCast } from "./shared/generated-utils" +import { registerCallback } from "./peers/SerializerBase" +import { wrapCallback } from "@koalaui/interop" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class PanGestureEventInternal extends BaseGestureEventInternal implements MaterializedBase,PanGestureEvent { + peer?: Finalizable | undefined + get offsetX(): number { + return this.getOffsetX() + } + set offsetX(offsetX: number) { + this.setOffsetX(offsetX) + } + get offsetY(): number { + return this.getOffsetY() + } + set offsetY(offsetY: number) { + this.setOffsetY(offsetY) + } + get velocityX(): number { + return this.getVelocityX() + } + set velocityX(velocityX: number) { + this.setVelocityX(velocityX) + } + get velocityY(): number { + return this.getVelocityY() + } + set velocityY(velocityY: number) { + this.setVelocityY(velocityY) + } + get velocity(): number { + return this.getVelocity() + } + set velocity(velocity: number) { + this.setVelocity(velocity) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._PanGestureEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr: KPointer = PanGestureEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, PanGestureEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._PanGestureEvent_getFinalizer() + } + private getOffsetX(): number { + return this.getOffsetX_serialize() + } + private setOffsetX(offsetX: number): void { + const offsetX_casted = offsetX as (number) + this?.setOffsetX_serialize(offsetX_casted) + return + } + private getOffsetY(): number { + return this.getOffsetY_serialize() + } + private setOffsetY(offsetY: number): void { + const offsetY_casted = offsetY as (number) + this?.setOffsetY_serialize(offsetY_casted) + return + } + private getVelocityX(): number { + return this.getVelocityX_serialize() + } + private setVelocityX(velocityX: number): void { + const velocityX_casted = velocityX as (number) + this?.setVelocityX_serialize(velocityX_casted) + return + } + private getVelocityY(): number { + return this.getVelocityY_serialize() + } + private setVelocityY(velocityY: number): void { + const velocityY_casted = velocityY as (number) + this?.setVelocityY_serialize(velocityY_casted) + return + } + private getVelocity(): number { + return this.getVelocity_serialize() + } + private setVelocity(velocity: number): void { + const velocity_casted = velocity as (number) + this?.setVelocity_serialize(velocity_casted) + return + } + private getOffsetX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._PanGestureEvent_getOffsetX(this.peer!.ptr) + return retval + } + private setOffsetX_serialize(offsetX: number): void { + ArkUIGeneratedNativeModule._PanGestureEvent_setOffsetX(this.peer!.ptr, offsetX) + } + private getOffsetY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._PanGestureEvent_getOffsetY(this.peer!.ptr) + return retval + } + private setOffsetY_serialize(offsetY: number): void { + ArkUIGeneratedNativeModule._PanGestureEvent_setOffsetY(this.peer!.ptr, offsetY) + } + private getVelocityX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._PanGestureEvent_getVelocityX(this.peer!.ptr) + return retval + } + private setVelocityX_serialize(velocityX: number): void { + ArkUIGeneratedNativeModule._PanGestureEvent_setVelocityX(this.peer!.ptr, velocityX) + } + private getVelocityY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._PanGestureEvent_getVelocityY(this.peer!.ptr) + return retval + } + private setVelocityY_serialize(velocityY: number): void { + ArkUIGeneratedNativeModule._PanGestureEvent_setVelocityY(this.peer!.ptr, velocityY) + } + private getVelocity_serialize(): number { + const retval = ArkUIGeneratedNativeModule._PanGestureEvent_getVelocity(this.peer!.ptr) + return retval + } + private setVelocity_serialize(velocity: number): void { + ArkUIGeneratedNativeModule._PanGestureEvent_setVelocity(this.peer!.ptr, velocity) + } + public static fromPtr(ptr: KPointer): PanGestureEventInternal { + const obj: PanGestureEventInternal = new PanGestureEventInternal() + obj.peer = new Finalizable(ptr, PanGestureEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala/arkui/src/ArkPanGestureOptionsMaterialized.ts b/arkoala/arkui/src/ArkPanGestureOptionsMaterialized.ts index 2215508cd..397383c08 100644 --- a/arkoala/arkui/src/ArkPanGestureOptionsMaterialized.ts +++ b/arkoala/arkui/src/ArkPanGestureOptionsMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class PanGestureOptions implements MaterializedBase,PanGestureOptions { - peer?: Finalizable +export class PanGestureOptions implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): PanGestureOptions { - const objPanGestureOptions: PanGestureOptions = new PanGestureOptions() - objPanGestureOptions.peer = new Finalizable(ptr, PanGestureOptions.getFinalizer()) - return objPanGestureOptions - } static ctor(value?: { fingers?: number, direction?: PanDirection, distance?: number }): KPointer { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED diff --git a/arkoala/arkui/src/ArkPanRecognizerMaterialized.ts b/arkoala/arkui/src/ArkPanRecognizerMaterialized.ts index 3c5d65930..d88e4ee4e 100644 --- a/arkoala/arkui/src/ArkPanRecognizerMaterialized.ts +++ b/arkoala/arkui/src/ArkPanRecognizerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -17,7 +17,6 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { GestureRecognizer } from "./ArkGestureRecognizerMaterialized" -import { PanGestureOptions } from "./ArkPanGestureOptionsMaterialized" import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" @@ -50,16 +49,11 @@ import { } from "@koalaui/interop" -export class PanRecognizer extends GestureRecognizer implements MaterializedBase,PanRecognizer { - peer?: Finalizable +export class PanRecognizer extends GestureRecognizer implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): PanRecognizer { - const objPanRecognizer: PanRecognizer = new PanRecognizer() - objPanRecognizer.peer = new Finalizable(ptr, PanRecognizer.getFinalizer()) - return objPanRecognizer - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._PanRecognizer_ctor() return retval diff --git a/arkoala/arkui/src/ArkPanel.ts b/arkoala/arkui/src/ArkPanel.ts index 4240c55a6..fd56bb799 100644 --- a/arkoala/arkui/src/ArkPanel.ts +++ b/arkoala/arkui/src/ArkPanel.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkPasteButton.ts b/arkoala/arkui/src/ArkPasteButton.ts index 6ee90092b..e877331de 100644 --- a/arkoala/arkui/src/ArkPasteButton.ts +++ b/arkoala/arkui/src/ArkPasteButton.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -34,15 +34,15 @@ export class ArkPasteButtonComponent extends ArkSecurityComponentMethodComponent setPasteButtonOptions(options?: PasteButtonOptions): this { if (this.checkPriority("setPasteButtonOptions")) { const options_type = runtimeType(options) + if ((((RuntimeType.UNDEFINED == options_type)))) { + this.getPeer()?.setPasteButtonOptions0Attribute() + return this + } if ((((RuntimeType.OBJECT == options_type)))) { const options_casted = options as (PasteButtonOptions) this.getPeer()?.setPasteButtonOptions1Attribute(options_casted) return this } - if ((((RuntimeType.UNDEFINED == options_type)))) { - this.getPeer()?.setPasteButtonOptions0Attribute() - return this - } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala/arkui/src/ArkPath.ts b/arkoala/arkui/src/ArkPath.ts index f864df0c3..6559c7dbe 100644 --- a/arkoala/arkui/src/ArkPath.ts +++ b/arkoala/arkui/src/ArkPath.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkPath2DMaterialized.ts b/arkoala/arkui/src/ArkPath2DMaterialized.ts index c74231825..c4626c961 100644 --- a/arkoala/arkui/src/ArkPath2DMaterialized.ts +++ b/arkoala/arkui/src/ArkPath2DMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -17,7 +17,6 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { CanvasPath } from "./ArkCanvasPathMaterialized" -import { Matrix2D } from "./ArkMatrix2DMaterialized" import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" @@ -50,16 +49,11 @@ import { } from "@koalaui/interop" -export class Path2D extends CanvasPath implements MaterializedBase,Path2D { - peer?: Finalizable +export class Path2D extends CanvasPath implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): Path2D { - const objPath2D: Path2D = new Path2D() - objPath2D.peer = new Finalizable(ptr, Path2D.getFinalizer()) - return objPath2D - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._Path2D_ctor() return retval diff --git a/arkoala/arkui/src/ArkPatternLock.ts b/arkoala/arkui/src/ArkPatternLock.ts index 217f9941b..ccde65662 100644 --- a/arkoala/arkui/src/ArkPatternLock.ts +++ b/arkoala/arkui/src/ArkPatternLock.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkPatternLockControllerMaterialized.ts b/arkoala/arkui/src/ArkPatternLockControllerMaterialized.ts index 8162bd582..5fa23a432 100644 --- a/arkoala/arkui/src/ArkPatternLockControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkPatternLockControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class PatternLockController implements MaterializedBase,PatternLockController { - peer?: Finalizable +export class PatternLockController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): PatternLockController { - const objPatternLockController: PatternLockController = new PatternLockController() - objPatternLockController.peer = new Finalizable(ptr, PatternLockController.getFinalizer()) - return objPatternLockController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._PatternLockController_ctor() return retval diff --git a/arkoala/arkui/src/ArkPermissionRequestMaterialized.ts b/arkoala/arkui/src/ArkPermissionRequestMaterialized.ts index 6aff6326d..12a38715d 100644 --- a/arkoala/arkui/src/ArkPermissionRequestMaterialized.ts +++ b/arkoala/arkui/src/ArkPermissionRequestMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class PermissionRequest implements MaterializedBase,PermissionRequest { - peer?: Finalizable +export class PermissionRequest implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): PermissionRequest { - const objPermissionRequest: PermissionRequest = new PermissionRequest() - objPermissionRequest.peer = new Finalizable(ptr, PermissionRequest.getFinalizer()) - return objPermissionRequest - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._PermissionRequest_ctor() return retval diff --git a/arkoala/arkui/src/ArkPinchGestureEventMaterialized.ts b/arkoala/arkui/src/ArkPinchGestureEventMaterialized.ts new file mode 100644 index 000000000..0d54ba72d --- /dev/null +++ b/arkoala/arkui/src/ArkPinchGestureEventMaterialized.ts @@ -0,0 +1,139 @@ +/* + * 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 { BaseGestureEventInternal } from "./ArkBaseGestureEventMaterialized" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase } from "./peers/SerializerBase" +import { unsafeCast } from "./shared/generated-utils" +import { registerCallback } from "./peers/SerializerBase" +import { wrapCallback } from "@koalaui/interop" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class PinchGestureEventInternal extends BaseGestureEventInternal implements MaterializedBase,PinchGestureEvent { + peer?: Finalizable | undefined + get scale(): number { + return this.getScale() + } + set scale(scale: number) { + this.setScale(scale) + } + get pinchCenterX(): number { + return this.getPinchCenterX() + } + set pinchCenterX(pinchCenterX: number) { + this.setPinchCenterX(pinchCenterX) + } + get pinchCenterY(): number { + return this.getPinchCenterY() + } + set pinchCenterY(pinchCenterY: number) { + this.setPinchCenterY(pinchCenterY) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._PinchGestureEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr: KPointer = PinchGestureEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, PinchGestureEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._PinchGestureEvent_getFinalizer() + } + private getScale(): number { + return this.getScale_serialize() + } + private setScale(scale: number): void { + const scale_casted = scale as (number) + this?.setScale_serialize(scale_casted) + return + } + private getPinchCenterX(): number { + return this.getPinchCenterX_serialize() + } + private setPinchCenterX(pinchCenterX: number): void { + const pinchCenterX_casted = pinchCenterX as (number) + this?.setPinchCenterX_serialize(pinchCenterX_casted) + return + } + private getPinchCenterY(): number { + return this.getPinchCenterY_serialize() + } + private setPinchCenterY(pinchCenterY: number): void { + const pinchCenterY_casted = pinchCenterY as (number) + this?.setPinchCenterY_serialize(pinchCenterY_casted) + return + } + private getScale_serialize(): number { + const retval = ArkUIGeneratedNativeModule._PinchGestureEvent_getScale(this.peer!.ptr) + return retval + } + private setScale_serialize(scale: number): void { + ArkUIGeneratedNativeModule._PinchGestureEvent_setScale(this.peer!.ptr, scale) + } + private getPinchCenterX_serialize(): number { + const retval = ArkUIGeneratedNativeModule._PinchGestureEvent_getPinchCenterX(this.peer!.ptr) + return retval + } + private setPinchCenterX_serialize(pinchCenterX: number): void { + ArkUIGeneratedNativeModule._PinchGestureEvent_setPinchCenterX(this.peer!.ptr, pinchCenterX) + } + private getPinchCenterY_serialize(): number { + const retval = ArkUIGeneratedNativeModule._PinchGestureEvent_getPinchCenterY(this.peer!.ptr) + return retval + } + private setPinchCenterY_serialize(pinchCenterY: number): void { + ArkUIGeneratedNativeModule._PinchGestureEvent_setPinchCenterY(this.peer!.ptr, pinchCenterY) + } + public static fromPtr(ptr: KPointer): PinchGestureEventInternal { + const obj: PinchGestureEventInternal = new PinchGestureEventInternal() + obj.peer = new Finalizable(ptr, PinchGestureEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala/arkui/src/ArkPixelMapMaterialized.ts b/arkoala/arkui/src/ArkPixelMapMaterialized.ts index 0264631d8..6bf9b4afe 100644 --- a/arkoala/arkui/src/ArkPixelMapMaterialized.ts +++ b/arkoala/arkui/src/ArkPixelMapMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,8 +48,8 @@ import { } from "@koalaui/interop" -export class PixelMap implements MaterializedBase,PixelMap { - peer?: Finalizable +export class PixelMapInternal implements MaterializedBase,PixelMap { + peer?: Finalizable | undefined get isEditable(): int32 { return this.getIsEditable() } @@ -65,19 +65,14 @@ export class PixelMap implements MaterializedBase,PixelMap { getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): PixelMap { - const objPixelMap: PixelMap = new PixelMap() - objPixelMap.peer = new Finalizable(ptr, PixelMap.getFinalizer()) - return objPixelMap - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._PixelMap_ctor() return retval } constructor() { { - const ctorPtr: KPointer = PixelMap.ctor() - this.peer = new Finalizable(ctorPtr, PixelMap.getFinalizer()) + const ctorPtr: KPointer = PixelMapInternal.ctor() + this.peer = new Finalizable(ctorPtr, PixelMapInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -135,11 +130,9 @@ export class PixelMap implements MaterializedBase,PixelMap { private setIsStrideAlignment_serialize(isStrideAlignment: int32): void { ArkUIGeneratedNativeModule._PixelMap_setIsStrideAlignment(this.peer!.ptr, isStrideAlignment) } -} -export class PixelMapInternal { - public static fromPtr(ptr: KPointer): PixelMap { - const obj: PixelMap = new PixelMap() - obj.peer = new Finalizable(ptr, PixelMap.getFinalizer()) + public static fromPtr(ptr: KPointer): PixelMapInternal { + const obj: PixelMapInternal = new PixelMapInternal() + obj.peer = new Finalizable(ptr, PixelMapInternal.getFinalizer()) return obj } } diff --git a/arkoala/arkui/src/ArkPixelMapMockMaterialized.ts b/arkoala/arkui/src/ArkPixelMapMockMaterialized.ts index 46677d310..782abde04 100644 --- a/arkoala/arkui/src/ArkPixelMapMockMaterialized.ts +++ b/arkoala/arkui/src/ArkPixelMapMockMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,24 +48,19 @@ import { } from "@koalaui/interop" -export class PixelMapMock implements MaterializedBase,PixelMapMock { - peer?: Finalizable +export class PixelMapMockInternal implements MaterializedBase,PixelMapMock { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): PixelMapMock { - const objPixelMapMock: PixelMapMock = new PixelMapMock() - objPixelMapMock.peer = new Finalizable(ptr, PixelMapMock.getFinalizer()) - return objPixelMapMock - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._PixelMapMock_ctor() return retval } constructor() { { - const ctorPtr: KPointer = PixelMapMock.ctor() - this.peer = new Finalizable(ctorPtr, PixelMapMock.getFinalizer()) + const ctorPtr: KPointer = PixelMapMockInternal.ctor() + this.peer = new Finalizable(ctorPtr, PixelMapMockInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -78,11 +73,9 @@ export class PixelMapMock implements MaterializedBase,PixelMapMock { private release_serialize(): void { ArkUIGeneratedNativeModule._PixelMapMock_release(this.peer!.ptr) } -} -export class PixelMapMockInternal { - public static fromPtr(ptr: KPointer): PixelMapMock { - const obj: PixelMapMock = new PixelMapMock() - obj.peer = new Finalizable(ptr, PixelMapMock.getFinalizer()) + public static fromPtr(ptr: KPointer): PixelMapMockInternal { + const obj: PixelMapMockInternal = new PixelMapMockInternal() + obj.peer = new Finalizable(ptr, PixelMapMockInternal.getFinalizer()) return obj } } diff --git a/arkoala/arkui/src/ArkPluginComponent.ts b/arkoala/arkui/src/ArkPluginComponent.ts index 5ee11951e..ba6bcc5b8 100644 --- a/arkoala/arkui/src/ArkPluginComponent.ts +++ b/arkoala/arkui/src/ArkPluginComponent.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkPolygon.ts b/arkoala/arkui/src/ArkPolygon.ts index 1b45dd514..b4775fdeb 100644 --- a/arkoala/arkui/src/ArkPolygon.ts +++ b/arkoala/arkui/src/ArkPolygon.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -39,9 +39,9 @@ export class ArkPolygonComponent extends ArkCommonShapeMethodComponent { return this } /** @memo */ - points(value: Array): this { + points(value: Array): this { if (this.checkPriority("points")) { - const value_casted = value as (Array) + const value_casted = value as (Array) this.getPeer()?.pointsAttribute(value_casted) return this } diff --git a/arkoala/arkui/src/ArkPolyline.ts b/arkoala/arkui/src/ArkPolyline.ts index bffe8e0dd..323f3349e 100644 --- a/arkoala/arkui/src/ArkPolyline.ts +++ b/arkoala/arkui/src/ArkPolyline.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -39,9 +39,9 @@ export class ArkPolylineComponent extends ArkCommonShapeMethodComponent { return this } /** @memo */ - points(value: Array): this { + points(value: Array): this { if (this.checkPriority("points")) { - const value_casted = value as (Array) + const value_casted = value as (Array) this.getPeer()?.pointsAttribute(value_casted) return this } diff --git a/arkoala/arkui/src/ArkProgress.ts b/arkoala/arkui/src/ArkProgress.ts index 6fb72918a..f956099ad 100644 --- a/arkoala/arkui/src/ArkProgress.ts +++ b/arkoala/arkui/src/ArkProgress.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkProgressMaskMaterialized.ts b/arkoala/arkui/src/ArkProgressMaskMaterialized.ts index 8997466d4..479b3d74d 100644 --- a/arkoala/arkui/src/ArkProgressMaskMaterialized.ts +++ b/arkoala/arkui/src/ArkProgressMaskMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class ProgressMask implements MaterializedBase,ProgressMask { - peer?: Finalizable +export class ProgressMask implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ProgressMask { - const objProgressMask: ProgressMask = new ProgressMask() - objProgressMask.peer = new Finalizable(ptr, ProgressMask.getFinalizer()) - return objProgressMask - } static ctor(value: number, total: number, color: ResourceColor): KPointer { const thisSerializer: Serializer = Serializer.hold() let color_type: int32 = RuntimeType.UNDEFINED diff --git a/arkoala/arkui/src/ArkQrcode.ts b/arkoala/arkui/src/ArkQrcode.ts index 352dcfc71..9dafd5f7a 100644 --- a/arkoala/arkui/src/ArkQrcode.ts +++ b/arkoala/arkui/src/ArkQrcode.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkRadio.ts b/arkoala/arkui/src/ArkRadio.ts index 23a705806..e67dfe0d5 100644 --- a/arkoala/arkui/src/ArkRadio.ts +++ b/arkoala/arkui/src/ArkRadio.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkRating.ts b/arkoala/arkui/src/ArkRating.ts index 16b77b117..0cbb6298c 100644 --- a/arkoala/arkui/src/ArkRating.ts +++ b/arkoala/arkui/src/ArkRating.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkRect.ts b/arkoala/arkui/src/ArkRect.ts index e9b4dbb0a..40133fac4 100644 --- a/arkoala/arkui/src/ArkRect.ts +++ b/arkoala/arkui/src/ArkRect.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -57,9 +57,9 @@ export class ArkRectComponent extends ArkCommonShapeMethodComponent { return this } /** @memo */ - radius(value: number | string | Array): this { + radius(value: number | string | Array): this { if (this.checkPriority("radius")) { - const value_casted = value as (number | string | Array) + const value_casted = value as (number | string | Array) this.getPeer()?.radiusAttribute(value_casted) return this } diff --git a/arkoala/arkui/src/ArkRefresh.ts b/arkoala/arkui/src/ArkRefresh.ts index 254394a06..00b1206dd 100644 --- a/arkoala/arkui/src/ArkRefresh.ts +++ b/arkoala/arkui/src/ArkRefresh.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkRelativeContainer.ts b/arkoala/arkui/src/ArkRelativeContainer.ts index 0623b32cd..0e6d90e99 100644 --- a/arkoala/arkui/src/ArkRelativeContainer.ts +++ b/arkoala/arkui/src/ArkRelativeContainer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkRemoteWindow.ts b/arkoala/arkui/src/ArkRemoteWindow.ts index 9721349d1..79e45d54b 100644 --- a/arkoala/arkui/src/ArkRemoteWindow.ts +++ b/arkoala/arkui/src/ArkRemoteWindow.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkRichEditor.ts b/arkoala/arkui/src/ArkRichEditor.ts index b49ae3a11..0f8b66812 100644 --- a/arkoala/arkui/src/ArkRichEditor.ts +++ b/arkoala/arkui/src/ArkRichEditor.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -40,8 +40,8 @@ export class ArkRichEditorComponent extends ArkCommonMethodComponent { return this } if ((((RuntimeType.OBJECT == value_type)))) { - const value_casted = value as (RichEditorStyledStringOptions) - this.getPeer()?.setRichEditorOptions1Attribute(value_casted) + const options_casted = value as (RichEditorStyledStringOptions) + this.getPeer()?.setRichEditorOptions1Attribute(options_casted) return this } throw new Error("Can not select appropriate overload") diff --git a/arkoala/arkui/src/ArkRichEditorBaseControllerMaterialized.ts b/arkoala/arkui/src/ArkRichEditorBaseControllerMaterialized.ts index 67da39fd7..d15c23913 100644 --- a/arkoala/arkui/src/ArkRichEditorBaseControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkRichEditorBaseControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,8 +16,6 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { TextEditControllerEx } from "./ArkTextEditControllerExMaterialized" -import { LayoutManager } from "./ArkLayoutManagerMaterialized" import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" @@ -50,16 +48,11 @@ import { } from "@koalaui/interop" -export class RichEditorBaseController implements MaterializedBase,RichEditorBaseController { - peer?: Finalizable +export class RichEditorBaseController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): RichEditorBaseController { - const objRichEditorBaseController: RichEditorBaseController = new RichEditorBaseController() - objRichEditorBaseController.peer = new Finalizable(ptr, RichEditorBaseController.getFinalizer()) - return objRichEditorBaseController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._RichEditorBaseController_ctor() return retval diff --git a/arkoala/arkui/src/ArkRichEditorControllerMaterialized.ts b/arkoala/arkui/src/ArkRichEditorControllerMaterialized.ts index 7ed67a22f..0b1115be3 100644 --- a/arkoala/arkui/src/ArkRichEditorControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkRichEditorControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -17,8 +17,6 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { RichEditorBaseController } from "./ArkRichEditorBaseControllerMaterialized" -import { PixelMap } from "./ArkPixelMapMaterialized" -import { StyledString } from "./ArkStyledStringMaterialized" import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" @@ -51,16 +49,11 @@ import { } from "@koalaui/interop" -export class RichEditorController extends RichEditorBaseController implements MaterializedBase,RichEditorController { - peer?: Finalizable +export class RichEditorController extends RichEditorBaseController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): RichEditorController { - const objRichEditorController: RichEditorController = new RichEditorController() - objRichEditorController.peer = new Finalizable(ptr, RichEditorController.getFinalizer()) - return objRichEditorController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._RichEditorController_ctor() return retval diff --git a/arkoala/arkui/src/ArkRichEditorStyledStringControllerMaterialized.ts b/arkoala/arkui/src/ArkRichEditorStyledStringControllerMaterialized.ts index db2349188..2fa3823ab 100644 --- a/arkoala/arkui/src/ArkRichEditorStyledStringControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkRichEditorStyledStringControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -17,9 +17,6 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! import { RichEditorBaseController } from "./ArkRichEditorBaseControllerMaterialized" -import { StyledStringController } from "./ArkStyledStringControllerMaterialized" -import { StyledString } from "./ArkStyledStringMaterialized" -import { MutableStyledString } from "./ArkMutableStyledStringMaterialized" import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" @@ -52,16 +49,11 @@ import { } from "@koalaui/interop" -export class RichEditorStyledStringController extends RichEditorBaseController implements MaterializedBase,RichEditorStyledStringController { - peer?: Finalizable +export class RichEditorStyledStringController extends RichEditorBaseController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): RichEditorStyledStringController { - const objRichEditorStyledStringController: RichEditorStyledStringController = new RichEditorStyledStringController() - objRichEditorStyledStringController.peer = new Finalizable(ptr, RichEditorStyledStringController.getFinalizer()) - return objRichEditorStyledStringController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._RichEditorStyledStringController_ctor() return retval diff --git a/arkoala/arkui/src/ArkRichText.ts b/arkoala/arkui/src/ArkRichText.ts index 3c44c7204..2595321d2 100644 --- a/arkoala/arkui/src/ArkRichText.ts +++ b/arkoala/arkui/src/ArkRichText.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkRootScene.ts b/arkoala/arkui/src/ArkRootScene.ts index 4b8cf3945..5b0dcdc0b 100644 --- a/arkoala/arkui/src/ArkRootScene.ts +++ b/arkoala/arkui/src/ArkRootScene.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkRotationGestureEventMaterialized.ts b/arkoala/arkui/src/ArkRotationGestureEventMaterialized.ts new file mode 100644 index 000000000..398eff90d --- /dev/null +++ b/arkoala/arkui/src/ArkRotationGestureEventMaterialized.ts @@ -0,0 +1,97 @@ +/* + * 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 { BaseGestureEventInternal } from "./ArkBaseGestureEventMaterialized" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase } from "./peers/SerializerBase" +import { unsafeCast } from "./shared/generated-utils" +import { registerCallback } from "./peers/SerializerBase" +import { wrapCallback } from "@koalaui/interop" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class RotationGestureEventInternal extends BaseGestureEventInternal implements MaterializedBase,RotationGestureEvent { + peer?: Finalizable | undefined + get angle(): number { + return this.getAngle() + } + set angle(angle: number) { + this.setAngle(angle) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._RotationGestureEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr: KPointer = RotationGestureEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, RotationGestureEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._RotationGestureEvent_getFinalizer() + } + private getAngle(): number { + return this.getAngle_serialize() + } + private setAngle(angle: number): void { + const angle_casted = angle as (number) + this?.setAngle_serialize(angle_casted) + return + } + private getAngle_serialize(): number { + const retval = ArkUIGeneratedNativeModule._RotationGestureEvent_getAngle(this.peer!.ptr) + return retval + } + private setAngle_serialize(angle: number): void { + ArkUIGeneratedNativeModule._RotationGestureEvent_setAngle(this.peer!.ptr, angle) + } + public static fromPtr(ptr: KPointer): RotationGestureEventInternal { + const obj: RotationGestureEventInternal = new RotationGestureEventInternal() + obj.peer = new Finalizable(ptr, RotationGestureEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala/arkui/src/ArkRow.ts b/arkoala/arkui/src/ArkRow.ts index 228831103..ff07ba943 100644 --- a/arkoala/arkui/src/ArkRow.ts +++ b/arkoala/arkui/src/ArkRow.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkRowSplit.ts b/arkoala/arkui/src/ArkRowSplit.ts index abdf365c5..c930aba9e 100644 --- a/arkoala/arkui/src/ArkRowSplit.ts +++ b/arkoala/arkui/src/ArkRowSplit.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkSaveButton.ts b/arkoala/arkui/src/ArkSaveButton.ts index 13b900f29..e1e88ccdc 100644 --- a/arkoala/arkui/src/ArkSaveButton.ts +++ b/arkoala/arkui/src/ArkSaveButton.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -34,15 +34,15 @@ export class ArkSaveButtonComponent extends ArkSecurityComponentMethodComponent setSaveButtonOptions(options?: SaveButtonOptions): this { if (this.checkPriority("setSaveButtonOptions")) { const options_type = runtimeType(options) + if ((((RuntimeType.UNDEFINED == options_type)))) { + this.getPeer()?.setSaveButtonOptions0Attribute() + return this + } if ((((RuntimeType.OBJECT == options_type)))) { const options_casted = options as (SaveButtonOptions) this.getPeer()?.setSaveButtonOptions1Attribute(options_casted) return this } - if ((((RuntimeType.UNDEFINED == options_type)))) { - this.getPeer()?.setSaveButtonOptions0Attribute() - return this - } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala/arkui/src/ArkScreen.ts b/arkoala/arkui/src/ArkScreen.ts index 8825cd86c..431f1dc32 100644 --- a/arkoala/arkui/src/ArkScreen.ts +++ b/arkoala/arkui/src/ArkScreen.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkScreenCaptureHandlerMaterialized.ts b/arkoala/arkui/src/ArkScreenCaptureHandlerMaterialized.ts index e55e3d1f2..d85d5d214 100644 --- a/arkoala/arkui/src/ArkScreenCaptureHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkScreenCaptureHandlerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class ScreenCaptureHandler implements MaterializedBase,ScreenCaptureHandler { - peer?: Finalizable +export class ScreenCaptureHandler implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ScreenCaptureHandler { - const objScreenCaptureHandler: ScreenCaptureHandler = new ScreenCaptureHandler() - objScreenCaptureHandler.peer = new Finalizable(ptr, ScreenCaptureHandler.getFinalizer()) - return objScreenCaptureHandler - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._ScreenCaptureHandler_ctor() return retval diff --git a/arkoala/arkui/src/ArkScroll.ts b/arkoala/arkui/src/ArkScroll.ts index 6960df9f0..ce71f10dd 100644 --- a/arkoala/arkui/src/ArkScroll.ts +++ b/arkoala/arkui/src/ArkScroll.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,9 +49,9 @@ export class ArkScrollComponent extends ArkScrollableCommonMethodComponent { return this } /** @memo */ - onScroll(value: ((scrollOffset: number, scrollState: ScrollState) => void)): this { + onScroll(value: ((first: number, last: number) => void)): this { if (this.checkPriority("onScroll")) { - const value_casted = value as (((scrollOffset: number, scrollState: ScrollState) => void)) + const value_casted = value as (((first: number, last: number) => void)) UseEventsProperties({Scroll_onScroll: value_casted}) this.getPeer()?.onScrollAttribute(value_casted) return this @@ -68,9 +68,9 @@ export class ArkScrollComponent extends ArkScrollableCommonMethodComponent { return this } /** @memo */ - onDidScroll(value?: ScrollOnWillScrollCallback): this { + onDidScroll(value?: ScrollOnScrollCallback): this { if (this.checkPriority("onDidScroll")) { - const value_casted = value as (ScrollOnWillScrollCallback | undefined) + const value_casted = value as (ScrollOnScrollCallback | undefined) this.getPeer()?.onDidScrollAttribute(value_casted) return this } @@ -87,9 +87,9 @@ export class ArkScrollComponent extends ArkScrollableCommonMethodComponent { return this } /** @memo */ - onScrollStart(value: (() => void)): this { + onScrollStart(value: VoidCallback): this { if (this.checkPriority("onScrollStart")) { - const value_casted = value as ((() => void)) + const value_casted = value as (VoidCallback) UseEventsProperties({Scroll_onScrollStart: value_casted}) this.getPeer()?.onScrollStartAttribute(value_casted) return this @@ -107,9 +107,9 @@ export class ArkScrollComponent extends ArkScrollableCommonMethodComponent { return this } /** @memo */ - onScrollStop(value: (() => void)): this { + onScrollStop(value: VoidCallback): this { if (this.checkPriority("onScrollStop")) { - const value_casted = value as ((() => void)) + const value_casted = value as (VoidCallback) UseEventsProperties({Scroll_onScrollStop: value_casted}) this.getPeer()?.onScrollStopAttribute(value_casted) return this diff --git a/arkoala/arkui/src/ArkScrollBar.ts b/arkoala/arkui/src/ArkScrollBar.ts index 29dc88cd0..ad675e8a5 100644 --- a/arkoala/arkui/src/ArkScrollBar.ts +++ b/arkoala/arkui/src/ArkScrollBar.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkScrollableTargetInfoMaterialized.ts b/arkoala/arkui/src/ArkScrollableTargetInfoMaterialized.ts index d0595b8ca..49fbb1b41 100644 --- a/arkoala/arkui/src/ArkScrollableTargetInfoMaterialized.ts +++ b/arkoala/arkui/src/ArkScrollableTargetInfoMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class ScrollableTargetInfo extends EventTargetInfo implements MaterializedBase,ScrollableTargetInfo { - peer?: Finalizable +export class ScrollableTargetInfo extends EventTargetInfo implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): ScrollableTargetInfo { - const objScrollableTargetInfo: ScrollableTargetInfo = new ScrollableTargetInfo() - objScrollableTargetInfo.peer = new Finalizable(ptr, ScrollableTargetInfo.getFinalizer()) - return objScrollableTargetInfo - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._ScrollableTargetInfo_ctor() return retval diff --git a/arkoala/arkui/src/ArkScrollerMaterialized.ts b/arkoala/arkui/src/ArkScrollerMaterialized.ts index d680e2a1f..728008b19 100644 --- a/arkoala/arkui/src/ArkScrollerMaterialized.ts +++ b/arkoala/arkui/src/ArkScrollerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class Scroller implements MaterializedBase,Scroller { - peer?: Finalizable +export class Scroller implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): Scroller { - const objScroller: Scroller = new Scroller() - objScroller.peer = new Finalizable(ptr, Scroller.getFinalizer()) - return objScroller - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._Scroller_ctor() return retval diff --git a/arkoala/arkui/src/ArkSearch.ts b/arkoala/arkui/src/ArkSearch.ts index d4462b116..ae5ed77cb 100644 --- a/arkoala/arkui/src/ArkSearch.ts +++ b/arkoala/arkui/src/ArkSearch.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkSearchControllerMaterialized.ts b/arkoala/arkui/src/ArkSearchControllerMaterialized.ts index f0702dc3b..6d2779b25 100644 --- a/arkoala/arkui/src/ArkSearchControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkSearchControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class SearchController extends TextContentControllerBase implements MaterializedBase,SearchController { - peer?: Finalizable +export class SearchController extends TextContentControllerBase implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): SearchController { - const objSearchController: SearchController = new SearchController() - objSearchController.peer = new Finalizable(ptr, SearchController.getFinalizer()) - return objSearchController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._SearchController_ctor() return retval diff --git a/arkoala/arkui/src/ArkSecurityComponent.ts b/arkoala/arkui/src/ArkSecurityComponent.ts index 37edd2b40..fc91c9149 100644 --- a/arkoala/arkui/src/ArkSecurityComponent.ts +++ b/arkoala/arkui/src/ArkSecurityComponent.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkSelect.ts b/arkoala/arkui/src/ArkSelect.ts index 9cd719a15..99d637816 100644 --- a/arkoala/arkui/src/ArkSelect.ts +++ b/arkoala/arkui/src/ArkSelect.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkShape.ts b/arkoala/arkui/src/ArkShape.ts index 05d66de84..42da5d20a 100644 --- a/arkoala/arkui/src/ArkShape.ts +++ b/arkoala/arkui/src/ArkShape.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -33,15 +33,15 @@ export class ArkShapeComponent extends ArkCommonMethodComponent { setShapeOptions(value?: PixelMap): this { if (this.checkPriority("setShapeOptions")) { const value_type = runtimeType(value) + if ((((RuntimeType.UNDEFINED == value_type)))) { + this.getPeer()?.setShapeOptions1Attribute() + return this + } if ((((RuntimeType.OBJECT == value_type)))) { const value_casted = value as (PixelMap) this.getPeer()?.setShapeOptions0Attribute(value_casted) return this } - if ((((RuntimeType.UNDEFINED == value_type)))) { - this.getPeer()?.setShapeOptions1Attribute() - return this - } throw new Error("Can not select appropriate overload") } return this @@ -83,9 +83,9 @@ export class ArkShapeComponent extends ArkCommonMethodComponent { return this } /** @memo */ - strokeDashArray(value: Array): this { + strokeDashArray(value: Array): this { if (this.checkPriority("strokeDashArray")) { - const value_casted = value as (Array) + const value_casted = value as (Array) this.getPeer()?.strokeDashArrayAttribute(value_casted) return this } @@ -155,9 +155,9 @@ export class ArkShapeComponent extends ArkCommonMethodComponent { return this } /** @memo */ - mesh(value: Array, column: number, row: number): this { + mesh(value: Array, column: number, row: number): this { if (this.checkPriority("mesh")) { - const value_casted = value as (Array) + const value_casted = value as (Array) const column_casted = column as (number) const row_casted = row as (number) this.getPeer()?.meshAttribute(value_casted, column_casted, row_casted) diff --git a/arkoala/arkui/src/ArkSidebar.ts b/arkoala/arkui/src/ArkSidebar.ts index 7a3de49dd..687aae860 100644 --- a/arkoala/arkui/src/ArkSidebar.ts +++ b/arkoala/arkui/src/ArkSidebar.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkSlider.ts b/arkoala/arkui/src/ArkSlider.ts index 02c3c9691..cfeecab26 100644 --- a/arkoala/arkui/src/ArkSlider.ts +++ b/arkoala/arkui/src/ArkSlider.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkSpan.ts b/arkoala/arkui/src/ArkSpan.ts index c74a58578..52f2af4ab 100644 --- a/arkoala/arkui/src/ArkSpan.ts +++ b/arkoala/arkui/src/ArkSpan.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkSslErrorHandlerMaterialized.ts b/arkoala/arkui/src/ArkSslErrorHandlerMaterialized.ts index 4634d1f09..81be88ce3 100644 --- a/arkoala/arkui/src/ArkSslErrorHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkSslErrorHandlerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class SslErrorHandler implements MaterializedBase,SslErrorHandler { - peer?: Finalizable +export class SslErrorHandler implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): SslErrorHandler { - const objSslErrorHandler: SslErrorHandler = new SslErrorHandler() - objSslErrorHandler.peer = new Finalizable(ptr, SslErrorHandler.getFinalizer()) - return objSslErrorHandler - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._SslErrorHandler_ctor() return retval diff --git a/arkoala/arkui/src/ArkStack.ts b/arkoala/arkui/src/ArkStack.ts index c746d3ee6..3ff744a98 100644 --- a/arkoala/arkui/src/ArkStack.ts +++ b/arkoala/arkui/src/ArkStack.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkStaticComponents.ts b/arkoala/arkui/src/ArkStaticComponents.ts index 6388a1443..937898efb 100644 --- a/arkoala/arkui/src/ArkStaticComponents.ts +++ b/arkoala/arkui/src/ArkStaticComponents.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkStepper.ts b/arkoala/arkui/src/ArkStepper.ts index fe7989964..5fb0b089e 100644 --- a/arkoala/arkui/src/ArkStepper.ts +++ b/arkoala/arkui/src/ArkStepper.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkStepperItem.ts b/arkoala/arkui/src/ArkStepperItem.ts index 7d5e6d9b6..5738f48f3 100644 --- a/arkoala/arkui/src/ArkStepperItem.ts +++ b/arkoala/arkui/src/ArkStepperItem.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkStyledStringControllerMaterialized.ts b/arkoala/arkui/src/ArkStyledStringControllerMaterialized.ts index be8fe873e..021972223 100644 --- a/arkoala/arkui/src/ArkStyledStringControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkStyledStringControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,8 +16,6 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { StyledString } from "./ArkStyledStringMaterialized" -import { MutableStyledString } from "./ArkMutableStyledStringMaterialized" import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" @@ -50,24 +48,19 @@ import { } from "@koalaui/interop" -export class StyledStringController implements MaterializedBase,StyledStringController { - peer?: Finalizable +export class StyledStringControllerInternal implements MaterializedBase,StyledStringController { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): StyledStringController { - const objStyledStringController: StyledStringController = new StyledStringController() - objStyledStringController.peer = new Finalizable(ptr, StyledStringController.getFinalizer()) - return objStyledStringController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._StyledStringController_ctor() return retval } constructor() { { - const ctorPtr: KPointer = StyledStringController.ctor() - this.peer = new Finalizable(ctorPtr, StyledStringController.getFinalizer()) + const ctorPtr: KPointer = StyledStringControllerInternal.ctor() + this.peer = new Finalizable(ctorPtr, StyledStringControllerInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -91,11 +84,9 @@ export class StyledStringController implements MaterializedBase,StyledStringCont const retval = ArkUIGeneratedNativeModule._StyledStringController_getStyledString(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } -} -export class StyledStringControllerInternal { - public static fromPtr(ptr: KPointer): StyledStringController { - const obj: StyledStringController = new StyledStringController() - obj.peer = new Finalizable(ptr, StyledStringController.getFinalizer()) + public static fromPtr(ptr: KPointer): StyledStringControllerInternal { + const obj: StyledStringControllerInternal = new StyledStringControllerInternal() + obj.peer = new Finalizable(ptr, StyledStringControllerInternal.getFinalizer()) return obj } } diff --git a/arkoala/arkui/src/ArkStyledStringMaterialized.ts b/arkoala/arkui/src/ArkStyledStringMaterialized.ts index 727f16769..1e2687a04 100644 --- a/arkoala/arkui/src/ArkStyledStringMaterialized.ts +++ b/arkoala/arkui/src/ArkStyledStringMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,7 +16,6 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { CustomSpan } from "./ArkCustomSpanMaterialized" import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" @@ -49,19 +48,14 @@ import { } from "@koalaui/interop" -export class StyledString implements MaterializedBase,StyledString { - peer?: Finalizable +export class StyledString implements MaterializedBase { + peer?: Finalizable | undefined get length(): number { return this.getLength() } getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): StyledString { - const objStyledString: StyledString = new StyledString() - objStyledString.peer = new Finalizable(ptr, StyledString.getFinalizer()) - return objStyledString - } static ctor(value: string | ImageAttachment | CustomSpan, styles?: Array): KPointer { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED @@ -178,7 +172,9 @@ export class StyledString implements MaterializedBase,StyledString { } const retval = ArkUIGeneratedNativeModule._StyledString_subStyledString(this.peer!.ptr, start, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() - return this + const obj: StyledString = new StyledString() + obj.peer = new Finalizable(retval, StyledString.getFinalizer()) + return obj } private static fromHtml_serialize(html: string): Promise { const thisSerializer: Serializer = Serializer.hold() diff --git a/arkoala/arkui/src/ArkSubmitEventMaterialized.ts b/arkoala/arkui/src/ArkSubmitEventMaterialized.ts new file mode 100644 index 000000000..903e5c91a --- /dev/null +++ b/arkoala/arkui/src/ArkSubmitEventMaterialized.ts @@ -0,0 +1,102 @@ +/* + * 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 { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase } from "./peers/SerializerBase" +import { unsafeCast } from "./shared/generated-utils" +import { registerCallback } from "./peers/SerializerBase" +import { wrapCallback } from "@koalaui/interop" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class SubmitEventInternal implements MaterializedBase,SubmitEvent { + peer?: Finalizable | undefined + get text(): string { + return this.getText() + } + set text(text: string) { + this.setText(text) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._SubmitEvent_ctor() + return retval + } + constructor() { + { + const ctorPtr: KPointer = SubmitEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, SubmitEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._SubmitEvent_getFinalizer() + } + keepEditableState(): void { + this?.keepEditableState_serialize() + return + } + private getText(): string { + return this.getText_serialize() + } + private setText(text: string): void { + const text_casted = text as (string) + this?.setText_serialize(text_casted) + return + } + private keepEditableState_serialize(): void { + ArkUIGeneratedNativeModule._SubmitEvent_keepEditableState(this.peer!.ptr) + } + private getText_serialize(): string { + const retval = ArkUIGeneratedNativeModule._SubmitEvent_getText(this.peer!.ptr) + return retval + } + private setText_serialize(text: string): void { + ArkUIGeneratedNativeModule._SubmitEvent_setText(this.peer!.ptr, text) + } + public static fromPtr(ptr: KPointer): SubmitEventInternal { + const obj: SubmitEventInternal = new SubmitEventInternal() + obj.peer = new Finalizable(ptr, SubmitEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala/arkui/src/ArkSwipeGestureEventMaterialized.ts b/arkoala/arkui/src/ArkSwipeGestureEventMaterialized.ts new file mode 100644 index 000000000..8a8bc796d --- /dev/null +++ b/arkoala/arkui/src/ArkSwipeGestureEventMaterialized.ts @@ -0,0 +1,118 @@ +/* + * 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 { BaseGestureEventInternal } from "./ArkBaseGestureEventMaterialized" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase } from "./peers/SerializerBase" +import { unsafeCast } from "./shared/generated-utils" +import { registerCallback } from "./peers/SerializerBase" +import { wrapCallback } from "@koalaui/interop" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class SwipeGestureEventInternal extends BaseGestureEventInternal implements MaterializedBase,SwipeGestureEvent { + peer?: Finalizable | undefined + get angle(): number { + return this.getAngle() + } + set angle(angle: number) { + this.setAngle(angle) + } + get speed(): number { + return this.getSpeed() + } + set speed(speed: number) { + this.setSpeed(speed) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._SwipeGestureEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr: KPointer = SwipeGestureEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, SwipeGestureEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._SwipeGestureEvent_getFinalizer() + } + private getAngle(): number { + return this.getAngle_serialize() + } + private setAngle(angle: number): void { + const angle_casted = angle as (number) + this?.setAngle_serialize(angle_casted) + return + } + private getSpeed(): number { + return this.getSpeed_serialize() + } + private setSpeed(speed: number): void { + const speed_casted = speed as (number) + this?.setSpeed_serialize(speed_casted) + return + } + private getAngle_serialize(): number { + const retval = ArkUIGeneratedNativeModule._SwipeGestureEvent_getAngle(this.peer!.ptr) + return retval + } + private setAngle_serialize(angle: number): void { + ArkUIGeneratedNativeModule._SwipeGestureEvent_setAngle(this.peer!.ptr, angle) + } + private getSpeed_serialize(): number { + const retval = ArkUIGeneratedNativeModule._SwipeGestureEvent_getSpeed(this.peer!.ptr) + return retval + } + private setSpeed_serialize(speed: number): void { + ArkUIGeneratedNativeModule._SwipeGestureEvent_setSpeed(this.peer!.ptr, speed) + } + public static fromPtr(ptr: KPointer): SwipeGestureEventInternal { + const obj: SwipeGestureEventInternal = new SwipeGestureEventInternal() + obj.peer = new Finalizable(ptr, SwipeGestureEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala/arkui/src/ArkSwiper.ts b/arkoala/arkui/src/ArkSwiper.ts index 21d0c63f6..d65575a00 100644 --- a/arkoala/arkui/src/ArkSwiper.ts +++ b/arkoala/arkui/src/ArkSwiper.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -67,19 +67,19 @@ export class ArkSwiperComponent extends ArkCommonMethodComponent { return this } /** @memo */ - indicator(value: DotIndicator | DigitIndicator | boolean | IndicatorComponentController): this { + indicator(value: IndicatorComponentController | DotIndicator | DigitIndicator | boolean): this { if (this.checkPriority("indicator")) { const value_type = runtimeType(value) - if ((((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((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))) { const value_casted = value as (IndicatorComponentController) this.getPeer()?.indicator1Attribute(value_casted) return this } + if ((((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.BOOLEAN == value_type)))) { + const value_casted = value as (DotIndicator | DigitIndicator | boolean) + this.getPeer()?.indicator0Attribute(value_casted) + return this + } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala/arkui/src/ArkSwiperContentTransitionProxyMaterialized.ts b/arkoala/arkui/src/ArkSwiperContentTransitionProxyMaterialized.ts index 8efa1022d..80cd14bf0 100644 --- a/arkoala/arkui/src/ArkSwiperContentTransitionProxyMaterialized.ts +++ b/arkoala/arkui/src/ArkSwiperContentTransitionProxyMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,8 +48,8 @@ import { } from "@koalaui/interop" -export class SwiperContentTransitionProxy implements MaterializedBase,SwiperContentTransitionProxy { - peer?: Finalizable +export class SwiperContentTransitionProxyInternal implements MaterializedBase,SwiperContentTransitionProxy { + peer?: Finalizable | undefined get selectedIndex(): number { return this.getSelectedIndex() } @@ -77,19 +77,14 @@ export class SwiperContentTransitionProxy implements MaterializedBase,SwiperCont getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): SwiperContentTransitionProxy { - const objSwiperContentTransitionProxy: SwiperContentTransitionProxy = new SwiperContentTransitionProxy() - objSwiperContentTransitionProxy.peer = new Finalizable(ptr, SwiperContentTransitionProxy.getFinalizer()) - return objSwiperContentTransitionProxy - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_ctor() return retval } constructor() { { - const ctorPtr: KPointer = SwiperContentTransitionProxy.ctor() - this.peer = new Finalizable(ctorPtr, SwiperContentTransitionProxy.getFinalizer()) + const ctorPtr: KPointer = SwiperContentTransitionProxyInternal.ctor() + this.peer = new Finalizable(ctorPtr, SwiperContentTransitionProxyInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -162,11 +157,9 @@ export class SwiperContentTransitionProxy implements MaterializedBase,SwiperCont private setMainAxisLength_serialize(mainAxisLength: number): void { ArkUIGeneratedNativeModule._SwiperContentTransitionProxy_setMainAxisLength(this.peer!.ptr, mainAxisLength) } -} -export class SwiperContentTransitionProxyInternal { - public static fromPtr(ptr: KPointer): SwiperContentTransitionProxy { - const obj: SwiperContentTransitionProxy = new SwiperContentTransitionProxy() - obj.peer = new Finalizable(ptr, SwiperContentTransitionProxy.getFinalizer()) + public static fromPtr(ptr: KPointer): SwiperContentTransitionProxyInternal { + const obj: SwiperContentTransitionProxyInternal = new SwiperContentTransitionProxyInternal() + obj.peer = new Finalizable(ptr, SwiperContentTransitionProxyInternal.getFinalizer()) return obj } } diff --git a/arkoala/arkui/src/ArkSwiperControllerMaterialized.ts b/arkoala/arkui/src/ArkSwiperControllerMaterialized.ts index 9d3bc8652..3706b998f 100644 --- a/arkoala/arkui/src/ArkSwiperControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkSwiperControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class SwiperController implements MaterializedBase,SwiperController { - peer?: Finalizable +export class SwiperController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): SwiperController { - const objSwiperController: SwiperController = new SwiperController() - objSwiperController.peer = new Finalizable(ptr, SwiperController.getFinalizer()) - return objSwiperController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._SwiperController_ctor() return retval @@ -82,9 +77,9 @@ export class SwiperController implements MaterializedBase,SwiperController { const useAnimation_casted = useAnimation as (boolean | undefined) return this.changeIndex_serialize(index_casted, useAnimation_casted) } - finishAnimation(callback?: VoidCallback): undefined { - const callback_casted = callback as (VoidCallback | undefined) - return this.finishAnimation_serialize(callback_casted) + finishAnimation(callback_?: VoidCallback): undefined { + const callback__casted = callback_ as (VoidCallback | undefined) + return this.finishAnimation_serialize(callback__casted) } private showNext_serialize(): undefined { const retval = ArkUIGeneratedNativeModule._SwiperController_showNext(this.peer!.ptr) @@ -107,14 +102,14 @@ export class SwiperController implements MaterializedBase,SwiperController { thisSerializer.release() return retval } - private finishAnimation_serialize(callback?: VoidCallback): undefined { + private finishAnimation_serialize(callback_?: VoidCallback): undefined { 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 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) } const retval = ArkUIGeneratedNativeModule._SwiperController_finishAnimation(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() diff --git a/arkoala/arkui/src/ArkSymbolSpan.ts b/arkoala/arkui/src/ArkSymbolSpan.ts index e78798ca9..38589223b 100644 --- a/arkoala/arkui/src/ArkSymbolSpan.ts +++ b/arkoala/arkui/src/ArkSymbolSpan.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkSymbolglyph.ts b/arkoala/arkui/src/ArkSymbolglyph.ts index 4779d864d..cc90fadf7 100644 --- a/arkoala/arkui/src/ArkSymbolglyph.ts +++ b/arkoala/arkui/src/ArkSymbolglyph.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -96,8 +96,8 @@ export class ArkSymbolGlyphComponent extends ArkCommonMethodComponent { } if ((((RuntimeType.NUMBER == isActive_type)) || ((RuntimeType.UNDEFINED == isActive_type)))) { const symbolEffect_casted = symbolEffect as (SymbolEffect) - const isActive_casted = isActive as (number | undefined) - this.getPeer()?.symbolEffect1Attribute(symbolEffect_casted, isActive_casted) + const triggerValue_casted = isActive as (number | undefined) + this.getPeer()?.symbolEffect1Attribute(symbolEffect_casted, triggerValue_casted) return this } throw new Error("Can not select appropriate overload") diff --git a/arkoala/arkui/src/ArkTabContent.ts b/arkoala/arkui/src/ArkTabContent.ts index 0da4ec687..58fdbbde1 100644 --- a/arkoala/arkui/src/ArkTabContent.ts +++ b/arkoala/arkui/src/ArkTabContent.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -39,19 +39,19 @@ export class ArkTabContentComponent extends ArkCommonMethodComponent { return this } /** @memo */ - tabBar(value: string | Resource | CustomBuilder | TabBarOptions | SubTabBarStyle | BottomTabBarStyle): this { + tabBar(value: SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions): this { if (this.checkPriority("tabBar")) { const value_type = runtimeType(value) - if ((((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.FUNCTION == value_type)) || ((RuntimeType.OBJECT == value_type)))) { - const value_casted = value as (string | Resource | CustomBuilder | TabBarOptions) - this.getPeer()?.tabBar0Attribute(value_casted) - return this - } if ((((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)))) { const value_casted = value as (SubTabBarStyle | BottomTabBarStyle) this.getPeer()?.tabBar1Attribute(value_casted) return this } + if ((((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.FUNCTION == value_type)) || ((RuntimeType.OBJECT == value_type)))) { + const value_casted = value as (string | Resource | CustomBuilder | TabBarOptions) + this.getPeer()?.tabBar0Attribute(value_casted) + return this + } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala/arkui/src/ArkTabContentTransitionProxyMaterialized.ts b/arkoala/arkui/src/ArkTabContentTransitionProxyMaterialized.ts index c10bc0384..21e29366a 100644 --- a/arkoala/arkui/src/ArkTabContentTransitionProxyMaterialized.ts +++ b/arkoala/arkui/src/ArkTabContentTransitionProxyMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,8 +48,8 @@ import { } from "@koalaui/interop" -export class TabContentTransitionProxy implements MaterializedBase,TabContentTransitionProxy { - peer?: Finalizable +export class TabContentTransitionProxyInternal implements MaterializedBase,TabContentTransitionProxy { + peer?: Finalizable | undefined get from(): number { return this.getFrom() } @@ -65,19 +65,14 @@ export class TabContentTransitionProxy implements MaterializedBase,TabContentTra getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TabContentTransitionProxy { - const objTabContentTransitionProxy: TabContentTransitionProxy = new TabContentTransitionProxy() - objTabContentTransitionProxy.peer = new Finalizable(ptr, TabContentTransitionProxy.getFinalizer()) - return objTabContentTransitionProxy - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TabContentTransitionProxy_ctor() return retval } constructor() { { - const ctorPtr: KPointer = TabContentTransitionProxy.ctor() - this.peer = new Finalizable(ctorPtr, TabContentTransitionProxy.getFinalizer()) + const ctorPtr: KPointer = TabContentTransitionProxyInternal.ctor() + this.peer = new Finalizable(ctorPtr, TabContentTransitionProxyInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -120,11 +115,9 @@ export class TabContentTransitionProxy implements MaterializedBase,TabContentTra private setTo_serialize(to: number): void { ArkUIGeneratedNativeModule._TabContentTransitionProxy_setTo(this.peer!.ptr, to) } -} -export class TabContentTransitionProxyInternal { - public static fromPtr(ptr: KPointer): TabContentTransitionProxy { - const obj: TabContentTransitionProxy = new TabContentTransitionProxy() - obj.peer = new Finalizable(ptr, TabContentTransitionProxy.getFinalizer()) + public static fromPtr(ptr: KPointer): TabContentTransitionProxyInternal { + const obj: TabContentTransitionProxyInternal = new TabContentTransitionProxyInternal() + obj.peer = new Finalizable(ptr, TabContentTransitionProxyInternal.getFinalizer()) return obj } } diff --git a/arkoala/arkui/src/ArkTabs.ts b/arkoala/arkui/src/ArkTabs.ts index 8b0b12c82..c3652a6c0 100644 --- a/arkoala/arkui/src/ArkTabs.ts +++ b/arkoala/arkui/src/ArkTabs.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -71,15 +71,15 @@ export class ArkTabsComponent extends ArkCommonMethodComponent { if (this.checkPriority("barMode")) { const value_type = runtimeType(value) const options_type = runtimeType(options) - if ((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (1))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { + if ((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (1))) && (((RuntimeType.UNDEFINED == options_type)))) { const value_casted = value as (BarMode) - const options_casted = options as (ScrollableBarModeOptions | undefined) - this.getPeer()?.barMode1Attribute(value_casted, options_casted) + this.getPeer()?.barMode0Attribute(value_casted) return this } - if ((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (1))) && (((RuntimeType.UNDEFINED == options_type)))) { + if ((((RuntimeType.NUMBER) == (value_type)) && ((unsafeCast(value)) >= (0)) && ((unsafeCast(value)) <= (1))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { const value_casted = value as (BarMode) - this.getPeer()?.barMode0Attribute(value_casted) + const options_casted = options as (ScrollableBarModeOptions | undefined) + this.getPeer()?.barMode1Attribute(value_casted, options_casted) return this } throw new Error("Can not select appropriate overload") @@ -241,17 +241,17 @@ export class ArkTabsComponent extends ArkCommonMethodComponent { if (this.checkPriority("barBackgroundBlurStyle")) { const style_type = runtimeType(style) const options_type = runtimeType(options) + if ((((RuntimeType.NUMBER) == (style_type)) && ((unsafeCast(style)) >= (0)) && ((unsafeCast(style)) <= (12))) && (((RuntimeType.UNDEFINED == options_type)))) { + const value_casted = style as (BlurStyle) + this.getPeer()?.barBackgroundBlurStyle0Attribute(value_casted) + return this + } if ((((RuntimeType.NUMBER) == (style_type)) && ((unsafeCast(style)) >= (0)) && ((unsafeCast(style)) <= (12))) && (((RuntimeType.OBJECT == options_type)))) { const style_casted = style as (BlurStyle) const options_casted = options as (BackgroundBlurStyleOptions) this.getPeer()?.barBackgroundBlurStyle1Attribute(style_casted, options_casted) return this } - if ((((RuntimeType.NUMBER) == (style_type)) && ((unsafeCast(style)) >= (0)) && ((unsafeCast(style)) <= (12))) && (((RuntimeType.UNDEFINED == options_type)))) { - const style_casted = style as (BlurStyle) - this.getPeer()?.barBackgroundBlurStyle0Attribute(style_casted) - return this - } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala/arkui/src/ArkTabsControllerMaterialized.ts b/arkoala/arkui/src/ArkTabsControllerMaterialized.ts index 5a16061f0..afcf6fe16 100644 --- a/arkoala/arkui/src/ArkTabsControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTabsControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class TabsController implements MaterializedBase,TabsController { - peer?: Finalizable +export class TabsController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TabsController { - const objTabsController: TabsController = new TabsController() - objTabsController.peer = new Finalizable(ptr, TabsController.getFinalizer()) - return objTabsController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TabsController_ctor() return retval diff --git a/arkoala/arkui/src/ArkTapGestureEventMaterialized.ts b/arkoala/arkui/src/ArkTapGestureEventMaterialized.ts new file mode 100644 index 000000000..248d33d19 --- /dev/null +++ b/arkoala/arkui/src/ArkTapGestureEventMaterialized.ts @@ -0,0 +1,76 @@ +/* + * 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 { BaseGestureEventInternal } from "./ArkBaseGestureEventMaterialized" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase } from "./peers/SerializerBase" +import { unsafeCast } from "./shared/generated-utils" +import { registerCallback } from "./peers/SerializerBase" +import { wrapCallback } from "@koalaui/interop" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class TapGestureEventInternal extends BaseGestureEventInternal implements MaterializedBase,TapGestureEvent { + peer?: Finalizable | undefined + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._TapGestureEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr: KPointer = TapGestureEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, TapGestureEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._TapGestureEvent_getFinalizer() + } + public static fromPtr(ptr: KPointer): TapGestureEventInternal { + const obj: TapGestureEventInternal = new TapGestureEventInternal() + obj.peer = new Finalizable(ptr, TapGestureEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala/arkui/src/ArkText.ts b/arkoala/arkui/src/ArkText.ts index 5f2d2e167..2cb327342 100644 --- a/arkoala/arkui/src/ArkText.ts +++ b/arkoala/arkui/src/ArkText.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -45,17 +45,17 @@ export class ArkTextComponent extends ArkCommonMethodComponent { if (this.checkPriority("font")) { const fontValue_type = runtimeType(fontValue) const options_type = runtimeType(options) + if ((((RuntimeType.UNDEFINED == options_type)))) { + const value_casted = fontValue as (Font) + this.getPeer()?.font0Attribute(value_casted) + return this + } if ((((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { const fontValue_casted = fontValue as (Font) const options_casted = options as (FontSettingOptions | undefined) this.getPeer()?.font1Attribute(fontValue_casted, options_casted) return this } - if ((((RuntimeType.UNDEFINED == options_type)))) { - const fontValue_casted = fontValue as (Font) - this.getPeer()?.font0Attribute(fontValue_casted) - return this - } throw new Error("Can not select appropriate overload") } return this @@ -128,17 +128,17 @@ export class ArkTextComponent extends ArkCommonMethodComponent { if (this.checkPriority("fontWeight")) { const weight_type = runtimeType(weight) const options_type = runtimeType(options) + if ((((RuntimeType.NUMBER == weight_type)) || ((RuntimeType.NUMBER == weight_type)) || ((RuntimeType.STRING == weight_type))) && (((RuntimeType.UNDEFINED == options_type)))) { + const value_casted = weight as (number | FontWeight | string) + this.getPeer()?.fontWeight0Attribute(value_casted) + return this + } if ((((RuntimeType.NUMBER == weight_type)) || ((RuntimeType.NUMBER == weight_type)) || ((RuntimeType.STRING == weight_type))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { const weight_casted = weight as (number | FontWeight | string) const options_casted = options as (FontSettingOptions | undefined) this.getPeer()?.fontWeight1Attribute(weight_casted, options_casted) return this } - if ((((RuntimeType.NUMBER == weight_type)) || ((RuntimeType.NUMBER == weight_type)) || ((RuntimeType.STRING == weight_type))) && (((RuntimeType.UNDEFINED == options_type)))) { - const weight_casted = weight as (number | FontWeight | string) - this.getPeer()?.fontWeight0Attribute(weight_casted) - return this - } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala/arkui/src/ArkTextArea.ts b/arkoala/arkui/src/ArkTextArea.ts index d9f5d56e2..98e868052 100644 --- a/arkoala/arkui/src/ArkTextArea.ts +++ b/arkoala/arkui/src/ArkTextArea.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkTextAreaControllerMaterialized.ts b/arkoala/arkui/src/ArkTextAreaControllerMaterialized.ts index 20097dffb..07e54b591 100644 --- a/arkoala/arkui/src/ArkTextAreaControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTextAreaControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class TextAreaController extends TextContentControllerBase implements MaterializedBase,TextAreaController { - peer?: Finalizable +export class TextAreaController extends TextContentControllerBase implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TextAreaController { - const objTextAreaController: TextAreaController = new TextAreaController() - objTextAreaController.peer = new Finalizable(ptr, TextAreaController.getFinalizer()) - return objTextAreaController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TextAreaController_ctor() return retval diff --git a/arkoala/arkui/src/ArkTextBaseControllerMaterialized.ts b/arkoala/arkui/src/ArkTextBaseControllerMaterialized.ts index 08abd2a71..d6380bc79 100644 --- a/arkoala/arkui/src/ArkTextBaseControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTextBaseControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,7 +16,6 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { LayoutManager } from "./ArkLayoutManagerMaterialized" import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" @@ -49,24 +48,19 @@ import { } from "@koalaui/interop" -export class TextBaseController implements MaterializedBase,TextBaseController { - peer?: Finalizable +export class TextBaseControllerInternal implements MaterializedBase,TextBaseController { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TextBaseController { - const objTextBaseController: TextBaseController = new TextBaseController() - objTextBaseController.peer = new Finalizable(ptr, TextBaseController.getFinalizer()) - return objTextBaseController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TextBaseController_ctor() return retval } constructor() { { - const ctorPtr: KPointer = TextBaseController.ctor() - this.peer = new Finalizable(ctorPtr, TextBaseController.getFinalizer()) + const ctorPtr: KPointer = TextBaseControllerInternal.ctor() + this.peer = new Finalizable(ctorPtr, TextBaseControllerInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -105,11 +99,9 @@ export class TextBaseController implements MaterializedBase,TextBaseController { const retval = ArkUIGeneratedNativeModule._TextBaseController_getLayoutManager(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } -} -export class TextBaseControllerInternal { - public static fromPtr(ptr: KPointer): TextBaseController { - const obj: TextBaseController = new TextBaseController() - obj.peer = new Finalizable(ptr, TextBaseController.getFinalizer()) + public static fromPtr(ptr: KPointer): TextBaseControllerInternal { + const obj: TextBaseControllerInternal = new TextBaseControllerInternal() + obj.peer = new Finalizable(ptr, TextBaseControllerInternal.getFinalizer()) return obj } } diff --git a/arkoala/arkui/src/ArkTextClock.ts b/arkoala/arkui/src/ArkTextClock.ts index 575428ebe..f3e7ce2ca 100644 --- a/arkoala/arkui/src/ArkTextClock.ts +++ b/arkoala/arkui/src/ArkTextClock.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkTextClockControllerMaterialized.ts b/arkoala/arkui/src/ArkTextClockControllerMaterialized.ts index e02b487d7..b446a3746 100644 --- a/arkoala/arkui/src/ArkTextClockControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTextClockControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class TextClockController implements MaterializedBase,TextClockController { - peer?: Finalizable +export class TextClockController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TextClockController { - const objTextClockController: TextClockController = new TextClockController() - objTextClockController.peer = new Finalizable(ptr, TextClockController.getFinalizer()) - return objTextClockController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TextClockController_ctor() return retval diff --git a/arkoala/arkui/src/ArkTextContentControllerBaseMaterialized.ts b/arkoala/arkui/src/ArkTextContentControllerBaseMaterialized.ts index e36cfac74..e24266d8b 100644 --- a/arkoala/arkui/src/ArkTextContentControllerBaseMaterialized.ts +++ b/arkoala/arkui/src/ArkTextContentControllerBaseMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class TextContentControllerBase implements MaterializedBase,TextContentControllerBase { - peer?: Finalizable +export class TextContentControllerBase implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TextContentControllerBase { - const objTextContentControllerBase: TextContentControllerBase = new TextContentControllerBase() - objTextContentControllerBase.peer = new Finalizable(ptr, TextContentControllerBase.getFinalizer()) - return objTextContentControllerBase - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TextContentControllerBase_ctor() return retval diff --git a/arkoala/arkui/src/ArkTextControllerMaterialized.ts b/arkoala/arkui/src/ArkTextControllerMaterialized.ts index 5f049e579..dcbf42977 100644 --- a/arkoala/arkui/src/ArkTextControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTextControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,8 +16,6 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { StyledString } from "./ArkStyledStringMaterialized" -import { LayoutManager } from "./ArkLayoutManagerMaterialized" import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" @@ -50,16 +48,11 @@ import { } from "@koalaui/interop" -export class TextController implements MaterializedBase,TextController { - peer?: Finalizable +export class TextController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TextController { - const objTextController: TextController = new TextController() - objTextController.peer = new Finalizable(ptr, TextController.getFinalizer()) - return objTextController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TextController_ctor() return retval diff --git a/arkoala/arkui/src/ArkTextEditControllerExMaterialized.ts b/arkoala/arkui/src/ArkTextEditControllerExMaterialized.ts index 9fa36bf7e..519999480 100644 --- a/arkoala/arkui/src/ArkTextEditControllerExMaterialized.ts +++ b/arkoala/arkui/src/ArkTextEditControllerExMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,7 +16,7 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { TextBaseController } from "./ArkTextBaseControllerMaterialized" +import { TextBaseControllerInternal } from "./ArkTextBaseControllerMaterialized" import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class TextEditControllerEx extends TextBaseController implements MaterializedBase,TextEditControllerEx { - peer?: Finalizable +export class TextEditControllerExInternal extends TextBaseControllerInternal implements MaterializedBase,TextEditControllerEx { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TextEditControllerEx { - const objTextEditControllerEx: TextEditControllerEx = new TextEditControllerEx() - objTextEditControllerEx.peer = new Finalizable(ptr, TextEditControllerEx.getFinalizer()) - return objTextEditControllerEx - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TextEditControllerEx_ctor() return retval @@ -66,8 +61,8 @@ export class TextEditControllerEx extends TextBaseController implements Material constructor() { super() { - const ctorPtr: KPointer = TextEditControllerEx.ctor() - this.peer = new Finalizable(ctorPtr, TextEditControllerEx.getFinalizer()) + const ctorPtr: KPointer = TextEditControllerExInternal.ctor() + this.peer = new Finalizable(ctorPtr, TextEditControllerExInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -109,11 +104,9 @@ export class TextEditControllerEx extends TextBaseController implements Material const retval = ArkUIGeneratedNativeModule._TextEditControllerEx_getPreviewText(this.peer!.ptr) throw new Error("Object deserialization is not implemented.") } -} -export class TextEditControllerExInternal { - public static fromPtr(ptr: KPointer): TextEditControllerEx { - const obj: TextEditControllerEx = new TextEditControllerEx() - obj.peer = new Finalizable(ptr, TextEditControllerEx.getFinalizer()) + public static fromPtr(ptr: KPointer): TextEditControllerExInternal { + const obj: TextEditControllerExInternal = new TextEditControllerExInternal() + obj.peer = new Finalizable(ptr, TextEditControllerExInternal.getFinalizer()) return obj } } diff --git a/arkoala/arkui/src/ArkTextInput.ts b/arkoala/arkui/src/ArkTextInput.ts index 02d8aeef7..aa3734ea5 100644 --- a/arkoala/arkui/src/ArkTextInput.ts +++ b/arkoala/arkui/src/ArkTextInput.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkTextInputControllerMaterialized.ts b/arkoala/arkui/src/ArkTextInputControllerMaterialized.ts index 841682f4e..7685d7485 100644 --- a/arkoala/arkui/src/ArkTextInputControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTextInputControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,11 @@ import { } from "@koalaui/interop" -export class TextInputController extends TextContentControllerBase implements MaterializedBase,TextInputController { - peer?: Finalizable +export class TextInputController extends TextContentControllerBase implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TextInputController { - const objTextInputController: TextInputController = new TextInputController() - objTextInputController.peer = new Finalizable(ptr, TextInputController.getFinalizer()) - return objTextInputController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TextInputController_ctor() return retval diff --git a/arkoala/arkui/src/ArkTextMenuItemIdMaterialized.ts b/arkoala/arkui/src/ArkTextMenuItemIdMaterialized.ts index 2ef41fbe6..40d931d48 100644 --- a/arkoala/arkui/src/ArkTextMenuItemIdMaterialized.ts +++ b/arkoala/arkui/src/ArkTextMenuItemIdMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,8 +48,8 @@ import { } from "@koalaui/interop" -export class TextMenuItemId implements MaterializedBase,TextMenuItemId { - peer?: Finalizable +export class TextMenuItemId implements MaterializedBase { + peer?: Finalizable | undefined get CUT(): TextMenuItemId { throw new Error("Not implemented") } @@ -74,11 +74,6 @@ export class TextMenuItemId implements MaterializedBase,TextMenuItemId { getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TextMenuItemId { - const objTextMenuItemId: TextMenuItemId = new TextMenuItemId() - objTextMenuItemId.peer = new Finalizable(ptr, TextMenuItemId.getFinalizer()) - return objTextMenuItemId - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TextMenuItemId_ctor() return retval diff --git a/arkoala/arkui/src/ArkTextPicker.ts b/arkoala/arkui/src/ArkTextPicker.ts index 9acdb5e53..4943c3327 100644 --- a/arkoala/arkui/src/ArkTextPicker.ts +++ b/arkoala/arkui/src/ArkTextPicker.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkTextPickerDialogMaterialized.ts b/arkoala/arkui/src/ArkTextPickerDialogMaterialized.ts index 124a004f6..e292ebf3b 100644 --- a/arkoala/arkui/src/ArkTextPickerDialogMaterialized.ts +++ b/arkoala/arkui/src/ArkTextPickerDialogMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class TextPickerDialog implements MaterializedBase,TextPickerDialog { - peer?: Finalizable +export class TextPickerDialog implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TextPickerDialog { - const objTextPickerDialog: TextPickerDialog = new TextPickerDialog() - objTextPickerDialog.peer = new Finalizable(ptr, TextPickerDialog.getFinalizer()) - return objTextPickerDialog - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TextPickerDialog_ctor() return retval diff --git a/arkoala/arkui/src/ArkTextTimer.ts b/arkoala/arkui/src/ArkTextTimer.ts index f8c863410..1c2c97d2c 100644 --- a/arkoala/arkui/src/ArkTextTimer.ts +++ b/arkoala/arkui/src/ArkTextTimer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkTextTimerControllerMaterialized.ts b/arkoala/arkui/src/ArkTextTimerControllerMaterialized.ts index fccec53b8..9f2222fa0 100644 --- a/arkoala/arkui/src/ArkTextTimerControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTextTimerControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class TextTimerController implements MaterializedBase,TextTimerController { - peer?: Finalizable +export class TextTimerController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TextTimerController { - const objTextTimerController: TextTimerController = new TextTimerController() - objTextTimerController.peer = new Finalizable(ptr, TextTimerController.getFinalizer()) - return objTextTimerController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TextTimerController_ctor() return retval diff --git a/arkoala/arkui/src/ArkTimePicker.ts b/arkoala/arkui/src/ArkTimePicker.ts index 3eca0abf0..0206412e7 100644 --- a/arkoala/arkui/src/ArkTimePicker.ts +++ b/arkoala/arkui/src/ArkTimePicker.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkTimePickerDialogMaterialized.ts b/arkoala/arkui/src/ArkTimePickerDialogMaterialized.ts index 07530d448..7335ddb08 100644 --- a/arkoala/arkui/src/ArkTimePickerDialogMaterialized.ts +++ b/arkoala/arkui/src/ArkTimePickerDialogMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class TimePickerDialog implements MaterializedBase,TimePickerDialog { - peer?: Finalizable +export class TimePickerDialog implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TimePickerDialog { - const objTimePickerDialog: TimePickerDialog = new TimePickerDialog() - objTimePickerDialog.peer = new Finalizable(ptr, TimePickerDialog.getFinalizer()) - return objTimePickerDialog - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._TimePickerDialog_ctor() return retval diff --git a/arkoala/arkui/src/ArkToggle.ts b/arkoala/arkui/src/ArkToggle.ts index a01958ec5..f660de2ff 100644 --- a/arkoala/arkui/src/ArkToggle.ts +++ b/arkoala/arkui/src/ArkToggle.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkTouchEventMaterialized.ts b/arkoala/arkui/src/ArkTouchEventMaterialized.ts new file mode 100644 index 000000000..f4bbc8b9f --- /dev/null +++ b/arkoala/arkui/src/ArkTouchEventMaterialized.ts @@ -0,0 +1,180 @@ +/* + * 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 { BaseEventInternal } from "./ArkBaseEventMaterialized" + +import { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase } from "./peers/SerializerBase" +import { unsafeCast } from "./shared/generated-utils" +import { registerCallback } from "./peers/SerializerBase" +import { wrapCallback } from "@koalaui/interop" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class TouchEventInternal extends BaseEventInternal implements MaterializedBase,TouchEvent { + peer?: Finalizable | undefined + 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) + } + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._TouchEvent_ctor() + return retval + } + constructor() { + super() + { + const ctorPtr: KPointer = TouchEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, TouchEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._TouchEvent_getFinalizer() + } + 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 setTouches(touches: Array): void { + const touches_casted = touches as (Array) + this?.setTouches_serialize(touches_casted) + return + } + private setChangedTouches(changedTouches: Array): void { + const changedTouches_casted = changedTouches as (Array) + this?.setChangedTouches_serialize(changedTouches_casted) + return + } + private setStopPropagation(stopPropagation: (() => void)): void { + const stopPropagation_casted = stopPropagation as ((() => void)) + this?.setStopPropagation_serialize(stopPropagation_casted) + return + } + 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) + throw new Error("Object deserialization is not implemented.") + } + private getType_serialize(): TouchType { + const retval = ArkUIGeneratedNativeModule._TouchEvent_getType(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setType_serialize(type: TouchType): void { + ArkUIGeneratedNativeModule._TouchEvent_setType(this.peer!.ptr, type) + } + 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.asArray(), thisSerializer.length()) + thisSerializer.release() + } + 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.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setStopPropagation_serialize(stopPropagation: (() => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(stopPropagation) + ArkUIGeneratedNativeModule._TouchEvent_setStopPropagation(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setPreventDefault_serialize(preventDefault: (() => void)): void { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(preventDefault) + ArkUIGeneratedNativeModule._TouchEvent_setPreventDefault(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + public static fromPtr(ptr: KPointer): TouchEventInternal { + const obj: TouchEventInternal = new TouchEventInternal() + obj.peer = new Finalizable(ptr, TouchEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala/arkui/src/ArkTransitionEffectMaterialized.ts b/arkoala/arkui/src/ArkTransitionEffectMaterialized.ts index 8fe940e6e..0619b0d1f 100644 --- a/arkoala/arkui/src/ArkTransitionEffectMaterialized.ts +++ b/arkoala/arkui/src/ArkTransitionEffectMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,8 +48,8 @@ import { } from "@koalaui/interop" -export class TransitionEffect implements MaterializedBase,TransitionEffect { - peer?: Finalizable +export class TransitionEffect implements MaterializedBase { + peer?: Finalizable | undefined get IDENTITY(): TransitionEffect { throw new Error("Not implemented") } @@ -65,11 +65,6 @@ export class TransitionEffect implements MaterializedBase,TransitionEffect { getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): TransitionEffect { - const objTransitionEffect: TransitionEffect = new TransitionEffect() - objTransitionEffect.peer = new Finalizable(ptr, TransitionEffect.getFinalizer()) - return objTransitionEffect - } static ctor(type: string, effect: TransitionEffects): KPointer { const thisSerializer: Serializer = Serializer.hold() const effect_identity = effect.identity @@ -190,14 +185,18 @@ export class TransitionEffect implements MaterializedBase,TransitionEffect { thisSerializer.writeAnimateParam(value) const retval = ArkUIGeneratedNativeModule._TransitionEffect_animation(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() - return this + const obj: TransitionEffect = new TransitionEffect() + obj.peer = new Finalizable(retval, TransitionEffect.getFinalizer()) + return obj } private combine_serialize(transitionEffect: TransitionEffect): TransitionEffect { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeTransitionEffect(transitionEffect) const retval = ArkUIGeneratedNativeModule._TransitionEffect_combine(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() - return this + const obj: TransitionEffect = new TransitionEffect() + obj.peer = new Finalizable(retval, TransitionEffect.getFinalizer()) + return obj } } export class TransitionEffectInternal { diff --git a/arkoala/arkui/src/ArkUICommonEventMaterialized.ts b/arkoala/arkui/src/ArkUICommonEventMaterialized.ts new file mode 100644 index 000000000..a0b3274c3 --- /dev/null +++ b/arkoala/arkui/src/ArkUICommonEventMaterialized.ts @@ -0,0 +1,263 @@ +/* + * 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 { Finalizable } from "./Finalizable" +import { MaterializedBase } from "./MaterializedBase" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +import { Serializer } from "./peers/Serializer" +import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase } from "./peers/SerializerBase" +import { unsafeCast } from "./shared/generated-utils" +import { registerCallback } from "./peers/SerializerBase" +import { wrapCallback } from "@koalaui/interop" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackKind } from "./peers/CallbackKind" +import { CallbackTransformer } from "./peers/CallbackTransformer" + +import { + int32, + float32 +} from "@koalaui/common" +import { + KInt, + KBoolean, + KFloat, + KUInt, + KStringPtr, + KPointer, + KNativePointer, + KInt32ArrayPtr, + KUint8ArrayPtr, + KFloat32ArrayPtr, + pointer +} from "@koalaui/interop" + + +export class UICommonEventInternal implements MaterializedBase,UICommonEvent { + peer?: Finalizable | undefined + getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._UICommonEvent_ctor() + return retval + } + constructor() { + { + const ctorPtr: KPointer = UICommonEventInternal.ctor() + this.peer = new Finalizable(ctorPtr, UICommonEventInternal.getFinalizer()) + } + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._UICommonEvent_getFinalizer() + } + setOnClick(callback_?: ((event: ClickEvent) => void)): void { + const callback__casted = callback_ as (((event: ClickEvent) => void) | undefined) + this?.setOnClick_serialize(callback__casted) + return + } + setOnTouch(callback_?: ((event: TouchEvent) => void)): void { + const callback__casted = callback_ as (((event: TouchEvent) => void) | undefined) + this?.setOnTouch_serialize(callback__casted) + return + } + setOnAppear(callback_?: (() => void)): void { + const callback__casted = callback_ as ((() => void) | undefined) + this?.setOnAppear_serialize(callback__casted) + return + } + setOnDisappear(callback_?: (() => void)): void { + const callback__casted = callback_ as ((() => void) | undefined) + this?.setOnDisappear_serialize(callback__casted) + return + } + setOnKeyEvent(callback_?: ((event: KeyEvent) => void)): void { + const callback__casted = callback_ as (((event: KeyEvent) => void) | undefined) + this?.setOnKeyEvent_serialize(callback__casted) + return + } + setOnFocus(callback_?: (() => void)): void { + const callback__casted = callback_ as ((() => void) | undefined) + this?.setOnFocus_serialize(callback__casted) + return + } + setOnBlur(callback_?: (() => void)): void { + const callback__casted = callback_ as ((() => void) | undefined) + this?.setOnBlur_serialize(callback__casted) + return + } + setOnHover(callback_?: HoverCallback): void { + const callback__casted = callback_ as (HoverCallback | undefined) + this?.setOnHover_serialize(callback__casted) + return + } + setOnMouse(callback_?: ((event: MouseEvent) => void)): void { + const callback__casted = callback_ as (((event: MouseEvent) => void) | undefined) + this?.setOnMouse_serialize(callback__casted) + return + } + setOnSizeChange(callback_?: SizeChangeCallback): void { + const callback__casted = callback_ as (SizeChangeCallback | undefined) + this?.setOnSizeChange_serialize(callback__casted) + return + } + setOnVisibleAreaApproximateChange(options: VisibleAreaEventOptions, event?: VisibleAreaChangeCallback): void { + const options_casted = options as (VisibleAreaEventOptions) + const event_casted = event as (VisibleAreaChangeCallback | undefined) + this?.setOnVisibleAreaApproximateChange_serialize(options_casted, event_casted) + return + } + private setOnClick_serialize(callback_?: ((event: ClickEvent) => 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._UICommonEvent_setOnClick(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setOnTouch_serialize(callback_?: ((event: TouchEvent) => 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._UICommonEvent_setOnTouch(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setOnAppear_serialize(callback_?: (() => 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._UICommonEvent_setOnAppear(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setOnDisappear_serialize(callback_?: (() => 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._UICommonEvent_setOnDisappear(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setOnKeyEvent_serialize(callback_?: ((event: KeyEvent) => 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._UICommonEvent_setOnKeyEvent(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setOnFocus_serialize(callback_?: (() => 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._UICommonEvent_setOnFocus(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setOnBlur_serialize(callback_?: (() => 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._UICommonEvent_setOnBlur(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setOnHover_serialize(callback_?: HoverCallback): 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.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setOnMouse_serialize(callback_?: ((event: MouseEvent) => 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._UICommonEvent_setOnMouse(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setOnSizeChange_serialize(callback_?: SizeChangeCallback): 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_setOnSizeChange(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private setOnVisibleAreaApproximateChange_serialize(options: VisibleAreaEventOptions, event?: VisibleAreaChangeCallback): 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.asArray(), thisSerializer.length()) + thisSerializer.release() + } + public static fromPtr(ptr: KPointer): UICommonEventInternal { + const obj: UICommonEventInternal = new UICommonEventInternal() + obj.peer = new Finalizable(ptr, UICommonEventInternal.getFinalizer()) + return obj + } +} diff --git a/arkoala/arkui/src/ArkUIExtensionProxyMaterialized.ts b/arkoala/arkui/src/ArkUIExtensionProxyMaterialized.ts index c0124fa84..423a7b4ac 100644 --- a/arkoala/arkui/src/ArkUIExtensionProxyMaterialized.ts +++ b/arkoala/arkui/src/ArkUIExtensionProxyMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,24 +48,19 @@ import { } from "@koalaui/interop" -export class UIExtensionProxy implements MaterializedBase,UIExtensionProxy { - peer?: Finalizable +export class UIExtensionProxyInternal implements MaterializedBase,UIExtensionProxy { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): UIExtensionProxy { - const objUIExtensionProxy: UIExtensionProxy = new UIExtensionProxy() - objUIExtensionProxy.peer = new Finalizable(ptr, UIExtensionProxy.getFinalizer()) - return objUIExtensionProxy - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._UIExtensionProxy_ctor() return retval } constructor() { { - const ctorPtr: KPointer = UIExtensionProxy.ctor() - this.peer = new Finalizable(ctorPtr, UIExtensionProxy.getFinalizer()) + const ctorPtr: KPointer = UIExtensionProxyInternal.ctor() + this.peer = new Finalizable(ctorPtr, UIExtensionProxyInternal.getFinalizer()) } } static getFinalizer(): KPointer { @@ -80,30 +75,30 @@ export class UIExtensionProxy implements MaterializedBase,UIExtensionProxy { const data_casted = data as (Map) return this.sendSync_serialize(data_casted) } - onAsyncReceiverRegister(callback: ((parameter: UIExtensionProxy) => void)): void { - const callback_casted = callback as (((parameter: UIExtensionProxy) => void)) - this?.onAsyncReceiverRegister_serialize(callback_casted) + onAsyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void { + const callback__casted = callback_ as (((parameter: UIExtensionProxy) => void)) + this?.onAsyncReceiverRegister_serialize(callback__casted) return } - onSyncReceiverRegister(callback: ((parameter: UIExtensionProxy) => void)): void { - const callback_casted = callback as (((parameter: UIExtensionProxy) => void)) - this?.onSyncReceiverRegister_serialize(callback_casted) + onSyncReceiverRegister(callback_: ((parameter: UIExtensionProxy) => void)): void { + const callback__casted = callback_ as (((parameter: UIExtensionProxy) => void)) + this?.onSyncReceiverRegister_serialize(callback__casted) return } - offAsyncReceiverRegister(callback?: ((parameter: UIExtensionProxy) => void)): void { - const callback_casted = callback as (((parameter: UIExtensionProxy) => void) | undefined) - this?.offAsyncReceiverRegister_serialize(callback_casted) + offAsyncReceiverRegister(callback_?: ((parameter: UIExtensionProxy) => void)): void { + const callback__casted = callback_ as (((parameter: UIExtensionProxy) => void) | undefined) + this?.offAsyncReceiverRegister_serialize(callback__casted) return } - offSyncReceiverRegister(callback?: ((parameter: UIExtensionProxy) => void)): void { - const callback_casted = callback as (((parameter: UIExtensionProxy) => void) | undefined) - this?.offSyncReceiverRegister_serialize(callback_casted) + 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 { + on(type: string, callback_: ((parameter: UIExtensionProxy) => void)): void { throw new Error("TBD") } - off(type: string, callback: ((parameter: UIExtensionProxy) => void)): void { + off(type: string, callback_: ((parameter: UIExtensionProxy) => void)): void { throw new Error("TBD") } private send_serialize(data: Map): void { @@ -127,47 +122,45 @@ export class UIExtensionProxy implements MaterializedBase,UIExtensionProxy { thisSerializer.release() throw new Error("Object deserialization is not implemented.") } - private onAsyncReceiverRegister_serialize(callback: ((parameter: UIExtensionProxy) => void)): void { + private onAsyncReceiverRegister_serialize(callback_: ((parameter: UIExtensionProxy) => void)): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(callback) + thisSerializer.holdAndWriteCallback(callback_) ArkUIGeneratedNativeModule._UIExtensionProxy_onAsyncReceiverRegister(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - private onSyncReceiverRegister_serialize(callback: ((parameter: UIExtensionProxy) => void)): void { + private onSyncReceiverRegister_serialize(callback_: ((parameter: UIExtensionProxy) => void)): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(callback) + thisSerializer.holdAndWriteCallback(callback_) ArkUIGeneratedNativeModule._UIExtensionProxy_onSyncReceiverRegister(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - private offAsyncReceiverRegister_serialize(callback?: ((parameter: UIExtensionProxy) => void)): void { + 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) + 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.asArray(), thisSerializer.length()) thisSerializer.release() } - private offSyncReceiverRegister_serialize(callback?: ((parameter: UIExtensionProxy) => void)): void { + 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) + 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.asArray(), thisSerializer.length()) thisSerializer.release() } -} -export class UIExtensionProxyInternal { - public static fromPtr(ptr: KPointer): UIExtensionProxy { - const obj: UIExtensionProxy = new UIExtensionProxy() - obj.peer = new Finalizable(ptr, UIExtensionProxy.getFinalizer()) + public static fromPtr(ptr: KPointer): UIExtensionProxyInternal { + const obj: UIExtensionProxyInternal = new UIExtensionProxyInternal() + obj.peer = new Finalizable(ptr, UIExtensionProxyInternal.getFinalizer()) return obj } } diff --git a/arkoala/arkui/src/ArkUIGeneratedNativeModule.ts b/arkoala/arkui/src/ArkUIGeneratedNativeModule.ts index 51f30d6c4..062fcdf11 100644 --- a/arkoala/arkui/src/ArkUIGeneratedNativeModule.ts +++ b/arkoala/arkui/src/ArkUIGeneratedNativeModule.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -4562,7 +4562,7 @@ export class ArkUIGeneratedNativeModule { static _UnifiedData_getFinalizer(): KPointer { throw new Error("Not implemented") } - static _UnifiedData_hasType(ptr: KPointer, type: KStringPtr): boolean { + static _UnifiedData_hasType(ptr: KPointer, UnifiedData_type: KStringPtr): boolean { throw new Error("Not implemented") } static _UnifiedData_getTypes(ptr: KPointer): KPointer { @@ -4583,6 +4583,9 @@ export class ArkUIGeneratedNativeModule { static _LazyForEachOps_SetCurrentIndex(node: KPointer, index: KInt): void { throw new Error("Not implemented") } + static _LazyForEachOps_Prepare(node: KPointer): void { + throw new Error("Not implemented") + } static _DrawingCanvas_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { throw new Error("Not implemented") } @@ -5132,6 +5135,282 @@ export class ArkUIGeneratedNativeModule { static _TransitionEffect_combine(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { throw new Error("Not implemented") } + static _BaseEvent_ctor(): KPointer { + throw new Error("Not implemented") + } + static _BaseEvent_getFinalizer(): KPointer { + throw new Error("Not implemented") + } + static _BaseEvent_getModifierKeyState(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): boolean { + throw new Error("Not implemented") + } + static _BaseEvent_setTarget(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _BaseEvent_getTimestamp(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _BaseEvent_setTimestamp(ptr: KPointer, timestamp: number): void { + throw new Error("Not implemented") + } + static _BaseEvent_getSource(ptr: KPointer): KPointer { + throw new Error("Not implemented") + } + static _BaseEvent_setSource(ptr: KPointer, source: KInt): void { + throw new Error("Not implemented") + } + static _BaseEvent_getAxisHorizontal(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _BaseEvent_setAxisHorizontal(ptr: KPointer, axisHorizontal: number): void { + throw new Error("Not implemented") + } + static _BaseEvent_getAxisVertical(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _BaseEvent_setAxisVertical(ptr: KPointer, axisVertical: number): void { + throw new Error("Not implemented") + } + static _BaseEvent_getPressure(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _BaseEvent_setPressure(ptr: KPointer, pressure: number): void { + throw new Error("Not implemented") + } + static _BaseEvent_getTiltX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _BaseEvent_setTiltX(ptr: KPointer, tiltX: number): void { + throw new Error("Not implemented") + } + static _BaseEvent_getTiltY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _BaseEvent_setTiltY(ptr: KPointer, tiltY: number): void { + throw new Error("Not implemented") + } + static _BaseEvent_getSourceTool(ptr: KPointer): KPointer { + throw new Error("Not implemented") + } + static _BaseEvent_setSourceTool(ptr: KPointer, sourceTool: KInt): void { + throw new Error("Not implemented") + } + static _BaseEvent_getDeviceId(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _BaseEvent_setDeviceId(ptr: KPointer, deviceId: number): void { + throw new Error("Not implemented") + } + static _ClickEvent_ctor(): KPointer { + throw new Error("Not implemented") + } + static _ClickEvent_getFinalizer(): KPointer { + throw new Error("Not implemented") + } + static _ClickEvent_getDisplayX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _ClickEvent_setDisplayX(ptr: KPointer, displayX: number): void { + throw new Error("Not implemented") + } + static _ClickEvent_getDisplayY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _ClickEvent_setDisplayY(ptr: KPointer, displayY: number): void { + throw new Error("Not implemented") + } + static _ClickEvent_getWindowX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _ClickEvent_setWindowX(ptr: KPointer, windowX: number): void { + throw new Error("Not implemented") + } + static _ClickEvent_getWindowY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _ClickEvent_setWindowY(ptr: KPointer, windowY: number): void { + throw new Error("Not implemented") + } + static _ClickEvent_getScreenX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _ClickEvent_setScreenX(ptr: KPointer, screenX: number): void { + throw new Error("Not implemented") + } + static _ClickEvent_getScreenY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _ClickEvent_setScreenY(ptr: KPointer, screenY: number): void { + throw new Error("Not implemented") + } + static _ClickEvent_getX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _ClickEvent_setX(ptr: KPointer, x: number): void { + throw new Error("Not implemented") + } + static _ClickEvent_getY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _ClickEvent_setY(ptr: KPointer, y: number): void { + throw new Error("Not implemented") + } + static _ClickEvent_setPreventDefault(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _HoverEvent_ctor(): KPointer { + throw new Error("Not implemented") + } + static _HoverEvent_getFinalizer(): KPointer { + throw new Error("Not implemented") + } + static _HoverEvent_setStopPropagation(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _MouseEvent_ctor(): KPointer { + throw new Error("Not implemented") + } + static _MouseEvent_getFinalizer(): KPointer { + throw new Error("Not implemented") + } + static _MouseEvent_getButton(ptr: KPointer): KPointer { + throw new Error("Not implemented") + } + static _MouseEvent_setButton(ptr: KPointer, button: KInt): void { + throw new Error("Not implemented") + } + static _MouseEvent_getAction(ptr: KPointer): KPointer { + throw new Error("Not implemented") + } + static _MouseEvent_setAction(ptr: KPointer, action: KInt): void { + throw new Error("Not implemented") + } + static _MouseEvent_getDisplayX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _MouseEvent_setDisplayX(ptr: KPointer, displayX: number): void { + throw new Error("Not implemented") + } + static _MouseEvent_getDisplayY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _MouseEvent_setDisplayY(ptr: KPointer, displayY: number): void { + throw new Error("Not implemented") + } + static _MouseEvent_getWindowX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _MouseEvent_setWindowX(ptr: KPointer, windowX: number): void { + throw new Error("Not implemented") + } + static _MouseEvent_getWindowY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _MouseEvent_setWindowY(ptr: KPointer, windowY: number): void { + throw new Error("Not implemented") + } + static _MouseEvent_getScreenX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _MouseEvent_setScreenX(ptr: KPointer, screenX: number): void { + throw new Error("Not implemented") + } + static _MouseEvent_getScreenY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _MouseEvent_setScreenY(ptr: KPointer, screenY: number): void { + throw new Error("Not implemented") + } + static _MouseEvent_getX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _MouseEvent_setX(ptr: KPointer, x: number): void { + throw new Error("Not implemented") + } + static _MouseEvent_getY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _MouseEvent_setY(ptr: KPointer, y: number): void { + throw new Error("Not implemented") + } + static _MouseEvent_setStopPropagation(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_ctor(): KPointer { + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_getFinalizer(): KPointer { + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_getType(ptr: KPointer): KPointer { + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_setType(ptr: KPointer, type: KInt): void { + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_getX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_setX(ptr: KPointer, x: number): void { + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_getY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_setY(ptr: KPointer, y: number): void { + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_getDisplayX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_setDisplayX(ptr: KPointer, displayX: number): void { + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_getDisplayY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_setDisplayY(ptr: KPointer, displayY: number): void { + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_getWindowX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_setWindowX(ptr: KPointer, windowX: number): void { + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_getWindowY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _AccessibilityHoverEvent_setWindowY(ptr: KPointer, windowY: number): void { + throw new Error("Not implemented") + } + static _TouchEvent_ctor(): KPointer { + throw new Error("Not implemented") + } + static _TouchEvent_getFinalizer(): KPointer { + throw new Error("Not implemented") + } + static _TouchEvent_getHistoricalPoints(ptr: KPointer): KPointer { + throw new Error("Not implemented") + } + static _TouchEvent_getType(ptr: KPointer): KPointer { + throw new Error("Not implemented") + } + static _TouchEvent_setType(ptr: KPointer, type: KInt): void { + throw new Error("Not implemented") + } + static _TouchEvent_setTouches(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _TouchEvent_setChangedTouches(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _TouchEvent_setStopPropagation(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _TouchEvent_setPreventDefault(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } static _PixelMapMock_ctor(): KPointer { throw new Error("Not implemented") } @@ -5141,6 +5420,135 @@ export class ArkUIGeneratedNativeModule { static _PixelMapMock_release(ptr: KPointer): void { throw new Error("Not implemented") } + static _DragEvent_ctor(): KPointer { + throw new Error("Not implemented") + } + static _DragEvent_getFinalizer(): KPointer { + throw new Error("Not implemented") + } + static _DragEvent_getDisplayX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _DragEvent_getDisplayY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _DragEvent_getWindowX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _DragEvent_getWindowY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _DragEvent_getX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _DragEvent_getY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _DragEvent_setData(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _DragEvent_getData(ptr: KPointer): KPointer { + throw new Error("Not implemented") + } + static _DragEvent_getSummary(ptr: KPointer): KPointer { + throw new Error("Not implemented") + } + static _DragEvent_setResult(ptr: KPointer, dragResult: KInt): void { + throw new Error("Not implemented") + } + static _DragEvent_getResult(ptr: KPointer): KPointer { + throw new Error("Not implemented") + } + static _DragEvent_getPreviewRect(ptr: KPointer): KPointer { + throw new Error("Not implemented") + } + static _DragEvent_getVelocityX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _DragEvent_getVelocityY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _DragEvent_getVelocity(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _DragEvent_getModifierKeyState(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): boolean { + throw new Error("Not implemented") + } + static _DragEvent_getDragBehavior(ptr: KPointer): KPointer { + throw new Error("Not implemented") + } + static _DragEvent_setDragBehavior(ptr: KPointer, dragBehavior: KInt): void { + throw new Error("Not implemented") + } + static _DragEvent_getUseCustomDropAnimation(ptr: KPointer): boolean { + throw new Error("Not implemented") + } + static _DragEvent_setUseCustomDropAnimation(ptr: KPointer, useCustomDropAnimation: KInt): void { + throw new Error("Not implemented") + } + static _KeyEvent_ctor(): KPointer { + throw new Error("Not implemented") + } + static _KeyEvent_getFinalizer(): KPointer { + throw new Error("Not implemented") + } + static _KeyEvent_getModifierKeyState(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): boolean { + throw new Error("Not implemented") + } + static _KeyEvent_getType(ptr: KPointer): KPointer { + throw new Error("Not implemented") + } + static _KeyEvent_setType(ptr: KPointer, type: KInt): void { + throw new Error("Not implemented") + } + static _KeyEvent_getKeyCode(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _KeyEvent_setKeyCode(ptr: KPointer, keyCode: number): void { + throw new Error("Not implemented") + } + static _KeyEvent_getKeyText(ptr: KPointer): string { + throw new Error("Not implemented") + } + static _KeyEvent_setKeyText(ptr: KPointer, keyText: KStringPtr): void { + throw new Error("Not implemented") + } + static _KeyEvent_getKeySource(ptr: KPointer): KPointer { + throw new Error("Not implemented") + } + static _KeyEvent_setKeySource(ptr: KPointer, keySource: KInt): void { + throw new Error("Not implemented") + } + static _KeyEvent_getDeviceId(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _KeyEvent_setDeviceId(ptr: KPointer, deviceId: number): void { + throw new Error("Not implemented") + } + static _KeyEvent_getMetaKey(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _KeyEvent_setMetaKey(ptr: KPointer, metaKey: number): void { + throw new Error("Not implemented") + } + static _KeyEvent_getTimestamp(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _KeyEvent_setTimestamp(ptr: KPointer, timestamp: number): void { + throw new Error("Not implemented") + } + static _KeyEvent_setStopPropagation(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _KeyEvent_setIntentionCode(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _KeyEvent_getUnicode(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _KeyEvent_setUnicode(ptr: KPointer, unicode: number): void { + throw new Error("Not implemented") + } static _ProgressMask_ctor(value: number, total: number, thisArray: Uint8Array, thisLength: int32): KPointer { throw new Error("Not implemented") } @@ -5207,6 +5615,45 @@ export class ArkUIGeneratedNativeModule { static _ChildrenMainSize_setChildDefaultSize(ptr: KPointer, childDefaultSize: number): void { throw new Error("Not implemented") } + static _UICommonEvent_ctor(): KPointer { + throw new Error("Not implemented") + } + static _UICommonEvent_getFinalizer(): KPointer { + throw new Error("Not implemented") + } + static _UICommonEvent_setOnClick(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _UICommonEvent_setOnTouch(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _UICommonEvent_setOnAppear(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _UICommonEvent_setOnDisappear(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _UICommonEvent_setOnKeyEvent(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _UICommonEvent_setOnFocus(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _UICommonEvent_setOnBlur(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _UICommonEvent_setOnHover(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _UICommonEvent_setOnMouse(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _UICommonEvent_setOnSizeChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _UICommonEvent_setOnVisibleAreaApproximateChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } static _GestureModifier_ctor(): KPointer { throw new Error("Not implemented") } @@ -5216,6 +5663,57 @@ export class ArkUIGeneratedNativeModule { static _GestureModifier_applyGesture(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { throw new Error("Not implemented") } + static _GlobalScope_common_ctor(): KPointer { + throw new Error("Not implemented") + } + static _GlobalScope_common_getFinalizer(): KPointer { + throw new Error("Not implemented") + } + static _GlobalScope_common_getContext(thisArray: Uint8Array, thisLength: int32): KPointer { + throw new Error("Not implemented") + } + static _GlobalScope_common_postCardAction(thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _GlobalScope_common_dollar_r(value: KStringPtr, thisArray: Uint8Array, thisLength: int32): KPointer { + throw new Error("Not implemented") + } + static _GlobalScope_common_dollar_rawfile(value: KStringPtr): KPointer { + throw new Error("Not implemented") + } + static _GlobalScope_common_animateTo(thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _GlobalScope_common_animateToImmediately(thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _GlobalScope_common_vp2px(value: number): number { + throw new Error("Not implemented") + } + static _GlobalScope_common_px2vp(value: number): number { + throw new Error("Not implemented") + } + static _GlobalScope_common_fp2px(value: number): number { + throw new Error("Not implemented") + } + static _GlobalScope_common_px2fp(value: number): number { + throw new Error("Not implemented") + } + static _GlobalScope_common_lpx2px(value: number): number { + throw new Error("Not implemented") + } + static _GlobalScope_common_px2lpx(value: number): number { + throw new Error("Not implemented") + } + static _GlobalScope_common_requestFocus(value: KStringPtr): boolean { + throw new Error("Not implemented") + } + static _GlobalScope_common_setCursor(value: KInt): void { + throw new Error("Not implemented") + } + static _GlobalScope_common_restoreDefault(): void { + throw new Error("Not implemented") + } static _ContextMenu_ctor(): KPointer { throw new Error("Not implemented") } @@ -5246,6 +5744,198 @@ export class ArkUIGeneratedNativeModule { static _DatePickerDialog_show(thisArray: Uint8Array, thisLength: int32): undefined { throw new Error("Not implemented") } + static _BaseGestureEvent_ctor(): KPointer { + throw new Error("Not implemented") + } + static _BaseGestureEvent_getFinalizer(): KPointer { + throw new Error("Not implemented") + } + static _BaseGestureEvent_setFingerList(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _TapGestureEvent_ctor(): KPointer { + throw new Error("Not implemented") + } + static _TapGestureEvent_getFinalizer(): KPointer { + throw new Error("Not implemented") + } + static _LongPressGestureEvent_ctor(): KPointer { + throw new Error("Not implemented") + } + static _LongPressGestureEvent_getFinalizer(): KPointer { + throw new Error("Not implemented") + } + static _LongPressGestureEvent_getRepeat(ptr: KPointer): boolean { + throw new Error("Not implemented") + } + static _LongPressGestureEvent_setRepeat(ptr: KPointer, repeat: KInt): void { + throw new Error("Not implemented") + } + static _PanGestureEvent_ctor(): KPointer { + throw new Error("Not implemented") + } + static _PanGestureEvent_getFinalizer(): KPointer { + throw new Error("Not implemented") + } + static _PanGestureEvent_getOffsetX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _PanGestureEvent_setOffsetX(ptr: KPointer, offsetX: number): void { + throw new Error("Not implemented") + } + static _PanGestureEvent_getOffsetY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _PanGestureEvent_setOffsetY(ptr: KPointer, offsetY: number): void { + throw new Error("Not implemented") + } + static _PanGestureEvent_getVelocityX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _PanGestureEvent_setVelocityX(ptr: KPointer, velocityX: number): void { + throw new Error("Not implemented") + } + static _PanGestureEvent_getVelocityY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _PanGestureEvent_setVelocityY(ptr: KPointer, velocityY: number): void { + throw new Error("Not implemented") + } + static _PanGestureEvent_getVelocity(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _PanGestureEvent_setVelocity(ptr: KPointer, velocity: number): void { + throw new Error("Not implemented") + } + static _PinchGestureEvent_ctor(): KPointer { + throw new Error("Not implemented") + } + static _PinchGestureEvent_getFinalizer(): KPointer { + throw new Error("Not implemented") + } + static _PinchGestureEvent_getScale(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _PinchGestureEvent_setScale(ptr: KPointer, scale: number): void { + throw new Error("Not implemented") + } + static _PinchGestureEvent_getPinchCenterX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _PinchGestureEvent_setPinchCenterX(ptr: KPointer, pinchCenterX: number): void { + throw new Error("Not implemented") + } + static _PinchGestureEvent_getPinchCenterY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _PinchGestureEvent_setPinchCenterY(ptr: KPointer, pinchCenterY: number): void { + throw new Error("Not implemented") + } + static _RotationGestureEvent_ctor(): KPointer { + throw new Error("Not implemented") + } + static _RotationGestureEvent_getFinalizer(): KPointer { + throw new Error("Not implemented") + } + static _RotationGestureEvent_getAngle(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _RotationGestureEvent_setAngle(ptr: KPointer, angle: number): void { + throw new Error("Not implemented") + } + static _SwipeGestureEvent_ctor(): KPointer { + throw new Error("Not implemented") + } + static _SwipeGestureEvent_getFinalizer(): KPointer { + throw new Error("Not implemented") + } + static _SwipeGestureEvent_getAngle(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _SwipeGestureEvent_setAngle(ptr: KPointer, angle: number): void { + throw new Error("Not implemented") + } + static _SwipeGestureEvent_getSpeed(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _SwipeGestureEvent_setSpeed(ptr: KPointer, speed: number): void { + throw new Error("Not implemented") + } + static _GestureEvent_ctor(): KPointer { + throw new Error("Not implemented") + } + static _GestureEvent_getFinalizer(): KPointer { + throw new Error("Not implemented") + } + static _GestureEvent_getRepeat(ptr: KPointer): boolean { + throw new Error("Not implemented") + } + static _GestureEvent_setRepeat(ptr: KPointer, repeat: KInt): void { + throw new Error("Not implemented") + } + static _GestureEvent_setFingerList(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _GestureEvent_getOffsetX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _GestureEvent_setOffsetX(ptr: KPointer, offsetX: number): void { + throw new Error("Not implemented") + } + static _GestureEvent_getOffsetY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _GestureEvent_setOffsetY(ptr: KPointer, offsetY: number): void { + throw new Error("Not implemented") + } + static _GestureEvent_getAngle(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _GestureEvent_setAngle(ptr: KPointer, angle: number): void { + throw new Error("Not implemented") + } + static _GestureEvent_getSpeed(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _GestureEvent_setSpeed(ptr: KPointer, speed: number): void { + throw new Error("Not implemented") + } + static _GestureEvent_getScale(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _GestureEvent_setScale(ptr: KPointer, scale: number): void { + throw new Error("Not implemented") + } + static _GestureEvent_getPinchCenterX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _GestureEvent_setPinchCenterX(ptr: KPointer, pinchCenterX: number): void { + throw new Error("Not implemented") + } + static _GestureEvent_getPinchCenterY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _GestureEvent_setPinchCenterY(ptr: KPointer, pinchCenterY: number): void { + throw new Error("Not implemented") + } + static _GestureEvent_getVelocityX(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _GestureEvent_setVelocityX(ptr: KPointer, velocityX: number): void { + throw new Error("Not implemented") + } + static _GestureEvent_getVelocityY(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _GestureEvent_setVelocityY(ptr: KPointer, velocityY: number): void { + throw new Error("Not implemented") + } + static _GestureEvent_getVelocity(ptr: KPointer): number { + throw new Error("Not implemented") + } + static _GestureEvent_setVelocity(ptr: KPointer, velocity: number): void { + throw new Error("Not implemented") + } static _PanGestureOptions_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { throw new Error("Not implemented") } @@ -5963,6 +6653,21 @@ export class ArkUIGeneratedNativeModule { static _EditMenuOptions_onMenuItemClick(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): boolean { throw new Error("Not implemented") } + static _SubmitEvent_ctor(): KPointer { + throw new Error("Not implemented") + } + static _SubmitEvent_getFinalizer(): KPointer { + throw new Error("Not implemented") + } + static _SubmitEvent_keepEditableState(ptr: KPointer): void { + throw new Error("Not implemented") + } + static _SubmitEvent_getText(ptr: KPointer): string { + throw new Error("Not implemented") + } + static _SubmitEvent_setText(ptr: KPointer, text: KStringPtr): void { + throw new Error("Not implemented") + } static _TextInputController_ctor(): KPointer { throw new Error("Not implemented") } @@ -6674,5 +7379,26 @@ export class ArkUIGeneratedNativeModule { static _LinearIndicatorController_stop(ptr: KPointer): void { throw new Error("Not implemented") } + static _GlobalScope_inspector_ctor(): KPointer { + throw new Error("Not implemented") + } + static _GlobalScope_inspector_getFinalizer(): KPointer { + throw new Error("Not implemented") + } + static _GlobalScope_inspector_getInspectorNodes(): KPointer { + throw new Error("Not implemented") + } + static _GlobalScope_inspector_getInspectorNodeById(id: number): KPointer { + throw new Error("Not implemented") + } + static _GlobalScope_inspector_registerVsyncCallback(thisArray: Uint8Array, thisLength: int32): void { + throw new Error("Not implemented") + } + static _GlobalScope_inspector_unregisterVsyncCallback(): void { + throw new Error("Not implemented") + } + static _GlobalScope_inspector_setAppBgColor(value: KStringPtr): void { + throw new Error("Not implemented") + } } registerNativeModule("ArkUIGeneratedNativeModule", ArkUIGeneratedNativeModule) \ No newline at end of file diff --git a/arkoala/arkui/src/ArkUIGeneratedNativeModuleEmpty.ts b/arkoala/arkui/src/ArkUIGeneratedNativeModuleEmpty.ts index b5e425ced..551b2ba1c 100644 --- a/arkoala/arkui/src/ArkUIGeneratedNativeModuleEmpty.ts +++ b/arkoala/arkui/src/ArkUIGeneratedNativeModuleEmpty.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -4679,7 +4679,7 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_UnifiedData_getFinalizer") return -1 } - _UnifiedData_hasType(ptr: KPointer, type: KStringPtr): boolean { + _UnifiedData_hasType(ptr: KPointer, UnifiedData_type: KStringPtr): boolean { console.log("_UnifiedData_hasType") return false } @@ -4705,6 +4705,9 @@ export class ArkUIGeneratedNativeModuleEmpty { _LazyForEachOps_SetCurrentIndex(node: KPointer, index: KInt): void { console.log("_LazyForEachOps_SetCurrentIndex") } + _LazyForEachOps_Prepare(node: KPointer): void { + console.log("_LazyForEachOps_Prepare") + } _DrawingCanvas_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { console.log("_DrawingCanvas_ctor") return -1 @@ -5349,6 +5352,331 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_TransitionEffect_combine") return -1 } + _BaseEvent_ctor(): KPointer { + console.log("_BaseEvent_ctor") + return -1 + } + _BaseEvent_getFinalizer(): KPointer { + console.log("_BaseEvent_getFinalizer") + return -1 + } + _BaseEvent_getModifierKeyState(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): boolean { + console.log("_BaseEvent_getModifierKeyState") + return false + } + _BaseEvent_setTarget(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_BaseEvent_setTarget") + } + _BaseEvent_getTimestamp(ptr: KPointer): number { + console.log("_BaseEvent_getTimestamp") + return 1 + } + _BaseEvent_setTimestamp(ptr: KPointer, timestamp: number): void { + console.log("_BaseEvent_setTimestamp") + } + _BaseEvent_getSource(ptr: KPointer): KPointer { + console.log("_BaseEvent_getSource") + return -1 + } + _BaseEvent_setSource(ptr: KPointer, source: KInt): void { + console.log("_BaseEvent_setSource") + } + _BaseEvent_getAxisHorizontal(ptr: KPointer): number { + console.log("_BaseEvent_getAxisHorizontal") + return 1 + } + _BaseEvent_setAxisHorizontal(ptr: KPointer, axisHorizontal: number): void { + console.log("_BaseEvent_setAxisHorizontal") + } + _BaseEvent_getAxisVertical(ptr: KPointer): number { + console.log("_BaseEvent_getAxisVertical") + return 1 + } + _BaseEvent_setAxisVertical(ptr: KPointer, axisVertical: number): void { + console.log("_BaseEvent_setAxisVertical") + } + _BaseEvent_getPressure(ptr: KPointer): number { + console.log("_BaseEvent_getPressure") + return 1 + } + _BaseEvent_setPressure(ptr: KPointer, pressure: number): void { + console.log("_BaseEvent_setPressure") + } + _BaseEvent_getTiltX(ptr: KPointer): number { + console.log("_BaseEvent_getTiltX") + return 1 + } + _BaseEvent_setTiltX(ptr: KPointer, tiltX: number): void { + console.log("_BaseEvent_setTiltX") + } + _BaseEvent_getTiltY(ptr: KPointer): number { + console.log("_BaseEvent_getTiltY") + return 1 + } + _BaseEvent_setTiltY(ptr: KPointer, tiltY: number): void { + console.log("_BaseEvent_setTiltY") + } + _BaseEvent_getSourceTool(ptr: KPointer): KPointer { + console.log("_BaseEvent_getSourceTool") + return -1 + } + _BaseEvent_setSourceTool(ptr: KPointer, sourceTool: KInt): void { + console.log("_BaseEvent_setSourceTool") + } + _BaseEvent_getDeviceId(ptr: KPointer): number { + console.log("_BaseEvent_getDeviceId") + return 1 + } + _BaseEvent_setDeviceId(ptr: KPointer, deviceId: number): void { + console.log("_BaseEvent_setDeviceId") + } + _ClickEvent_ctor(): KPointer { + console.log("_ClickEvent_ctor") + return -1 + } + _ClickEvent_getFinalizer(): KPointer { + console.log("_ClickEvent_getFinalizer") + return -1 + } + _ClickEvent_getDisplayX(ptr: KPointer): number { + console.log("_ClickEvent_getDisplayX") + return 1 + } + _ClickEvent_setDisplayX(ptr: KPointer, displayX: number): void { + console.log("_ClickEvent_setDisplayX") + } + _ClickEvent_getDisplayY(ptr: KPointer): number { + console.log("_ClickEvent_getDisplayY") + return 1 + } + _ClickEvent_setDisplayY(ptr: KPointer, displayY: number): void { + console.log("_ClickEvent_setDisplayY") + } + _ClickEvent_getWindowX(ptr: KPointer): number { + console.log("_ClickEvent_getWindowX") + return 1 + } + _ClickEvent_setWindowX(ptr: KPointer, windowX: number): void { + console.log("_ClickEvent_setWindowX") + } + _ClickEvent_getWindowY(ptr: KPointer): number { + console.log("_ClickEvent_getWindowY") + return 1 + } + _ClickEvent_setWindowY(ptr: KPointer, windowY: number): void { + console.log("_ClickEvent_setWindowY") + } + _ClickEvent_getScreenX(ptr: KPointer): number { + console.log("_ClickEvent_getScreenX") + return 1 + } + _ClickEvent_setScreenX(ptr: KPointer, screenX: number): void { + console.log("_ClickEvent_setScreenX") + } + _ClickEvent_getScreenY(ptr: KPointer): number { + console.log("_ClickEvent_getScreenY") + return 1 + } + _ClickEvent_setScreenY(ptr: KPointer, screenY: number): void { + console.log("_ClickEvent_setScreenY") + } + _ClickEvent_getX(ptr: KPointer): number { + console.log("_ClickEvent_getX") + return 1 + } + _ClickEvent_setX(ptr: KPointer, x: number): void { + console.log("_ClickEvent_setX") + } + _ClickEvent_getY(ptr: KPointer): number { + console.log("_ClickEvent_getY") + return 1 + } + _ClickEvent_setY(ptr: KPointer, y: number): void { + console.log("_ClickEvent_setY") + } + _ClickEvent_setPreventDefault(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_ClickEvent_setPreventDefault") + } + _HoverEvent_ctor(): KPointer { + console.log("_HoverEvent_ctor") + return -1 + } + _HoverEvent_getFinalizer(): KPointer { + console.log("_HoverEvent_getFinalizer") + return -1 + } + _HoverEvent_setStopPropagation(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_HoverEvent_setStopPropagation") + } + _MouseEvent_ctor(): KPointer { + console.log("_MouseEvent_ctor") + return -1 + } + _MouseEvent_getFinalizer(): KPointer { + console.log("_MouseEvent_getFinalizer") + return -1 + } + _MouseEvent_getButton(ptr: KPointer): KPointer { + console.log("_MouseEvent_getButton") + return -1 + } + _MouseEvent_setButton(ptr: KPointer, button: KInt): void { + console.log("_MouseEvent_setButton") + } + _MouseEvent_getAction(ptr: KPointer): KPointer { + console.log("_MouseEvent_getAction") + return -1 + } + _MouseEvent_setAction(ptr: KPointer, action: KInt): void { + console.log("_MouseEvent_setAction") + } + _MouseEvent_getDisplayX(ptr: KPointer): number { + console.log("_MouseEvent_getDisplayX") + return 1 + } + _MouseEvent_setDisplayX(ptr: KPointer, displayX: number): void { + console.log("_MouseEvent_setDisplayX") + } + _MouseEvent_getDisplayY(ptr: KPointer): number { + console.log("_MouseEvent_getDisplayY") + return 1 + } + _MouseEvent_setDisplayY(ptr: KPointer, displayY: number): void { + console.log("_MouseEvent_setDisplayY") + } + _MouseEvent_getWindowX(ptr: KPointer): number { + console.log("_MouseEvent_getWindowX") + return 1 + } + _MouseEvent_setWindowX(ptr: KPointer, windowX: number): void { + console.log("_MouseEvent_setWindowX") + } + _MouseEvent_getWindowY(ptr: KPointer): number { + console.log("_MouseEvent_getWindowY") + return 1 + } + _MouseEvent_setWindowY(ptr: KPointer, windowY: number): void { + console.log("_MouseEvent_setWindowY") + } + _MouseEvent_getScreenX(ptr: KPointer): number { + console.log("_MouseEvent_getScreenX") + return 1 + } + _MouseEvent_setScreenX(ptr: KPointer, screenX: number): void { + console.log("_MouseEvent_setScreenX") + } + _MouseEvent_getScreenY(ptr: KPointer): number { + console.log("_MouseEvent_getScreenY") + return 1 + } + _MouseEvent_setScreenY(ptr: KPointer, screenY: number): void { + console.log("_MouseEvent_setScreenY") + } + _MouseEvent_getX(ptr: KPointer): number { + console.log("_MouseEvent_getX") + return 1 + } + _MouseEvent_setX(ptr: KPointer, x: number): void { + console.log("_MouseEvent_setX") + } + _MouseEvent_getY(ptr: KPointer): number { + console.log("_MouseEvent_getY") + return 1 + } + _MouseEvent_setY(ptr: KPointer, y: number): void { + console.log("_MouseEvent_setY") + } + _MouseEvent_setStopPropagation(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_MouseEvent_setStopPropagation") + } + _AccessibilityHoverEvent_ctor(): KPointer { + console.log("_AccessibilityHoverEvent_ctor") + return -1 + } + _AccessibilityHoverEvent_getFinalizer(): KPointer { + console.log("_AccessibilityHoverEvent_getFinalizer") + return -1 + } + _AccessibilityHoverEvent_getType(ptr: KPointer): KPointer { + console.log("_AccessibilityHoverEvent_getType") + return -1 + } + _AccessibilityHoverEvent_setType(ptr: KPointer, type: KInt): void { + console.log("_AccessibilityHoverEvent_setType") + } + _AccessibilityHoverEvent_getX(ptr: KPointer): number { + console.log("_AccessibilityHoverEvent_getX") + return 1 + } + _AccessibilityHoverEvent_setX(ptr: KPointer, x: number): void { + console.log("_AccessibilityHoverEvent_setX") + } + _AccessibilityHoverEvent_getY(ptr: KPointer): number { + console.log("_AccessibilityHoverEvent_getY") + return 1 + } + _AccessibilityHoverEvent_setY(ptr: KPointer, y: number): void { + console.log("_AccessibilityHoverEvent_setY") + } + _AccessibilityHoverEvent_getDisplayX(ptr: KPointer): number { + console.log("_AccessibilityHoverEvent_getDisplayX") + return 1 + } + _AccessibilityHoverEvent_setDisplayX(ptr: KPointer, displayX: number): void { + console.log("_AccessibilityHoverEvent_setDisplayX") + } + _AccessibilityHoverEvent_getDisplayY(ptr: KPointer): number { + console.log("_AccessibilityHoverEvent_getDisplayY") + return 1 + } + _AccessibilityHoverEvent_setDisplayY(ptr: KPointer, displayY: number): void { + console.log("_AccessibilityHoverEvent_setDisplayY") + } + _AccessibilityHoverEvent_getWindowX(ptr: KPointer): number { + console.log("_AccessibilityHoverEvent_getWindowX") + return 1 + } + _AccessibilityHoverEvent_setWindowX(ptr: KPointer, windowX: number): void { + console.log("_AccessibilityHoverEvent_setWindowX") + } + _AccessibilityHoverEvent_getWindowY(ptr: KPointer): number { + console.log("_AccessibilityHoverEvent_getWindowY") + return 1 + } + _AccessibilityHoverEvent_setWindowY(ptr: KPointer, windowY: number): void { + console.log("_AccessibilityHoverEvent_setWindowY") + } + _TouchEvent_ctor(): KPointer { + console.log("_TouchEvent_ctor") + return -1 + } + _TouchEvent_getFinalizer(): KPointer { + console.log("_TouchEvent_getFinalizer") + return -1 + } + _TouchEvent_getHistoricalPoints(ptr: KPointer): KPointer { + console.log("_TouchEvent_getHistoricalPoints") + return -1 + } + _TouchEvent_getType(ptr: KPointer): KPointer { + console.log("_TouchEvent_getType") + return -1 + } + _TouchEvent_setType(ptr: KPointer, type: KInt): void { + console.log("_TouchEvent_setType") + } + _TouchEvent_setTouches(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_TouchEvent_setTouches") + } + _TouchEvent_setChangedTouches(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_TouchEvent_setChangedTouches") + } + _TouchEvent_setStopPropagation(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_TouchEvent_setStopPropagation") + } + _TouchEvent_setPreventDefault(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_TouchEvent_setPreventDefault") + } _PixelMapMock_ctor(): KPointer { console.log("_PixelMapMock_ctor") return -1 @@ -5360,6 +5688,164 @@ export class ArkUIGeneratedNativeModuleEmpty { _PixelMapMock_release(ptr: KPointer): void { console.log("_PixelMapMock_release") } + _DragEvent_ctor(): KPointer { + console.log("_DragEvent_ctor") + return -1 + } + _DragEvent_getFinalizer(): KPointer { + console.log("_DragEvent_getFinalizer") + return -1 + } + _DragEvent_getDisplayX(ptr: KPointer): number { + console.log("_DragEvent_getDisplayX") + return 1 + } + _DragEvent_getDisplayY(ptr: KPointer): number { + console.log("_DragEvent_getDisplayY") + return 1 + } + _DragEvent_getWindowX(ptr: KPointer): number { + console.log("_DragEvent_getWindowX") + return 1 + } + _DragEvent_getWindowY(ptr: KPointer): number { + console.log("_DragEvent_getWindowY") + return 1 + } + _DragEvent_getX(ptr: KPointer): number { + console.log("_DragEvent_getX") + return 1 + } + _DragEvent_getY(ptr: KPointer): number { + console.log("_DragEvent_getY") + return 1 + } + _DragEvent_setData(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_DragEvent_setData") + } + _DragEvent_getData(ptr: KPointer): KPointer { + console.log("_DragEvent_getData") + return -1 + } + _DragEvent_getSummary(ptr: KPointer): KPointer { + console.log("_DragEvent_getSummary") + return -1 + } + _DragEvent_setResult(ptr: KPointer, dragResult: KInt): void { + console.log("_DragEvent_setResult") + } + _DragEvent_getResult(ptr: KPointer): KPointer { + console.log("_DragEvent_getResult") + return -1 + } + _DragEvent_getPreviewRect(ptr: KPointer): KPointer { + console.log("_DragEvent_getPreviewRect") + return -1 + } + _DragEvent_getVelocityX(ptr: KPointer): number { + console.log("_DragEvent_getVelocityX") + return 1 + } + _DragEvent_getVelocityY(ptr: KPointer): number { + console.log("_DragEvent_getVelocityY") + return 1 + } + _DragEvent_getVelocity(ptr: KPointer): number { + console.log("_DragEvent_getVelocity") + return 1 + } + _DragEvent_getModifierKeyState(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): boolean { + console.log("_DragEvent_getModifierKeyState") + return false + } + _DragEvent_getDragBehavior(ptr: KPointer): KPointer { + console.log("_DragEvent_getDragBehavior") + return -1 + } + _DragEvent_setDragBehavior(ptr: KPointer, dragBehavior: KInt): void { + console.log("_DragEvent_setDragBehavior") + } + _DragEvent_getUseCustomDropAnimation(ptr: KPointer): boolean { + console.log("_DragEvent_getUseCustomDropAnimation") + return false + } + _DragEvent_setUseCustomDropAnimation(ptr: KPointer, useCustomDropAnimation: KInt): void { + console.log("_DragEvent_setUseCustomDropAnimation") + } + _KeyEvent_ctor(): KPointer { + console.log("_KeyEvent_ctor") + return -1 + } + _KeyEvent_getFinalizer(): KPointer { + console.log("_KeyEvent_getFinalizer") + return -1 + } + _KeyEvent_getModifierKeyState(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): boolean { + console.log("_KeyEvent_getModifierKeyState") + return false + } + _KeyEvent_getType(ptr: KPointer): KPointer { + console.log("_KeyEvent_getType") + return -1 + } + _KeyEvent_setType(ptr: KPointer, type: KInt): void { + console.log("_KeyEvent_setType") + } + _KeyEvent_getKeyCode(ptr: KPointer): number { + console.log("_KeyEvent_getKeyCode") + return 1 + } + _KeyEvent_setKeyCode(ptr: KPointer, keyCode: number): void { + console.log("_KeyEvent_setKeyCode") + } + _KeyEvent_getKeyText(ptr: KPointer): string { + console.log("_KeyEvent_getKeyText") + return "" + } + _KeyEvent_setKeyText(ptr: KPointer, keyText: KStringPtr): void { + console.log("_KeyEvent_setKeyText") + } + _KeyEvent_getKeySource(ptr: KPointer): KPointer { + console.log("_KeyEvent_getKeySource") + return -1 + } + _KeyEvent_setKeySource(ptr: KPointer, keySource: KInt): void { + console.log("_KeyEvent_setKeySource") + } + _KeyEvent_getDeviceId(ptr: KPointer): number { + console.log("_KeyEvent_getDeviceId") + return 1 + } + _KeyEvent_setDeviceId(ptr: KPointer, deviceId: number): void { + console.log("_KeyEvent_setDeviceId") + } + _KeyEvent_getMetaKey(ptr: KPointer): number { + console.log("_KeyEvent_getMetaKey") + return 1 + } + _KeyEvent_setMetaKey(ptr: KPointer, metaKey: number): void { + console.log("_KeyEvent_setMetaKey") + } + _KeyEvent_getTimestamp(ptr: KPointer): number { + console.log("_KeyEvent_getTimestamp") + return 1 + } + _KeyEvent_setTimestamp(ptr: KPointer, timestamp: number): void { + console.log("_KeyEvent_setTimestamp") + } + _KeyEvent_setStopPropagation(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_KeyEvent_setStopPropagation") + } + _KeyEvent_setIntentionCode(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_KeyEvent_setIntentionCode") + } + _KeyEvent_getUnicode(ptr: KPointer): number { + console.log("_KeyEvent_getUnicode") + return 1 + } + _KeyEvent_setUnicode(ptr: KPointer, unicode: number): void { + console.log("_KeyEvent_setUnicode") + } _ProgressMask_ctor(value: number, total: number, thisArray: Uint8Array, thisLength: int32): KPointer { console.log("_ProgressMask_ctor") return -1 @@ -5442,6 +5928,47 @@ export class ArkUIGeneratedNativeModuleEmpty { _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: Uint8Array, thisLength: int32): void { + console.log("_UICommonEvent_setOnClick") + } + _UICommonEvent_setOnTouch(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_UICommonEvent_setOnTouch") + } + _UICommonEvent_setOnAppear(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_UICommonEvent_setOnAppear") + } + _UICommonEvent_setOnDisappear(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_UICommonEvent_setOnDisappear") + } + _UICommonEvent_setOnKeyEvent(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_UICommonEvent_setOnKeyEvent") + } + _UICommonEvent_setOnFocus(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_UICommonEvent_setOnFocus") + } + _UICommonEvent_setOnBlur(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_UICommonEvent_setOnBlur") + } + _UICommonEvent_setOnHover(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_UICommonEvent_setOnHover") + } + _UICommonEvent_setOnMouse(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_UICommonEvent_setOnMouse") + } + _UICommonEvent_setOnSizeChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_UICommonEvent_setOnSizeChange") + } + _UICommonEvent_setOnVisibleAreaApproximateChange(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_UICommonEvent_setOnVisibleAreaApproximateChange") + } _GestureModifier_ctor(): KPointer { console.log("_GestureModifier_ctor") return -1 @@ -5453,6 +5980,69 @@ export class ArkUIGeneratedNativeModuleEmpty { _GestureModifier_applyGesture(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { console.log("_GestureModifier_applyGesture") } + _GlobalScope_common_ctor(): KPointer { + console.log("_GlobalScope_common_ctor") + return -1 + } + _GlobalScope_common_getFinalizer(): KPointer { + console.log("_GlobalScope_common_getFinalizer") + return -1 + } + _GlobalScope_common_getContext(thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_GlobalScope_common_getContext") + return -1 + } + _GlobalScope_common_postCardAction(thisArray: Uint8Array, thisLength: int32): void { + console.log("_GlobalScope_common_postCardAction") + } + _GlobalScope_common_dollar_r(value: KStringPtr, thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_GlobalScope_common_dollar_r") + return -1 + } + _GlobalScope_common_dollar_rawfile(value: KStringPtr): KPointer { + console.log("_GlobalScope_common_dollar_rawfile") + return -1 + } + _GlobalScope_common_animateTo(thisArray: Uint8Array, thisLength: int32): void { + console.log("_GlobalScope_common_animateTo") + } + _GlobalScope_common_animateToImmediately(thisArray: Uint8Array, thisLength: int32): void { + console.log("_GlobalScope_common_animateToImmediately") + } + _GlobalScope_common_vp2px(value: number): number { + console.log("_GlobalScope_common_vp2px") + return 1 + } + _GlobalScope_common_px2vp(value: number): number { + console.log("_GlobalScope_common_px2vp") + return 1 + } + _GlobalScope_common_fp2px(value: number): number { + console.log("_GlobalScope_common_fp2px") + return 1 + } + _GlobalScope_common_px2fp(value: number): number { + console.log("_GlobalScope_common_px2fp") + return 1 + } + _GlobalScope_common_lpx2px(value: number): number { + console.log("_GlobalScope_common_lpx2px") + return 1 + } + _GlobalScope_common_px2lpx(value: number): number { + console.log("_GlobalScope_common_px2lpx") + return 1 + } + _GlobalScope_common_requestFocus(value: KStringPtr): boolean { + console.log("_GlobalScope_common_requestFocus") + return false + } + _GlobalScope_common_setCursor(value: KInt): void { + console.log("_GlobalScope_common_setCursor") + } + _GlobalScope_common_restoreDefault(): void { + console.log("_GlobalScope_common_restoreDefault") + } _ContextMenu_ctor(): KPointer { console.log("_ContextMenu_ctor") return -1 @@ -5493,6 +6083,237 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_DatePickerDialog_show") return undefined } + _BaseGestureEvent_ctor(): KPointer { + console.log("_BaseGestureEvent_ctor") + return -1 + } + _BaseGestureEvent_getFinalizer(): KPointer { + console.log("_BaseGestureEvent_getFinalizer") + return -1 + } + _BaseGestureEvent_setFingerList(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_BaseGestureEvent_setFingerList") + } + _TapGestureEvent_ctor(): KPointer { + console.log("_TapGestureEvent_ctor") + return -1 + } + _TapGestureEvent_getFinalizer(): KPointer { + console.log("_TapGestureEvent_getFinalizer") + return -1 + } + _LongPressGestureEvent_ctor(): KPointer { + console.log("_LongPressGestureEvent_ctor") + return -1 + } + _LongPressGestureEvent_getFinalizer(): KPointer { + console.log("_LongPressGestureEvent_getFinalizer") + return -1 + } + _LongPressGestureEvent_getRepeat(ptr: KPointer): boolean { + console.log("_LongPressGestureEvent_getRepeat") + return false + } + _LongPressGestureEvent_setRepeat(ptr: KPointer, repeat: KInt): void { + console.log("_LongPressGestureEvent_setRepeat") + } + _PanGestureEvent_ctor(): KPointer { + console.log("_PanGestureEvent_ctor") + return -1 + } + _PanGestureEvent_getFinalizer(): KPointer { + console.log("_PanGestureEvent_getFinalizer") + return -1 + } + _PanGestureEvent_getOffsetX(ptr: KPointer): number { + console.log("_PanGestureEvent_getOffsetX") + return 1 + } + _PanGestureEvent_setOffsetX(ptr: KPointer, offsetX: number): void { + console.log("_PanGestureEvent_setOffsetX") + } + _PanGestureEvent_getOffsetY(ptr: KPointer): number { + console.log("_PanGestureEvent_getOffsetY") + return 1 + } + _PanGestureEvent_setOffsetY(ptr: KPointer, offsetY: number): void { + console.log("_PanGestureEvent_setOffsetY") + } + _PanGestureEvent_getVelocityX(ptr: KPointer): number { + console.log("_PanGestureEvent_getVelocityX") + return 1 + } + _PanGestureEvent_setVelocityX(ptr: KPointer, velocityX: number): void { + console.log("_PanGestureEvent_setVelocityX") + } + _PanGestureEvent_getVelocityY(ptr: KPointer): number { + console.log("_PanGestureEvent_getVelocityY") + return 1 + } + _PanGestureEvent_setVelocityY(ptr: KPointer, velocityY: number): void { + console.log("_PanGestureEvent_setVelocityY") + } + _PanGestureEvent_getVelocity(ptr: KPointer): number { + console.log("_PanGestureEvent_getVelocity") + return 1 + } + _PanGestureEvent_setVelocity(ptr: KPointer, velocity: number): void { + console.log("_PanGestureEvent_setVelocity") + } + _PinchGestureEvent_ctor(): KPointer { + console.log("_PinchGestureEvent_ctor") + return -1 + } + _PinchGestureEvent_getFinalizer(): KPointer { + console.log("_PinchGestureEvent_getFinalizer") + return -1 + } + _PinchGestureEvent_getScale(ptr: KPointer): number { + console.log("_PinchGestureEvent_getScale") + return 1 + } + _PinchGestureEvent_setScale(ptr: KPointer, scale: number): void { + console.log("_PinchGestureEvent_setScale") + } + _PinchGestureEvent_getPinchCenterX(ptr: KPointer): number { + console.log("_PinchGestureEvent_getPinchCenterX") + return 1 + } + _PinchGestureEvent_setPinchCenterX(ptr: KPointer, pinchCenterX: number): void { + console.log("_PinchGestureEvent_setPinchCenterX") + } + _PinchGestureEvent_getPinchCenterY(ptr: KPointer): number { + console.log("_PinchGestureEvent_getPinchCenterY") + return 1 + } + _PinchGestureEvent_setPinchCenterY(ptr: KPointer, pinchCenterY: number): void { + console.log("_PinchGestureEvent_setPinchCenterY") + } + _RotationGestureEvent_ctor(): KPointer { + console.log("_RotationGestureEvent_ctor") + return -1 + } + _RotationGestureEvent_getFinalizer(): KPointer { + console.log("_RotationGestureEvent_getFinalizer") + return -1 + } + _RotationGestureEvent_getAngle(ptr: KPointer): number { + console.log("_RotationGestureEvent_getAngle") + return 1 + } + _RotationGestureEvent_setAngle(ptr: KPointer, angle: number): void { + console.log("_RotationGestureEvent_setAngle") + } + _SwipeGestureEvent_ctor(): KPointer { + console.log("_SwipeGestureEvent_ctor") + return -1 + } + _SwipeGestureEvent_getFinalizer(): KPointer { + console.log("_SwipeGestureEvent_getFinalizer") + return -1 + } + _SwipeGestureEvent_getAngle(ptr: KPointer): number { + console.log("_SwipeGestureEvent_getAngle") + return 1 + } + _SwipeGestureEvent_setAngle(ptr: KPointer, angle: number): void { + console.log("_SwipeGestureEvent_setAngle") + } + _SwipeGestureEvent_getSpeed(ptr: KPointer): number { + console.log("_SwipeGestureEvent_getSpeed") + return 1 + } + _SwipeGestureEvent_setSpeed(ptr: KPointer, speed: number): void { + console.log("_SwipeGestureEvent_setSpeed") + } + _GestureEvent_ctor(): KPointer { + console.log("_GestureEvent_ctor") + return -1 + } + _GestureEvent_getFinalizer(): KPointer { + console.log("_GestureEvent_getFinalizer") + return -1 + } + _GestureEvent_getRepeat(ptr: KPointer): boolean { + console.log("_GestureEvent_getRepeat") + return false + } + _GestureEvent_setRepeat(ptr: KPointer, repeat: KInt): void { + console.log("_GestureEvent_setRepeat") + } + _GestureEvent_setFingerList(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_GestureEvent_setFingerList") + } + _GestureEvent_getOffsetX(ptr: KPointer): number { + console.log("_GestureEvent_getOffsetX") + return 1 + } + _GestureEvent_setOffsetX(ptr: KPointer, offsetX: number): void { + console.log("_GestureEvent_setOffsetX") + } + _GestureEvent_getOffsetY(ptr: KPointer): number { + console.log("_GestureEvent_getOffsetY") + return 1 + } + _GestureEvent_setOffsetY(ptr: KPointer, offsetY: number): void { + console.log("_GestureEvent_setOffsetY") + } + _GestureEvent_getAngle(ptr: KPointer): number { + console.log("_GestureEvent_getAngle") + return 1 + } + _GestureEvent_setAngle(ptr: KPointer, angle: number): void { + console.log("_GestureEvent_setAngle") + } + _GestureEvent_getSpeed(ptr: KPointer): number { + console.log("_GestureEvent_getSpeed") + return 1 + } + _GestureEvent_setSpeed(ptr: KPointer, speed: number): void { + console.log("_GestureEvent_setSpeed") + } + _GestureEvent_getScale(ptr: KPointer): number { + console.log("_GestureEvent_getScale") + return 1 + } + _GestureEvent_setScale(ptr: KPointer, scale: number): void { + console.log("_GestureEvent_setScale") + } + _GestureEvent_getPinchCenterX(ptr: KPointer): number { + console.log("_GestureEvent_getPinchCenterX") + return 1 + } + _GestureEvent_setPinchCenterX(ptr: KPointer, pinchCenterX: number): void { + console.log("_GestureEvent_setPinchCenterX") + } + _GestureEvent_getPinchCenterY(ptr: KPointer): number { + console.log("_GestureEvent_getPinchCenterY") + return 1 + } + _GestureEvent_setPinchCenterY(ptr: KPointer, pinchCenterY: number): void { + console.log("_GestureEvent_setPinchCenterY") + } + _GestureEvent_getVelocityX(ptr: KPointer): number { + console.log("_GestureEvent_getVelocityX") + return 1 + } + _GestureEvent_setVelocityX(ptr: KPointer, velocityX: number): void { + console.log("_GestureEvent_setVelocityX") + } + _GestureEvent_getVelocityY(ptr: KPointer): number { + console.log("_GestureEvent_getVelocityY") + return 1 + } + _GestureEvent_setVelocityY(ptr: KPointer, velocityY: number): void { + console.log("_GestureEvent_setVelocityY") + } + _GestureEvent_getVelocity(ptr: KPointer): number { + console.log("_GestureEvent_getVelocity") + return 1 + } + _GestureEvent_setVelocity(ptr: KPointer, velocity: number): void { + console.log("_GestureEvent_setVelocity") + } _PanGestureOptions_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { console.log("_PanGestureOptions_ctor") return -1 @@ -6381,6 +7202,24 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_EditMenuOptions_onMenuItemClick") return false } + _SubmitEvent_ctor(): KPointer { + console.log("_SubmitEvent_ctor") + return -1 + } + _SubmitEvent_getFinalizer(): KPointer { + console.log("_SubmitEvent_getFinalizer") + return -1 + } + _SubmitEvent_keepEditableState(ptr: KPointer): void { + console.log("_SubmitEvent_keepEditableState") + } + _SubmitEvent_getText(ptr: KPointer): string { + console.log("_SubmitEvent_getText") + return "" + } + _SubmitEvent_setText(ptr: KPointer, text: KStringPtr): void { + console.log("_SubmitEvent_setText") + } _TextInputController_ctor(): KPointer { console.log("_TextInputController_ctor") return -1 @@ -7253,4 +8092,29 @@ export class ArkUIGeneratedNativeModuleEmpty { _LinearIndicatorController_stop(ptr: KPointer): void { console.log("_LinearIndicatorController_stop") } + _GlobalScope_inspector_ctor(): KPointer { + console.log("_GlobalScope_inspector_ctor") + return -1 + } + _GlobalScope_inspector_getFinalizer(): KPointer { + console.log("_GlobalScope_inspector_getFinalizer") + return -1 + } + _GlobalScope_inspector_getInspectorNodes(): KPointer { + console.log("_GlobalScope_inspector_getInspectorNodes") + return -1 + } + _GlobalScope_inspector_getInspectorNodeById(id: number): KPointer { + console.log("_GlobalScope_inspector_getInspectorNodeById") + return -1 + } + _GlobalScope_inspector_registerVsyncCallback(thisArray: Uint8Array, thisLength: int32): void { + console.log("_GlobalScope_inspector_registerVsyncCallback") + } + _GlobalScope_inspector_unregisterVsyncCallback(): void { + console.log("_GlobalScope_inspector_unregisterVsyncCallback") + } + _GlobalScope_inspector_setAppBgColor(value: KStringPtr): void { + console.log("_GlobalScope_inspector_setAppBgColor") + } } \ No newline at end of file diff --git a/arkoala/arkui/src/ArkUiExtensionComponent.ts b/arkoala/arkui/src/ArkUiExtensionComponent.ts index f57a973e7..2e077f7f6 100644 --- a/arkoala/arkui/src/ArkUiExtensionComponent.ts +++ b/arkoala/arkui/src/ArkUiExtensionComponent.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkUnifiedDataMaterialized.ts b/arkoala/arkui/src/ArkUnifiedDataMaterialized.ts index 2749c1030..a80213495 100644 --- a/arkoala/arkui/src/ArkUnifiedDataMaterialized.ts +++ b/arkoala/arkui/src/ArkUnifiedDataMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class UnifiedData implements MaterializedBase,UnifiedData { - peer?: Finalizable +export class UnifiedData implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): UnifiedData { - const objUnifiedData: UnifiedData = new UnifiedData() - objUnifiedData.peer = new Finalizable(ptr, UnifiedData.getFinalizer()) - return objUnifiedData - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._UnifiedData_ctor() return retval @@ -71,15 +66,15 @@ export class UnifiedData implements MaterializedBase,UnifiedData { static getFinalizer(): KPointer { return ArkUIGeneratedNativeModule._UnifiedData_getFinalizer() } - hasType(type: string): boolean { - const type_casted = type as (string) - return this.hasType_serialize(type_casted) + hasType(UnifiedData_type: string): boolean { + const UnifiedData_type_casted = UnifiedData_type as (string) + return this.hasType_serialize(UnifiedData_type_casted) } getTypes(): Array { return this.getTypes_serialize() } - private hasType_serialize(type: string): boolean { - const retval = ArkUIGeneratedNativeModule._UnifiedData_hasType(this.peer!.ptr, type) + private hasType_serialize(UnifiedData_type: string): boolean { + const retval = ArkUIGeneratedNativeModule._UnifiedData_hasType(this.peer!.ptr, UnifiedData_type) return retval } private getTypes_serialize(): Array { diff --git a/arkoala/arkui/src/ArkVideo.ts b/arkoala/arkui/src/ArkVideo.ts index b777c8d09..a83a36b1e 100644 --- a/arkoala/arkui/src/ArkVideo.ts +++ b/arkoala/arkui/src/ArkVideo.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkVideoControllerMaterialized.ts b/arkoala/arkui/src/ArkVideoControllerMaterialized.ts index 272da0847..42655d371 100644 --- a/arkoala/arkui/src/ArkVideoControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkVideoControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class VideoController implements MaterializedBase,VideoController { - peer?: Finalizable +export class VideoController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): VideoController { - const objVideoController: VideoController = new VideoController() - objVideoController.peer = new Finalizable(ptr, VideoController.getFinalizer()) - return objVideoController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._VideoController_ctor() return retval @@ -83,15 +78,15 @@ export class VideoController implements MaterializedBase,VideoController { setCurrentTime(value: number, seekMode?: SeekMode): undefined { const value_type = runtimeType(value) const seekMode_type = runtimeType(seekMode) + if ((((RuntimeType.UNDEFINED == seekMode_type)))) { + const value_casted = value as (number) + return this.setCurrentTime0_serialize(value_casted) + } if ((((RuntimeType.NUMBER == seekMode_type)))) { const value_casted = value as (number) const seekMode_casted = seekMode as (SeekMode) return this.setCurrentTime1_serialize(value_casted, seekMode_casted) } - if ((((RuntimeType.UNDEFINED == seekMode_type)))) { - const value_casted = value as (number) - return this.setCurrentTime0_serialize(value_casted) - } throw new Error("Can not select appropriate overload") } requestFullscreen(value: boolean): undefined { diff --git a/arkoala/arkui/src/ArkViewMaterialized.ts b/arkoala/arkui/src/ArkViewMaterialized.ts index 794fe3c07..aef0da679 100644 --- a/arkoala/arkui/src/ArkViewMaterialized.ts +++ b/arkoala/arkui/src/ArkViewMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class View implements MaterializedBase,View { - peer?: Finalizable +export class View implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): View { - const objView: View = new View() - objView.peer = new Finalizable(ptr, View.getFinalizer()) - return objView - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._View_ctor() return retval diff --git a/arkoala/arkui/src/ArkWaterFlow.ts b/arkoala/arkui/src/ArkWaterFlow.ts index 553b24a4c..d2892b2a4 100644 --- a/arkoala/arkui/src/ArkWaterFlow.ts +++ b/arkoala/arkui/src/ArkWaterFlow.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -125,17 +125,17 @@ export class ArkWaterFlowComponent extends ArkScrollableCommonMethodComponent { if (this.checkPriority("cachedCount")) { const count_type = runtimeType(count) const show_type = runtimeType(show) + if ((((RuntimeType.UNDEFINED == show_type)))) { + const value_casted = count as (number) + this.getPeer()?.cachedCount0Attribute(value_casted) + return this + } if ((((RuntimeType.BOOLEAN == show_type)))) { const count_casted = count as (number) const show_casted = show as (boolean) this.getPeer()?.cachedCount1Attribute(count_casted, show_casted) return this } - if ((((RuntimeType.UNDEFINED == show_type)))) { - const count_casted = count as (number) - this.getPeer()?.cachedCount0Attribute(count_casted) - return this - } throw new Error("Can not select appropriate overload") } return this diff --git a/arkoala/arkui/src/ArkWaterFlowSectionsMaterialized.ts b/arkoala/arkui/src/ArkWaterFlowSectionsMaterialized.ts index cb2b69440..8481e22ac 100644 --- a/arkoala/arkui/src/ArkWaterFlowSectionsMaterialized.ts +++ b/arkoala/arkui/src/ArkWaterFlowSectionsMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class WaterFlowSections implements MaterializedBase,WaterFlowSections { - peer?: Finalizable +export class WaterFlowSections implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): WaterFlowSections { - const objWaterFlowSections: WaterFlowSections = new WaterFlowSections() - objWaterFlowSections.peer = new Finalizable(ptr, WaterFlowSections.getFinalizer()) - return objWaterFlowSections - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._WaterFlowSections_ctor() return retval diff --git a/arkoala/arkui/src/ArkWeb.ts b/arkoala/arkui/src/ArkWeb.ts index 7a5936e54..7927b567d 100644 --- a/arkoala/arkui/src/ArkWeb.ts +++ b/arkoala/arkui/src/ArkWeb.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -466,9 +466,9 @@ export class ArkWebComponent extends ArkCommonMethodComponent { return this } /** @memo */ - onFileSelectorShow(value: ((event?: { callback: Function, fileSelector: Object }) => void)): this { + onFileSelectorShow(value: ((event?: { callback_: Function, fileSelector: Object }) => void)): this { if (this.checkPriority("onFileSelectorShow")) { - const value_casted = value as (((event?: { callback: Function, fileSelector: Object }) => void)) + const value_casted = value as (((event?: { callback_: Function, fileSelector: Object }) => void)) UseEventsProperties({Web_onFileSelectorShow: value_casted}) this.getPeer()?.onFileSelectorShowAttribute(value_casted) return this diff --git a/arkoala/arkui/src/ArkWebContextMenuParamMaterialized.ts b/arkoala/arkui/src/ArkWebContextMenuParamMaterialized.ts index 94a54bb34..2984c869f 100644 --- a/arkoala/arkui/src/ArkWebContextMenuParamMaterialized.ts +++ b/arkoala/arkui/src/ArkWebContextMenuParamMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class WebContextMenuParam implements MaterializedBase,WebContextMenuParam { - peer?: Finalizable +export class WebContextMenuParam implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): WebContextMenuParam { - const objWebContextMenuParam: WebContextMenuParam = new WebContextMenuParam() - objWebContextMenuParam.peer = new Finalizable(ptr, WebContextMenuParam.getFinalizer()) - return objWebContextMenuParam - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._WebContextMenuParam_ctor() return retval diff --git a/arkoala/arkui/src/ArkWebContextMenuResultMaterialized.ts b/arkoala/arkui/src/ArkWebContextMenuResultMaterialized.ts index 35dfe0a59..f162068bf 100644 --- a/arkoala/arkui/src/ArkWebContextMenuResultMaterialized.ts +++ b/arkoala/arkui/src/ArkWebContextMenuResultMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class WebContextMenuResult implements MaterializedBase,WebContextMenuResult { - peer?: Finalizable +export class WebContextMenuResult implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): WebContextMenuResult { - const objWebContextMenuResult: WebContextMenuResult = new WebContextMenuResult() - objWebContextMenuResult.peer = new Finalizable(ptr, WebContextMenuResult.getFinalizer()) - return objWebContextMenuResult - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._WebContextMenuResult_ctor() return retval diff --git a/arkoala/arkui/src/ArkWebControllerMaterialized.ts b/arkoala/arkui/src/ArkWebControllerMaterialized.ts index dcdfb6954..7ad066aea 100644 --- a/arkoala/arkui/src/ArkWebControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkWebControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -16,7 +16,6 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! -import { WebCookie } from "./ArkWebCookieMaterialized" import { Finalizable } from "./Finalizable" import { MaterializedBase } from "./MaterializedBase" @@ -49,16 +48,11 @@ import { } from "@koalaui/interop" -export class WebController implements MaterializedBase,WebController { - peer?: Finalizable +export class WebController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): WebController { - const objWebController: WebController = new WebController() - objWebController.peer = new Finalizable(ptr, WebController.getFinalizer()) - return objWebController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._WebController_ctor() return retval @@ -89,8 +83,8 @@ export class WebController implements MaterializedBase,WebController { this?.clearHistory_serialize() return } - runJavaScript(options: { script: string, callback?: ((breakpoints: string) => void) }): undefined { - const options_casted = options as ({ script: string, callback?: ((breakpoints: string) => void) }) + runJavaScript(options: { script: string, callback_?: ((breakpoints: string) => void) }): undefined { + const options_casted = options as ({ script: string, callback_?: ((breakpoints: string) => void) }) return this.runJavaScript_serialize(options_casted) } loadData(options: { data: string, mimeType: string, encoding: string, baseUrl?: string, historyUrl?: string }): undefined { @@ -107,8 +101,8 @@ export class WebController implements MaterializedBase,WebController { stop(): undefined { return this.stop_serialize() } - registerJavaScriptProxy(options: { object: Object, name: string, methodList: Array }): undefined { - const options_casted = options as ({ object: Object, name: string, methodList: Array }) + registerJavaScriptProxy(options: { object_: Object, name: string, methodList: Array }): undefined { + const options_casted = options as ({ object_: Object, name: string, methodList: Array }) return this.registerJavaScriptProxy_serialize(options_casted) } deleteJavaScriptRegister(name: string): undefined { @@ -152,17 +146,17 @@ export class WebController implements MaterializedBase,WebController { private clearHistory_serialize(): void { ArkUIGeneratedNativeModule._WebController_clearHistory(this.peer!.ptr) } - private runJavaScript_serialize(options: { script: string, callback?: ((breakpoints: string) => void) }): undefined { + private runJavaScript_serialize(options: { script: string, callback_?: ((breakpoints: string) => void) }): undefined { 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) + 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) } const retval = ArkUIGeneratedNativeModule._WebController_runJavaScript(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() @@ -235,10 +229,10 @@ export class WebController implements MaterializedBase,WebController { const retval = ArkUIGeneratedNativeModule._WebController_stop(this.peer!.ptr) return retval } - private registerJavaScriptProxy_serialize(options: { object: Object, name: string, methodList: Array }): undefined { + private registerJavaScriptProxy_serialize(options: { object_: Object, name: string, methodList: Array }): undefined { const thisSerializer: Serializer = Serializer.hold() - const options_object = options.object - thisSerializer.writeCustomObject("Object", options_object) + const options_object_ = options.object_ + thisSerializer.writeCustomObject("Object", options_object_) const options_name = options.name thisSerializer.writeString(options_name) const options_methodList = options.methodList diff --git a/arkoala/arkui/src/ArkWebCookieMaterialized.ts b/arkoala/arkui/src/ArkWebCookieMaterialized.ts index 3ce04e3c4..94131da96 100644 --- a/arkoala/arkui/src/ArkWebCookieMaterialized.ts +++ b/arkoala/arkui/src/ArkWebCookieMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class WebCookie implements MaterializedBase,WebCookie { - peer?: Finalizable +export class WebCookie implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): WebCookie { - const objWebCookie: WebCookie = new WebCookie() - objWebCookie.peer = new Finalizable(ptr, WebCookie.getFinalizer()) - return objWebCookie - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._WebCookie_ctor() return retval diff --git a/arkoala/arkui/src/ArkWebKeyboardControllerMaterialized.ts b/arkoala/arkui/src/ArkWebKeyboardControllerMaterialized.ts index 33f8f520e..8cf7f2777 100644 --- a/arkoala/arkui/src/ArkWebKeyboardControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkWebKeyboardControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class WebKeyboardController implements MaterializedBase,WebKeyboardController { - peer?: Finalizable +export class WebKeyboardController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): WebKeyboardController { - const objWebKeyboardController: WebKeyboardController = new WebKeyboardController() - objWebKeyboardController.peer = new Finalizable(ptr, WebKeyboardController.getFinalizer()) - return objWebKeyboardController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._WebKeyboardController_ctor() return retval diff --git a/arkoala/arkui/src/ArkWebResourceErrorMaterialized.ts b/arkoala/arkui/src/ArkWebResourceErrorMaterialized.ts index 694c624d6..b533dda05 100644 --- a/arkoala/arkui/src/ArkWebResourceErrorMaterialized.ts +++ b/arkoala/arkui/src/ArkWebResourceErrorMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class WebResourceError implements MaterializedBase,WebResourceError { - peer?: Finalizable +export class WebResourceError implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): WebResourceError { - const objWebResourceError: WebResourceError = new WebResourceError() - objWebResourceError.peer = new Finalizable(ptr, WebResourceError.getFinalizer()) - return objWebResourceError - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._WebResourceError_ctor() return retval diff --git a/arkoala/arkui/src/ArkWebResourceRequestMaterialized.ts b/arkoala/arkui/src/ArkWebResourceRequestMaterialized.ts index 89a0e7b59..93ecb3923 100644 --- a/arkoala/arkui/src/ArkWebResourceRequestMaterialized.ts +++ b/arkoala/arkui/src/ArkWebResourceRequestMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class WebResourceRequest implements MaterializedBase,WebResourceRequest { - peer?: Finalizable +export class WebResourceRequest implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): WebResourceRequest { - const objWebResourceRequest: WebResourceRequest = new WebResourceRequest() - objWebResourceRequest.peer = new Finalizable(ptr, WebResourceRequest.getFinalizer()) - return objWebResourceRequest - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._WebResourceRequest_ctor() return retval diff --git a/arkoala/arkui/src/ArkWebResourceResponseMaterialized.ts b/arkoala/arkui/src/ArkWebResourceResponseMaterialized.ts index b729f728f..9fe9fe405 100644 --- a/arkoala/arkui/src/ArkWebResourceResponseMaterialized.ts +++ b/arkoala/arkui/src/ArkWebResourceResponseMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class WebResourceResponse implements MaterializedBase,WebResourceResponse { - peer?: Finalizable +export class WebResourceResponse implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): WebResourceResponse { - const objWebResourceResponse: WebResourceResponse = new WebResourceResponse() - objWebResourceResponse.peer = new Finalizable(ptr, WebResourceResponse.getFinalizer()) - return objWebResourceResponse - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._WebResourceResponse_ctor() return retval diff --git a/arkoala/arkui/src/ArkWindowScene.ts b/arkoala/arkui/src/ArkWindowScene.ts index f8055c883..8d49d01f2 100644 --- a/arkoala/arkui/src/ArkWindowScene.ts +++ b/arkoala/arkui/src/ArkWindowScene.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/ArkXComponentControllerMaterialized.ts b/arkoala/arkui/src/ArkXComponentControllerMaterialized.ts index 58b8e6cbd..4e0fcde9e 100644 --- a/arkoala/arkui/src/ArkXComponentControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkXComponentControllerMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,16 +48,11 @@ import { } from "@koalaui/interop" -export class XComponentController implements MaterializedBase,XComponentController { - peer?: Finalizable +export class XComponentController implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): XComponentController { - const objXComponentController: XComponentController = new XComponentController() - objXComponentController.peer = new Finalizable(ptr, XComponentController.getFinalizer()) - return objXComponentController - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._XComponentController_ctor() return retval diff --git a/arkoala/arkui/src/ArkXcomponent.ts b/arkoala/arkui/src/ArkXcomponent.ts index 079074ad7..ee1e66ea5 100644 --- a/arkoala/arkui/src/ArkXcomponent.ts +++ b/arkoala/arkui/src/ArkXcomponent.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -45,8 +45,8 @@ export class ArkXComponentComponent extends ArkCommonMethodComponent { return this } if ((((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("imageAIOptions")))))) { - const value_casted = value as (XComponentOptions) - this.getPeer()?.setXComponentOptions2Attribute(value_casted) + const options_casted = value as (XComponentOptions) + this.getPeer()?.setXComponentOptions2Attribute(options_casted) return this } throw new Error("Can not select appropriate overload") diff --git a/arkoala/arkui/src/GlobalScope.ts b/arkoala/arkui/src/GlobalScope.ts new file mode 100644 index 000000000..bdb7a55bf --- /dev/null +++ b/arkoala/arkui/src/GlobalScope.ts @@ -0,0 +1,80 @@ +/* + * 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 { GlobalScope_commonInternal, GlobalScope_common } from "./ArkGlobalScopeCommonMaterialized" +import { GlobalScope_inspectorInternal, GlobalScope_inspector } from "./ArkGlobalScopeInspectorMaterialized" +export function getContext(component: Object) { + return GlobalScope_common.getContext(component) +} +export function postCardAction(component: Object, action: Object) { + GlobalScope_common.postCardAction(component, action) +} +export function dollar_r(value: string, params: Array) { + return GlobalScope_common.dollar_r(value, params) +} +export function dollar_rawfile(value: string) { + return GlobalScope_common.dollar_rawfile(value) +} +export function animateTo(value: AnimateParam, event: (() => void)) { + GlobalScope_common.animateTo(value, event) +} +export function animateToImmediately(value: AnimateParam, event: (() => void)) { + GlobalScope_common.animateToImmediately(value, event) +} +export function vp2px(value: number) { + return GlobalScope_common.vp2px(value) +} +export function px2vp(value: number) { + return GlobalScope_common.px2vp(value) +} +export function fp2px(value: number) { + return GlobalScope_common.fp2px(value) +} +export function px2fp(value: number) { + return GlobalScope_common.px2fp(value) +} +export function lpx2px(value: number) { + return GlobalScope_common.lpx2px(value) +} +export function px2lpx(value: number) { + return GlobalScope_common.px2lpx(value) +} +export function requestFocus(value: string) { + return GlobalScope_common.requestFocus(value) +} +export function setCursor(value: PointerStyle) { + GlobalScope_common.setCursor(value) +} +export function restoreDefault() { + GlobalScope_common.restoreDefault() +} +export function getInspectorNodes() { + return GlobalScope_inspector.getInspectorNodes() +} +export function getInspectorNodeById(id: number) { + return GlobalScope_inspector.getInspectorNodeById(id) +} +export function registerVsyncCallback(callback_: ((breakpoints: string) => void)) { + GlobalScope_inspector.registerVsyncCallback(callback_) +} +export function unregisterVsyncCallback() { + GlobalScope_inspector.unregisterVsyncCallback() +} +export function setAppBgColor(value: string) { + GlobalScope_inspector.setAppBgColor(value) +} diff --git a/arkoala/arkui/src/peer_events.ts b/arkoala/arkui/src/peer_events.ts index c3ad5f47f..b65fb6197 100644 --- a/arkoala/arkui/src/peer_events.ts +++ b/arkoala/arkui/src/peer_events.ts @@ -555,8 +555,8 @@ export interface CommonMethod_onVisibleAreaChange_event extends PeerEvent { } export interface ScrollableCommonMethod_onScroll_event extends PeerEvent { readonly kind: PeerEventKind.ScrollableCommonMethod_onScroll - readonly scrollOffset: number - readonly scrollState: ScrollState + readonly first: number + readonly last: number } export interface ScrollableCommonMethod_onReachStart_event extends PeerEvent { readonly kind: PeerEventKind.ScrollableCommonMethod_onReachStart @@ -657,8 +657,8 @@ export interface Grid_onItemDrop_event extends PeerEvent { } export interface Grid_onScroll_event extends PeerEvent { readonly kind: PeerEventKind.Grid_onScroll - readonly scrollOffset: number - readonly scrollState: ScrollState + readonly first: number + readonly last: number } export interface Grid_onReachStart_event extends PeerEvent { readonly kind: PeerEventKind.Grid_onReachStart @@ -721,8 +721,8 @@ export interface ImageSpan_onError_event extends PeerEvent { } export interface List_onScroll_event extends PeerEvent { readonly kind: PeerEventKind.List_onScroll - readonly scrollOffset: number - readonly scrollState: ScrollState + readonly first: number + readonly last: number } export interface List_onScrollIndex_event extends PeerEvent { readonly kind: PeerEventKind.List_onScrollIndex @@ -967,8 +967,8 @@ export interface SaveButton_onClick_event extends PeerEvent { } export interface Scroll_onScroll_event extends PeerEvent { readonly kind: PeerEventKind.Scroll_onScroll - readonly scrollOffset: number - readonly scrollState: ScrollState + readonly first: number + readonly last: number } export interface Scroll_onScrollEdge_event extends PeerEvent { readonly kind: PeerEventKind.Scroll_onScrollEdge @@ -1438,7 +1438,7 @@ export interface Web_onShowFileSelector_event extends PeerEvent { } export interface Web_onFileSelectorShow_event extends PeerEvent { readonly kind: PeerEventKind.Web_onFileSelectorShow - readonly event?: { callback: Function, fileSelector: Object } | undefined + readonly event?: { callback_: Function, fileSelector: Object } | undefined } export interface Web_onResourceLoad_event extends PeerEvent { readonly kind: PeerEventKind.Web_onResourceLoad @@ -2114,14 +2114,14 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent const event: { kind?: number, nodeId?: PeerEventKind, event?: any } = {} event.kind = kind event.nodeId = nodeId - event.event = eventDeserializer.readClickEvent() + event.event = (eventDeserializer.readClickEvent() as ClickEvent) return (event as CommonMethod_onClick0_event) } else if ((kind) === (PeerEventKind.CommonMethod_onClick1)) { const event: { kind?: number, nodeId?: PeerEventKind, event?: any } = {} event.kind = kind event.nodeId = nodeId - event.event = eventDeserializer.readClickEvent() + event.event = (eventDeserializer.readClickEvent() as ClickEvent) return (event as CommonMethod_onClick1_event) } else if ((kind) === (PeerEventKind.CommonMethod_onHover)) { @@ -2129,7 +2129,7 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent event.kind = kind event.nodeId = nodeId event.isHover = eventDeserializer.readBoolean() - event.event = eventDeserializer.readHoverEvent() + event.event = (eventDeserializer.readHoverEvent() as HoverEvent) return (event as CommonMethod_onHover_event) } else if ((kind) === (PeerEventKind.CommonMethod_onAccessibilityHover)) { @@ -2137,35 +2137,35 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent event.kind = kind event.nodeId = nodeId event.isHover = eventDeserializer.readBoolean() - event.event = eventDeserializer.readAccessibilityHoverEvent() + event.event = (eventDeserializer.readAccessibilityHoverEvent() as AccessibilityHoverEvent) return (event as CommonMethod_onAccessibilityHover_event) } else if ((kind) === (PeerEventKind.CommonMethod_onMouse)) { const event: { kind?: number, nodeId?: PeerEventKind, event?: any } = {} event.kind = kind event.nodeId = nodeId - event.event = eventDeserializer.readMouseEvent() + event.event = (eventDeserializer.readMouseEvent() as MouseEvent) return (event as CommonMethod_onMouse_event) } else if ((kind) === (PeerEventKind.CommonMethod_onTouch)) { const event: { kind?: number, nodeId?: PeerEventKind, event?: any } = {} event.kind = kind event.nodeId = nodeId - event.event = eventDeserializer.readTouchEvent() + event.event = (eventDeserializer.readTouchEvent() as TouchEvent) return (event as CommonMethod_onTouch_event) } else if ((kind) === (PeerEventKind.CommonMethod_onKeyEvent)) { const event: { kind?: number, nodeId?: PeerEventKind, event?: any } = {} event.kind = kind event.nodeId = nodeId - event.event = eventDeserializer.readKeyEvent() + event.event = (eventDeserializer.readKeyEvent() as KeyEvent) return (event as CommonMethod_onKeyEvent_event) } else if ((kind) === (PeerEventKind.CommonMethod_onKeyPreIme)) { const event: { kind?: number, nodeId?: PeerEventKind, parameter?: any } = {} event.kind = kind event.nodeId = nodeId - event.parameter = eventDeserializer.readKeyEvent() + event.parameter = (eventDeserializer.readKeyEvent() as KeyEvent) return (event as CommonMethod_onKeyPreIme_event) } else if ((kind) === (PeerEventKind.CommonMethod_onFocus)) { @@ -2216,7 +2216,7 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent const event: { kind?: number, nodeId?: PeerEventKind, event?: any, extraParams?: any } = {} event.kind = kind event.nodeId = nodeId - event.event = eventDeserializer.readDragEvent() + event.event = (eventDeserializer.readDragEvent() as DragEvent) const extraParams_buf_runtimeType = (eventDeserializer.readInt8() as int32) let extraParams_buf: string | undefined|undefined if ((RuntimeType.UNDEFINED) != (extraParams_buf_runtimeType)) @@ -2230,7 +2230,7 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent const event: { kind?: number, nodeId?: PeerEventKind, event?: any, extraParams?: any } = {} event.kind = kind event.nodeId = nodeId - event.event = eventDeserializer.readDragEvent() + event.event = (eventDeserializer.readDragEvent() as DragEvent) const extraParams_buf_runtimeType = (eventDeserializer.readInt8() as int32) let extraParams_buf: string | undefined|undefined if ((RuntimeType.UNDEFINED) != (extraParams_buf_runtimeType)) @@ -2244,7 +2244,7 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent const event: { kind?: number, nodeId?: PeerEventKind, event?: any, extraParams?: any } = {} event.kind = kind event.nodeId = nodeId - event.event = eventDeserializer.readDragEvent() + event.event = (eventDeserializer.readDragEvent() as DragEvent) const extraParams_buf_runtimeType = (eventDeserializer.readInt8() as int32) let extraParams_buf: string | undefined|undefined if ((RuntimeType.UNDEFINED) != (extraParams_buf_runtimeType)) @@ -2258,7 +2258,7 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent const event: { kind?: number, nodeId?: PeerEventKind, event?: any, extraParams?: any } = {} event.kind = kind event.nodeId = nodeId - event.event = eventDeserializer.readDragEvent() + event.event = (eventDeserializer.readDragEvent() as DragEvent) const extraParams_buf_runtimeType = (eventDeserializer.readInt8() as int32) let extraParams_buf: string | undefined|undefined if ((RuntimeType.UNDEFINED) != (extraParams_buf_runtimeType)) @@ -2272,7 +2272,7 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent const event: { kind?: number, nodeId?: PeerEventKind, event?: any, extraParams?: any } = {} event.kind = kind event.nodeId = nodeId - event.event = eventDeserializer.readDragEvent() + event.event = (eventDeserializer.readDragEvent() as DragEvent) const extraParams_buf_runtimeType = (eventDeserializer.readInt8() as int32) let extraParams_buf: string | undefined|undefined if ((RuntimeType.UNDEFINED) != (extraParams_buf_runtimeType)) @@ -2286,7 +2286,7 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent const event: { kind?: number, nodeId?: PeerEventKind, event?: any, extraParams?: any } = {} event.kind = kind event.nodeId = nodeId - event.event = eventDeserializer.readDragEvent() + event.event = (eventDeserializer.readDragEvent() as DragEvent) const extraParams_buf_runtimeType = (eventDeserializer.readInt8() as int32) let extraParams_buf: string | undefined|undefined if ((RuntimeType.UNDEFINED) != (extraParams_buf_runtimeType)) @@ -2314,14 +2314,14 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent event.kind = kind event.nodeId = nodeId event.gestureInfo = eventDeserializer.readGestureInfo() - event.event = eventDeserializer.readBaseGestureEvent() + event.event = (eventDeserializer.readBaseGestureEvent() as BaseGestureEvent) return (event as CommonMethod_onGestureJudgeBegin_event) } else if ((kind) === (PeerEventKind.CommonMethod_onGestureRecognizerJudgeBegin0)) { const event: { kind?: number, nodeId?: PeerEventKind, event?: any, current?: any, recognizers?: any } = {} event.kind = kind event.nodeId = nodeId - event.event = eventDeserializer.readBaseGestureEvent() + event.event = (eventDeserializer.readBaseGestureEvent() as BaseGestureEvent) event.current = (eventDeserializer.readGestureRecognizer() as GestureRecognizer) const recognizers_buf_length: int32 = eventDeserializer.readInt32() let recognizers_buf: Array = new Array() @@ -2335,7 +2335,7 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent const event: { kind?: number, nodeId?: PeerEventKind, event?: any, current?: any, recognizers?: any } = {} event.kind = kind event.nodeId = nodeId - event.event = eventDeserializer.readBaseGestureEvent() + event.event = (eventDeserializer.readBaseGestureEvent() as BaseGestureEvent) event.current = (eventDeserializer.readGestureRecognizer() as GestureRecognizer) const recognizers_buf_length: int32 = eventDeserializer.readInt32() let recognizers_buf: Array = new Array() @@ -2362,7 +2362,7 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent const event: { kind?: number, nodeId?: PeerEventKind, parameter?: any } = {} event.kind = kind event.nodeId = nodeId - event.parameter = eventDeserializer.readTouchEvent() + event.parameter = (eventDeserializer.readTouchEvent() as TouchEvent) return (event as CommonMethod_onTouchIntercept_event) } else if ((kind) === (PeerEventKind.CommonMethod_onSizeChange)) { @@ -2418,11 +2418,11 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent return (event as CommonMethod_onVisibleAreaChange_event) } else if ((kind) === (PeerEventKind.ScrollableCommonMethod_onScroll)) { - const event: { kind?: number, nodeId?: PeerEventKind, scrollOffset?: any, scrollState?: any } = {} + const event: { kind?: number, nodeId?: PeerEventKind, first?: any, last?: any } = {} event.kind = kind event.nodeId = nodeId - event.scrollOffset = (eventDeserializer.readNumber() as number) - event.scrollState = (eventDeserializer.readInt32() as ScrollState) + event.first = (eventDeserializer.readNumber() as number) + event.last = (eventDeserializer.readNumber() as number) return (event as ScrollableCommonMethod_onScroll_event) } else if ((kind) === (PeerEventKind.ScrollableCommonMethod_onReachStart)) { @@ -2597,11 +2597,11 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent return (event as Grid_onItemDrop_event) } else if ((kind) === (PeerEventKind.Grid_onScroll)) { - const event: { kind?: number, nodeId?: PeerEventKind, scrollOffset?: any, scrollState?: any } = {} + const event: { kind?: number, nodeId?: PeerEventKind, first?: any, last?: any } = {} event.kind = kind event.nodeId = nodeId - event.scrollOffset = (eventDeserializer.readNumber() as number) - event.scrollState = (eventDeserializer.readInt32() as ScrollState) + event.first = (eventDeserializer.readNumber() as number) + event.last = (eventDeserializer.readNumber() as number) return (event as Grid_onScroll_event) } else if ((kind) === (PeerEventKind.Grid_onReachStart)) { @@ -2730,11 +2730,11 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent return (event as ImageSpan_onError_event) } else if ((kind) === (PeerEventKind.List_onScroll)) { - const event: { kind?: number, nodeId?: PeerEventKind, scrollOffset?: any, scrollState?: any } = {} + const event: { kind?: number, nodeId?: PeerEventKind, first?: any, last?: any } = {} event.kind = kind event.nodeId = nodeId - event.scrollOffset = (eventDeserializer.readNumber() as number) - event.scrollState = (eventDeserializer.readInt32() as ScrollState) + event.first = (eventDeserializer.readNumber() as number) + event.last = (eventDeserializer.readNumber() as number) return (event as List_onScroll_event) } else if ((kind) === (PeerEventKind.List_onScrollIndex)) { @@ -2854,7 +2854,7 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent const event: { kind?: number, nodeId?: PeerEventKind, event?: any, result?: any } = {} event.kind = kind event.nodeId = nodeId - event.event = eventDeserializer.readClickEvent() + event.event = (eventDeserializer.readClickEvent() as ClickEvent) event.result = (eventDeserializer.readInt32() as LocationButtonOnClickResult) return (event as LocationButton_onClick_event) } @@ -2959,7 +2959,7 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent const event: { kind?: number, nodeId?: PeerEventKind, event?: any, result?: any } = {} event.kind = kind event.nodeId = nodeId - event.event = eventDeserializer.readClickEvent() + event.event = (eventDeserializer.readClickEvent() as ClickEvent) event.result = (eventDeserializer.readInt32() as PasteButtonOnClickResult) return (event as PasteButton_onClick_event) } @@ -3108,7 +3108,7 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent event.kind = kind event.nodeId = nodeId event.enterKey = (eventDeserializer.readInt32() as EnterKeyType) - event.event = eventDeserializer.readSubmitEvent() + event.event = (eventDeserializer.readSubmitEvent() as SubmitEvent) return (event as RichEditor_onSubmit_event) } else if ((kind) === (PeerEventKind.RichEditor_onWillChange)) { @@ -3168,16 +3168,16 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent const event: { kind?: number, nodeId?: PeerEventKind, event?: any, result?: any } = {} event.kind = kind event.nodeId = nodeId - event.event = eventDeserializer.readClickEvent() + event.event = (eventDeserializer.readClickEvent() as ClickEvent) event.result = (eventDeserializer.readInt32() as SaveButtonOnClickResult) return (event as SaveButton_onClick_event) } else if ((kind) === (PeerEventKind.Scroll_onScroll)) { - const event: { kind?: number, nodeId?: PeerEventKind, scrollOffset?: any, scrollState?: any } = {} + const event: { kind?: number, nodeId?: PeerEventKind, first?: any, last?: any } = {} event.kind = kind event.nodeId = nodeId - event.scrollOffset = (eventDeserializer.readNumber() as number) - event.scrollState = (eventDeserializer.readInt32() as ScrollState) + event.first = (eventDeserializer.readNumber() as number) + event.last = (eventDeserializer.readNumber() as number) return (event as Scroll_onScroll_event) } else if ((kind) === (PeerEventKind.Scroll_onScrollEdge)) { @@ -3236,7 +3236,7 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent let event_buf: SubmitEvent | undefined|undefined if ((RuntimeType.UNDEFINED) != (event_buf_runtimeType)) { - event_buf = eventDeserializer.readSubmitEvent() + event_buf = (eventDeserializer.readSubmitEvent() as SubmitEvent) } event.event = event_buf return (event as Search_onSubmit1_event) @@ -3532,7 +3532,7 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent let event_buf: SubmitEvent | undefined|undefined if ((RuntimeType.UNDEFINED) != (event_buf_runtimeType)) { - event_buf = eventDeserializer.readSubmitEvent() + event_buf = (eventDeserializer.readSubmitEvent() as SubmitEvent) } event.event = event_buf return (event as TextArea_onSubmit1_event) @@ -3656,7 +3656,7 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent event.kind = kind event.nodeId = nodeId event.enterKey = (eventDeserializer.readInt32() as EnterKeyType) - event.event = eventDeserializer.readSubmitEvent() + event.event = (eventDeserializer.readSubmitEvent() as SubmitEvent) return (event as TextInput_onSubmit_event) } else if ((kind) === (PeerEventKind.TextInput_onChange)) { @@ -4082,12 +4082,12 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent event.kind = kind event.nodeId = nodeId const event_buf_runtimeType = (eventDeserializer.readInt8() as int32) - let event_buf: { callback: Function, fileSelector: Object } | undefined|undefined + let event_buf: { callback_: Function, fileSelector: Object } | undefined|undefined if ((RuntimeType.UNDEFINED) != (event_buf_runtimeType)) { - const event_buf__callback: Function = (eventDeserializer.readFunction() as Function) + const event_buf__callback_: Function = (eventDeserializer.readFunction() as Function) const event_buf__fileSelector: Object = (eventDeserializer.readCustomObject("Object") as Object) - event_buf = ({callback: event_buf__callback, fileSelector: event_buf__fileSelector} as { callback: Function, fileSelector: Object }) + event_buf = ({callback_: event_buf__callback_, fileSelector: event_buf__fileSelector} as { callback_: Function, fileSelector: Object }) } event.event = event_buf return (event as Web_onFileSelectorShow_event) @@ -4212,7 +4212,7 @@ export function deserializePeerEvent(eventDeserializer: Deserializer): PeerEvent const event: { kind?: number, nodeId?: PeerEventKind, parameter?: any } = {} event.kind = kind event.nodeId = nodeId - event.parameter = eventDeserializer.readKeyEvent() + event.parameter = (eventDeserializer.readKeyEvent() as KeyEvent) return (event as Web_onInterceptKeyEvent_event) } else if ((kind) === (PeerEventKind.Web_onTouchIconUrlReceived)) { @@ -4530,7 +4530,7 @@ export interface PeerEventsProperties { CommonMethod_bindContentCover1?: CustomBuilder CommonMethod_bindSheet?: CustomBuilder CommonMethod_onVisibleAreaChange?: VisibleAreaChangeCallback - ScrollableCommonMethod_onScroll?: ((scrollOffset: number, scrollState: ScrollState) => void) + ScrollableCommonMethod_onScroll?: ((first: number, last: number) => void) ScrollableCommonMethod_onReachStart?: (() => void) ScrollableCommonMethod_onReachEnd?: (() => void) ScrollableCommonMethod_onScrollStart?: (() => void) @@ -4550,12 +4550,12 @@ export interface PeerEventsProperties { Gauge_description?: CustomBuilder Grid_onScrollBarUpdate?: ((index: number, offset: number) => ComputedBarAttribute) Grid_onScrollIndex?: ((first: number, last: number) => void) - Grid_onItemDragStart?: ((event: ItemDragInfo, itemIndex: number) => (() => any)) + Grid_onItemDragStart?: ((event: ItemDragInfo, itemIndex: number) => CustomBuilder) Grid_onItemDragEnter?: ((event: ItemDragInfo) => void) Grid_onItemDragMove?: ((event: ItemDragInfo, itemIndex: number, insertIndex: number) => void) Grid_onItemDragLeave?: ((event: ItemDragInfo, itemIndex: number) => void) Grid_onItemDrop?: ((event: ItemDragInfo, itemIndex: number, insertIndex: number, isSuccess: boolean) => void) - Grid_onScroll?: ((scrollOffset: number, scrollState: ScrollState) => void) + Grid_onScroll?: ((first: number, last: number) => void) Grid_onReachStart?: (() => void) Grid_onReachEnd?: (() => void) Grid_onScrollStart?: (() => void) @@ -4573,7 +4573,7 @@ export interface PeerEventsProperties { ImageAnimator_onFinish?: (() => void) ImageSpan_onComplete?: ImageCompleteCallback ImageSpan_onError?: ImageErrorCallback - List_onScroll?: ((scrollOffset: number, scrollState: ScrollState) => void) + List_onScroll?: ((first: number, last: number) => void) List_onScrollIndex?: ((start: number, end: number, center: number) => void) List_onScrollVisibleContentChange?: OnScrollVisibleContentChangeCallback List_onReachStart?: (() => void) @@ -4582,7 +4582,7 @@ export interface PeerEventsProperties { List_onScrollStop?: (() => void) List_onItemDelete?: ((index: number) => boolean) List_onItemMove?: ((from: number, to: number) => boolean) - List_onItemDragStart?: ((event: ItemDragInfo, itemIndex: number) => (() => any)) + List_onItemDragStart?: ((event: ItemDragInfo, itemIndex: number) => CustomBuilder) List_onItemDragEnter?: ((event: ItemDragInfo) => void) List_onItemDragMove?: ((event: ItemDragInfo, itemIndex: number, insertIndex: number) => void) List_onItemDragLeave?: ((event: ItemDragInfo, itemIndex: number) => void) @@ -4635,11 +4635,11 @@ export interface PeerEventsProperties { RichText_onStart?: (() => void) RichText_onComplete?: (() => void) SaveButton_onClick?: ((event: ClickEvent, result: SaveButtonOnClickResult) => void) - Scroll_onScroll?: ((scrollOffset: number, scrollState: ScrollState) => void) + Scroll_onScroll?: ((first: number, last: number) => void) Scroll_onScrollEdge?: OnScrollEdgeCallback - Scroll_onScrollStart?: (() => void) + Scroll_onScrollStart?: VoidCallback Scroll_onScrollEnd?: (() => void) - Scroll_onScrollStop?: (() => void) + Scroll_onScrollStop?: VoidCallback Scroll_onScrollFrameBegin?: OnScrollFrameBeginCallback Search_onEditChange?: ((parameter: boolean) => void) Search_onSubmit0?: ((breakpoints: string) => void) @@ -4748,7 +4748,7 @@ export interface PeerEventsProperties { Web_onRenderExited0?: ((parameter: OnRenderExitedEvent) => void) Web_onRenderExited1?: ((event?: { detail: Object }) => boolean) Web_onShowFileSelector?: ((parameter: OnShowFileSelectorEvent) => boolean) - Web_onFileSelectorShow?: ((event?: { callback: Function, fileSelector: Object }) => void) + Web_onFileSelectorShow?: ((event?: { callback_: Function, fileSelector: Object }) => void) Web_onResourceLoad?: ((parameter: OnResourceLoadEvent) => void) Web_onFullScreenExit?: (() => void) Web_onFullScreenEnter?: OnFullScreenEnterCallback @@ -4860,7 +4860,7 @@ export function deliverGeneratedPeerEvent(event: PeerEvent, properties: PeerEven case PeerEventKind.CommonMethod_bindContentCover1: properties.CommonMethod_bindContentCover1?.(); break case PeerEventKind.CommonMethod_bindSheet: properties.CommonMethod_bindSheet?.(); break case PeerEventKind.CommonMethod_onVisibleAreaChange: properties.CommonMethod_onVisibleAreaChange?.((event as CommonMethod_onVisibleAreaChange_event).isExpanding, (event as CommonMethod_onVisibleAreaChange_event).currentRatio); break - case PeerEventKind.ScrollableCommonMethod_onScroll: properties.ScrollableCommonMethod_onScroll?.((event as ScrollableCommonMethod_onScroll_event).scrollOffset, (event as ScrollableCommonMethod_onScroll_event).scrollState); break + case PeerEventKind.ScrollableCommonMethod_onScroll: properties.ScrollableCommonMethod_onScroll?.((event as ScrollableCommonMethod_onScroll_event).first, (event as ScrollableCommonMethod_onScroll_event).last); break case PeerEventKind.ScrollableCommonMethod_onReachStart: properties.ScrollableCommonMethod_onReachStart?.(); break case PeerEventKind.ScrollableCommonMethod_onReachEnd: properties.ScrollableCommonMethod_onReachEnd?.(); break case PeerEventKind.ScrollableCommonMethod_onScrollStart: properties.ScrollableCommonMethod_onScrollStart?.(); break @@ -4885,7 +4885,7 @@ export function deliverGeneratedPeerEvent(event: PeerEvent, properties: PeerEven case PeerEventKind.Grid_onItemDragMove: properties.Grid_onItemDragMove?.((event as Grid_onItemDragMove_event).event, (event as Grid_onItemDragMove_event).itemIndex, (event as Grid_onItemDragMove_event).insertIndex); break case PeerEventKind.Grid_onItemDragLeave: properties.Grid_onItemDragLeave?.((event as Grid_onItemDragLeave_event).event, (event as Grid_onItemDragLeave_event).itemIndex); break case PeerEventKind.Grid_onItemDrop: properties.Grid_onItemDrop?.((event as Grid_onItemDrop_event).event, (event as Grid_onItemDrop_event).itemIndex, (event as Grid_onItemDrop_event).insertIndex, (event as Grid_onItemDrop_event).isSuccess); break - case PeerEventKind.Grid_onScroll: properties.Grid_onScroll?.((event as Grid_onScroll_event).scrollOffset, (event as Grid_onScroll_event).scrollState); break + case PeerEventKind.Grid_onScroll: properties.Grid_onScroll?.((event as Grid_onScroll_event).first, (event as Grid_onScroll_event).last); break case PeerEventKind.Grid_onReachStart: properties.Grid_onReachStart?.(); break case PeerEventKind.Grid_onReachEnd: properties.Grid_onReachEnd?.(); break case PeerEventKind.Grid_onScrollStart: properties.Grid_onScrollStart?.(); break @@ -4903,7 +4903,7 @@ export function deliverGeneratedPeerEvent(event: PeerEvent, properties: PeerEven case PeerEventKind.ImageAnimator_onFinish: properties.ImageAnimator_onFinish?.(); break case PeerEventKind.ImageSpan_onComplete: properties.ImageSpan_onComplete?.((event as ImageSpan_onComplete_event).result); break case PeerEventKind.ImageSpan_onError: properties.ImageSpan_onError?.((event as ImageSpan_onError_event).error); break - case PeerEventKind.List_onScroll: properties.List_onScroll?.((event as List_onScroll_event).scrollOffset, (event as List_onScroll_event).scrollState); break + case PeerEventKind.List_onScroll: properties.List_onScroll?.((event as List_onScroll_event).first, (event as List_onScroll_event).last); break case PeerEventKind.List_onScrollIndex: properties.List_onScrollIndex?.((event as List_onScrollIndex_event).start, (event as List_onScrollIndex_event).end, (event as List_onScrollIndex_event).center); break case PeerEventKind.List_onScrollVisibleContentChange: properties.List_onScrollVisibleContentChange?.((event as List_onScrollVisibleContentChange_event).start, (event as List_onScrollVisibleContentChange_event).end); break case PeerEventKind.List_onReachStart: properties.List_onReachStart?.(); break @@ -4965,7 +4965,7 @@ export function deliverGeneratedPeerEvent(event: PeerEvent, properties: PeerEven case PeerEventKind.RichText_onStart: properties.RichText_onStart?.(); break case PeerEventKind.RichText_onComplete: properties.RichText_onComplete?.(); break case PeerEventKind.SaveButton_onClick: properties.SaveButton_onClick?.((event as SaveButton_onClick_event).event, (event as SaveButton_onClick_event).result); break - case PeerEventKind.Scroll_onScroll: properties.Scroll_onScroll?.((event as Scroll_onScroll_event).scrollOffset, (event as Scroll_onScroll_event).scrollState); break + case PeerEventKind.Scroll_onScroll: properties.Scroll_onScroll?.((event as Scroll_onScroll_event).first, (event as Scroll_onScroll_event).last); break case PeerEventKind.Scroll_onScrollEdge: properties.Scroll_onScrollEdge?.((event as Scroll_onScrollEdge_event).side); break case PeerEventKind.Scroll_onScrollStart: properties.Scroll_onScrollStart?.(); break case PeerEventKind.Scroll_onScrollEnd: properties.Scroll_onScrollEnd?.(); break diff --git a/arkoala/arkui/src/peers/ArkAbilityComponentPeer.ts b/arkoala/arkui/src/peers/ArkAbilityComponentPeer.ts index 6b2234b82..4b20cf256 100644 --- a/arkoala/arkui/src/peers/ArkAbilityComponentPeer.ts +++ b/arkoala/arkui/src/peers/ArkAbilityComponentPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkAlphabetIndexerPeer.ts b/arkoala/arkui/src/peers/ArkAlphabetIndexerPeer.ts index 41eff4198..264efc1a8 100644 --- a/arkoala/arkui/src/peers/ArkAlphabetIndexerPeer.ts +++ b/arkoala/arkui/src/peers/ArkAlphabetIndexerPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkAnimatorPeer.ts b/arkoala/arkui/src/peers/ArkAnimatorPeer.ts index c5d1e8d84..bceb51954 100644 --- a/arkoala/arkui/src/peers/ArkAnimatorPeer.ts +++ b/arkoala/arkui/src/peers/ArkAnimatorPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkBadgePeer.ts b/arkoala/arkui/src/peers/ArkBadgePeer.ts index 8931625dc..be2cd85d8 100644 --- a/arkoala/arkui/src/peers/ArkBadgePeer.ts +++ b/arkoala/arkui/src/peers/ArkBadgePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkBlankPeer.ts b/arkoala/arkui/src/peers/ArkBlankPeer.ts index 743b0ccb1..ba0b01d90 100644 --- a/arkoala/arkui/src/peers/ArkBlankPeer.ts +++ b/arkoala/arkui/src/peers/ArkBlankPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkButtonPeer.ts b/arkoala/arkui/src/peers/ArkButtonPeer.ts index adf45d775..b7f8ae52f 100644 --- a/arkoala/arkui/src/peers/ArkButtonPeer.ts +++ b/arkoala/arkui/src/peers/ArkButtonPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkCalendarPeer.ts b/arkoala/arkui/src/peers/ArkCalendarPeer.ts index b702297f0..6dc90dc99 100644 --- a/arkoala/arkui/src/peers/ArkCalendarPeer.ts +++ b/arkoala/arkui/src/peers/ArkCalendarPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkCalendarPickerPeer.ts b/arkoala/arkui/src/peers/ArkCalendarPickerPeer.ts index 33968624c..4f53aaaa9 100644 --- a/arkoala/arkui/src/peers/ArkCalendarPickerPeer.ts +++ b/arkoala/arkui/src/peers/ArkCalendarPickerPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkCanvasPeer.ts b/arkoala/arkui/src/peers/ArkCanvasPeer.ts index ec4f12c4c..fbccae637 100644 --- a/arkoala/arkui/src/peers/ArkCanvasPeer.ts +++ b/arkoala/arkui/src/peers/ArkCanvasPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkCheckboxPeer.ts b/arkoala/arkui/src/peers/ArkCheckboxPeer.ts index 67282ee3c..c1f325101 100644 --- a/arkoala/arkui/src/peers/ArkCheckboxPeer.ts +++ b/arkoala/arkui/src/peers/ArkCheckboxPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkCheckboxgroupPeer.ts b/arkoala/arkui/src/peers/ArkCheckboxgroupPeer.ts index df6b97474..7a08f5ab3 100644 --- a/arkoala/arkui/src/peers/ArkCheckboxgroupPeer.ts +++ b/arkoala/arkui/src/peers/ArkCheckboxgroupPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkCirclePeer.ts b/arkoala/arkui/src/peers/ArkCirclePeer.ts index ca65e9e86..fee7aabf8 100644 --- a/arkoala/arkui/src/peers/ArkCirclePeer.ts +++ b/arkoala/arkui/src/peers/ArkCirclePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkColumnPeer.ts b/arkoala/arkui/src/peers/ArkColumnPeer.ts index 7e743ec1f..658d649ed 100644 --- a/arkoala/arkui/src/peers/ArkColumnPeer.ts +++ b/arkoala/arkui/src/peers/ArkColumnPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkColumnSplitPeer.ts b/arkoala/arkui/src/peers/ArkColumnSplitPeer.ts index 24c6238d1..6e1fbd886 100644 --- a/arkoala/arkui/src/peers/ArkColumnSplitPeer.ts +++ b/arkoala/arkui/src/peers/ArkColumnSplitPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkCommonPeer.ts b/arkoala/arkui/src/peers/ArkCommonPeer.ts index ec9b27da9..cbb90206d 100644 --- a/arkoala/arkui/src/peers/ArkCommonPeer.ts +++ b/arkoala/arkui/src/peers/ArkCommonPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -2201,9 +2201,9 @@ export class ArkCommonMethodPeer extends PeerNode { ArkUIGeneratedNativeModule._CommonMethod_onGestureRecognizerJudgeBegin0(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - onGestureRecognizerJudgeBegin1Attribute(callback: GestureRecognizerJudgeBeginCallback, exposeInnerGesture: boolean): void { + onGestureRecognizerJudgeBegin1Attribute(callback_: GestureRecognizerJudgeBeginCallback, exposeInnerGesture: boolean): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(callback) + thisSerializer.holdAndWriteCallback(callback_) ArkUIGeneratedNativeModule._CommonMethod_onGestureRecognizerJudgeBegin1(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length(), +exposeInnerGesture) thisSerializer.release() } @@ -3053,12 +3053,12 @@ export class ArkCommonShapeMethodPeer extends ArkCommonMethodPeer { antiAliasAttribute(value: boolean): void { ArkUIGeneratedNativeModule._CommonShapeMethod_antiAlias(this.peer.ptr, +value) } - strokeDashArrayAttribute(value: Array): void { + strokeDashArrayAttribute(value: Array): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeInt32(value.length) for (let i = 0; i < value.length; i++) { - const value_element: any = value[i] - thisSerializer.writeCustomObject("Any", value_element) + const value_element: Length = value[i] + thisSerializer.writeLength(value_element) } ArkUIGeneratedNativeModule._CommonShapeMethod_strokeDashArray(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() @@ -3075,7 +3075,7 @@ export interface ArkCommonShapeMethodAttributes extends ArkCommonMethodAttribute fillOpacity?: number | string | Resource strokeWidth?: Length antiAlias?: boolean - strokeDashArray?: Array + strokeDashArray?: Array } export class ArkCommonPeer extends ArkCommonMethodPeer { protected constructor(peerPtr: KPointer, id: int32, name: string = "", flags: int32 = 0) { @@ -3173,7 +3173,7 @@ export class ArkScrollableCommonMethodPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._ScrollableCommonMethod_friction(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - onScrollAttribute(value: ((scrollOffset: number, scrollState: ScrollState) => void)): void { + onScrollAttribute(value: ((first: number, last: number) => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._ScrollableCommonMethod_onScroll(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) @@ -3191,7 +3191,7 @@ export class ArkScrollableCommonMethodPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._ScrollableCommonMethod_onWillScroll(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - onDidScrollAttribute(value?: ScrollOnWillScrollCallback): void { + onDidScrollAttribute(value?: ScrollOnScrollCallback): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) diff --git a/arkoala/arkui/src/peers/ArkComponent3dPeer.ts b/arkoala/arkui/src/peers/ArkComponent3dPeer.ts index c2fc860d8..6222ff5dc 100644 --- a/arkoala/arkui/src/peers/ArkComponent3dPeer.ts +++ b/arkoala/arkui/src/peers/ArkComponent3dPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkContainerSpanPeer.ts b/arkoala/arkui/src/peers/ArkContainerSpanPeer.ts index 119ddb596..2c1d5c052 100644 --- a/arkoala/arkui/src/peers/ArkContainerSpanPeer.ts +++ b/arkoala/arkui/src/peers/ArkContainerSpanPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkCounterPeer.ts b/arkoala/arkui/src/peers/ArkCounterPeer.ts index acc5cdf6b..dfb8f4016 100644 --- a/arkoala/arkui/src/peers/ArkCounterPeer.ts +++ b/arkoala/arkui/src/peers/ArkCounterPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkDataPanelPeer.ts b/arkoala/arkui/src/peers/ArkDataPanelPeer.ts index f3dbe2916..5fb1fde93 100644 --- a/arkoala/arkui/src/peers/ArkDataPanelPeer.ts +++ b/arkoala/arkui/src/peers/ArkDataPanelPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkDatePickerPeer.ts b/arkoala/arkui/src/peers/ArkDatePickerPeer.ts index ba3ee3f0c..1bf80530b 100644 --- a/arkoala/arkui/src/peers/ArkDatePickerPeer.ts +++ b/arkoala/arkui/src/peers/ArkDatePickerPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkDividerPeer.ts b/arkoala/arkui/src/peers/ArkDividerPeer.ts index 5bcd9dd46..147b3b3cb 100644 --- a/arkoala/arkui/src/peers/ArkDividerPeer.ts +++ b/arkoala/arkui/src/peers/ArkDividerPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkEffectComponentPeer.ts b/arkoala/arkui/src/peers/ArkEffectComponentPeer.ts index e436a7787..e8942f277 100644 --- a/arkoala/arkui/src/peers/ArkEffectComponentPeer.ts +++ b/arkoala/arkui/src/peers/ArkEffectComponentPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkEllipsePeer.ts b/arkoala/arkui/src/peers/ArkEllipsePeer.ts index 08ce7c34d..5e2dcc599 100644 --- a/arkoala/arkui/src/peers/ArkEllipsePeer.ts +++ b/arkoala/arkui/src/peers/ArkEllipsePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkEmbeddedComponentPeer.ts b/arkoala/arkui/src/peers/ArkEmbeddedComponentPeer.ts index 83ee2a4b7..c18168684 100644 --- a/arkoala/arkui/src/peers/ArkEmbeddedComponentPeer.ts +++ b/arkoala/arkui/src/peers/ArkEmbeddedComponentPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkFlexPeer.ts b/arkoala/arkui/src/peers/ArkFlexPeer.ts index 9f47b2b0a..377b1f969 100644 --- a/arkoala/arkui/src/peers/ArkFlexPeer.ts +++ b/arkoala/arkui/src/peers/ArkFlexPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkFlowItemPeer.ts b/arkoala/arkui/src/peers/ArkFlowItemPeer.ts index 0e4ba16f3..2cdb4871f 100644 --- a/arkoala/arkui/src/peers/ArkFlowItemPeer.ts +++ b/arkoala/arkui/src/peers/ArkFlowItemPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkFolderStackPeer.ts b/arkoala/arkui/src/peers/ArkFolderStackPeer.ts index 7f7f48503..0b6b231df 100644 --- a/arkoala/arkui/src/peers/ArkFolderStackPeer.ts +++ b/arkoala/arkui/src/peers/ArkFolderStackPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkFormComponentPeer.ts b/arkoala/arkui/src/peers/ArkFormComponentPeer.ts index ba5928146..d13dd5042 100644 --- a/arkoala/arkui/src/peers/ArkFormComponentPeer.ts +++ b/arkoala/arkui/src/peers/ArkFormComponentPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkFormLinkPeer.ts b/arkoala/arkui/src/peers/ArkFormLinkPeer.ts index f83ce1fcc..7def4e19f 100644 --- a/arkoala/arkui/src/peers/ArkFormLinkPeer.ts +++ b/arkoala/arkui/src/peers/ArkFormLinkPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkGaugePeer.ts b/arkoala/arkui/src/peers/ArkGaugePeer.ts index 0eb7ef192..72bdb071b 100644 --- a/arkoala/arkui/src/peers/ArkGaugePeer.ts +++ b/arkoala/arkui/src/peers/ArkGaugePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkGridColPeer.ts b/arkoala/arkui/src/peers/ArkGridColPeer.ts index aacf6b66f..d891dc306 100644 --- a/arkoala/arkui/src/peers/ArkGridColPeer.ts +++ b/arkoala/arkui/src/peers/ArkGridColPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkGridContainerPeer.ts b/arkoala/arkui/src/peers/ArkGridContainerPeer.ts index f07bda41a..57f5349e8 100644 --- a/arkoala/arkui/src/peers/ArkGridContainerPeer.ts +++ b/arkoala/arkui/src/peers/ArkGridContainerPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkGridItemPeer.ts b/arkoala/arkui/src/peers/ArkGridItemPeer.ts index 0e88cba54..e4a9fbc42 100644 --- a/arkoala/arkui/src/peers/ArkGridItemPeer.ts +++ b/arkoala/arkui/src/peers/ArkGridItemPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkGridPeer.ts b/arkoala/arkui/src/peers/ArkGridPeer.ts index b93892af4..bd5bd2a08 100644 --- a/arkoala/arkui/src/peers/ArkGridPeer.ts +++ b/arkoala/arkui/src/peers/ArkGridPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -159,7 +159,7 @@ export class ArkGridPeer extends ArkScrollableCommonMethodPeer { supportAnimationAttribute(value: boolean): void { ArkUIGeneratedNativeModule._GridAttribute_supportAnimation(this.peer.ptr, +value) } - onItemDragStartAttribute(value: ((event: ItemDragInfo, itemIndex: number) => (() => any))): void { + onItemDragStartAttribute(value: ((event: ItemDragInfo, itemIndex: number) => CustomBuilder)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._GridAttribute_onItemDragStart(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) @@ -227,7 +227,7 @@ export class ArkGridPeer extends ArkScrollableCommonMethodPeer { ArkUIGeneratedNativeModule._GridAttribute_alignItems(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - onScrollAttribute(value: ((scrollOffset: number, scrollState: ScrollState) => void)): void { + onScrollAttribute(value: ((first: number, last: number) => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._GridAttribute_onScroll(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) @@ -294,7 +294,7 @@ export interface ArkGridAttributes extends ArkScrollableCommonMethodAttributes { cellLength?: number layoutDirection?: GridDirection supportAnimation?: boolean - onItemDragStart?: ((event: ItemDragInfo, itemIndex: number) => (() => any)) + onItemDragStart?: ((event: ItemDragInfo, itemIndex: number) => CustomBuilder) onItemDragEnter?: ((event: ItemDragInfo) => void) onItemDragMove?: ((event: ItemDragInfo, itemIndex: number, insertIndex: number) => void) onItemDragLeave?: ((event: ItemDragInfo, itemIndex: number) => void) @@ -303,7 +303,7 @@ export interface ArkGridAttributes extends ArkScrollableCommonMethodAttributes { enableScrollInteraction?: boolean friction?: number | Resource alignItems?: GridItemAlignment | undefined - onScroll?: ((scrollOffset: number, scrollState: ScrollState) => void) + onScroll?: ((first: number, last: number) => void) onReachStart?: (() => void) onReachEnd?: (() => void) onScrollStart?: (() => void) diff --git a/arkoala/arkui/src/peers/ArkGridRowPeer.ts b/arkoala/arkui/src/peers/ArkGridRowPeer.ts index 1a8fd0844..1d0d7ebca 100644 --- a/arkoala/arkui/src/peers/ArkGridRowPeer.ts +++ b/arkoala/arkui/src/peers/ArkGridRowPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkHyperlinkPeer.ts b/arkoala/arkui/src/peers/ArkHyperlinkPeer.ts index 807acda74..dc7bac404 100644 --- a/arkoala/arkui/src/peers/ArkHyperlinkPeer.ts +++ b/arkoala/arkui/src/peers/ArkHyperlinkPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkImageAnimatorPeer.ts b/arkoala/arkui/src/peers/ArkImageAnimatorPeer.ts index a912a401a..995b861aa 100644 --- a/arkoala/arkui/src/peers/ArkImageAnimatorPeer.ts +++ b/arkoala/arkui/src/peers/ArkImageAnimatorPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkImagePeer.ts b/arkoala/arkui/src/peers/ArkImagePeer.ts index 3a1a64092..c1e03e8f3 100644 --- a/arkoala/arkui/src/peers/ArkImagePeer.ts +++ b/arkoala/arkui/src/peers/ArkImagePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkImageSpanPeer.ts b/arkoala/arkui/src/peers/ArkImageSpanPeer.ts index d9b4df723..614c5714d 100644 --- a/arkoala/arkui/src/peers/ArkImageSpanPeer.ts +++ b/arkoala/arkui/src/peers/ArkImageSpanPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkIndicatorcomponentPeer.ts b/arkoala/arkui/src/peers/ArkIndicatorcomponentPeer.ts index ee5ee0357..1b96b8ff0 100644 --- a/arkoala/arkui/src/peers/ArkIndicatorcomponentPeer.ts +++ b/arkoala/arkui/src/peers/ArkIndicatorcomponentPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkLinePeer.ts b/arkoala/arkui/src/peers/ArkLinePeer.ts index d2abcdc8a..a57f95de9 100644 --- a/arkoala/arkui/src/peers/ArkLinePeer.ts +++ b/arkoala/arkui/src/peers/ArkLinePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -59,28 +59,28 @@ export class ArkLinePeer extends ArkCommonShapeMethodPeer { ArkUIGeneratedNativeModule._LineInterface_setLineOptions(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - startPointAttribute(value: Array): void { + startPointAttribute(value: Array): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeInt32(value.length) for (let i = 0; i < value.length; i++) { - const value_element: any = value[i] - thisSerializer.writeCustomObject("Any", value_element) + const value_element: Length = value[i] + thisSerializer.writeLength(value_element) } ArkUIGeneratedNativeModule._LineAttribute_startPoint(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - endPointAttribute(value: Array): void { + endPointAttribute(value: Array): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeInt32(value.length) for (let i = 0; i < value.length; i++) { - const value_element: any = value[i] - thisSerializer.writeCustomObject("Any", value_element) + const value_element: Length = value[i] + thisSerializer.writeLength(value_element) } ArkUIGeneratedNativeModule._LineAttribute_endPoint(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } } export interface ArkLineAttributes extends ArkCommonShapeMethodAttributes { - startPoint?: Array - endPoint?: Array + startPoint?: Array + endPoint?: Array } diff --git a/arkoala/arkui/src/peers/ArkLinearindicatorPeer.ts b/arkoala/arkui/src/peers/ArkLinearindicatorPeer.ts index d678d23d7..10bc6bfe7 100644 --- a/arkoala/arkui/src/peers/ArkLinearindicatorPeer.ts +++ b/arkoala/arkui/src/peers/ArkLinearindicatorPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkListItemGroupPeer.ts b/arkoala/arkui/src/peers/ArkListItemGroupPeer.ts index 0ed62aa3b..a1d16a6a8 100644 --- a/arkoala/arkui/src/peers/ArkListItemGroupPeer.ts +++ b/arkoala/arkui/src/peers/ArkListItemGroupPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkListItemPeer.ts b/arkoala/arkui/src/peers/ArkListItemPeer.ts index f82f34303..e90538ba7 100644 --- a/arkoala/arkui/src/peers/ArkListItemPeer.ts +++ b/arkoala/arkui/src/peers/ArkListItemPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkListPeer.ts b/arkoala/arkui/src/peers/ArkListPeer.ts index 911eb8c2e..a8bffa822 100644 --- a/arkoala/arkui/src/peers/ArkListPeer.ts +++ b/arkoala/arkui/src/peers/ArkListPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -148,7 +148,7 @@ export class ArkListPeer extends ArkScrollableCommonMethodPeer { maintainVisibleContentPositionAttribute(value: boolean): void { ArkUIGeneratedNativeModule._ListAttribute_maintainVisibleContentPosition(this.peer.ptr, +value) } - onScrollAttribute(value: ((scrollOffset: number, scrollState: ScrollState) => void)): void { + onScrollAttribute(value: ((first: number, last: number) => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._ListAttribute_onScroll(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) @@ -202,7 +202,7 @@ export class ArkListPeer extends ArkScrollableCommonMethodPeer { ArkUIGeneratedNativeModule._ListAttribute_onItemMove(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - onItemDragStartAttribute(value: ((event: ItemDragInfo, itemIndex: number) => (() => any))): void { + onItemDragStartAttribute(value: ((event: ItemDragInfo, itemIndex: number) => CustomBuilder)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._ListAttribute_onItemDragStart(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) @@ -297,7 +297,7 @@ export interface ArkListAttributes extends ArkScrollableCommonMethodAttributes { friction?: number | Resource childrenMainSize?: ChildrenMainSize maintainVisibleContentPosition?: boolean - onScroll?: ((scrollOffset: number, scrollState: ScrollState) => void) + onScroll?: ((first: number, last: number) => void) onScrollIndex?: ((start: number, end: number, center: number) => void) onScrollVisibleContentChange?: OnScrollVisibleContentChangeCallback onReachStart?: (() => void) @@ -306,7 +306,7 @@ export interface ArkListAttributes extends ArkScrollableCommonMethodAttributes { onScrollStop?: (() => void) onItemDelete?: ((index: number) => boolean) onItemMove?: ((from: number, to: number) => boolean) - onItemDragStart?: ((event: ItemDragInfo, itemIndex: number) => (() => any)) + onItemDragStart?: ((event: ItemDragInfo, itemIndex: number) => CustomBuilder) onItemDragEnter?: ((event: ItemDragInfo) => void) onItemDragMove?: ((event: ItemDragInfo, itemIndex: number, insertIndex: number) => void) onItemDragLeave?: ((event: ItemDragInfo, itemIndex: number) => void) diff --git a/arkoala/arkui/src/peers/ArkLoadingProgressPeer.ts b/arkoala/arkui/src/peers/ArkLoadingProgressPeer.ts index f681f17d4..785a95771 100644 --- a/arkoala/arkui/src/peers/ArkLoadingProgressPeer.ts +++ b/arkoala/arkui/src/peers/ArkLoadingProgressPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkLocationButtonPeer.ts b/arkoala/arkui/src/peers/ArkLocationButtonPeer.ts index eefdb5cb0..3cd5818ec 100644 --- a/arkoala/arkui/src/peers/ArkLocationButtonPeer.ts +++ b/arkoala/arkui/src/peers/ArkLocationButtonPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkMarqueePeer.ts b/arkoala/arkui/src/peers/ArkMarqueePeer.ts index fe0c7ad6c..cdb013ec0 100644 --- a/arkoala/arkui/src/peers/ArkMarqueePeer.ts +++ b/arkoala/arkui/src/peers/ArkMarqueePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkMediaCachedImagePeer.ts b/arkoala/arkui/src/peers/ArkMediaCachedImagePeer.ts index 23920dc8c..09e3019fd 100644 --- a/arkoala/arkui/src/peers/ArkMediaCachedImagePeer.ts +++ b/arkoala/arkui/src/peers/ArkMediaCachedImagePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkMenuItemGroupPeer.ts b/arkoala/arkui/src/peers/ArkMenuItemGroupPeer.ts index 9dce47886..84db6516b 100644 --- a/arkoala/arkui/src/peers/ArkMenuItemGroupPeer.ts +++ b/arkoala/arkui/src/peers/ArkMenuItemGroupPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkMenuItemPeer.ts b/arkoala/arkui/src/peers/ArkMenuItemPeer.ts index b87018647..f24116eb9 100644 --- a/arkoala/arkui/src/peers/ArkMenuItemPeer.ts +++ b/arkoala/arkui/src/peers/ArkMenuItemPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkMenuPeer.ts b/arkoala/arkui/src/peers/ArkMenuPeer.ts index e12d43c22..8f3f4f856 100644 --- a/arkoala/arkui/src/peers/ArkMenuPeer.ts +++ b/arkoala/arkui/src/peers/ArkMenuPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkNavDestinationPeer.ts b/arkoala/arkui/src/peers/ArkNavDestinationPeer.ts index c45b459bd..ee9eb4c30 100644 --- a/arkoala/arkui/src/peers/ArkNavDestinationPeer.ts +++ b/arkoala/arkui/src/peers/ArkNavDestinationPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkNavRouterPeer.ts b/arkoala/arkui/src/peers/ArkNavRouterPeer.ts index d653ac1a8..e92a79c8e 100644 --- a/arkoala/arkui/src/peers/ArkNavRouterPeer.ts +++ b/arkoala/arkui/src/peers/ArkNavRouterPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkNavigatorPeer.ts b/arkoala/arkui/src/peers/ArkNavigatorPeer.ts index 46b2bd28d..523826c4a 100644 --- a/arkoala/arkui/src/peers/ArkNavigatorPeer.ts +++ b/arkoala/arkui/src/peers/ArkNavigatorPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkNodeContainerPeer.ts b/arkoala/arkui/src/peers/ArkNodeContainerPeer.ts index 311ab65d5..f8b1de560 100644 --- a/arkoala/arkui/src/peers/ArkNodeContainerPeer.ts +++ b/arkoala/arkui/src/peers/ArkNodeContainerPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkPanelPeer.ts b/arkoala/arkui/src/peers/ArkPanelPeer.ts index d0741e199..6360f2532 100644 --- a/arkoala/arkui/src/peers/ArkPanelPeer.ts +++ b/arkoala/arkui/src/peers/ArkPanelPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkPasteButtonPeer.ts b/arkoala/arkui/src/peers/ArkPasteButtonPeer.ts index b97dfa016..cb417fe09 100644 --- a/arkoala/arkui/src/peers/ArkPasteButtonPeer.ts +++ b/arkoala/arkui/src/peers/ArkPasteButtonPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkPathPeer.ts b/arkoala/arkui/src/peers/ArkPathPeer.ts index 4f64a32cc..c49831a7c 100644 --- a/arkoala/arkui/src/peers/ArkPathPeer.ts +++ b/arkoala/arkui/src/peers/ArkPathPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkPatternLockPeer.ts b/arkoala/arkui/src/peers/ArkPatternLockPeer.ts index 0ff38e46d..17a4fbffa 100644 --- a/arkoala/arkui/src/peers/ArkPatternLockPeer.ts +++ b/arkoala/arkui/src/peers/ArkPatternLockPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkPluginComponentPeer.ts b/arkoala/arkui/src/peers/ArkPluginComponentPeer.ts index 0f0f43878..c85a49910 100644 --- a/arkoala/arkui/src/peers/ArkPluginComponentPeer.ts +++ b/arkoala/arkui/src/peers/ArkPluginComponentPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkPolygonPeer.ts b/arkoala/arkui/src/peers/ArkPolygonPeer.ts index 51d71fac6..5f0c2a01d 100644 --- a/arkoala/arkui/src/peers/ArkPolygonPeer.ts +++ b/arkoala/arkui/src/peers/ArkPolygonPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -59,17 +59,17 @@ export class ArkPolygonPeer extends ArkCommonShapeMethodPeer { ArkUIGeneratedNativeModule._PolygonInterface_setPolygonOptions(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - pointsAttribute(value: Array): void { + pointsAttribute(value: Array): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeInt32(value.length) for (let i = 0; i < value.length; i++) { - const value_element: any = value[i] - thisSerializer.writeCustomObject("Any", value_element) + const value_element: Point = value[i] + thisSerializer.writePoint(value_element) } ArkUIGeneratedNativeModule._PolygonAttribute_points(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } } export interface ArkPolygonAttributes extends ArkCommonShapeMethodAttributes { - points?: Array + points?: Array } diff --git a/arkoala/arkui/src/peers/ArkPolylinePeer.ts b/arkoala/arkui/src/peers/ArkPolylinePeer.ts index 9684b8990..10eaa63d2 100644 --- a/arkoala/arkui/src/peers/ArkPolylinePeer.ts +++ b/arkoala/arkui/src/peers/ArkPolylinePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -59,17 +59,17 @@ export class ArkPolylinePeer extends ArkCommonShapeMethodPeer { ArkUIGeneratedNativeModule._PolylineInterface_setPolylineOptions(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - pointsAttribute(value: Array): void { + pointsAttribute(value: Array): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeInt32(value.length) for (let i = 0; i < value.length; i++) { - const value_element: any = value[i] - thisSerializer.writeCustomObject("Any", value_element) + const value_element: Point = value[i] + thisSerializer.writePoint(value_element) } ArkUIGeneratedNativeModule._PolylineAttribute_points(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } } export interface ArkPolylineAttributes extends ArkCommonShapeMethodAttributes { - points?: Array + points?: Array } diff --git a/arkoala/arkui/src/peers/ArkProgressPeer.ts b/arkoala/arkui/src/peers/ArkProgressPeer.ts index 1367575f4..20083d2e1 100644 --- a/arkoala/arkui/src/peers/ArkProgressPeer.ts +++ b/arkoala/arkui/src/peers/ArkProgressPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkQrcodePeer.ts b/arkoala/arkui/src/peers/ArkQrcodePeer.ts index 761a92b87..8400b9d2e 100644 --- a/arkoala/arkui/src/peers/ArkQrcodePeer.ts +++ b/arkoala/arkui/src/peers/ArkQrcodePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkRadioPeer.ts b/arkoala/arkui/src/peers/ArkRadioPeer.ts index 74bf693b2..130824001 100644 --- a/arkoala/arkui/src/peers/ArkRadioPeer.ts +++ b/arkoala/arkui/src/peers/ArkRadioPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkRatingPeer.ts b/arkoala/arkui/src/peers/ArkRatingPeer.ts index ff65f562b..cbc3a03ce 100644 --- a/arkoala/arkui/src/peers/ArkRatingPeer.ts +++ b/arkoala/arkui/src/peers/ArkRatingPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkRectPeer.ts b/arkoala/arkui/src/peers/ArkRectPeer.ts index 55c89f5bc..63e4c1253 100644 --- a/arkoala/arkui/src/peers/ArkRectPeer.ts +++ b/arkoala/arkui/src/peers/ArkRectPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -104,7 +104,7 @@ export class ArkRectPeer extends ArkCommonShapeMethodPeer { ArkUIGeneratedNativeModule._RectAttribute_radiusHeight(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - radiusAttribute(value: number | string | Array): void { + radiusAttribute(value: number | string | Array): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -120,11 +120,22 @@ export class ArkRectPeer extends ArkCommonShapeMethodPeer { } else if (((RuntimeType.OBJECT == value_type))) { thisSerializer.writeInt8(2) - const value_2 = unsafeCast>(value) + const value_2 = unsafeCast>(value) thisSerializer.writeInt32(value_2.length) for (let i = 0; i < value_2.length; i++) { - const value_2_element: any = value_2[i] - thisSerializer.writeCustomObject("Any", value_2_element) + const value_2_element: number | string = value_2[i] + 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) + const value_2_element_0 = unsafeCast(value_2_element) + thisSerializer.writeNumber(value_2_element_0) + } + else if (((RuntimeType.STRING == value_2_element_type))) { + thisSerializer.writeInt8(1) + const value_2_element_1 = unsafeCast(value_2_element) + thisSerializer.writeString(value_2_element_1) + } } } ArkUIGeneratedNativeModule._RectAttribute_radius(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) @@ -134,5 +145,5 @@ export class ArkRectPeer extends ArkCommonShapeMethodPeer { export interface ArkRectAttributes extends ArkCommonShapeMethodAttributes { radiusWidth?: number | string radiusHeight?: number | string - radius?: number | string | Array + radius?: number | string | Array } diff --git a/arkoala/arkui/src/peers/ArkRefreshPeer.ts b/arkoala/arkui/src/peers/ArkRefreshPeer.ts index 5672cbc0c..b0f026fb8 100644 --- a/arkoala/arkui/src/peers/ArkRefreshPeer.ts +++ b/arkoala/arkui/src/peers/ArkRefreshPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkRelativeContainerPeer.ts b/arkoala/arkui/src/peers/ArkRelativeContainerPeer.ts index d57385134..9fa6d3049 100644 --- a/arkoala/arkui/src/peers/ArkRelativeContainerPeer.ts +++ b/arkoala/arkui/src/peers/ArkRelativeContainerPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkRemoteWindowPeer.ts b/arkoala/arkui/src/peers/ArkRemoteWindowPeer.ts index 1d0ef4d1b..a94b0e551 100644 --- a/arkoala/arkui/src/peers/ArkRemoteWindowPeer.ts +++ b/arkoala/arkui/src/peers/ArkRemoteWindowPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkRichEditorPeer.ts b/arkoala/arkui/src/peers/ArkRichEditorPeer.ts index 5564d9d18..e1e7e7588 100644 --- a/arkoala/arkui/src/peers/ArkRichEditorPeer.ts +++ b/arkoala/arkui/src/peers/ArkRichEditorPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkRichTextPeer.ts b/arkoala/arkui/src/peers/ArkRichTextPeer.ts index 93eb8e6fb..ee6e6ceeb 100644 --- a/arkoala/arkui/src/peers/ArkRichTextPeer.ts +++ b/arkoala/arkui/src/peers/ArkRichTextPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkRootScenePeer.ts b/arkoala/arkui/src/peers/ArkRootScenePeer.ts index cb01017b5..49b81f2ff 100644 --- a/arkoala/arkui/src/peers/ArkRootScenePeer.ts +++ b/arkoala/arkui/src/peers/ArkRootScenePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkRowPeer.ts b/arkoala/arkui/src/peers/ArkRowPeer.ts index cd2c639a4..81c427a33 100644 --- a/arkoala/arkui/src/peers/ArkRowPeer.ts +++ b/arkoala/arkui/src/peers/ArkRowPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkRowSplitPeer.ts b/arkoala/arkui/src/peers/ArkRowSplitPeer.ts index 9b6900a27..a577f0aed 100644 --- a/arkoala/arkui/src/peers/ArkRowSplitPeer.ts +++ b/arkoala/arkui/src/peers/ArkRowSplitPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkSaveButtonPeer.ts b/arkoala/arkui/src/peers/ArkSaveButtonPeer.ts index 0d85ce51d..1ecfb1cc7 100644 --- a/arkoala/arkui/src/peers/ArkSaveButtonPeer.ts +++ b/arkoala/arkui/src/peers/ArkSaveButtonPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkScreenPeer.ts b/arkoala/arkui/src/peers/ArkScreenPeer.ts index a71a46f6d..32562288d 100644 --- a/arkoala/arkui/src/peers/ArkScreenPeer.ts +++ b/arkoala/arkui/src/peers/ArkScreenPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkScrollBarPeer.ts b/arkoala/arkui/src/peers/ArkScrollBarPeer.ts index 3c8037806..5e509b665 100644 --- a/arkoala/arkui/src/peers/ArkScrollBarPeer.ts +++ b/arkoala/arkui/src/peers/ArkScrollBarPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkScrollPeer.ts b/arkoala/arkui/src/peers/ArkScrollPeer.ts index 85a5f6382..777520625 100644 --- a/arkoala/arkui/src/peers/ArkScrollPeer.ts +++ b/arkoala/arkui/src/peers/ArkScrollPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -62,7 +62,7 @@ export class ArkScrollPeer extends ArkScrollableCommonMethodPeer { scrollableAttribute(value: ScrollDirection): void { ArkUIGeneratedNativeModule._ScrollAttribute_scrollable(this.peer.ptr, value) } - onScrollAttribute(value: ((scrollOffset: number, scrollState: ScrollState) => void)): void { + onScrollAttribute(value: ((first: number, last: number) => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._ScrollAttribute_onScroll(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) @@ -80,7 +80,7 @@ export class ArkScrollPeer extends ArkScrollableCommonMethodPeer { ArkUIGeneratedNativeModule._ScrollAttribute_onWillScroll(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - onDidScrollAttribute(value?: ScrollOnWillScrollCallback): void { + onDidScrollAttribute(value?: ScrollOnScrollCallback): void { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) @@ -98,7 +98,7 @@ export class ArkScrollPeer extends ArkScrollableCommonMethodPeer { ArkUIGeneratedNativeModule._ScrollAttribute_onScrollEdge(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - onScrollStartAttribute(value: (() => void)): void { + onScrollStartAttribute(value: VoidCallback): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._ScrollAttribute_onScrollStart(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) @@ -110,7 +110,7 @@ export class ArkScrollPeer extends ArkScrollableCommonMethodPeer { ArkUIGeneratedNativeModule._ScrollAttribute_onScrollEnd(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - onScrollStopAttribute(value: (() => void)): void { + onScrollStopAttribute(value: VoidCallback): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._ScrollAttribute_onScrollStop(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) @@ -220,13 +220,13 @@ export class ArkScrollPeer extends ArkScrollableCommonMethodPeer { } export interface ArkScrollAttributes extends ArkScrollableCommonMethodAttributes { scrollable?: ScrollDirection - onScroll?: ((scrollOffset: number, scrollState: ScrollState) => void) + onScroll?: ((first: number, last: number) => void) onWillScroll?: ScrollOnWillScrollCallback | undefined - onDidScroll?: ScrollOnWillScrollCallback | undefined + onDidScroll?: ScrollOnScrollCallback | undefined onScrollEdge?: OnScrollEdgeCallback - onScrollStart?: (() => void) + onScrollStart?: VoidCallback onScrollEnd?: (() => void) - onScrollStop?: (() => void) + onScrollStop?: VoidCallback scrollBar?: BarState scrollBarColor?: Color | number | string scrollBarWidth?: number | string diff --git a/arkoala/arkui/src/peers/ArkSearchPeer.ts b/arkoala/arkui/src/peers/ArkSearchPeer.ts index c8044f2e9..b502fadaf 100644 --- a/arkoala/arkui/src/peers/ArkSearchPeer.ts +++ b/arkoala/arkui/src/peers/ArkSearchPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkSecurityComponentPeer.ts b/arkoala/arkui/src/peers/ArkSecurityComponentPeer.ts index efd23d23e..f811aa6f3 100644 --- a/arkoala/arkui/src/peers/ArkSecurityComponentPeer.ts +++ b/arkoala/arkui/src/peers/ArkSecurityComponentPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkSelectPeer.ts b/arkoala/arkui/src/peers/ArkSelectPeer.ts index 1a8cb410f..d9afda0ce 100644 --- a/arkoala/arkui/src/peers/ArkSelectPeer.ts +++ b/arkoala/arkui/src/peers/ArkSelectPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkShapePeer.ts b/arkoala/arkui/src/peers/ArkShapePeer.ts index 0d608a51f..0e267a555 100644 --- a/arkoala/arkui/src/peers/ArkShapePeer.ts +++ b/arkoala/arkui/src/peers/ArkShapePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -133,12 +133,12 @@ export class ArkShapePeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._ShapeAttribute_strokeDashOffset(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - strokeDashArrayAttribute(value: Array): void { + strokeDashArrayAttribute(value: Array): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeInt32(value.length) for (let i = 0; i < value.length; i++) { - const value_element: any = value[i] - thisSerializer.writeCustomObject("Any", value_element) + const value_element: Length = value[i] + thisSerializer.writeLength(value_element) } ArkUIGeneratedNativeModule._ShapeAttribute_strokeDashArray(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() @@ -230,12 +230,12 @@ export class ArkShapePeer extends ArkCommonMethodPeer { antiAliasAttribute(value: boolean): void { ArkUIGeneratedNativeModule._ShapeAttribute_antiAlias(this.peer.ptr, +value) } - meshAttribute(value: Array, column: number, row: number): void { + meshAttribute(value: Array, column: number, row: number): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeInt32(value.length) for (let i = 0; i < value.length; i++) { - const value_element: any = value[i] - thisSerializer.writeCustomObject("Any", value_element) + const value_element: number = value[i] + thisSerializer.writeNumber(value_element) } ArkUIGeneratedNativeModule._ShapeAttribute_mesh(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length(), column, row) thisSerializer.release() @@ -246,7 +246,7 @@ export interface ArkShapeAttributes extends ArkCommonMethodAttributes { stroke?: ResourceColor fill?: ResourceColor strokeDashOffset?: number | string - strokeDashArray?: Array + strokeDashArray?: Array strokeLineCap?: LineCapStyle strokeLineJoin?: LineJoinStyle strokeMiterLimit?: number | string diff --git a/arkoala/arkui/src/peers/ArkSidebarPeer.ts b/arkoala/arkui/src/peers/ArkSidebarPeer.ts index 2e42d53b9..8b2053ec8 100644 --- a/arkoala/arkui/src/peers/ArkSidebarPeer.ts +++ b/arkoala/arkui/src/peers/ArkSidebarPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkSliderPeer.ts b/arkoala/arkui/src/peers/ArkSliderPeer.ts index e23a70d4a..ae0d1112f 100644 --- a/arkoala/arkui/src/peers/ArkSliderPeer.ts +++ b/arkoala/arkui/src/peers/ArkSliderPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkSpanPeer.ts b/arkoala/arkui/src/peers/ArkSpanPeer.ts index 6dfc3ab73..69a72e7dd 100644 --- a/arkoala/arkui/src/peers/ArkSpanPeer.ts +++ b/arkoala/arkui/src/peers/ArkSpanPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkStackPeer.ts b/arkoala/arkui/src/peers/ArkStackPeer.ts index 5838999a8..c6229c290 100644 --- a/arkoala/arkui/src/peers/ArkStackPeer.ts +++ b/arkoala/arkui/src/peers/ArkStackPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkStaticComponentsPeer.ts b/arkoala/arkui/src/peers/ArkStaticComponentsPeer.ts index 3ec9fadf4..cb2670a38 100644 --- a/arkoala/arkui/src/peers/ArkStaticComponentsPeer.ts +++ b/arkoala/arkui/src/peers/ArkStaticComponentsPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkStepperItemPeer.ts b/arkoala/arkui/src/peers/ArkStepperItemPeer.ts index 465beb3af..fe7303c83 100644 --- a/arkoala/arkui/src/peers/ArkStepperItemPeer.ts +++ b/arkoala/arkui/src/peers/ArkStepperItemPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkStepperPeer.ts b/arkoala/arkui/src/peers/ArkStepperPeer.ts index 61f92f869..79b594a2d 100644 --- a/arkoala/arkui/src/peers/ArkStepperPeer.ts +++ b/arkoala/arkui/src/peers/ArkStepperPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkSwiperPeer.ts b/arkoala/arkui/src/peers/ArkSwiperPeer.ts index b3d8c55c7..45f01246e 100644 --- a/arkoala/arkui/src/peers/ArkSwiperPeer.ts +++ b/arkoala/arkui/src/peers/ArkSwiperPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkSymbolSpanPeer.ts b/arkoala/arkui/src/peers/ArkSymbolSpanPeer.ts index 8480f9f45..78672b685 100644 --- a/arkoala/arkui/src/peers/ArkSymbolSpanPeer.ts +++ b/arkoala/arkui/src/peers/ArkSymbolSpanPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkSymbolglyphPeer.ts b/arkoala/arkui/src/peers/ArkSymbolglyphPeer.ts index 312f877b7..a8cb39b87 100644 --- a/arkoala/arkui/src/peers/ArkSymbolglyphPeer.ts +++ b/arkoala/arkui/src/peers/ArkSymbolglyphPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkTabContentPeer.ts b/arkoala/arkui/src/peers/ArkTabContentPeer.ts index 96b1f0c1e..b1542f621 100644 --- a/arkoala/arkui/src/peers/ArkTabContentPeer.ts +++ b/arkoala/arkui/src/peers/ArkTabContentPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkTabsPeer.ts b/arkoala/arkui/src/peers/ArkTabsPeer.ts index 06fe01d86..721404aa5 100644 --- a/arkoala/arkui/src/peers/ArkTabsPeer.ts +++ b/arkoala/arkui/src/peers/ArkTabsPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkTextAreaPeer.ts b/arkoala/arkui/src/peers/ArkTextAreaPeer.ts index 62ecf7af6..ee8fe677e 100644 --- a/arkoala/arkui/src/peers/ArkTextAreaPeer.ts +++ b/arkoala/arkui/src/peers/ArkTextAreaPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkTextClockPeer.ts b/arkoala/arkui/src/peers/ArkTextClockPeer.ts index 956e4a060..d1528fe84 100644 --- a/arkoala/arkui/src/peers/ArkTextClockPeer.ts +++ b/arkoala/arkui/src/peers/ArkTextClockPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkTextInputPeer.ts b/arkoala/arkui/src/peers/ArkTextInputPeer.ts index 663bdd789..7b289348a 100644 --- a/arkoala/arkui/src/peers/ArkTextInputPeer.ts +++ b/arkoala/arkui/src/peers/ArkTextInputPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkTextPeer.ts b/arkoala/arkui/src/peers/ArkTextPeer.ts index b7ddd90da..c25657c09 100644 --- a/arkoala/arkui/src/peers/ArkTextPeer.ts +++ b/arkoala/arkui/src/peers/ArkTextPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkTextPickerPeer.ts b/arkoala/arkui/src/peers/ArkTextPickerPeer.ts index de6b197b3..ea9318c8d 100644 --- a/arkoala/arkui/src/peers/ArkTextPickerPeer.ts +++ b/arkoala/arkui/src/peers/ArkTextPickerPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkTextTimerPeer.ts b/arkoala/arkui/src/peers/ArkTextTimerPeer.ts index 988afe7a7..5768f801b 100644 --- a/arkoala/arkui/src/peers/ArkTextTimerPeer.ts +++ b/arkoala/arkui/src/peers/ArkTextTimerPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkTimePickerPeer.ts b/arkoala/arkui/src/peers/ArkTimePickerPeer.ts index d5edec55d..a1fe3889f 100644 --- a/arkoala/arkui/src/peers/ArkTimePickerPeer.ts +++ b/arkoala/arkui/src/peers/ArkTimePickerPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkTogglePeer.ts b/arkoala/arkui/src/peers/ArkTogglePeer.ts index 29faf241c..106d5dd47 100644 --- a/arkoala/arkui/src/peers/ArkTogglePeer.ts +++ b/arkoala/arkui/src/peers/ArkTogglePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkUiExtensionComponentPeer.ts b/arkoala/arkui/src/peers/ArkUiExtensionComponentPeer.ts index 110a25859..f00148c48 100644 --- a/arkoala/arkui/src/peers/ArkUiExtensionComponentPeer.ts +++ b/arkoala/arkui/src/peers/ArkUiExtensionComponentPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkVideoPeer.ts b/arkoala/arkui/src/peers/ArkVideoPeer.ts index 42f68b2d6..5e9d66cfa 100644 --- a/arkoala/arkui/src/peers/ArkVideoPeer.ts +++ b/arkoala/arkui/src/peers/ArkVideoPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkWaterFlowPeer.ts b/arkoala/arkui/src/peers/ArkWaterFlowPeer.ts index 8833f969b..9b693415f 100644 --- a/arkoala/arkui/src/peers/ArkWaterFlowPeer.ts +++ b/arkoala/arkui/src/peers/ArkWaterFlowPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkWebPeer.ts b/arkoala/arkui/src/peers/ArkWebPeer.ts index 9b560c2b2..bf4290911 100644 --- a/arkoala/arkui/src/peers/ArkWebPeer.ts +++ b/arkoala/arkui/src/peers/ArkWebPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -257,7 +257,7 @@ export class ArkWebPeer extends ArkCommonMethodPeer { ArkUIGeneratedNativeModule._WebAttribute_onShowFileSelector(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() } - onFileSelectorShowAttribute(value: ((event?: { callback: Function, fileSelector: Object }) => void)): void { + onFileSelectorShowAttribute(value: ((event?: { callback_: Function, fileSelector: Object }) => void)): void { const thisSerializer: Serializer = Serializer.hold() thisSerializer.holdAndWriteCallback(value) ArkUIGeneratedNativeModule._WebAttribute_onFileSelectorShow(this.peer.ptr, thisSerializer.asArray(), thisSerializer.length()) @@ -708,7 +708,7 @@ export interface ArkWebAttributes extends ArkCommonMethodAttributes { onSslErrorReceive?: ((event?: { handler: Function, error: Object }) => void) onRenderExited?: ((parameter: OnRenderExitedEvent) => void) onShowFileSelector?: ((parameter: OnShowFileSelectorEvent) => boolean) - onFileSelectorShow?: ((event?: { callback: Function, fileSelector: Object }) => void) + onFileSelectorShow?: ((event?: { callback_: Function, fileSelector: Object }) => void) onResourceLoad?: ((parameter: OnResourceLoadEvent) => void) onFullScreenExit?: (() => void) onFullScreenEnter?: OnFullScreenEnterCallback diff --git a/arkoala/arkui/src/peers/ArkWindowScenePeer.ts b/arkoala/arkui/src/peers/ArkWindowScenePeer.ts index d4ef488d5..585ba1f0a 100644 --- a/arkoala/arkui/src/peers/ArkWindowScenePeer.ts +++ b/arkoala/arkui/src/peers/ArkWindowScenePeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/ArkXcomponentPeer.ts b/arkoala/arkui/src/peers/ArkXcomponentPeer.ts index 174580452..7ea336dcd 100644 --- a/arkoala/arkui/src/peers/ArkXcomponentPeer.ts +++ b/arkoala/arkui/src/peers/ArkXcomponentPeer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/arkui/src/peers/CallbackDeserializeCall.ts b/arkoala/arkui/src/peers/CallbackDeserializeCall.ts index 11fcb21e8..111f9553d 100644 --- a/arkoala/arkui/src/peers/CallbackDeserializeCall.ts +++ b/arkoala/arkui/src/peers/CallbackDeserializeCall.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -24,7 +24,7 @@ export function deserializeAndCallAccessibilityCallback(thisDeserializer: Deseri const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as AccessibilityCallback) let isHover: boolean = thisDeserializer.readBoolean() - let event: AccessibilityHoverEvent = thisDeserializer.readAccessibilityHoverEvent() + let event: AccessibilityHoverEvent = (thisDeserializer.readAccessibilityHoverEvent() as AccessibilityHoverEvent) _call(isHover, event) } export function deserializeAndCallButtonTriggerClickCallback(thisDeserializer: Deserializer) { @@ -34,13 +34,6 @@ export function deserializeAndCallButtonTriggerClickCallback(thisDeserializer: D let yPos: number = (thisDeserializer.readNumber() as number) _call(xPos, yPos) } -export function deserializeAndCallCallback_Any(thisDeserializer: Deserializer) { - const _resourceId: int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as (() => any)) - let _continuation: ((info: any) => void) = thisDeserializer.readCallback_Any_Void(true) - const _callResult = _call() - _continuation(_callResult) -} export function deserializeAndCallCallback_Any_Void(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((info: any) => void)) @@ -100,7 +93,7 @@ export function deserializeAndCallCallback_Boolean_HoverEvent_Void(thisDeseriali const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((isHover: boolean, event: HoverEvent) => void)) let isHover: boolean = thisDeserializer.readBoolean() - let event: HoverEvent = thisDeserializer.readHoverEvent() + let event: HoverEvent = (thisDeserializer.readHoverEvent() as HoverEvent) _call(isHover, event) } export function deserializeAndCallCallback_Boolean_Void(thisDeserializer: Deserializer) { @@ -121,37 +114,31 @@ export function deserializeAndCallCallback_CalendarSelectedDate_Void(thisDeseria let event: CalendarSelectedDate = thisDeserializer.readCalendarSelectedDate() _call(event) } -export function deserializeAndCallCallback_Callback_Any_Void(thisDeserializer: Deserializer) { - const _resourceId: int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as ((value: (() => any)) => void)) - let value: (() => any) = thisDeserializer.readCallback_Any() - _call(value) -} export function deserializeAndCallCallback_ClickEvent_LocationButtonOnClickResult_Void(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent, result: LocationButtonOnClickResult) => void)) - let event: ClickEvent = thisDeserializer.readClickEvent() + let event: ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) let result: LocationButtonOnClickResult = (thisDeserializer.readInt32() as LocationButtonOnClickResult) _call(event, result) } export function deserializeAndCallCallback_ClickEvent_PasteButtonOnClickResult_Void(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent, result: PasteButtonOnClickResult) => void)) - let event: ClickEvent = thisDeserializer.readClickEvent() + let event: ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) let result: PasteButtonOnClickResult = (thisDeserializer.readInt32() as PasteButtonOnClickResult) _call(event, result) } export function deserializeAndCallCallback_ClickEvent_SaveButtonOnClickResult_Void(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent, result: SaveButtonOnClickResult) => void)) - let event: ClickEvent = thisDeserializer.readClickEvent() + let event: ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) let result: SaveButtonOnClickResult = (thisDeserializer.readInt32() as SaveButtonOnClickResult) _call(event, result) } export function deserializeAndCallCallback_ClickEvent_Void(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent) => void)) - let event: ClickEvent = thisDeserializer.readClickEvent() + let event: ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) _call(event) } export function deserializeAndCallCallback_ComputedBarAttribute_Void(thisDeserializer: Deserializer) { @@ -166,6 +153,12 @@ export function deserializeAndCallCallback_CopyEvent_Void(thisDeserializer: Dese let parameter: CopyEvent = thisDeserializer.readCopyEvent() _call(parameter) } +export function deserializeAndCallCallback_CustomBuilder_Void(thisDeserializer: Deserializer) { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((value: CustomBuilder) => void)) + let value: CustomBuilder = CallbackTransformer.transformToCustomBuilder(thisDeserializer.readCustomNodeBuilder()) + _call(value) +} export function deserializeAndCallCallback_CutEvent_Void(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: CutEvent) => void)) @@ -225,7 +218,7 @@ export function deserializeAndCallCallback_DismissSheetAction_Void(thisDeseriali export function deserializeAndCallCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: DragEvent, extraParams?: string) => CustomBuilder | DragItemInfo)) - let event: DragEvent = thisDeserializer.readDragEvent() + 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)) @@ -240,7 +233,7 @@ export function deserializeAndCallCallback_DragEvent_String_Union_CustomBuilder_ export function deserializeAndCallCallback_DragEvent_String_Void(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: DragEvent, extraParams?: string) => void)) - let event: DragEvent = thisDeserializer.readDragEvent() + 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)) @@ -271,14 +264,14 @@ export function deserializeAndCallCallback_FullscreenInfo_Void(thisDeserializer: export function deserializeAndCallCallback_GestureEvent_Void(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: GestureEvent) => void)) - let event: GestureEvent = thisDeserializer.readGestureEvent() + let event: GestureEvent = (thisDeserializer.readGestureEvent() as GestureEvent) _call(event) } export function deserializeAndCallCallback_GestureInfo_BaseGestureEvent_GestureJudgeResult(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((gestureInfo: GestureInfo, event: BaseGestureEvent) => GestureJudgeResult)) let gestureInfo: GestureInfo = thisDeserializer.readGestureInfo() - let event: BaseGestureEvent = thisDeserializer.readBaseGestureEvent() + let event: BaseGestureEvent = (thisDeserializer.readBaseGestureEvent() as BaseGestureEvent) let _continuation: ((value: GestureJudgeResult) => void) = thisDeserializer.readCallback_GestureJudgeResult_Void(true) const _callResult = _call(gestureInfo, event) _continuation(_callResult) @@ -321,12 +314,12 @@ export function deserializeAndCallCallback_IsolatedComponentAttribute_Void(thisD let value: IsolatedComponentAttribute = thisDeserializer.readIsolatedComponentAttribute() _call(value) } -export function deserializeAndCallCallback_ItemDragInfo_Number_Callback_Any(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ItemDragInfo_Number_CustomBuilder(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ItemDragInfo, itemIndex: number) => (() => any))) + const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ItemDragInfo, itemIndex: number) => CustomBuilder)) let event: ItemDragInfo = thisDeserializer.readItemDragInfo() let itemIndex: number = (thisDeserializer.readNumber() as number) - let _continuation: ((value: (() => any)) => void) = thisDeserializer.readCallback_Callback_Any_Void(true) + let _continuation: ((value: CustomBuilder) => void) = thisDeserializer.readCallback_CustomBuilder_Void(true) const _callResult = _call(event, itemIndex) _continuation(_callResult) } @@ -363,7 +356,7 @@ export function deserializeAndCallCallback_ItemDragInfo_Void(thisDeserializer: D export function deserializeAndCallCallback_KeyEvent_Boolean(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: KeyEvent) => boolean)) - let parameter: KeyEvent = thisDeserializer.readKeyEvent() + let parameter: KeyEvent = (thisDeserializer.readKeyEvent() as KeyEvent) let _continuation: ((parameter: boolean) => void) = thisDeserializer.readCallback_Boolean_Void(true) const _callResult = _call(parameter) _continuation(_callResult) @@ -371,7 +364,7 @@ export function deserializeAndCallCallback_KeyEvent_Boolean(thisDeserializer: De export function deserializeAndCallCallback_KeyEvent_Void(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: KeyEvent) => void)) - let event: KeyEvent = thisDeserializer.readKeyEvent() + let event: KeyEvent = (thisDeserializer.readKeyEvent() as KeyEvent) _call(event) } export function deserializeAndCallCallback_Literal_Boolean_isVisible_Void(thisDeserializer: Deserializer) { @@ -381,20 +374,6 @@ export function deserializeAndCallCallback_Literal_Boolean_isVisible_Void(thisDe let event: { isVisible: boolean } = ({isVisible: event_buf_isVisible} as { isVisible: boolean }) _call(event) } -export function deserializeAndCallCallback_Literal_Function_callback_Object_fileSelector_Void(thisDeserializer: Deserializer) { - const _resourceId: int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: { callback: Function, fileSelector: Object }) => void)) - const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) - let event_buf: { callback: Function, fileSelector: Object } | undefined|undefined - if ((RuntimeType.UNDEFINED) != (event_buf_runtimeType)) - { - const event_buf__callback: Function = (thisDeserializer.readFunction() as Function) - const event_buf__fileSelector: Object = (thisDeserializer.readCustomObject("Object") as Object) - event_buf = ({callback: event_buf__callback, fileSelector: event_buf__fileSelector} as { callback: Function, fileSelector: Object }) - } - let event: { callback: Function, fileSelector: Object } | undefined|undefined = event_buf - _call(event) -} export function deserializeAndCallCallback_Literal_Function_handler_Object_error_Void(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: { handler: Function, error: Object }) => void)) @@ -463,7 +442,7 @@ export function deserializeAndCallCallback_Literal_String_plainText_Void(thisDes export function deserializeAndCallCallback_MouseEvent_Void(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: MouseEvent) => void)) - let event: MouseEvent = thisDeserializer.readMouseEvent() + let event: MouseEvent = (thisDeserializer.readMouseEvent() as MouseEvent) _call(event) } export function deserializeAndCallCallback_NativeEmbedDataInfo_Void(thisDeserializer: Deserializer) { @@ -560,13 +539,6 @@ export function deserializeAndCallCallback_Number_ScrollState_Literal_Number_off const _callResult = _call(offset, state) _continuation(_callResult) } -export function deserializeAndCallCallback_Number_ScrollState_Void(thisDeserializer: Deserializer) { - const _resourceId: int32 = thisDeserializer.readInt32() - const _call = (ResourceHolder.instance().get(_resourceId) as ((scrollOffset: number, scrollState: ScrollState) => void)) - let scrollOffset: number = (thisDeserializer.readNumber() as number) - let scrollState: ScrollState = (thisDeserializer.readInt32() as ScrollState) - _call(scrollOffset, scrollState) -} export function deserializeAndCallCallback_Number_SliderChangeMode_Void(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: number, mode: SliderChangeMode) => void)) @@ -1108,7 +1080,7 @@ export function deserializeAndCallCallback_TimePickerResult_Void(thisDeserialize export function deserializeAndCallCallback_TouchEvent_HitTestMode(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: TouchEvent) => HitTestMode)) - let parameter: TouchEvent = thisDeserializer.readTouchEvent() + let parameter: TouchEvent = (thisDeserializer.readTouchEvent() as TouchEvent) let _continuation: ((value: HitTestMode) => void) = thisDeserializer.readCallback_HitTestMode_Void(true) const _callResult = _call(parameter) _continuation(_callResult) @@ -1116,7 +1088,7 @@ export function deserializeAndCallCallback_TouchEvent_HitTestMode(thisDeserializ export function deserializeAndCallCallback_TouchEvent_Void(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: TouchEvent) => void)) - let event: TouchEvent = thisDeserializer.readTouchEvent() + let event: TouchEvent = (thisDeserializer.readTouchEvent() as TouchEvent) _call(event) } export function deserializeAndCallCallback_TouchResult_Void(thisDeserializer: Deserializer) { @@ -1243,7 +1215,7 @@ export function deserializeAndCallEditableTextOnChangeCallback(thisDeserializer: export function deserializeAndCallGestureRecognizerJudgeBeginCallback(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as GestureRecognizerJudgeBeginCallback) - let event: BaseGestureEvent = thisDeserializer.readBaseGestureEvent() + let event: BaseGestureEvent = (thisDeserializer.readBaseGestureEvent() as BaseGestureEvent) let current: GestureRecognizer = (thisDeserializer.readGestureRecognizer() as GestureRecognizer) const recognizers_buf_length: int32 = thisDeserializer.readInt32() let recognizers_buf: Array = new Array() @@ -1267,7 +1239,7 @@ export function deserializeAndCallHoverCallback(thisDeserializer: Deserializer) const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as HoverCallback) let isHover: boolean = thisDeserializer.readBoolean() - let event: HoverEvent = thisDeserializer.readHoverEvent() + let event: HoverEvent = (thisDeserializer.readHoverEvent() as HoverEvent) _call(isHover, event) } export function deserializeAndCallImageCompleteCallback(thisDeserializer: Deserializer) { @@ -1536,7 +1508,7 @@ export function deserializeAndCallOnSubmitCallback(thisDeserializer: Deserialize const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnSubmitCallback) let enterKey: EnterKeyType = (thisDeserializer.readInt32() as EnterKeyType) - let event: SubmitEvent = thisDeserializer.readSubmitEvent() + let event: SubmitEvent = (thisDeserializer.readSubmitEvent() as SubmitEvent) _call(enterKey, event) } export function deserializeAndCallOnSwiperAnimationEndCallback(thisDeserializer: Deserializer) { @@ -1657,7 +1629,7 @@ export function deserializeAndCallSearchSubmitCallback(thisDeserializer: Deseria let event_buf: SubmitEvent | undefined|undefined if ((RuntimeType.UNDEFINED) != (event_buf_runtimeType)) { - event_buf = thisDeserializer.readSubmitEvent() + event_buf = (thisDeserializer.readSubmitEvent() as SubmitEvent) } let event: SubmitEvent | undefined|undefined = event_buf _call(searchContent, event) @@ -1694,7 +1666,7 @@ export function deserializeAndCallSubmitCallback(thisDeserializer: Deserializer) const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as SubmitCallback) let enterKey: EnterKeyType = (thisDeserializer.readInt32() as EnterKeyType) - let event: SubmitEvent = thisDeserializer.readSubmitEvent() + let event: SubmitEvent = (thisDeserializer.readSubmitEvent() as SubmitEvent) _call(enterKey, event) } export function deserializeAndCallTabsCustomContentTransitionCallback(thisDeserializer: Deserializer) { @@ -1714,7 +1686,7 @@ export function deserializeAndCallTextAreaSubmitCallback(thisDeserializer: Deser let event_buf: SubmitEvent | undefined|undefined if ((RuntimeType.UNDEFINED) != (event_buf_runtimeType)) { - event_buf = thisDeserializer.readSubmitEvent() + event_buf = (thisDeserializer.readSubmitEvent() as SubmitEvent) } let event: SubmitEvent | undefined|undefined = event_buf _call(enterKeyType, event) @@ -1774,6 +1746,20 @@ export function deserializeAndCallType_TextPickerAttribute_onChange_callback(thi let index: number | Array = (index_buf as number | Array) _call(value, index) } +export function deserializeAndCallType_WebAttribute_onFileSelectorShow_callback(thisDeserializer: Deserializer) { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: { callback_: Function, fileSelector: Object }) => void)) + const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) + let event_buf: { callback_: Function, fileSelector: Object } | undefined|undefined + if ((RuntimeType.UNDEFINED) != (event_buf_runtimeType)) + { + const event_buf__callback_: Function = (thisDeserializer.readFunction() as Function) + const event_buf__fileSelector: Object = (thisDeserializer.readCustomObject("Object") as Object) + event_buf = ({callback_: event_buf__callback_, fileSelector: event_buf__fileSelector} as { callback_: Function, fileSelector: Object }) + } + let event: { callback_: Function, fileSelector: Object } | undefined|undefined = event_buf + _call(event) +} export function deserializeAndCallType_WebAttribute_onUrlLoadIntercept_callback(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: { data: string | WebResourceRequest }) => boolean)) @@ -1833,7 +1819,6 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer) { switch (kind) { case 589030517/*CallbackKind.Kind_AccessibilityCallback*/: return deserializeAndCallAccessibilityCallback(thisDeserializer); case -1964292933/*CallbackKind.Kind_ButtonTriggerClickCallback*/: return deserializeAndCallButtonTriggerClickCallback(thisDeserializer); - case -2139018190/*CallbackKind.Kind_Callback_Any*/: return deserializeAndCallCallback_Any(thisDeserializer); case 197193081/*CallbackKind.Kind_Callback_Any_Void*/: return deserializeAndCallCallback_Any_Void(thisDeserializer); case -2024393616/*CallbackKind.Kind_Callback_Area_Area_Void*/: return deserializeAndCallCallback_Area_Area_Void(thisDeserializer); case 582384234/*CallbackKind.Kind_Callback_Array_Number_Void*/: return deserializeAndCallCallback_Array_Number_Void(thisDeserializer); @@ -1844,13 +1829,13 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer) { case 313269291/*CallbackKind.Kind_Callback_Boolean_Void*/: return deserializeAndCallCallback_Boolean_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 1931725935/*CallbackKind.Kind_Callback_Callback_Any_Void*/: return deserializeAndCallCallback_Callback_Any_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 -721106019/*CallbackKind.Kind_Callback_CustomBuilder_Void*/: return deserializeAndCallCallback_CustomBuilder_Void(thisDeserializer); case -1875695871/*CallbackKind.Kind_Callback_CutEvent_Void*/: return deserializeAndCallCallback_CutEvent_Void(thisDeserializer); case 1405382363/*CallbackKind.Kind_Callback_Date_Void*/: return deserializeAndCallCallback_Date_Void(thisDeserializer); case 1280920532/*CallbackKind.Kind_Callback_DatePickerResult_Void*/: return deserializeAndCallCallback_DatePickerResult_Void(thisDeserializer); @@ -1873,7 +1858,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer) { 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 719029905/*CallbackKind.Kind_Callback_IsolatedComponentAttribute_Void*/: return deserializeAndCallCallback_IsolatedComponentAttribute_Void(thisDeserializer); - case 464274540/*CallbackKind.Kind_Callback_ItemDragInfo_Number_Callback_Any*/: return deserializeAndCallCallback_ItemDragInfo_Number_Callback_Any(thisDeserializer); + case 2071721246/*CallbackKind.Kind_Callback_ItemDragInfo_Number_CustomBuilder*/: return deserializeAndCallCallback_ItemDragInfo_Number_CustomBuilder(thisDeserializer); case -1627362945/*CallbackKind.Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void*/: return deserializeAndCallCallback_ItemDragInfo_Number_Number_Boolean_Void(thisDeserializer); case -918805852/*CallbackKind.Kind_Callback_ItemDragInfo_Number_Number_Void*/: return deserializeAndCallCallback_ItemDragInfo_Number_Number_Void(thisDeserializer); case 296908152/*CallbackKind.Kind_Callback_ItemDragInfo_Number_Void*/: return deserializeAndCallCallback_ItemDragInfo_Number_Void(thisDeserializer); @@ -1881,7 +1866,6 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer) { case -2061548092/*CallbackKind.Kind_Callback_KeyEvent_Boolean*/: return deserializeAndCallCallback_KeyEvent_Boolean(thisDeserializer); case 707696468/*CallbackKind.Kind_Callback_KeyEvent_Void*/: return deserializeAndCallCallback_KeyEvent_Void(thisDeserializer); case -1561407084/*CallbackKind.Kind_Callback_Literal_Boolean_isVisible_Void*/: return deserializeAndCallCallback_Literal_Boolean_isVisible_Void(thisDeserializer); - case 1754134729/*CallbackKind.Kind_Callback_Literal_Function_callback_Object_fileSelector_Void*/: return deserializeAndCallCallback_Literal_Function_callback_Object_fileSelector_Void(thisDeserializer); case 361012115/*CallbackKind.Kind_Callback_Literal_Function_handler_Object_error_Void*/: return deserializeAndCallCallback_Literal_Function_handler_Object_error_Void(thisDeserializer); case -582934742/*CallbackKind.Kind_Callback_Literal_Number_code_Want_want_Void*/: return deserializeAndCallCallback_Literal_Number_code_Want_want_Void(thisDeserializer); case 1321277443/*CallbackKind.Kind_Callback_Literal_Number_errcode_String_msg_Void*/: return deserializeAndCallCallback_Literal_Number_errcode_String_msg_Void(thisDeserializer); @@ -1902,7 +1886,6 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer) { case 1613628570/*CallbackKind.Kind_Callback_Number_Number_PanelMode_Void*/: return deserializeAndCallCallback_Number_Number_PanelMode_Void(thisDeserializer); case 1894574320/*CallbackKind.Kind_Callback_Number_Number_Void*/: return deserializeAndCallCallback_Number_Number_Void(thisDeserializer); case 2012829508/*CallbackKind.Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain*/: return deserializeAndCallCallback_Number_ScrollState_Literal_Number_offsetRemain(thisDeserializer); - case -1844695159/*CallbackKind.Kind_Callback_Number_ScrollState_Void*/: return deserializeAndCallCallback_Number_ScrollState_Void(thisDeserializer); case 88697971/*CallbackKind.Kind_Callback_Number_SliderChangeMode_Void*/: return deserializeAndCallCallback_Number_SliderChangeMode_Void(thisDeserializer); case 794065478/*CallbackKind.Kind_Callback_Number_String_Void*/: return deserializeAndCallCallback_Number_String_Void(thisDeserializer); case 1602877440/*CallbackKind.Kind_Callback_Number_Tuple_Number_Number*/: return deserializeAndCallCallback_Number_Tuple_Number_Number(thisDeserializer); @@ -2058,6 +2041,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer) { case -1878458553/*CallbackKind.Kind_TransitionFinishCallback*/: return deserializeAndCallTransitionFinishCallback(thisDeserializer); case 1044833488/*CallbackKind.Kind_Type_NavigationAttribute_customNavContentTransition_delegate*/: return deserializeAndCallType_NavigationAttribute_customNavContentTransition_delegate(thisDeserializer); case -1078223620/*CallbackKind.Kind_Type_TextPickerAttribute_onChange_callback*/: return deserializeAndCallType_TextPickerAttribute_onChange_callback(thisDeserializer); + case 1962174977/*CallbackKind.Kind_Type_WebAttribute_onFileSelectorShow_callback*/: return deserializeAndCallType_WebAttribute_onFileSelectorShow_callback(thisDeserializer); case -985284966/*CallbackKind.Kind_Type_WebAttribute_onUrlLoadIntercept_callback*/: return deserializeAndCallType_WebAttribute_onUrlLoadIntercept_callback(thisDeserializer); case 541663396/*CallbackKind.Kind_VisibleAreaChangeCallback*/: return deserializeAndCallVisibleAreaChangeCallback(thisDeserializer); case -2038961969/*CallbackKind.Kind_VoidCallback*/: return deserializeAndCallVoidCallback(thisDeserializer); diff --git a/arkoala/arkui/src/peers/CallbackKind.ts b/arkoala/arkui/src/peers/CallbackKind.ts index 28fc029db..fe05db7ea 100644 --- a/arkoala/arkui/src/peers/CallbackKind.ts +++ b/arkoala/arkui/src/peers/CallbackKind.ts @@ -1,7 +1,6 @@ export enum CallbackKind { Kind_AccessibilityCallback = 589030517, Kind_ButtonTriggerClickCallback = -1964292933, - Kind_Callback_Any = -2139018190, Kind_Callback_Any_Void = 197193081, Kind_Callback_Area_Area_Void = -2024393616, Kind_Callback_Array_Number_Void = 582384234, @@ -12,13 +11,13 @@ export enum CallbackKind { Kind_Callback_Boolean_Void = 313269291, Kind_Callback_CalendarRequestedData_Void = 1074619005, Kind_Callback_CalendarSelectedDate_Void = -289198976, - Kind_Callback_Callback_Any_Void = 1931725935, 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_CustomBuilder_Void = -721106019, Kind_Callback_CutEvent_Void = -1875695871, Kind_Callback_Date_Void = 1405382363, Kind_Callback_DatePickerResult_Void = 1280920532, @@ -41,7 +40,7 @@ export enum CallbackKind { Kind_Callback_InsertValue_Boolean = -383025085, Kind_Callback_InsertValue_Void = -1121207885, Kind_Callback_IsolatedComponentAttribute_Void = 719029905, - Kind_Callback_ItemDragInfo_Number_Callback_Any = 464274540, + Kind_Callback_ItemDragInfo_Number_CustomBuilder = 2071721246, Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void = -1627362945, Kind_Callback_ItemDragInfo_Number_Number_Void = -918805852, Kind_Callback_ItemDragInfo_Number_Void = 296908152, @@ -49,7 +48,6 @@ export enum CallbackKind { Kind_Callback_KeyEvent_Boolean = -2061548092, Kind_Callback_KeyEvent_Void = 707696468, Kind_Callback_Literal_Boolean_isVisible_Void = -1561407084, - Kind_Callback_Literal_Function_callback_Object_fileSelector_Void = 1754134729, Kind_Callback_Literal_Function_handler_Object_error_Void = 361012115, Kind_Callback_Literal_Number_code_Want_want_Void = -582934742, Kind_Callback_Literal_Number_errcode_String_msg_Void = 1321277443, @@ -70,7 +68,6 @@ export enum CallbackKind { Kind_Callback_Number_Number_PanelMode_Void = 1613628570, Kind_Callback_Number_Number_Void = 1894574320, Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain = 2012829508, - Kind_Callback_Number_ScrollState_Void = -1844695159, Kind_Callback_Number_SliderChangeMode_Void = 88697971, Kind_Callback_Number_String_Void = 794065478, Kind_Callback_Number_Tuple_Number_Number = 1602877440, @@ -226,6 +223,7 @@ export enum CallbackKind { Kind_TransitionFinishCallback = -1878458553, Kind_Type_NavigationAttribute_customNavContentTransition_delegate = 1044833488, Kind_Type_TextPickerAttribute_onChange_callback = -1078223620, + Kind_Type_WebAttribute_onFileSelectorShow_callback = 1962174977, Kind_Type_WebAttribute_onUrlLoadIntercept_callback = -985284966, Kind_VisibleAreaChangeCallback = 541663396, Kind_VoidCallback = -2038961969, diff --git a/arkoala/arkui/src/peers/Deserializer.ts b/arkoala/arkui/src/peers/Deserializer.ts index 4c0fd68b2..c2c473cc0 100644 --- a/arkoala/arkui/src/peers/Deserializer.ts +++ b/arkoala/arkui/src/peers/Deserializer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -49,16 +49,34 @@ import { DrawingRenderingContextInternal } from "./../ArkDrawingRenderingContext import { ICurveInternal } from "./../ArkICurveMaterialized" import { DrawModifierInternal } from "./../ArkDrawModifierMaterialized" import { TransitionEffectInternal } from "./../ArkTransitionEffectMaterialized" +import { BaseEventInternal } from "./../ArkBaseEventMaterialized" +import { ClickEventInternal } from "./../ArkClickEventMaterialized" +import { HoverEventInternal } from "./../ArkHoverEventMaterialized" +import { MouseEventInternal } from "./../ArkMouseEventMaterialized" +import { AccessibilityHoverEventInternal } from "./../ArkAccessibilityHoverEventMaterialized" +import { TouchEventInternal } from "./../ArkTouchEventMaterialized" import { PixelMapMockInternal } from "./../ArkPixelMapMockMaterialized" +import { DragEventInternal } from "./../ArkDragEventMaterialized" +import { KeyEventInternal } from "./../ArkKeyEventMaterialized" import { ProgressMaskInternal } from "./../ArkProgressMaskMaterialized" import { ViewInternal } from "./../ArkViewMaterialized" import { TextContentControllerBaseInternal } from "./../ArkTextContentControllerBaseMaterialized" import { DynamicNodeInternal } from "./../ArkDynamicNodeMaterialized" import { ChildrenMainSizeInternal } from "./../ArkChildrenMainSizeMaterialized" +import { UICommonEventInternal } from "./../ArkUICommonEventMaterialized" import { GestureModifierInternal } from "./../ArkGestureModifierMaterialized" +import { GlobalScope_commonInternal } from "./../ArkGlobalScopeCommonMaterialized" import { ContextMenuInternal } from "./../ArkContextMenuMaterialized" import { CustomDialogControllerInternal } from "./../ArkCustomDialogControllerMaterialized" import { DatePickerDialogInternal } from "./../ArkDatePickerDialogMaterialized" +import { BaseGestureEventInternal } from "./../ArkBaseGestureEventMaterialized" +import { TapGestureEventInternal } from "./../ArkTapGestureEventMaterialized" +import { LongPressGestureEventInternal } from "./../ArkLongPressGestureEventMaterialized" +import { PanGestureEventInternal } from "./../ArkPanGestureEventMaterialized" +import { PinchGestureEventInternal } from "./../ArkPinchGestureEventMaterialized" +import { RotationGestureEventInternal } from "./../ArkRotationGestureEventMaterialized" +import { SwipeGestureEventInternal } from "./../ArkSwipeGestureEventMaterialized" +import { GestureEventInternal } from "./../ArkGestureEventMaterialized" import { PanGestureOptionsInternal } from "./../ArkPanGestureOptionsMaterialized" import { ScrollableTargetInfoInternal } from "./../ArkScrollableTargetInfoMaterialized" import { EventTargetInfoInternal } from "./../ArkEventTargetInfoMaterialized" @@ -90,6 +108,7 @@ import { StyledStringControllerInternal } from "./../ArkStyledStringControllerMa import { LayoutManagerInternal } from "./../ArkLayoutManagerMaterialized" import { TextMenuItemIdInternal } from "./../ArkTextMenuItemIdMaterialized" import { EditMenuOptionsInternal } from "./../ArkEditMenuOptionsMaterialized" +import { SubmitEventInternal } from "./../ArkSubmitEventMaterialized" import { TextInputControllerInternal } from "./../ArkTextInputControllerMaterialized" import { TextPickerDialogInternal } from "./../ArkTextPickerDialogMaterialized" import { TextTimerControllerInternal } from "./../ArkTextTimerControllerMaterialized" @@ -124,6 +143,7 @@ import { StyledStringInternal } from "./../ArkStyledStringMaterialized" import { MutableStyledStringInternal } from "./../ArkMutableStyledStringMaterialized" import { CustomSpanInternal } from "./../ArkCustomSpanMaterialized" import { LinearIndicatorControllerInternal } from "./../ArkLinearIndicatorControllerMaterialized" +import { GlobalScope_inspectorInternal } from "./../ArkGlobalScopeInspectorMaterialized" export class Deserializer extends DeserializerBase { readResource(): Resource { @@ -4101,51 +4121,8 @@ export class Deserializer extends DeserializerBase { } readTouchEvent(): TouchEvent { let valueDeserializer: Deserializer = this - const target_result: EventTarget = valueDeserializer.readEventTarget() - const timestamp_result: number = (valueDeserializer.readNumber() as number) - const source_result: SourceType = (valueDeserializer.readInt32() as SourceType) - const axisHorizontal_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisHorizontal_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf = (valueDeserializer.readNumber() as number) - } - const axisHorizontal_result: number | undefined|undefined = axisHorizontal_buf - const axisVertical_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisVertical_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf = (valueDeserializer.readNumber() as number) - } - const axisVertical_result: number | undefined|undefined = axisVertical_buf - const pressure_result: number = (valueDeserializer.readNumber() as number) - const tiltX_result: number = (valueDeserializer.readNumber() as number) - const tiltY_result: number = (valueDeserializer.readNumber() as number) - const sourceTool_result: SourceTool = (valueDeserializer.readInt32() as SourceTool) - const deviceId_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let deviceId_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf = (valueDeserializer.readNumber() as number) - } - const deviceId_result: number | undefined|undefined = deviceId_buf - const type_result: TouchType = (valueDeserializer.readInt32() as TouchType) - const touches_buf_length: int32 = valueDeserializer.readInt32() - let touches_buf: Array = new Array() - for (let touches_buf_i = 0; touches_buf_i < touches_buf_length; touches_buf_i++) { - touches_buf[touches_buf_i] = valueDeserializer.readTouchObject() - } - const touches_result: Array = touches_buf - const changedTouches_buf_length: int32 = valueDeserializer.readInt32() - let changedTouches_buf: Array = new Array() - for (let changedTouches_buf_i = 0; changedTouches_buf_i < changedTouches_buf_length; changedTouches_buf_i++) { - changedTouches_buf[changedTouches_buf_i] = valueDeserializer.readTouchObject() - } - const changedTouches_result: Array = changedTouches_buf - const stopPropagation_result: (() => void) = valueDeserializer.readCallback_Void() - const preventDefault_result: (() => void) = valueDeserializer.readCallback_Void() - let value: TouchEvent = ({target: target_result,timestamp: timestamp_result,source: source_result,axisHorizontal: axisHorizontal_result,axisVertical: axisVertical_result,pressure: pressure_result,tiltX: tiltX_result,tiltY: tiltY_result,sourceTool: sourceTool_result,deviceId: deviceId_result,type: type_result,touches: touches_result,changedTouches: changedTouches_result,stopPropagation: stopPropagation_result,preventDefault: preventDefault_result} as TouchEvent) - return value + let ptr: KPointer = valueDeserializer.readPointer() + return TouchEventInternal.fromPtr(ptr) } readNativeEmbedInfo(): NativeEmbedInfo { let valueDeserializer: Deserializer = this @@ -5586,6 +5563,12 @@ export class Deserializer extends DeserializerBase { let value: EdgeEffectOptions = ({alwaysEnabled: alwaysEnabled_result} as EdgeEffectOptions) return value } + readScrollOnScrollCallback(isSync: boolean = false): ScrollOnScrollCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (xOffset: number, yOffset: number, scrollState: ScrollState): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeNumber(xOffset); _argsSerializer.writeNumber(yOffset); _argsSerializer.writeInt32(scrollState); (isSync) ? (InteropNativeModule._CallCallbackSync(-1265626662, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1265626662, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + } readScrollOnWillScrollCallback(isSync: boolean = false): ScrollOnWillScrollCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -6139,11 +6122,11 @@ export class Deserializer extends DeserializerBase { } 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 + let radius_buf: number | string | Array | undefined|undefined if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) { const radius_buf__selector: number = valueDeserializer.readInt8() - let radius_buf_: number | string | Array | undefined|undefined + let radius_buf_: number | string | Array | undefined|undefined if (radius_buf__selector == 0) { radius_buf_ = (valueDeserializer.readNumber() as number) } @@ -6152,18 +6135,29 @@ export class Deserializer extends DeserializerBase { } else if (radius_buf__selector == 2) { const radius_buf__u_length: int32 = valueDeserializer.readInt32() - let radius_buf__u: Array = new Array() + let radius_buf__u: Array = new Array() for (let radius_buf__u_i = 0; radius_buf__u_i < radius_buf__u_length; radius_buf__u_i++) { - radius_buf__u[radius_buf__u_i] = (valueDeserializer.readCustomObject("Any") as Object) + 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) + radius_buf = (radius_buf_ as number | string | Array) } - const radius_result: number | string | Array | undefined|undefined = radius_buf + 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 } @@ -7275,6 +7269,60 @@ export class Deserializer extends DeserializerBase { let value: UIGestureEvent = ({} as UIGestureEvent) return value } + readVisibleAreaChangeCallback(isSync: boolean = false): VisibleAreaChangeCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (isExpanding: boolean, currentRatio: number): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeBoolean(isExpanding); _argsSerializer.writeNumber(currentRatio); (isSync) ? (InteropNativeModule._CallCallbackSync(541663396, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(541663396, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + } + readVisibleAreaEventOptions(): VisibleAreaEventOptions { + let valueDeserializer: Deserializer = this + const ratios_buf_length: int32 = valueDeserializer.readInt32() + let ratios_buf: Array = new Array() + for (let ratios_buf_i = 0; ratios_buf_i < ratios_buf_length; ratios_buf_i++) { + ratios_buf[ratios_buf_i] = (valueDeserializer.readNumber() as number) + } + const ratios_result: Array = ratios_buf + const expectedUpdateInterval_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let expectedUpdateInterval_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (expectedUpdateInterval_buf_runtimeType)) + { + expectedUpdateInterval_buf = (valueDeserializer.readNumber() as number) + } + const expectedUpdateInterval_result: number | undefined|undefined = expectedUpdateInterval_buf + let value: VisibleAreaEventOptions = ({ratios: ratios_result,expectedUpdateInterval: expectedUpdateInterval_result} as VisibleAreaEventOptions) + return value + } + readSizeChangeCallback(isSync: boolean = false): SizeChangeCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (oldValue: SizeOptions, newValue: SizeOptions): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeSizeOptions(oldValue); _argsSerializer.writeSizeOptions(newValue); (isSync) ? (InteropNativeModule._CallCallbackSync(-1716637992, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1716637992, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + } + readCallback_MouseEvent_Void(isSync: boolean = false): ((event: MouseEvent) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (event: MouseEvent): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeMouseEvent(event); (isSync) ? (InteropNativeModule._CallCallbackSync(-1382640094, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1382640094, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + } + readHoverCallback(isSync: boolean = false): HoverCallback { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (isHover: boolean, event: HoverEvent): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeBoolean(isHover); _argsSerializer.writeHoverEvent(event); (isSync) ? (InteropNativeModule._CallCallbackSync(68560477, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(68560477, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + } + readCallback_KeyEvent_Void(isSync: boolean = false): ((event: KeyEvent) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (event: KeyEvent): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeKeyEvent(event); (isSync) ? (InteropNativeModule._CallCallbackSync(707696468, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(707696468, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + } + readCallback_TouchEvent_Void(isSync: boolean = false): ((event: TouchEvent) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (event: TouchEvent): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeTouchEvent(event); (isSync) ? (InteropNativeModule._CallCallbackSync(-1676021850, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1676021850, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + } readOnMoveHandler(isSync: boolean = false): OnMoveHandler { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -7317,12 +7365,6 @@ export class Deserializer extends DeserializerBase { let value: AccessibilityOptions = ({accessibilityPreferred: accessibilityPreferred_result} as AccessibilityOptions) return value } - readVisibleAreaChangeCallback(isSync: boolean = false): VisibleAreaChangeCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (isExpanding: boolean, currentRatio: number): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeBoolean(isExpanding); _argsSerializer.writeNumber(currentRatio); (isSync) ? (InteropNativeModule._CallCallbackSync(541663396, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(541663396, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } - } readSheetOptions(): SheetOptions { let valueDeserializer: Deserializer = this const backgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -9336,6 +9378,11 @@ export class Deserializer extends DeserializerBase { let ptr: KPointer = valueDeserializer.readPointer() return DrawModifierInternal.fromPtr(ptr) } + readUnifiedData(): UnifiedData { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return UnifiedDataInternal.fromPtr(ptr) + } readColumnSplitDividerStyle(): ColumnSplitDividerStyle { let valueDeserializer: Deserializer = this const startMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -11707,45 +11754,8 @@ export class Deserializer extends DeserializerBase { } readClickEvent(): ClickEvent { let valueDeserializer: Deserializer = this - const target_result: EventTarget = valueDeserializer.readEventTarget() - const timestamp_result: number = (valueDeserializer.readNumber() as number) - const source_result: SourceType = (valueDeserializer.readInt32() as SourceType) - const axisHorizontal_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisHorizontal_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf = (valueDeserializer.readNumber() as number) - } - const axisHorizontal_result: number | undefined|undefined = axisHorizontal_buf - const axisVertical_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisVertical_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf = (valueDeserializer.readNumber() as number) - } - const axisVertical_result: number | undefined|undefined = axisVertical_buf - const pressure_result: number = (valueDeserializer.readNumber() as number) - const tiltX_result: number = (valueDeserializer.readNumber() as number) - const tiltY_result: number = (valueDeserializer.readNumber() as number) - const sourceTool_result: SourceTool = (valueDeserializer.readInt32() as SourceTool) - const deviceId_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let deviceId_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf = (valueDeserializer.readNumber() as number) - } - const deviceId_result: number | undefined|undefined = deviceId_buf - const displayX_result: number = (valueDeserializer.readNumber() as number) - const displayY_result: number = (valueDeserializer.readNumber() as number) - const windowX_result: number = (valueDeserializer.readNumber() as number) - const windowY_result: number = (valueDeserializer.readNumber() as number) - const screenX_result: number = (valueDeserializer.readNumber() as number) - const screenY_result: number = (valueDeserializer.readNumber() as number) - const x_result: number = (valueDeserializer.readNumber() as number) - const y_result: number = (valueDeserializer.readNumber() as number) - const preventDefault_result: (() => void) = valueDeserializer.readCallback_Void() - let value: ClickEvent = ({target: target_result,timestamp: timestamp_result,source: source_result,axisHorizontal: axisHorizontal_result,axisVertical: axisVertical_result,pressure: pressure_result,tiltX: tiltX_result,tiltY: tiltY_result,sourceTool: sourceTool_result,deviceId: deviceId_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,preventDefault: preventDefault_result} as ClickEvent) - return value + let ptr: KPointer = valueDeserializer.readPointer() + return ClickEventInternal.fromPtr(ptr) } readCallback_RangeUpdate(isSync: boolean = false): Callback_RangeUpdate { const _resource: CallbackResource = this.readCallbackResource() @@ -11790,12 +11800,6 @@ export class Deserializer extends DeserializerBase { const _callSync: KPointer = this.readPointer() return (value: number, mode: SliderChangeMode): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeNumber(value); _argsSerializer.writeInt32(mode); (isSync) ? (InteropNativeModule._CallCallbackSync(711649376, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(711649376, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readScrollOnScrollCallback(isSync: boolean = false): ScrollOnScrollCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (xOffset: number, yOffset: number, scrollState: ScrollState): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeNumber(xOffset); _argsSerializer.writeNumber(yOffset); _argsSerializer.writeInt32(scrollState); (isSync) ? (InteropNativeModule._CallCallbackSync(-1265626662, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1265626662, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } - } readPageTransitionCallback(isSync: boolean = false): PageTransitionCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -11821,12 +11825,6 @@ export class Deserializer extends DeserializerBase { const _callSync: KPointer = this.readPointer() return (options: IsolatedOptions): IsolatedComponentAttribute => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeIsolatedOptions(options); let _continuationValue: IsolatedComponentAttribute | undefined|undefined; const _continuationCallback: ((value: IsolatedComponentAttribute) => void) = (value: IsolatedComponentAttribute): void => { _continuationValue = value; }; _argsSerializer.holdAndWriteCallback(_continuationCallback); (isSync) ? (InteropNativeModule._CallCallbackSync(2139680213, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(2139680213, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return (_continuationValue as IsolatedComponentAttribute); } } - readHoverCallback(isSync: boolean = false): HoverCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (isHover: boolean, event: HoverEvent): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeBoolean(isHover); _argsSerializer.writeHoverEvent(event); (isSync) ? (InteropNativeModule._CallCallbackSync(68560477, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(68560477, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } - } readWithThemeAttribute(): WithThemeAttribute { let value: WithThemeAttribute = ({} as WithThemeAttribute) return value @@ -11978,17 +11976,17 @@ export class Deserializer extends DeserializerBase { const _callSync: KPointer = this.readPointer() return (value: GestureJudgeResult): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeInt32(value); (isSync) ? (InteropNativeModule._CallCallbackSync(-684588584, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-684588584, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_ComputedBarAttribute_Void(isSync: boolean = false): ((value: ComputedBarAttribute) => void) { + readCallback_CustomBuilder_Void(isSync: boolean = false): ((value: CustomBuilder) => void) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (value: ComputedBarAttribute): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeComputedBarAttribute(value); (isSync) ? (InteropNativeModule._CallCallbackSync(-1270343661, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1270343661, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + return (value: CustomBuilder): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.holdAndWriteCallback(CallbackTransformer.transformFromCustomBuilder(value)); (isSync) ? (InteropNativeModule._CallCallbackSync(-721106019, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-721106019, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_Callback_Any_Void(isSync: boolean = false): ((value: (() => any)) => void) { + 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 (value: (() => any)): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.holdAndWriteCallback(value); (isSync) ? (InteropNativeModule._CallCallbackSync(1931725935, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1931725935, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + return (value: ComputedBarAttribute): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeComputedBarAttribute(value); (isSync) ? (InteropNativeModule._CallCallbackSync(-1270343661, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1270343661, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } } readCallback_Array_String_Void(isSync: boolean = false): ((value: Array) => void) { const _resource: CallbackResource = this.readCallbackResource() @@ -12380,7 +12378,7 @@ export class Deserializer extends DeserializerBase { let touchEvent_buf: TouchEvent | undefined|undefined if ((RuntimeType.UNDEFINED) != (touchEvent_buf_runtimeType)) { - touchEvent_buf = valueDeserializer.readTouchEvent() + touchEvent_buf = (valueDeserializer.readTouchEvent() as TouchEvent) } const touchEvent_result: TouchEvent | undefined|undefined = touchEvent_buf const result_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -12906,11 +12904,11 @@ export class Deserializer extends DeserializerBase { const _callSync: KPointer = this.readPointer() return (parameter: OnResourceLoadEvent): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeOnResourceLoadEvent(parameter); (isSync) ? (InteropNativeModule._CallCallbackSync(793995118, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(793995118, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_Literal_Function_callback_Object_fileSelector_Void(isSync: boolean = false): ((event?: { callback: Function, fileSelector: Object }) => void) { + 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() - return (event?: { callback: Function, fileSelector: Object } | undefined): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); let event_type: int32 = RuntimeType.UNDEFINED; event_type = runtimeType(event); _argsSerializer.writeInt8(event_type); if ((RuntimeType.UNDEFINED) != (event_type)) {; const event_value = event!; const event_value_callback = event_value.callback; _argsSerializer.writeFunction(event_value_callback); const event_value_fileSelector = event_value.fileSelector; _argsSerializer.writeCustomObject("Object", event_value_fileSelector); } (isSync) ? (InteropNativeModule._CallCallbackSync(1754134729, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1754134729, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + return (event?: { callback_: Function, fileSelector: Object } | undefined): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); let event_type: int32 = RuntimeType.UNDEFINED; event_type = runtimeType(event); _argsSerializer.writeInt8(event_type); if ((RuntimeType.UNDEFINED) != (event_type)) {; const event_value = event!; const event_value_callback_ = event_value.callback_; _argsSerializer.writeFunction(event_value_callback_); const event_value_fileSelector = event_value.fileSelector; _argsSerializer.writeCustomObject("Object", event_value_fileSelector); } (isSync) ? (InteropNativeModule._CallCallbackSync(1962174977, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1962174977, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } } readCallback_Literal_Object_detail_Boolean(isSync: boolean = false): ((event?: { detail: Object }) => boolean) { const _resource: CallbackResource = this.readCallbackResource() @@ -13161,7 +13159,7 @@ export class Deserializer extends DeserializerBase { } readJavaScriptProxy(): JavaScriptProxy { let valueDeserializer: Deserializer = this - const object_result: Object = (valueDeserializer.readCustomObject("Object") as Object) + const object__result: Object = (valueDeserializer.readCustomObject("Object") as Object) const name_result: string = (valueDeserializer.readString() as string) const methodList_buf_length: int32 = valueDeserializer.readInt32() let methodList_buf: Array = new Array() @@ -13200,7 +13198,7 @@ export class Deserializer extends DeserializerBase { 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) + 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 } readWebOptions(): WebOptions { @@ -14804,9 +14802,8 @@ export class Deserializer extends DeserializerBase { } readSubmitEvent(): SubmitEvent { let valueDeserializer: Deserializer = this - const text_result: string = (valueDeserializer.readString() as string) - let value: SubmitEvent = ({text: text_result} as SubmitEvent) - return value + let ptr: KPointer = valueDeserializer.readPointer() + return SubmitEventInternal.fromPtr(ptr) } readSubmitCallback(isSync: boolean = false): SubmitCallback { const _resource: CallbackResource = this.readCallbackResource() @@ -14997,53 +14994,8 @@ export class Deserializer extends DeserializerBase { } readGestureEvent(): GestureEvent { let valueDeserializer: Deserializer = this - const target_result: EventTarget = valueDeserializer.readEventTarget() - const timestamp_result: number = (valueDeserializer.readNumber() as number) - const source_result: SourceType = (valueDeserializer.readInt32() as SourceType) - const axisHorizontal_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisHorizontal_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf = (valueDeserializer.readNumber() as number) - } - const axisHorizontal_result: number | undefined|undefined = axisHorizontal_buf - const axisVertical_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisVertical_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf = (valueDeserializer.readNumber() as number) - } - const axisVertical_result: number | undefined|undefined = axisVertical_buf - const pressure_result: number = (valueDeserializer.readNumber() as number) - const tiltX_result: number = (valueDeserializer.readNumber() as number) - const tiltY_result: number = (valueDeserializer.readNumber() as number) - const sourceTool_result: SourceTool = (valueDeserializer.readInt32() as SourceTool) - const deviceId_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let deviceId_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf = (valueDeserializer.readNumber() as number) - } - const deviceId_result: number | undefined|undefined = deviceId_buf - const repeat_result: boolean = valueDeserializer.readBoolean() - const fingerList_buf_length: int32 = valueDeserializer.readInt32() - let fingerList_buf: Array = new Array() - for (let fingerList_buf_i = 0; fingerList_buf_i < fingerList_buf_length; fingerList_buf_i++) { - fingerList_buf[fingerList_buf_i] = valueDeserializer.readFingerInfo() - } - const fingerList_result: Array = fingerList_buf - const offsetX_result: number = (valueDeserializer.readNumber() as number) - const offsetY_result: number = (valueDeserializer.readNumber() as number) - const angle_result: number = (valueDeserializer.readNumber() as number) - const speed_result: number = (valueDeserializer.readNumber() as number) - const scale_result: number = (valueDeserializer.readNumber() as number) - const pinchCenterX_result: number = (valueDeserializer.readNumber() as number) - const pinchCenterY_result: number = (valueDeserializer.readNumber() as number) - const velocityX_result: number = (valueDeserializer.readNumber() as number) - const velocityY_result: number = (valueDeserializer.readNumber() as number) - const velocity_result: number = (valueDeserializer.readNumber() as number) - let value: GestureEvent = ({target: target_result,timestamp: timestamp_result,source: source_result,axisHorizontal: axisHorizontal_result,axisVertical: axisVertical_result,pressure: pressure_result,tiltX: tiltX_result,tiltY: tiltY_result,sourceTool: sourceTool_result,deviceId: deviceId_result,repeat: repeat_result,fingerList: fingerList_result,offsetX: offsetX_result,offsetY: offsetY_result,angle: angle_result,speed: speed_result,scale: scale_result,pinchCenterX: pinchCenterX_result,pinchCenterY: pinchCenterY_result,velocityX: velocityX_result,velocityY: velocityY_result,velocity: velocity_result} as GestureEvent) - return value + let ptr: KPointer = valueDeserializer.readPointer() + return GestureEventInternal.fromPtr(ptr) } readLocalizedBarrierStyle(): LocalizedBarrierStyle { let valueDeserializer: Deserializer = this @@ -15352,6 +15304,13 @@ export class Deserializer extends DeserializerBase { let value: PolylineOptions = ({width: width_result,height: height_result} as PolylineOptions) return value } + readPoint(): Point { + let valueDeserializer: Deserializer = this + const x_result: number = (valueDeserializer.readNumber() as number) + const y_result: number = (valueDeserializer.readNumber() as number) + let value: Point = ({x: x_result,y: y_result} as Point) + return value + } readPolygonOptions(): PolygonOptions { let valueDeserializer: Deserializer = this const width_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -15409,7 +15368,7 @@ export class Deserializer extends DeserializerBase { readPluginComponentOptions(): PluginComponentOptions { let valueDeserializer: Deserializer = this const template_result: PluginComponentTemplate = valueDeserializer.readPluginComponentTemplate() - const data_result: any = (valueDeserializer.readCustomObject("Any") as Object) + const data_result: string = (valueDeserializer.readString() as string) let value: PluginComponentOptions = ({template: template_result,data: data_result} as PluginComponentOptions) return value } @@ -16474,12 +16433,6 @@ export class Deserializer extends DeserializerBase { const _callSync: KPointer = this.readPointer() return (event: ItemDragInfo): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeItemDragInfo(event); (isSync) ? (InteropNativeModule._CallCallbackSync(137353252, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(137353252, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } } - readCallback_Any(isSync: boolean = false): (() => any) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (): any => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); let _continuationValue: any | undefined|undefined; const _continuationCallback: ((info: any) => void) = (value: any): void => { _continuationValue = value; }; _argsSerializer.holdAndWriteCallback(_continuationCallback); (isSync) ? (InteropNativeModule._CallCallbackSync(-2139018190, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-2139018190, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return (_continuationValue as any); } - } readItemDragInfo(): ItemDragInfo { let valueDeserializer: Deserializer = this const x_result: number = (valueDeserializer.readNumber() as number) @@ -16487,17 +16440,11 @@ export class Deserializer extends DeserializerBase { let value: ItemDragInfo = ({x: x_result,y: y_result} as ItemDragInfo) return value } - readCallback_ItemDragInfo_Number_Callback_Any(isSync: boolean = false): ((event: ItemDragInfo, itemIndex: number) => (() => any)) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (event: ItemDragInfo, itemIndex: number): (() => any) => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeItemDragInfo(event); _argsSerializer.writeNumber(itemIndex); let _continuationValue: (() => any) | undefined|undefined; const _continuationCallback: ((value: (() => any)) => void) = (value: (() => any)): void => { _continuationValue = value; }; _argsSerializer.holdAndWriteCallback(_continuationCallback); (isSync) ? (InteropNativeModule._CallCallbackSync(464274540, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(464274540, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return (_continuationValue as (() => any)); } - } - readCallback_Number_Number_Void(isSync: boolean = false): ((first: number, last: number) => void) { + readCallback_ItemDragInfo_Number_CustomBuilder(isSync: boolean = false): ((event: ItemDragInfo, itemIndex: number) => CustomBuilder) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() const _callSync: KPointer = this.readPointer() - return (first: number, last: number): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeNumber(first); _argsSerializer.writeNumber(last); (isSync) ? (InteropNativeModule._CallCallbackSync(1894574320, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1894574320, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + return (event: ItemDragInfo, itemIndex: number): CustomBuilder => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeItemDragInfo(event); _argsSerializer.writeNumber(itemIndex); let _continuationValue: CustomBuilder | undefined|undefined; const _continuationCallback: ((value: CustomBuilder) => void) = (value: CustomBuilder): void => { _continuationValue = value; }; _argsSerializer.holdAndWriteCallback(_continuationCallback); (isSync) ? (InteropNativeModule._CallCallbackSync(2071721246, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(2071721246, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return (_continuationValue as CustomBuilder); } } readComputedBarAttribute(): ComputedBarAttribute { let valueDeserializer: Deserializer = this @@ -17621,11 +17568,11 @@ export class Deserializer extends DeserializerBase { let value: OffsetResult = ({xOffset: xOffset_result,yOffset: yOffset_result} as OffsetResult) return value } - readCallback_Number_ScrollState_Void(isSync: boolean = false): ((scrollOffset: number, scrollState: ScrollState) => void) { + 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() - return (scrollOffset: number, scrollState: ScrollState): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeNumber(scrollOffset); _argsSerializer.writeInt32(scrollState); (isSync) ? (InteropNativeModule._CallCallbackSync(-1844695159, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1844695159, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + return (first: number, last: number): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeNumber(first); _argsSerializer.writeNumber(last); (isSync) ? (InteropNativeModule._CallCallbackSync(1894574320, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1894574320, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } } readSpringBackAction(): SpringBackAction { let valueDeserializer: Deserializer = this @@ -17710,12 +17657,6 @@ export class Deserializer extends DeserializerBase { let value: DismissPopupAction = ({dismiss: dismiss_result,reason: reason_result} as DismissPopupAction) return value } - readSizeChangeCallback(isSync: boolean = false): SizeChangeCallback { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (oldValue: SizeOptions, newValue: SizeOptions): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeSizeOptions(oldValue); _argsSerializer.writeSizeOptions(newValue); (isSync) ? (InteropNativeModule._CallCallbackSync(-1716637992, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1716637992, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } - } readCallback_TouchEvent_HitTestMode(isSync: boolean = false): ((parameter: TouchEvent) => HitTestMode) { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -17747,42 +17688,8 @@ export class Deserializer extends DeserializerBase { } readBaseGestureEvent(): BaseGestureEvent { let valueDeserializer: Deserializer = this - const target_result: EventTarget = valueDeserializer.readEventTarget() - const timestamp_result: number = (valueDeserializer.readNumber() as number) - const source_result: SourceType = (valueDeserializer.readInt32() as SourceType) - const axisHorizontal_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisHorizontal_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf = (valueDeserializer.readNumber() as number) - } - const axisHorizontal_result: number | undefined|undefined = axisHorizontal_buf - const axisVertical_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisVertical_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf = (valueDeserializer.readNumber() as number) - } - const axisVertical_result: number | undefined|undefined = axisVertical_buf - const pressure_result: number = (valueDeserializer.readNumber() as number) - const tiltX_result: number = (valueDeserializer.readNumber() as number) - const tiltY_result: number = (valueDeserializer.readNumber() as number) - const sourceTool_result: SourceTool = (valueDeserializer.readInt32() as SourceTool) - const deviceId_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let deviceId_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf = (valueDeserializer.readNumber() as number) - } - const deviceId_result: number | undefined|undefined = deviceId_buf - const fingerList_buf_length: int32 = valueDeserializer.readInt32() - let fingerList_buf: Array = new Array() - for (let fingerList_buf_i = 0; fingerList_buf_i < fingerList_buf_length; fingerList_buf_i++) { - fingerList_buf[fingerList_buf_i] = valueDeserializer.readFingerInfo() - } - const fingerList_result: Array = fingerList_buf - let value: BaseGestureEvent = ({target: target_result,timestamp: timestamp_result,source: source_result,axisHorizontal: axisHorizontal_result,axisVertical: axisVertical_result,pressure: pressure_result,tiltX: tiltX_result,tiltY: tiltY_result,sourceTool: sourceTool_result,deviceId: deviceId_result,fingerList: fingerList_result} as BaseGestureEvent) - return value + let ptr: KPointer = valueDeserializer.readPointer() + return BaseGestureEventInternal.fromPtr(ptr) } readGestureInfo(): GestureInfo { let valueDeserializer: Deserializer = this @@ -17916,10 +17823,8 @@ export class Deserializer extends DeserializerBase { } readDragEvent(): DragEvent { let valueDeserializer: Deserializer = this - const dragBehavior_result: DragBehavior = (valueDeserializer.readInt32() as DragBehavior) - const useCustomDropAnimation_result: boolean = valueDeserializer.readBoolean() - let value: DragEvent = ({dragBehavior: dragBehavior_result,useCustomDropAnimation: useCustomDropAnimation_result} as DragEvent) - return value + let ptr: KPointer = valueDeserializer.readPointer() + return DragEventInternal.fromPtr(ptr) } readCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(isSync: boolean = false): ((event: DragEvent, extraParams?: string) => CustomBuilder | DragItemInfo) { const _resource: CallbackResource = this.readCallbackResource() @@ -18094,141 +17999,18 @@ export class Deserializer extends DeserializerBase { } readKeyEvent(): KeyEvent { let valueDeserializer: Deserializer = this - const type_result: KeyType = (valueDeserializer.readInt32() as KeyType) - const keyCode_result: number = (valueDeserializer.readNumber() as number) - const keyText_result: string = (valueDeserializer.readString() as string) - const keySource_result: KeySource = (valueDeserializer.readInt32() as KeySource) - const deviceId_result: number = (valueDeserializer.readNumber() as number) - const metaKey_result: number = (valueDeserializer.readNumber() as number) - const timestamp_result: number = (valueDeserializer.readNumber() as number) - const stopPropagation_result: (() => void) = valueDeserializer.readCallback_Void() - const intentionCode_result: IntentionCode = valueDeserializer.readIntentionCode() - const unicode_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let unicode_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (unicode_buf_runtimeType)) - { - unicode_buf = (valueDeserializer.readNumber() as number) - } - const unicode_result: number | undefined|undefined = unicode_buf - let value: KeyEvent = ({type: type_result,keyCode: keyCode_result,keyText: keyText_result,keySource: keySource_result,deviceId: deviceId_result,metaKey: metaKey_result,timestamp: timestamp_result,stopPropagation: stopPropagation_result,intentionCode: intentionCode_result,unicode: unicode_result} as KeyEvent) - return value - } - readCallback_KeyEvent_Void(isSync: boolean = false): ((event: KeyEvent) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (event: KeyEvent): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeKeyEvent(event); (isSync) ? (InteropNativeModule._CallCallbackSync(707696468, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(707696468, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } - } - readTouchObject(): TouchObject { - let valueDeserializer: Deserializer = this - const type_result: TouchType = (valueDeserializer.readInt32() as TouchType) - const id_result: number = (valueDeserializer.readNumber() as number) - const displayX_result: number = (valueDeserializer.readNumber() as number) - const displayY_result: number = (valueDeserializer.readNumber() as number) - const windowX_result: number = (valueDeserializer.readNumber() as number) - const windowY_result: number = (valueDeserializer.readNumber() as number) - const screenX_result: number = (valueDeserializer.readNumber() as number) - 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) - return value - } - readCallback_TouchEvent_Void(isSync: boolean = false): ((event: TouchEvent) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (event: TouchEvent): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeTouchEvent(event); (isSync) ? (InteropNativeModule._CallCallbackSync(-1676021850, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1676021850, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + let ptr: KPointer = valueDeserializer.readPointer() + return KeyEventInternal.fromPtr(ptr) } readMouseEvent(): MouseEvent { let valueDeserializer: Deserializer = this - const target_result: EventTarget = valueDeserializer.readEventTarget() - const timestamp_result: number = (valueDeserializer.readNumber() as number) - const source_result: SourceType = (valueDeserializer.readInt32() as SourceType) - const axisHorizontal_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisHorizontal_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf = (valueDeserializer.readNumber() as number) - } - const axisHorizontal_result: number | undefined|undefined = axisHorizontal_buf - const axisVertical_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisVertical_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf = (valueDeserializer.readNumber() as number) - } - const axisVertical_result: number | undefined|undefined = axisVertical_buf - const pressure_result: number = (valueDeserializer.readNumber() as number) - const tiltX_result: number = (valueDeserializer.readNumber() as number) - const tiltY_result: number = (valueDeserializer.readNumber() as number) - const sourceTool_result: SourceTool = (valueDeserializer.readInt32() as SourceTool) - const deviceId_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let deviceId_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf = (valueDeserializer.readNumber() as number) - } - const deviceId_result: number | undefined|undefined = deviceId_buf - const button_result: MouseButton = (valueDeserializer.readInt32() as MouseButton) - const action_result: MouseAction = (valueDeserializer.readInt32() as MouseAction) - const displayX_result: number = (valueDeserializer.readNumber() as number) - const displayY_result: number = (valueDeserializer.readNumber() as number) - const windowX_result: number = (valueDeserializer.readNumber() as number) - const windowY_result: number = (valueDeserializer.readNumber() as number) - const screenX_result: number = (valueDeserializer.readNumber() as number) - const screenY_result: number = (valueDeserializer.readNumber() as number) - const x_result: number = (valueDeserializer.readNumber() as number) - const y_result: number = (valueDeserializer.readNumber() as number) - const stopPropagation_result: (() => void) = valueDeserializer.readCallback_Void() - let value: MouseEvent = ({target: target_result,timestamp: timestamp_result,source: source_result,axisHorizontal: axisHorizontal_result,axisVertical: axisVertical_result,pressure: pressure_result,tiltX: tiltX_result,tiltY: tiltY_result,sourceTool: sourceTool_result,deviceId: deviceId_result,button: button_result,action: action_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,stopPropagation: stopPropagation_result} as MouseEvent) - return value - } - readCallback_MouseEvent_Void(isSync: boolean = false): ((event: MouseEvent) => void) { - const _resource: CallbackResource = this.readCallbackResource() - const _call: KPointer = this.readPointer() - const _callSync: KPointer = this.readPointer() - return (event: MouseEvent): void => { const _argsSerializer: Serializer = Serializer.hold(); _argsSerializer.writeInt32(_resource.resourceId); _argsSerializer.writePointer(_call); _argsSerializer.writePointer(_callSync); _argsSerializer.writeMouseEvent(event); (isSync) ? (InteropNativeModule._CallCallbackSync(-1382640094, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-1382640094, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); return; } + let ptr: KPointer = valueDeserializer.readPointer() + return MouseEventInternal.fromPtr(ptr) } readAccessibilityHoverEvent(): AccessibilityHoverEvent { let valueDeserializer: Deserializer = this - const target_result: EventTarget = valueDeserializer.readEventTarget() - const timestamp_result: number = (valueDeserializer.readNumber() as number) - const source_result: SourceType = (valueDeserializer.readInt32() as SourceType) - const axisHorizontal_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisHorizontal_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf = (valueDeserializer.readNumber() as number) - } - const axisHorizontal_result: number | undefined|undefined = axisHorizontal_buf - const axisVertical_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisVertical_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf = (valueDeserializer.readNumber() as number) - } - const axisVertical_result: number | undefined|undefined = axisVertical_buf - const pressure_result: number = (valueDeserializer.readNumber() as number) - const tiltX_result: number = (valueDeserializer.readNumber() as number) - const tiltY_result: number = (valueDeserializer.readNumber() as number) - const sourceTool_result: SourceTool = (valueDeserializer.readInt32() as SourceTool) - const deviceId_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let deviceId_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf = (valueDeserializer.readNumber() as number) - } - const deviceId_result: number | undefined|undefined = deviceId_buf - const type_result: AccessibilityHoverType = (valueDeserializer.readInt32() as AccessibilityHoverType) - const x_result: number = (valueDeserializer.readNumber() as number) - const y_result: number = (valueDeserializer.readNumber() as number) - const displayX_result: number = (valueDeserializer.readNumber() as number) - const displayY_result: number = (valueDeserializer.readNumber() as number) - const windowX_result: number = (valueDeserializer.readNumber() as number) - const windowY_result: number = (valueDeserializer.readNumber() as number) - let value: AccessibilityHoverEvent = ({target: target_result,timestamp: timestamp_result,source: source_result,axisHorizontal: axisHorizontal_result,axisVertical: axisVertical_result,pressure: pressure_result,tiltX: tiltX_result,tiltY: tiltY_result,sourceTool: sourceTool_result,deviceId: deviceId_result,type: type_result,x: x_result,y: y_result,displayX: displayX_result,displayY: displayY_result,windowX: windowX_result,windowY: windowY_result} as AccessibilityHoverEvent) - return value + let ptr: KPointer = valueDeserializer.readPointer() + return AccessibilityHoverEventInternal.fromPtr(ptr) } readAccessibilityCallback(isSync: boolean = false): AccessibilityCallback { const _resource: CallbackResource = this.readCallbackResource() @@ -18238,37 +18020,8 @@ export class Deserializer extends DeserializerBase { } readHoverEvent(): HoverEvent { let valueDeserializer: Deserializer = this - const target_result: EventTarget = valueDeserializer.readEventTarget() - const timestamp_result: number = (valueDeserializer.readNumber() as number) - const source_result: SourceType = (valueDeserializer.readInt32() as SourceType) - const axisHorizontal_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisHorizontal_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf = (valueDeserializer.readNumber() as number) - } - const axisHorizontal_result: number | undefined|undefined = axisHorizontal_buf - const axisVertical_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let axisVertical_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf = (valueDeserializer.readNumber() as number) - } - const axisVertical_result: number | undefined|undefined = axisVertical_buf - const pressure_result: number = (valueDeserializer.readNumber() as number) - const tiltX_result: number = (valueDeserializer.readNumber() as number) - const tiltY_result: number = (valueDeserializer.readNumber() as number) - const sourceTool_result: SourceTool = (valueDeserializer.readInt32() as SourceTool) - const deviceId_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let deviceId_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf = (valueDeserializer.readNumber() as number) - } - const deviceId_result: number | undefined|undefined = deviceId_buf - const stopPropagation_result: (() => void) = valueDeserializer.readCallback_Void() - let value: HoverEvent = ({target: target_result,timestamp: timestamp_result,source: source_result,axisHorizontal: axisHorizontal_result,axisVertical: axisVertical_result,pressure: pressure_result,tiltX: tiltX_result,tiltY: tiltY_result,sourceTool: sourceTool_result,deviceId: deviceId_result,stopPropagation: stopPropagation_result} as HoverEvent) - return value + let ptr: KPointer = valueDeserializer.readPointer() + return HoverEventInternal.fromPtr(ptr) } readCallback_Boolean_HoverEvent_Void(isSync: boolean = false): ((isHover: boolean, event: HoverEvent) => void) { const _resource: CallbackResource = this.readCallbackResource() @@ -19392,6 +19145,21 @@ export class Deserializer extends DeserializerBase { let value: ConstraintSizeOptions = ({minWidth: minWidth_result,maxWidth: maxWidth_result,minHeight: minHeight_result,maxHeight: maxHeight_result} as ConstraintSizeOptions) return value } + readTouchObject(): TouchObject { + let valueDeserializer: Deserializer = this + const type_result: TouchType = (valueDeserializer.readInt32() as TouchType) + const id_result: number = (valueDeserializer.readNumber() as number) + const displayX_result: number = (valueDeserializer.readNumber() as number) + const displayY_result: number = (valueDeserializer.readNumber() as number) + const windowX_result: number = (valueDeserializer.readNumber() as number) + const windowY_result: number = (valueDeserializer.readNumber() as number) + const screenX_result: number = (valueDeserializer.readNumber() as number) + 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) + return value + } readPointLightStyle(): PointLightStyle { let valueDeserializer: Deserializer = this const lightSource_buf_runtimeType = (valueDeserializer.readInt8() as int32) diff --git a/arkoala/arkui/src/peers/Serializer.ts b/arkoala/arkui/src/peers/Serializer.ts index c7c15b75c..98a3bfc1f 100644 --- a/arkoala/arkui/src/peers/Serializer.ts +++ b/arkoala/arkui/src/peers/Serializer.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -46,16 +46,34 @@ import { DrawingRenderingContextInternal } from "./../ArkDrawingRenderingContext import { ICurveInternal } from "./../ArkICurveMaterialized" import { DrawModifierInternal } from "./../ArkDrawModifierMaterialized" import { TransitionEffectInternal } from "./../ArkTransitionEffectMaterialized" +import { BaseEventInternal } from "./../ArkBaseEventMaterialized" +import { ClickEventInternal } from "./../ArkClickEventMaterialized" +import { HoverEventInternal } from "./../ArkHoverEventMaterialized" +import { MouseEventInternal } from "./../ArkMouseEventMaterialized" +import { AccessibilityHoverEventInternal } from "./../ArkAccessibilityHoverEventMaterialized" +import { TouchEventInternal } from "./../ArkTouchEventMaterialized" import { PixelMapMockInternal } from "./../ArkPixelMapMockMaterialized" +import { DragEventInternal } from "./../ArkDragEventMaterialized" +import { KeyEventInternal } from "./../ArkKeyEventMaterialized" import { ProgressMaskInternal } from "./../ArkProgressMaskMaterialized" import { ViewInternal } from "./../ArkViewMaterialized" import { TextContentControllerBaseInternal } from "./../ArkTextContentControllerBaseMaterialized" import { DynamicNodeInternal } from "./../ArkDynamicNodeMaterialized" import { ChildrenMainSizeInternal } from "./../ArkChildrenMainSizeMaterialized" +import { UICommonEventInternal } from "./../ArkUICommonEventMaterialized" import { GestureModifierInternal } from "./../ArkGestureModifierMaterialized" +import { GlobalScope_commonInternal } from "./../ArkGlobalScopeCommonMaterialized" import { ContextMenuInternal } from "./../ArkContextMenuMaterialized" import { CustomDialogControllerInternal } from "./../ArkCustomDialogControllerMaterialized" import { DatePickerDialogInternal } from "./../ArkDatePickerDialogMaterialized" +import { BaseGestureEventInternal } from "./../ArkBaseGestureEventMaterialized" +import { TapGestureEventInternal } from "./../ArkTapGestureEventMaterialized" +import { LongPressGestureEventInternal } from "./../ArkLongPressGestureEventMaterialized" +import { PanGestureEventInternal } from "./../ArkPanGestureEventMaterialized" +import { PinchGestureEventInternal } from "./../ArkPinchGestureEventMaterialized" +import { RotationGestureEventInternal } from "./../ArkRotationGestureEventMaterialized" +import { SwipeGestureEventInternal } from "./../ArkSwipeGestureEventMaterialized" +import { GestureEventInternal } from "./../ArkGestureEventMaterialized" import { PanGestureOptionsInternal } from "./../ArkPanGestureOptionsMaterialized" import { ScrollableTargetInfoInternal } from "./../ArkScrollableTargetInfoMaterialized" import { EventTargetInfoInternal } from "./../ArkEventTargetInfoMaterialized" @@ -87,6 +105,7 @@ import { StyledStringControllerInternal } from "./../ArkStyledStringControllerMa import { LayoutManagerInternal } from "./../ArkLayoutManagerMaterialized" import { TextMenuItemIdInternal } from "./../ArkTextMenuItemIdMaterialized" import { EditMenuOptionsInternal } from "./../ArkEditMenuOptionsMaterialized" +import { SubmitEventInternal } from "./../ArkSubmitEventMaterialized" import { TextInputControllerInternal } from "./../ArkTextInputControllerMaterialized" import { TextPickerDialogInternal } from "./../ArkTextPickerDialogMaterialized" import { TextTimerControllerInternal } from "./../ArkTextTimerControllerMaterialized" @@ -121,6 +140,7 @@ import { StyledStringInternal } from "./../ArkStyledStringMaterialized" import { MutableStyledStringInternal } from "./../ArkMutableStyledStringMaterialized" import { CustomSpanInternal } from "./../ArkCustomSpanMaterialized" import { LinearIndicatorControllerInternal } from "./../ArkLinearIndicatorControllerMaterialized" +import { GlobalScope_inspectorInternal } from "./../ArkGlobalScopeInspectorMaterialized" export class Serializer extends SerializerBase { private static pool?: Array | undefined = undefined private static poolTop: int32 = -1 @@ -4303,62 +4323,12 @@ export class Serializer extends SerializerBase { } writeTouchEvent(value: TouchEvent): void { let valueSerializer: Serializer = this - const value_target = value.target - valueSerializer.writeEventTarget(value_target) - const value_timestamp = value.timestamp - valueSerializer.writeNumber(value_timestamp) - const value_source = value.source - valueSerializer.writeInt32(value_source) - const value_axisHorizontal = value.axisHorizontal - let value_axisHorizontal_type: int32 = RuntimeType.UNDEFINED - value_axisHorizontal_type = runtimeType(value_axisHorizontal) - valueSerializer.writeInt8(value_axisHorizontal_type) - if ((RuntimeType.UNDEFINED) != (value_axisHorizontal_type)) { - const value_axisHorizontal_value = value_axisHorizontal! - valueSerializer.writeNumber(value_axisHorizontal_value) - } - const value_axisVertical = value.axisVertical - let value_axisVertical_type: int32 = RuntimeType.UNDEFINED - value_axisVertical_type = runtimeType(value_axisVertical) - valueSerializer.writeInt8(value_axisVertical_type) - if ((RuntimeType.UNDEFINED) != (value_axisVertical_type)) { - const value_axisVertical_value = value_axisVertical! - valueSerializer.writeNumber(value_axisVertical_value) - } - const value_pressure = value.pressure - valueSerializer.writeNumber(value_pressure) - const value_tiltX = value.tiltX - valueSerializer.writeNumber(value_tiltX) - const value_tiltY = value.tiltY - valueSerializer.writeNumber(value_tiltY) - const value_sourceTool = value.sourceTool - valueSerializer.writeInt32(value_sourceTool) - const value_deviceId = value.deviceId - let value_deviceId_type: int32 = RuntimeType.UNDEFINED - value_deviceId_type = runtimeType(value_deviceId) - valueSerializer.writeInt8(value_deviceId_type) - if ((RuntimeType.UNDEFINED) != (value_deviceId_type)) { - const value_deviceId_value = value_deviceId! - valueSerializer.writeNumber(value_deviceId_value) - } - const value_type = value.type - valueSerializer.writeInt32(value_type) - const value_touches = value.touches - valueSerializer.writeInt32(value_touches.length) - for (let i = 0; i < value_touches.length; i++) { - const value_touches_element: TouchObject = value_touches[i] - valueSerializer.writeTouchObject(value_touches_element) - } - const value_changedTouches = value.changedTouches - valueSerializer.writeInt32(value_changedTouches.length) - for (let i = 0; i < value_changedTouches.length; i++) { - const value_changedTouches_element: TouchObject = value_changedTouches[i] - valueSerializer.writeTouchObject(value_changedTouches_element) - } - const value_stopPropagation = value.stopPropagation - valueSerializer.holdAndWriteCallback(value_stopPropagation) - const value_preventDefault = value.preventDefault - valueSerializer.holdAndWriteCallback(value_preventDefault) + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) } writeNativeEmbedInfo(value: NativeEmbedInfo): void { let valueSerializer: Serializer = this @@ -7150,11 +7120,22 @@ export class Serializer extends SerializerBase { } else if (((RuntimeType.OBJECT == value_radius_value_type))) { valueSerializer.writeInt8(2) - const value_radius_value_2 = unsafeCast>(value_radius_value) + 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: any = value_radius_value_2[i] - valueSerializer.writeCustomObject("Any", value_radius_value_2_element) + 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) + } } } } @@ -8351,6 +8332,23 @@ export class Serializer extends SerializerBase { } writeUIGestureEvent(value: UIGestureEvent): void { } + writeVisibleAreaEventOptions(value: VisibleAreaEventOptions): void { + let valueSerializer: Serializer = this + const value_ratios = value.ratios + valueSerializer.writeInt32(value_ratios.length) + for (let i = 0; i < value_ratios.length; i++) { + const value_ratios_element: number = value_ratios[i] + valueSerializer.writeNumber(value_ratios_element) + } + const value_expectedUpdateInterval = value.expectedUpdateInterval + let value_expectedUpdateInterval_type: int32 = RuntimeType.UNDEFINED + value_expectedUpdateInterval_type = runtimeType(value_expectedUpdateInterval) + valueSerializer.writeInt8(value_expectedUpdateInterval_type) + if ((RuntimeType.UNDEFINED) != (value_expectedUpdateInterval_type)) { + const value_expectedUpdateInterval_value = value_expectedUpdateInterval! + valueSerializer.writeNumber(value_expectedUpdateInterval_value) + } + } writeFadingEdgeOptions(value: FadingEdgeOptions): void { let valueSerializer: Serializer = this const value_fadingEdgeLength = value.fadingEdgeLength @@ -10606,6 +10604,15 @@ export class Serializer extends SerializerBase { ptr = peer.ptr valueSerializer.writePointer(ptr) } + writeUnifiedData(value: UnifiedData): void { + let valueSerializer: Serializer = this + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + } writeColumnSplitDividerStyle(value: ColumnSplitDividerStyle): void { let valueSerializer: Serializer = this const value_startMargin = value.startMargin @@ -13301,62 +13308,12 @@ export class Serializer extends SerializerBase { } writeClickEvent(value: ClickEvent): void { let valueSerializer: Serializer = this - const value_target = value.target - valueSerializer.writeEventTarget(value_target) - const value_timestamp = value.timestamp - valueSerializer.writeNumber(value_timestamp) - const value_source = value.source - valueSerializer.writeInt32(value_source) - const value_axisHorizontal = value.axisHorizontal - let value_axisHorizontal_type: int32 = RuntimeType.UNDEFINED - value_axisHorizontal_type = runtimeType(value_axisHorizontal) - valueSerializer.writeInt8(value_axisHorizontal_type) - if ((RuntimeType.UNDEFINED) != (value_axisHorizontal_type)) { - const value_axisHorizontal_value = value_axisHorizontal! - valueSerializer.writeNumber(value_axisHorizontal_value) - } - const value_axisVertical = value.axisVertical - let value_axisVertical_type: int32 = RuntimeType.UNDEFINED - value_axisVertical_type = runtimeType(value_axisVertical) - valueSerializer.writeInt8(value_axisVertical_type) - if ((RuntimeType.UNDEFINED) != (value_axisVertical_type)) { - const value_axisVertical_value = value_axisVertical! - valueSerializer.writeNumber(value_axisVertical_value) - } - const value_pressure = value.pressure - valueSerializer.writeNumber(value_pressure) - const value_tiltX = value.tiltX - valueSerializer.writeNumber(value_tiltX) - const value_tiltY = value.tiltY - valueSerializer.writeNumber(value_tiltY) - const value_sourceTool = value.sourceTool - valueSerializer.writeInt32(value_sourceTool) - const value_deviceId = value.deviceId - let value_deviceId_type: int32 = RuntimeType.UNDEFINED - value_deviceId_type = runtimeType(value_deviceId) - valueSerializer.writeInt8(value_deviceId_type) - if ((RuntimeType.UNDEFINED) != (value_deviceId_type)) { - const value_deviceId_value = value_deviceId! - valueSerializer.writeNumber(value_deviceId_value) - } - const value_displayX = value.displayX - valueSerializer.writeNumber(value_displayX) - const value_displayY = value.displayY - valueSerializer.writeNumber(value_displayY) - const value_windowX = value.windowX - valueSerializer.writeNumber(value_windowX) - const value_windowY = value.windowY - valueSerializer.writeNumber(value_windowY) - const value_screenX = value.screenX - valueSerializer.writeNumber(value_screenX) - const value_screenY = value.screenY - valueSerializer.writeNumber(value_screenY) - const value_x = value.x - valueSerializer.writeNumber(value_x) - const value_y = value.y - valueSerializer.writeNumber(value_y) - const value_preventDefault = value.preventDefault - valueSerializer.holdAndWriteCallback(value_preventDefault) + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) } writeWithThemeOptions(value: WithThemeOptions): void { let valueSerializer: Serializer = this @@ -14249,8 +14206,8 @@ export class Serializer extends SerializerBase { } writeJavaScriptProxy(value: JavaScriptProxy): void { let valueSerializer: Serializer = this - const value_object = value.object - valueSerializer.writeCustomObject("Object", value_object) + const value_object_ = value.object_ + valueSerializer.writeCustomObject("Object", value_object_) const value_name = value.name valueSerializer.writeString(value_name) const value_methodList = value.methodList @@ -15744,8 +15701,12 @@ export class Serializer extends SerializerBase { } writeSubmitEvent(value: SubmitEvent): void { let valueSerializer: Serializer = this - const value_text = value.text - valueSerializer.writeString(value_text) + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) } writeTextDataDetectorConfig(value: TextDataDetectorConfig): void { let valueSerializer: Serializer = this @@ -15895,72 +15856,12 @@ export class Serializer extends SerializerBase { } writeGestureEvent(value: GestureEvent): void { let valueSerializer: Serializer = this - const value_target = value.target - valueSerializer.writeEventTarget(value_target) - const value_timestamp = value.timestamp - valueSerializer.writeNumber(value_timestamp) - const value_source = value.source - valueSerializer.writeInt32(value_source) - const value_axisHorizontal = value.axisHorizontal - let value_axisHorizontal_type: int32 = RuntimeType.UNDEFINED - value_axisHorizontal_type = runtimeType(value_axisHorizontal) - valueSerializer.writeInt8(value_axisHorizontal_type) - if ((RuntimeType.UNDEFINED) != (value_axisHorizontal_type)) { - const value_axisHorizontal_value = value_axisHorizontal! - valueSerializer.writeNumber(value_axisHorizontal_value) - } - const value_axisVertical = value.axisVertical - let value_axisVertical_type: int32 = RuntimeType.UNDEFINED - value_axisVertical_type = runtimeType(value_axisVertical) - valueSerializer.writeInt8(value_axisVertical_type) - if ((RuntimeType.UNDEFINED) != (value_axisVertical_type)) { - const value_axisVertical_value = value_axisVertical! - valueSerializer.writeNumber(value_axisVertical_value) - } - const value_pressure = value.pressure - valueSerializer.writeNumber(value_pressure) - const value_tiltX = value.tiltX - valueSerializer.writeNumber(value_tiltX) - const value_tiltY = value.tiltY - valueSerializer.writeNumber(value_tiltY) - const value_sourceTool = value.sourceTool - valueSerializer.writeInt32(value_sourceTool) - const value_deviceId = value.deviceId - let value_deviceId_type: int32 = RuntimeType.UNDEFINED - value_deviceId_type = runtimeType(value_deviceId) - valueSerializer.writeInt8(value_deviceId_type) - if ((RuntimeType.UNDEFINED) != (value_deviceId_type)) { - const value_deviceId_value = value_deviceId! - valueSerializer.writeNumber(value_deviceId_value) - } - const value_repeat = value.repeat - valueSerializer.writeBoolean(value_repeat) - const value_fingerList = value.fingerList - valueSerializer.writeInt32(value_fingerList.length) - for (let i = 0; i < value_fingerList.length; i++) { - const value_fingerList_element: FingerInfo = value_fingerList[i] - valueSerializer.writeFingerInfo(value_fingerList_element) - } - const value_offsetX = value.offsetX - valueSerializer.writeNumber(value_offsetX) - const value_offsetY = value.offsetY - valueSerializer.writeNumber(value_offsetY) - const value_angle = value.angle - valueSerializer.writeNumber(value_angle) - const value_speed = value.speed - valueSerializer.writeNumber(value_speed) - const value_scale = value.scale - valueSerializer.writeNumber(value_scale) - const value_pinchCenterX = value.pinchCenterX - valueSerializer.writeNumber(value_pinchCenterX) - const value_pinchCenterY = value.pinchCenterY - valueSerializer.writeNumber(value_pinchCenterY) - const value_velocityX = value.velocityX - valueSerializer.writeNumber(value_velocityX) - const value_velocityY = value.velocityY - valueSerializer.writeNumber(value_velocityY) - const value_velocity = value.velocity - valueSerializer.writeNumber(value_velocity) + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) } writeLocalizedBarrierStyle(value: LocalizedBarrierStyle): void { let valueSerializer: Serializer = this @@ -16286,6 +16187,13 @@ export class Serializer extends SerializerBase { } } } + writePoint(value: Point): void { + let valueSerializer: Serializer = this + const value_x = value.x + valueSerializer.writeNumber(value_x) + const value_y = value.y + valueSerializer.writeNumber(value_y) + } writePolygonOptions(value: PolygonOptions): void { let valueSerializer: Serializer = this const value_width = value.width @@ -16339,7 +16247,7 @@ export class Serializer extends SerializerBase { const value_template = value.template valueSerializer.writePluginComponentTemplate(value_template) const value_data = value.data - valueSerializer.writeCustomObject("Any", value_data) + valueSerializer.writeString(value_data) } writePatternLockController(value: PatternLockController): void { let valueSerializer: Serializer = this @@ -18633,50 +18541,12 @@ export class Serializer extends SerializerBase { } writeBaseGestureEvent(value: BaseGestureEvent): void { let valueSerializer: Serializer = this - const value_target = value.target - valueSerializer.writeEventTarget(value_target) - const value_timestamp = value.timestamp - valueSerializer.writeNumber(value_timestamp) - const value_source = value.source - valueSerializer.writeInt32(value_source) - const value_axisHorizontal = value.axisHorizontal - let value_axisHorizontal_type: int32 = RuntimeType.UNDEFINED - value_axisHorizontal_type = runtimeType(value_axisHorizontal) - valueSerializer.writeInt8(value_axisHorizontal_type) - if ((RuntimeType.UNDEFINED) != (value_axisHorizontal_type)) { - const value_axisHorizontal_value = value_axisHorizontal! - valueSerializer.writeNumber(value_axisHorizontal_value) - } - const value_axisVertical = value.axisVertical - let value_axisVertical_type: int32 = RuntimeType.UNDEFINED - value_axisVertical_type = runtimeType(value_axisVertical) - valueSerializer.writeInt8(value_axisVertical_type) - if ((RuntimeType.UNDEFINED) != (value_axisVertical_type)) { - const value_axisVertical_value = value_axisVertical! - valueSerializer.writeNumber(value_axisVertical_value) - } - const value_pressure = value.pressure - valueSerializer.writeNumber(value_pressure) - const value_tiltX = value.tiltX - valueSerializer.writeNumber(value_tiltX) - const value_tiltY = value.tiltY - valueSerializer.writeNumber(value_tiltY) - const value_sourceTool = value.sourceTool - valueSerializer.writeInt32(value_sourceTool) - const value_deviceId = value.deviceId - let value_deviceId_type: int32 = RuntimeType.UNDEFINED - value_deviceId_type = runtimeType(value_deviceId) - valueSerializer.writeInt8(value_deviceId_type) - if ((RuntimeType.UNDEFINED) != (value_deviceId_type)) { - const value_deviceId_value = value_deviceId! - valueSerializer.writeNumber(value_deviceId_value) - } - const value_fingerList = value.fingerList - valueSerializer.writeInt32(value_fingerList.length) - for (let i = 0; i < value_fingerList.length; i++) { - const value_fingerList_element: FingerInfo = value_fingerList[i] - valueSerializer.writeFingerInfo(value_fingerList_element) - } + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) } writeGestureInfo(value: GestureInfo): void { let valueSerializer: Serializer = this @@ -18802,10 +18672,12 @@ export class Serializer extends SerializerBase { } writeDragEvent(value: DragEvent): void { let valueSerializer: Serializer = this - const value_dragBehavior = value.dragBehavior - valueSerializer.writeInt32(value_dragBehavior) - const value_useCustomDropAnimation = value.useCustomDropAnimation - valueSerializer.writeBoolean(value_useCustomDropAnimation) + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) } writeLocalizedAlignRuleOptions(value: LocalizedAlignRuleOptions): void { let valueSerializer: Serializer = this @@ -18979,216 +18851,39 @@ export class Serializer extends SerializerBase { } writeKeyEvent(value: KeyEvent): void { let valueSerializer: Serializer = this - const value_type = value.type - valueSerializer.writeInt32(value_type) - const value_keyCode = value.keyCode - valueSerializer.writeNumber(value_keyCode) - const value_keyText = value.keyText - valueSerializer.writeString(value_keyText) - const value_keySource = value.keySource - valueSerializer.writeInt32(value_keySource) - const value_deviceId = value.deviceId - valueSerializer.writeNumber(value_deviceId) - const value_metaKey = value.metaKey - valueSerializer.writeNumber(value_metaKey) - const value_timestamp = value.timestamp - valueSerializer.writeNumber(value_timestamp) - const value_stopPropagation = value.stopPropagation - valueSerializer.holdAndWriteCallback(value_stopPropagation) - const value_intentionCode = value.intentionCode - valueSerializer.writeIntentionCode(value_intentionCode) - const value_unicode = value.unicode - let value_unicode_type: int32 = RuntimeType.UNDEFINED - value_unicode_type = runtimeType(value_unicode) - valueSerializer.writeInt8(value_unicode_type) - if ((RuntimeType.UNDEFINED) != (value_unicode_type)) { - const value_unicode_value = value_unicode! - valueSerializer.writeNumber(value_unicode_value) - } - } - writeTouchObject(value: TouchObject): void { - let valueSerializer: Serializer = this - const value_type = value.type - valueSerializer.writeInt32(value_type) - const value_id = value.id - valueSerializer.writeNumber(value_id) - const value_displayX = value.displayX - valueSerializer.writeNumber(value_displayX) - const value_displayY = value.displayY - valueSerializer.writeNumber(value_displayY) - const value_windowX = value.windowX - valueSerializer.writeNumber(value_windowX) - const value_windowY = value.windowY - valueSerializer.writeNumber(value_windowY) - const value_screenX = value.screenX - valueSerializer.writeNumber(value_screenX) - const value_screenY = value.screenY - valueSerializer.writeNumber(value_screenY) - const value_x = value.x - valueSerializer.writeNumber(value_x) - const value_y = value.y - valueSerializer.writeNumber(value_y) + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) } writeMouseEvent(value: MouseEvent): void { let valueSerializer: Serializer = this - const value_target = value.target - valueSerializer.writeEventTarget(value_target) - const value_timestamp = value.timestamp - valueSerializer.writeNumber(value_timestamp) - const value_source = value.source - valueSerializer.writeInt32(value_source) - const value_axisHorizontal = value.axisHorizontal - let value_axisHorizontal_type: int32 = RuntimeType.UNDEFINED - value_axisHorizontal_type = runtimeType(value_axisHorizontal) - valueSerializer.writeInt8(value_axisHorizontal_type) - if ((RuntimeType.UNDEFINED) != (value_axisHorizontal_type)) { - const value_axisHorizontal_value = value_axisHorizontal! - valueSerializer.writeNumber(value_axisHorizontal_value) - } - const value_axisVertical = value.axisVertical - let value_axisVertical_type: int32 = RuntimeType.UNDEFINED - value_axisVertical_type = runtimeType(value_axisVertical) - valueSerializer.writeInt8(value_axisVertical_type) - if ((RuntimeType.UNDEFINED) != (value_axisVertical_type)) { - const value_axisVertical_value = value_axisVertical! - valueSerializer.writeNumber(value_axisVertical_value) - } - const value_pressure = value.pressure - valueSerializer.writeNumber(value_pressure) - const value_tiltX = value.tiltX - valueSerializer.writeNumber(value_tiltX) - const value_tiltY = value.tiltY - valueSerializer.writeNumber(value_tiltY) - const value_sourceTool = value.sourceTool - valueSerializer.writeInt32(value_sourceTool) - const value_deviceId = value.deviceId - let value_deviceId_type: int32 = RuntimeType.UNDEFINED - value_deviceId_type = runtimeType(value_deviceId) - valueSerializer.writeInt8(value_deviceId_type) - if ((RuntimeType.UNDEFINED) != (value_deviceId_type)) { - const value_deviceId_value = value_deviceId! - valueSerializer.writeNumber(value_deviceId_value) - } - const value_button = value.button - valueSerializer.writeInt32(value_button) - const value_action = value.action - valueSerializer.writeInt32(value_action) - const value_displayX = value.displayX - valueSerializer.writeNumber(value_displayX) - const value_displayY = value.displayY - valueSerializer.writeNumber(value_displayY) - const value_windowX = value.windowX - valueSerializer.writeNumber(value_windowX) - const value_windowY = value.windowY - valueSerializer.writeNumber(value_windowY) - const value_screenX = value.screenX - valueSerializer.writeNumber(value_screenX) - const value_screenY = value.screenY - valueSerializer.writeNumber(value_screenY) - const value_x = value.x - valueSerializer.writeNumber(value_x) - const value_y = value.y - valueSerializer.writeNumber(value_y) - const value_stopPropagation = value.stopPropagation - valueSerializer.holdAndWriteCallback(value_stopPropagation) + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) } writeAccessibilityHoverEvent(value: AccessibilityHoverEvent): void { let valueSerializer: Serializer = this - const value_target = value.target - valueSerializer.writeEventTarget(value_target) - const value_timestamp = value.timestamp - valueSerializer.writeNumber(value_timestamp) - const value_source = value.source - valueSerializer.writeInt32(value_source) - const value_axisHorizontal = value.axisHorizontal - let value_axisHorizontal_type: int32 = RuntimeType.UNDEFINED - value_axisHorizontal_type = runtimeType(value_axisHorizontal) - valueSerializer.writeInt8(value_axisHorizontal_type) - if ((RuntimeType.UNDEFINED) != (value_axisHorizontal_type)) { - const value_axisHorizontal_value = value_axisHorizontal! - valueSerializer.writeNumber(value_axisHorizontal_value) - } - const value_axisVertical = value.axisVertical - let value_axisVertical_type: int32 = RuntimeType.UNDEFINED - value_axisVertical_type = runtimeType(value_axisVertical) - valueSerializer.writeInt8(value_axisVertical_type) - if ((RuntimeType.UNDEFINED) != (value_axisVertical_type)) { - const value_axisVertical_value = value_axisVertical! - valueSerializer.writeNumber(value_axisVertical_value) - } - const value_pressure = value.pressure - valueSerializer.writeNumber(value_pressure) - const value_tiltX = value.tiltX - valueSerializer.writeNumber(value_tiltX) - const value_tiltY = value.tiltY - valueSerializer.writeNumber(value_tiltY) - const value_sourceTool = value.sourceTool - valueSerializer.writeInt32(value_sourceTool) - const value_deviceId = value.deviceId - let value_deviceId_type: int32 = RuntimeType.UNDEFINED - value_deviceId_type = runtimeType(value_deviceId) - valueSerializer.writeInt8(value_deviceId_type) - if ((RuntimeType.UNDEFINED) != (value_deviceId_type)) { - const value_deviceId_value = value_deviceId! - valueSerializer.writeNumber(value_deviceId_value) - } - const value_type = value.type - valueSerializer.writeInt32(value_type) - const value_x = value.x - valueSerializer.writeNumber(value_x) - const value_y = value.y - valueSerializer.writeNumber(value_y) - const value_displayX = value.displayX - valueSerializer.writeNumber(value_displayX) - const value_displayY = value.displayY - valueSerializer.writeNumber(value_displayY) - const value_windowX = value.windowX - valueSerializer.writeNumber(value_windowX) - const value_windowY = value.windowY - valueSerializer.writeNumber(value_windowY) + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) } writeHoverEvent(value: HoverEvent): void { let valueSerializer: Serializer = this - const value_target = value.target - valueSerializer.writeEventTarget(value_target) - const value_timestamp = value.timestamp - valueSerializer.writeNumber(value_timestamp) - const value_source = value.source - valueSerializer.writeInt32(value_source) - const value_axisHorizontal = value.axisHorizontal - let value_axisHorizontal_type: int32 = RuntimeType.UNDEFINED - value_axisHorizontal_type = runtimeType(value_axisHorizontal) - valueSerializer.writeInt8(value_axisHorizontal_type) - if ((RuntimeType.UNDEFINED) != (value_axisHorizontal_type)) { - const value_axisHorizontal_value = value_axisHorizontal! - valueSerializer.writeNumber(value_axisHorizontal_value) - } - const value_axisVertical = value.axisVertical - let value_axisVertical_type: int32 = RuntimeType.UNDEFINED - value_axisVertical_type = runtimeType(value_axisVertical) - valueSerializer.writeInt8(value_axisVertical_type) - if ((RuntimeType.UNDEFINED) != (value_axisVertical_type)) { - const value_axisVertical_value = value_axisVertical! - valueSerializer.writeNumber(value_axisVertical_value) - } - const value_pressure = value.pressure - valueSerializer.writeNumber(value_pressure) - const value_tiltX = value.tiltX - valueSerializer.writeNumber(value_tiltX) - const value_tiltY = value.tiltY - valueSerializer.writeNumber(value_tiltY) - const value_sourceTool = value.sourceTool - valueSerializer.writeInt32(value_sourceTool) - const value_deviceId = value.deviceId - let value_deviceId_type: int32 = RuntimeType.UNDEFINED - value_deviceId_type = runtimeType(value_deviceId) - valueSerializer.writeInt8(value_deviceId_type) - if ((RuntimeType.UNDEFINED) != (value_deviceId_type)) { - const value_deviceId_value = value_deviceId! - valueSerializer.writeNumber(value_deviceId_value) - } - const value_stopPropagation = value.stopPropagation - valueSerializer.holdAndWriteCallback(value_stopPropagation) + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) } writeOutlineOptions(value: OutlineOptions): void { let valueSerializer: Serializer = this @@ -20433,6 +20128,29 @@ export class Serializer extends SerializerBase { valueSerializer.writeLength(value_maxHeight_value) } } + writeTouchObject(value: TouchObject): void { + let valueSerializer: Serializer = this + const value_type = value.type + valueSerializer.writeInt32(value_type) + const value_id = value.id + valueSerializer.writeNumber(value_id) + const value_displayX = value.displayX + valueSerializer.writeNumber(value_displayX) + const value_displayY = value.displayY + valueSerializer.writeNumber(value_displayY) + const value_windowX = value.windowX + valueSerializer.writeNumber(value_windowX) + const value_windowY = value.windowY + valueSerializer.writeNumber(value_windowY) + const value_screenX = value.screenX + valueSerializer.writeNumber(value_screenX) + const value_screenY = value.screenY + valueSerializer.writeNumber(value_screenY) + const value_x = value.x + valueSerializer.writeNumber(value_x) + const value_y = value.y + valueSerializer.writeNumber(value_y) + } writePointLightStyle(value: PointLightStyle): void { let valueSerializer: Serializer = this const value_lightSource = value.lightSource diff --git a/arkoala/framework/native/src/DeserializerBase.h b/arkoala/framework/native/src/DeserializerBase.h deleted file mode 100644 index a708c8a3c..000000000 --- a/arkoala/framework/native/src/DeserializerBase.h +++ /dev/null @@ -1,637 +0,0 @@ -/* - * Copyright (c) 2024 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. - */ -#include - -#include -#include -#include -#include -#include - -#include "koala-types.h" -#include "arkoala_api_generated.h" -#include "callbacks.h" - -#ifdef __arm__ -#define KOALA_NO_UNALIGNED_ACCESS 1 -#endif - -using namespace std; - -inline const char *tagName(Ark_Tag tag) -{ - switch (tag) - { - case Ark_Tag::ARK_TAG_UNDEFINED: - return "UNDEFINED"; - case Ark_Tag::ARK_TAG_INT32: - return "INT32"; - case Ark_Tag::ARK_TAG_FLOAT32: - return "FLOAT32"; - case Ark_Tag::ARK_TAG_LENGTH: - return "LENGTH"; - case Ark_Tag::ARK_TAG_RESOURCE: - return "RESOURCE"; - case Ark_Tag::ARK_TAG_STRING: - return "STRING"; - case Ark_Tag::ARK_TAG_OBJECT: - return "OBJECT"; - } - fprintf(stderr, "tag name %d is wrong\n", tag); - throw "Error"; -} - -inline const char *tagNameExact(Ark_Tag tag) -{ - switch (tag) - { - case Ark_Tag::ARK_TAG_UNDEFINED: - return "ARK_TAG_UNDEFINED"; - case Ark_Tag::ARK_TAG_INT32: - return "ARK_TAG_INT32"; - case Ark_Tag::ARK_TAG_FLOAT32: - return "ARK_TAG_FLOAT32"; - case Ark_Tag::ARK_TAG_LENGTH: - return "ARK_TAG_LENGTH"; - case Ark_Tag::ARK_TAG_RESOURCE: - return "ARK_TAG_RESOURCE"; - case Ark_Tag::ARK_TAG_STRING: - return "ARK_TAG_STRING"; - case Ark_Tag::ARK_TAG_OBJECT: - return "ARK_TAG_OBJECT"; - } - fprintf(stderr, "tag name %d is wrong\n", tag); - throw "Error"; -} - -inline Ark_Function makeArkFunctionFromId(Ark_Int32 id) { - Ark_Function result; - result.id = id; - return result; -} - -inline const char *getUnitName(int value) -{ - switch (value) - { - case 0: - return "px"; - case 1: - return "vp"; - case 2: - return "fp"; - case 3: - return "%"; - case 4: - return "lpx"; - default: - return ""; - } -} - -inline void parseDimension(const Ark_String &string, Ark_Length *result) -{ - char *suffixPtr = nullptr; - float value = std::strtof(string.chars, &suffixPtr); - - if (!suffixPtr || suffixPtr == string.chars) - { - // not a numeric value - result->unit = -1; - return; - } - result->value = value; - if (suffixPtr[0] == '\0' || (suffixPtr[0] == 'v' && suffixPtr[1] == 'p')) - { - result->unit = 1; - } - else if (suffixPtr[0] == '%') - { - result->unit = 3; - } - else if (suffixPtr[0] == 'p' && suffixPtr[1] == 'x') - { - result->unit = 0; - } - else if (suffixPtr[0] == 'l' && suffixPtr[1] == 'p' && suffixPtr[2] == 'x') - { - result->unit = 4; - } - else if (suffixPtr[0] == 'f' && suffixPtr[1] == 'p') - { - result->unit = 2; - } - else - { - result->unit = -1; - } -} - -template -inline void convertor(T value) = delete; - -// TODO: restore full printing! -template -inline void WriteToString(string *result, T value) = delete; - -template <> -inline void WriteToString(string *result, const Ark_Empty &value) -{ - result->append("{"); - result->append(".dummy=" + std::to_string(value.dummy)); - result->append("}"); -} - -struct Error -{ - std::string message; - Error(const std::string &message) : message(message) {} -}; - -template <> -inline void WriteToString(string *result, Ark_Tag value) -{ - result->append(".tag="); - result->append(tagName(value)); -} - -template <> -inline void WriteToString(string *result, Ark_NativePointer value) -{ - result->append("0x" + std::to_string((uint64_t)value)); -} - -template <> -inline void WriteToString(string *result, Ark_NodeHandle value) -{ - result->append("0x" + std::to_string((uint64_t)value)); -} - -template <> -inline void WriteToString(string *result, Ark_ObjectHandle value) -{ - result->append("0x" + std::to_string((uint64_t)value)); -} - -template <> -inline void WriteToString(string *result, Ark_Function value) -{ - result->append("{"); - result->append(".id=" + std::to_string(value.id)); - result->append("}"); -} - -template <> -inline void WriteToString(string *result, const Ark_Function* value) -{ - result->append("{"); - result->append(".id=" + std::to_string(value->id)); - result->append("}"); -} - -template <> -inline void WriteToString(string *result, const Ark_Materialized *value) -{ - char hex[20]; - std::snprintf(hex, sizeof(hex), "0x%llx", (long long)value->ptr); - result->append("\""); - result->append("Materialized "); - result->append(hex); - result->append("\""); -} - -// TODO: generate! -template<> -inline void WriteToString(string *result, const Ark_CallbackResource *value) -{ - result->append("{"); - result->append(".resourceId=" + std::to_string(value->resourceId)); - result->append(", .hold=0"); - result->append(", .release=0"); - result->append("}"); -} - -class DeserializerBase; - -template <> -inline void WriteToString(string *result, Ark_Undefined value) -{ - result->append("{}"); -} -template <> -inline void WriteToString(string *result, const Ark_Undefined *value) -{ - result->append("{}"); -} -template <> -inline void WriteToString(string *result, Ark_Void value) -{ - result->append("{}"); -} -template <> -inline void WriteToString(string *result, const Ark_Void *value) -{ - result->append("{}"); -} -template <> -inline void WriteToString(string *result, const Ark_CustomObject *value) -{ - if (strcmp(value->kind, "NativeErrorFunction") == 0) - { - result->append("() => {} /* TBD: Function*/"); - return; - } - result->append("{"); - result->append(".kind=\""); - result->append(value->kind); - result->append("\"}"); -} - -struct CustomDeserializer -{ - virtual ~CustomDeserializer() {} - virtual bool supports(const string &kind) { return false; } - virtual Ark_CustomObject deserialize(DeserializerBase *deserializer, const string &kind) - { - Ark_CustomObject result; - strcpy(result.kind, "error"); - return result; - } - CustomDeserializer *next = nullptr; -}; - -class DeserializerBase -{ -protected: - uint8_t *data; - int32_t length; - int32_t position; - std::vector toClean; - - static CustomDeserializer *customDeserializers; - -public: - DeserializerBase(uint8_t *data, int32_t length) - : data(data), length(length), position(0) {} - - ~DeserializerBase() - { - for (auto data : toClean) - { - free(data); - } - } - - static void registerCustomDeserializer(CustomDeserializer *deserializer) - { - if (DeserializerBase::customDeserializers == nullptr) - { - DeserializerBase::customDeserializers = deserializer; - } - else - { - auto *current = DeserializerBase::customDeserializers; - while (current->next != nullptr) - current = current->next; - current->next = deserializer; - } - } - - template - void resizeArray(T *array, int32_t length) - { - void *value = nullptr; - if (length > 0) - { - value = malloc(length * sizeof(E)); - memset(value, 0, length * sizeof(E)); - toClean.push_back(value); - } - array->length = length; - array->array = reinterpret_cast(value); - } - - template - void resizeMap(T *map, int32_t length) - { - void *keys = nullptr; - void *values = nullptr; - if (length > 0) - { - keys = malloc(length * sizeof(K)); - memset(keys, 0, length * sizeof(K)); - toClean.push_back(keys); - - values = malloc(length * sizeof(V)); - memset(values, 0, length * sizeof(V)); - toClean.push_back(values); - } - map->size = length; - map->keys = reinterpret_cast(keys); - map->values = reinterpret_cast(values); - } - - int32_t currentPosition() const { return this->position; } - - void check(int32_t count) - { - if (position + count > length) { - fprintf(stderr, "Incorrect serialized data, check for %d, buffer %d position %d\n", count, length, position); - assert(false); - abort(); - } - } - - Ark_CustomObject readCustomObject(string kind) - { - auto *current = DeserializerBase::customDeserializers; - while (current) - { - if (current->supports(kind)) - return current->deserialize(this, kind); - current = current->next; - } - fprintf(stderr, "Unsupported custom deserialization for %s\n", kind.c_str()); - auto tag = readTag(); - assert(tag == ARK_TAG_UNDEFINED); - // Skip updefined tag!. - Ark_CustomObject result; - strcpy(result.kind, "Error"); - strcat(result.kind, kind.c_str()); - return result; - } - - Ark_CallbackResource readCallbackResource() { - Ark_CallbackResource result = {}; - result.resourceId = readInt32(); - result.hold = reinterpret_cast(readPointerOrDefault(reinterpret_cast(holdManagedCallbackResource))); - result.release = reinterpret_cast(readPointerOrDefault(reinterpret_cast(releaseManagedCallbackResource))); - return result; - } - - int8_t readInt8() - { - check(1); - int8_t value = *(data + position); - position += 1; - return value; - } - Ark_Tag readTag() - { - return (Ark_Tag)readInt8(); - } - Ark_Boolean readBoolean() - { - check(1); - int8_t value = *(data + position); - position += 1; - return value; - } - Ark_Int32 readInt32() - { - check(4); -#ifdef KOALA_NO_UNALIGNED_ACCESS - Ark_Int32 value; - memcpy(&value, data + position, 4); -#else - auto value = *(Ark_Int32 *)(data + position); -#endif - position += 4; - return value; - } - Ark_Int64 readInt64() - { - check(8); -#ifdef KOALA_NO_UNALIGNED_ACCESS - Ark_Int64 value; - memcpy(&value, data + position, 4); -#else - auto value = *(Ark_Int64 *)(data + position); -#endif - position += 8; - return value; - } - Ark_Float32 readFloat32() - { - check(4); -#ifdef KOALA_NO_UNALIGNED_ACCESS - Ark_Float32 value; - memcpy(&value, data + position, 4); -#else - auto value = *(Ark_Float32 *)(data + position); -#endif - position += 4; - return value; - } - Ark_NativePointer readPointer() - { - check(8); -#ifdef KOALA_NO_UNALIGNED_ACCESS - int64_t value = 0; - memcpy(&value, data + position, 8); -#else - int64_t value = *(int64_t *)(data + position); - position += 8; -#endif - return reinterpret_cast(value); - } - Ark_NativePointer readPointerOrDefault(Ark_NativePointer defaultValue) - { - const Ark_NativePointer value = this->readPointer(); - return value ? value : defaultValue; - } - Ark_Number readNumber() - { - check(5); - Ark_Number result; - result.tag = readTag(); - if (result.tag == Ark_Tag::ARK_TAG_INT32) - { - result.i32 = readInt32(); - } - else if (result.tag == Ark_Tag::ARK_TAG_FLOAT32) - { - result.f32 = readFloat32(); - } - else - { - fprintf(stderr, "Bad number tag %d\n", result.tag); - throw "Unknown number tag"; - } - return result; - } - Ark_Buffer readBuffer() - { - Ark_CallbackResource resource = readCallbackResource(); - Ark_NativePointer data = readPointer(); - Ark_Int64 length = readInt64(); - return Ark_Buffer { resource, (void*)data, length }; - } - - // TODO: produce them with prefix in generator. - Ark_Length readLength() - { - Ark_Length result = {}; - result.unit = 1; - result.type = readInt8(); - switch (result.type) - { - case ARK_RUNTIME_OBJECT: - { - result.resource = readInt32(); - break; - } - case ARK_RUNTIME_STRING: - { - Ark_String string = readString(); - parseDimension(string, &result); - break; - } - case ARK_RUNTIME_NUMBER: - { - result.value = readFloat32(); - break; - } - default: - { - fprintf(stderr, "Bad length tag %d\n", result.type); - throw "Error"; - } - } - return result; - } - - Ark_String readString() - { - Ark_String result; - Ark_Int32 length = readInt32(); - check(length); - // We refer to string data in-place. - result.chars = (const char *)(data + position); - result.length = length - 1; - this->position += length; - return result; - } - - Ark_Function readFunction() - { - Ark_Function result; - result.id = readInt32(); - return result; - } - - Ark_Materialized readMaterialized() - { - Ark_Materialized result; - result.ptr = readPointer(); - return result; - } - - Ark_Undefined readUndefined() - { - return Ark_Undefined(); - } -}; -template <> -inline void WriteToString(string *result, Ark_Boolean value) -{ - result->append(value ? "true" : "false"); -} -template <> -inline void WriteToString(string *result, Ark_Int32 value) -{ - result->append(std::to_string(value)); -} -template <> -inline void WriteToString(string *result, const Ark_Int32* value) -{ - result->append(std::to_string(*value)); -} -template <> -inline void WriteToString(string *result, Ark_Int64 value) -{ - result->append(std::to_string(value)); -} -template <> -inline void WriteToString(string *result, Ark_UInt32 value) -{ - result->append(std::to_string(value)); -} -template <> -inline void WriteToString(string *result, Ark_Float32 value) -{ - std::string storage; - storage.resize(20); - // We use to_chars() to avoid locale issues. - auto rc = std::to_chars(storage.data(), storage.data() + storage.size(), value); - storage.resize(rc.ptr - storage.data()); - result->append(storage); -} -template <> -inline void WriteToString(string* result, const Ark_Buffer* value) { - result->append("{.data=nullptr, .length="); - result->append(to_string(value->length)); - result->append("}"); -} -template <> -inline void WriteToString(string* result, Ark_Buffer value) { - result->append("{.data=nullptr, .length="); - result->append(to_string(value.length)); - result->append("}"); -} -template <> -inline void WriteToString(string *result, const Ark_String *value) -{ - result->append("{"); - if (value->chars) { - result->append(".chars=\""); - result->append(value->chars); - result->append("\""); - } else { - result->append(".chars=\"\""); - } - result->append(", .length="); - WriteToString(result, value->length); - result->append("}"); -} - -template <> -inline void WriteToString(string *result, const Ark_Number *value) -{ - result->append("{.tag=" + std::to_string(value->tag) + ", "); - - if (value->tag == ARK_TAG_FLOAT32) - { - std::string valueString; - result->append(".f32="); - WriteToString(result, value->f32); - } else { - result->append(".i32=" + std::to_string(value->i32)); - } - - result->append("}"); -} - -template <> -inline void WriteToString(string *result, const Ark_Length *value) -{ - result->append("{"); - result->append(".type=" + std::to_string(value->type)); - result->append(", .value="); - WriteToString(result, value->value); - result->append(", .unit=" + std::to_string(value->unit)); - result->append(", .resource=" + std::to_string(value->resource)); - result->append("}"); -} diff --git a/arkoala/framework/native/src/SerializerBase.h b/arkoala/framework/native/src/SerializerBase.h deleted file mode 100644 index 69e2aae1a..000000000 --- a/arkoala/framework/native/src/SerializerBase.h +++ /dev/null @@ -1,196 +0,0 @@ -/* - * Copyright (c) 2024 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. - */ - -#ifndef _SERIALIZER_BASE_H -#define _SERIALIZER_BASE_H - -#include "arkoala_api_generated.h" -#include "callback_resource_holder.h" - -#ifdef __arm__ -#define KOALA_NO_UNALIGNED_ACCESS 1 -#endif - -#include -#include -#include -#include -#include -#include -#include -#include - -template -inline Ark_RuntimeType runtimeType(const T& value) = delete; - -template <> -inline Ark_RuntimeType runtimeType(const Ark_CustomObject& value) { - return ARK_RUNTIME_OBJECT; -} - -template <> -inline Ark_RuntimeType runtimeType(const Ark_Materialized& value) { - return ARK_RUNTIME_OBJECT; -} - -static const std::size_t buffer_size = 1024 * 1024; // 1 MB -static std::size_t offset = 0; -alignas(std::max_align_t) static char buffer[buffer_size]; - -template -T* allocArray(const std::array& ref) { - std::size_t space = sizeof(buffer) - offset; - void* ptr = buffer + offset; - void* aligned_ptr = std::align(alignof(T), sizeof(T) * size, ptr, space); - assert(aligned_ptr != nullptr && "Insufficient space or alignment failed!"); - offset = (char*)aligned_ptr + sizeof(T) * size - buffer; - T* array = reinterpret_cast(aligned_ptr); - for (size_t i = 0; i < size; ++i) { - new (&array[i]) T(ref[i]); - } - return array; -} - -class SerializerBase { -private: - uint8_t* data; - int position; - CallbackResourceHolder* resourceHolder; -public: - SerializerBase(uint8_t* data, CallbackResourceHolder* resourceHolder = nullptr): data(data), position(0), resourceHolder(resourceHolder) {} - - int length() { - return position; - } - - void writeInt8(Ark_Int8 value) { - *((Ark_Int8*)(data + position)) = value; - position += 1; - } - - void writeInt32(Ark_Int32 value) { -#ifdef KOALA_NO_UNALIGNED_ACCESS - memcpy(data + position, &value, 4); -#else - *((Ark_Int32*)(data + position)) = value; -#endif - position += 4; - } - - void writeInt64(Ark_Int64 value) { -#ifdef KOALA_NO_UNALIGNED_ACCESS - memcpy(data + position, &value, 8); -#else - *((Ark_Int64*)(data + position)) = value; -#endif - position += 8; - } - - void writeFloat32(Ark_Float32 value) { -#ifdef KOALA_NO_UNALIGNED_ACCESS - memcpy(data + position, &value, 4); -#else - *((Ark_Float32*)(data + position)) = value; -#endif - position += 4; - } - - void writePointer(Ark_NativePointer value) { -#ifdef KOALA_NO_UNALIGNED_ACCESS - memcpy(data + position, &value, 8); -#else - *((int64_t*)(data + position)) = reinterpret_cast(value); -#endif - position += 8; - } - - void writeNumber(Ark_Number value) { - writeInt8(value.tag); - if (value.tag == Ark_Tag::ARK_TAG_INT32) { - writeInt32(value.i32); - } else if (value.tag == Ark_Tag::ARK_TAG_FLOAT32) { - writeFloat32(value.f32); - } else { - fprintf(stderr, "Bad number tag %d\n", value.tag); - throw "Unknown number tag"; - } - } - - void writeString(Ark_String value) { - writeInt32(value.length + 1); - strcpy((char*)(data + position), value.chars); - position += value.length + 1; - } - - void writeBoolean(Ark_Boolean value) { - writeInt8(value); - } - - void writeLength(Ark_Length value) { - Ark_RuntimeType tag = (Ark_RuntimeType) value.type; - writeInt8(tag); - switch (tag) { - case ARK_RUNTIME_NUMBER: - writeFloat32(value.value); - break; - case ARK_RUNTIME_OBJECT: - writeInt32(value.resource); - break; - case ARK_RUNTIME_STRING: { - char buf[64]; - std::string suffix; - switch (value.unit) { - case 0: suffix = "px"; break; - case 1: suffix = "vp"; break; - case 2: suffix = "fp"; break; - case 3: suffix = "%"; break; - case 4: suffix = "lpx"; break; - } - snprintf(buf, 64, "%.8f%s", value.value, suffix.c_str()); - Ark_String str = { buf, (Ark_Int32) strlen(buf) }; - writeString(str); - break; - } - default: - break; - } - } - - void writeCallbackResource(const Ark_CallbackResource resource) { - writeInt32(resource.resourceId); - writePointer(reinterpret_cast(resource.hold)); - writePointer(reinterpret_cast(resource.release)); - if (this->resourceHolder != nullptr) { - this->resourceHolder->holdCallbackResource(&resource); - } - } - - void writeFunction(Ark_Function value) { - // TODO: ignored, remove! - writeInt32(0x666); - } - - void writeCustomObject(std::string type, Ark_CustomObject value) { - // TODO implement - } - - void writeBuffer(Ark_Buffer buffer) { - writeCallbackResource(buffer.resource); - writePointer((void*)buffer.data); - writeInt64(buffer.length); - } -}; - -#endif // _SERIALIZER_BASE_H \ No newline at end of file diff --git a/arkoala/framework/native/src/callback_resource_holder.h b/arkoala/framework/native/src/callback_resource_holder.h deleted file mode 100644 index 37d36fa44..000000000 --- a/arkoala/framework/native/src/callback_resource_holder.h +++ /dev/null @@ -1,23 +0,0 @@ -#ifndef _ARKOALA_CALLBACK_RESOURCE_HOLDER -#define _ARKOALA_CALLBACK_RESOURCE_HOLDER - -#include -#include "arkoala_api_generated.h" - -class CallbackResourceHolder { -private: - std::vector heldResources; -public: - void holdCallbackResource(const Ark_CallbackResource* resource) { - resource->hold(resource->resourceId); - this->heldResources.push_back(*resource); - } - void release() { - for (auto resource : this->heldResources) { - resource.release(resource.resourceId); - } - this->heldResources.clear(); - } -}; - -#endif \ No newline at end of file diff --git a/arkoala/framework/native/src/generated/Serializers.h b/arkoala/framework/native/src/generated/Serializers.h index 71dc3d68b..b38ab5c4c 100644 --- a/arkoala/framework/native/src/generated/Serializers.h +++ b/arkoala/framework/native/src/generated/Serializers.h @@ -1,20 +1,21 @@ #include "SerializerBase.h" #include "DeserializerBase.h" +#include "callbacks.h" #include "arkoala_api_generated.h" #include template <> inline Ark_RuntimeType runtimeType(const Ark_Int32& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Opt_Int32* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25,7 +26,7 @@ inline void WriteToString(std::string* result, const Opt_Int32* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Int32& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Length& value) @@ -37,7 +38,7 @@ inline void WriteToString(std::string* result, const Opt_Length* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -48,19 +49,19 @@ inline void WriteToString(std::string* result, const Opt_Length* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Length& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Number& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Opt_Number* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -71,12 +72,12 @@ inline void WriteToString(std::string* result, const Opt_Number* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Number& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_String& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -99,7 +100,7 @@ inline void WriteToString(std::string* result, const Opt_Array_String* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -110,19 +111,19 @@ inline void WriteToString(std::string* result, const Opt_Array_String* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Array_String& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_String& value) { - return ARK_RUNTIME_STRING; + return INTEROP_RUNTIME_STRING; } template <> inline void WriteToString(std::string* result, const Opt_String* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -133,12 +134,12 @@ inline void WriteToString(std::string* result, const Opt_String* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_String& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LengthUnit& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_LengthUnit value) { @@ -151,7 +152,7 @@ inline void WriteToString(std::string* result, const Opt_LengthUnit* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -162,12 +163,12 @@ inline void WriteToString(std::string* result, const Opt_LengthUnit* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_LengthUnit& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BorderRadiuses& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_BorderRadiuses* value) { @@ -194,7 +195,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -205,12 +206,12 @@ inline void WriteToString(std::string* result, const Opt_BorderRadiuses* value) template <> inline Ark_RuntimeType runtimeType(const Opt_BorderRadiuses& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Resource& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Resource* value) { @@ -241,7 +242,7 @@ inline void WriteToString(std::string* result, const Opt_Resource* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -252,12 +253,12 @@ inline void WriteToString(std::string* result, const Opt_Resource* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Resource& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Color& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_Color value) { @@ -270,7 +271,7 @@ inline void WriteToString(std::string* result, const Opt_Color* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -281,12 +282,12 @@ inline void WriteToString(std::string* result, const Opt_Color* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Color& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Tuple_Dimension_Dimension& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Tuple_Dimension_Dimension* value) { @@ -305,7 +306,7 @@ inline void WriteToString(std::string* result, const Opt_Tuple_Dimension_Dimensi result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -316,14 +317,14 @@ inline void WriteToString(std::string* result, const Opt_Tuple_Dimension_Dimensi template <> inline Ark_RuntimeType runtimeType(const Opt_Tuple_Dimension_Dimension& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_PixelMap* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -334,12 +335,12 @@ inline void WriteToString(std::string* result, const Opt_PixelMap* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_PixelMap& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LengthMetrics& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LengthMetrics* value) { @@ -358,7 +359,7 @@ inline void WriteToString(std::string* result, const Opt_LengthMetrics* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -369,12 +370,12 @@ inline void WriteToString(std::string* result, const Opt_LengthMetrics* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_LengthMetrics& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Padding& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Padding* value) { @@ -401,7 +402,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -412,12 +413,12 @@ inline void WriteToString(std::string* result, const Opt_Padding* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Padding& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ColoringStrategy& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ColoringStrategy value) { @@ -430,7 +431,7 @@ inline void WriteToString(std::string* result, const Opt_ColoringStrategy* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -441,7 +442,7 @@ inline void WriteToString(std::string* result, const Opt_ColoringStrategy* value template <> inline Ark_RuntimeType runtimeType(const Opt_ColoringStrategy& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_BorderRadiuses& value) @@ -475,7 +476,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_BorderR result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -486,7 +487,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_BorderR template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_BorderRadiuses& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ResourceColor& value) @@ -532,7 +533,7 @@ inline void WriteToString(std::string* result, const Opt_ResourceColor* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -543,12 +544,12 @@ inline void WriteToString(std::string* result, const Opt_ResourceColor* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ResourceColor& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LeadingMarginPlaceholder& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LeadingMarginPlaceholder* value) { @@ -567,7 +568,7 @@ inline void WriteToString(std::string* result, const Opt_LeadingMarginPlaceholde result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -578,7 +579,7 @@ inline void WriteToString(std::string* result, const Opt_LeadingMarginPlaceholde template <> inline Ark_RuntimeType runtimeType(const Opt_LeadingMarginPlaceholder& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_LengthMetrics_BorderRadiuses& value) @@ -612,7 +613,7 @@ inline void WriteToString(std::string* result, const Opt_Union_LengthMetrics_Bor result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -623,7 +624,7 @@ inline void WriteToString(std::string* result, const Opt_Union_LengthMetrics_Bor template <> inline Ark_RuntimeType runtimeType(const Opt_Union_LengthMetrics_BorderRadiuses& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_LengthMetrics_Padding& value) @@ -657,7 +658,7 @@ inline void WriteToString(std::string* result, const Opt_Union_LengthMetrics_Pad result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -668,7 +669,7 @@ inline void WriteToString(std::string* result, const Opt_Union_LengthMetrics_Pad template <> inline Ark_RuntimeType runtimeType(const Opt_Union_LengthMetrics_Padding& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_LengthMetrics_Margin& value) @@ -702,7 +703,7 @@ inline void WriteToString(std::string* result, const Opt_Union_LengthMetrics_Mar result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -713,12 +714,12 @@ inline void WriteToString(std::string* result, const Opt_Union_LengthMetrics_Mar template <> inline Ark_RuntimeType runtimeType(const Opt_Union_LengthMetrics_Margin& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FontWeight& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_FontWeight value) { @@ -731,7 +732,7 @@ inline void WriteToString(std::string* result, const Opt_FontWeight* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -742,14 +743,14 @@ inline void WriteToString(std::string* result, const Opt_FontWeight* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_FontWeight& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_ICurve* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -760,12 +761,12 @@ inline void WriteToString(std::string* result, const Opt_ICurve* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ICurve& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Curve& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_Curve value) { @@ -778,7 +779,7 @@ inline void WriteToString(std::string* result, const Opt_Curve* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -789,19 +790,19 @@ inline void WriteToString(std::string* result, const Opt_Curve* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Curve& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Boolean& value) { - return ARK_RUNTIME_BOOLEAN; + return INTEROP_RUNTIME_BOOLEAN; } template <> inline void WriteToString(std::string* result, const Opt_Boolean* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -812,7 +813,7 @@ inline void WriteToString(std::string* result, const Opt_Boolean* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Number_Resource& value) @@ -846,7 +847,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_Resource* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -857,7 +858,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_Resource* template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Number_Resource& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Color_String_Resource_ColoringStrategy& value) @@ -903,7 +904,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Color_String_Reso result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -914,12 +915,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Color_String_Reso template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Color_String_Resource_ColoringStrategy& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ShadowType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ShadowType value) { @@ -932,7 +933,7 @@ inline void WriteToString(std::string* result, const Opt_ShadowType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -943,12 +944,12 @@ inline void WriteToString(std::string* result, const Opt_ShadowType* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ShadowType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextBackgroundStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TextBackgroundStyle* value) { @@ -967,7 +968,7 @@ inline void WriteToString(std::string* result, const Opt_TextBackgroundStyle* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -978,7 +979,7 @@ inline void WriteToString(std::string* result, const Opt_TextBackgroundStyle* va template <> inline Ark_RuntimeType runtimeType(const Opt_TextBackgroundStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Number_LeadingMarginPlaceholder& value) @@ -1012,7 +1013,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_LeadingMar result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1023,12 +1024,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_LeadingMar template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Number_LeadingMarginPlaceholder& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_WordBreak& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_WordBreak value) { @@ -1041,7 +1042,7 @@ inline void WriteToString(std::string* result, const Opt_WordBreak* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1052,12 +1053,12 @@ inline void WriteToString(std::string* result, const Opt_WordBreak* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_WordBreak& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextOverflow& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_TextOverflow value) { @@ -1070,7 +1071,7 @@ inline void WriteToString(std::string* result, const Opt_TextOverflow* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1081,12 +1082,12 @@ inline void WriteToString(std::string* result, const Opt_TextOverflow* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_TextOverflow& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextAlign& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_TextAlign value) { @@ -1099,7 +1100,7 @@ inline void WriteToString(std::string* result, const Opt_TextAlign* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1110,12 +1111,12 @@ inline void WriteToString(std::string* result, const Opt_TextAlign* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_TextAlign& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ImageAttachmentLayoutStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ImageAttachmentLayoutStyle* value) { @@ -1138,7 +1139,7 @@ inline void WriteToString(std::string* result, const Opt_ImageAttachmentLayoutSt result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1149,12 +1150,12 @@ inline void WriteToString(std::string* result, const Opt_ImageAttachmentLayoutSt template <> inline Ark_RuntimeType runtimeType(const Opt_ImageAttachmentLayoutStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ImageFit& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ImageFit value) { @@ -1167,7 +1168,7 @@ inline void WriteToString(std::string* result, const Opt_ImageFit* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1178,12 +1179,12 @@ inline void WriteToString(std::string* result, const Opt_ImageFit* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ImageFit& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ImageSpanAlignment& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ImageSpanAlignment value) { @@ -1196,7 +1197,7 @@ inline void WriteToString(std::string* result, const Opt_ImageSpanAlignment* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1207,12 +1208,12 @@ inline void WriteToString(std::string* result, const Opt_ImageSpanAlignment* val template <> inline Ark_RuntimeType runtimeType(const Opt_ImageSpanAlignment& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SizeOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SizeOptions* value) { @@ -1231,7 +1232,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1242,12 +1243,12 @@ inline void WriteToString(std::string* result, const Opt_SizeOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SizeOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_ShadowOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -1270,7 +1271,7 @@ inline void WriteToString(std::string* result, const Opt_Array_ShadowOptions* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1281,12 +1282,12 @@ inline void WriteToString(std::string* result, const Opt_Array_ShadowOptions* va template <> inline Ark_RuntimeType runtimeType(const Opt_Array_ShadowOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextDecorationStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_TextDecorationStyle value) { @@ -1299,7 +1300,7 @@ inline void WriteToString(std::string* result, const Opt_TextDecorationStyle* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1310,12 +1311,12 @@ inline void WriteToString(std::string* result, const Opt_TextDecorationStyle* va template <> inline Ark_RuntimeType runtimeType(const Opt_TextDecorationStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextDecorationType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_TextDecorationType value) { @@ -1328,7 +1329,7 @@ inline void WriteToString(std::string* result, const Opt_TextDecorationType* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1339,12 +1340,12 @@ inline void WriteToString(std::string* result, const Opt_TextDecorationType* val template <> inline Ark_RuntimeType runtimeType(const Opt_TextDecorationType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FontStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_FontStyle value) { @@ -1357,7 +1358,7 @@ inline void WriteToString(std::string* result, const Opt_FontStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1368,12 +1369,12 @@ inline void WriteToString(std::string* result, const Opt_FontStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_FontStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Position& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Position* value) { @@ -1392,7 +1393,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1403,7 +1404,7 @@ inline void WriteToString(std::string* result, const Opt_Position* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Position& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_String_Resource& value) @@ -1437,7 +1438,7 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Resource* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1448,7 +1449,7 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Resource* template <> inline Ark_RuntimeType runtimeType(const Opt_Union_String_Resource& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_FontWeight_Number_String& value) @@ -1488,7 +1489,7 @@ inline void WriteToString(std::string* result, const Opt_Union_FontWeight_Number result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1499,7 +1500,7 @@ inline void WriteToString(std::string* result, const Opt_Union_FontWeight_Number template <> inline Ark_RuntimeType runtimeType(const Opt_Union_FontWeight_Number_String& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ResourceStr& value) @@ -1533,7 +1534,7 @@ inline void WriteToString(std::string* result, const Opt_ResourceStr* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1544,12 +1545,12 @@ inline void WriteToString(std::string* result, const Opt_ResourceStr* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ResourceStr& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SymbolGlyphModifier& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SymbolGlyphModifier* value) { @@ -1564,7 +1565,7 @@ inline void WriteToString(std::string* result, const Opt_SymbolGlyphModifier* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1575,7 +1576,7 @@ inline void WriteToString(std::string* result, const Opt_SymbolGlyphModifier* va template <> inline Ark_RuntimeType runtimeType(const Opt_SymbolGlyphModifier& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Curve_ICurve& value) @@ -1609,7 +1610,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Curve_ICurve* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1620,7 +1621,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Curve_ICurve* val template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Curve_ICurve& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_Margin& value) @@ -1654,7 +1655,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_Margin* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1665,12 +1666,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_Margin* template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_Margin& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ShadowOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ShadowOptions* value) { @@ -1705,7 +1706,7 @@ inline void WriteToString(std::string* result, const Opt_ShadowOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1716,12 +1717,12 @@ inline void WriteToString(std::string* result, const Opt_ShadowOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ShadowOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GridRowSizeOption& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_GridRowSizeOption* value) { @@ -1756,7 +1757,7 @@ inline void WriteToString(std::string* result, const Opt_GridRowSizeOption* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1767,12 +1768,12 @@ inline void WriteToString(std::string* result, const Opt_GridRowSizeOption* valu template <> inline Ark_RuntimeType runtimeType(const Opt_GridRowSizeOption& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BorderStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_BorderStyle value) { @@ -1785,7 +1786,7 @@ inline void WriteToString(std::string* result, const Opt_BorderStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1796,12 +1797,12 @@ inline void WriteToString(std::string* result, const Opt_BorderStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_BorderStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SheetSize& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SheetSize value) { @@ -1814,7 +1815,7 @@ inline void WriteToString(std::string* result, const Opt_SheetSize* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1825,12 +1826,12 @@ inline void WriteToString(std::string* result, const Opt_SheetSize* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SheetSize& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BackgroundColorStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_BackgroundColorStyle* value) { @@ -1845,7 +1846,7 @@ inline void WriteToString(std::string* result, const Opt_BackgroundColorStyle* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1856,12 +1857,12 @@ inline void WriteToString(std::string* result, const Opt_BackgroundColorStyle* v template <> inline Ark_RuntimeType runtimeType(const Opt_BackgroundColorStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_UserDataSpan& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_UserDataSpan* value) { @@ -1873,7 +1874,7 @@ inline void WriteToString(std::string* result, const Opt_UserDataSpan* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1884,14 +1885,14 @@ inline void WriteToString(std::string* result, const Opt_UserDataSpan* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_UserDataSpan& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_CustomSpan* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1902,12 +1903,12 @@ inline void WriteToString(std::string* result, const Opt_CustomSpan* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_CustomSpan& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_UrlStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_UrlStyle* value) { @@ -1922,7 +1923,7 @@ inline void WriteToString(std::string* result, const Opt_UrlStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1933,12 +1934,12 @@ inline void WriteToString(std::string* result, const Opt_UrlStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_UrlStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LineHeightStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LineHeightStyle* value) { @@ -1953,7 +1954,7 @@ inline void WriteToString(std::string* result, const Opt_LineHeightStyle* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -1964,12 +1965,12 @@ inline void WriteToString(std::string* result, const Opt_LineHeightStyle* value) template <> inline Ark_RuntimeType runtimeType(const Opt_LineHeightStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ParagraphStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ParagraphStyle* value) { @@ -2004,7 +2005,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2015,12 +2016,12 @@ inline void WriteToString(std::string* result, const Opt_ParagraphStyle* value) template <> inline Ark_RuntimeType runtimeType(const Opt_ParagraphStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ImageAttachment& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ImageAttachment* value) { @@ -2051,7 +2052,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2062,12 +2063,12 @@ inline void WriteToString(std::string* result, const Opt_ImageAttachment* value) template <> inline Ark_RuntimeType runtimeType(const Opt_ImageAttachment& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GestureStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_GestureStyle* value) { @@ -2079,7 +2080,7 @@ inline void WriteToString(std::string* result, const Opt_GestureStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2090,12 +2091,12 @@ inline void WriteToString(std::string* result, const Opt_GestureStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_GestureStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextShadowStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TextShadowStyle* value) { @@ -2110,7 +2111,7 @@ inline void WriteToString(std::string* result, const Opt_TextShadowStyle* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2121,12 +2122,12 @@ inline void WriteToString(std::string* result, const Opt_TextShadowStyle* value) template <> inline Ark_RuntimeType runtimeType(const Opt_TextShadowStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LetterSpacingStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LetterSpacingStyle* value) { @@ -2141,7 +2142,7 @@ inline void WriteToString(std::string* result, const Opt_LetterSpacingStyle* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2152,12 +2153,12 @@ inline void WriteToString(std::string* result, const Opt_LetterSpacingStyle* val template <> inline Ark_RuntimeType runtimeType(const Opt_LetterSpacingStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BaselineOffsetStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_BaselineOffsetStyle* value) { @@ -2172,7 +2173,7 @@ inline void WriteToString(std::string* result, const Opt_BaselineOffsetStyle* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2183,12 +2184,12 @@ inline void WriteToString(std::string* result, const Opt_BaselineOffsetStyle* va template <> inline Ark_RuntimeType runtimeType(const Opt_BaselineOffsetStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DecorationStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DecorationStyle* value) { @@ -2211,7 +2212,7 @@ inline void WriteToString(std::string* result, const Opt_DecorationStyle* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2222,12 +2223,12 @@ inline void WriteToString(std::string* result, const Opt_DecorationStyle* value) template <> inline Ark_RuntimeType runtimeType(const Opt_DecorationStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextStyle_styled_string& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TextStyle_styled_string* value) { @@ -2258,7 +2259,7 @@ inline void WriteToString(std::string* result, const Opt_TextStyle_styled_string result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2269,12 +2270,12 @@ inline void WriteToString(std::string* result, const Opt_TextStyle_styled_string template <> inline Ark_RuntimeType runtimeType(const Opt_TextStyle_styled_string& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Area& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Area* value) { @@ -2301,7 +2302,7 @@ inline void WriteToString(std::string* result, const Opt_Area* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2312,12 +2313,12 @@ inline void WriteToString(std::string* result, const Opt_Area* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Area& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ShadowStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ShadowStyle value) { @@ -2330,7 +2331,7 @@ inline void WriteToString(std::string* result, const Opt_ShadowStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2341,12 +2342,12 @@ inline void WriteToString(std::string* result, const Opt_ShadowStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ShadowStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Font& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Font* value) { @@ -2373,7 +2374,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2384,7 +2385,7 @@ inline void WriteToString(std::string* result, const Opt_Font* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Font& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Length_BorderRadiuses& value) @@ -2418,7 +2419,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Length_BorderRadi result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2429,7 +2430,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Length_BorderRadi template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Length_BorderRadiuses& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Resource_String& value) @@ -2463,7 +2464,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Resource_String* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2474,12 +2475,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Resource_String* template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Resource_String& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ButtonRole& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ButtonRole value) { @@ -2492,7 +2493,7 @@ inline void WriteToString(std::string* result, const Opt_ButtonRole* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2503,12 +2504,12 @@ inline void WriteToString(std::string* result, const Opt_ButtonRole* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ButtonRole& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ButtonStyleMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ButtonStyleMode value) { @@ -2521,7 +2522,7 @@ inline void WriteToString(std::string* result, const Opt_ButtonStyleMode* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2532,12 +2533,12 @@ inline void WriteToString(std::string* result, const Opt_ButtonStyleMode* value) template <> inline Ark_RuntimeType runtimeType(const Opt_ButtonStyleMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ButtonType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ButtonType value) { @@ -2550,7 +2551,7 @@ inline void WriteToString(std::string* result, const Opt_ButtonType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2561,12 +2562,12 @@ inline void WriteToString(std::string* result, const Opt_ButtonType* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ButtonType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_Number& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -2589,7 +2590,7 @@ inline void WriteToString(std::string* result, const Opt_Array_Number* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2600,12 +2601,12 @@ inline void WriteToString(std::string* result, const Opt_Array_Number* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Array_Number& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_TextCascadePickerRangeContent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -2628,7 +2629,7 @@ inline void WriteToString(std::string* result, const Opt_Array_TextCascadePicker result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2639,12 +2640,12 @@ inline void WriteToString(std::string* result, const Opt_Array_TextCascadePicker template <> inline Ark_RuntimeType runtimeType(const Opt_Array_TextCascadePickerRangeContent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_TextPickerRangeContent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -2667,7 +2668,7 @@ inline void WriteToString(std::string* result, const Opt_Array_TextPickerRangeCo result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2678,12 +2679,12 @@ inline void WriteToString(std::string* result, const Opt_Array_TextPickerRangeCo template <> inline Ark_RuntimeType runtimeType(const Opt_Array_TextPickerRangeContent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_Array_String& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -2706,7 +2707,7 @@ inline void WriteToString(std::string* result, const Opt_Array_Array_String* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2717,12 +2718,12 @@ inline void WriteToString(std::string* result, const Opt_Array_Array_String* val template <> inline Ark_RuntimeType runtimeType(const Opt_Array_Array_String& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LocalizedPadding& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LocalizedPadding* value) { @@ -2737,7 +2738,7 @@ inline void WriteToString(std::string* result, const Opt_LocalizedPadding* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2748,12 +2749,12 @@ inline void WriteToString(std::string* result, const Opt_LocalizedPadding* value template <> inline Ark_RuntimeType runtimeType(const Opt_LocalizedPadding& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextHeightAdaptivePolicy& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_TextHeightAdaptivePolicy value) { @@ -2766,7 +2767,7 @@ inline void WriteToString(std::string* result, const Opt_TextHeightAdaptivePolic result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2777,7 +2778,7 @@ inline void WriteToString(std::string* result, const Opt_TextHeightAdaptivePolic template <> inline Ark_RuntimeType runtimeType(const Opt_TextHeightAdaptivePolicy& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Number_ResourceStr& value) @@ -2811,7 +2812,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_ResourceSt result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2822,12 +2823,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_ResourceSt template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Number_ResourceStr& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TabBarSymbol& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TabBarSymbol* value) { @@ -2846,7 +2847,7 @@ inline void WriteToString(std::string* result, const Opt_TabBarSymbol* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2857,7 +2858,7 @@ inline void WriteToString(std::string* result, const Opt_TabBarSymbol* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_TabBarSymbol& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Padding_Dimension& value) @@ -2891,7 +2892,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Padding_Dimension result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2902,12 +2903,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Padding_Dimension template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Padding_Dimension& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ComponentContent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ComponentContent* value) { @@ -2922,7 +2923,7 @@ inline void WriteToString(std::string* result, const Opt_ComponentContent* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2933,12 +2934,12 @@ inline void WriteToString(std::string* result, const Opt_ComponentContent* value template <> inline Ark_RuntimeType runtimeType(const Opt_ComponentContent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Tuple_Number_Number& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Tuple_Number_Number* value) { @@ -2957,7 +2958,7 @@ inline void WriteToString(std::string* result, const Opt_Tuple_Number_Number* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -2968,12 +2969,12 @@ inline void WriteToString(std::string* result, const Opt_Tuple_Number_Number* va template <> inline Ark_RuntimeType runtimeType(const Opt_Tuple_Number_Number& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ScrollAnimationOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ScrollAnimationOptions* value) { @@ -2996,7 +2997,7 @@ inline void WriteToString(std::string* result, const Opt_ScrollAnimationOptions* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3007,12 +3008,12 @@ inline void WriteToString(std::string* result, const Opt_ScrollAnimationOptions* template <> inline Ark_RuntimeType runtimeType(const Opt_ScrollAnimationOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorLayoutStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorLayoutStyle* value) { @@ -3031,7 +3032,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorLayoutStyle* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3042,12 +3043,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorLayoutStyle* template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorLayoutStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LineBreakStrategy& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_LineBreakStrategy value) { @@ -3060,7 +3061,7 @@ inline void WriteToString(std::string* result, const Opt_LineBreakStrategy* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3071,7 +3072,7 @@ inline void WriteToString(std::string* result, const Opt_LineBreakStrategy* valu template <> inline Ark_RuntimeType runtimeType(const Opt_LineBreakStrategy& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_LeadingMarginPlaceholder& value) @@ -3105,7 +3106,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_Leading result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3116,12 +3117,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_Leading template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_LeadingMarginPlaceholder& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SymbolRenderingStrategy& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SymbolRenderingStrategy value) { @@ -3134,7 +3135,7 @@ inline void WriteToString(std::string* result, const Opt_SymbolRenderingStrategy result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3145,12 +3146,12 @@ inline void WriteToString(std::string* result, const Opt_SymbolRenderingStrategy template <> inline Ark_RuntimeType runtimeType(const Opt_SymbolRenderingStrategy& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SymbolEffectStrategy& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SymbolEffectStrategy value) { @@ -3163,7 +3164,7 @@ inline void WriteToString(std::string* result, const Opt_SymbolEffectStrategy* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3174,7 +3175,7 @@ inline void WriteToString(std::string* result, const Opt_SymbolEffectStrategy* v template <> inline Ark_RuntimeType runtimeType(const Opt_SymbolEffectStrategy& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Number_FontWeight_String& value) @@ -3214,7 +3215,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_FontWeight result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3225,12 +3226,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_FontWeight template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Number_FontWeight_String& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_ResourceColor& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -3253,7 +3254,7 @@ inline void WriteToString(std::string* result, const Opt_Array_ResourceColor* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3264,7 +3265,7 @@ inline void WriteToString(std::string* result, const Opt_Array_ResourceColor* va template <> inline Ark_RuntimeType runtimeType(const Opt_Array_ResourceColor& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Number_String_Resource& value) @@ -3304,7 +3305,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_String_Res result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3315,12 +3316,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_String_Res template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Number_String_Resource& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DecorationStyleResult& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DecorationStyleResult* value) { @@ -3343,7 +3344,7 @@ inline void WriteToString(std::string* result, const Opt_DecorationStyleResult* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3354,7 +3355,7 @@ inline void WriteToString(std::string* result, const Opt_DecorationStyleResult* template <> inline Ark_RuntimeType runtimeType(const Opt_DecorationStyleResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Number_String& value) @@ -3388,7 +3389,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_String* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3399,7 +3400,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_String* va template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Number_String& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ShadowOptions_Array_ShadowOptions& value) @@ -3433,7 +3434,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ShadowOptions_Arr result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3444,12 +3445,12 @@ inline void WriteToString(std::string* result, const Opt_Union_ShadowOptions_Arr template <> inline Ark_RuntimeType runtimeType(const Opt_Union_ShadowOptions_Array_ShadowOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DecorationStyleInterface& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DecorationStyleInterface* value) { @@ -3472,7 +3473,7 @@ inline void WriteToString(std::string* result, const Opt_DecorationStyleInterfac result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3483,7 +3484,7 @@ inline void WriteToString(std::string* result, const Opt_DecorationStyleInterfac template <> inline Ark_RuntimeType runtimeType(const Opt_DecorationStyleInterface& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Length_Number& value) @@ -3517,7 +3518,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Length_Number* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3528,12 +3529,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Length_Number* va template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Length_Number& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_GestureEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_GestureEvent_Void* value) { @@ -3548,7 +3549,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_GestureEvent_V result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3559,12 +3560,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_GestureEvent_V template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_GestureEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_ClickEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_ClickEvent_Void* value) { @@ -3579,7 +3580,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_ClickEvent_Voi result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3590,23 +3591,23 @@ inline void WriteToString(std::string* result, const Opt_Callback_ClickEvent_Voi template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_ClickEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Array_CustomObject& value) +inline Ark_RuntimeType runtimeType(const Array_Union_Number_String& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_CustomObject* value); +inline void WriteToString(std::string* result, const Ark_Union_Number_String* value); -inline void WriteToString(std::string* result, const Array_CustomObject* value) { +inline void WriteToString(std::string* result, const Array_Union_Number_String* value) { int32_t count = value->length; - result->append("{.array=allocArray({{"); + result->append("{.array=allocArray({{"); for (int i = 0; i < count; i++) { if (i > 0) result->append(", "); - WriteToString(result, (const Ark_CustomObject*)&value->array[i]); + WriteToString(result, (const Ark_Union_Number_String*)&value->array[i]); } result->append("}})"); result->append(", .length="); @@ -3614,11 +3615,11 @@ inline void WriteToString(std::string* result, const Array_CustomObject* value) result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Array_CustomObject* value) { +inline void WriteToString(std::string* result, const Opt_Array_Union_Number_String* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3627,14 +3628,14 @@ inline void WriteToString(std::string* result, const Opt_Array_CustomObject* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_CustomObject& value) +inline Ark_RuntimeType runtimeType(const Opt_Array_Union_Number_String& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_PopInfo_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_PopInfo_Void* value) { @@ -3649,7 +3650,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_PopInfo_Void* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3660,14 +3661,14 @@ inline void WriteToString(std::string* result, const Opt_Callback_PopInfo_Void* template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_PopInfo_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + 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))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3678,12 +3679,12 @@ inline void WriteToString(std::string* result, const Opt_CustomObject* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_CustomObject& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TitleHeight& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_TitleHeight value) { @@ -3696,7 +3697,7 @@ inline void WriteToString(std::string* result, const Opt_TitleHeight* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3707,12 +3708,12 @@ inline void WriteToString(std::string* result, const Opt_TitleHeight* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_TitleHeight& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_SwipeActionState_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_SwipeActionState_Void* value) { @@ -3727,7 +3728,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_SwipeActionSta result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3738,12 +3739,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_SwipeActionSta template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_SwipeActionState_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Void* value) { @@ -3758,7 +3759,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3769,12 +3770,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Void* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const CustomNodeBuilder& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const CustomNodeBuilder* value) { @@ -3789,7 +3790,7 @@ inline void WriteToString(std::string* result, const Opt_CustomNodeBuilder* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3800,7 +3801,7 @@ inline void WriteToString(std::string* result, const Opt_CustomNodeBuilder* valu template <> inline Ark_RuntimeType runtimeType(const Opt_CustomNodeBuilder& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Length_GridRowSizeOption& value) @@ -3834,7 +3835,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Length_GridRowSiz result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3845,12 +3846,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Length_GridRowSiz template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Length_GridRowSizeOption& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_Tuple_ResourceColor_Number& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -3873,7 +3874,7 @@ inline void WriteToString(std::string* result, const Opt_Array_Tuple_ResourceCol result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3884,12 +3885,12 @@ inline void WriteToString(std::string* result, const Opt_Array_Tuple_ResourceCol template <> inline Ark_RuntimeType runtimeType(const Opt_Array_Tuple_ResourceColor_Number& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GradientDirection& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_GradientDirection value) { @@ -3902,7 +3903,7 @@ inline void WriteToString(std::string* result, const Opt_GradientDirection* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3913,12 +3914,12 @@ inline void WriteToString(std::string* result, const Opt_GradientDirection* valu template <> inline Ark_RuntimeType runtimeType(const Opt_GradientDirection& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_EdgeStyles& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_EdgeStyles* value) { @@ -3945,7 +3946,7 @@ inline void WriteToString(std::string* result, const Opt_EdgeStyles* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3956,12 +3957,12 @@ inline void WriteToString(std::string* result, const Opt_EdgeStyles* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_EdgeStyles& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LocalizedEdgeColors& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LocalizedEdgeColors* value) { @@ -3988,7 +3989,7 @@ inline void WriteToString(std::string* result, const Opt_LocalizedEdgeColors* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -3999,12 +4000,12 @@ inline void WriteToString(std::string* result, const Opt_LocalizedEdgeColors* va template <> inline Ark_RuntimeType runtimeType(const Opt_LocalizedEdgeColors& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_EdgeColors& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_EdgeColors* value) { @@ -4031,7 +4032,7 @@ inline void WriteToString(std::string* result, const Opt_EdgeColors* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4042,12 +4043,12 @@ inline void WriteToString(std::string* result, const Opt_EdgeColors* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_EdgeColors& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LocalizedEdgeWidths& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LocalizedEdgeWidths* value) { @@ -4074,7 +4075,7 @@ inline void WriteToString(std::string* result, const Opt_LocalizedEdgeWidths* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4085,12 +4086,12 @@ inline void WriteToString(std::string* result, const Opt_LocalizedEdgeWidths* va template <> inline Ark_RuntimeType runtimeType(const Opt_LocalizedEdgeWidths& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_EdgeWidths& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_EdgeWidths* value) { @@ -4117,7 +4118,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4128,12 +4129,12 @@ inline void WriteToString(std::string* result, const Opt_EdgeWidths* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_EdgeWidths& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SheetTitleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SheetTitleOptions* value) { @@ -4152,7 +4153,7 @@ inline void WriteToString(std::string* result, const Opt_SheetTitleOptions* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4163,7 +4164,7 @@ inline void WriteToString(std::string* result, const Opt_SheetTitleOptions* valu template <> inline Ark_RuntimeType runtimeType(const Opt_SheetTitleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_SheetSize_Length& value) @@ -4197,7 +4198,7 @@ inline void WriteToString(std::string* result, const Opt_Union_SheetSize_Length* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4208,14 +4209,14 @@ inline void WriteToString(std::string* result, const Opt_Union_SheetSize_Length* template <> inline Ark_RuntimeType runtimeType(const Opt_Union_SheetSize_Length& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_TransitionEffect* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4226,12 +4227,12 @@ inline void WriteToString(std::string* result, const Opt_TransitionEffect* value template <> inline Ark_RuntimeType runtimeType(const Opt_TransitionEffect& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LocalizedBorderRadiuses& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LocalizedBorderRadiuses* value) { @@ -4258,7 +4259,7 @@ inline void WriteToString(std::string* result, const Opt_LocalizedBorderRadiuses result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4269,12 +4270,12 @@ inline void WriteToString(std::string* result, const Opt_LocalizedBorderRadiuses template <> inline Ark_RuntimeType runtimeType(const Opt_LocalizedBorderRadiuses& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_MenuPreviewMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_MenuPreviewMode value) { @@ -4287,7 +4288,7 @@ inline void WriteToString(std::string* result, const Opt_MenuPreviewMode* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4298,12 +4299,12 @@ inline void WriteToString(std::string* result, const Opt_MenuPreviewMode* value) template <> inline Ark_RuntimeType runtimeType(const Opt_MenuPreviewMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_DismissPopupAction_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_DismissPopupAction_Void* value) { @@ -4318,7 +4319,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_DismissPopupAc result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4329,12 +4330,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_DismissPopupAc template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_DismissPopupAction_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_ResourceColor_color& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_ResourceColor_color* value) { @@ -4349,7 +4350,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_ResourceColor_c result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4360,12 +4361,12 @@ inline void WriteToString(std::string* result, const Opt_Literal_ResourceColor_c template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_ResourceColor_color& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_DragPreviewMode& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -4388,7 +4389,7 @@ inline void WriteToString(std::string* result, const Opt_Array_DragPreviewMode* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4399,12 +4400,12 @@ inline void WriteToString(std::string* result, const Opt_Array_DragPreviewMode* template <> inline Ark_RuntimeType runtimeType(const Opt_Array_DragPreviewMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DragPreviewMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_DragPreviewMode value) { @@ -4417,7 +4418,7 @@ inline void WriteToString(std::string* result, const Opt_DragPreviewMode* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4428,12 +4429,12 @@ inline void WriteToString(std::string* result, const Opt_DragPreviewMode* value) template <> inline Ark_RuntimeType runtimeType(const Opt_DragPreviewMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OutlineStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_OutlineStyle value) { @@ -4446,7 +4447,7 @@ inline void WriteToString(std::string* result, const Opt_OutlineStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4457,14 +4458,14 @@ inline void WriteToString(std::string* result, const Opt_OutlineStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_OutlineStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_CanvasPattern* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4475,14 +4476,14 @@ inline void WriteToString(std::string* result, const Opt_CanvasPattern* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_CanvasPattern& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_CanvasGradient* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4493,12 +4494,12 @@ inline void WriteToString(std::string* result, const Opt_CanvasGradient* value) template <> inline Ark_RuntimeType runtimeType(const Opt_CanvasGradient& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const VoidCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const VoidCallback* value) { @@ -4513,7 +4514,7 @@ inline void WriteToString(std::string* result, const Opt_VoidCallback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4524,12 +4525,12 @@ inline void WriteToString(std::string* result, const Opt_VoidCallback* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_VoidCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DialogButtonStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_DialogButtonStyle value) { @@ -4542,7 +4543,7 @@ inline void WriteToString(std::string* result, const Opt_DialogButtonStyle* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4553,12 +4554,12 @@ inline void WriteToString(std::string* result, const Opt_DialogButtonStyle* valu template <> inline Ark_RuntimeType runtimeType(const Opt_DialogButtonStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Map_String_CustomObject& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_String* value); @@ -4581,7 +4582,7 @@ inline void WriteToString(std::string* result, const Opt_Map_String_CustomObject result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4592,12 +4593,12 @@ inline void WriteToString(std::string* result, const Opt_Map_String_CustomObject template <> inline Ark_RuntimeType runtimeType(const Opt_Map_String_CustomObject& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_NavigationTransitionProxy_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_NavigationTransitionProxy_Void* value) { @@ -4612,7 +4613,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_NavigationTran result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4623,12 +4624,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_NavigationTran template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_NavigationTransitionProxy_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Boolean_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Boolean_Void* value) { @@ -4643,7 +4644,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Boolean_Void* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4654,12 +4655,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Boolean_Void* template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Boolean_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NavDestinationMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_NavDestinationMode value) { @@ -4672,7 +4673,7 @@ inline void WriteToString(std::string* result, const Opt_NavDestinationMode* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4683,12 +4684,12 @@ inline void WriteToString(std::string* result, const Opt_NavDestinationMode* val template <> inline Ark_RuntimeType runtimeType(const Opt_NavDestinationMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ColorMetrics& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ColorMetrics* value) { @@ -4703,7 +4704,7 @@ inline void WriteToString(std::string* result, const Opt_ColorMetrics* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4714,7 +4715,7 @@ inline void WriteToString(std::string* result, const Opt_ColorMetrics* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ColorMetrics& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_StyledStringValue& value) @@ -4814,7 +4815,7 @@ inline void WriteToString(std::string* result, const Opt_StyledStringValue* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4825,12 +4826,12 @@ inline void WriteToString(std::string* result, const Opt_StyledStringValue* valu template <> inline Ark_RuntimeType runtimeType(const Opt_StyledStringValue& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_StyledStringKey& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_StyledStringKey value) { @@ -4843,7 +4844,7 @@ inline void WriteToString(std::string* result, const Opt_StyledStringKey* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4854,7 +4855,7 @@ inline void WriteToString(std::string* result, const Opt_StyledStringKey* value) template <> inline Ark_RuntimeType runtimeType(const Opt_StyledStringKey& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Margin_Dimension& value) @@ -4888,7 +4889,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Margin_Dimension* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4899,12 +4900,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Margin_Dimension* template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Margin_Dimension& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const GetItemMainSizeByIndex& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const GetItemMainSizeByIndex* value) { @@ -4919,7 +4920,7 @@ inline void WriteToString(std::string* result, const Opt_GetItemMainSizeByIndex* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4930,7 +4931,7 @@ inline void WriteToString(std::string* result, const Opt_GetItemMainSizeByIndex* template <> inline Ark_RuntimeType runtimeType(const Opt_GetItemMainSizeByIndex& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_String_PixelMap_Resource& value) @@ -4970,7 +4971,7 @@ inline void WriteToString(std::string* result, const Opt_Union_String_PixelMap_R result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4981,14 +4982,14 @@ inline void WriteToString(std::string* result, const Opt_Union_String_PixelMap_R template <> inline Ark_RuntimeType runtimeType(const Opt_Union_String_PixelMap_Resource& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_ImageAnalyzerController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -4999,12 +5000,12 @@ inline void WriteToString(std::string* result, const Opt_ImageAnalyzerController template <> inline Ark_RuntimeType runtimeType(const Opt_ImageAnalyzerController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_ImageAnalyzerType& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -5027,7 +5028,7 @@ inline void WriteToString(std::string* result, const Opt_Array_ImageAnalyzerType result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5038,12 +5039,12 @@ inline void WriteToString(std::string* result, const Opt_Array_ImageAnalyzerType template <> inline Ark_RuntimeType runtimeType(const Opt_Array_ImageAnalyzerType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_MenuType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_MenuType value) { @@ -5056,7 +5057,7 @@ inline void WriteToString(std::string* result, const Opt_MenuType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5067,12 +5068,12 @@ inline void WriteToString(std::string* result, const Opt_MenuType* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_MenuType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_TouchObject& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -5095,7 +5096,7 @@ inline void WriteToString(std::string* result, const Opt_Array_TouchObject* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5106,12 +5107,12 @@ inline void WriteToString(std::string* result, const Opt_Array_TouchObject* valu template <> inline Ark_RuntimeType runtimeType(const Opt_Array_TouchObject& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TouchType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_TouchType value) { @@ -5124,7 +5125,7 @@ inline void WriteToString(std::string* result, const Opt_TouchType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5135,12 +5136,12 @@ inline void WriteToString(std::string* result, const Opt_TouchType* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_TouchType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SourceTool& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SourceTool value) { @@ -5153,7 +5154,7 @@ inline void WriteToString(std::string* result, const Opt_SourceTool* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5164,12 +5165,12 @@ inline void WriteToString(std::string* result, const Opt_SourceTool* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SourceTool& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SourceType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SourceType value) { @@ -5182,7 +5183,7 @@ inline void WriteToString(std::string* result, const Opt_SourceType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5193,12 +5194,12 @@ inline void WriteToString(std::string* result, const Opt_SourceType* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SourceType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_EventTarget& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_EventTarget* value) { @@ -5213,7 +5214,7 @@ inline void WriteToString(std::string* result, const Opt_EventTarget* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5224,12 +5225,12 @@ inline void WriteToString(std::string* result, const Opt_EventTarget* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_EventTarget& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Map_String_String& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_String* value); @@ -5252,7 +5253,7 @@ inline void WriteToString(std::string* result, const Opt_Map_String_String* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5263,12 +5264,12 @@ inline void WriteToString(std::string* result, const Opt_Map_String_String* valu template <> inline Ark_RuntimeType runtimeType(const Opt_Map_String_String& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NestedScrollMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_NestedScrollMode value) { @@ -5281,7 +5282,7 @@ inline void WriteToString(std::string* result, const Opt_NestedScrollMode* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5292,14 +5293,14 @@ inline void WriteToString(std::string* result, const Opt_NestedScrollMode* value template <> inline Ark_RuntimeType runtimeType(const Opt_NestedScrollMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_WebResourceRequest* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5310,12 +5311,12 @@ inline void WriteToString(std::string* result, const Opt_WebResourceRequest* val template <> inline Ark_RuntimeType runtimeType(const Opt_WebResourceRequest& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_WebviewController& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_WebviewController* value) { @@ -5330,7 +5331,7 @@ inline void WriteToString(std::string* result, const Opt_WebviewController* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5341,14 +5342,14 @@ inline void WriteToString(std::string* result, const Opt_WebviewController* valu template <> inline Ark_RuntimeType runtimeType(const Opt_WebviewController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_WebController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5359,12 +5360,12 @@ inline void WriteToString(std::string* result, const Opt_WebController* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_WebController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_Header& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -5387,7 +5388,7 @@ inline void WriteToString(std::string* result, const Opt_Array_Header* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5398,12 +5399,12 @@ inline void WriteToString(std::string* result, const Opt_Array_Header* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Array_Header& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_String_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_String_Void* value) { @@ -5418,7 +5419,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_String_Void* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5429,12 +5430,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_String_Void* v template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_String_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_WebCaptureMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_WebCaptureMode value) { @@ -5447,7 +5448,7 @@ inline void WriteToString(std::string* result, const Opt_WebCaptureMode* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5458,12 +5459,12 @@ inline void WriteToString(std::string* result, const Opt_WebCaptureMode* value) template <> inline Ark_RuntimeType runtimeType(const Opt_WebCaptureMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PlaybackSpeed& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_PlaybackSpeed value) { @@ -5476,7 +5477,7 @@ inline void WriteToString(std::string* result, const Opt_PlaybackSpeed* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5487,12 +5488,12 @@ inline void WriteToString(std::string* result, const Opt_PlaybackSpeed* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_PlaybackSpeed& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_HoverModeAreaType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_HoverModeAreaType value) { @@ -5505,7 +5506,7 @@ inline void WriteToString(std::string* result, const Opt_HoverModeAreaType* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5516,12 +5517,12 @@ inline void WriteToString(std::string* result, const Opt_HoverModeAreaType* valu template <> inline Ark_RuntimeType runtimeType(const Opt_HoverModeAreaType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DateTimeOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DateTimeOptions* value) { @@ -5536,7 +5537,7 @@ inline void WriteToString(std::string* result, const Opt_DateTimeOptions* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5547,7 +5548,7 @@ inline void WriteToString(std::string* result, const Opt_DateTimeOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_DateTimeOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ShadowOptions_ShadowStyle& value) @@ -5581,7 +5582,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ShadowOptions_Sha result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5592,12 +5593,12 @@ inline void WriteToString(std::string* result, const Opt_Union_ShadowOptions_Sha template <> inline Ark_RuntimeType runtimeType(const Opt_Union_ShadowOptions_ShadowStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BlurStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_BlurStyle value) { @@ -5610,7 +5611,7 @@ inline void WriteToString(std::string* result, const Opt_BlurStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5621,12 +5622,12 @@ inline void WriteToString(std::string* result, const Opt_BlurStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_BlurStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_TimePickerResult_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_TimePickerResult_Void* value) { @@ -5641,7 +5642,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_TimePickerResu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5652,12 +5653,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_TimePickerResu template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_TimePickerResult_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Offset& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Offset* value) { @@ -5676,7 +5677,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5687,12 +5688,12 @@ inline void WriteToString(std::string* result, const Opt_Offset* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Offset& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DialogAlignment& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_DialogAlignment value) { @@ -5705,7 +5706,7 @@ inline void WriteToString(std::string* result, const Opt_DialogAlignment* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5716,12 +5717,12 @@ inline void WriteToString(std::string* result, const Opt_DialogAlignment* value) template <> inline Ark_RuntimeType runtimeType(const Opt_DialogAlignment& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Rectangle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Rectangle* value) { @@ -5748,7 +5749,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5759,12 +5760,12 @@ inline void WriteToString(std::string* result, const Opt_Rectangle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Rectangle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PickerTextStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PickerTextStyle* value) { @@ -5783,7 +5784,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5794,12 +5795,12 @@ inline void WriteToString(std::string* result, const Opt_PickerTextStyle* value) template <> inline Ark_RuntimeType runtimeType(const Opt_PickerTextStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PickerDialogButtonStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PickerDialogButtonStyle* value) { @@ -5854,7 +5855,7 @@ inline void WriteToString(std::string* result, const Opt_PickerDialogButtonStyle result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5865,12 +5866,12 @@ inline void WriteToString(std::string* result, const Opt_PickerDialogButtonStyle template <> inline Ark_RuntimeType runtimeType(const Opt_PickerDialogButtonStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TimePickerFormat& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_TimePickerFormat value) { @@ -5883,7 +5884,7 @@ inline void WriteToString(std::string* result, const Opt_TimePickerFormat* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5894,14 +5895,14 @@ inline void WriteToString(std::string* result, const Opt_TimePickerFormat* value template <> inline Ark_RuntimeType runtimeType(const Opt_TimePickerFormat& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_Date* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5912,12 +5913,12 @@ inline void WriteToString(std::string* result, const Opt_Date* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Date& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_TextPickerResult_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_TextPickerResult_Void* value) { @@ -5932,7 +5933,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_TextPickerResu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5943,7 +5944,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_TextPickerResu template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_TextPickerResult_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Number_Array_Number& value) @@ -5977,7 +5978,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_Array_Numb result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -5988,7 +5989,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_Array_Numb template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Number_Array_Number& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_String_Array_String& value) @@ -6022,7 +6023,7 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Array_Stri result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6033,7 +6034,7 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Array_Stri template <> inline Ark_RuntimeType runtimeType(const Opt_Union_String_Array_String& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Type_TextPickerOptions_range& value) @@ -6085,7 +6086,7 @@ inline void WriteToString(std::string* result, const Opt_Type_TextPickerOptions_ result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6096,12 +6097,12 @@ inline void WriteToString(std::string* result, const Opt_Type_TextPickerOptions_ template <> inline Ark_RuntimeType runtimeType(const Opt_Type_TextPickerOptions_range& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_MenuPolicy& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_MenuPolicy value) { @@ -6114,7 +6115,7 @@ inline void WriteToString(std::string* result, const Opt_MenuPolicy* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6125,14 +6126,14 @@ inline void WriteToString(std::string* result, const Opt_MenuPolicy* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_MenuPolicy& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_TextMenuItemId* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6143,12 +6144,12 @@ inline void WriteToString(std::string* result, const Opt_TextMenuItemId* value) template <> inline Ark_RuntimeType runtimeType(const Opt_TextMenuItemId& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const MenuOnAppearCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const MenuOnAppearCallback* value) { @@ -6163,7 +6164,7 @@ inline void WriteToString(std::string* result, const Opt_MenuOnAppearCallback* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6174,12 +6175,12 @@ inline void WriteToString(std::string* result, const Opt_MenuOnAppearCallback* v template <> inline Ark_RuntimeType runtimeType(const Opt_MenuOnAppearCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TabBarIconStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TabBarIconStyle* value) { @@ -6198,7 +6199,7 @@ inline void WriteToString(std::string* result, const Opt_TabBarIconStyle* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6209,12 +6210,12 @@ inline void WriteToString(std::string* result, const Opt_TabBarIconStyle* value) template <> inline Ark_RuntimeType runtimeType(const Opt_TabBarIconStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_VerticalAlign& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_VerticalAlign value) { @@ -6227,7 +6228,7 @@ inline void WriteToString(std::string* result, const Opt_VerticalAlign* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6238,12 +6239,12 @@ inline void WriteToString(std::string* result, const Opt_VerticalAlign* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_VerticalAlign& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LayoutMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_LayoutMode value) { @@ -6256,7 +6257,7 @@ inline void WriteToString(std::string* result, const Opt_LayoutMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6267,7 +6268,7 @@ inline void WriteToString(std::string* result, const Opt_LayoutMode* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_LayoutMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Padding_Dimension_LocalizedPadding& value) @@ -6307,7 +6308,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Padding_Dimension result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6318,12 +6319,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Padding_Dimension template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Padding_Dimension_LocalizedPadding& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LabelStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LabelStyle* value) { @@ -6358,7 +6359,7 @@ inline void WriteToString(std::string* result, const Opt_LabelStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6369,7 +6370,7 @@ inline void WriteToString(std::string* result, const Opt_LabelStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_LabelStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceStr_TabBarSymbol& value) @@ -6403,7 +6404,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceStr_TabBa result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6414,7 +6415,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceStr_TabBa template <> inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceStr_TabBarSymbol& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + 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) @@ -6448,7 +6449,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Union_Padding_Dim result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6459,12 +6460,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Union_Padding_Dim template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Union_Padding_Dimension_LocalizedPadding& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BoardStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_BoardStyle* value) { @@ -6479,7 +6480,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6490,12 +6491,12 @@ inline void WriteToString(std::string* result, const Opt_BoardStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_BoardStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SelectedMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SelectedMode value) { @@ -6508,7 +6509,7 @@ inline void WriteToString(std::string* result, const Opt_SelectedMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6519,12 +6520,12 @@ inline void WriteToString(std::string* result, const Opt_SelectedMode* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SelectedMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_IndicatorStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_IndicatorStyle* value) { @@ -6567,7 +6568,7 @@ inline void WriteToString(std::string* result, const Opt_IndicatorStyle* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6578,7 +6579,7 @@ inline void WriteToString(std::string* result, const Opt_IndicatorStyle* value) template <> inline Ark_RuntimeType runtimeType(const Opt_IndicatorStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_String_Resource_ComponentContent& value) @@ -6618,7 +6619,7 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Resource_C result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6629,12 +6630,12 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Resource_C template <> inline Ark_RuntimeType runtimeType(const Opt_Union_String_Resource_ComponentContent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BlurStyleActivePolicy& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_BlurStyleActivePolicy value) { @@ -6647,7 +6648,7 @@ inline void WriteToString(std::string* result, const Opt_BlurStyleActivePolicy* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6658,12 +6659,12 @@ inline void WriteToString(std::string* result, const Opt_BlurStyleActivePolicy* template <> inline Ark_RuntimeType runtimeType(const Opt_BlurStyleActivePolicy& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BlurOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_BlurOptions* value) { @@ -6678,7 +6679,7 @@ inline void WriteToString(std::string* result, const Opt_BlurOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6689,12 +6690,12 @@ inline void WriteToString(std::string* result, const Opt_BlurOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_BlurOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_AdaptiveColor& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_AdaptiveColor value) { @@ -6707,7 +6708,7 @@ inline void WriteToString(std::string* result, const Opt_AdaptiveColor* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6718,12 +6719,12 @@ inline void WriteToString(std::string* result, const Opt_AdaptiveColor* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_AdaptiveColor& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ThemeColorMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ThemeColorMode value) { @@ -6736,7 +6737,7 @@ inline void WriteToString(std::string* result, const Opt_ThemeColorMode* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6747,12 +6748,12 @@ inline void WriteToString(std::string* result, const Opt_ThemeColorMode* value) template <> inline Ark_RuntimeType runtimeType(const Opt_ThemeColorMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LayoutStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_LayoutStyle value) { @@ -6765,7 +6766,7 @@ inline void WriteToString(std::string* result, const Opt_LayoutStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6776,12 +6777,12 @@ inline void WriteToString(std::string* result, const Opt_LayoutStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_LayoutStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_TabContentTransitionProxy_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_TabContentTransitionProxy_Void* value) { @@ -6796,7 +6797,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_TabContentTran result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6807,7 +6808,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_TabContentTran template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_TabContentTransitionProxy_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_VP& value) @@ -6841,7 +6842,7 @@ inline void WriteToString(std::string* result, const Opt_VP* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6852,12 +6853,12 @@ inline void WriteToString(std::string* result, const Opt_VP* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_VP& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RectAttribute& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RectAttribute* value) { @@ -6869,7 +6870,7 @@ inline void WriteToString(std::string* result, const Opt_RectAttribute* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6880,12 +6881,12 @@ inline void WriteToString(std::string* result, const Opt_RectAttribute* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_RectAttribute& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PathAttribute& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PathAttribute* value) { @@ -6897,7 +6898,7 @@ inline void WriteToString(std::string* result, const Opt_PathAttribute* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6908,12 +6909,12 @@ inline void WriteToString(std::string* result, const Opt_PathAttribute* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_PathAttribute& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_EllipseAttribute& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_EllipseAttribute* value) { @@ -6925,7 +6926,7 @@ inline void WriteToString(std::string* result, const Opt_EllipseAttribute* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6936,12 +6937,12 @@ inline void WriteToString(std::string* result, const Opt_EllipseAttribute* value template <> inline Ark_RuntimeType runtimeType(const Opt_EllipseAttribute& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CircleAttribute& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CircleAttribute* value) { @@ -6953,7 +6954,7 @@ inline void WriteToString(std::string* result, const Opt_CircleAttribute* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6964,12 +6965,12 @@ inline void WriteToString(std::string* result, const Opt_CircleAttribute* value) template <> inline Ark_RuntimeType runtimeType(const Opt_CircleAttribute& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CancelButtonStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_CancelButtonStyle value) { @@ -6982,7 +6983,7 @@ inline void WriteToString(std::string* result, const Opt_CancelButtonStyle* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -6993,12 +6994,12 @@ inline void WriteToString(std::string* result, const Opt_CancelButtonStyle* valu template <> inline Ark_RuntimeType runtimeType(const Opt_CancelButtonStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_IconOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_IconOptions* value) { @@ -7021,7 +7022,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7032,12 +7033,12 @@ inline void WriteToString(std::string* result, const Opt_IconOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_IconOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_Length& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -7060,7 +7061,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7071,12 +7072,12 @@ inline void WriteToString(std::string* result, const Opt_Array_Length* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Array_Length& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Axis& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_Axis value) { @@ -7089,7 +7090,7 @@ inline void WriteToString(std::string* result, const Opt_Axis* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7100,7 +7101,7 @@ inline void WriteToString(std::string* result, const Opt_Axis* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Axis& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ScrollAnimationOptions_Boolean& value) @@ -7134,7 +7135,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ScrollAnimationOp result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7145,12 +7146,12 @@ inline void WriteToString(std::string* result, const Opt_Union_ScrollAnimationOp template <> inline Ark_RuntimeType runtimeType(const Opt_Union_ScrollAnimationOptions_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorImageSpanStyleResult& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorImageSpanStyleResult* value) { @@ -7177,7 +7178,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorImageSpanStyl result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7188,12 +7189,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorImageSpanStyl template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanStyleResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorSpanPosition& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorSpanPosition* value) { @@ -7212,7 +7213,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorSpanPosition* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7223,12 +7224,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorSpanPosition* template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorSpanPosition& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorParagraphStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorParagraphStyle* value) { @@ -7255,7 +7256,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorParagraphStyl result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7266,12 +7267,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorParagraphStyl template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorParagraphStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorSymbolSpanStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorSymbolSpanStyle* value) { @@ -7302,7 +7303,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorSymbolSpanSty result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7313,12 +7314,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorSymbolSpanSty template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorSymbolSpanStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextStyleResult& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorTextStyleResult* value) { @@ -7369,7 +7370,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorTextStyleResu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7380,12 +7381,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorTextStyleResu template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorTextStyleResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnDidChangeCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnDidChangeCallback* value) { @@ -7400,7 +7401,7 @@ inline void WriteToString(std::string* result, const Opt_OnDidChangeCallback* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7411,12 +7412,12 @@ inline void WriteToString(std::string* result, const Opt_OnDidChangeCallback* va template <> inline Ark_RuntimeType runtimeType(const Opt_OnDidChangeCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_StyledStringChangeValue_Boolean& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_StyledStringChangeValue_Boolean* value) { @@ -7431,7 +7432,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_StyledStringCh result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7442,12 +7443,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_StyledStringCh template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_StyledStringChangeValue_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorImageSpanStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorImageSpanStyle* value) { @@ -7474,7 +7475,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorImageSpanStyl result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7485,12 +7486,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorImageSpanStyl template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorTextStyle* value) { @@ -7541,7 +7542,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorTextStyle* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7552,12 +7553,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorTextStyle* va template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorTextStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorGesture& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorGesture* value) { @@ -7576,7 +7577,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorGesture* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7587,20 +7588,20 @@ inline void WriteToString(std::string* result, const Opt_RichEditorGesture* valu template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorGesture& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_Number_String_Array_Any& value) +inline Ark_RuntimeType runtimeType(const Ark_Union_Number_String_Array_Union_Number_String& value) { switch (value.selector) { case 0: return runtimeType(value.value0); case 1: return runtimeType(value.value1); case 2: return runtimeType(value.value2); - default: throw "Bad selector in Ark_Union_Number_String_Array_Any: " + std::to_string(value.selector); + default: throw "Bad selector in Ark_Union_Number_String_Array_Union_Number_String: " + std::to_string(value.selector); } } template <> -inline void WriteToString(std::string* result, const Ark_Union_Number_String_Array_Any* value) { +inline void WriteToString(std::string* result, const Ark_Union_Number_String_Array_Union_Number_String* value) { result->append("{"); result->append(".selector="); result->append(std::to_string(value->selector)); @@ -7615,7 +7616,7 @@ inline void WriteToString(std::string* result, const Ark_Union_Number_String_Arr result->append(".value1="); WriteToString(result, &value->value1); } - // Array_CustomObject + // Array_Union_Number_String if (value->selector == 2) { result->append(".value2="); WriteToString(result, &value->value2); @@ -7623,11 +7624,11 @@ inline void WriteToString(std::string* result, const Ark_Union_Number_String_Arr result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Union_Number_String_Array_Any* value) { +inline void WriteToString(std::string* result, const Opt_Union_Number_String_Array_Union_Number_String* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7636,14 +7637,14 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_String_Arr result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Union_Number_String_Array_Any& value) +inline Ark_RuntimeType runtimeType(const Opt_Union_Number_String_Array_Union_Number_String& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ProgressStatus& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ProgressStatus value) { @@ -7656,7 +7657,7 @@ inline void WriteToString(std::string* result, const Opt_ProgressStatus* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7667,7 +7668,7 @@ inline void WriteToString(std::string* result, const Opt_ProgressStatus* value) template <> inline Ark_RuntimeType runtimeType(const Opt_ProgressStatus& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_String_Number_Resource& value) @@ -7707,7 +7708,7 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Number_Res result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7718,14 +7719,14 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Number_Res template <> inline Ark_RuntimeType runtimeType(const Opt_Union_String_Number_Resource& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_NavPathStack* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7736,12 +7737,12 @@ inline void WriteToString(std::string* result, const Opt_NavPathStack* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_NavPathStack& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NavPathInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_NavPathInfo* value) { @@ -7768,7 +7769,7 @@ inline void WriteToString(std::string* result, const Opt_NavPathInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7779,12 +7780,12 @@ inline void WriteToString(std::string* result, const Opt_NavPathInfo* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_NavPathInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const InterceptionModeCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const InterceptionModeCallback* value) { @@ -7799,7 +7800,7 @@ inline void WriteToString(std::string* result, const Opt_InterceptionModeCallbac result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7810,12 +7811,12 @@ inline void WriteToString(std::string* result, const Opt_InterceptionModeCallbac template <> inline Ark_RuntimeType runtimeType(const Opt_InterceptionModeCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const InterceptionShowCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const InterceptionShowCallback* value) { @@ -7830,7 +7831,7 @@ inline void WriteToString(std::string* result, const Opt_InterceptionShowCallbac result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7841,12 +7842,12 @@ inline void WriteToString(std::string* result, const Opt_InterceptionShowCallbac template <> inline Ark_RuntimeType runtimeType(const Opt_InterceptionShowCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LaunchMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_LaunchMode value) { @@ -7859,7 +7860,7 @@ inline void WriteToString(std::string* result, const Opt_LaunchMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7870,12 +7871,12 @@ inline void WriteToString(std::string* result, const Opt_LaunchMode* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_LaunchMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BarStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_BarStyle value) { @@ -7888,7 +7889,7 @@ inline void WriteToString(std::string* result, const Opt_BarStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7899,12 +7900,12 @@ inline void WriteToString(std::string* result, const Opt_BarStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_BarStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextModifier& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TextModifier* value) { @@ -7916,7 +7917,7 @@ inline void WriteToString(std::string* result, const Opt_TextModifier* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7927,7 +7928,7 @@ inline void WriteToString(std::string* result, const Opt_TextModifier* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_TextModifier& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_TitleHeight_Length& value) @@ -7961,7 +7962,7 @@ inline void WriteToString(std::string* result, const Opt_Union_TitleHeight_Lengt result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -7972,12 +7973,12 @@ inline void WriteToString(std::string* result, const Opt_Union_TitleHeight_Lengt template <> inline Ark_RuntimeType runtimeType(const Opt_Union_TitleHeight_Length& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SwipeActionItem& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SwipeActionItem* value) { @@ -8012,7 +8013,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8023,12 +8024,12 @@ inline void WriteToString(std::string* result, const Opt_SwipeActionItem* value) template <> inline Ark_RuntimeType runtimeType(const Opt_SwipeActionItem& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BreakpointsReference& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_BreakpointsReference value) { @@ -8041,7 +8042,7 @@ inline void WriteToString(std::string* result, const Opt_BreakpointsReference* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8052,12 +8053,12 @@ inline void WriteToString(std::string* result, const Opt_BreakpointsReference* v template <> inline Ark_RuntimeType runtimeType(const Opt_BreakpointsReference& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GridRowColumnOption& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_GridRowColumnOption* value) { @@ -8092,7 +8093,7 @@ inline void WriteToString(std::string* result, const Opt_GridRowColumnOption* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8103,12 +8104,12 @@ inline void WriteToString(std::string* result, const Opt_GridRowColumnOption* va template <> inline Ark_RuntimeType runtimeType(const Opt_GridRowColumnOption& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GutterOption& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_GutterOption* value) { @@ -8127,7 +8128,7 @@ inline void WriteToString(std::string* result, const Opt_GutterOption* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8138,12 +8139,12 @@ inline void WriteToString(std::string* result, const Opt_GutterOption* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_GutterOption& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GridColColumnOption& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_GridColColumnOption* value) { @@ -8178,7 +8179,7 @@ inline void WriteToString(std::string* result, const Opt_GridColColumnOption* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8189,12 +8190,12 @@ inline void WriteToString(std::string* result, const Opt_GridColColumnOption* va template <> inline Ark_RuntimeType runtimeType(const Opt_GridColColumnOption& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LinearGradient_common& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LinearGradient_common* value) { @@ -8221,7 +8222,7 @@ inline void WriteToString(std::string* result, const Opt_LinearGradient_common* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8232,12 +8233,12 @@ inline void WriteToString(std::string* result, const Opt_LinearGradient_common* template <> inline Ark_RuntimeType runtimeType(const Opt_LinearGradient_common& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Date_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Date_Void* value) { @@ -8252,7 +8253,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Date_Void* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8263,12 +8264,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Date_Void* val template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Date_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_DatePickerResult_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_DatePickerResult_Void* value) { @@ -8283,7 +8284,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_DatePickerResu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8294,12 +8295,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_DatePickerResu template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_DatePickerResult_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LunarSwitchStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LunarSwitchStyle* value) { @@ -8322,7 +8323,7 @@ inline void WriteToString(std::string* result, const Opt_LunarSwitchStyle* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8333,12 +8334,12 @@ inline void WriteToString(std::string* result, const Opt_LunarSwitchStyle* value template <> inline Ark_RuntimeType runtimeType(const Opt_LunarSwitchStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ExpectedFrameRateRange& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ExpectedFrameRateRange* value) { @@ -8361,7 +8362,7 @@ inline void WriteToString(std::string* result, const Opt_ExpectedFrameRateRange* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8372,12 +8373,12 @@ inline void WriteToString(std::string* result, const Opt_ExpectedFrameRateRange* template <> inline Ark_RuntimeType runtimeType(const Opt_ExpectedFrameRateRange& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FinishCallbackType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_FinishCallbackType value) { @@ -8390,7 +8391,7 @@ inline void WriteToString(std::string* result, const Opt_FinishCallbackType* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8401,12 +8402,12 @@ inline void WriteToString(std::string* result, const Opt_FinishCallbackType* val template <> inline Ark_RuntimeType runtimeType(const Opt_FinishCallbackType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PlayMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_PlayMode value) { @@ -8419,7 +8420,7 @@ inline void WriteToString(std::string* result, const Opt_PlayMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8430,7 +8431,7 @@ inline void WriteToString(std::string* result, const Opt_PlayMode* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_PlayMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Curve_String_ICurve& value) @@ -8470,7 +8471,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Curve_String_ICur result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8481,12 +8482,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Curve_String_ICur template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Curve_String_ICurve& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Scene& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Scene* value) { @@ -8501,7 +8502,7 @@ inline void WriteToString(std::string* result, const Opt_Scene* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8512,12 +8513,12 @@ inline void WriteToString(std::string* result, const Opt_Scene* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Scene& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SheetKeyboardAvoidMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SheetKeyboardAvoidMode value) { @@ -8530,7 +8531,7 @@ inline void WriteToString(std::string* result, const Opt_SheetKeyboardAvoidMode* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8541,12 +8542,12 @@ inline void WriteToString(std::string* result, const Opt_SheetKeyboardAvoidMode* template <> inline Ark_RuntimeType runtimeType(const Opt_SheetKeyboardAvoidMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_UIContext& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_UIContext* value) { @@ -8561,7 +8562,7 @@ inline void WriteToString(std::string* result, const Opt_UIContext* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8572,12 +8573,12 @@ inline void WriteToString(std::string* result, const Opt_UIContext* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_UIContext& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_SheetType_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_SheetType_Void* value) { @@ -8592,7 +8593,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_SheetType_Void result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8603,12 +8604,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_SheetType_Void template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_SheetType_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Number_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Number_Void* value) { @@ -8623,7 +8624,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_Void* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8634,12 +8635,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_Void* v template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ScrollSizeMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ScrollSizeMode value) { @@ -8652,7 +8653,7 @@ inline void WriteToString(std::string* result, const Opt_ScrollSizeMode* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8663,12 +8664,12 @@ inline void WriteToString(std::string* result, const Opt_ScrollSizeMode* value) template <> inline Ark_RuntimeType runtimeType(const Opt_ScrollSizeMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SheetMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SheetMode value) { @@ -8681,7 +8682,7 @@ inline void WriteToString(std::string* result, const Opt_SheetMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8692,7 +8693,7 @@ inline void WriteToString(std::string* result, const Opt_SheetMode* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SheetMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_BorderStyle_EdgeStyles& value) @@ -8726,7 +8727,7 @@ inline void WriteToString(std::string* result, const Opt_Union_BorderStyle_EdgeS result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8737,7 +8738,7 @@ inline void WriteToString(std::string* result, const Opt_Union_BorderStyle_EdgeS template <> inline Ark_RuntimeType runtimeType(const Opt_Union_BorderStyle_EdgeStyles& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors& value) @@ -8777,7 +8778,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_Edg result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8788,7 +8789,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_Edg template <> inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceColor_EdgeColors_LocalizedEdgeColors& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_EdgeWidths_LocalizedEdgeWidths& value) @@ -8828,7 +8829,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_EdgeWid result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8839,12 +8840,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_EdgeWid template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_SpringBackAction_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_SpringBackAction_Void* value) { @@ -8859,7 +8860,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_SpringBackActi result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8870,12 +8871,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_SpringBackActi template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_SpringBackAction_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_DismissSheetAction_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_DismissSheetAction_Void* value) { @@ -8890,7 +8891,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_DismissSheetAc result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8901,12 +8902,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_DismissSheetAc template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_DismissSheetAction_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_SheetDismiss_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_SheetDismiss_Void* value) { @@ -8921,7 +8922,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_SheetDismiss_V result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8932,7 +8933,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_SheetDismiss_V template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_SheetDismiss_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_SheetTitleOptions_CustomBuilder& value) @@ -8966,7 +8967,7 @@ inline void WriteToString(std::string* result, const Opt_Union_SheetTitleOptions result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -8977,12 +8978,12 @@ inline void WriteToString(std::string* result, const Opt_Union_SheetTitleOptions template <> inline Ark_RuntimeType runtimeType(const Opt_Union_SheetTitleOptions_CustomBuilder& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SheetType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SheetType value) { @@ -8995,7 +8996,7 @@ inline void WriteToString(std::string* result, const Opt_SheetType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9006,7 +9007,7 @@ inline void WriteToString(std::string* result, const Opt_SheetType* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SheetType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Boolean_Resource& value) @@ -9040,7 +9041,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Boolean_Resource* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9051,12 +9052,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Boolean_Resource* template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_Resource& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Type_SheetOptions_detents& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Type_SheetOptions_detents* value) { @@ -9079,7 +9080,7 @@ inline void WriteToString(std::string* result, const Opt_Type_SheetOptions_deten result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9090,12 +9091,12 @@ inline void WriteToString(std::string* result, const Opt_Type_SheetOptions_deten template <> inline Ark_RuntimeType runtimeType(const Opt_Type_SheetOptions_detents& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_DismissContentCoverAction_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_DismissContentCoverAction_Void* value) { @@ -9110,7 +9111,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_DismissContent result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9121,12 +9122,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_DismissContent template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_DismissContentCoverAction_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ModalTransition& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ModalTransition value) { @@ -9139,7 +9140,7 @@ inline void WriteToString(std::string* result, const Opt_ModalTransition* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9150,12 +9151,12 @@ inline void WriteToString(std::string* result, const Opt_ModalTransition* value) template <> inline Ark_RuntimeType runtimeType(const Opt_ModalTransition& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ContextMenuAnimationOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ContextMenuAnimationOptions* value) { @@ -9178,7 +9179,7 @@ inline void WriteToString(std::string* result, const Opt_ContextMenuAnimationOpt result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9189,7 +9190,7 @@ inline void WriteToString(std::string* result, const Opt_ContextMenuAnimationOpt template <> inline Ark_RuntimeType runtimeType(const Opt_ContextMenuAnimationOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Length_BorderRadiuses_LocalizedBorderRadiuses& value) @@ -9229,7 +9230,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Length_BorderRadi result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9240,7 +9241,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Length_BorderRadi template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_MenuPreviewMode_CustomBuilder& value) @@ -9274,7 +9275,7 @@ inline void WriteToString(std::string* result, const Opt_Union_MenuPreviewMode_C result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9285,12 +9286,12 @@ inline void WriteToString(std::string* result, const Opt_Union_MenuPreviewMode_C template <> inline Ark_RuntimeType runtimeType(const Opt_Union_MenuPreviewMode_CustomBuilder& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Placement& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_Placement value) { @@ -9303,7 +9304,7 @@ inline void WriteToString(std::string* result, const Opt_Placement* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9314,7 +9315,7 @@ inline void WriteToString(std::string* result, const Opt_Placement* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Placement& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Boolean_Callback_DismissPopupAction_Void& value) @@ -9348,7 +9349,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Boolean_Callback_ result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9359,12 +9360,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Boolean_Callback_ template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_Callback_DismissPopupAction_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ArrowPointPosition& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ArrowPointPosition value) { @@ -9377,7 +9378,7 @@ inline void WriteToString(std::string* result, const Opt_ArrowPointPosition* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9388,7 +9389,7 @@ inline void WriteToString(std::string* result, const Opt_ArrowPointPosition* val template <> inline Ark_RuntimeType runtimeType(const Opt_ArrowPointPosition& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + 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) @@ -9422,7 +9423,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Boolean_Literal_R result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9433,12 +9434,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Boolean_Literal_R template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_Literal_ResourceColor_color& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Literal_Boolean_isVisible_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Literal_Boolean_isVisible_Void* value) { @@ -9453,7 +9454,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Literal_Boolea result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9464,7 +9465,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Literal_Boolea template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Literal_Boolean_isVisible_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Color_String_Resource_Number& value) @@ -9510,7 +9511,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Color_String_Reso result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9521,12 +9522,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Color_String_Reso template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Color_String_Resource_Number& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PopupMessageOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PopupMessageOptions* value) { @@ -9545,7 +9546,7 @@ inline void WriteToString(std::string* result, const Opt_PopupMessageOptions* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9556,12 +9557,12 @@ inline void WriteToString(std::string* result, const Opt_PopupMessageOptions* va template <> inline Ark_RuntimeType runtimeType(const Opt_PopupMessageOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_String_value_Callback_Void_action& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_String_value_Callback_Void_action* value) { @@ -9580,7 +9581,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_String_value_Ca result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9591,12 +9592,12 @@ inline void WriteToString(std::string* result, const Opt_Literal_String_value_Ca template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_String_value_Callback_Void_action& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TransitionHierarchyStrategy& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_TransitionHierarchyStrategy value) { @@ -9609,7 +9610,7 @@ inline void WriteToString(std::string* result, const Opt_TransitionHierarchyStra result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9620,12 +9621,12 @@ inline void WriteToString(std::string* result, const Opt_TransitionHierarchyStra template <> inline Ark_RuntimeType runtimeType(const Opt_TransitionHierarchyStrategy& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OverlayOffset& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OverlayOffset* value) { @@ -9644,7 +9645,7 @@ inline void WriteToString(std::string* result, const Opt_OverlayOffset* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9655,12 +9656,12 @@ inline void WriteToString(std::string* result, const Opt_OverlayOffset* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_OverlayOffset& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Alignment& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_Alignment value) { @@ -9673,7 +9674,7 @@ inline void WriteToString(std::string* result, const Opt_Alignment* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9684,7 +9685,7 @@ inline void WriteToString(std::string* result, const Opt_Alignment* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Alignment& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Boolean_Number& value) @@ -9718,7 +9719,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Boolean_Number* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9729,12 +9730,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Boolean_Number* v template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_Number& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ImageModifier& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ImageModifier* value) { @@ -9749,7 +9750,7 @@ inline void WriteToString(std::string* result, const Opt_ImageModifier* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9760,7 +9761,7 @@ inline void WriteToString(std::string* result, const Opt_ImageModifier* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ImageModifier& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_DragPreviewMode_Array_DragPreviewMode& value) @@ -9794,7 +9795,7 @@ inline void WriteToString(std::string* result, const Opt_Union_DragPreviewMode_A result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9805,12 +9806,12 @@ inline void WriteToString(std::string* result, const Opt_Union_DragPreviewMode_A template <> inline Ark_RuntimeType runtimeType(const Opt_Union_DragPreviewMode_Array_DragPreviewMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SharedTransitionEffectType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SharedTransitionEffectType value) { @@ -9823,7 +9824,7 @@ inline void WriteToString(std::string* result, const Opt_SharedTransitionEffectT result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9834,12 +9835,12 @@ inline void WriteToString(std::string* result, const Opt_SharedTransitionEffectT template <> inline Ark_RuntimeType runtimeType(const Opt_SharedTransitionEffectType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_MotionPathOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_MotionPathOptions* value) { @@ -9866,7 +9867,7 @@ inline void WriteToString(std::string* result, const Opt_MotionPathOptions* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9877,12 +9878,12 @@ inline void WriteToString(std::string* result, const Opt_MotionPathOptions* valu template <> inline Ark_RuntimeType runtimeType(const Opt_MotionPathOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_FractionStop& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -9905,7 +9906,7 @@ inline void WriteToString(std::string* result, const Opt_Array_FractionStop* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9916,12 +9917,12 @@ inline void WriteToString(std::string* result, const Opt_Array_FractionStop* val template <> inline Ark_RuntimeType runtimeType(const Opt_Array_FractionStop& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ClickEffectLevel& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ClickEffectLevel value) { @@ -9934,7 +9935,7 @@ inline void WriteToString(std::string* result, const Opt_ClickEffectLevel* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9945,12 +9946,12 @@ inline void WriteToString(std::string* result, const Opt_ClickEffectLevel* value template <> inline Ark_RuntimeType runtimeType(const Opt_ClickEffectLevel& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_HorizontalAlign& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_HorizontalAlign value) { @@ -9963,7 +9964,7 @@ inline void WriteToString(std::string* result, const Opt_HorizontalAlign* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -9974,12 +9975,12 @@ inline void WriteToString(std::string* result, const Opt_HorizontalAlign* value) template <> inline Ark_RuntimeType runtimeType(const Opt_HorizontalAlign& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_Number_offset_span& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_Number_offset_span* value) { @@ -9998,7 +9999,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_Number_offset_s result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10009,12 +10010,12 @@ inline void WriteToString(std::string* result, const Opt_Literal_Number_offset_s template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_offset_span& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RotateOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RotateOptions* value) { @@ -10057,7 +10058,7 @@ inline void WriteToString(std::string* result, const Opt_RotateOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10068,12 +10069,12 @@ inline void WriteToString(std::string* result, const Opt_RotateOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_RotateOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ScaleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ScaleOptions* value) { @@ -10104,7 +10105,7 @@ inline void WriteToString(std::string* result, const Opt_ScaleOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10115,12 +10116,12 @@ inline void WriteToString(std::string* result, const Opt_ScaleOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ScaleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TranslateOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TranslateOptions* value) { @@ -10143,7 +10144,7 @@ inline void WriteToString(std::string* result, const Opt_TranslateOptions* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10154,12 +10155,12 @@ inline void WriteToString(std::string* result, const Opt_TranslateOptions* value template <> inline Ark_RuntimeType runtimeType(const Opt_TranslateOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TransitionType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_TransitionType value) { @@ -10172,7 +10173,7 @@ inline void WriteToString(std::string* result, const Opt_TransitionType* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10183,12 +10184,12 @@ inline void WriteToString(std::string* result, const Opt_TransitionType* value) template <> inline Ark_RuntimeType runtimeType(const Opt_TransitionType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_EdgeOutlineStyles& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_EdgeOutlineStyles* value) { @@ -10215,7 +10216,7 @@ inline void WriteToString(std::string* result, const Opt_EdgeOutlineStyles* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10226,12 +10227,12 @@ inline void WriteToString(std::string* result, const Opt_EdgeOutlineStyles* valu template <> inline Ark_RuntimeType runtimeType(const Opt_EdgeOutlineStyles& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OutlineRadiuses& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OutlineRadiuses* value) { @@ -10258,7 +10259,7 @@ inline void WriteToString(std::string* result, const Opt_OutlineRadiuses* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10269,12 +10270,12 @@ inline void WriteToString(std::string* result, const Opt_OutlineRadiuses* value) template <> inline Ark_RuntimeType runtimeType(const Opt_OutlineRadiuses& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_EdgeOutlineWidths& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_EdgeOutlineWidths* value) { @@ -10301,7 +10302,7 @@ inline void WriteToString(std::string* result, const Opt_EdgeOutlineWidths* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10312,14 +10313,14 @@ inline void WriteToString(std::string* result, const Opt_EdgeOutlineWidths* valu template <> inline Ark_RuntimeType runtimeType(const Opt_EdgeOutlineWidths& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_DrawingCanvas* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10330,12 +10331,12 @@ inline void WriteToString(std::string* result, const Opt_DrawingCanvas* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_DrawingCanvas& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Size& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Size* value) { @@ -10354,7 +10355,7 @@ inline void WriteToString(std::string* result, const Opt_Size* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10365,14 +10366,14 @@ inline void WriteToString(std::string* result, const Opt_Size* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Size& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_FrameNode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10383,7 +10384,7 @@ inline void WriteToString(std::string* result, const Opt_FrameNode* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_FrameNode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_String_Number_CanvasGradient_CanvasPattern& value) @@ -10429,7 +10430,7 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Number_Can result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10440,19 +10441,19 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Number_Can template <> inline Ark_RuntimeType runtimeType(const Opt_Union_String_Number_CanvasGradient_CanvasPattern& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Buffer& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Opt_Buffer* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10463,12 +10464,12 @@ inline void WriteToString(std::string* result, const Opt_Buffer* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Buffer& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_CalendarDay& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -10491,7 +10492,7 @@ inline void WriteToString(std::string* result, const Opt_Array_CalendarDay* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10502,12 +10503,12 @@ inline void WriteToString(std::string* result, const Opt_Array_CalendarDay* valu template <> inline Ark_RuntimeType runtimeType(const Opt_Array_CalendarDay& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BadgePosition& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_BadgePosition value) { @@ -10520,7 +10521,7 @@ inline void WriteToString(std::string* result, const Opt_BadgePosition* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10531,12 +10532,12 @@ inline void WriteToString(std::string* result, const Opt_BadgePosition* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_BadgePosition& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DialogButtonDirection& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_DialogButtonDirection value) { @@ -10549,7 +10550,7 @@ inline void WriteToString(std::string* result, const Opt_DialogButtonDirection* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10560,12 +10561,12 @@ inline void WriteToString(std::string* result, const Opt_DialogButtonDirection* template <> inline Ark_RuntimeType runtimeType(const Opt_DialogButtonDirection& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_AlertDialogButtonOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -10588,7 +10589,7 @@ inline void WriteToString(std::string* result, const Opt_Array_AlertDialogButton result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10599,12 +10600,12 @@ inline void WriteToString(std::string* result, const Opt_Array_AlertDialogButton template <> inline Ark_RuntimeType runtimeType(const Opt_Array_AlertDialogButtonOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextStyle_alert_dialog& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TextStyle_alert_dialog* value) { @@ -10619,7 +10620,7 @@ inline void WriteToString(std::string* result, const Opt_TextStyle_alert_dialog* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10630,7 +10631,7 @@ inline void WriteToString(std::string* result, const Opt_TextStyle_alert_dialog* template <> inline Ark_RuntimeType runtimeType(const Opt_TextStyle_alert_dialog& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses& value) @@ -10670,7 +10671,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_BorderR result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10681,12 +10682,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_BorderR template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_DismissDialogAction_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_DismissDialogAction_Void* value) { @@ -10701,7 +10702,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_DismissDialogA result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10712,12 +10713,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_DismissDialogA template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_DismissDialogAction_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_AlertDialogButtonBaseOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_AlertDialogButtonBaseOptions* value) { @@ -10756,7 +10757,7 @@ inline void WriteToString(std::string* result, const Opt_AlertDialogButtonBaseOp result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10767,12 +10768,12 @@ inline void WriteToString(std::string* result, const Opt_AlertDialogButtonBaseOp template <> inline Ark_RuntimeType runtimeType(const Opt_AlertDialogButtonBaseOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ActionSheetOffset& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ActionSheetOffset* value) { @@ -10791,7 +10792,7 @@ inline void WriteToString(std::string* result, const Opt_ActionSheetOffset* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10802,12 +10803,12 @@ inline void WriteToString(std::string* result, const Opt_ActionSheetOffset* valu template <> inline Ark_RuntimeType runtimeType(const Opt_ActionSheetOffset& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_SheetInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -10830,7 +10831,7 @@ inline void WriteToString(std::string* result, const Opt_Array_SheetInfo* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10841,12 +10842,12 @@ inline void WriteToString(std::string* result, const Opt_Array_SheetInfo* value) template <> inline Ark_RuntimeType runtimeType(const Opt_Array_SheetInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ActionSheetButtonOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ActionSheetButtonOptions* value) { @@ -10877,7 +10878,7 @@ inline void WriteToString(std::string* result, const Opt_ActionSheetButtonOption result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10888,12 +10889,12 @@ inline void WriteToString(std::string* result, const Opt_ActionSheetButtonOption template <> inline Ark_RuntimeType runtimeType(const Opt_ActionSheetButtonOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CustomTheme& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CustomTheme* value) { @@ -10908,7 +10909,7 @@ inline void WriteToString(std::string* result, const Opt_CustomTheme* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10919,12 +10920,12 @@ inline void WriteToString(std::string* result, const Opt_CustomTheme* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_CustomTheme& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RestrictedWorker& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RestrictedWorker* value) { @@ -10939,7 +10940,7 @@ inline void WriteToString(std::string* result, const Opt_RestrictedWorker* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -10950,12 +10951,12 @@ inline void WriteToString(std::string* result, const Opt_RestrictedWorker* value template <> inline Ark_RuntimeType runtimeType(const Opt_RestrictedWorker& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Want& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Want* value) { @@ -11006,7 +11007,7 @@ inline void WriteToString(std::string* result, const Opt_Want* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11017,14 +11018,14 @@ inline void WriteToString(std::string* result, const Opt_Want* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Want& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_StyledString* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11035,12 +11036,12 @@ inline void WriteToString(std::string* result, const Opt_StyledString* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_StyledString& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NavigationAnimatedTransition& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_NavigationAnimatedTransition* value) { @@ -11067,7 +11068,7 @@ inline void WriteToString(std::string* result, const Opt_NavigationAnimatedTrans result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11078,12 +11079,12 @@ inline void WriteToString(std::string* result, const Opt_NavigationAnimatedTrans template <> inline Ark_RuntimeType runtimeType(const Opt_NavigationAnimatedTransition& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NavContentInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_NavContentInfo* value) { @@ -11114,7 +11115,7 @@ inline void WriteToString(std::string* result, const Opt_NavContentInfo* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11125,12 +11126,12 @@ inline void WriteToString(std::string* result, const Opt_NavContentInfo* value) template <> inline Ark_RuntimeType runtimeType(const Opt_NavContentInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnLinearIndicatorChangeCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnLinearIndicatorChangeCallback* value) { @@ -11145,7 +11146,7 @@ inline void WriteToString(std::string* result, const Opt_OnLinearIndicatorChange result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11156,12 +11157,12 @@ inline void WriteToString(std::string* result, const Opt_OnLinearIndicatorChange template <> inline Ark_RuntimeType runtimeType(const Opt_OnLinearIndicatorChangeCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LinearIndicatorStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LinearIndicatorStyle* value) { @@ -11192,7 +11193,7 @@ inline void WriteToString(std::string* result, const Opt_LinearIndicatorStyle* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11203,12 +11204,12 @@ inline void WriteToString(std::string* result, const Opt_LinearIndicatorStyle* v template <> inline Ark_RuntimeType runtimeType(const Opt_LinearIndicatorStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LinearIndicatorStartOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LinearIndicatorStartOptions* value) { @@ -11227,7 +11228,7 @@ inline void WriteToString(std::string* result, const Opt_LinearIndicatorStartOpt result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11238,12 +11239,12 @@ inline void WriteToString(std::string* result, const Opt_LinearIndicatorStartOpt template <> inline Ark_RuntimeType runtimeType(const Opt_LinearIndicatorStartOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CustomSpanDrawInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CustomSpanDrawInfo* value) { @@ -11270,7 +11271,7 @@ inline void WriteToString(std::string* result, const Opt_CustomSpanDrawInfo* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11281,12 +11282,12 @@ inline void WriteToString(std::string* result, const Opt_CustomSpanDrawInfo* val template <> inline Ark_RuntimeType runtimeType(const Opt_CustomSpanDrawInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DrawContext& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DrawContext* value) { @@ -11301,7 +11302,7 @@ inline void WriteToString(std::string* result, const Opt_DrawContext* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11312,12 +11313,12 @@ inline void WriteToString(std::string* result, const Opt_DrawContext* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_DrawContext& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CustomSpanMeasureInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CustomSpanMeasureInfo* value) { @@ -11332,7 +11333,7 @@ inline void WriteToString(std::string* result, const Opt_CustomSpanMeasureInfo* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11343,12 +11344,12 @@ inline void WriteToString(std::string* result, const Opt_CustomSpanMeasureInfo* template <> inline Ark_RuntimeType runtimeType(const Opt_CustomSpanMeasureInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SpanStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SpanStyle* value) { @@ -11375,7 +11376,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11386,12 +11387,12 @@ inline void WriteToString(std::string* result, const Opt_SpanStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SpanStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DpiFollowStrategy& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_DpiFollowStrategy value) { @@ -11404,7 +11405,7 @@ inline void WriteToString(std::string* result, const Opt_DpiFollowStrategy* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11415,12 +11416,12 @@ inline void WriteToString(std::string* result, const Opt_DpiFollowStrategy* valu template <> inline Ark_RuntimeType runtimeType(const Opt_DpiFollowStrategy& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Map_String_ComponentContent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_String* value); @@ -11443,7 +11444,7 @@ inline void WriteToString(std::string* result, const Opt_Map_String_ComponentCon result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11454,12 +11455,12 @@ inline void WriteToString(std::string* result, const Opt_Map_String_ComponentCon template <> inline Ark_RuntimeType runtimeType(const Opt_Map_String_ComponentContent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_UIExtensionProxy_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_UIExtensionProxy_Void* value) { @@ -11474,7 +11475,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_UIExtensionPro result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11485,12 +11486,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_UIExtensionPro template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_UIExtensionProxy_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_WaterFlowLayoutMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_WaterFlowLayoutMode value) { @@ -11503,7 +11504,7 @@ inline void WriteToString(std::string* result, const Opt_WaterFlowLayoutMode* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11514,14 +11515,14 @@ inline void WriteToString(std::string* result, const Opt_WaterFlowLayoutMode* va template <> inline Ark_RuntimeType runtimeType(const Opt_WaterFlowLayoutMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_WaterFlowSections* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11532,14 +11533,14 @@ inline void WriteToString(std::string* result, const Opt_WaterFlowSections* valu template <> inline Ark_RuntimeType runtimeType(const Opt_WaterFlowSections& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_Scroller* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11550,12 +11551,12 @@ inline void WriteToString(std::string* result, const Opt_Scroller* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Scroller& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SectionOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SectionOptions* value) { @@ -11590,7 +11591,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11601,12 +11602,12 @@ inline void WriteToString(std::string* result, const Opt_SectionOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_SectionOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RRect& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RRect* value) { @@ -11637,7 +11638,7 @@ inline void WriteToString(std::string* result, const Opt_RRect* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11648,12 +11649,12 @@ inline void WriteToString(std::string* result, const Opt_RRect* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_RRect& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DividerStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DividerStyle* value) { @@ -11680,7 +11681,7 @@ inline void WriteToString(std::string* result, const Opt_DividerStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11691,12 +11692,12 @@ inline void WriteToString(std::string* result, const Opt_DividerStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_DividerStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ButtonIconOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ButtonIconOptions* value) { @@ -11719,7 +11720,7 @@ inline void WriteToString(std::string* result, const Opt_ButtonIconOptions* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11730,12 +11731,12 @@ inline void WriteToString(std::string* result, const Opt_ButtonIconOptions* valu template <> inline Ark_RuntimeType runtimeType(const Opt_ButtonIconOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ImageAIOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ImageAIOptions* value) { @@ -11754,7 +11755,7 @@ inline void WriteToString(std::string* result, const Opt_ImageAIOptions* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11765,14 +11766,14 @@ inline void WriteToString(std::string* result, const Opt_ImageAIOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_ImageAIOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_XComponentController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11783,12 +11784,12 @@ inline void WriteToString(std::string* result, const Opt_XComponentController* v template <> inline Ark_RuntimeType runtimeType(const Opt_XComponentController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_XComponentType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_XComponentType value) { @@ -11801,7 +11802,7 @@ inline void WriteToString(std::string* result, const Opt_XComponentType* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11812,12 +11813,12 @@ inline void WriteToString(std::string* result, const Opt_XComponentType* value) template <> inline Ark_RuntimeType runtimeType(const Opt_XComponentType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ImageAnalyzerConfig& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ImageAnalyzerConfig* value) { @@ -11832,7 +11833,7 @@ inline void WriteToString(std::string* result, const Opt_ImageAnalyzerConfig* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11843,12 +11844,12 @@ inline void WriteToString(std::string* result, const Opt_ImageAnalyzerConfig* va template <> inline Ark_RuntimeType runtimeType(const Opt_ImageAnalyzerConfig& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SurfaceRect& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SurfaceRect* value) { @@ -11875,7 +11876,7 @@ inline void WriteToString(std::string* result, const Opt_SurfaceRect* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11886,12 +11887,12 @@ inline void WriteToString(std::string* result, const Opt_SurfaceRect* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SurfaceRect& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SurfaceRotationOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SurfaceRotationOptions* value) { @@ -11906,7 +11907,7 @@ inline void WriteToString(std::string* result, const Opt_SurfaceRotationOptions* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11917,12 +11918,12 @@ inline void WriteToString(std::string* result, const Opt_SurfaceRotationOptions* template <> inline Ark_RuntimeType runtimeType(const Opt_SurfaceRotationOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_Number_surfaceHeight_surfaceWidth& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_Number_surfaceHeight_surfaceWidth* value) { @@ -11941,7 +11942,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_Number_surfaceH result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11952,12 +11953,12 @@ inline void WriteToString(std::string* result, const Opt_Literal_Number_surfaceH template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_surfaceHeight_surfaceWidth& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SelectionMenuOptionsExt& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SelectionMenuOptionsExt* value) { @@ -11984,7 +11985,7 @@ inline void WriteToString(std::string* result, const Opt_SelectionMenuOptionsExt result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -11995,12 +11996,12 @@ inline void WriteToString(std::string* result, const Opt_SelectionMenuOptionsExt template <> inline Ark_RuntimeType runtimeType(const Opt_SelectionMenuOptionsExt& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_WebResponseType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_WebResponseType value) { @@ -12013,7 +12014,7 @@ inline void WriteToString(std::string* result, const Opt_WebResponseType* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12024,12 +12025,12 @@ inline void WriteToString(std::string* result, const Opt_WebResponseType* value) template <> inline Ark_RuntimeType runtimeType(const Opt_WebResponseType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_WebElementType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_WebElementType value) { @@ -12042,7 +12043,7 @@ inline void WriteToString(std::string* result, const Opt_WebElementType* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12053,14 +12054,14 @@ inline void WriteToString(std::string* result, const Opt_WebElementType* value) template <> inline Ark_RuntimeType runtimeType(const Opt_WebElementType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_WebKeyboardController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12071,12 +12072,12 @@ inline void WriteToString(std::string* result, const Opt_WebKeyboardController* template <> inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Literal_String_plainText_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Literal_String_plainText_Void* value) { @@ -12091,7 +12092,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Literal_String result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12102,12 +12103,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Literal_String template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Literal_String_plainText_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RenderProcessNotRespondingReason& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_RenderProcessNotRespondingReason value) { @@ -12120,7 +12121,7 @@ inline void WriteToString(std::string* result, const Opt_RenderProcessNotRespond result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12131,14 +12132,14 @@ inline void WriteToString(std::string* result, const Opt_RenderProcessNotRespond template <> inline Ark_RuntimeType runtimeType(const Opt_RenderProcessNotRespondingReason& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_EventResult* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12149,83 +12150,14 @@ inline void WriteToString(std::string* result, const Opt_EventResult* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_EventResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_TouchEvent& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_TouchEvent* value) { - result->append("{"); - // Ark_EventTarget target - result->append(".target="); - WriteToString(result, &value->target); - // Ark_Number timestamp - result->append(", "); - result->append(".timestamp="); - WriteToString(result, &value->timestamp); - // Ark_SourceType source - result->append(", "); - result->append(".source="); - WriteToString(result, value->source); - // Ark_Number axisHorizontal - result->append(", "); - result->append(".axisHorizontal="); - WriteToString(result, &value->axisHorizontal); - // Ark_Number axisVertical - result->append(", "); - result->append(".axisVertical="); - WriteToString(result, &value->axisVertical); - // Ark_Number pressure - result->append(", "); - result->append(".pressure="); - WriteToString(result, &value->pressure); - // Ark_Number tiltX - result->append(", "); - result->append(".tiltX="); - WriteToString(result, &value->tiltX); - // Ark_Number tiltY - result->append(", "); - result->append(".tiltY="); - WriteToString(result, &value->tiltY); - // Ark_SourceTool sourceTool - result->append(", "); - result->append(".sourceTool="); - WriteToString(result, value->sourceTool); - // Ark_Number deviceId - result->append(", "); - result->append(".deviceId="); - WriteToString(result, &value->deviceId); - // Ark_TouchType type - result->append(", "); - result->append(".type="); - WriteToString(result, value->type); - // Array_TouchObject touches - result->append(", "); - result->append(".touches="); - WriteToString(result, &value->touches); - // Array_TouchObject changedTouches - result->append(", "); - result->append(".changedTouches="); - WriteToString(result, &value->changedTouches); - // Callback_Void stopPropagation - result->append(", "); - result->append(".stopPropagation="); - WriteToString(result, &value->stopPropagation); - // Callback_Void preventDefault - result->append(", "); - result->append(".preventDefault="); - WriteToString(result, &value->preventDefault); - result->append("}"); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12236,12 +12168,12 @@ inline void WriteToString(std::string* result, const Opt_TouchEvent* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_TouchEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_NativeEmbedInfo* value) { @@ -12288,7 +12220,7 @@ inline void WriteToString(std::string* result, const Opt_NativeEmbedInfo* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12299,12 +12231,12 @@ inline void WriteToString(std::string* result, const Opt_NativeEmbedInfo* value) template <> inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedStatus& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_NativeEmbedStatus value) { @@ -12317,7 +12249,7 @@ inline void WriteToString(std::string* result, const Opt_NativeEmbedStatus* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12328,12 +12260,12 @@ inline void WriteToString(std::string* result, const Opt_NativeEmbedStatus* valu template <> inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedStatus& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NestedScrollOptionsExt& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_NestedScrollOptionsExt* value) { @@ -12360,7 +12292,7 @@ inline void WriteToString(std::string* result, const Opt_NestedScrollOptionsExt* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12371,12 +12303,12 @@ inline void WriteToString(std::string* result, const Opt_NestedScrollOptionsExt* template <> inline Ark_RuntimeType runtimeType(const Opt_NestedScrollOptionsExt& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NestedScrollOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_NestedScrollOptions* value) { @@ -12395,7 +12327,7 @@ inline void WriteToString(std::string* result, const Opt_NestedScrollOptions* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12406,12 +12338,12 @@ inline void WriteToString(std::string* result, const Opt_NestedScrollOptions* va template <> inline Ark_RuntimeType runtimeType(const Opt_NestedScrollOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_WebNavigationType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_WebNavigationType value) { @@ -12424,7 +12356,7 @@ inline void WriteToString(std::string* result, const Opt_WebNavigationType* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12435,14 +12367,14 @@ inline void WriteToString(std::string* result, const Opt_WebNavigationType* valu template <> inline Ark_RuntimeType runtimeType(const Opt_WebNavigationType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_DataResubmissionHandler* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12453,14 +12385,14 @@ inline void WriteToString(std::string* result, const Opt_DataResubmissionHandler template <> inline Ark_RuntimeType runtimeType(const Opt_DataResubmissionHandler& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_ControllerHandler* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12471,14 +12403,14 @@ inline void WriteToString(std::string* result, const Opt_ControllerHandler* valu template <> inline Ark_RuntimeType runtimeType(const Opt_ControllerHandler& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_ClientAuthenticationHandler* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12489,12 +12421,12 @@ inline void WriteToString(std::string* result, const Opt_ClientAuthenticationHan template <> inline Ark_RuntimeType runtimeType(const Opt_ClientAuthenticationHandler& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SslError& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SslError value) { @@ -12507,7 +12439,7 @@ inline void WriteToString(std::string* result, const Opt_SslError* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12518,14 +12450,14 @@ inline void WriteToString(std::string* result, const Opt_SslError* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SslError& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_SslErrorHandler* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12536,12 +12468,12 @@ inline void WriteToString(std::string* result, const Opt_SslErrorHandler* value) template <> inline Ark_RuntimeType runtimeType(const Opt_SslErrorHandler& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_Buffer& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -12564,7 +12496,7 @@ inline void WriteToString(std::string* result, const Opt_Array_Buffer* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12575,14 +12507,14 @@ inline void WriteToString(std::string* result, const Opt_Array_Buffer* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Array_Buffer& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_WebContextMenuResult* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12593,14 +12525,14 @@ inline void WriteToString(std::string* result, const Opt_WebContextMenuResult* v template <> inline Ark_RuntimeType runtimeType(const Opt_WebContextMenuResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_WebContextMenuParam* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12611,14 +12543,14 @@ inline void WriteToString(std::string* result, const Opt_WebContextMenuParam* va template <> inline Ark_RuntimeType runtimeType(const Opt_WebContextMenuParam& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_ScreenCaptureHandler* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12629,14 +12561,14 @@ inline void WriteToString(std::string* result, const Opt_ScreenCaptureHandler* v template <> inline Ark_RuntimeType runtimeType(const Opt_ScreenCaptureHandler& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_PermissionRequest* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12647,14 +12579,14 @@ inline void WriteToString(std::string* result, const Opt_PermissionRequest* valu template <> inline Ark_RuntimeType runtimeType(const Opt_PermissionRequest& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_HttpAuthHandler* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12665,14 +12597,14 @@ inline void WriteToString(std::string* result, const Opt_HttpAuthHandler* value) template <> inline Ark_RuntimeType runtimeType(const Opt_HttpAuthHandler& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_FullScreenExitHandler* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12683,19 +12615,19 @@ inline void WriteToString(std::string* result, const Opt_FullScreenExitHandler* template <> inline Ark_RuntimeType runtimeType(const Opt_FullScreenExitHandler& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Function& value) { - return ARK_RUNTIME_FUNCTION; + return INTEROP_RUNTIME_FUNCTION; } template <> inline void WriteToString(std::string* result, const Opt_Function* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12706,14 +12638,14 @@ inline void WriteToString(std::string* result, const Opt_Function* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Function& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_FileSelectorParam* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12724,14 +12656,14 @@ inline void WriteToString(std::string* result, const Opt_FileSelectorParam* valu template <> inline Ark_RuntimeType runtimeType(const Opt_FileSelectorParam& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_FileSelectorResult* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12742,12 +12674,12 @@ inline void WriteToString(std::string* result, const Opt_FileSelectorResult* val template <> inline Ark_RuntimeType runtimeType(const Opt_FileSelectorResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RenderExitReason& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_RenderExitReason value) { @@ -12760,7 +12692,7 @@ inline void WriteToString(std::string* result, const Opt_RenderExitReason* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12771,7 +12703,7 @@ inline void WriteToString(std::string* result, const Opt_RenderExitReason* value template <> inline Ark_RuntimeType runtimeType(const Opt_RenderExitReason& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_String_WebResourceRequest& value) @@ -12805,7 +12737,7 @@ inline void WriteToString(std::string* result, const Opt_Union_String_WebResourc result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12816,14 +12748,14 @@ inline void WriteToString(std::string* result, const Opt_Union_String_WebResourc template <> inline Ark_RuntimeType runtimeType(const Opt_Union_String_WebResourceRequest& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_WebResourceResponse* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12834,14 +12766,14 @@ inline void WriteToString(std::string* result, const Opt_WebResourceResponse* va template <> inline Ark_RuntimeType runtimeType(const Opt_WebResourceResponse& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_WebResourceError* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12852,14 +12784,14 @@ inline void WriteToString(std::string* result, const Opt_WebResourceError* value template <> inline Ark_RuntimeType runtimeType(const Opt_WebResourceError& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_ConsoleMessage* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12870,14 +12802,14 @@ inline void WriteToString(std::string* result, const Opt_ConsoleMessage* value) template <> inline Ark_RuntimeType runtimeType(const Opt_ConsoleMessage& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_JsResult* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12888,14 +12820,14 @@ inline void WriteToString(std::string* result, const Opt_JsResult* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_JsResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_JsGeolocation* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12906,7 +12838,7 @@ inline void WriteToString(std::string* result, const Opt_JsGeolocation* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_JsGeolocation& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_WebController_WebviewController& value) @@ -12940,7 +12872,7 @@ inline void WriteToString(std::string* result, const Opt_Union_WebController_Web result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12951,12 +12883,12 @@ inline void WriteToString(std::string* result, const Opt_Union_WebController_Web template <> inline Ark_RuntimeType runtimeType(const Opt_Union_WebController_WebviewController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RenderMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_RenderMode value) { @@ -12969,7 +12901,7 @@ inline void WriteToString(std::string* result, const Opt_RenderMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -12980,19 +12912,19 @@ inline void WriteToString(std::string* result, const Opt_RenderMode* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_RenderMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Literal_Object_object_String_name_Array_String_methodList& value) +inline Ark_RuntimeType runtimeType(const Ark_Literal_Object_object__String_name_Array_String_methodList& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Literal_Object_object_String_name_Array_String_methodList* value) { +inline void WriteToString(std::string* result, const Ark_Literal_Object_object__String_name_Array_String_methodList* value) { result->append("{"); - // Ark_CustomObject object - result->append(".object="); - WriteToString(result, &value->object); + // Ark_CustomObject object_ + result->append(".object_="); + WriteToString(result, &value->object_); // Ark_String name result->append(", "); result->append(".name="); @@ -13004,11 +12936,11 @@ inline void WriteToString(std::string* result, const Ark_Literal_Object_object_S result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Literal_Object_object_String_name_Array_String_methodList* value) { +inline void WriteToString(std::string* result, const Opt_Literal_Object_object__String_name_Array_String_methodList* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13017,14 +12949,14 @@ inline void WriteToString(std::string* result, const Opt_Literal_Object_object_S result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_Object_object_String_name_Array_String_methodList& value) +inline Ark_RuntimeType runtimeType(const Opt_Literal_Object_object__String_name_Array_String_methodList& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_Union_String_Resource_url_Array_Header_headers& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_Union_String_Resource_url_Array_Header_headers* value) { @@ -13043,7 +12975,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_Union_String_Re result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13054,12 +12986,12 @@ inline void WriteToString(std::string* result, const Opt_Literal_Union_String_Re template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_Union_String_Resource_url_Array_Header_headers& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_String_baseUrl_data_encoding_historyUrl_mimeType& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_String_baseUrl_data_encoding_historyUrl_mimeType* value) { @@ -13090,7 +13022,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_String_baseUrl_ result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13101,31 +13033,31 @@ inline void WriteToString(std::string* result, const Opt_Literal_String_baseUrl_ template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_String_baseUrl_data_encoding_historyUrl_mimeType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Literal_String_script_Callback_String_Void_callback& value) +inline Ark_RuntimeType runtimeType(const Ark_Literal_String_script_Callback_String_Void_callback_& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Literal_String_script_Callback_String_Void_callback* value) { +inline void WriteToString(std::string* result, const Ark_Literal_String_script_Callback_String_Void_callback_* value) { result->append("{"); // Ark_String script result->append(".script="); WriteToString(result, &value->script); - // Callback_String_Void callback + // Callback_String_Void callback_ result->append(", "); - result->append(".callback="); - WriteToString(result, &value->callback); + result->append(".callback_="); + WriteToString(result, &value->callback_); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Literal_String_script_Callback_String_Void_callback* value) { +inline void WriteToString(std::string* result, const Opt_Literal_String_script_Callback_String_Void_callback_* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13134,14 +13066,14 @@ inline void WriteToString(std::string* result, const Opt_Literal_String_script_C result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_String_script_Callback_String_Void_callback& value) +inline Ark_RuntimeType runtimeType(const Opt_Literal_String_script_Callback_String_Void_callback_& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ScreenCaptureConfig& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ScreenCaptureConfig* value) { @@ -13156,7 +13088,7 @@ inline void WriteToString(std::string* result, const Opt_ScreenCaptureConfig* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13167,14 +13099,14 @@ inline void WriteToString(std::string* result, const Opt_ScreenCaptureConfig* va template <> inline Ark_RuntimeType runtimeType(const Opt_ScreenCaptureConfig& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_VideoController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13185,7 +13117,7 @@ inline void WriteToString(std::string* result, const Opt_VideoController* value) template <> inline Ark_RuntimeType runtimeType(const Opt_VideoController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Number_String_PlaybackSpeed& value) @@ -13225,7 +13157,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_String_Pla result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13236,12 +13168,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_String_Pla template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Number_String_PlaybackSpeed& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SeekMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SeekMode value) { @@ -13254,7 +13186,7 @@ inline void WriteToString(std::string* result, const Opt_SeekMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13265,12 +13197,12 @@ inline void WriteToString(std::string* result, const Opt_SeekMode* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SeekMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ToggleType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ToggleType value) { @@ -13283,7 +13215,7 @@ inline void WriteToString(std::string* result, const Opt_ToggleType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13294,12 +13226,12 @@ inline void WriteToString(std::string* result, const Opt_ToggleType* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ToggleType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TimePickerDialogOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TimePickerDialogOptions* value) { @@ -13406,7 +13338,7 @@ inline void WriteToString(std::string* result, const Opt_TimePickerDialogOptions result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13417,14 +13349,14 @@ inline void WriteToString(std::string* result, const Opt_TimePickerDialogOptions template <> inline Ark_RuntimeType runtimeType(const Opt_TimePickerDialogOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_TextTimerController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13435,12 +13367,12 @@ inline void WriteToString(std::string* result, const Opt_TextTimerController* va template <> inline Ark_RuntimeType runtimeType(const Opt_TextTimerController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextPickerDialogOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TextPickerDialogOptions* value) { @@ -13551,7 +13483,7 @@ inline void WriteToString(std::string* result, const Opt_TextPickerDialogOptions result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13562,12 +13494,12 @@ inline void WriteToString(std::string* result, const Opt_TextPickerDialogOptions template <> inline Ark_RuntimeType runtimeType(const Opt_TextPickerDialogOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DividerOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DividerOptions* value) { @@ -13594,7 +13526,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13605,12 +13537,12 @@ inline void WriteToString(std::string* result, const Opt_DividerOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_DividerOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_InputCounterOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_InputCounterOptions* value) { @@ -13629,7 +13561,7 @@ inline void WriteToString(std::string* result, const Opt_InputCounterOptions* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13640,12 +13572,12 @@ inline void WriteToString(std::string* result, const Opt_InputCounterOptions* va template <> inline Ark_RuntimeType runtimeType(const Opt_InputCounterOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_KeyboardOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_KeyboardOptions* value) { @@ -13660,7 +13592,7 @@ inline void WriteToString(std::string* result, const Opt_KeyboardOptions* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13671,12 +13603,12 @@ inline void WriteToString(std::string* result, const Opt_KeyboardOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_KeyboardOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_UnderlineColor& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_UnderlineColor* value) { @@ -13703,7 +13635,7 @@ inline void WriteToString(std::string* result, const Opt_UnderlineColor* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13714,12 +13646,12 @@ inline void WriteToString(std::string* result, const Opt_UnderlineColor* value) template <> inline Ark_RuntimeType runtimeType(const Opt_UnderlineColor& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextContentStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_TextContentStyle value) { @@ -13732,7 +13664,7 @@ inline void WriteToString(std::string* result, const Opt_TextContentStyle* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13743,12 +13675,12 @@ inline void WriteToString(std::string* result, const Opt_TextContentStyle* value template <> inline Ark_RuntimeType runtimeType(const Opt_TextContentStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextInputStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_TextInputStyle value) { @@ -13761,7 +13693,7 @@ inline void WriteToString(std::string* result, const Opt_TextInputStyle* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13772,14 +13704,14 @@ inline void WriteToString(std::string* result, const Opt_TextInputStyle* value) template <> inline Ark_RuntimeType runtimeType(const Opt_TextInputStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_TextInputController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13790,12 +13722,12 @@ inline void WriteToString(std::string* result, const Opt_TextInputController* va template <> inline Ark_RuntimeType runtimeType(const Opt_TextInputController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SelectionOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SelectionOptions* value) { @@ -13810,7 +13742,7 @@ inline void WriteToString(std::string* result, const Opt_SelectionOptions* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13821,12 +13753,12 @@ inline void WriteToString(std::string* result, const Opt_SelectionOptions* value template <> inline Ark_RuntimeType runtimeType(const Opt_SelectionOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextRange& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TextRange* value) { @@ -13845,7 +13777,7 @@ inline void WriteToString(std::string* result, const Opt_TextRange* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13856,12 +13788,12 @@ inline void WriteToString(std::string* result, const Opt_TextRange* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_TextRange& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextMenuItem& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TextMenuItem* value) { @@ -13884,7 +13816,7 @@ inline void WriteToString(std::string* result, const Opt_TextMenuItem* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13895,12 +13827,12 @@ inline void WriteToString(std::string* result, const Opt_TextMenuItem* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_TextMenuItem& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RectHeightStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_RectHeightStyle value) { @@ -13913,7 +13845,7 @@ inline void WriteToString(std::string* result, const Opt_RectHeightStyle* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13924,12 +13856,12 @@ inline void WriteToString(std::string* result, const Opt_RectHeightStyle* value) template <> inline Ark_RuntimeType runtimeType(const Opt_RectHeightStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RectWidthStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_RectWidthStyle value) { @@ -13942,7 +13874,7 @@ inline void WriteToString(std::string* result, const Opt_RectWidthStyle* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13953,14 +13885,14 @@ inline void WriteToString(std::string* result, const Opt_RectWidthStyle* value) template <> inline Ark_RuntimeType runtimeType(const Opt_RectWidthStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_TextClockController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13971,14 +13903,14 @@ inline void WriteToString(std::string* result, const Opt_TextClockController* va template <> inline Ark_RuntimeType runtimeType(const Opt_TextClockController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_TextAreaController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -13989,12 +13921,12 @@ inline void WriteToString(std::string* result, const Opt_TextAreaController* val template <> inline Ark_RuntimeType runtimeType(const Opt_TextAreaController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SelectionMenuOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SelectionMenuOptions* value) { @@ -14017,7 +13949,7 @@ inline void WriteToString(std::string* result, const Opt_SelectionMenuOptions* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14028,12 +13960,12 @@ inline void WriteToString(std::string* result, const Opt_SelectionMenuOptions* v template <> inline Ark_RuntimeType runtimeType(const Opt_SelectionMenuOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextResponseType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_TextResponseType value) { @@ -14046,7 +13978,7 @@ inline void WriteToString(std::string* result, const Opt_TextResponseType* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14057,12 +13989,12 @@ inline void WriteToString(std::string* result, const Opt_TextResponseType* value template <> inline Ark_RuntimeType runtimeType(const Opt_TextResponseType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextSpanType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_TextSpanType value) { @@ -14075,7 +14007,7 @@ inline void WriteToString(std::string* result, const Opt_TextSpanType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14086,12 +14018,12 @@ inline void WriteToString(std::string* result, const Opt_TextSpanType* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_TextSpanType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FontSettingOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_FontSettingOptions* value) { @@ -14106,7 +14038,7 @@ inline void WriteToString(std::string* result, const Opt_FontSettingOptions* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14117,14 +14049,14 @@ inline void WriteToString(std::string* result, const Opt_FontSettingOptions* val template <> inline Ark_RuntimeType runtimeType(const Opt_FontSettingOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_TextController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14135,12 +14067,12 @@ inline void WriteToString(std::string* result, const Opt_TextController* value) template <> inline Ark_RuntimeType runtimeType(const Opt_TextController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BottomTabBarStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_BottomTabBarStyle* value) { @@ -14187,7 +14119,7 @@ inline void WriteToString(std::string* result, const Opt_BottomTabBarStyle* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14198,12 +14130,12 @@ inline void WriteToString(std::string* result, const Opt_BottomTabBarStyle* valu template <> inline Ark_RuntimeType runtimeType(const Opt_BottomTabBarStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SubTabBarStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SubTabBarStyle* value) { @@ -14242,7 +14174,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14253,12 +14185,12 @@ inline void WriteToString(std::string* result, const Opt_SubTabBarStyle* value) template <> inline Ark_RuntimeType runtimeType(const Opt_SubTabBarStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TabBarOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TabBarOptions* value) { @@ -14277,7 +14209,7 @@ inline void WriteToString(std::string* result, const Opt_TabBarOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14288,12 +14220,12 @@ inline void WriteToString(std::string* result, const Opt_TabBarOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_TabBarOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BackgroundBlurStyleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_BackgroundBlurStyleOptions* value) { @@ -14328,7 +14260,7 @@ inline void WriteToString(std::string* result, const Opt_BackgroundBlurStyleOpti result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14339,12 +14271,12 @@ inline void WriteToString(std::string* result, const Opt_BackgroundBlurStyleOpti template <> inline Ark_RuntimeType runtimeType(const Opt_BackgroundBlurStyleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ScrollableBarModeOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ScrollableBarModeOptions* value) { @@ -14363,7 +14295,7 @@ inline void WriteToString(std::string* result, const Opt_ScrollableBarModeOption result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14374,12 +14306,12 @@ inline void WriteToString(std::string* result, const Opt_ScrollableBarModeOption template <> inline Ark_RuntimeType runtimeType(const Opt_ScrollableBarModeOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BarMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_BarMode value) { @@ -14392,7 +14324,7 @@ inline void WriteToString(std::string* result, const Opt_BarMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14403,12 +14335,12 @@ inline void WriteToString(std::string* result, const Opt_BarMode* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_BarMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TabContentAnimatedTransition& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TabContentAnimatedTransition* value) { @@ -14427,7 +14359,7 @@ inline void WriteToString(std::string* result, const Opt_TabContentAnimatedTrans result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14438,12 +14370,12 @@ inline void WriteToString(std::string* result, const Opt_TabContentAnimatedTrans template <> inline Ark_RuntimeType runtimeType(const Opt_TabContentAnimatedTransition& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_EdgeEffect& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_EdgeEffect value) { @@ -14456,7 +14388,7 @@ inline void WriteToString(std::string* result, const Opt_EdgeEffect* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14467,12 +14399,12 @@ inline void WriteToString(std::string* result, const Opt_EdgeEffect* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_EdgeEffect& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_AnimationMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_AnimationMode value) { @@ -14485,7 +14417,7 @@ inline void WriteToString(std::string* result, const Opt_AnimationMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14496,14 +14428,14 @@ inline void WriteToString(std::string* result, const Opt_AnimationMode* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_AnimationMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_TabsController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14514,12 +14446,12 @@ inline void WriteToString(std::string* result, const Opt_TabsController* value) template <> inline Ark_RuntimeType runtimeType(const Opt_TabsController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BarPosition& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_BarPosition value) { @@ -14532,7 +14464,7 @@ inline void WriteToString(std::string* result, const Opt_BarPosition* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14543,12 +14475,12 @@ inline void WriteToString(std::string* result, const Opt_BarPosition* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_BarPosition& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SymbolEffect& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SymbolEffect* value) { @@ -14560,7 +14492,7 @@ inline void WriteToString(std::string* result, const Opt_SymbolEffect* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14571,12 +14503,12 @@ inline void WriteToString(std::string* result, const Opt_SymbolEffect* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SymbolEffect& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DigitIndicator& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DigitIndicator* value) { @@ -14627,7 +14559,7 @@ inline void WriteToString(std::string* result, const Opt_DigitIndicator* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14638,12 +14570,12 @@ inline void WriteToString(std::string* result, const Opt_DigitIndicator* value) template <> inline Ark_RuntimeType runtimeType(const Opt_DigitIndicator& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DotIndicator& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DotIndicator* value) { @@ -14710,7 +14642,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14721,12 +14653,12 @@ inline void WriteToString(std::string* result, const Opt_DotIndicator* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_DotIndicator& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SwiperAutoFill& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SwiperAutoFill* value) { @@ -14741,7 +14673,7 @@ inline void WriteToString(std::string* result, const Opt_SwiperAutoFill* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14752,12 +14684,12 @@ inline void WriteToString(std::string* result, const Opt_SwiperAutoFill* value) template <> inline Ark_RuntimeType runtimeType(const Opt_SwiperAutoFill& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ArrowStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ArrowStyle* value) { @@ -14792,7 +14724,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14803,12 +14735,12 @@ inline void WriteToString(std::string* result, const Opt_ArrowStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ArrowStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_SwiperContentTransitionProxy_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_SwiperContentTransitionProxy_Void* value) { @@ -14823,7 +14755,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_SwiperContentT result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14834,7 +14766,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_SwiperContentT template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_SwiperContentTransitionProxy_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Type_SliderBlockStyle_shape& value) @@ -14880,7 +14812,7 @@ inline void WriteToString(std::string* result, const Opt_Type_SliderBlockStyle_s result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14891,12 +14823,12 @@ inline void WriteToString(std::string* result, const Opt_Type_SliderBlockStyle_s template <> inline Ark_RuntimeType runtimeType(const Opt_Type_SliderBlockStyle_shape& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SliderBlockType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SliderBlockType value) { @@ -14909,7 +14841,7 @@ inline void WriteToString(std::string* result, const Opt_SliderBlockType* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14920,12 +14852,12 @@ inline void WriteToString(std::string* result, const Opt_SliderBlockType* value) template <> inline Ark_RuntimeType runtimeType(const Opt_SliderBlockType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SliderStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SliderStyle value) { @@ -14938,7 +14870,7 @@ inline void WriteToString(std::string* result, const Opt_SliderStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14949,12 +14881,12 @@ inline void WriteToString(std::string* result, const Opt_SliderStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SliderStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_MenuAlignType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_MenuAlignType value) { @@ -14967,7 +14899,7 @@ inline void WriteToString(std::string* result, const Opt_MenuAlignType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -14978,12 +14910,12 @@ inline void WriteToString(std::string* result, const Opt_MenuAlignType* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_MenuAlignType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OptionWidthMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_OptionWidthMode value) { @@ -14996,7 +14928,7 @@ inline void WriteToString(std::string* result, const Opt_OptionWidthMode* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15007,12 +14939,12 @@ inline void WriteToString(std::string* result, const Opt_OptionWidthMode* value) template <> inline Ark_RuntimeType runtimeType(const Opt_OptionWidthMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LocalizedEdges& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LocalizedEdges* value) { @@ -15039,7 +14971,7 @@ inline void WriteToString(std::string* result, const Opt_LocalizedEdges* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15050,12 +14982,12 @@ inline void WriteToString(std::string* result, const Opt_LocalizedEdges* value) template <> inline Ark_RuntimeType runtimeType(const Opt_LocalizedEdges& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Edges& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Edges* value) { @@ -15082,7 +15014,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15093,12 +15025,12 @@ inline void WriteToString(std::string* result, const Opt_Edges* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Edges& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SearchButtonOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SearchButtonOptions* value) { @@ -15121,7 +15053,7 @@ inline void WriteToString(std::string* result, const Opt_SearchButtonOptions* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15132,12 +15064,12 @@ inline void WriteToString(std::string* result, const Opt_SearchButtonOptions* va template <> inline Ark_RuntimeType runtimeType(const Opt_SearchButtonOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextDeleteDirection& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_TextDeleteDirection value) { @@ -15150,7 +15082,7 @@ inline void WriteToString(std::string* result, const Opt_TextDeleteDirection* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15161,12 +15093,12 @@ inline void WriteToString(std::string* result, const Opt_TextDeleteDirection* va template <> inline Ark_RuntimeType runtimeType(const Opt_TextDeleteDirection& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CancelButtonSymbolOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CancelButtonSymbolOptions* value) { @@ -15185,7 +15117,7 @@ inline void WriteToString(std::string* result, const Opt_CancelButtonSymbolOptio result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15196,12 +15128,12 @@ inline void WriteToString(std::string* result, const Opt_CancelButtonSymbolOptio template <> inline Ark_RuntimeType runtimeType(const Opt_CancelButtonSymbolOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CancelButtonOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CancelButtonOptions* value) { @@ -15220,7 +15152,7 @@ inline void WriteToString(std::string* result, const Opt_CancelButtonOptions* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15231,14 +15163,14 @@ inline void WriteToString(std::string* result, const Opt_CancelButtonOptions* va template <> inline Ark_RuntimeType runtimeType(const Opt_CancelButtonOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_SearchController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15249,12 +15181,12 @@ inline void WriteToString(std::string* result, const Opt_SearchController* value template <> inline Ark_RuntimeType runtimeType(const Opt_SearchController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BarState& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_BarState value) { @@ -15267,7 +15199,7 @@ inline void WriteToString(std::string* result, const Opt_BarState* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15278,12 +15210,12 @@ inline void WriteToString(std::string* result, const Opt_BarState* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_BarState& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ScrollBarDirection& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ScrollBarDirection value) { @@ -15296,7 +15228,7 @@ inline void WriteToString(std::string* result, const Opt_ScrollBarDirection* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15307,12 +15239,12 @@ inline void WriteToString(std::string* result, const Opt_ScrollBarDirection* val template <> inline Ark_RuntimeType runtimeType(const Opt_ScrollBarDirection& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_EdgeEffectOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_EdgeEffectOptions* value) { @@ -15327,7 +15259,7 @@ inline void WriteToString(std::string* result, const Opt_EdgeEffectOptions* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15338,7 +15270,7 @@ inline void WriteToString(std::string* result, const Opt_EdgeEffectOptions* valu template <> inline Ark_RuntimeType runtimeType(const Opt_EdgeEffectOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_Array_Dimension& value) @@ -15372,7 +15304,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_Array_D result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15383,12 +15315,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_Array_D template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_Array_Dimension& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ScrollSnapAlign& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ScrollSnapAlign value) { @@ -15401,7 +15333,7 @@ inline void WriteToString(std::string* result, const Opt_ScrollSnapAlign* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15412,12 +15344,43 @@ inline void WriteToString(std::string* result, const Opt_ScrollSnapAlign* value) template <> inline Ark_RuntimeType runtimeType(const Opt_ScrollSnapAlign& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const ScrollOnScrollCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const ScrollOnScrollCallback* 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_ScrollOnScrollCallback* 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_ScrollOnScrollCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const ScrollOnWillScrollCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const ScrollOnWillScrollCallback* value) { @@ -15432,7 +15395,7 @@ inline void WriteToString(std::string* result, const Opt_ScrollOnWillScrollCallb result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15443,12 +15406,12 @@ inline void WriteToString(std::string* result, const Opt_ScrollOnWillScrollCallb template <> inline Ark_RuntimeType runtimeType(const Opt_ScrollOnWillScrollCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ScrollToIndexOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ScrollToIndexOptions* value) { @@ -15463,7 +15426,7 @@ inline void WriteToString(std::string* result, const Opt_ScrollToIndexOptions* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15474,12 +15437,12 @@ inline void WriteToString(std::string* result, const Opt_ScrollToIndexOptions* v template <> inline Ark_RuntimeType runtimeType(const Opt_ScrollToIndexOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ScrollAlign& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ScrollAlign value) { @@ -15492,7 +15455,7 @@ inline void WriteToString(std::string* result, const Opt_ScrollAlign* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15503,12 +15466,12 @@ inline void WriteToString(std::string* result, const Opt_ScrollAlign* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ScrollAlign& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_Boolean_next_Axis_direction& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_Boolean_next_Axis_direction* value) { @@ -15527,7 +15490,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_Boolean_next_Ax result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15538,12 +15501,12 @@ inline void WriteToString(std::string* result, const Opt_Literal_Boolean_next_Ax template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_Boolean_next_Axis_direction& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ScrollPageOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ScrollPageOptions* value) { @@ -15562,7 +15525,7 @@ inline void WriteToString(std::string* result, const Opt_ScrollPageOptions* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15573,12 +15536,12 @@ inline void WriteToString(std::string* result, const Opt_ScrollPageOptions* valu template <> inline Ark_RuntimeType runtimeType(const Opt_ScrollPageOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ScrollEdgeOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ScrollEdgeOptions* value) { @@ -15593,7 +15556,7 @@ inline void WriteToString(std::string* result, const Opt_ScrollEdgeOptions* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15604,12 +15567,12 @@ inline void WriteToString(std::string* result, const Opt_ScrollEdgeOptions* valu template <> inline Ark_RuntimeType runtimeType(const Opt_ScrollEdgeOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Edge& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_Edge value) { @@ -15622,7 +15585,7 @@ inline void WriteToString(std::string* result, const Opt_Edge* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15633,12 +15596,12 @@ inline void WriteToString(std::string* result, const Opt_Edge* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Edge& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ScrollOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ScrollOptions* value) { @@ -15661,7 +15624,7 @@ inline void WriteToString(std::string* result, const Opt_ScrollOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15672,12 +15635,12 @@ inline void WriteToString(std::string* result, const Opt_ScrollOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ScrollOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SaveDescription& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SaveDescription value) { @@ -15690,7 +15653,7 @@ inline void WriteToString(std::string* result, const Opt_SaveDescription* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15701,12 +15664,12 @@ inline void WriteToString(std::string* result, const Opt_SaveDescription* value) template <> inline Ark_RuntimeType runtimeType(const Opt_SaveDescription& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SaveIconStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SaveIconStyle value) { @@ -15719,7 +15682,7 @@ inline void WriteToString(std::string* result, const Opt_SaveIconStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15730,7 +15693,7 @@ inline void WriteToString(std::string* result, const Opt_SaveIconStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SaveIconStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_String_Number& value) @@ -15764,7 +15727,7 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Number* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15775,14 +15738,14 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Number* va template <> inline Ark_RuntimeType runtimeType(const Opt_Union_String_Number& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_RichEditorStyledStringController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15793,14 +15756,14 @@ inline void WriteToString(std::string* result, const Opt_RichEditorStyledStringC template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorStyledStringController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_RichEditorController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15811,12 +15774,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorController* v template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PlaceholderStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PlaceholderStyle* value) { @@ -15835,7 +15798,7 @@ inline void WriteToString(std::string* result, const Opt_PlaceholderStyle* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15846,12 +15809,12 @@ inline void WriteToString(std::string* result, const Opt_PlaceholderStyle* value template <> inline Ark_RuntimeType runtimeType(const Opt_PlaceholderStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorResponseType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorResponseType value) { @@ -15864,7 +15827,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorResponseType* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15875,12 +15838,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorResponseType* template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorResponseType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ResponseType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ResponseType value) { @@ -15893,7 +15856,7 @@ inline void WriteToString(std::string* result, const Opt_ResponseType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15904,12 +15867,12 @@ inline void WriteToString(std::string* result, const Opt_ResponseType* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ResponseType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorSpanType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorSpanType value) { @@ -15922,7 +15885,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorSpanType* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15933,12 +15896,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorSpanType* val template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorSpanType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_RichEditorTextSpanResult& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -15961,7 +15924,7 @@ inline void WriteToString(std::string* result, const Opt_Array_RichEditorTextSpa result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -15972,12 +15935,12 @@ inline void WriteToString(std::string* result, const Opt_Array_RichEditorTextSpa template <> inline Ark_RuntimeType runtimeType(const Opt_Array_RichEditorTextSpanResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_RichEditorImageSpanResult& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -16000,7 +15963,7 @@ inline void WriteToString(std::string* result, const Opt_Array_RichEditorImageSp result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16011,12 +15974,12 @@ inline void WriteToString(std::string* result, const Opt_Array_RichEditorImageSp template <> inline Ark_RuntimeType runtimeType(const Opt_Array_RichEditorImageSpanResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_TextDataDetectorType& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -16039,7 +16002,7 @@ inline void WriteToString(std::string* result, const Opt_Array_TextDataDetectorT result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16050,12 +16013,12 @@ inline void WriteToString(std::string* result, const Opt_Array_TextDataDetectorT template <> inline Ark_RuntimeType runtimeType(const Opt_Array_TextDataDetectorType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorImageSpanResult& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorImageSpanResult* value) { @@ -16086,7 +16049,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorImageSpanResu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16097,12 +16060,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorImageSpanResu template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextSpanResult& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorTextSpanResult* value) { @@ -16145,7 +16108,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorTextSpanResul result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16156,12 +16119,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorTextSpanResul template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorTextSpanResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -16184,7 +16147,7 @@ inline void WriteToString(std::string* result, const Opt_Array_Union_RichEditorT result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16195,12 +16158,12 @@ inline void WriteToString(std::string* result, const Opt_Array_Union_RichEditorT template <> inline Ark_RuntimeType runtimeType(const Opt_Array_Union_RichEditorTextSpanResult_RichEditorImageSpanResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorDeleteDirection& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorDeleteDirection value) { @@ -16213,7 +16176,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorDeleteDirecti result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16224,12 +16187,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorDeleteDirecti template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorDeleteDirection& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_StyledStringChangedListener& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_StyledStringChangedListener* value) { @@ -16248,7 +16211,7 @@ inline void WriteToString(std::string* result, const Opt_StyledStringChangedList result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16259,12 +16222,12 @@ inline void WriteToString(std::string* result, const Opt_StyledStringChangedList template <> inline Ark_RuntimeType runtimeType(const Opt_StyledStringChangedListener& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorRange& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorRange* value) { @@ -16283,7 +16246,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorRange* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16294,12 +16257,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorRange* value) template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorRange& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorParagraphStyleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorParagraphStyleOptions* value) { @@ -16322,7 +16285,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorParagraphStyl result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16333,12 +16296,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorParagraphStyl template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorParagraphStyleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorUpdateSymbolSpanStyleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorUpdateSymbolSpanStyleOptions* value) { @@ -16361,7 +16324,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorUpdateSymbolS result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16372,12 +16335,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorUpdateSymbolS template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorUpdateSymbolSpanStyleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorUpdateImageSpanStyleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorUpdateImageSpanStyleOptions* value) { @@ -16400,7 +16363,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorUpdateImageSp result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16411,12 +16374,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorUpdateImageSp template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorUpdateImageSpanStyleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorUpdateTextSpanStyleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorUpdateTextSpanStyleOptions* value) { @@ -16439,7 +16402,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorUpdateTextSpa result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16450,12 +16413,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorUpdateTextSpa template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorUpdateTextSpanStyleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorSymbolSpanOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorSymbolSpanOptions* value) { @@ -16474,7 +16437,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorSymbolSpanOpt result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16485,12 +16448,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorSymbolSpanOpt template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorSymbolSpanOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorBuilderSpanOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorBuilderSpanOptions* value) { @@ -16505,7 +16468,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorBuilderSpanOp result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16516,12 +16479,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorBuilderSpanOp template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorBuilderSpanOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorImageSpanOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorImageSpanOptions* value) { @@ -16544,7 +16507,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorImageSpanOpti result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16555,12 +16518,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorImageSpanOpti template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_FingerInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -16583,7 +16546,7 @@ inline void WriteToString(std::string* result, const Opt_Array_FingerInfo* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16594,12 +16557,12 @@ inline void WriteToString(std::string* result, const Opt_Array_FingerInfo* value template <> inline Ark_RuntimeType runtimeType(const Opt_Array_FingerInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextSpanOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorTextSpanOptions* value) { @@ -16626,7 +16589,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorTextSpanOptio result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16637,12 +16600,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorTextSpanOptio template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorTextSpanOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LocalizedBarrierDirection& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_LocalizedBarrierDirection value) { @@ -16655,7 +16618,7 @@ inline void WriteToString(std::string* result, const Opt_LocalizedBarrierDirecti result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16666,12 +16629,12 @@ inline void WriteToString(std::string* result, const Opt_LocalizedBarrierDirecti template <> inline Ark_RuntimeType runtimeType(const Opt_LocalizedBarrierDirection& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BarrierDirection& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_BarrierDirection value) { @@ -16684,7 +16647,7 @@ inline void WriteToString(std::string* result, const Opt_BarrierDirection* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16695,12 +16658,12 @@ inline void WriteToString(std::string* result, const Opt_BarrierDirection* value template <> inline Ark_RuntimeType runtimeType(const Opt_BarrierDirection& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GuideLinePosition& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_GuideLinePosition* value) { @@ -16719,7 +16682,7 @@ inline void WriteToString(std::string* result, const Opt_GuideLinePosition* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16730,12 +16693,12 @@ inline void WriteToString(std::string* result, const Opt_GuideLinePosition* valu template <> inline Ark_RuntimeType runtimeType(const Opt_GuideLinePosition& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RoundedRectOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RoundedRectOptions* value) { @@ -16762,7 +16725,7 @@ inline void WriteToString(std::string* result, const Opt_RoundedRectOptions* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16773,12 +16736,12 @@ inline void WriteToString(std::string* result, const Opt_RoundedRectOptions* val template <> inline Ark_RuntimeType runtimeType(const Opt_RoundedRectOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RectOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RectOptions* value) { @@ -16790,7 +16753,7 @@ inline void WriteToString(std::string* result, const Ark_RectOptions* value) { result->append(", "); result->append(".height="); WriteToString(result, &value->height); - // Ark_Union_Number_String_Array_Any radius + // Ark_Union_Number_String_Array_Union_Number_String radius result->append(", "); result->append(".radius="); WriteToString(result, &value->radius); @@ -16801,7 +16764,7 @@ inline void WriteToString(std::string* result, const Opt_RectOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16812,12 +16775,12 @@ inline void WriteToString(std::string* result, const Opt_RectOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_RectOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RadioIndicatorType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_RadioIndicatorType value) { @@ -16830,7 +16793,7 @@ inline void WriteToString(std::string* result, const Opt_RadioIndicatorType* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16841,12 +16804,12 @@ inline void WriteToString(std::string* result, const Opt_RadioIndicatorType* val template <> inline Ark_RuntimeType runtimeType(const Opt_RadioIndicatorType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ProgressStyleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ProgressStyleOptions* value) { @@ -16873,7 +16836,7 @@ inline void WriteToString(std::string* result, const Opt_ProgressStyleOptions* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16884,12 +16847,12 @@ inline void WriteToString(std::string* result, const Opt_ProgressStyleOptions* v template <> inline Ark_RuntimeType runtimeType(const Opt_ProgressStyleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CapsuleStyleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CapsuleStyleOptions* value) { @@ -16928,7 +16891,7 @@ inline void WriteToString(std::string* result, const Opt_CapsuleStyleOptions* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16939,12 +16902,12 @@ inline void WriteToString(std::string* result, const Opt_CapsuleStyleOptions* va template <> inline Ark_RuntimeType runtimeType(const Opt_CapsuleStyleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RingStyleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RingStyleOptions* value) { @@ -16971,7 +16934,7 @@ inline void WriteToString(std::string* result, const Opt_RingStyleOptions* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -16982,12 +16945,12 @@ inline void WriteToString(std::string* result, const Opt_RingStyleOptions* value template <> inline Ark_RuntimeType runtimeType(const Opt_RingStyleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LinearStyleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LinearStyleOptions* value) { @@ -17010,7 +16973,7 @@ inline void WriteToString(std::string* result, const Opt_LinearStyleOptions* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17021,12 +16984,12 @@ inline void WriteToString(std::string* result, const Opt_LinearStyleOptions* val template <> inline Ark_RuntimeType runtimeType(const Opt_LinearStyleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ProgressType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ProgressType value) { @@ -17039,7 +17002,7 @@ inline void WriteToString(std::string* result, const Opt_ProgressType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17050,12 +17013,12 @@ inline void WriteToString(std::string* result, const Opt_ProgressType* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ProgressType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ProgressStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ProgressStyle value) { @@ -17068,7 +17031,7 @@ inline void WriteToString(std::string* result, const Opt_ProgressStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17079,12 +17042,12 @@ inline void WriteToString(std::string* result, const Opt_ProgressStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ProgressStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PluginComponentTemplate& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PluginComponentTemplate* value) { @@ -17103,7 +17066,7 @@ inline void WriteToString(std::string* result, const Opt_PluginComponentTemplate result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17114,12 +17077,12 @@ inline void WriteToString(std::string* result, const Opt_PluginComponentTemplate template <> inline Ark_RuntimeType runtimeType(const Opt_PluginComponentTemplate& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CircleStyleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CircleStyleOptions* value) { @@ -17142,7 +17105,7 @@ inline void WriteToString(std::string* result, const Opt_CircleStyleOptions* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17153,12 +17116,12 @@ inline void WriteToString(std::string* result, const Opt_CircleStyleOptions* val template <> inline Ark_RuntimeType runtimeType(const Opt_CircleStyleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PatternLockChallengeResult& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_PatternLockChallengeResult value) { @@ -17171,7 +17134,7 @@ inline void WriteToString(std::string* result, const Opt_PatternLockChallengeRes result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17182,12 +17145,12 @@ inline void WriteToString(std::string* result, const Opt_PatternLockChallengeRes template <> inline Ark_RuntimeType runtimeType(const Opt_PatternLockChallengeResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PasteDescription& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_PasteDescription value) { @@ -17200,7 +17163,7 @@ inline void WriteToString(std::string* result, const Opt_PasteDescription* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17211,12 +17174,12 @@ inline void WriteToString(std::string* result, const Opt_PasteDescription* value template <> inline Ark_RuntimeType runtimeType(const Opt_PasteDescription& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PasteIconStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_PasteIconStyle value) { @@ -17229,7 +17192,7 @@ inline void WriteToString(std::string* result, const Opt_PasteIconStyle* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17240,12 +17203,12 @@ inline void WriteToString(std::string* result, const Opt_PasteIconStyle* value) template <> inline Ark_RuntimeType runtimeType(const Opt_PasteIconStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PanelHeight& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_PanelHeight value) { @@ -17258,7 +17221,7 @@ inline void WriteToString(std::string* result, const Opt_PanelHeight* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17269,12 +17232,12 @@ inline void WriteToString(std::string* result, const Opt_PanelHeight* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_PanelHeight& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NavigationType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_NavigationType value) { @@ -17287,7 +17250,7 @@ inline void WriteToString(std::string* result, const Opt_NavigationType* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17298,14 +17261,14 @@ inline void WriteToString(std::string* result, const Opt_NavigationType* value) template <> inline Ark_RuntimeType runtimeType(const Opt_NavigationType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17316,12 +17279,12 @@ inline void WriteToString(std::string* result, const Opt_NavDestinationContext* template <> inline Ark_RuntimeType runtimeType(const Opt_NavDestinationContext& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NavigationInterception& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_NavigationInterception* value) { @@ -17344,7 +17307,7 @@ inline void WriteToString(std::string* result, const Opt_NavigationInterception* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17355,12 +17318,12 @@ inline void WriteToString(std::string* result, const Opt_NavigationInterception* template <> inline Ark_RuntimeType runtimeType(const Opt_NavigationInterception& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NavigationOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_NavigationOptions* value) { @@ -17379,7 +17342,7 @@ inline void WriteToString(std::string* result, const Opt_NavigationOptions* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17390,12 +17353,12 @@ inline void WriteToString(std::string* result, const Opt_NavigationOptions* valu template <> inline Ark_RuntimeType runtimeType(const Opt_NavigationOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NavigationToolbarOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_NavigationToolbarOptions* value) { @@ -17418,7 +17381,7 @@ inline void WriteToString(std::string* result, const Opt_NavigationToolbarOption result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17429,12 +17392,12 @@ inline void WriteToString(std::string* result, const Opt_NavigationToolbarOption template <> inline Ark_RuntimeType runtimeType(const Opt_NavigationToolbarOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ToolbarItemStatus& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ToolbarItemStatus value) { @@ -17447,7 +17410,7 @@ inline void WriteToString(std::string* result, const Opt_ToolbarItemStatus* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17458,12 +17421,12 @@ inline void WriteToString(std::string* result, const Opt_ToolbarItemStatus* valu template <> inline Ark_RuntimeType runtimeType(const Opt_ToolbarItemStatus& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_ToolbarItem& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -17486,7 +17449,7 @@ inline void WriteToString(std::string* result, const Opt_Array_ToolbarItem* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17497,12 +17460,12 @@ inline void WriteToString(std::string* result, const Opt_Array_ToolbarItem* valu template <> inline Ark_RuntimeType runtimeType(const Opt_Array_ToolbarItem& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NavigationTitleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_NavigationTitleOptions* value) { @@ -17545,7 +17508,7 @@ inline void WriteToString(std::string* result, const Opt_NavigationTitleOptions* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17556,12 +17519,12 @@ inline void WriteToString(std::string* result, const Opt_NavigationTitleOptions* template <> inline Ark_RuntimeType runtimeType(const Opt_NavigationTitleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NavDestinationCustomTitle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_NavDestinationCustomTitle* value) { @@ -17580,7 +17543,7 @@ inline void WriteToString(std::string* result, const Opt_NavDestinationCustomTit result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17591,12 +17554,12 @@ inline void WriteToString(std::string* result, const Opt_NavDestinationCustomTit template <> inline Ark_RuntimeType runtimeType(const Opt_NavDestinationCustomTitle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NavDestinationCommonTitle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_NavDestinationCommonTitle* value) { @@ -17615,7 +17578,7 @@ inline void WriteToString(std::string* result, const Opt_NavDestinationCommonTit result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17626,12 +17589,12 @@ inline void WriteToString(std::string* result, const Opt_NavDestinationCommonTit template <> inline Ark_RuntimeType runtimeType(const Opt_NavDestinationCommonTitle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SystemBarStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SystemBarStyle* value) { @@ -17646,7 +17609,7 @@ inline void WriteToString(std::string* result, const Opt_SystemBarStyle* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17657,12 +17620,12 @@ inline void WriteToString(std::string* result, const Opt_SystemBarStyle* value) template <> inline Ark_RuntimeType runtimeType(const Opt_SystemBarStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_NavigationMenuItem& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -17685,7 +17648,7 @@ inline void WriteToString(std::string* result, const Opt_Array_NavigationMenuIte result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17696,7 +17659,7 @@ inline void WriteToString(std::string* result, const Opt_Array_NavigationMenuIte template <> inline Ark_RuntimeType runtimeType(const Opt_Array_NavigationMenuItem& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceStr_CustomBuilder& value) @@ -17730,7 +17693,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceStr_Custo result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17741,12 +17704,12 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceStr_Custo template <> inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceStr_CustomBuilder& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_MenuItemOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_MenuItemOptions* value) { @@ -17785,7 +17748,7 @@ inline void WriteToString(std::string* result, const Opt_MenuItemOptions* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17796,12 +17759,12 @@ inline void WriteToString(std::string* result, const Opt_MenuItemOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_MenuItemOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DividerStyleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DividerStyleOptions* value) { @@ -17828,7 +17791,7 @@ inline void WriteToString(std::string* result, const Opt_DividerStyleOptions* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17839,12 +17802,12 @@ inline void WriteToString(std::string* result, const Opt_DividerStyleOptions* va template <> inline Ark_RuntimeType runtimeType(const Opt_DividerStyleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ASTCResource& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ASTCResource* value) { @@ -17863,7 +17826,7 @@ inline void WriteToString(std::string* result, const Opt_ASTCResource* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17874,12 +17837,12 @@ inline void WriteToString(std::string* result, const Opt_ASTCResource* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ASTCResource& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DrawableDescriptor& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DrawableDescriptor* value) { @@ -17894,7 +17857,7 @@ inline void WriteToString(std::string* result, const Opt_DrawableDescriptor* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17905,14 +17868,14 @@ inline void WriteToString(std::string* result, const Opt_DrawableDescriptor* val template <> inline Ark_RuntimeType runtimeType(const Opt_DrawableDescriptor& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_Matrix2D* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17923,12 +17886,12 @@ inline void WriteToString(std::string* result, const Opt_Matrix2D* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Matrix2D& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LocationDescription& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_LocationDescription value) { @@ -17941,7 +17904,7 @@ inline void WriteToString(std::string* result, const Opt_LocationDescription* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17952,12 +17915,12 @@ inline void WriteToString(std::string* result, const Opt_LocationDescription* va template <> inline Ark_RuntimeType runtimeType(const Opt_LocationDescription& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LocationIconStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_LocationIconStyle value) { @@ -17970,7 +17933,7 @@ inline void WriteToString(std::string* result, const Opt_LocationIconStyle* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -17981,12 +17944,12 @@ inline void WriteToString(std::string* result, const Opt_LocationIconStyle* valu template <> inline Ark_RuntimeType runtimeType(const Opt_LocationIconStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ListDividerOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ListDividerOptions* value) { @@ -18013,7 +17976,7 @@ inline void WriteToString(std::string* result, const Opt_ListDividerOptions* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18024,12 +17987,12 @@ inline void WriteToString(std::string* result, const Opt_ListDividerOptions* val template <> inline Ark_RuntimeType runtimeType(const Opt_ListDividerOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ListItemGroupStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ListItemGroupStyle value) { @@ -18042,7 +18005,7 @@ inline void WriteToString(std::string* result, const Opt_ListItemGroupStyle* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18053,12 +18016,12 @@ inline void WriteToString(std::string* result, const Opt_ListItemGroupStyle* val template <> inline Ark_RuntimeType runtimeType(const Opt_ListItemGroupStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SwipeEdgeEffect& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SwipeEdgeEffect value) { @@ -18071,7 +18034,7 @@ inline void WriteToString(std::string* result, const Opt_SwipeEdgeEffect* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18082,7 +18045,7 @@ inline void WriteToString(std::string* result, const Opt_SwipeEdgeEffect* value) template <> inline Ark_RuntimeType runtimeType(const Opt_SwipeEdgeEffect& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_CustomBuilder_SwipeActionItem& value) @@ -18116,7 +18079,7 @@ inline void WriteToString(std::string* result, const Opt_Union_CustomBuilder_Swi result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18127,12 +18090,12 @@ inline void WriteToString(std::string* result, const Opt_Union_CustomBuilder_Swi template <> inline Ark_RuntimeType runtimeType(const Opt_Union_CustomBuilder_SwipeActionItem& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_EditMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_EditMode value) { @@ -18145,7 +18108,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18156,12 +18119,12 @@ inline void WriteToString(std::string* result, const Opt_EditMode* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_EditMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ListItemStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ListItemStyle value) { @@ -18174,7 +18137,7 @@ inline void WriteToString(std::string* result, const Opt_ListItemStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18185,12 +18148,12 @@ inline void WriteToString(std::string* result, const Opt_ListItemStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ListItemStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LengthConstrain& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LengthConstrain* value) { @@ -18209,7 +18172,7 @@ inline void WriteToString(std::string* result, const Opt_LengthConstrain* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18220,12 +18183,12 @@ inline void WriteToString(std::string* result, const Opt_LengthConstrain* value) template <> inline Ark_RuntimeType runtimeType(const Opt_LengthConstrain& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ListItemGroupArea& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ListItemGroupArea value) { @@ -18238,7 +18201,7 @@ inline void WriteToString(std::string* result, const Opt_ListItemGroupArea* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18249,12 +18212,12 @@ inline void WriteToString(std::string* result, const Opt_ListItemGroupArea* valu template <> inline Ark_RuntimeType runtimeType(const Opt_ListItemGroupArea& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ChainEdgeEffect& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ChainEdgeEffect value) { @@ -18267,7 +18230,7 @@ inline void WriteToString(std::string* result, const Opt_ChainEdgeEffect* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18278,12 +18241,12 @@ inline void WriteToString(std::string* result, const Opt_ChainEdgeEffect* value) template <> inline Ark_RuntimeType runtimeType(const Opt_ChainEdgeEffect& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CloseSwipeActionOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CloseSwipeActionOptions* value) { @@ -18298,7 +18261,7 @@ inline void WriteToString(std::string* result, const Opt_CloseSwipeActionOptions result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18309,12 +18272,12 @@ inline void WriteToString(std::string* result, const Opt_CloseSwipeActionOptions template <> inline Ark_RuntimeType runtimeType(const Opt_CloseSwipeActionOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DrawingColorFilter& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DrawingColorFilter* value) { @@ -18329,7 +18292,7 @@ inline void WriteToString(std::string* result, const Opt_DrawingColorFilter* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18340,12 +18303,12 @@ inline void WriteToString(std::string* result, const Opt_DrawingColorFilter* val template <> inline Ark_RuntimeType runtimeType(const Opt_DrawingColorFilter& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ColorFilter& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ColorFilter* value) { @@ -18357,7 +18320,7 @@ inline void WriteToString(std::string* result, const Opt_ColorFilter* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18368,7 +18331,7 @@ inline void WriteToString(std::string* result, const Opt_ColorFilter* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ColorFilter& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_String_Resource_PixelMap& value) @@ -18408,7 +18371,7 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Resource_P result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18419,12 +18382,12 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Resource_P template <> inline Ark_RuntimeType runtimeType(const Opt_Union_String_Resource_PixelMap& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ImageContent& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ImageContent value) { @@ -18437,7 +18400,7 @@ inline void WriteToString(std::string* result, const Opt_ImageContent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18448,12 +18411,12 @@ inline void WriteToString(std::string* result, const Opt_ImageContent* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ImageContent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GridRowDirection& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_GridRowDirection value) { @@ -18466,7 +18429,7 @@ inline void WriteToString(std::string* result, const Opt_GridRowDirection* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18477,12 +18440,12 @@ inline void WriteToString(std::string* result, const Opt_GridRowDirection* value template <> inline Ark_RuntimeType runtimeType(const Opt_GridRowDirection& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BreakPoints& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_BreakPoints* value) { @@ -18501,7 +18464,7 @@ inline void WriteToString(std::string* result, const Opt_BreakPoints* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18512,7 +18475,7 @@ inline void WriteToString(std::string* result, const Opt_BreakPoints* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_BreakPoints& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Number_GridRowColumnOption& value) @@ -18546,7 +18509,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_GridRowCol result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18557,7 +18520,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_GridRowCol template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Number_GridRowColumnOption& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Length_GutterOption& value) @@ -18591,7 +18554,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Length_GutterOpti result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18602,12 +18565,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Length_GutterOpti template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Length_GutterOption& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SizeType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SizeType value) { @@ -18620,7 +18583,7 @@ inline void WriteToString(std::string* result, const Opt_SizeType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18631,7 +18594,7 @@ inline void WriteToString(std::string* result, const Opt_SizeType* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SizeType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Number_GridColColumnOption& value) @@ -18665,7 +18628,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_GridColCol result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18676,12 +18639,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_GridColCol template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Number_GridColColumnOption& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GridItemStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_GridItemStyle value) { @@ -18694,7 +18657,7 @@ inline void WriteToString(std::string* result, const Opt_GridItemStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18705,12 +18668,12 @@ inline void WriteToString(std::string* result, const Opt_GridItemStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_GridItemStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GridItemAlignment& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_GridItemAlignment value) { @@ -18723,7 +18686,7 @@ inline void WriteToString(std::string* result, const Opt_GridItemAlignment* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18734,12 +18697,12 @@ inline void WriteToString(std::string* result, const Opt_GridItemAlignment* valu template <> inline Ark_RuntimeType runtimeType(const Opt_GridItemAlignment& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Number_Tuple_Number_Number_Number_Number& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Number_Tuple_Number_Number_Number_Number* value) { @@ -18754,7 +18717,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_Tuple_N result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18765,12 +18728,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_Tuple_N template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_Tuple_Number_Number_Number_Number& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Number_Tuple_Number_Number& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Number_Tuple_Number_Number* value) { @@ -18785,7 +18748,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_Tuple_N result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18796,12 +18759,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_Tuple_N template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_Tuple_Number_Number& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PanDirection& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_PanDirection value) { @@ -18814,7 +18777,7 @@ inline void WriteToString(std::string* result, const Opt_PanDirection* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18825,7 +18788,7 @@ inline void WriteToString(std::string* result, const Opt_PanDirection* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_PanDirection& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceColor_LinearGradient_common& value) @@ -18859,7 +18822,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_Lin result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18870,12 +18833,12 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_Lin template <> inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceColor_LinearGradient_common& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_Tuple_Union_ResourceColor_LinearGradient_common_Number& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -18898,7 +18861,7 @@ inline void WriteToString(std::string* result, const Opt_Array_Tuple_Union_Resou result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18909,12 +18872,12 @@ inline void WriteToString(std::string* result, const Opt_Array_Tuple_Union_Resou template <> inline Ark_RuntimeType runtimeType(const Opt_Array_Tuple_Union_ResourceColor_LinearGradient_common_Number& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FormShape& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_FormShape value) { @@ -18927,7 +18890,7 @@ inline void WriteToString(std::string* result, const Opt_FormShape* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18938,12 +18901,12 @@ inline void WriteToString(std::string* result, const Opt_FormShape* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_FormShape& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FormRenderingMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_FormRenderingMode value) { @@ -18956,7 +18919,7 @@ inline void WriteToString(std::string* result, const Opt_FormRenderingMode* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18967,12 +18930,12 @@ inline void WriteToString(std::string* result, const Opt_FormRenderingMode* valu template <> inline Ark_RuntimeType runtimeType(const Opt_FormRenderingMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FormDimension& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_FormDimension value) { @@ -18985,7 +18948,7 @@ inline void WriteToString(std::string* result, const Opt_FormDimension* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -18996,12 +18959,12 @@ inline void WriteToString(std::string* result, const Opt_FormDimension* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_FormDimension& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_WindowStatusType& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_WindowStatusType* value) { @@ -19016,7 +18979,7 @@ inline void WriteToString(std::string* result, const Opt_WindowStatusType* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19027,12 +18990,12 @@ inline void WriteToString(std::string* result, const Opt_WindowStatusType* value template <> inline Ark_RuntimeType runtimeType(const Opt_WindowStatusType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_AppRotation& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_AppRotation value) { @@ -19045,7 +19008,7 @@ inline void WriteToString(std::string* result, const Opt_AppRotation* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19056,12 +19019,12 @@ inline void WriteToString(std::string* result, const Opt_AppRotation* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_AppRotation& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FoldStatus& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_FoldStatus value) { @@ -19074,7 +19037,7 @@ inline void WriteToString(std::string* result, const Opt_FoldStatus* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19085,12 +19048,12 @@ inline void WriteToString(std::string* result, const Opt_FoldStatus* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_FoldStatus& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FlexSpaceOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_FlexSpaceOptions* value) { @@ -19109,7 +19072,7 @@ inline void WriteToString(std::string* result, const Opt_FlexSpaceOptions* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19120,12 +19083,12 @@ inline void WriteToString(std::string* result, const Opt_FlexSpaceOptions* value template <> inline Ark_RuntimeType runtimeType(const Opt_FlexSpaceOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FlexAlign& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_FlexAlign value) { @@ -19138,7 +19101,7 @@ inline void WriteToString(std::string* result, const Opt_FlexAlign* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19149,12 +19112,12 @@ inline void WriteToString(std::string* result, const Opt_FlexAlign* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_FlexAlign& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ItemAlign& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ItemAlign value) { @@ -19167,7 +19130,7 @@ inline void WriteToString(std::string* result, const Opt_ItemAlign* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19178,12 +19141,12 @@ inline void WriteToString(std::string* result, const Opt_ItemAlign* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ItemAlign& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FlexWrap& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_FlexWrap value) { @@ -19196,7 +19159,7 @@ inline void WriteToString(std::string* result, const Opt_FlexWrap* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19207,12 +19170,12 @@ inline void WriteToString(std::string* result, const Opt_FlexWrap* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_FlexWrap& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FlexDirection& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_FlexDirection value) { @@ -19225,7 +19188,7 @@ inline void WriteToString(std::string* result, const Opt_FlexDirection* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19236,12 +19199,12 @@ inline void WriteToString(std::string* result, const Opt_FlexDirection* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_FlexDirection& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DatePickerDialogOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DatePickerDialogOptions* value) { @@ -19376,7 +19339,7 @@ inline void WriteToString(std::string* result, const Opt_DatePickerDialogOptions result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19387,12 +19350,12 @@ inline void WriteToString(std::string* result, const Opt_DatePickerDialogOptions template <> inline Ark_RuntimeType runtimeType(const Opt_DatePickerDialogOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LinearGradient_data_panel& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LinearGradient_data_panel* value) { @@ -19404,7 +19367,7 @@ inline void WriteToString(std::string* result, const Opt_LinearGradient_data_pan result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19415,12 +19378,12 @@ inline void WriteToString(std::string* result, const Opt_LinearGradient_data_pan template <> inline Ark_RuntimeType runtimeType(const Opt_LinearGradient_data_panel& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_Union_ResourceColor_LinearGradient_data_panel& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -19443,7 +19406,7 @@ inline void WriteToString(std::string* result, const Opt_Array_Union_ResourceCol result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19454,12 +19417,12 @@ inline void WriteToString(std::string* result, const Opt_Array_Union_ResourceCol template <> inline Ark_RuntimeType runtimeType(const Opt_Array_Union_ResourceColor_LinearGradient_data_panel& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DataPanelType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_DataPanelType value) { @@ -19472,7 +19435,7 @@ inline void WriteToString(std::string* result, const Opt_DataPanelType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19483,12 +19446,12 @@ inline void WriteToString(std::string* result, const Opt_DataPanelType* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_DataPanelType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_KeyboardAvoidMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_KeyboardAvoidMode value) { @@ -19501,7 +19464,7 @@ inline void WriteToString(std::string* result, const Opt_KeyboardAvoidMode* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19512,7 +19475,7 @@ inline void WriteToString(std::string* result, const Opt_KeyboardAvoidMode* valu template <> inline Ark_RuntimeType runtimeType(const Opt_KeyboardAvoidMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceColor_EdgeColors& value) @@ -19546,7 +19509,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_Edg result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19557,7 +19520,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_Edg template <> inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceColor_EdgeColors& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_EdgeWidths& value) @@ -19591,7 +19554,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_EdgeWid result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19602,12 +19565,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_EdgeWid template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_EdgeWidths& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_AnimateParam& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_AnimateParam* value) { @@ -19654,7 +19617,7 @@ inline void WriteToString(std::string* result, const Opt_AnimateParam* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19665,12 +19628,12 @@ inline void WriteToString(std::string* result, const Opt_AnimateParam* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_AnimateParam& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ModelType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ModelType value) { @@ -19683,7 +19646,7 @@ inline void WriteToString(std::string* result, const Opt_ModelType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19694,7 +19657,7 @@ inline void WriteToString(std::string* result, const Opt_ModelType* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ModelType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceStr_Scene& value) @@ -19728,7 +19691,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceStr_Scene result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19739,12 +19702,12 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceStr_Scene template <> inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceStr_Scene& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PointerStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_PointerStyle value) { @@ -19757,7 +19720,7 @@ inline void WriteToString(std::string* result, const Opt_PointerStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19768,12 +19731,12 @@ inline void WriteToString(std::string* result, const Opt_PointerStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_PointerStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_UIGestureEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_UIGestureEvent* value) { @@ -19785,7 +19748,7 @@ inline void WriteToString(std::string* result, const Opt_UIGestureEvent* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19796,12 +19759,233 @@ inline void WriteToString(std::string* result, const Opt_UIGestureEvent* value) template <> inline Ark_RuntimeType runtimeType(const Opt_UIGestureEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const VisibleAreaChangeCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const VisibleAreaChangeCallback* 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_VisibleAreaChangeCallback* 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_VisibleAreaChangeCallback& 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; +} +template <> +inline void WriteToString(std::string* result, const Ark_VisibleAreaEventOptions* value) { + result->append("{"); + // Array_Number ratios + result->append(".ratios="); + WriteToString(result, &value->ratios); + // Ark_Number expectedUpdateInterval + result->append(", "); + result->append(".expectedUpdateInterval="); + WriteToString(result, &value->expectedUpdateInterval); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_VisibleAreaEventOptions* 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_VisibleAreaEventOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const SizeChangeCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const SizeChangeCallback* 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_SizeChangeCallback* 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_SizeChangeCallback& 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; +} +template <> +inline void WriteToString(std::string* result, const Callback_MouseEvent_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_MouseEvent_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_MouseEvent_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const HoverCallback& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const HoverCallback* 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_HoverCallback* 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_HoverCallback& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Callback_KeyEvent_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_KeyEvent_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_KeyEvent_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_KeyEvent_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Callback_TouchEvent_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Callback_TouchEvent_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_TouchEvent_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_TouchEvent_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnMoveHandler& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnMoveHandler* value) { @@ -19816,7 +20000,7 @@ inline void WriteToString(std::string* result, const Opt_OnMoveHandler* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19827,12 +20011,12 @@ inline void WriteToString(std::string* result, const Opt_OnMoveHandler* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_OnMoveHandler& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FadingEdgeOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_FadingEdgeOptions* value) { @@ -19847,7 +20031,7 @@ inline void WriteToString(std::string* result, const Opt_FadingEdgeOptions* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19858,12 +20042,12 @@ inline void WriteToString(std::string* result, const Opt_FadingEdgeOptions* valu template <> inline Ark_RuntimeType runtimeType(const Opt_FadingEdgeOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RectShape& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RectShape* value) { @@ -19878,7 +20062,7 @@ inline void WriteToString(std::string* result, const Opt_RectShape* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19889,12 +20073,12 @@ inline void WriteToString(std::string* result, const Opt_RectShape* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_RectShape& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ContentClipMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ContentClipMode value) { @@ -19907,7 +20091,7 @@ inline void WriteToString(std::string* result, const Opt_ContentClipMode* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19918,12 +20102,12 @@ inline void WriteToString(std::string* result, const Opt_ContentClipMode* value) template <> inline Ark_RuntimeType runtimeType(const Opt_ContentClipMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const GestureRecognizerJudgeBeginCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const GestureRecognizerJudgeBeginCallback* value) { @@ -19938,7 +20122,7 @@ inline void WriteToString(std::string* result, const Opt_GestureRecognizerJudgeB result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19949,12 +20133,12 @@ inline void WriteToString(std::string* result, const Opt_GestureRecognizerJudgeB template <> inline Ark_RuntimeType runtimeType(const Opt_GestureRecognizerJudgeBeginCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_AccessibilityOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_AccessibilityOptions* value) { @@ -19969,7 +20153,7 @@ inline void WriteToString(std::string* result, const Opt_AccessibilityOptions* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -19980,12 +20164,12 @@ inline void WriteToString(std::string* result, const Opt_AccessibilityOptions* v template <> inline Ark_RuntimeType runtimeType(const Opt_AccessibilityOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FunctionKey& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_FunctionKey value) { @@ -19998,7 +20182,7 @@ inline void WriteToString(std::string* result, const Opt_FunctionKey* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -20009,43 +20193,12 @@ inline void WriteToString(std::string* result, const Opt_FunctionKey* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_FunctionKey& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const VisibleAreaChangeCallback& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const VisibleAreaChangeCallback* 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_VisibleAreaChangeCallback* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_VisibleAreaChangeCallback& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DismissReason& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_DismissReason value) { @@ -20058,7 +20211,7 @@ inline void WriteToString(std::string* result, const Opt_DismissReason* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -20069,12 +20222,12 @@ inline void WriteToString(std::string* result, const Opt_DismissReason* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_DismissReason& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SheetOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SheetOptions* value) { @@ -20205,7 +20358,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -20216,12 +20369,12 @@ inline void WriteToString(std::string* result, const Opt_SheetOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SheetOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ContentCoverOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ContentCoverOptions* value) { @@ -20264,7 +20417,7 @@ inline void WriteToString(std::string* result, const Opt_ContentCoverOptions* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -20275,12 +20428,12 @@ inline void WriteToString(std::string* result, const Opt_ContentCoverOptions* va template <> inline Ark_RuntimeType runtimeType(const Opt_ContentCoverOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ContextMenuOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ContextMenuOptions* value) { @@ -20355,7 +20508,7 @@ inline void WriteToString(std::string* result, const Opt_ContextMenuOptions* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -20366,12 +20519,12 @@ inline void WriteToString(std::string* result, const Opt_ContextMenuOptions* val template <> inline Ark_RuntimeType runtimeType(const Opt_ContextMenuOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_MenuOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_MenuOptions* value) { @@ -20454,7 +20607,7 @@ inline void WriteToString(std::string* result, const Opt_MenuOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -20465,12 +20618,12 @@ inline void WriteToString(std::string* result, const Opt_MenuOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_MenuOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_MenuElement& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -20493,7 +20646,7 @@ inline void WriteToString(std::string* result, const Opt_Array_MenuElement* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -20504,12 +20657,12 @@ inline void WriteToString(std::string* result, const Opt_Array_MenuElement* valu template <> inline Ark_RuntimeType runtimeType(const Opt_Array_MenuElement& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CustomPopupOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CustomPopupOptions* value) { @@ -20616,7 +20769,7 @@ inline void WriteToString(std::string* result, const Opt_CustomPopupOptions* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -20627,12 +20780,12 @@ inline void WriteToString(std::string* result, const Opt_CustomPopupOptions* val template <> inline Ark_RuntimeType runtimeType(const Opt_CustomPopupOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PopupOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PopupOptions* value) { @@ -20747,7 +20900,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -20758,12 +20911,12 @@ inline void WriteToString(std::string* result, const Opt_PopupOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_PopupOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GeometryTransitionOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_GeometryTransitionOptions* value) { @@ -20782,7 +20935,7 @@ inline void WriteToString(std::string* result, const Opt_GeometryTransitionOptio result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -20793,12 +20946,12 @@ inline void WriteToString(std::string* result, const Opt_GeometryTransitionOptio template <> inline Ark_RuntimeType runtimeType(const Opt_GeometryTransitionOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BlendApplyType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_BlendApplyType value) { @@ -20811,7 +20964,7 @@ inline void WriteToString(std::string* result, const Opt_BlendApplyType* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -20822,12 +20975,12 @@ inline void WriteToString(std::string* result, const Opt_BlendApplyType* value) template <> inline Ark_RuntimeType runtimeType(const Opt_BlendApplyType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Blender& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Blender* value) { @@ -20842,7 +20995,7 @@ inline void WriteToString(std::string* result, const Opt_Blender* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -20853,12 +21006,12 @@ inline void WriteToString(std::string* result, const Opt_Blender* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Blender& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BlendMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_BlendMode value) { @@ -20871,7 +21024,7 @@ inline void WriteToString(std::string* result, const Opt_BlendMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -20882,12 +21035,12 @@ inline void WriteToString(std::string* result, const Opt_BlendMode* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_BlendMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OverlayOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OverlayOptions* value) { @@ -20906,7 +21059,7 @@ inline void WriteToString(std::string* result, const Opt_OverlayOptions* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -20917,12 +21070,12 @@ inline void WriteToString(std::string* result, const Opt_OverlayOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_OverlayOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DragInteractionOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DragInteractionOptions* value) { @@ -20941,7 +21094,7 @@ inline void WriteToString(std::string* result, const Opt_DragInteractionOptions* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -20952,12 +21105,12 @@ inline void WriteToString(std::string* result, const Opt_DragInteractionOptions* template <> inline Ark_RuntimeType runtimeType(const Opt_DragInteractionOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DragPreviewOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DragPreviewOptions* value) { @@ -20980,7 +21133,7 @@ inline void WriteToString(std::string* result, const Opt_DragPreviewOptions* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -20991,12 +21144,12 @@ inline void WriteToString(std::string* result, const Opt_DragPreviewOptions* val template <> inline Ark_RuntimeType runtimeType(const Opt_DragPreviewOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ChainStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ChainStyle value) { @@ -21009,7 +21162,7 @@ inline void WriteToString(std::string* result, const Opt_ChainStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21020,12 +21173,12 @@ inline void WriteToString(std::string* result, const Opt_ChainStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ChainStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_sharedTransitionOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_sharedTransitionOptions* value) { @@ -21060,7 +21213,7 @@ inline void WriteToString(std::string* result, const Opt_sharedTransitionOptions result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21071,12 +21224,12 @@ inline void WriteToString(std::string* result, const Opt_sharedTransitionOptions template <> inline Ark_RuntimeType runtimeType(const Opt_sharedTransitionOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_EffectType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_EffectType value) { @@ -21089,7 +21242,7 @@ inline void WriteToString(std::string* result, const Opt_EffectType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21100,12 +21253,12 @@ inline void WriteToString(std::string* result, const Opt_EffectType* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_EffectType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LinearGradientBlurOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LinearGradientBlurOptions* value) { @@ -21124,7 +21277,7 @@ inline void WriteToString(std::string* result, const Opt_LinearGradientBlurOptio result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21135,12 +21288,12 @@ inline void WriteToString(std::string* result, const Opt_LinearGradientBlurOptio template <> inline Ark_RuntimeType runtimeType(const Opt_LinearGradientBlurOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GestureMask& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_GestureMask value) { @@ -21153,7 +21306,7 @@ inline void WriteToString(std::string* result, const Opt_GestureMask* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21164,12 +21317,12 @@ inline void WriteToString(std::string* result, const Opt_GestureMask* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_GestureMask& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GestureControl_GestureType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_GestureControl_GestureType value) { @@ -21182,7 +21335,7 @@ inline void WriteToString(std::string* result, const Opt_GestureControl_GestureT result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21193,12 +21346,12 @@ inline void WriteToString(std::string* result, const Opt_GestureControl_GestureT template <> inline Ark_RuntimeType runtimeType(const Opt_GestureControl_GestureType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const TransitionFinishCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const TransitionFinishCallback* value) { @@ -21213,7 +21366,7 @@ inline void WriteToString(std::string* result, const Opt_TransitionFinishCallbac result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21224,12 +21377,12 @@ inline void WriteToString(std::string* result, const Opt_TransitionFinishCallbac template <> inline Ark_RuntimeType runtimeType(const Opt_TransitionFinishCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FocusPriority& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_FocusPriority value) { @@ -21242,7 +21395,7 @@ inline void WriteToString(std::string* result, const Opt_FocusPriority* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21253,12 +21406,12 @@ inline void WriteToString(std::string* result, const Opt_FocusPriority* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_FocusPriority& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ForegroundBlurStyleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ForegroundBlurStyleOptions* value) { @@ -21285,7 +21438,7 @@ inline void WriteToString(std::string* result, const Opt_ForegroundBlurStyleOpti result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21296,12 +21449,12 @@ inline void WriteToString(std::string* result, const Opt_ForegroundBlurStyleOpti template <> inline Ark_RuntimeType runtimeType(const Opt_ForegroundBlurStyleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ImageRepeat& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ImageRepeat value) { @@ -21314,7 +21467,7 @@ inline void WriteToString(std::string* result, const Opt_ImageRepeat* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21325,12 +21478,12 @@ inline void WriteToString(std::string* result, const Opt_ImageRepeat* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ImageRepeat& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_Alignment_align& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_Alignment_align* value) { @@ -21345,7 +21498,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_Alignment_align result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21356,12 +21509,12 @@ inline void WriteToString(std::string* result, const Opt_Literal_Alignment_align template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_Alignment_align& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PathShape& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PathShape* value) { @@ -21376,7 +21529,7 @@ inline void WriteToString(std::string* result, const Opt_PathShape* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21387,12 +21540,12 @@ inline void WriteToString(std::string* result, const Opt_PathShape* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_PathShape& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_EllipseShape& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_EllipseShape* value) { @@ -21407,7 +21560,7 @@ inline void WriteToString(std::string* result, const Opt_EllipseShape* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21418,12 +21571,12 @@ inline void WriteToString(std::string* result, const Opt_EllipseShape* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_EllipseShape& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CircleShape& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CircleShape* value) { @@ -21438,7 +21591,7 @@ inline void WriteToString(std::string* result, const Opt_CircleShape* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21449,14 +21602,14 @@ inline void WriteToString(std::string* result, const Opt_CircleShape* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_CircleShape& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_ProgressMask* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21467,12 +21620,12 @@ inline void WriteToString(std::string* result, const Opt_ProgressMask* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ProgressMask& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Tuple_Length_Length& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Tuple_Length_Length* value) { @@ -21491,7 +21644,7 @@ inline void WriteToString(std::string* result, const Opt_Tuple_Length_Length* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21502,12 +21655,12 @@ inline void WriteToString(std::string* result, const Opt_Tuple_Length_Length* va template <> inline Ark_RuntimeType runtimeType(const Opt_Tuple_Length_Length& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DragItemInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DragItemInfo* value) { @@ -21530,7 +21683,7 @@ inline void WriteToString(std::string* result, const Opt_DragItemInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21541,12 +21694,12 @@ inline void WriteToString(std::string* result, const Opt_DragItemInfo* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_DragItemInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DragBehavior& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_DragBehavior value) { @@ -21559,7 +21712,7 @@ inline void WriteToString(std::string* result, const Opt_DragBehavior* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21570,12 +21723,12 @@ inline void WriteToString(std::string* result, const Opt_DragBehavior* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_DragBehavior& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ClickEffect& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ClickEffect* value) { @@ -21594,7 +21747,7 @@ inline void WriteToString(std::string* result, const Opt_ClickEffect* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21605,12 +21758,12 @@ inline void WriteToString(std::string* result, const Opt_ClickEffect* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ClickEffect& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Bias& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Bias* value) { @@ -21629,7 +21782,7 @@ inline void WriteToString(std::string* result, const Opt_Bias* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21640,12 +21793,12 @@ inline void WriteToString(std::string* result, const Opt_Bias* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Bias& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LocalizedVerticalAlignParam& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LocalizedVerticalAlignParam* value) { @@ -21664,7 +21817,7 @@ inline void WriteToString(std::string* result, const Opt_LocalizedVerticalAlignP result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21675,12 +21828,12 @@ inline void WriteToString(std::string* result, const Opt_LocalizedVerticalAlignP template <> inline Ark_RuntimeType runtimeType(const Opt_LocalizedVerticalAlignParam& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LocalizedHorizontalAlignParam& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LocalizedHorizontalAlignParam* value) { @@ -21699,7 +21852,7 @@ inline void WriteToString(std::string* result, const Opt_LocalizedHorizontalAlig result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21710,12 +21863,12 @@ inline void WriteToString(std::string* result, const Opt_LocalizedHorizontalAlig template <> inline Ark_RuntimeType runtimeType(const Opt_LocalizedHorizontalAlignParam& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_String_anchor_VerticalAlign_align& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_String_anchor_VerticalAlign_align* value) { @@ -21734,7 +21887,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_String_anchor_V result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21745,12 +21898,12 @@ inline void WriteToString(std::string* result, const Opt_Literal_String_anchor_V template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_String_anchor_VerticalAlign_align& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_String_anchor_HorizontalAlign_align& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_String_anchor_HorizontalAlign_align* value) { @@ -21769,7 +21922,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_String_anchor_H result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21780,7 +21933,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_String_anchor_H template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_String_anchor_HorizontalAlign_align& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Number_Literal_Number_offset_span& value) @@ -21814,7 +21967,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_Literal_Nu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21825,12 +21978,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_Literal_Nu template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Number_Literal_Number_offset_span& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LocalizedPosition& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LocalizedPosition* value) { @@ -21849,7 +22002,7 @@ inline void WriteToString(std::string* result, const Opt_LocalizedPosition* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21860,12 +22013,12 @@ inline void WriteToString(std::string* result, const Opt_LocalizedPosition* valu template <> inline Ark_RuntimeType runtimeType(const Opt_LocalizedPosition& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_InvertOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_InvertOptions* value) { @@ -21892,7 +22045,7 @@ inline void WriteToString(std::string* result, const Opt_InvertOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21903,12 +22056,12 @@ inline void WriteToString(std::string* result, const Opt_InvertOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_InvertOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_MotionBlurAnchor& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_MotionBlurAnchor* value) { @@ -21927,7 +22080,7 @@ inline void WriteToString(std::string* result, const Opt_MotionBlurAnchor* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21938,12 +22091,12 @@ inline void WriteToString(std::string* result, const Opt_MotionBlurAnchor* value template <> inline Ark_RuntimeType runtimeType(const Opt_MotionBlurAnchor& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TransitionOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TransitionOptions* value) { @@ -21974,7 +22127,7 @@ inline void WriteToString(std::string* result, const Opt_TransitionOptions* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -21985,12 +22138,12 @@ inline void WriteToString(std::string* result, const Opt_TransitionOptions* valu template <> inline Ark_RuntimeType runtimeType(const Opt_TransitionOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_IntentionCode& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_IntentionCode* value) { @@ -22005,7 +22158,7 @@ inline void WriteToString(std::string* result, const Opt_IntentionCode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22016,12 +22169,12 @@ inline void WriteToString(std::string* result, const Opt_IntentionCode* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_IntentionCode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_KeySource& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_KeySource value) { @@ -22034,7 +22187,7 @@ inline void WriteToString(std::string* result, const Opt_KeySource* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22045,12 +22198,12 @@ inline void WriteToString(std::string* result, const Opt_KeySource* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_KeySource& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_KeyType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_KeyType value) { @@ -22063,7 +22216,7 @@ inline void WriteToString(std::string* result, const Opt_KeyType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22074,12 +22227,12 @@ inline void WriteToString(std::string* result, const Opt_KeyType* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_KeyType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_MouseAction& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_MouseAction value) { @@ -22092,7 +22245,7 @@ inline void WriteToString(std::string* result, const Opt_MouseAction* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22103,12 +22256,12 @@ inline void WriteToString(std::string* result, const Opt_MouseAction* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_MouseAction& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_MouseButton& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_MouseButton value) { @@ -22121,7 +22274,7 @@ inline void WriteToString(std::string* result, const Opt_MouseButton* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22132,12 +22285,12 @@ inline void WriteToString(std::string* result, const Opt_MouseButton* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_MouseButton& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_AccessibilityHoverType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_AccessibilityHoverType value) { @@ -22150,7 +22303,7 @@ inline void WriteToString(std::string* result, const Opt_AccessibilityHoverType* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22161,7 +22314,7 @@ inline void WriteToString(std::string* result, const Opt_AccessibilityHoverType* template <> inline Ark_RuntimeType runtimeType(const Opt_AccessibilityHoverType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_EdgeOutlineStyles_OutlineStyle& value) @@ -22195,7 +22348,7 @@ inline void WriteToString(std::string* result, const Opt_Union_EdgeOutlineStyles result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22206,7 +22359,7 @@ inline void WriteToString(std::string* result, const Opt_Union_EdgeOutlineStyles template <> inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeOutlineStyles_OutlineStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_OutlineRadiuses_Dimension& value) @@ -22240,7 +22393,7 @@ inline void WriteToString(std::string* result, const Opt_Union_OutlineRadiuses_D result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22251,7 +22404,7 @@ inline void WriteToString(std::string* result, const Opt_Union_OutlineRadiuses_D template <> inline Ark_RuntimeType runtimeType(const Opt_Union_OutlineRadiuses_Dimension& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_EdgeColors_ResourceColor_LocalizedEdgeColors& value) @@ -22291,7 +22444,7 @@ inline void WriteToString(std::string* result, const Opt_Union_EdgeColors_Resour result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22302,7 +22455,7 @@ inline void WriteToString(std::string* result, const Opt_Union_EdgeColors_Resour template <> inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeColors_ResourceColor_LocalizedEdgeColors& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_EdgeOutlineWidths_Dimension& value) @@ -22336,7 +22489,7 @@ inline void WriteToString(std::string* result, const Opt_Union_EdgeOutlineWidths result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22347,7 +22500,7 @@ inline void WriteToString(std::string* result, const Opt_Union_EdgeOutlineWidths template <> inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeOutlineWidths_Dimension& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths& value) @@ -22387,7 +22540,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Length_EdgeWidths result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22398,7 +22551,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Length_EdgeWidths template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_String_Resource_LinearGradient_common& value) @@ -22438,7 +22591,7 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Resource_L result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22449,12 +22602,12 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Resource_L template <> inline Ark_RuntimeType runtimeType(const Opt_Union_String_Resource_LinearGradient_common& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RepeatMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_RepeatMode value) { @@ -22467,7 +22620,7 @@ inline void WriteToString(std::string* result, const Opt_RepeatMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22478,7 +22631,7 @@ inline void WriteToString(std::string* result, const Opt_RepeatMode* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_RepeatMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths& value) @@ -22518,7 +22671,7 @@ inline void WriteToString(std::string* result, const Opt_Union_EdgeWidths_Length result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22529,7 +22682,7 @@ inline void WriteToString(std::string* result, const Opt_Union_EdgeWidths_Length template <> inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_EdgeStyles_BorderStyle& value) @@ -22563,7 +22716,7 @@ inline void WriteToString(std::string* result, const Opt_Union_EdgeStyles_Border result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22574,7 +22727,7 @@ inline void WriteToString(std::string* result, const Opt_Union_EdgeStyles_Border template <> inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeStyles_BorderStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_BorderRadiuses_Length_LocalizedBorderRadiuses& value) @@ -22614,7 +22767,7 @@ inline void WriteToString(std::string* result, const Opt_Union_BorderRadiuses_Le result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22625,7 +22778,7 @@ inline void WriteToString(std::string* result, const Opt_Union_BorderRadiuses_Le template <> inline Ark_RuntimeType runtimeType(const Opt_Union_BorderRadiuses_Length_LocalizedBorderRadiuses& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_EdgeWidths_Length_LocalizedEdgeWidths& value) @@ -22665,7 +22818,7 @@ inline void WriteToString(std::string* result, const Opt_Union_EdgeWidths_Length result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22676,12 +22829,12 @@ inline void WriteToString(std::string* result, const Opt_Union_EdgeWidths_Length template <> inline Ark_RuntimeType runtimeType(const Opt_Union_EdgeWidths_Length_LocalizedEdgeWidths& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DrawingLattice& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DrawingLattice* value) { @@ -22696,7 +22849,7 @@ inline void WriteToString(std::string* result, const Opt_DrawingLattice* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22707,12 +22860,12 @@ inline void WriteToString(std::string* result, const Opt_DrawingLattice* value) template <> inline Ark_RuntimeType runtimeType(const Opt_DrawingLattice& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ImageSize& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ImageSize value) { @@ -22725,7 +22878,7 @@ inline void WriteToString(std::string* result, const Opt_ImageSize* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22736,12 +22889,12 @@ inline void WriteToString(std::string* result, const Opt_ImageSize* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ImageSize& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PixelRoundCalcPolicy& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_PixelRoundCalcPolicy value) { @@ -22754,7 +22907,7 @@ inline void WriteToString(std::string* result, const Opt_PixelRoundCalcPolicy* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22765,12 +22918,12 @@ inline void WriteToString(std::string* result, const Opt_PixelRoundCalcPolicy* v template <> inline Ark_RuntimeType runtimeType(const Opt_PixelRoundCalcPolicy& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TouchTestStrategy& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_TouchTestStrategy value) { @@ -22783,7 +22936,7 @@ inline void WriteToString(std::string* result, const Opt_TouchTestStrategy* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22794,12 +22947,12 @@ inline void WriteToString(std::string* result, const Opt_TouchTestStrategy* valu template <> inline Ark_RuntimeType runtimeType(const Opt_TouchTestStrategy& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RectResult& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RectResult* value) { @@ -22826,7 +22979,7 @@ inline void WriteToString(std::string* result, const Opt_RectResult* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22837,12 +22990,12 @@ inline void WriteToString(std::string* result, const Opt_RectResult* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_RectResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_Rectangle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -22865,7 +23018,7 @@ inline void WriteToString(std::string* result, const Opt_Array_Rectangle* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22876,14 +23029,14 @@ inline void WriteToString(std::string* result, const Opt_Array_Rectangle* value) template <> inline Ark_RuntimeType runtimeType(const Opt_Array_Rectangle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_DrawModifier* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22894,12 +23047,59 @@ inline void WriteToString(std::string* result, const Opt_DrawModifier* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_DrawModifier& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_DragResult& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_DragResult value) { + result->append("Ark_DragResult("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DragResult* 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_DragResult& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline void WriteToString(std::string* result, const Opt_UnifiedData* 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_UnifiedData& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_TransitionEffect_appear_disappear& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_TransitionEffect_appear_disappear* value) { @@ -22918,7 +23118,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_TransitionEffec result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22929,12 +23129,12 @@ inline void WriteToString(std::string* result, const Opt_Literal_TransitionEffec template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_TransitionEffect_appear_disappear& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TransitionEdge& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_TransitionEdge value) { @@ -22947,7 +23147,7 @@ inline void WriteToString(std::string* result, const Opt_TransitionEdge* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22958,19 +23158,19 @@ inline void WriteToString(std::string* result, const Opt_TransitionEdge* value) template <> inline Ark_RuntimeType runtimeType(const Opt_TransitionEdge& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Undefined& value) { - return ARK_RUNTIME_UNDEFINED; + return INTEROP_RUNTIME_UNDEFINED; } template <> inline void WriteToString(std::string* result, const Opt_Undefined* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -22981,12 +23181,12 @@ inline void WriteToString(std::string* result, const Opt_Undefined* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Undefined& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ColumnSplitDividerStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ColumnSplitDividerStyle* value) { @@ -23005,7 +23205,7 @@ inline void WriteToString(std::string* result, const Opt_ColumnSplitDividerStyle result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23016,12 +23216,12 @@ inline void WriteToString(std::string* result, const Opt_ColumnSplitDividerStyle template <> inline Ark_RuntimeType runtimeType(const Opt_ColumnSplitDividerStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_IlluminatedType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_IlluminatedType value) { @@ -23034,7 +23234,7 @@ inline void WriteToString(std::string* result, const Opt_IlluminatedType* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23045,12 +23245,12 @@ inline void WriteToString(std::string* result, const Opt_IlluminatedType* value) template <> inline Ark_RuntimeType runtimeType(const Opt_IlluminatedType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LightSource& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LightSource* value) { @@ -23081,7 +23281,7 @@ inline void WriteToString(std::string* result, const Opt_LightSource* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23092,12 +23292,12 @@ inline void WriteToString(std::string* result, const Opt_LightSource* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_LightSource& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SelectStatus& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SelectStatus value) { @@ -23110,7 +23310,7 @@ inline void WriteToString(std::string* result, const Opt_SelectStatus* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23121,14 +23321,14 @@ inline void WriteToString(std::string* result, const Opt_SelectStatus* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SelectStatus& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_DrawingRenderingContext* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23139,14 +23339,14 @@ inline void WriteToString(std::string* result, const Opt_DrawingRenderingContext template <> inline Ark_RuntimeType runtimeType(const Opt_DrawingRenderingContext& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23157,14 +23357,14 @@ inline void WriteToString(std::string* result, const Opt_CanvasRenderingContext2 template <> inline Ark_RuntimeType runtimeType(const Opt_CanvasRenderingContext2D& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_ImageBitmap* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23175,12 +23375,12 @@ inline void WriteToString(std::string* result, const Opt_ImageBitmap* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ImageBitmap& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ImageData& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ImageData* value) { @@ -23203,7 +23403,7 @@ inline void WriteToString(std::string* result, const Opt_ImageData* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23214,14 +23414,14 @@ inline void WriteToString(std::string* result, const Opt_ImageData* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ImageData& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_Path2D* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23232,12 +23432,12 @@ inline void WriteToString(std::string* result, const Opt_Path2D* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Path2D& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CalendarDialogOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CalendarDialogOptions* value) { @@ -23312,7 +23512,7 @@ inline void WriteToString(std::string* result, const Opt_CalendarDialogOptions* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23323,12 +23523,12 @@ inline void WriteToString(std::string* result, const Opt_CalendarDialogOptions* template <> inline Ark_RuntimeType runtimeType(const Opt_CalendarDialogOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CalendarAlign& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_CalendarAlign value) { @@ -23341,7 +23541,7 @@ inline void WriteToString(std::string* result, const Opt_CalendarAlign* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23352,14 +23552,14 @@ inline void WriteToString(std::string* result, const Opt_CalendarAlign* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_CalendarAlign& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_CalendarController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23370,12 +23570,12 @@ inline void WriteToString(std::string* result, const Opt_CalendarController* val template <> inline Ark_RuntimeType runtimeType(const Opt_CalendarController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_MonthData& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_MonthData* value) { @@ -23398,7 +23598,7 @@ inline void WriteToString(std::string* result, const Opt_MonthData* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23409,12 +23609,12 @@ inline void WriteToString(std::string* result, const Opt_MonthData* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_MonthData& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_Number_day_month_year& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_Number_day_month_year* value) { @@ -23437,7 +23637,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_Number_day_mont result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23448,12 +23648,12 @@ inline void WriteToString(std::string* result, const Opt_Literal_Number_day_mont template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_day_month_year& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ControlSize& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ControlSize value) { @@ -23466,7 +23666,7 @@ inline void WriteToString(std::string* result, const Opt_ControlSize* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23477,12 +23677,12 @@ inline void WriteToString(std::string* result, const Opt_ControlSize* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ControlSize& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BadgeStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_BadgeStyle* value) { @@ -23521,7 +23721,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23532,7 +23732,7 @@ inline void WriteToString(std::string* result, const Opt_BadgeStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_BadgeStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_BadgePosition_Position& value) @@ -23566,7 +23766,7 @@ inline void WriteToString(std::string* result, const Opt_Union_BadgePosition_Pos result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23577,12 +23777,12 @@ inline void WriteToString(std::string* result, const Opt_Union_BadgePosition_Pos template <> inline Ark_RuntimeType runtimeType(const Opt_Union_BadgePosition_Position& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ScrollMotion& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ScrollMotion* value) { @@ -23594,7 +23794,7 @@ inline void WriteToString(std::string* result, const Opt_ScrollMotion* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23605,12 +23805,12 @@ inline void WriteToString(std::string* result, const Opt_ScrollMotion* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ScrollMotion& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FrictionMotion& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_FrictionMotion* value) { @@ -23622,7 +23822,7 @@ inline void WriteToString(std::string* result, const Opt_FrictionMotion* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23633,12 +23833,12 @@ inline void WriteToString(std::string* result, const Opt_FrictionMotion* value) template <> inline Ark_RuntimeType runtimeType(const Opt_FrictionMotion& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SpringMotion& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SpringMotion* value) { @@ -23650,7 +23850,7 @@ inline void WriteToString(std::string* result, const Opt_SpringMotion* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23661,12 +23861,12 @@ inline void WriteToString(std::string* result, const Opt_SpringMotion* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SpringMotion& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_IndexerAlign& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_IndexerAlign value) { @@ -23679,7 +23879,7 @@ inline void WriteToString(std::string* result, const Opt_IndexerAlign* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23690,12 +23890,12 @@ inline void WriteToString(std::string* result, const Opt_IndexerAlign* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_IndexerAlign& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_AlertDialogParamWithOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_AlertDialogParamWithOptions* value) { @@ -23814,7 +24014,7 @@ inline void WriteToString(std::string* result, const Opt_AlertDialogParamWithOpt result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23825,12 +24025,12 @@ inline void WriteToString(std::string* result, const Opt_AlertDialogParamWithOpt template <> inline Ark_RuntimeType runtimeType(const Opt_AlertDialogParamWithOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_AlertDialogParamWithButtons& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_AlertDialogParamWithButtons* value) { @@ -23949,7 +24149,7 @@ inline void WriteToString(std::string* result, const Opt_AlertDialogParamWithBut result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -23960,12 +24160,12 @@ inline void WriteToString(std::string* result, const Opt_AlertDialogParamWithBut template <> inline Ark_RuntimeType runtimeType(const Opt_AlertDialogParamWithButtons& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_AlertDialogParamWithConfirm& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_AlertDialogParamWithConfirm* value) { @@ -24080,7 +24280,7 @@ inline void WriteToString(std::string* result, const Opt_AlertDialogParamWithCon result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24091,12 +24291,12 @@ inline void WriteToString(std::string* result, const Opt_AlertDialogParamWithCon template <> inline Ark_RuntimeType runtimeType(const Opt_AlertDialogParamWithConfirm& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ActionSheetOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ActionSheetOptions* value) { @@ -24207,7 +24407,7 @@ inline void WriteToString(std::string* result, const Opt_ActionSheetOptions* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24218,99 +24418,14 @@ inline void WriteToString(std::string* result, const Opt_ActionSheetOptions* val template <> inline Ark_RuntimeType runtimeType(const Opt_ActionSheetOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_ClickEvent& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_ClickEvent* value) { - result->append("{"); - // Ark_EventTarget target - result->append(".target="); - WriteToString(result, &value->target); - // Ark_Number timestamp - result->append(", "); - result->append(".timestamp="); - WriteToString(result, &value->timestamp); - // Ark_SourceType source - result->append(", "); - result->append(".source="); - WriteToString(result, value->source); - // Ark_Number axisHorizontal - result->append(", "); - result->append(".axisHorizontal="); - WriteToString(result, &value->axisHorizontal); - // Ark_Number axisVertical - result->append(", "); - result->append(".axisVertical="); - WriteToString(result, &value->axisVertical); - // Ark_Number pressure - result->append(", "); - result->append(".pressure="); - WriteToString(result, &value->pressure); - // Ark_Number tiltX - result->append(", "); - result->append(".tiltX="); - WriteToString(result, &value->tiltX); - // Ark_Number tiltY - result->append(", "); - result->append(".tiltY="); - WriteToString(result, &value->tiltY); - // Ark_SourceTool sourceTool - result->append(", "); - result->append(".sourceTool="); - WriteToString(result, value->sourceTool); - // Ark_Number deviceId - result->append(", "); - result->append(".deviceId="); - WriteToString(result, &value->deviceId); - // Ark_Number displayX - result->append(", "); - result->append(".displayX="); - WriteToString(result, &value->displayX); - // Ark_Number displayY - result->append(", "); - result->append(".displayY="); - WriteToString(result, &value->displayY); - // Ark_Number windowX - result->append(", "); - result->append(".windowX="); - WriteToString(result, &value->windowX); - // Ark_Number windowY - result->append(", "); - result->append(".windowY="); - WriteToString(result, &value->windowY); - // Ark_Number screenX - result->append(", "); - result->append(".screenX="); - WriteToString(result, &value->screenX); - // Ark_Number screenY - result->append(", "); - result->append(".screenY="); - WriteToString(result, &value->screenY); - // Ark_Number x - result->append(", "); - result->append(".x="); - WriteToString(result, &value->x); - // Ark_Number y - result->append(", "); - result->append(".y="); - WriteToString(result, &value->y); - // Callback_Void preventDefault - result->append(", "); - result->append(".preventDefault="); - WriteToString(result, &value->preventDefault); - result->append("}"); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24321,12 +24436,12 @@ inline void WriteToString(std::string* result, const Opt_ClickEvent* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ClickEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_RangeUpdate& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_RangeUpdate* value) { @@ -24341,7 +24456,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_RangeUpdate* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24352,12 +24467,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_RangeUpdate* v template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_RangeUpdate& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_WithThemeOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_WithThemeOptions* value) { @@ -24376,7 +24491,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24387,12 +24502,12 @@ inline void WriteToString(std::string* result, const Opt_WithThemeOptions* value template <> inline Ark_RuntimeType runtimeType(const Opt_WithThemeOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const WithThemeInterface& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const WithThemeInterface* value) { @@ -24407,7 +24522,7 @@ inline void WriteToString(std::string* result, const Opt_WithThemeInterface* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24418,12 +24533,12 @@ inline void WriteToString(std::string* result, const Opt_WithThemeInterface* val template <> inline Ark_RuntimeType runtimeType(const Opt_WithThemeInterface& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Type_NavigationAttribute_customNavContentTransition_delegate& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Type_NavigationAttribute_customNavContentTransition_delegate* value) { @@ -24438,7 +24553,7 @@ inline void WriteToString(std::string* result, const Opt_Type_NavigationAttribut result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24449,12 +24564,12 @@ inline void WriteToString(std::string* result, const Opt_Type_NavigationAttribut template <> inline Ark_RuntimeType runtimeType(const Opt_Type_NavigationAttribute_customNavContentTransition_delegate& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const SliderTriggerChangeCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const SliderTriggerChangeCallback* value) { @@ -24469,7 +24584,7 @@ inline void WriteToString(std::string* result, const Opt_SliderTriggerChangeCall result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24480,72 +24595,12 @@ inline void WriteToString(std::string* result, const Opt_SliderTriggerChangeCall template <> inline Ark_RuntimeType runtimeType(const Opt_SliderTriggerChangeCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const ScrollOnScrollCallback& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const ScrollOnScrollCallback* 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_ScrollOnScrollCallback* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_ScrollOnScrollCallback& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_RouteType& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_RouteType value) { - result->append("Ark_RouteType("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_RouteType* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_RouteType& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const PageTransitionCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const PageTransitionCallback* value) { @@ -24560,7 +24615,7 @@ inline void WriteToString(std::string* result, const Opt_PageTransitionCallback* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24571,12 +24626,12 @@ inline void WriteToString(std::string* result, const Opt_PageTransitionCallback* template <> inline Ark_RuntimeType runtimeType(const Opt_PageTransitionCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnScrollCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnScrollCallback* value) { @@ -24591,7 +24646,7 @@ inline void WriteToString(std::string* result, const Opt_OnScrollCallback* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24602,12 +24657,12 @@ inline void WriteToString(std::string* result, const Opt_OnScrollCallback* value template <> inline Ark_RuntimeType runtimeType(const Opt_OnScrollCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_IsolatedOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_IsolatedOptions* value) { @@ -24626,7 +24681,7 @@ inline void WriteToString(std::string* result, const Opt_IsolatedOptions* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24637,12 +24692,12 @@ inline void WriteToString(std::string* result, const Opt_IsolatedOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_IsolatedOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const IsolatedComponentInterface& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const IsolatedComponentInterface* value) { @@ -24657,7 +24712,7 @@ inline void WriteToString(std::string* result, const Opt_IsolatedComponentInterf result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24668,43 +24723,12 @@ inline void WriteToString(std::string* result, const Opt_IsolatedComponentInterf template <> inline Ark_RuntimeType runtimeType(const Opt_IsolatedComponentInterface& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const HoverCallback& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const HoverCallback* 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_HoverCallback* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_HoverCallback& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_WithThemeAttribute& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_WithThemeAttribute* value) { @@ -24716,7 +24740,7 @@ inline void WriteToString(std::string* result, const Opt_WithThemeAttribute* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24727,12 +24751,12 @@ inline void WriteToString(std::string* result, const Opt_WithThemeAttribute* val template <> inline Ark_RuntimeType runtimeType(const Opt_WithThemeAttribute& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_WithThemeAttribute_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_WithThemeAttribute_Void* value) { @@ -24747,7 +24771,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_WithThemeAttri result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24758,12 +24782,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_WithThemeAttri template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_WithThemeAttribute_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_WebResourceResponse_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_WebResourceResponse_Void* value) { @@ -24778,7 +24802,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_WebResourceRes result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24789,12 +24813,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_WebResourceRes template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_WebResourceResponse_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_WebKeyboardOptions_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_WebKeyboardOptions_Void* value) { @@ -24809,7 +24833,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_WebKeyboardOpt result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24820,12 +24844,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_WebKeyboardOpt template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_WebKeyboardOptions_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Union_CustomBuilder_DragItemInfo_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Union_CustomBuilder_DragItemInfo_Void* value) { @@ -24840,7 +24864,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Union_CustomBu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24851,12 +24875,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Union_CustomBu template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Union_CustomBuilder_DragItemInfo_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Tuple_Number_Number_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Tuple_Number_Number_Void* value) { @@ -24871,7 +24895,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Tuple_Number_N result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24882,12 +24906,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Tuple_Number_N template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Tuple_Number_Number_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Tuple_Number_Number_Number_Number_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Tuple_Number_Number_Number_Number_Void* value) { @@ -24902,7 +24926,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Tuple_Number_N result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24913,12 +24937,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Tuple_Number_N template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Tuple_Number_Number_Number_Number_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_TouchResult_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_TouchResult_Void* value) { @@ -24933,7 +24957,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_TouchResult_Vo result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24944,12 +24968,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_TouchResult_Vo template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_TouchResult_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_T_Any_this& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_T_Any_this* value) { @@ -24964,7 +24988,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_T_Any_this* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -24975,12 +24999,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_T_Any_this* va template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_T_Any_this& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_String_Unknown_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_String_Unknown_Void* value) { @@ -24995,7 +25019,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_String_Unknown result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25006,12 +25030,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_String_Unknown template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_String_Unknown_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Pointer_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Pointer_Void* value) { @@ -25026,7 +25050,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Pointer_Void* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25037,12 +25061,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Pointer_Void* template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Pointer_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Opt_TabContentAnimatedTransition_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Opt_TabContentAnimatedTransition_Void* value) { @@ -25057,7 +25081,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_TabContent result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25068,12 +25092,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_TabContent template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_TabContentAnimatedTransition_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Opt_StyledString_Opt_Array_String_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Opt_StyledString_Opt_Array_String_Void* value) { @@ -25088,7 +25112,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_StyledStri result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25099,12 +25123,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_StyledStri template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_StyledString_Opt_Array_String_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Opt_NavigationAnimatedTransition_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Opt_NavigationAnimatedTransition_Void* value) { @@ -25119,7 +25143,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_Navigation result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25130,12 +25154,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_Navigation template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_NavigationAnimatedTransition_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + 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 ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Opt_Array_String_Void* value) { @@ -25150,7 +25174,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_Array_Stri result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25161,12 +25185,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Opt_Array_Stri template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Opt_Array_String_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnScrollFrameBeginHandlerResult_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnScrollFrameBeginHandlerResult_Void* value) { @@ -25181,7 +25205,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnScrollFrameB result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25192,12 +25216,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnScrollFrameB template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnScrollFrameBeginHandlerResult_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OffsetResult_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OffsetResult_Void* value) { @@ -25212,7 +25236,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OffsetResult_V result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25223,14 +25247,14 @@ inline void WriteToString(std::string* result, const Opt_Callback_OffsetResult_V template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OffsetResult_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_NavigationTransitionProxy* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25241,41 +25265,12 @@ inline void WriteToString(std::string* result, const Opt_NavigationTransitionPro template <> inline Ark_RuntimeType runtimeType(const Opt_NavigationTransitionProxy& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_NavigationTitleMode& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_NavigationTitleMode value) { - result->append("Ark_NavigationTitleMode("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_NavigationTitleMode* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationTitleMode& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_NavigationTitleMode_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_NavigationTitleMode_Void* value) { @@ -25290,7 +25285,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_NavigationTitl result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25301,12 +25296,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_NavigationTitl template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_NavigationTitleMode_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_NavigationMode_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_NavigationMode_Void* value) { @@ -25321,7 +25316,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_NavigationMode result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25332,12 +25327,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_NavigationMode template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_NavigationMode_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Literal_Number_offsetRemain_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Literal_Number_offsetRemain_Void* value) { @@ -25352,7 +25347,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Literal_Number result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25363,12 +25358,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Literal_Number template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Literal_Number_offsetRemain_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_IsolatedComponentAttribute& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_IsolatedComponentAttribute* value) { @@ -25380,7 +25375,7 @@ inline void WriteToString(std::string* result, const Opt_IsolatedComponentAttrib result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25391,12 +25386,12 @@ inline void WriteToString(std::string* result, const Opt_IsolatedComponentAttrib template <> inline Ark_RuntimeType runtimeType(const Opt_IsolatedComponentAttribute& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_IsolatedComponentAttribute_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_IsolatedComponentAttribute_Void* value) { @@ -25411,7 +25406,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_IsolatedCompon result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25422,12 +25417,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_IsolatedCompon template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_IsolatedComponentAttribute_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_HitTestMode_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_HitTestMode_Void* value) { @@ -25442,7 +25437,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_HitTestMode_Vo result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25453,12 +25448,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_HitTestMode_Vo template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_HitTestMode_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_GestureRecognizer_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_GestureRecognizer_Void* value) { @@ -25473,7 +25468,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_GestureRecogni result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25484,12 +25479,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_GestureRecogni template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_GestureRecognizer_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_GestureJudgeResult_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_GestureJudgeResult_Void* value) { @@ -25504,7 +25499,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_GestureJudgeRe result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25515,15 +25510,15 @@ inline void WriteToString(std::string* result, const Opt_Callback_GestureJudgeRe template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_GestureJudgeResult_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + 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_CustomBuilder_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_ComputedBarAttribute_Void* value) { +inline void WriteToString(std::string* result, const Callback_CustomBuilder_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25531,11 +25526,11 @@ 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_CustomBuilder_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25544,17 +25539,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_CustomBuilder_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_Callback_Any_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_ComputedBarAttribute_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Callback_Any_Void* value) { +inline void WriteToString(std::string* result, const Callback_ComputedBarAttribute_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -25562,11 +25557,11 @@ inline void WriteToString(std::string* result, const Callback_Callback_Any_Void* result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Callback_Any_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="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25575,14 +25570,14 @@ inline void WriteToString(std::string* result, const Opt_Callback_Callback_Any_V result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Callback_Any_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_ComputedBarAttribute_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Array_String_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Array_String_Void* value) { @@ -25597,7 +25592,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Array_String_V result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25608,12 +25603,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Array_String_V template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Array_String_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const ButtonTriggerClickCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const ButtonTriggerClickCallback* value) { @@ -25628,7 +25623,7 @@ inline void WriteToString(std::string* result, const Opt_ButtonTriggerClickCallb result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25639,14 +25634,14 @@ inline void WriteToString(std::string* result, const Opt_ButtonTriggerClickCallb template <> inline Ark_RuntimeType runtimeType(const Opt_ButtonTriggerClickCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_LinearIndicatorController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25657,12 +25652,12 @@ inline void WriteToString(std::string* result, const Opt_LinearIndicatorControll template <> inline Ark_RuntimeType runtimeType(const Opt_LinearIndicatorController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_StyleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_StyleOptions* value) { @@ -25689,7 +25684,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25700,12 +25695,12 @@ inline void WriteToString(std::string* result, const Opt_StyleOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_StyleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_StyleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -25728,7 +25723,7 @@ inline void WriteToString(std::string* result, const Opt_Array_StyleOptions* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25739,7 +25734,7 @@ inline void WriteToString(std::string* result, const Opt_Array_StyleOptions* val template <> inline Ark_RuntimeType runtimeType(const Opt_Array_StyleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_String_ImageAttachment_CustomSpan& value) @@ -25779,7 +25774,7 @@ inline void WriteToString(std::string* result, const Opt_Union_String_ImageAttac result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25790,12 +25785,12 @@ inline void WriteToString(std::string* result, const Opt_Union_String_ImageAttac template <> inline Ark_RuntimeType runtimeType(const Opt_Union_String_ImageAttachment_CustomSpan& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_Number_code_Want_want& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_Number_code_Want_want* value) { @@ -25814,7 +25809,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_Number_code_Wan result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25825,12 +25820,12 @@ inline void WriteToString(std::string* result, const Opt_Literal_Number_code_Wan template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_code_Want_want& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Literal_Number_code_Want_want_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Literal_Number_code_Want_want_Void* value) { @@ -25845,7 +25840,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Literal_Number result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25856,12 +25851,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Literal_Number template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Literal_Number_code_Want_want_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ReceiveCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ReceiveCallback* value) { @@ -25876,7 +25871,7 @@ inline void WriteToString(std::string* result, const Opt_ReceiveCallback* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25887,12 +25882,12 @@ inline void WriteToString(std::string* result, const Opt_ReceiveCallback* value) template <> inline Ark_RuntimeType runtimeType(const Opt_ReceiveCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_UIExtensionOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_UIExtensionOptions* value) { @@ -25919,7 +25914,7 @@ inline void WriteToString(std::string* result, const Opt_UIExtensionOptions* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25930,14 +25925,14 @@ inline void WriteToString(std::string* result, const Opt_UIExtensionOptions* val template <> inline Ark_RuntimeType runtimeType(const Opt_UIExtensionOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_UIExtensionProxy* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25948,12 +25943,12 @@ inline void WriteToString(std::string* result, const Opt_UIExtensionProxy* value template <> inline Ark_RuntimeType runtimeType(const Opt_UIExtensionProxy& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_WaterFlowOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_WaterFlowOptions* value) { @@ -25980,7 +25975,7 @@ inline void WriteToString(std::string* result, const Opt_WaterFlowOptions* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -25991,12 +25986,12 @@ inline void WriteToString(std::string* result, const Opt_WaterFlowOptions* value template <> inline Ark_RuntimeType runtimeType(const Opt_WaterFlowOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_SectionOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -26019,7 +26014,7 @@ inline void WriteToString(std::string* result, const Opt_Array_SectionOptions* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26030,12 +26025,12 @@ inline void WriteToString(std::string* result, const Opt_Array_SectionOptions* v template <> inline Ark_RuntimeType runtimeType(const Opt_Array_SectionOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_WindowAnimationTarget& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_WindowAnimationTarget* value) { @@ -26062,7 +26057,7 @@ inline void WriteToString(std::string* result, const Opt_WindowAnimationTarget* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26073,41 +26068,12 @@ inline void WriteToString(std::string* result, const Opt_WindowAnimationTarget* template <> inline Ark_RuntimeType runtimeType(const Opt_WindowAnimationTarget& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_SideBarPosition& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_SideBarPosition value) { - result->append("Ark_SideBarPosition("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_SideBarPosition* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_SideBarPosition& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ButtonStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ButtonStyle* value) { @@ -26138,7 +26104,7 @@ inline void WriteToString(std::string* result, const Opt_ButtonStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26149,12 +26115,41 @@ inline void WriteToString(std::string* result, const Opt_ButtonStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ButtonStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SideBarPosition& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_SideBarPosition value) { + result->append("Ark_SideBarPosition("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SideBarPosition* 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_SideBarPosition& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SideBarContainerType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SideBarContainerType value) { @@ -26167,7 +26162,7 @@ inline void WriteToString(std::string* result, const Opt_SideBarContainerType* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26178,12 +26173,12 @@ inline void WriteToString(std::string* result, const Opt_SideBarContainerType* v template <> inline Ark_RuntimeType runtimeType(const Opt_SideBarContainerType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnNativeLoadCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnNativeLoadCallback* value) { @@ -26198,7 +26193,7 @@ inline void WriteToString(std::string* result, const Opt_OnNativeLoadCallback* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26209,12 +26204,12 @@ inline void WriteToString(std::string* result, const Opt_OnNativeLoadCallback* v template <> inline Ark_RuntimeType runtimeType(const Opt_OnNativeLoadCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_XComponentOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_XComponentOptions* value) { @@ -26237,7 +26232,7 @@ inline void WriteToString(std::string* result, const Opt_XComponentOptions* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26248,12 +26243,12 @@ inline void WriteToString(std::string* result, const Opt_XComponentOptions* valu template <> inline Ark_RuntimeType runtimeType(const Opt_XComponentOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Type_XComponentInterface_value& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Type_XComponentInterface_value* value) { @@ -26280,7 +26275,7 @@ inline void WriteToString(std::string* result, const Opt_Type_XComponentInterfac result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26291,41 +26286,12 @@ inline void WriteToString(std::string* result, const Opt_Type_XComponentInterfac template <> inline Ark_RuntimeType runtimeType(const Opt_Type_XComponentInterface_value& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_WebKeyboardAvoidMode& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_WebKeyboardAvoidMode value) { - result->append("Ark_WebKeyboardAvoidMode("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_WebKeyboardAvoidMode* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardAvoidMode& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_AdsBlockedDetails& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_AdsBlockedDetails* value) { @@ -26344,7 +26310,7 @@ inline void WriteToString(std::string* result, const Opt_AdsBlockedDetails* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26355,12 +26321,12 @@ inline void WriteToString(std::string* result, const Opt_AdsBlockedDetails* valu template <> inline Ark_RuntimeType runtimeType(const Opt_AdsBlockedDetails& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnAdsBlockedCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnAdsBlockedCallback* value) { @@ -26375,7 +26341,7 @@ inline void WriteToString(std::string* result, const Opt_OnAdsBlockedCallback* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26386,12 +26352,12 @@ inline void WriteToString(std::string* result, const Opt_OnAdsBlockedCallback* v template <> inline Ark_RuntimeType runtimeType(const Opt_OnAdsBlockedCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_WebKeyboardOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_WebKeyboardOptions* value) { @@ -26414,7 +26380,7 @@ inline void WriteToString(std::string* result, const Opt_WebKeyboardOptions* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26425,12 +26391,12 @@ inline void WriteToString(std::string* result, const Opt_WebKeyboardOptions* val template <> inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_WebKeyboardCallbackInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_WebKeyboardCallbackInfo* value) { @@ -26449,7 +26415,7 @@ inline void WriteToString(std::string* result, const Opt_WebKeyboardCallbackInfo result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26460,12 +26426,12 @@ inline void WriteToString(std::string* result, const Opt_WebKeyboardCallbackInfo template <> inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardCallbackInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const WebKeyboardCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const WebKeyboardCallback* value) { @@ -26480,7 +26446,7 @@ inline void WriteToString(std::string* result, const Opt_WebKeyboardCallback* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26491,41 +26457,12 @@ inline void WriteToString(std::string* result, const Opt_WebKeyboardCallback* va template <> inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_ViewportFit& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_ViewportFit value) { - result->append("Ark_ViewportFit("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_ViewportFit* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_ViewportFit& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnViewportFitChangedCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnViewportFitChangedCallback* value) { @@ -26540,7 +26477,7 @@ inline void WriteToString(std::string* result, const Opt_OnViewportFitChangedCal result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26551,12 +26488,12 @@ inline void WriteToString(std::string* result, const Opt_OnViewportFitChangedCal template <> inline Ark_RuntimeType runtimeType(const Opt_OnViewportFitChangedCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_String_plainText& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_String_plainText* value) { @@ -26571,7 +26508,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_String_plainTex result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26582,12 +26519,12 @@ inline void WriteToString(std::string* result, const Opt_Literal_String_plainTex template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_String_plainText& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ExpandedMenuItemOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ExpandedMenuItemOptions* value) { @@ -26610,7 +26547,7 @@ inline void WriteToString(std::string* result, const Opt_ExpandedMenuItemOptions result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26621,12 +26558,12 @@ inline void WriteToString(std::string* result, const Opt_ExpandedMenuItemOptions template <> inline Ark_RuntimeType runtimeType(const Opt_ExpandedMenuItemOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_ExpandedMenuItemOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -26649,7 +26586,7 @@ inline void WriteToString(std::string* result, const Opt_Array_ExpandedMenuItemO result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26660,12 +26597,12 @@ inline void WriteToString(std::string* result, const Opt_Array_ExpandedMenuItemO template <> inline Ark_RuntimeType runtimeType(const Opt_Array_ExpandedMenuItemOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnRenderProcessRespondingCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnRenderProcessRespondingCallback* value) { @@ -26680,7 +26617,7 @@ inline void WriteToString(std::string* result, const Opt_OnRenderProcessRespondi result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26691,12 +26628,12 @@ inline void WriteToString(std::string* result, const Opt_OnRenderProcessRespondi template <> inline Ark_RuntimeType runtimeType(const Opt_OnRenderProcessRespondingCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RenderProcessNotRespondingData& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RenderProcessNotRespondingData* value) { @@ -26719,7 +26656,7 @@ inline void WriteToString(std::string* result, const Opt_RenderProcessNotRespond result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26730,12 +26667,12 @@ inline void WriteToString(std::string* result, const Opt_RenderProcessNotRespond template <> inline Ark_RuntimeType runtimeType(const Opt_RenderProcessNotRespondingData& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnRenderProcessNotRespondingCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnRenderProcessNotRespondingCallback* value) { @@ -26750,7 +26687,7 @@ inline void WriteToString(std::string* result, const Opt_OnRenderProcessNotRespo result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26761,12 +26698,12 @@ inline void WriteToString(std::string* result, const Opt_OnRenderProcessNotRespo template <> inline Ark_RuntimeType runtimeType(const Opt_OnRenderProcessNotRespondingCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NativeMediaPlayerConfig& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_NativeMediaPlayerConfig* value) { @@ -26785,7 +26722,7 @@ inline void WriteToString(std::string* result, const Opt_NativeMediaPlayerConfig result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26796,12 +26733,12 @@ inline void WriteToString(std::string* result, const Opt_NativeMediaPlayerConfig template <> inline Ark_RuntimeType runtimeType(const Opt_NativeMediaPlayerConfig& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnOverrideUrlLoadingCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnOverrideUrlLoadingCallback* value) { @@ -26816,7 +26753,7 @@ inline void WriteToString(std::string* result, const Opt_OnOverrideUrlLoadingCal result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26827,12 +26764,12 @@ inline void WriteToString(std::string* result, const Opt_OnOverrideUrlLoadingCal template <> inline Ark_RuntimeType runtimeType(const Opt_OnOverrideUrlLoadingCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedTouchInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_NativeEmbedTouchInfo* value) { @@ -26855,7 +26792,7 @@ inline void WriteToString(std::string* result, const Opt_NativeEmbedTouchInfo* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26866,12 +26803,12 @@ inline void WriteToString(std::string* result, const Opt_NativeEmbedTouchInfo* v template <> inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedTouchInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_NativeEmbedTouchInfo_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_NativeEmbedTouchInfo_Void* value) { @@ -26886,7 +26823,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_NativeEmbedTou result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26897,12 +26834,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_NativeEmbedTou template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_NativeEmbedTouchInfo_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedVisibilityInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_NativeEmbedVisibilityInfo* value) { @@ -26921,7 +26858,7 @@ inline void WriteToString(std::string* result, const Opt_NativeEmbedVisibilityIn result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26932,12 +26869,12 @@ inline void WriteToString(std::string* result, const Opt_NativeEmbedVisibilityIn template <> inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedVisibilityInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnNativeEmbedVisibilityChangeCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnNativeEmbedVisibilityChangeCallback* value) { @@ -26952,7 +26889,7 @@ inline void WriteToString(std::string* result, const Opt_OnNativeEmbedVisibility result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -26963,12 +26900,12 @@ inline void WriteToString(std::string* result, const Opt_OnNativeEmbedVisibility template <> inline Ark_RuntimeType runtimeType(const Opt_OnNativeEmbedVisibilityChangeCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NativeEmbedDataInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_NativeEmbedDataInfo* value) { @@ -26995,7 +26932,7 @@ inline void WriteToString(std::string* result, const Opt_NativeEmbedDataInfo* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27006,12 +26943,12 @@ inline void WriteToString(std::string* result, const Opt_NativeEmbedDataInfo* va template <> inline Ark_RuntimeType runtimeType(const Opt_NativeEmbedDataInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_NativeEmbedDataInfo_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_NativeEmbedDataInfo_Void* value) { @@ -27026,7 +26963,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_NativeEmbedDat result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27037,7 +26974,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_NativeEmbedDat template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_NativeEmbedDataInfo_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_NestedScrollOptions_NestedScrollOptionsExt& value) @@ -27071,7 +27008,7 @@ inline void WriteToString(std::string* result, const Opt_Union_NestedScrollOptio result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27082,41 +27019,12 @@ inline void WriteToString(std::string* result, const Opt_Union_NestedScrollOptio template <> inline Ark_RuntimeType runtimeType(const Opt_Union_NestedScrollOptions_NestedScrollOptionsExt& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_WebLayoutMode& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_WebLayoutMode value) { - result->append("Ark_WebLayoutMode("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_WebLayoutMode* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_WebLayoutMode& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_ScriptItem& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -27139,7 +27047,7 @@ inline void WriteToString(std::string* result, const Opt_Array_ScriptItem* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27150,12 +27058,12 @@ inline void WriteToString(std::string* result, const Opt_Array_ScriptItem* value template <> inline Ark_RuntimeType runtimeType(const Opt_Array_ScriptItem& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ScriptItem& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ScriptItem* value) { @@ -27174,7 +27082,7 @@ inline void WriteToString(std::string* result, const Opt_ScriptItem* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27185,12 +27093,12 @@ inline void WriteToString(std::string* result, const Opt_ScriptItem* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ScriptItem& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_IntelligentTrackingPreventionDetails& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_IntelligentTrackingPreventionDetails* value) { @@ -27209,7 +27117,7 @@ inline void WriteToString(std::string* result, const Opt_IntelligentTrackingPrev result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27220,12 +27128,12 @@ inline void WriteToString(std::string* result, const Opt_IntelligentTrackingPrev template <> inline Ark_RuntimeType runtimeType(const Opt_IntelligentTrackingPreventionDetails& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnIntelligentTrackingPreventionCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnIntelligentTrackingPreventionCallback* value) { @@ -27240,7 +27148,7 @@ inline void WriteToString(std::string* result, const Opt_OnIntelligentTrackingPr result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27251,12 +27159,12 @@ inline void WriteToString(std::string* result, const Opt_OnIntelligentTrackingPr template <> inline Ark_RuntimeType runtimeType(const Opt_OnIntelligentTrackingPreventionCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LoadCommittedDetails& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LoadCommittedDetails* value) { @@ -27287,7 +27195,7 @@ inline void WriteToString(std::string* result, const Opt_LoadCommittedDetails* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27298,12 +27206,12 @@ inline void WriteToString(std::string* result, const Opt_LoadCommittedDetails* v template <> inline Ark_RuntimeType runtimeType(const Opt_LoadCommittedDetails& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnNavigationEntryCommittedCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnNavigationEntryCommittedCallback* value) { @@ -27318,7 +27226,7 @@ inline void WriteToString(std::string* result, const Opt_OnNavigationEntryCommit result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27329,41 +27237,12 @@ inline void WriteToString(std::string* result, const Opt_OnNavigationEntryCommit template <> inline Ark_RuntimeType runtimeType(const Opt_OnNavigationEntryCommittedCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_ThreatType& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_ThreatType value) { - result->append("Ark_ThreatType("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_ThreatType* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_ThreatType& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnSafeBrowsingCheckResultCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnSafeBrowsingCheckResultCallback* value) { @@ -27378,7 +27257,7 @@ inline void WriteToString(std::string* result, const Opt_OnSafeBrowsingCheckResu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27389,12 +27268,12 @@ inline void WriteToString(std::string* result, const Opt_OnSafeBrowsingCheckResu template <> inline Ark_RuntimeType runtimeType(const Opt_OnSafeBrowsingCheckResultCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnOverScrollEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnOverScrollEvent* value) { @@ -27413,7 +27292,7 @@ inline void WriteToString(std::string* result, const Opt_OnOverScrollEvent* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27424,12 +27303,12 @@ inline void WriteToString(std::string* result, const Opt_OnOverScrollEvent* valu template <> inline Ark_RuntimeType runtimeType(const Opt_OnOverScrollEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnOverScrollEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnOverScrollEvent_Void* value) { @@ -27444,7 +27323,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnOverScrollEv result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27455,12 +27334,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnOverScrollEv template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnOverScrollEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnLoadInterceptEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnLoadInterceptEvent* value) { @@ -27475,7 +27354,7 @@ inline void WriteToString(std::string* result, const Opt_OnLoadInterceptEvent* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27486,12 +27365,12 @@ inline void WriteToString(std::string* result, const Opt_OnLoadInterceptEvent* v template <> inline Ark_RuntimeType runtimeType(const Opt_OnLoadInterceptEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnLoadInterceptEvent_Boolean& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnLoadInterceptEvent_Boolean* value) { @@ -27506,7 +27385,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnLoadIntercep result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27517,12 +27396,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnLoadIntercep template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnLoadInterceptEvent_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LargestContentfulPaint& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LargestContentfulPaint* value) { @@ -27557,7 +27436,7 @@ inline void WriteToString(std::string* result, const Opt_LargestContentfulPaint* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27568,12 +27447,12 @@ inline void WriteToString(std::string* result, const Opt_LargestContentfulPaint* template <> inline Ark_RuntimeType runtimeType(const Opt_LargestContentfulPaint& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnLargestContentfulPaintCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnLargestContentfulPaintCallback* value) { @@ -27588,7 +27467,7 @@ inline void WriteToString(std::string* result, const Opt_OnLargestContentfulPain result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27599,12 +27478,12 @@ inline void WriteToString(std::string* result, const Opt_OnLargestContentfulPain template <> inline Ark_RuntimeType runtimeType(const Opt_OnLargestContentfulPaintCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FirstMeaningfulPaint& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_FirstMeaningfulPaint* value) { @@ -27623,7 +27502,7 @@ inline void WriteToString(std::string* result, const Opt_FirstMeaningfulPaint* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27634,12 +27513,12 @@ inline void WriteToString(std::string* result, const Opt_FirstMeaningfulPaint* v template <> inline Ark_RuntimeType runtimeType(const Opt_FirstMeaningfulPaint& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnFirstMeaningfulPaintCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnFirstMeaningfulPaintCallback* value) { @@ -27654,7 +27533,7 @@ inline void WriteToString(std::string* result, const Opt_OnFirstMeaningfulPaintC result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27665,12 +27544,12 @@ inline void WriteToString(std::string* result, const Opt_OnFirstMeaningfulPaintC template <> inline Ark_RuntimeType runtimeType(const Opt_OnFirstMeaningfulPaintCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnFirstContentfulPaintEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnFirstContentfulPaintEvent* value) { @@ -27689,7 +27568,7 @@ inline void WriteToString(std::string* result, const Opt_OnFirstContentfulPaintE result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27700,12 +27579,12 @@ inline void WriteToString(std::string* result, const Opt_OnFirstContentfulPaintE template <> inline Ark_RuntimeType runtimeType(const Opt_OnFirstContentfulPaintEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnFirstContentfulPaintEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnFirstContentfulPaintEvent_Void* value) { @@ -27720,7 +27599,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnFirstContent result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27731,12 +27610,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnFirstContent template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnFirstContentfulPaintEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnAudioStateChangedEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnAudioStateChangedEvent* value) { @@ -27751,7 +27630,7 @@ inline void WriteToString(std::string* result, const Opt_OnAudioStateChangedEven result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27762,12 +27641,12 @@ inline void WriteToString(std::string* result, const Opt_OnAudioStateChangedEven template <> inline Ark_RuntimeType runtimeType(const Opt_OnAudioStateChangedEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnAudioStateChangedEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnAudioStateChangedEvent_Void* value) { @@ -27782,7 +27661,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnAudioStateCh result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27793,12 +27672,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnAudioStateCh template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnAudioStateChangedEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnDataResubmittedEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnDataResubmittedEvent* value) { @@ -27813,7 +27692,7 @@ inline void WriteToString(std::string* result, const Opt_OnDataResubmittedEvent* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27824,12 +27703,12 @@ inline void WriteToString(std::string* result, const Opt_OnDataResubmittedEvent* template <> inline Ark_RuntimeType runtimeType(const Opt_OnDataResubmittedEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnDataResubmittedEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnDataResubmittedEvent_Void* value) { @@ -27844,7 +27723,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnDataResubmit result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27855,12 +27734,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnDataResubmit template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnDataResubmittedEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnPageVisibleEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnPageVisibleEvent* value) { @@ -27875,7 +27754,7 @@ inline void WriteToString(std::string* result, const Opt_OnPageVisibleEvent* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27886,12 +27765,12 @@ inline void WriteToString(std::string* result, const Opt_OnPageVisibleEvent* val template <> inline Ark_RuntimeType runtimeType(const Opt_OnPageVisibleEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnPageVisibleEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnPageVisibleEvent_Void* value) { @@ -27906,7 +27785,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnPageVisibleE result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27917,12 +27796,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnPageVisibleE template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnPageVisibleEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnFaviconReceivedEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnFaviconReceivedEvent* value) { @@ -27937,7 +27816,7 @@ inline void WriteToString(std::string* result, const Opt_OnFaviconReceivedEvent* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27948,12 +27827,12 @@ inline void WriteToString(std::string* result, const Opt_OnFaviconReceivedEvent* template <> inline Ark_RuntimeType runtimeType(const Opt_OnFaviconReceivedEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnFaviconReceivedEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnFaviconReceivedEvent_Void* value) { @@ -27968,7 +27847,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnFaviconRecei result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -27979,12 +27858,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnFaviconRecei template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnFaviconReceivedEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnTouchIconUrlReceivedEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnTouchIconUrlReceivedEvent* value) { @@ -28003,7 +27882,7 @@ inline void WriteToString(std::string* result, const Opt_OnTouchIconUrlReceivedE result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28014,12 +27893,12 @@ inline void WriteToString(std::string* result, const Opt_OnTouchIconUrlReceivedE template <> inline Ark_RuntimeType runtimeType(const Opt_OnTouchIconUrlReceivedEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnTouchIconUrlReceivedEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnTouchIconUrlReceivedEvent_Void* value) { @@ -28034,7 +27913,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnTouchIconUrl result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28045,12 +27924,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnTouchIconUrl template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnTouchIconUrlReceivedEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnWindowNewEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnWindowNewEvent* value) { @@ -28077,7 +27956,7 @@ inline void WriteToString(std::string* result, const Opt_OnWindowNewEvent* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28088,12 +27967,12 @@ inline void WriteToString(std::string* result, const Opt_OnWindowNewEvent* value template <> inline Ark_RuntimeType runtimeType(const Opt_OnWindowNewEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnWindowNewEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnWindowNewEvent_Void* value) { @@ -28108,7 +27987,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnWindowNewEve result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28119,12 +27998,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnWindowNewEve template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnWindowNewEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnClientAuthenticationEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnClientAuthenticationEvent* value) { @@ -28155,7 +28034,7 @@ inline void WriteToString(std::string* result, const Opt_OnClientAuthenticationE result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28166,12 +28045,12 @@ inline void WriteToString(std::string* result, const Opt_OnClientAuthenticationE template <> inline Ark_RuntimeType runtimeType(const Opt_OnClientAuthenticationEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnClientAuthenticationEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnClientAuthenticationEvent_Void* value) { @@ -28186,7 +28065,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnClientAuthen result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28197,12 +28076,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnClientAuthen template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnClientAuthenticationEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SslErrorEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SslErrorEvent* value) { @@ -28241,7 +28120,7 @@ inline void WriteToString(std::string* result, const Opt_SslErrorEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28252,12 +28131,12 @@ inline void WriteToString(std::string* result, const Opt_SslErrorEvent* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SslErrorEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnSslErrorEventCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnSslErrorEventCallback* value) { @@ -28272,7 +28151,7 @@ inline void WriteToString(std::string* result, const Opt_OnSslErrorEventCallback result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28283,12 +28162,12 @@ inline void WriteToString(std::string* result, const Opt_OnSslErrorEventCallback template <> inline Ark_RuntimeType runtimeType(const Opt_OnSslErrorEventCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnSslErrorEventReceiveEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnSslErrorEventReceiveEvent* value) { @@ -28311,7 +28190,7 @@ inline void WriteToString(std::string* result, const Opt_OnSslErrorEventReceiveE result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28322,12 +28201,12 @@ inline void WriteToString(std::string* result, const Opt_OnSslErrorEventReceiveE template <> inline Ark_RuntimeType runtimeType(const Opt_OnSslErrorEventReceiveEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnSslErrorEventReceiveEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnSslErrorEventReceiveEvent_Void* value) { @@ -28342,7 +28221,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnSslErrorEven result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28353,12 +28232,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnSslErrorEven template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnSslErrorEventReceiveEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnScrollEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnScrollEvent* value) { @@ -28377,7 +28256,7 @@ inline void WriteToString(std::string* result, const Opt_OnScrollEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28388,12 +28267,12 @@ inline void WriteToString(std::string* result, const Opt_OnScrollEvent* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_OnScrollEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnScrollEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnScrollEvent_Void* value) { @@ -28408,7 +28287,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnScrollEvent_ result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28419,12 +28298,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnScrollEvent_ template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnScrollEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnSearchResultReceiveEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnSearchResultReceiveEvent* value) { @@ -28447,7 +28326,7 @@ inline void WriteToString(std::string* result, const Opt_OnSearchResultReceiveEv result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28458,12 +28337,12 @@ inline void WriteToString(std::string* result, const Opt_OnSearchResultReceiveEv template <> inline Ark_RuntimeType runtimeType(const Opt_OnSearchResultReceiveEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnSearchResultReceiveEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnSearchResultReceiveEvent_Void* value) { @@ -28478,7 +28357,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnSearchResult result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28489,12 +28368,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnSearchResult template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnSearchResultReceiveEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnContextMenuHideCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnContextMenuHideCallback* value) { @@ -28509,7 +28388,7 @@ inline void WriteToString(std::string* result, const Opt_OnContextMenuHideCallba result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28520,12 +28399,12 @@ inline void WriteToString(std::string* result, const Opt_OnContextMenuHideCallba template <> inline Ark_RuntimeType runtimeType(const Opt_OnContextMenuHideCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnContextMenuShowEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnContextMenuShowEvent* value) { @@ -28544,7 +28423,7 @@ inline void WriteToString(std::string* result, const Opt_OnContextMenuShowEvent* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28555,12 +28434,12 @@ inline void WriteToString(std::string* result, const Opt_OnContextMenuShowEvent* template <> inline Ark_RuntimeType runtimeType(const Opt_OnContextMenuShowEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnContextMenuShowEvent_Boolean& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnContextMenuShowEvent_Boolean* value) { @@ -28575,7 +28454,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnContextMenuS result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28586,12 +28465,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnContextMenuS template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnContextMenuShowEvent_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnScreenCaptureRequestEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnScreenCaptureRequestEvent* value) { @@ -28606,7 +28485,7 @@ inline void WriteToString(std::string* result, const Opt_OnScreenCaptureRequestE result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28617,12 +28496,12 @@ inline void WriteToString(std::string* result, const Opt_OnScreenCaptureRequestE template <> inline Ark_RuntimeType runtimeType(const Opt_OnScreenCaptureRequestEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnScreenCaptureRequestEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnScreenCaptureRequestEvent_Void* value) { @@ -28637,7 +28516,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnScreenCaptur result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28648,12 +28527,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnScreenCaptur template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnScreenCaptureRequestEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnPermissionRequestEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnPermissionRequestEvent* value) { @@ -28668,7 +28547,7 @@ inline void WriteToString(std::string* result, const Opt_OnPermissionRequestEven result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28679,12 +28558,12 @@ inline void WriteToString(std::string* result, const Opt_OnPermissionRequestEven template <> inline Ark_RuntimeType runtimeType(const Opt_OnPermissionRequestEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnPermissionRequestEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnPermissionRequestEvent_Void* value) { @@ -28699,7 +28578,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnPermissionRe result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28710,12 +28589,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnPermissionRe template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnPermissionRequestEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnInterceptRequestEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnInterceptRequestEvent* value) { @@ -28730,7 +28609,7 @@ inline void WriteToString(std::string* result, const Opt_OnInterceptRequestEvent result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28741,12 +28620,12 @@ inline void WriteToString(std::string* result, const Opt_OnInterceptRequestEvent template <> inline Ark_RuntimeType runtimeType(const Opt_OnInterceptRequestEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnInterceptRequestEvent_WebResourceResponse& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnInterceptRequestEvent_WebResourceResponse* value) { @@ -28761,7 +28640,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnInterceptReq result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28772,12 +28651,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnInterceptReq template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnInterceptRequestEvent_WebResourceResponse& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnHttpAuthRequestEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnHttpAuthRequestEvent* value) { @@ -28800,7 +28679,7 @@ inline void WriteToString(std::string* result, const Opt_OnHttpAuthRequestEvent* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28811,12 +28690,12 @@ inline void WriteToString(std::string* result, const Opt_OnHttpAuthRequestEvent* template <> inline Ark_RuntimeType runtimeType(const Opt_OnHttpAuthRequestEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnHttpAuthRequestEvent_Boolean& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnHttpAuthRequestEvent_Boolean* value) { @@ -28831,7 +28710,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnHttpAuthRequ result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28842,12 +28721,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnHttpAuthRequ template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnHttpAuthRequestEvent_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnScaleChangeEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnScaleChangeEvent* value) { @@ -28866,7 +28745,7 @@ inline void WriteToString(std::string* result, const Opt_OnScaleChangeEvent* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28877,12 +28756,12 @@ inline void WriteToString(std::string* result, const Opt_OnScaleChangeEvent* val template <> inline Ark_RuntimeType runtimeType(const Opt_OnScaleChangeEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnScaleChangeEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnScaleChangeEvent_Void* value) { @@ -28897,7 +28776,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnScaleChangeE result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28908,12 +28787,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnScaleChangeE template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnScaleChangeEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FullScreenEnterEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_FullScreenEnterEvent* value) { @@ -28936,7 +28815,7 @@ inline void WriteToString(std::string* result, const Opt_FullScreenEnterEvent* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28947,12 +28826,12 @@ inline void WriteToString(std::string* result, const Opt_FullScreenEnterEvent* v template <> inline Ark_RuntimeType runtimeType(const Opt_FullScreenEnterEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnFullScreenEnterCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnFullScreenEnterCallback* value) { @@ -28967,7 +28846,7 @@ inline void WriteToString(std::string* result, const Opt_OnFullScreenEnterCallba result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -28978,12 +28857,12 @@ inline void WriteToString(std::string* result, const Opt_OnFullScreenEnterCallba template <> inline Ark_RuntimeType runtimeType(const Opt_OnFullScreenEnterCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnResourceLoadEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnResourceLoadEvent* value) { @@ -28998,7 +28877,7 @@ inline void WriteToString(std::string* result, const Opt_OnResourceLoadEvent* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29009,12 +28888,12 @@ inline void WriteToString(std::string* result, const Opt_OnResourceLoadEvent* va template <> inline Ark_RuntimeType runtimeType(const Opt_OnResourceLoadEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnResourceLoadEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnResourceLoadEvent_Void* value) { @@ -29029,7 +28908,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnResourceLoad result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29040,19 +28919,19 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnResourceLoad template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnResourceLoadEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Literal_Function_callback_Object_fileSelector& value) +inline Ark_RuntimeType runtimeType(const Ark_Literal_Function_callback__Object_fileSelector& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Literal_Function_callback_Object_fileSelector* value) { +inline void WriteToString(std::string* result, const Ark_Literal_Function_callback__Object_fileSelector* value) { result->append("{"); - // Ark_Function callback - result->append(".callback="); - WriteToString(result, value->callback); + // Ark_Function callback_ + result->append(".callback_="); + WriteToString(result, value->callback_); // Ark_CustomObject fileSelector result->append(", "); result->append(".fileSelector="); @@ -29060,11 +28939,11 @@ inline void WriteToString(std::string* result, const Ark_Literal_Function_callba result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Literal_Function_callback_Object_fileSelector* value) { +inline void WriteToString(std::string* result, const Opt_Literal_Function_callback__Object_fileSelector* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29073,17 +28952,17 @@ inline void WriteToString(std::string* result, const Opt_Literal_Function_callba result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_Function_callback_Object_fileSelector& value) +inline Ark_RuntimeType runtimeType(const Opt_Literal_Function_callback__Object_fileSelector& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_Literal_Function_callback_Object_fileSelector_Void& value) +inline Ark_RuntimeType runtimeType(const Type_WebAttribute_onFileSelectorShow_callback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Literal_Function_callback_Object_fileSelector_Void* value) { +inline void WriteToString(std::string* result, const Type_WebAttribute_onFileSelectorShow_callback* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -29091,11 +28970,11 @@ inline void WriteToString(std::string* result, const Callback_Literal_Function_c result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Literal_Function_callback_Object_fileSelector_Void* value) { +inline void WriteToString(std::string* result, const Opt_Type_WebAttribute_onFileSelectorShow_callback* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29104,14 +28983,14 @@ inline void WriteToString(std::string* result, const Opt_Callback_Literal_Functi result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Literal_Function_callback_Object_fileSelector_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Type_WebAttribute_onFileSelectorShow_callback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_Object_detail& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_Object_detail* value) { @@ -29126,7 +29005,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_Object_detail* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29137,12 +29016,12 @@ inline void WriteToString(std::string* result, const Opt_Literal_Object_detail* template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_Object_detail& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Literal_Object_detail_Boolean& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Literal_Object_detail_Boolean* value) { @@ -29157,7 +29036,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Literal_Object result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29168,12 +29047,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Literal_Object template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Literal_Object_detail_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnShowFileSelectorEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnShowFileSelectorEvent* value) { @@ -29192,7 +29071,7 @@ inline void WriteToString(std::string* result, const Opt_OnShowFileSelectorEvent result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29203,12 +29082,12 @@ inline void WriteToString(std::string* result, const Opt_OnShowFileSelectorEvent template <> inline Ark_RuntimeType runtimeType(const Opt_OnShowFileSelectorEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnShowFileSelectorEvent_Boolean& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnShowFileSelectorEvent_Boolean* value) { @@ -29223,7 +29102,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnShowFileSele result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29234,12 +29113,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnShowFileSele template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnShowFileSelectorEvent_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnRenderExitedEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnRenderExitedEvent* value) { @@ -29254,7 +29133,7 @@ inline void WriteToString(std::string* result, const Opt_OnRenderExitedEvent* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29265,12 +29144,12 @@ inline void WriteToString(std::string* result, const Opt_OnRenderExitedEvent* va template <> inline Ark_RuntimeType runtimeType(const Opt_OnRenderExitedEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnRenderExitedEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnRenderExitedEvent_Void* value) { @@ -29285,7 +29164,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnRenderExited result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29296,12 +29175,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnRenderExited template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnRenderExitedEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_Function_handler_Object_error& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_Function_handler_Object_error* value) { @@ -29320,7 +29199,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_Function_handle result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29331,12 +29210,12 @@ inline void WriteToString(std::string* result, const Opt_Literal_Function_handle template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_Function_handler_Object_error& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Literal_Function_handler_Object_error_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Literal_Function_handler_Object_error_Void* value) { @@ -29351,7 +29230,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Literal_Functi result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29362,12 +29241,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Literal_Functi template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Literal_Function_handler_Object_error_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_Union_String_WebResourceRequest_data& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_Union_String_WebResourceRequest_data* value) { @@ -29382,7 +29261,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_Union_String_We result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29393,12 +29272,12 @@ inline void WriteToString(std::string* result, const Opt_Literal_Union_String_We template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_Union_String_WebResourceRequest_data& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Type_WebAttribute_onUrlLoadIntercept_callback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Type_WebAttribute_onUrlLoadIntercept_callback* value) { @@ -29413,7 +29292,7 @@ inline void WriteToString(std::string* result, const Opt_Type_WebAttribute_onUrl result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29424,12 +29303,12 @@ inline void WriteToString(std::string* result, const Opt_Type_WebAttribute_onUrl template <> inline Ark_RuntimeType runtimeType(const Opt_Type_WebAttribute_onUrlLoadIntercept_callback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnRefreshAccessedHistoryEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnRefreshAccessedHistoryEvent* value) { @@ -29448,7 +29327,7 @@ inline void WriteToString(std::string* result, const Opt_OnRefreshAccessedHistor result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29459,12 +29338,12 @@ inline void WriteToString(std::string* result, const Opt_OnRefreshAccessedHistor template <> inline Ark_RuntimeType runtimeType(const Opt_OnRefreshAccessedHistoryEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnRefreshAccessedHistoryEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnRefreshAccessedHistoryEvent_Void* value) { @@ -29479,7 +29358,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnRefreshAcces result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29490,12 +29369,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnRefreshAcces template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnRefreshAccessedHistoryEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnDownloadStartEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnDownloadStartEvent* value) { @@ -29526,7 +29405,7 @@ inline void WriteToString(std::string* result, const Opt_OnDownloadStartEvent* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29537,12 +29416,12 @@ inline void WriteToString(std::string* result, const Opt_OnDownloadStartEvent* v template <> inline Ark_RuntimeType runtimeType(const Opt_OnDownloadStartEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnDownloadStartEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnDownloadStartEvent_Void* value) { @@ -29557,7 +29436,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnDownloadStar result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29568,12 +29447,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnDownloadStar template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnDownloadStartEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnHttpErrorReceiveEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnHttpErrorReceiveEvent* value) { @@ -29592,7 +29471,7 @@ inline void WriteToString(std::string* result, const Opt_OnHttpErrorReceiveEvent result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29603,12 +29482,12 @@ inline void WriteToString(std::string* result, const Opt_OnHttpErrorReceiveEvent template <> inline Ark_RuntimeType runtimeType(const Opt_OnHttpErrorReceiveEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnHttpErrorReceiveEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnHttpErrorReceiveEvent_Void* value) { @@ -29623,7 +29502,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnHttpErrorRec result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29634,12 +29513,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnHttpErrorRec template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnHttpErrorReceiveEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnErrorReceiveEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnErrorReceiveEvent* value) { @@ -29658,7 +29537,7 @@ inline void WriteToString(std::string* result, const Opt_OnErrorReceiveEvent* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29669,12 +29548,12 @@ inline void WriteToString(std::string* result, const Opt_OnErrorReceiveEvent* va template <> inline Ark_RuntimeType runtimeType(const Opt_OnErrorReceiveEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnErrorReceiveEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnErrorReceiveEvent_Void* value) { @@ -29689,7 +29568,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnErrorReceive result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29700,12 +29579,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnErrorReceive template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnErrorReceiveEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnConsoleEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnConsoleEvent* value) { @@ -29720,7 +29599,7 @@ inline void WriteToString(std::string* result, const Opt_OnConsoleEvent* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29731,12 +29610,12 @@ inline void WriteToString(std::string* result, const Opt_OnConsoleEvent* value) template <> inline Ark_RuntimeType runtimeType(const Opt_OnConsoleEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnConsoleEvent_Boolean& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnConsoleEvent_Boolean* value) { @@ -29751,7 +29630,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnConsoleEvent result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29762,12 +29641,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnConsoleEvent template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnConsoleEvent_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnPromptEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnPromptEvent* value) { @@ -29794,7 +29673,7 @@ inline void WriteToString(std::string* result, const Opt_OnPromptEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29805,12 +29684,12 @@ inline void WriteToString(std::string* result, const Opt_OnPromptEvent* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_OnPromptEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnPromptEvent_Boolean& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnPromptEvent_Boolean* value) { @@ -29825,7 +29704,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnPromptEvent_ result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29836,12 +29715,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnPromptEvent_ template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnPromptEvent_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnConfirmEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnConfirmEvent* value) { @@ -29864,7 +29743,7 @@ inline void WriteToString(std::string* result, const Opt_OnConfirmEvent* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29875,12 +29754,12 @@ inline void WriteToString(std::string* result, const Opt_OnConfirmEvent* value) template <> inline Ark_RuntimeType runtimeType(const Opt_OnConfirmEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnConfirmEvent_Boolean& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnConfirmEvent_Boolean* value) { @@ -29895,7 +29774,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnConfirmEvent result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29906,12 +29785,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnConfirmEvent template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnConfirmEvent_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnBeforeUnloadEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnBeforeUnloadEvent* value) { @@ -29934,7 +29813,7 @@ inline void WriteToString(std::string* result, const Opt_OnBeforeUnloadEvent* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29945,12 +29824,12 @@ inline void WriteToString(std::string* result, const Opt_OnBeforeUnloadEvent* va template <> inline Ark_RuntimeType runtimeType(const Opt_OnBeforeUnloadEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnBeforeUnloadEvent_Boolean& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnBeforeUnloadEvent_Boolean* value) { @@ -29965,7 +29844,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnBeforeUnload result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -29976,12 +29855,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnBeforeUnload template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnBeforeUnloadEvent_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnAlertEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnAlertEvent* value) { @@ -30004,7 +29883,7 @@ inline void WriteToString(std::string* result, const Opt_OnAlertEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30015,12 +29894,12 @@ inline void WriteToString(std::string* result, const Opt_OnAlertEvent* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_OnAlertEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnAlertEvent_Boolean& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnAlertEvent_Boolean* value) { @@ -30035,7 +29914,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnAlertEvent_B result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30046,12 +29925,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnAlertEvent_B template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnAlertEvent_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnGeolocationShowEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnGeolocationShowEvent* value) { @@ -30070,7 +29949,7 @@ inline void WriteToString(std::string* result, const Opt_OnGeolocationShowEvent* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30081,12 +29960,12 @@ inline void WriteToString(std::string* result, const Opt_OnGeolocationShowEvent* template <> inline Ark_RuntimeType runtimeType(const Opt_OnGeolocationShowEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnGeolocationShowEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnGeolocationShowEvent_Void* value) { @@ -30101,7 +29980,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnGeolocationS result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30112,12 +29991,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnGeolocationS template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnGeolocationShowEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnTitleReceiveEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnTitleReceiveEvent* value) { @@ -30132,7 +30011,7 @@ inline void WriteToString(std::string* result, const Opt_OnTitleReceiveEvent* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30143,12 +30022,12 @@ inline void WriteToString(std::string* result, const Opt_OnTitleReceiveEvent* va template <> inline Ark_RuntimeType runtimeType(const Opt_OnTitleReceiveEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnTitleReceiveEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnTitleReceiveEvent_Void* value) { @@ -30163,7 +30042,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnTitleReceive result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30174,12 +30053,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnTitleReceive template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnTitleReceiveEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnProgressChangeEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnProgressChangeEvent* value) { @@ -30194,7 +30073,7 @@ inline void WriteToString(std::string* result, const Opt_OnProgressChangeEvent* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30205,12 +30084,12 @@ inline void WriteToString(std::string* result, const Opt_OnProgressChangeEvent* template <> inline Ark_RuntimeType runtimeType(const Opt_OnProgressChangeEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnProgressChangeEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnProgressChangeEvent_Void* value) { @@ -30225,7 +30104,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnProgressChan result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30236,12 +30115,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnProgressChan template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnProgressChangeEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnPageBeginEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnPageBeginEvent* value) { @@ -30256,7 +30135,7 @@ inline void WriteToString(std::string* result, const Opt_OnPageBeginEvent* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30267,12 +30146,12 @@ inline void WriteToString(std::string* result, const Opt_OnPageBeginEvent* value template <> inline Ark_RuntimeType runtimeType(const Opt_OnPageBeginEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnPageBeginEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnPageBeginEvent_Void* value) { @@ -30287,7 +30166,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnPageBeginEve result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30298,12 +30177,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnPageBeginEve template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnPageBeginEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnPageEndEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnPageEndEvent* value) { @@ -30318,7 +30197,7 @@ inline void WriteToString(std::string* result, const Opt_OnPageEndEvent* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30329,12 +30208,12 @@ inline void WriteToString(std::string* result, const Opt_OnPageEndEvent* value) template <> inline Ark_RuntimeType runtimeType(const Opt_OnPageEndEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_OnPageEndEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_OnPageEndEvent_Void* value) { @@ -30349,7 +30228,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnPageEndEvent result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30360,25 +30239,111 @@ inline void WriteToString(std::string* result, const Opt_Callback_OnPageEndEvent template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_OnPageEndEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_OverScrollMode& value) +inline Ark_RuntimeType runtimeType(const Ark_WebMediaOptions& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_OverScrollMode value) { - result->append("Ark_OverScrollMode("); +inline void WriteToString(std::string* result, const Ark_WebMediaOptions* value) { + result->append("{"); + // Ark_Number resumeInterval + result->append(".resumeInterval="); + WriteToString(result, &value->resumeInterval); + // Ark_Boolean audioExclusive + result->append(", "); + result->append(".audioExclusive="); + WriteToString(result, &value->audioExclusive); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_WebMediaOptions* 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_WebMediaOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_JavaScriptProxy& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_JavaScriptProxy* value) { + result->append("{"); + // Ark_CustomObject 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(", "); + result->append(".permission="); + WriteToString(result, &value->permission); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_JavaScriptProxy* 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_JavaScriptProxy& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_WebKeyboardAvoidMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_WebKeyboardAvoidMode value) { + result->append("Ark_WebKeyboardAvoidMode("); WriteToString(result, (Ark_Int32) value); result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_OverScrollMode* value) { +inline void WriteToString(std::string* result, const Opt_WebKeyboardAvoidMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30387,33 +30352,45 @@ inline void WriteToString(std::string* result, const Opt_OverScrollMode* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_OverScrollMode& value) +inline Ark_RuntimeType runtimeType(const Opt_WebKeyboardAvoidMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_WebMediaOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_WebOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_WebMediaOptions* value) { +inline void WriteToString(std::string* result, const Ark_WebOptions* value) { result->append("{"); - // Ark_Number resumeInterval - result->append(".resumeInterval="); - WriteToString(result, &value->resumeInterval); - // Ark_Boolean audioExclusive + // Ark_Union_String_Resource src + result->append(".src="); + WriteToString(result, &value->src); + // Ark_Union_WebController_WebviewController controller result->append(", "); - result->append(".audioExclusive="); - WriteToString(result, &value->audioExclusive); + result->append(".controller="); + WriteToString(result, &value->controller); + // Ark_RenderMode renderMode + result->append(", "); + result->append(".renderMode="); + WriteToString(result, &value->renderMode); + // Ark_Boolean incognitoMode + result->append(", "); + result->append(".incognitoMode="); + WriteToString(result, &value->incognitoMode); + // Ark_String sharedRenderProcessToken + result->append(", "); + result->append(".sharedRenderProcessToken="); + WriteToString(result, &value->sharedRenderProcessToken); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_WebMediaOptions* value) { +inline void WriteToString(std::string* result, const Opt_WebOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30422,14 +30399,367 @@ inline void WriteToString(std::string* result, const Opt_WebMediaOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_WebMediaOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_WebOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Header& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_Header* value) { + result->append("{"); + // Ark_String headerKey + result->append(".headerKey="); + WriteToString(result, &value->headerKey); + // Ark_String headerValue + result->append(", "); + result->append(".headerValue="); + WriteToString(result, &value->headerValue); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Header* 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_Header& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Union_String_Number_Resource_Buffer& 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: throw "Bad selector in Ark_Union_String_Number_Resource_Buffer: " + std::to_string(value.selector); + } +} +template <> +inline void WriteToString(std::string* result, const Ark_Union_String_Number_Resource_Buffer* 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_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); + } + // Ark_Buffer + if (value->selector == 3) { + result->append(".value3="); + WriteToString(result, value->value3); + } + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Union_String_Number_Resource_Buffer* 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_Number_Resource_Buffer& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ViewportFit& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ViewportFit value) { + result->append("Ark_ViewportFit("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ViewportFit* 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_ViewportFit& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ContextMenuEditStateFlags& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ContextMenuEditStateFlags value) { + result->append("Ark_ContextMenuEditStateFlags("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ContextMenuEditStateFlags* 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_ContextMenuEditStateFlags& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ContextMenuInputFieldType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ContextMenuInputFieldType value) { + result->append("Ark_ContextMenuInputFieldType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ContextMenuInputFieldType* 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_ContextMenuInputFieldType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ContextMenuMediaType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ContextMenuMediaType value) { + result->append("Ark_ContextMenuMediaType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ContextMenuMediaType* 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_ContextMenuMediaType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ContextMenuSourceType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ContextMenuSourceType value) { + result->append("Ark_ContextMenuSourceType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ContextMenuSourceType* 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_ContextMenuSourceType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ProtectedResourceType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ProtectedResourceType value) { + result->append("Ark_ProtectedResourceType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ProtectedResourceType* 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_ProtectedResourceType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_WebLayoutMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_WebLayoutMode value) { + result->append("Ark_WebLayoutMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_WebLayoutMode* 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_WebLayoutMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_FileSelectorMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_FileSelectorMode value) { + result->append("Ark_FileSelectorMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_FileSelectorMode* 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_FileSelectorMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ThreatType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ThreatType value) { + result->append("Ark_ThreatType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ThreatType* 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_ThreatType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_WebDarkMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_WebDarkMode value) { @@ -30442,7 +30772,7 @@ inline void WriteToString(std::string* result, const Opt_WebDarkMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30453,12 +30783,41 @@ inline void WriteToString(std::string* result, const Opt_WebDarkMode* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_WebDarkMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_OverScrollMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_OverScrollMode value) { + result->append("Ark_OverScrollMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_OverScrollMode* 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_OverScrollMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CacheMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_CacheMode value) { @@ -30471,7 +30830,7 @@ inline void WriteToString(std::string* result, const Opt_CacheMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30482,48 +30841,26 @@ inline void WriteToString(std::string* result, const Opt_CacheMode* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_CacheMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + 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_HitTestType& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_JavaScriptProxy* value) { - result->append("{"); - // Ark_CustomObject 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(", "); - result->append(".permission="); - WriteToString(result, &value->permission); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_HitTestType value) { + result->append("Ark_HitTestType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_JavaScriptProxy* value) { +inline void WriteToString(std::string* result, const Opt_HitTestType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, &value->value); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -30531,14 +30868,14 @@ 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_HitTestType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_MixedMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_MixedMode value) { @@ -30551,7 +30888,7 @@ inline void WriteToString(std::string* result, const Opt_MixedMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30562,151 +30899,12 @@ inline void WriteToString(std::string* result, const Opt_MixedMode* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_MixedMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_WebOptions& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_WebOptions* value) { - result->append("{"); - // Ark_Union_String_Resource src - result->append(".src="); - WriteToString(result, &value->src); - // Ark_Union_WebController_WebviewController controller - result->append(", "); - result->append(".controller="); - WriteToString(result, &value->controller); - // Ark_RenderMode renderMode - result->append(", "); - result->append(".renderMode="); - WriteToString(result, &value->renderMode); - // Ark_Boolean incognitoMode - result->append(", "); - result->append(".incognitoMode="); - WriteToString(result, &value->incognitoMode); - // Ark_String sharedRenderProcessToken - result->append(", "); - result->append(".sharedRenderProcessToken="); - WriteToString(result, &value->sharedRenderProcessToken); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_WebOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_WebOptions& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_Header& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_Header* value) { - result->append("{"); - // Ark_String headerKey - result->append(".headerKey="); - WriteToString(result, &value->headerKey); - // Ark_String headerValue - result->append(", "); - result->append(".headerValue="); - WriteToString(result, &value->headerValue); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Header* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Header& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_Union_String_Number_Resource_Buffer& 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: throw "Bad selector in Ark_Union_String_Number_Resource_Buffer: " + std::to_string(value.selector); - } -} -template <> -inline void WriteToString(std::string* result, const Ark_Union_String_Number_Resource_Buffer* 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_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); - } - // Ark_Buffer - if (value->selector == 3) { - result->append(".value3="); - WriteToString(result, value->value3); - } - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Union_String_Number_Resource_Buffer* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_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_Number_Resource_Buffer& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_MessageLevel& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_MessageLevel value) { @@ -30719,7 +30917,7 @@ inline void WriteToString(std::string* result, const Opt_MessageLevel* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30730,12 +30928,12 @@ inline void WriteToString(std::string* result, const Opt_MessageLevel* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_MessageLevel& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PlaybackInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PlaybackInfo* value) { @@ -30750,7 +30948,7 @@ inline void WriteToString(std::string* result, const Opt_PlaybackInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30761,12 +30959,12 @@ inline void WriteToString(std::string* result, const Opt_PlaybackInfo* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_PlaybackInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_PlaybackInfo_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_PlaybackInfo_Void* value) { @@ -30781,7 +30979,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_PlaybackInfo_V result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30792,12 +30990,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_PlaybackInfo_V template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_PlaybackInfo_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PreparedInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PreparedInfo* value) { @@ -30812,7 +31010,7 @@ inline void WriteToString(std::string* result, const Opt_PreparedInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30823,12 +31021,12 @@ inline void WriteToString(std::string* result, const Opt_PreparedInfo* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_PreparedInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_PreparedInfo_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_PreparedInfo_Void* value) { @@ -30843,7 +31041,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_PreparedInfo_V result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30854,12 +31052,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_PreparedInfo_V template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_PreparedInfo_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FullscreenInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_FullscreenInfo* value) { @@ -30874,7 +31072,7 @@ inline void WriteToString(std::string* result, const Opt_FullscreenInfo* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30885,12 +31083,12 @@ inline void WriteToString(std::string* result, const Opt_FullscreenInfo* value) template <> inline Ark_RuntimeType runtimeType(const Opt_FullscreenInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_FullscreenInfo_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_FullscreenInfo_Void* value) { @@ -30905,7 +31103,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_FullscreenInfo result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30916,12 +31114,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_FullscreenInfo template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_FullscreenInfo_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_VideoOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_VideoOptions* value) { @@ -30952,7 +31150,7 @@ inline void WriteToString(std::string* result, const Opt_VideoOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -30963,12 +31161,12 @@ inline void WriteToString(std::string* result, const Opt_VideoOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_VideoOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SwitchStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SwitchStyle* value) { @@ -30995,7 +31193,7 @@ inline void WriteToString(std::string* result, const Opt_SwitchStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31006,12 +31204,12 @@ inline void WriteToString(std::string* result, const Opt_SwitchStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SwitchStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ToggleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ToggleOptions* value) { @@ -31030,7 +31228,7 @@ inline void WriteToString(std::string* result, const Opt_ToggleOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31041,12 +31239,12 @@ inline void WriteToString(std::string* result, const Opt_ToggleOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ToggleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TimePickerResult& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TimePickerResult* value) { @@ -31069,7 +31267,7 @@ inline void WriteToString(std::string* result, const Opt_TimePickerResult* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31080,12 +31278,12 @@ inline void WriteToString(std::string* result, const Opt_TimePickerResult* value template <> inline Ark_RuntimeType runtimeType(const Opt_TimePickerResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TimePickerOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TimePickerOptions* value) { @@ -31104,7 +31302,7 @@ inline void WriteToString(std::string* result, const Opt_TimePickerOptions* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31115,12 +31313,12 @@ inline void WriteToString(std::string* result, const Opt_TimePickerOptions* valu template <> inline Ark_RuntimeType runtimeType(const Opt_TimePickerOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextTimerOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TextTimerOptions* value) { @@ -31143,7 +31341,7 @@ inline void WriteToString(std::string* result, const Opt_TextTimerOptions* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31154,12 +31352,12 @@ inline void WriteToString(std::string* result, const Opt_TextTimerOptions* value template <> inline Ark_RuntimeType runtimeType(const Opt_TextTimerOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextPickerResult& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TextPickerResult* value) { @@ -31178,7 +31376,7 @@ inline void WriteToString(std::string* result, const Opt_TextPickerResult* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31189,12 +31387,12 @@ inline void WriteToString(std::string* result, const Opt_TextPickerResult* value template <> inline Ark_RuntimeType runtimeType(const Opt_TextPickerResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Type_TextPickerAttribute_onChange_callback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Type_TextPickerAttribute_onChange_callback* value) { @@ -31209,7 +31407,7 @@ inline void WriteToString(std::string* result, const Opt_Type_TextPickerAttribut result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31220,12 +31418,12 @@ inline void WriteToString(std::string* result, const Opt_Type_TextPickerAttribut template <> inline Ark_RuntimeType runtimeType(const Opt_Type_TextPickerAttribute_onChange_callback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_String_Number_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_String_Number_Void* value) { @@ -31240,7 +31438,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_String_Number_ result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31251,12 +31449,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_String_Number_ template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_String_Number_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextCascadePickerRangeContent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TextCascadePickerRangeContent* value) { @@ -31275,7 +31473,7 @@ inline void WriteToString(std::string* result, const Opt_TextCascadePickerRangeC result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31286,12 +31484,12 @@ inline void WriteToString(std::string* result, const Opt_TextCascadePickerRangeC template <> inline Ark_RuntimeType runtimeType(const Opt_TextCascadePickerRangeContent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextPickerRangeContent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TextPickerRangeContent* value) { @@ -31310,7 +31508,7 @@ inline void WriteToString(std::string* result, const Opt_TextPickerRangeContent* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31321,12 +31519,12 @@ inline void WriteToString(std::string* result, const Opt_TextPickerRangeContent* template <> inline Ark_RuntimeType runtimeType(const Opt_TextPickerRangeContent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextPickerOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TextPickerOptions* value) { @@ -31349,7 +31547,7 @@ inline void WriteToString(std::string* result, const Opt_TextPickerOptions* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31360,7 +31558,7 @@ inline void WriteToString(std::string* result, const Opt_TextPickerOptions* valu template <> inline Ark_RuntimeType runtimeType(const Opt_TextPickerOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceColor_UnderlineColor& value) @@ -31394,7 +31592,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_Und result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31405,12 +31603,12 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_Und template <> inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceColor_UnderlineColor& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PasswordIcon& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PasswordIcon* value) { @@ -31429,7 +31627,7 @@ inline void WriteToString(std::string* result, const Opt_PasswordIcon* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31440,7 +31638,7 @@ inline void WriteToString(std::string* result, const Opt_PasswordIcon* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_PasswordIcon& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_TextInputStyle_TextContentStyle& value) @@ -31474,7 +31672,7 @@ inline void WriteToString(std::string* result, const Opt_Union_TextInputStyle_Te result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31485,12 +31683,12 @@ inline void WriteToString(std::string* result, const Opt_Union_TextInputStyle_Te template <> inline Ark_RuntimeType runtimeType(const Opt_Union_TextInputStyle_TextContentStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnSubmitCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnSubmitCallback* value) { @@ -31505,7 +31703,7 @@ inline void WriteToString(std::string* result, const Opt_OnSubmitCallback* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31516,41 +31714,12 @@ inline void WriteToString(std::string* result, const Opt_OnSubmitCallback* value template <> inline Ark_RuntimeType runtimeType(const Opt_OnSubmitCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_InputType& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_InputType value) { - result->append("Ark_InputType("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_InputType* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_InputType& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextInputOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TextInputOptions* value) { @@ -31573,7 +31742,7 @@ inline void WriteToString(std::string* result, const Opt_TextInputOptions* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31584,12 +31753,41 @@ inline void WriteToString(std::string* result, const Opt_TextInputOptions* value template <> inline Ark_RuntimeType runtimeType(const Opt_TextInputOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_InputType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_InputType value) { + result->append("Ark_InputType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_InputType* 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_InputType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_TextMenuItem& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -31612,7 +31810,7 @@ inline void WriteToString(std::string* result, const Opt_Array_TextMenuItem* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31623,12 +31821,12 @@ inline void WriteToString(std::string* result, const Opt_Array_TextMenuItem* val template <> inline Ark_RuntimeType runtimeType(const Opt_Array_TextMenuItem& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextClockOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TextClockOptions* value) { @@ -31647,7 +31845,7 @@ inline void WriteToString(std::string* result, const Opt_TextClockOptions* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31658,70 +31856,12 @@ inline void WriteToString(std::string* result, const Opt_TextClockOptions* value template <> inline Ark_RuntimeType runtimeType(const Opt_TextClockOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_ContentType& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_ContentType value) { - result->append("Ark_ContentType("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_ContentType* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_ContentType& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_TextAreaType& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_TextAreaType value) { - result->append("Ark_TextAreaType("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_TextAreaType* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_TextAreaType& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_String_PasteEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_String_PasteEvent_Void* value) { @@ -31736,7 +31876,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_String_PasteEv result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31747,12 +31887,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_String_PasteEv template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_String_PasteEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const TextAreaSubmitCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const TextAreaSubmitCallback* value) { @@ -31767,7 +31907,7 @@ inline void WriteToString(std::string* result, const Opt_TextAreaSubmitCallback* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31778,12 +31918,12 @@ inline void WriteToString(std::string* result, const Opt_TextAreaSubmitCallback* template <> inline Ark_RuntimeType runtimeType(const Opt_TextAreaSubmitCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_EnterKeyType_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_EnterKeyType_Void* value) { @@ -31798,7 +31938,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_EnterKeyType_V result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31809,36 +31949,26 @@ inline void WriteToString(std::string* result, const Opt_Callback_EnterKeyType_V template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_EnterKeyType_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextAreaOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_ContentType& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_TextAreaOptions* value) { - result->append("{"); - // Ark_ResourceStr placeholder - result->append(".placeholder="); - WriteToString(result, &value->placeholder); - // Ark_ResourceStr text - result->append(", "); - result->append(".text="); - WriteToString(result, &value->text); - // Ark_TextAreaController controller - result->append(", "); - result->append(".controller="); - WriteToString(result, &value->controller); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_ContentType value) { + result->append("Ark_ContentType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_TextAreaOptions* value) { +inline void WriteToString(std::string* result, const Opt_ContentType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, &value->value); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -31846,27 +31976,27 @@ inline void WriteToString(std::string* result, const Opt_TextAreaOptions* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextAreaOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_ContentType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextSelectableMode& value) +inline Ark_RuntimeType runtimeType(const Ark_TextAreaType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_TextSelectableMode value) { - result->append("Ark_TextSelectableMode("); +inline void WriteToString(std::string* result, const Ark_TextAreaType value) { + result->append("Ark_TextAreaType("); WriteToString(result, (Ark_Int32) value); result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_TextSelectableMode* value) { +inline void WriteToString(std::string* result, const Opt_TextAreaType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31875,28 +32005,38 @@ inline void WriteToString(std::string* result, const Opt_TextSelectableMode* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextSelectableMode& value) +inline Ark_RuntimeType runtimeType(const Opt_TextAreaType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_EllipsisMode& value) +inline Ark_RuntimeType runtimeType(const Ark_TextAreaOptions& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_EllipsisMode value) { - result->append("Ark_EllipsisMode("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); +inline void WriteToString(std::string* result, const Ark_TextAreaOptions* value) { + result->append("{"); + // Ark_ResourceStr placeholder + result->append(".placeholder="); + WriteToString(result, &value->placeholder); + // Ark_ResourceStr text + result->append(", "); + result->append(".text="); + WriteToString(result, &value->text); + // Ark_TextAreaController controller + result->append(", "); + result->append(".controller="); + WriteToString(result, &value->controller); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_EllipsisMode* value) { +inline void WriteToString(std::string* result, const Opt_TextAreaOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -31904,14 +32044,14 @@ inline void WriteToString(std::string* result, const Opt_EllipsisMode* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_EllipsisMode& value) +inline Ark_RuntimeType runtimeType(const Opt_TextAreaOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextOverflowOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TextOverflowOptions* value) { @@ -31926,7 +32066,7 @@ inline void WriteToString(std::string* result, const Opt_TextOverflowOptions* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31937,12 +32077,12 @@ inline void WriteToString(std::string* result, const Opt_TextOverflowOptions* va template <> inline Ark_RuntimeType runtimeType(const Opt_TextOverflowOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TextOptions* value) { @@ -31957,7 +32097,7 @@ inline void WriteToString(std::string* result, const Opt_TextOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -31968,7 +32108,7 @@ inline void WriteToString(std::string* result, const Opt_TextOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_TextOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_SubTabBarStyle_BottomTabBarStyle& value) @@ -32002,7 +32142,7 @@ inline void WriteToString(std::string* result, const Opt_Union_SubTabBarStyle_Bo result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32013,7 +32153,7 @@ inline void WriteToString(std::string* result, const Opt_Union_SubTabBarStyle_Bo template <> inline Ark_RuntimeType runtimeType(const Opt_Union_SubTabBarStyle_BottomTabBarStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + 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) @@ -32059,7 +32199,7 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Resource_C result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32070,12 +32210,12 @@ inline void WriteToString(std::string* result, const Opt_Union_String_Resource_C template <> inline Ark_RuntimeType runtimeType(const Opt_Union_String_Resource_CustomBuilder_TabBarOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnTabsContentWillChangeCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnTabsContentWillChangeCallback* value) { @@ -32090,7 +32230,7 @@ inline void WriteToString(std::string* result, const Opt_OnTabsContentWillChange result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32101,14 +32241,14 @@ inline void WriteToString(std::string* result, const Opt_OnTabsContentWillChange template <> inline Ark_RuntimeType runtimeType(const Opt_OnTabsContentWillChangeCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_TabContentTransitionProxy* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32119,12 +32259,12 @@ inline void WriteToString(std::string* result, const Opt_TabContentTransitionPro template <> inline Ark_RuntimeType runtimeType(const Opt_TabContentTransitionProxy& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const TabsCustomContentTransitionCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const TabsCustomContentTransitionCallback* value) { @@ -32139,7 +32279,7 @@ inline void WriteToString(std::string* result, const Opt_TabsCustomContentTransi result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32150,12 +32290,12 @@ inline void WriteToString(std::string* result, const Opt_TabsCustomContentTransi template <> inline Ark_RuntimeType runtimeType(const Opt_TabsCustomContentTransitionCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BarGridColumnOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_BarGridColumnOptions* value) { @@ -32186,7 +32326,7 @@ inline void WriteToString(std::string* result, const Opt_BarGridColumnOptions* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32197,12 +32337,12 @@ inline void WriteToString(std::string* result, const Opt_BarGridColumnOptions* v template <> inline Ark_RuntimeType runtimeType(const Opt_BarGridColumnOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnTabsGestureSwipeCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnTabsGestureSwipeCallback* value) { @@ -32217,7 +32357,7 @@ inline void WriteToString(std::string* result, const Opt_OnTabsGestureSwipeCallb result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32228,12 +32368,12 @@ inline void WriteToString(std::string* result, const Opt_OnTabsGestureSwipeCallb template <> inline Ark_RuntimeType runtimeType(const Opt_OnTabsGestureSwipeCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnTabsAnimationEndCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnTabsAnimationEndCallback* value) { @@ -32248,7 +32388,7 @@ inline void WriteToString(std::string* result, const Opt_OnTabsAnimationEndCallb result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32259,12 +32399,12 @@ inline void WriteToString(std::string* result, const Opt_OnTabsAnimationEndCallb template <> inline Ark_RuntimeType runtimeType(const Opt_OnTabsAnimationEndCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TabsAnimationEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TabsAnimationEvent* value) { @@ -32287,7 +32427,7 @@ inline void WriteToString(std::string* result, const Opt_TabsAnimationEvent* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32298,12 +32438,12 @@ inline void WriteToString(std::string* result, const Opt_TabsAnimationEvent* val template <> inline Ark_RuntimeType runtimeType(const Opt_TabsAnimationEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnTabsAnimationStartCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnTabsAnimationStartCallback* value) { @@ -32318,7 +32458,7 @@ inline void WriteToString(std::string* result, const Opt_OnTabsAnimationStartCal result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32329,12 +32469,12 @@ inline void WriteToString(std::string* result, const Opt_OnTabsAnimationStartCal template <> inline Ark_RuntimeType runtimeType(const Opt_OnTabsAnimationStartCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TabsOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TabsOptions* value) { @@ -32357,7 +32497,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32368,7 +32508,94 @@ inline void WriteToString(std::string* result, const Opt_TabsOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_TabsOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_EffectFillStyle& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_EffectFillStyle value) { + result->append("Ark_EffectFillStyle("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_EffectFillStyle* 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_EffectFillStyle& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_EffectScope& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_EffectScope value) { + result->append("Ark_EffectScope("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_EffectScope* 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_EffectScope& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_EffectDirection& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +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_EffectDirection* 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_EffectDirection& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_DotIndicator_DigitIndicator& value) @@ -32402,7 +32629,7 @@ inline void WriteToString(std::string* result, const Opt_Union_DotIndicator_Digi result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32413,7 +32640,7 @@ inline void WriteToString(std::string* result, const Opt_Union_DotIndicator_Digi template <> inline Ark_RuntimeType runtimeType(const Opt_Union_DotIndicator_DigitIndicator& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Number_String_SwiperAutoFill& value) @@ -32453,7 +32680,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_String_Swi result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32464,7 +32691,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_String_Swi template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Number_String_SwiperAutoFill& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ArrowStyle_Boolean& value) @@ -32498,7 +32725,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ArrowStyle_Boolea result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32509,12 +32736,12 @@ inline void WriteToString(std::string* result, const Opt_Union_ArrowStyle_Boolea template <> inline Ark_RuntimeType runtimeType(const Opt_Union_ArrowStyle_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const ContentDidScrollCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const ContentDidScrollCallback* value) { @@ -32529,7 +32756,7 @@ inline void WriteToString(std::string* result, const Opt_ContentDidScrollCallbac result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32540,14 +32767,14 @@ inline void WriteToString(std::string* result, const Opt_ContentDidScrollCallbac template <> inline Ark_RuntimeType runtimeType(const Opt_ContentDidScrollCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_SwiperContentTransitionProxy* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32558,12 +32785,12 @@ inline void WriteToString(std::string* result, const Opt_SwiperContentTransition template <> inline Ark_RuntimeType runtimeType(const Opt_SwiperContentTransitionProxy& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SwiperContentAnimatedTransition& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SwiperContentAnimatedTransition* value) { @@ -32582,7 +32809,7 @@ inline void WriteToString(std::string* result, const Opt_SwiperContentAnimatedTr result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32593,41 +32820,12 @@ inline void WriteToString(std::string* result, const Opt_SwiperContentAnimatedTr template <> inline Ark_RuntimeType runtimeType(const Opt_SwiperContentAnimatedTransition& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_SwiperNestedScrollMode& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_SwiperNestedScrollMode value) { - result->append("Ark_SwiperNestedScrollMode("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_SwiperNestedScrollMode* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_SwiperNestedScrollMode& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnSwiperGestureSwipeCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnSwiperGestureSwipeCallback* value) { @@ -32642,7 +32840,7 @@ inline void WriteToString(std::string* result, const Opt_OnSwiperGestureSwipeCal result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32653,12 +32851,12 @@ inline void WriteToString(std::string* result, const Opt_OnSwiperGestureSwipeCal template <> inline Ark_RuntimeType runtimeType(const Opt_OnSwiperGestureSwipeCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnSwiperAnimationEndCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnSwiperAnimationEndCallback* value) { @@ -32673,7 +32871,7 @@ inline void WriteToString(std::string* result, const Opt_OnSwiperAnimationEndCal result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32684,12 +32882,12 @@ inline void WriteToString(std::string* result, const Opt_OnSwiperAnimationEndCal template <> inline Ark_RuntimeType runtimeType(const Opt_OnSwiperAnimationEndCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SwiperAnimationEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SwiperAnimationEvent* value) { @@ -32712,7 +32910,7 @@ inline void WriteToString(std::string* result, const Opt_SwiperAnimationEvent* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32723,12 +32921,12 @@ inline void WriteToString(std::string* result, const Opt_SwiperAnimationEvent* v template <> inline Ark_RuntimeType runtimeType(const Opt_SwiperAnimationEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnSwiperAnimationStartCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnSwiperAnimationStartCallback* value) { @@ -32743,7 +32941,7 @@ inline void WriteToString(std::string* result, const Opt_OnSwiperAnimationStartC result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32754,43 +32952,14 @@ inline void WriteToString(std::string* result, const Opt_OnSwiperAnimationStartC template <> inline Ark_RuntimeType runtimeType(const Opt_OnSwiperAnimationStartCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_SwiperDisplayMode& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_SwiperDisplayMode value) { - result->append("Ark_SwiperDisplayMode("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_SwiperDisplayMode* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_SwiperDisplayMode& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_IndicatorComponentController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32801,7 +32970,7 @@ inline void WriteToString(std::string* result, const Opt_IndicatorComponentContr template <> inline Ark_RuntimeType runtimeType(const Opt_IndicatorComponentController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_DotIndicator_DigitIndicator_Boolean& value) @@ -32841,7 +33010,7 @@ inline void WriteToString(std::string* result, const Opt_Union_DotIndicator_Digi result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32852,14 +33021,43 @@ inline void WriteToString(std::string* result, const Opt_Union_DotIndicator_Digi template <> inline Ark_RuntimeType runtimeType(const Opt_Union_DotIndicator_DigitIndicator_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + 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; +} +template <> +inline void WriteToString(std::string* result, const Ark_SwiperNestedScrollMode value) { + result->append("Ark_SwiperNestedScrollMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SwiperNestedScrollMode* 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_SwiperNestedScrollMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_SwiperController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32870,12 +33068,41 @@ inline void WriteToString(std::string* result, const Opt_SwiperController* value template <> inline Ark_RuntimeType runtimeType(const Opt_SwiperController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SwiperDisplayMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_SwiperDisplayMode value) { + result->append("Ark_SwiperDisplayMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SwiperDisplayMode* 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_SwiperDisplayMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ItemState& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ItemState value) { @@ -32888,7 +33115,7 @@ inline void WriteToString(std::string* result, const Opt_ItemState* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32899,12 +33126,12 @@ inline void WriteToString(std::string* result, const Opt_ItemState* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ItemState& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_Number_index& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_Number_index* value) { @@ -32919,7 +33146,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_Number_index* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32930,28 +33157,26 @@ inline void WriteToString(std::string* result, const Opt_Literal_Number_index* v template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_index& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_StackOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_LayoutDirection& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_StackOptions* value) { - result->append("{"); - // Ark_Alignment alignContent - result->append(".alignContent="); - WriteToString(result, &value->alignContent); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_LayoutDirection value) { + result->append("Ark_LayoutDirection("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_StackOptions* value) { +inline void WriteToString(std::string* result, const Opt_LayoutDirection* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, &value->value); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -32959,27 +33184,27 @@ inline void WriteToString(std::string* result, const Opt_StackOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_StackOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_LayoutDirection& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_TextCase& value) +inline Ark_RuntimeType runtimeType(const Ark_ColorMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_TextCase value) { - result->append("Ark_TextCase("); +inline void WriteToString(std::string* result, const Ark_ColorMode value) { + result->append("Ark_ColorMode("); WriteToString(result, (Ark_Int32) value); result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_TextCase* value) { +inline void WriteToString(std::string* result, const Opt_ColorMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -32988,33 +33213,29 @@ inline void WriteToString(std::string* result, const Opt_TextCase* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_TextCase& value) +inline Ark_RuntimeType runtimeType(const Opt_ColorMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SlideRange& value) +inline Ark_RuntimeType runtimeType(const Ark_StackOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_SlideRange* value) { +inline void WriteToString(std::string* result, const Ark_StackOptions* value) { result->append("{"); - // Ark_Number from - result->append(".from="); - WriteToString(result, &value->from); - // Ark_Number to - result->append(", "); - result->append(".to="); - WriteToString(result, &value->to); + // Ark_Alignment alignContent + result->append(".alignContent="); + WriteToString(result, &value->alignContent); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_SlideRange* value) { +inline void WriteToString(std::string* result, const Opt_StackOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33023,28 +33244,34 @@ inline void WriteToString(std::string* result, const Opt_SlideRange* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SlideRange& value) +inline Ark_RuntimeType runtimeType(const Opt_StackOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_SliderInteraction& value) +inline Ark_RuntimeType runtimeType(const Ark_SlideRange& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_SliderInteraction value) { - result->append("Ark_SliderInteraction("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); +inline void WriteToString(std::string* result, const Ark_SlideRange* value) { + result->append("{"); + // Ark_Number from + result->append(".from="); + WriteToString(result, &value->from); + // Ark_Number to + result->append(", "); + result->append(".to="); + WriteToString(result, &value->to); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_SliderInteraction* value) { +inline void WriteToString(std::string* result, const Opt_SlideRange* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -33052,14 +33279,14 @@ inline void WriteToString(std::string* result, const Opt_SliderInteraction* valu result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_SliderInteraction& value) +inline Ark_RuntimeType runtimeType(const Opt_SlideRange& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SliderBlockStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SliderBlockStyle* value) { @@ -33082,7 +33309,7 @@ inline void WriteToString(std::string* result, const Opt_SliderBlockStyle* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33093,41 +33320,12 @@ inline void WriteToString(std::string* result, const Opt_SliderBlockStyle* value template <> inline Ark_RuntimeType runtimeType(const Opt_SliderBlockStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_SliderChangeMode& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_SliderChangeMode value) { - result->append("Ark_SliderChangeMode("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_SliderChangeMode* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_SliderChangeMode& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Number_SliderChangeMode_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Number_SliderChangeMode_Void* value) { @@ -33142,7 +33340,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_SliderC result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33153,12 +33351,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_SliderC template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_SliderChangeMode_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SliderOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SliderOptions* value) { @@ -33197,7 +33395,7 @@ inline void WriteToString(std::string* result, const Opt_SliderOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33208,12 +33406,70 @@ inline void WriteToString(std::string* result, const Opt_SliderOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SliderOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SliderInteraction& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_SliderInteraction value) { + result->append("Ark_SliderInteraction("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SliderInteraction* 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_SliderInteraction& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SliderChangeMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_SliderChangeMode value) { + result->append("Ark_SliderChangeMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SliderChangeMode* 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_SliderChangeMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ViewportRect& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ViewportRect* value) { @@ -33240,7 +33496,7 @@ inline void WriteToString(std::string* result, const Opt_ViewportRect* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33251,7 +33507,7 @@ inline void WriteToString(std::string* result, const Opt_ViewportRect* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ViewportRect& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_OptionWidthMode& value) @@ -33285,7 +33541,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_OptionW result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33296,41 +33552,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_OptionW template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_OptionWidthMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_ArrowPosition& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_ArrowPosition value) { - result->append("Ark_ArrowPosition("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_ArrowPosition* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_ArrowPosition& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Number_String_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Number_String_Void* value) { @@ -33345,7 +33572,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_String_ result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33356,12 +33583,41 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_String_ template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_String_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ArrowPosition& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ArrowPosition value) { + result->append("Ark_ArrowPosition("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ArrowPosition* 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_ArrowPosition& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SelectOption& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SelectOption* value) { @@ -33384,7 +33640,7 @@ inline void WriteToString(std::string* result, const Opt_SelectOption* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33395,12 +33651,12 @@ inline void WriteToString(std::string* result, const Opt_SelectOption* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SelectOption& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_SelectOption& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -33423,7 +33679,7 @@ inline void WriteToString(std::string* result, const Opt_Array_SelectOption* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33434,7 +33690,7 @@ inline void WriteToString(std::string* result, const Opt_Array_SelectOption* val template <> inline Ark_RuntimeType runtimeType(const Opt_Array_SelectOption& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Position_Edges_LocalizedEdges& value) @@ -33474,7 +33730,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Position_Edges_Lo result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33485,12 +33741,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Position_Edges_Lo template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Position_Edges_LocalizedEdges& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SecurityComponentLayoutDirection& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SecurityComponentLayoutDirection value) { @@ -33503,7 +33759,7 @@ inline void WriteToString(std::string* result, const Opt_SecurityComponentLayout result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33514,12 +33770,12 @@ inline void WriteToString(std::string* result, const Opt_SecurityComponentLayout template <> inline Ark_RuntimeType runtimeType(const Opt_SecurityComponentLayoutDirection& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_DeleteValue_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_DeleteValue_Void* value) { @@ -33534,7 +33790,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_DeleteValue_Vo result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33545,12 +33801,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_DeleteValue_Vo template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_DeleteValue_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DeleteValue& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DeleteValue* value) { @@ -33573,7 +33829,7 @@ inline void WriteToString(std::string* result, const Opt_DeleteValue* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33584,12 +33840,12 @@ inline void WriteToString(std::string* result, const Opt_DeleteValue* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_DeleteValue& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_DeleteValue_Boolean& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_DeleteValue_Boolean* value) { @@ -33604,7 +33860,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_DeleteValue_Bo result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33615,12 +33871,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_DeleteValue_Bo template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_DeleteValue_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_InsertValue_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_InsertValue_Void* value) { @@ -33635,7 +33891,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_InsertValue_Vo result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33646,12 +33902,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_InsertValue_Vo template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_InsertValue_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_InsertValue& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_InsertValue* value) { @@ -33670,7 +33926,7 @@ inline void WriteToString(std::string* result, const Opt_InsertValue* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33681,12 +33937,12 @@ inline void WriteToString(std::string* result, const Opt_InsertValue* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_InsertValue& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_InsertValue_Boolean& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_InsertValue_Boolean* value) { @@ -33701,7 +33957,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_InsertValue_Bo result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33712,41 +33968,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_InsertValue_Bo template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_InsertValue_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_SearchType& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_SearchType value) { - result->append("Ark_SearchType("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_SearchType* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_SearchType& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextDecorationOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TextDecorationOptions* value) { @@ -33769,7 +33996,7 @@ inline void WriteToString(std::string* result, const Opt_TextDecorationOptions* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33780,12 +34007,12 @@ inline void WriteToString(std::string* result, const Opt_TextDecorationOptions* template <> inline Ark_RuntimeType runtimeType(const Opt_TextDecorationOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnPasteCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnPasteCallback* value) { @@ -33800,7 +34027,7 @@ inline void WriteToString(std::string* result, const Opt_OnPasteCallback* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33811,12 +34038,12 @@ inline void WriteToString(std::string* result, const Opt_OnPasteCallback* value) template <> inline Ark_RuntimeType runtimeType(const Opt_OnPasteCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnContentScrollCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnContentScrollCallback* value) { @@ -33831,7 +34058,7 @@ inline void WriteToString(std::string* result, const Opt_OnContentScrollCallback result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33842,12 +34069,12 @@ inline void WriteToString(std::string* result, const Opt_OnContentScrollCallback template <> inline Ark_RuntimeType runtimeType(const Opt_OnContentScrollCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnTextSelectionChangeCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnTextSelectionChangeCallback* value) { @@ -33862,7 +34089,7 @@ inline void WriteToString(std::string* result, const Opt_OnTextSelectionChangeCa result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33873,12 +34100,12 @@ inline void WriteToString(std::string* result, const Opt_OnTextSelectionChangeCa template <> inline Ark_RuntimeType runtimeType(const Opt_OnTextSelectionChangeCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PreviewText& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PreviewText* value) { @@ -33897,7 +34124,7 @@ inline void WriteToString(std::string* result, const Opt_PreviewText* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33908,12 +34135,12 @@ inline void WriteToString(std::string* result, const Opt_PreviewText* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_PreviewText& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const EditableTextOnChangeCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const EditableTextOnChangeCallback* value) { @@ -33928,7 +34155,7 @@ inline void WriteToString(std::string* result, const Opt_EditableTextOnChangeCal result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33939,12 +34166,12 @@ inline void WriteToString(std::string* result, const Opt_EditableTextOnChangeCal template <> inline Ark_RuntimeType runtimeType(const Opt_EditableTextOnChangeCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const SearchSubmitCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const SearchSubmitCallback* value) { @@ -33959,7 +34186,7 @@ inline void WriteToString(std::string* result, const Opt_SearchSubmitCallback* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -33970,12 +34197,12 @@ inline void WriteToString(std::string* result, const Opt_SearchSubmitCallback* v template <> inline Ark_RuntimeType runtimeType(const Opt_SearchSubmitCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CaretStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CaretStyle* value) { @@ -33994,7 +34221,7 @@ inline void WriteToString(std::string* result, const Opt_CaretStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34005,7 +34232,7 @@ inline void WriteToString(std::string* result, const Opt_CaretStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_CaretStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_CancelButtonOptions_CancelButtonSymbolOptions& value) @@ -34039,7 +34266,7 @@ inline void WriteToString(std::string* result, const Opt_Union_CancelButtonOptio result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34050,7 +34277,7 @@ inline void WriteToString(std::string* result, const Opt_Union_CancelButtonOptio template <> inline Ark_RuntimeType runtimeType(const Opt_Union_CancelButtonOptions_CancelButtonSymbolOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_IconOptions_SymbolGlyphModifier& value) @@ -34084,7 +34311,7 @@ inline void WriteToString(std::string* result, const Opt_Union_IconOptions_Symbo result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34095,12 +34322,12 @@ inline void WriteToString(std::string* result, const Opt_Union_IconOptions_Symbo template <> inline Ark_RuntimeType runtimeType(const Opt_Union_IconOptions_SymbolGlyphModifier& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SearchOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SearchOptions* value) { @@ -34127,7 +34354,7 @@ inline void WriteToString(std::string* result, const Opt_SearchOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34138,12 +34365,41 @@ inline void WriteToString(std::string* result, const Opt_SearchOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SearchOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SearchType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_SearchType value) { + result->append("Ark_SearchType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SearchType* 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_SearchType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ScrollBarOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ScrollBarOptions* value) { @@ -34166,7 +34422,7 @@ inline void WriteToString(std::string* result, const Opt_ScrollBarOptions* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34177,12 +34433,12 @@ inline void WriteToString(std::string* result, const Opt_ScrollBarOptions* value template <> inline Ark_RuntimeType runtimeType(const Opt_ScrollBarOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OffsetOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OffsetOptions* value) { @@ -34201,7 +34457,7 @@ inline void WriteToString(std::string* result, const Opt_OffsetOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34212,12 +34468,12 @@ inline void WriteToString(std::string* result, const Opt_OffsetOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_OffsetOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ScrollSnapOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ScrollSnapOptions* value) { @@ -34244,7 +34500,7 @@ inline void WriteToString(std::string* result, const Opt_ScrollSnapOptions* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34255,12 +34511,12 @@ inline void WriteToString(std::string* result, const Opt_ScrollSnapOptions* valu template <> inline Ark_RuntimeType runtimeType(const Opt_ScrollSnapOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnScrollFrameBeginHandlerResult& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnScrollFrameBeginHandlerResult* value) { @@ -34275,7 +34531,7 @@ inline void WriteToString(std::string* result, const Opt_OnScrollFrameBeginHandl result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34286,12 +34542,12 @@ inline void WriteToString(std::string* result, const Opt_OnScrollFrameBeginHandl template <> inline Ark_RuntimeType runtimeType(const Opt_OnScrollFrameBeginHandlerResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnScrollFrameBeginCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnScrollFrameBeginCallback* value) { @@ -34306,7 +34562,7 @@ inline void WriteToString(std::string* result, const Opt_OnScrollFrameBeginCallb result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34317,7 +34573,7 @@ inline void WriteToString(std::string* result, const Opt_OnScrollFrameBeginCallb template <> inline Ark_RuntimeType runtimeType(const Opt_OnScrollFrameBeginCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Color_Number_String& value) @@ -34357,7 +34613,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Color_Number_Stri result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34368,12 +34624,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Color_Number_Stri template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Color_Number_String& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnScrollEdgeCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnScrollEdgeCallback* value) { @@ -34388,7 +34644,7 @@ inline void WriteToString(std::string* result, const Opt_OnScrollEdgeCallback* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34399,12 +34655,12 @@ inline void WriteToString(std::string* result, const Opt_OnScrollEdgeCallback* v template <> inline Ark_RuntimeType runtimeType(const Opt_OnScrollEdgeCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ScrollDirection& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ScrollDirection value) { @@ -34417,7 +34673,7 @@ inline void WriteToString(std::string* result, const Opt_ScrollDirection* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34428,41 +34684,12 @@ inline void WriteToString(std::string* result, const Opt_ScrollDirection* value) template <> inline Ark_RuntimeType runtimeType(const Opt_ScrollDirection& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_SaveButtonOnClickResult& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_SaveButtonOnClickResult value) { - result->append("Ark_SaveButtonOnClickResult("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_SaveButtonOnClickResult* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_SaveButtonOnClickResult& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_ClickEvent_SaveButtonOnClickResult_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_ClickEvent_SaveButtonOnClickResult_Void* value) { @@ -34477,7 +34704,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_ClickEvent_Sav result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34488,12 +34715,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_ClickEvent_Sav template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_ClickEvent_SaveButtonOnClickResult_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SaveButtonOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SaveButtonOptions* value) { @@ -34516,7 +34743,7 @@ inline void WriteToString(std::string* result, const Opt_SaveButtonOptions* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34527,12 +34754,41 @@ inline void WriteToString(std::string* result, const Opt_SaveButtonOptions* valu template <> inline Ark_RuntimeType runtimeType(const Opt_SaveButtonOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SaveButtonOnClickResult& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_SaveButtonOnClickResult value) { + result->append("Ark_SaveButtonOnClickResult("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SaveButtonOnClickResult* 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_SaveButtonOnClickResult& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RowOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RowOptions* value) { @@ -34547,7 +34803,7 @@ inline void WriteToString(std::string* result, const Opt_RowOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34558,12 +34814,12 @@ inline void WriteToString(std::string* result, const Opt_RowOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_RowOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RootSceneSession& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RootSceneSession* value) { @@ -34575,7 +34831,7 @@ inline void WriteToString(std::string* result, const Opt_RootSceneSession* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34586,12 +34842,12 @@ inline void WriteToString(std::string* result, const Opt_RootSceneSession* value template <> inline Ark_RuntimeType runtimeType(const Opt_RootSceneSession& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorStyledStringOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorStyledStringOptions* value) { @@ -34606,7 +34862,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorStyledStringO result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34617,12 +34873,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorStyledStringO template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorStyledStringOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorOptions* value) { @@ -34637,7 +34893,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorOptions* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34648,7 +34904,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorOptions* valu template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ResponseType_RichEditorResponseType& value) @@ -34682,7 +34938,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ResponseType_Rich result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34693,14 +34949,14 @@ inline void WriteToString(std::string* result, const Opt_Union_ResponseType_Rich template <> inline Ark_RuntimeType runtimeType(const Opt_Union_ResponseType_RichEditorResponseType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_EditMenuOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34711,12 +34967,12 @@ inline void WriteToString(std::string* result, const Opt_EditMenuOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_EditMenuOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CopyEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CopyEvent* value) { @@ -34731,7 +34987,7 @@ inline void WriteToString(std::string* result, const Opt_CopyEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34742,12 +34998,12 @@ inline void WriteToString(std::string* result, const Opt_CopyEvent* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_CopyEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_CopyEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_CopyEvent_Void* value) { @@ -34762,7 +35018,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_CopyEvent_Void result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34773,12 +35029,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_CopyEvent_Void template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_CopyEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CutEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CutEvent* value) { @@ -34793,7 +35049,7 @@ inline void WriteToString(std::string* result, const Opt_CutEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34804,12 +35060,12 @@ inline void WriteToString(std::string* result, const Opt_CutEvent* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_CutEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_CutEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_CutEvent_Void* value) { @@ -34824,7 +35080,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_CutEvent_Void* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34835,12 +35091,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_CutEvent_Void* template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_CutEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorChangeValue& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorChangeValue* value) { @@ -34867,7 +35123,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorChangeValue* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34878,12 +35134,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorChangeValue* template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorChangeValue& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_RichEditorChangeValue_Boolean& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_RichEditorChangeValue_Boolean* value) { @@ -34898,7 +35154,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_RichEditorChan result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34909,27 +35165,14 @@ inline void WriteToString(std::string* result, const Opt_Callback_RichEditorChan template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_RichEditorChangeValue_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_SubmitEvent& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_SubmitEvent* value) { - result->append("{"); - // Ark_String text - result->append(".text="); - WriteToString(result, &value->text); - result->append("}"); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_SubmitEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34940,12 +35183,12 @@ inline void WriteToString(std::string* result, const Opt_SubmitEvent* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SubmitEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const SubmitCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const SubmitCallback* value) { @@ -34960,7 +35203,7 @@ inline void WriteToString(std::string* result, const Opt_SubmitCallback* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -34971,12 +35214,12 @@ inline void WriteToString(std::string* result, const Opt_SubmitCallback* value) template <> inline Ark_RuntimeType runtimeType(const Opt_SubmitCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_EnterKeyType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_EnterKeyType value) { @@ -34989,7 +35232,7 @@ inline void WriteToString(std::string* result, const Opt_EnterKeyType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35000,12 +35243,12 @@ inline void WriteToString(std::string* result, const Opt_EnterKeyType* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_EnterKeyType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextDataDetectorType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_TextDataDetectorType value) { @@ -35018,7 +35261,7 @@ inline void WriteToString(std::string* result, const Opt_TextDataDetectorType* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35029,12 +35272,12 @@ inline void WriteToString(std::string* result, const Opt_TextDataDetectorType* v template <> inline Ark_RuntimeType runtimeType(const Opt_TextDataDetectorType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TextDataDetectorConfig& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TextDataDetectorConfig* value) { @@ -35061,7 +35304,7 @@ inline void WriteToString(std::string* result, const Opt_TextDataDetectorConfig* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35072,12 +35315,12 @@ inline void WriteToString(std::string* result, const Opt_TextDataDetectorConfig* template <> inline Ark_RuntimeType runtimeType(const Opt_TextDataDetectorConfig& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PasteEvent& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PasteEvent* value) { @@ -35092,7 +35335,7 @@ inline void WriteToString(std::string* result, const Opt_PasteEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35103,12 +35346,12 @@ inline void WriteToString(std::string* result, const Opt_PasteEvent* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_PasteEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const PasteEventCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const PasteEventCallback* value) { @@ -35123,7 +35366,7 @@ inline void WriteToString(std::string* result, const Opt_PasteEventCallback* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35134,7 +35377,7 @@ inline void WriteToString(std::string* result, const Opt_PasteEventCallback* val template <> inline Ark_RuntimeType runtimeType(const Opt_PasteEventCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_RichEditorTextSpanResult_RichEditorImageSpanResult& value) @@ -35168,7 +35411,7 @@ inline void WriteToString(std::string* result, const Opt_Union_RichEditorTextSpa result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35179,12 +35422,12 @@ inline void WriteToString(std::string* result, const Opt_Union_RichEditorTextSpa template <> inline Ark_RuntimeType runtimeType(const Opt_Union_RichEditorTextSpanResult_RichEditorImageSpanResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorDeleteValue& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorDeleteValue* value) { @@ -35211,7 +35454,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorDeleteValue* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35222,12 +35465,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorDeleteValue* template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorDeleteValue& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_RichEditorDeleteValue_Boolean& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_RichEditorDeleteValue_Boolean* value) { @@ -35242,7 +35485,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_RichEditorDele result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35253,12 +35496,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_RichEditorDele template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_RichEditorDeleteValue_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_TextRange_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_TextRange_Void* value) { @@ -35273,7 +35516,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_TextRange_Void result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35284,12 +35527,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_TextRange_Void template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_TextRange_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_RichEditorTextSpanResult_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_RichEditorTextSpanResult_Void* value) { @@ -35304,7 +35547,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_RichEditorText result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35315,12 +35558,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_RichEditorText template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_RichEditorTextSpanResult_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorInsertValue& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorInsertValue* value) { @@ -35343,7 +35586,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorInsertValue* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35354,12 +35597,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorInsertValue* template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorInsertValue& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_RichEditorInsertValue_Boolean& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_RichEditorInsertValue_Boolean* value) { @@ -35374,7 +35617,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_RichEditorInse result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35385,12 +35628,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_RichEditorInse template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_RichEditorInsertValue_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_RichEditorRange_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_RichEditorRange_Void* value) { @@ -35405,7 +35648,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_RichEditorRang result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35416,12 +35659,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_RichEditorRang template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_RichEditorRange_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorSelection& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RichEditorSelection* value) { @@ -35440,7 +35683,7 @@ inline void WriteToString(std::string* result, const Opt_RichEditorSelection* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35451,12 +35694,12 @@ inline void WriteToString(std::string* result, const Opt_RichEditorSelection* va template <> inline Ark_RuntimeType runtimeType(const Opt_RichEditorSelection& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_RichEditorSelection_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_RichEditorSelection_Void* value) { @@ -35471,7 +35714,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_RichEditorSele result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35482,12 +35725,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_RichEditorSele template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_RichEditorSelection_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_StyledStringChangeValue& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_StyledStringChangeValue* value) { @@ -35510,7 +35753,7 @@ inline void WriteToString(std::string* result, const Opt_StyledStringChangeValue result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35521,7 +35764,7 @@ inline void WriteToString(std::string* result, const Opt_StyledStringChangeValue template <> inline Ark_RuntimeType runtimeType(const Opt_StyledStringChangeValue& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Type_RichEditorController_updateSpanStyle_value& value) @@ -35561,7 +35804,7 @@ inline void WriteToString(std::string* result, const Opt_Type_RichEditorControll result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35572,7 +35815,7 @@ inline void WriteToString(std::string* result, const Opt_Type_RichEditorControll template <> inline Ark_RuntimeType runtimeType(const Opt_Type_RichEditorController_updateSpanStyle_value& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_PixelMap_ResourceStr& value) @@ -35606,7 +35849,7 @@ inline void WriteToString(std::string* result, const Opt_Union_PixelMap_Resource result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35617,111 +35860,14 @@ inline void WriteToString(std::string* result, const Opt_Union_PixelMap_Resource template <> inline Ark_RuntimeType runtimeType(const Opt_Union_PixelMap_ResourceStr& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_GestureEvent& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_GestureEvent* value) { - result->append("{"); - // Ark_EventTarget target - result->append(".target="); - WriteToString(result, &value->target); - // Ark_Number timestamp - result->append(", "); - result->append(".timestamp="); - WriteToString(result, &value->timestamp); - // Ark_SourceType source - result->append(", "); - result->append(".source="); - WriteToString(result, value->source); - // Ark_Number axisHorizontal - result->append(", "); - result->append(".axisHorizontal="); - WriteToString(result, &value->axisHorizontal); - // Ark_Number axisVertical - result->append(", "); - result->append(".axisVertical="); - WriteToString(result, &value->axisVertical); - // Ark_Number pressure - result->append(", "); - result->append(".pressure="); - WriteToString(result, &value->pressure); - // Ark_Number tiltX - result->append(", "); - result->append(".tiltX="); - WriteToString(result, &value->tiltX); - // Ark_Number tiltY - result->append(", "); - result->append(".tiltY="); - WriteToString(result, &value->tiltY); - // Ark_SourceTool sourceTool - result->append(", "); - result->append(".sourceTool="); - WriteToString(result, value->sourceTool); - // Ark_Number deviceId - result->append(", "); - result->append(".deviceId="); - WriteToString(result, &value->deviceId); - // Ark_Boolean repeat - result->append(", "); - result->append(".repeat="); - WriteToString(result, value->repeat); - // Array_FingerInfo fingerList - result->append(", "); - result->append(".fingerList="); - WriteToString(result, &value->fingerList); - // Ark_Number offsetX - result->append(", "); - result->append(".offsetX="); - WriteToString(result, &value->offsetX); - // Ark_Number offsetY - result->append(", "); - result->append(".offsetY="); - WriteToString(result, &value->offsetY); - // Ark_Number angle - result->append(", "); - result->append(".angle="); - WriteToString(result, &value->angle); - // Ark_Number speed - result->append(", "); - result->append(".speed="); - WriteToString(result, &value->speed); - // Ark_Number scale - result->append(", "); - result->append(".scale="); - WriteToString(result, &value->scale); - // Ark_Number pinchCenterX - result->append(", "); - result->append(".pinchCenterX="); - WriteToString(result, &value->pinchCenterX); - // Ark_Number pinchCenterY - result->append(", "); - result->append(".pinchCenterY="); - WriteToString(result, &value->pinchCenterY); - // Ark_Number velocityX - result->append(", "); - result->append(".velocityX="); - WriteToString(result, &value->velocityX); - // Ark_Number velocityY - result->append(", "); - result->append(".velocityY="); - WriteToString(result, &value->velocityY); - // Ark_Number velocity - result->append(", "); - result->append(".velocity="); - WriteToString(result, &value->velocity); - result->append("}"); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35732,12 +35878,12 @@ inline void WriteToString(std::string* result, const Opt_GestureEvent* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_GestureEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LocalizedBarrierStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LocalizedBarrierStyle* value) { @@ -35760,7 +35906,7 @@ inline void WriteToString(std::string* result, const Opt_LocalizedBarrierStyle* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35771,12 +35917,12 @@ inline void WriteToString(std::string* result, const Opt_LocalizedBarrierStyle* template <> inline Ark_RuntimeType runtimeType(const Opt_LocalizedBarrierStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_LocalizedBarrierStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -35799,7 +35945,7 @@ inline void WriteToString(std::string* result, const Opt_Array_LocalizedBarrierS result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35810,12 +35956,12 @@ inline void WriteToString(std::string* result, const Opt_Array_LocalizedBarrierS template <> inline Ark_RuntimeType runtimeType(const Opt_Array_LocalizedBarrierStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BarrierStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_BarrierStyle* value) { @@ -35838,7 +35984,7 @@ inline void WriteToString(std::string* result, const Opt_BarrierStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35849,12 +35995,12 @@ inline void WriteToString(std::string* result, const Opt_BarrierStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_BarrierStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_BarrierStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -35877,7 +36023,7 @@ inline void WriteToString(std::string* result, const Opt_Array_BarrierStyle* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35888,12 +36034,12 @@ inline void WriteToString(std::string* result, const Opt_Array_BarrierStyle* val template <> inline Ark_RuntimeType runtimeType(const Opt_Array_BarrierStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GuideLineStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_GuideLineStyle* value) { @@ -35916,7 +36062,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35927,12 +36073,12 @@ inline void WriteToString(std::string* result, const Opt_GuideLineStyle* value) template <> inline Ark_RuntimeType runtimeType(const Opt_GuideLineStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_GuideLineStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -35955,7 +36101,7 @@ inline void WriteToString(std::string* result, const Opt_Array_GuideLineStyle* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -35966,41 +36112,12 @@ inline void WriteToString(std::string* result, const Opt_Array_GuideLineStyle* v template <> inline Ark_RuntimeType runtimeType(const Opt_Array_GuideLineStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_RefreshStatus& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_RefreshStatus value) { - result->append("Ark_RefreshStatus("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_RefreshStatus* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_RefreshStatus& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_RefreshStatus_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_RefreshStatus_Void* value) { @@ -36015,7 +36132,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_RefreshStatus_ result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36026,12 +36143,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_RefreshStatus_ template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_RefreshStatus_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RefreshOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RefreshOptions* value) { @@ -36066,7 +36183,7 @@ inline void WriteToString(std::string* result, const Opt_RefreshOptions* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36077,7 +36194,36 @@ inline void WriteToString(std::string* result, const Opt_RefreshOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_RefreshOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RefreshStatus& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_RefreshStatus value) { + result->append("Ark_RefreshStatus("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RefreshStatus* 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_RefreshStatus& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_RectOptions_RoundedRectOptions& value) @@ -36111,7 +36257,7 @@ inline void WriteToString(std::string* result, const Opt_Union_RectOptions_Round result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36122,12 +36268,12 @@ inline void WriteToString(std::string* result, const Opt_Union_RectOptions_Round template <> inline Ark_RuntimeType runtimeType(const Opt_Union_RectOptions_RoundedRectOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_StarStyleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_StarStyleOptions* value) { @@ -36150,7 +36296,7 @@ inline void WriteToString(std::string* result, const Opt_StarStyleOptions* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36161,12 +36307,12 @@ inline void WriteToString(std::string* result, const Opt_StarStyleOptions* value template <> inline Ark_RuntimeType runtimeType(const Opt_StarStyleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RatingOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RatingOptions* value) { @@ -36185,7 +36331,7 @@ inline void WriteToString(std::string* result, const Opt_RatingOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36196,12 +36342,12 @@ inline void WriteToString(std::string* result, const Opt_RatingOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_RatingOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RadioStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RadioStyle* value) { @@ -36224,7 +36370,7 @@ inline void WriteToString(std::string* result, const Opt_RadioStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36235,12 +36381,12 @@ inline void WriteToString(std::string* result, const Opt_RadioStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_RadioStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RadioOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RadioOptions* value) { @@ -36267,7 +36413,7 @@ inline void WriteToString(std::string* result, const Opt_RadioOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36278,7 +36424,7 @@ inline void WriteToString(std::string* result, const Opt_RadioOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_RadioOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + 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) @@ -36324,7 +36470,7 @@ inline void WriteToString(std::string* result, const Opt_Union_LinearStyleOption result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36335,12 +36481,12 @@ inline void WriteToString(std::string* result, const Opt_Union_LinearStyleOption template <> inline Ark_RuntimeType runtimeType(const Opt_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ProgressOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ProgressOptions* value) { @@ -36367,7 +36513,7 @@ inline void WriteToString(std::string* result, const Opt_ProgressOptions* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36378,12 +36524,51 @@ inline void WriteToString(std::string* result, const Opt_ProgressOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_ProgressOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Array_Point& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +inline void WriteToString(std::string* result, const Ark_Point* value); + +inline void WriteToString(std::string* result, const Array_Point* 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_Point*)&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_Point* 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_Point& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PolylineOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PolylineOptions* value) { @@ -36402,7 +36587,7 @@ inline void WriteToString(std::string* result, const Opt_PolylineOptions* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36413,12 +36598,47 @@ inline void WriteToString(std::string* result, const Opt_PolylineOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_PolylineOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Point& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_Point* value) { + result->append("{"); + // Ark_Number x + result->append(".x="); + WriteToString(result, &value->x); + // Ark_Number y + result->append(", "); + result->append(".y="); + WriteToString(result, &value->y); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Point* 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_Point& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PolygonOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PolygonOptions* value) { @@ -36437,7 +36657,7 @@ inline void WriteToString(std::string* result, const Opt_PolygonOptions* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36448,12 +36668,12 @@ inline void WriteToString(std::string* result, const Opt_PolygonOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_PolygonOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PluginErrorData& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PluginErrorData* value) { @@ -36472,7 +36692,7 @@ inline void WriteToString(std::string* result, const Opt_PluginErrorData* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36483,12 +36703,12 @@ inline void WriteToString(std::string* result, const Opt_PluginErrorData* value) template <> inline Ark_RuntimeType runtimeType(const Opt_PluginErrorData& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const PluginErrorCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const PluginErrorCallback* value) { @@ -36503,7 +36723,7 @@ inline void WriteToString(std::string* result, const Opt_PluginErrorCallback* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36514,12 +36734,12 @@ inline void WriteToString(std::string* result, const Opt_PluginErrorCallback* va template <> inline Ark_RuntimeType runtimeType(const Opt_PluginErrorCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PluginComponentOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PluginComponentOptions* value) { @@ -36527,7 +36747,7 @@ inline void WriteToString(std::string* result, const Ark_PluginComponentOptions* // Ark_PluginComponentTemplate template result->append(".template="); WriteToString(result, &value->template_); - // Ark_CustomObject data + // Ark_String data result->append(", "); result->append(".data="); WriteToString(result, &value->data); @@ -36538,7 +36758,7 @@ inline void WriteToString(std::string* result, const Opt_PluginComponentOptions* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36549,12 +36769,12 @@ inline void WriteToString(std::string* result, const Opt_PluginComponentOptions* template <> inline Ark_RuntimeType runtimeType(const Opt_PluginComponentOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Array_Number_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Array_Number_Void* value) { @@ -36569,7 +36789,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Array_Number_V result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36580,14 +36800,14 @@ inline void WriteToString(std::string* result, const Opt_Callback_Array_Number_V template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Array_Number_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_PatternLockController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36598,12 +36818,12 @@ inline void WriteToString(std::string* result, const Opt_PatternLockController* template <> inline Ark_RuntimeType runtimeType(const Opt_PatternLockController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PathOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PathOptions* value) { @@ -36626,7 +36846,7 @@ inline void WriteToString(std::string* result, const Opt_PathOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36637,41 +36857,12 @@ inline void WriteToString(std::string* result, const Opt_PathOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_PathOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_PasteButtonOnClickResult& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_PasteButtonOnClickResult value) { - result->append("Ark_PasteButtonOnClickResult("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_PasteButtonOnClickResult* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_PasteButtonOnClickResult& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_ClickEvent_PasteButtonOnClickResult_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_ClickEvent_PasteButtonOnClickResult_Void* value) { @@ -36686,7 +36877,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_ClickEvent_Pas result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36697,12 +36888,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_ClickEvent_Pas template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_ClickEvent_PasteButtonOnClickResult_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PasteButtonOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PasteButtonOptions* value) { @@ -36725,7 +36916,7 @@ inline void WriteToString(std::string* result, const Opt_PasteButtonOptions* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36736,12 +36927,186 @@ inline void WriteToString(std::string* result, const Opt_PasteButtonOptions* val template <> inline Ark_RuntimeType runtimeType(const Opt_PasteButtonOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_PasteButtonOnClickResult& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_PasteButtonOnClickResult value) { + result->append("Ark_PasteButtonOnClickResult("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PasteButtonOnClickResult* 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_PasteButtonOnClickResult& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_DisturbanceFieldShape& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_DisturbanceFieldShape value) { + result->append("Ark_DisturbanceFieldShape("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DisturbanceFieldShape* 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_DisturbanceFieldShape& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ParticleUpdater& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ParticleUpdater value) { + result->append("Ark_ParticleUpdater("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ParticleUpdater* 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_ParticleUpdater& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_DistributionType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_DistributionType value) { + result->append("Ark_DistributionType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DistributionType* 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_DistributionType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ParticleEmitterShape& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ParticleEmitterShape value) { + result->append("Ark_ParticleEmitterShape("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ParticleEmitterShape* 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_ParticleEmitterShape& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ParticleType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ParticleType value) { + result->append("Ark_ParticleType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ParticleType* 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_ParticleType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Number_Number_PanelMode_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Number_Number_PanelMode_Void* value) { @@ -36756,7 +37121,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_Number_ result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36767,7 +37132,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_Number_ template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_Number_PanelMode_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_PanelHeight& value) @@ -36801,7 +37166,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_PanelHe result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36812,12 +37177,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_PanelHe template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_PanelHeight& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PanelType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_PanelType value) { @@ -36830,7 +37195,7 @@ inline void WriteToString(std::string* result, const Opt_PanelType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36841,12 +37206,12 @@ inline void WriteToString(std::string* result, const Opt_PanelType* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_PanelType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PanelMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_PanelMode value) { @@ -36859,7 +37224,7 @@ inline void WriteToString(std::string* result, const Opt_PanelMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36870,25 +37235,55 @@ inline void WriteToString(std::string* result, const Opt_PanelMode* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_PanelMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NodeController& value) +inline Ark_RuntimeType runtimeType(const Ark_SlideEffect& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_NodeController* value) { - result->append("{"); +inline void WriteToString(std::string* result, const Ark_SlideEffect value) { + result->append("Ark_SlideEffect("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SlideEffect* 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_NodeController* value) { +inline Ark_RuntimeType runtimeType(const Opt_SlideEffect& 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; +} +template <> +inline void WriteToString(std::string* result, const Ark_RouteType value) { + result->append("Ark_RouteType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RouteType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, &value->value); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -36896,33 +37291,26 @@ inline void WriteToString(std::string* result, const Opt_NodeController* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NodeController& value) +inline Ark_RuntimeType runtimeType(const Opt_RouteType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_Literal_String_target_NavigationType_type& value) +inline Ark_RuntimeType runtimeType(const Ark_NodeController& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_Literal_String_target_NavigationType_type* value) { +inline void WriteToString(std::string* result, const Ark_NodeController* value) { result->append("{"); - // Ark_String target - result->append(".target="); - WriteToString(result, &value->target); - // Ark_NavigationType type - result->append(", "); - result->append(".type="); - WriteToString(result, &value->type); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Literal_String_target_NavigationType_type* value) { +inline void WriteToString(std::string* result, const Opt_NodeController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36931,28 +37319,34 @@ inline void WriteToString(std::string* result, const Opt_Literal_String_target_N result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Literal_String_target_NavigationType_type& value) +inline Ark_RuntimeType runtimeType(const Opt_NodeController& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NavigationMode& value) +inline Ark_RuntimeType runtimeType(const Ark_Literal_String_target_NavigationType_type& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_NavigationMode value) { - result->append("Ark_NavigationMode("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); +inline void WriteToString(std::string* result, const Ark_Literal_String_target_NavigationType_type* value) { + result->append("{"); + // Ark_String target + result->append(".target="); + WriteToString(result, &value->target); + // Ark_NavigationType type + result->append(", "); + result->append(".type="); + WriteToString(result, &value->type); + result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_NavigationMode* value) { +inline void WriteToString(std::string* result, const Opt_Literal_String_target_NavigationType_type* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -36960,14 +37354,14 @@ inline void WriteToString(std::string* result, const Opt_NavigationMode* value) result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationMode& value) +inline Ark_RuntimeType runtimeType(const Opt_Literal_String_target_NavigationType_type& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NavigationOperation& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_NavigationOperation value) { @@ -36980,7 +37374,7 @@ inline void WriteToString(std::string* result, const Opt_NavigationOperation* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -36991,7 +37385,7 @@ inline void WriteToString(std::string* result, const Opt_NavigationOperation* va template <> inline Ark_RuntimeType runtimeType(const Opt_NavigationOperation& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_NavDestinationContext_NavBar& value) @@ -37025,7 +37419,7 @@ inline void WriteToString(std::string* result, const Opt_Union_NavDestinationCon result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -37036,25 +37430,25 @@ inline void WriteToString(std::string* result, const Opt_Union_NavDestinationCon template <> inline Ark_RuntimeType runtimeType(const Opt_Union_NavDestinationContext_NavBar& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_NavRouteMode& value) +inline Ark_RuntimeType runtimeType(const Ark_NavigationTitleMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_NavRouteMode value) { - result->append("Ark_NavRouteMode("); +inline void WriteToString(std::string* result, const Ark_NavigationTitleMode value) { + result->append("Ark_NavigationTitleMode("); WriteToString(result, (Ark_Int32) value); result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_NavRouteMode* value) { +inline void WriteToString(std::string* result, const Opt_NavigationTitleMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -37063,34 +37457,28 @@ inline void WriteToString(std::string* result, const Opt_NavRouteMode* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_NavRouteMode& value) +inline Ark_RuntimeType runtimeType(const Opt_NavigationTitleMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_RouteInfo& value) +inline Ark_RuntimeType runtimeType(const Ark_NavBarPosition& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_RouteInfo* value) { - result->append("{"); - // Ark_String name - result->append(".name="); - WriteToString(result, &value->name); - // Ark_CustomObject param - result->append(", "); - result->append(".param="); - WriteToString(result, &value->param); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_NavBarPosition value) { + result->append("Ark_NavBarPosition("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_RouteInfo* value) { +inline void WriteToString(std::string* result, const Opt_NavBarPosition* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, &value->value); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -37098,27 +37486,27 @@ inline void WriteToString(std::string* result, const Opt_RouteInfo* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_RouteInfo& value) +inline Ark_RuntimeType runtimeType(const Opt_NavBarPosition& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LayoutSafeAreaEdge& value) +inline Ark_RuntimeType runtimeType(const Ark_NavigationMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_LayoutSafeAreaEdge value) { - result->append("Ark_LayoutSafeAreaEdge("); +inline void WriteToString(std::string* result, const Ark_NavigationMode value) { + result->append("Ark_NavigationMode("); WriteToString(result, (Ark_Int32) value); result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_LayoutSafeAreaEdge* value) { +inline void WriteToString(std::string* result, const Opt_NavigationMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -37127,37 +37515,62 @@ inline void WriteToString(std::string* result, const Opt_LayoutSafeAreaEdge* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LayoutSafeAreaEdge& value) +inline Ark_RuntimeType runtimeType(const Opt_NavigationMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Array_LayoutSafeAreaEdge& value) +inline Ark_RuntimeType runtimeType(const Ark_NavRouteMode& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } - template <> -inline void WriteToString(std::string* result, const Ark_LayoutSafeAreaEdge value); - -inline void WriteToString(std::string* result, const Array_LayoutSafeAreaEdge* 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]); +inline void WriteToString(std::string* result, const Ark_NavRouteMode value) { + result->append("Ark_NavRouteMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_NavRouteMode* 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("}})"); - result->append(", .length="); - result->append(std::to_string(value->length)); result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Array_LayoutSafeAreaEdge* value) { +inline Ark_RuntimeType runtimeType(const Opt_NavRouteMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RouteInfo& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RouteInfo* value) { + result->append("{"); + // Ark_String name + result->append(".name="); + WriteToString(result, &value->name); + // Ark_CustomObject param + result->append(", "); + result->append(".param="); + WriteToString(result, &value->param); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RouteInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -37166,28 +37579,38 @@ inline void WriteToString(std::string* result, const Opt_Array_LayoutSafeAreaEdg result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Array_LayoutSafeAreaEdge& value) +inline Ark_RuntimeType runtimeType(const Opt_RouteInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LayoutSafeAreaType& value) +inline Ark_RuntimeType runtimeType(const Array_LayoutSafeAreaEdge& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } + template <> -inline void WriteToString(std::string* result, const Ark_LayoutSafeAreaType value) { - result->append("Ark_LayoutSafeAreaType("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); +inline void WriteToString(std::string* result, const Ark_LayoutSafeAreaEdge value); + +inline void WriteToString(std::string* result, const Array_LayoutSafeAreaEdge* 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_LayoutSafeAreaType* value) { +inline void WriteToString(std::string* result, const Opt_Array_LayoutSafeAreaEdge* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -37195,14 +37618,14 @@ inline void WriteToString(std::string* result, const Opt_LayoutSafeAreaType* val result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_LayoutSafeAreaType& value) +inline Ark_RuntimeType runtimeType(const Opt_Array_LayoutSafeAreaEdge& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_LayoutSafeAreaType& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -37225,7 +37648,7 @@ inline void WriteToString(std::string* result, const Opt_Array_LayoutSafeAreaTyp result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -37236,12 +37659,12 @@ inline void WriteToString(std::string* result, const Opt_Array_LayoutSafeAreaTyp template <> inline Ark_RuntimeType runtimeType(const Opt_Array_LayoutSafeAreaType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ToolbarItem& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ToolbarItem* value) { @@ -37280,7 +37703,7 @@ inline void WriteToString(std::string* result, const Opt_ToolbarItem* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -37291,7 +37714,7 @@ inline void WriteToString(std::string* result, const Opt_ToolbarItem* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ToolbarItem& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Array_ToolbarItem_CustomBuilder& value) @@ -37325,7 +37748,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Array_ToolbarItem result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -37336,7 +37759,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Array_ToolbarItem template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Array_ToolbarItem_CustomBuilder& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Type_NavDestinationAttribute_title_value& value) @@ -37388,7 +37811,7 @@ inline void WriteToString(std::string* result, const Opt_Type_NavDestinationAttr result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -37399,41 +37822,12 @@ inline void WriteToString(std::string* result, const Opt_Type_NavDestinationAttr template <> inline Ark_RuntimeType runtimeType(const Opt_Type_NavDestinationAttribute_title_value& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_NavigationSystemTransitionType& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_NavigationSystemTransitionType value) { - result->append("Ark_NavigationSystemTransitionType("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_NavigationSystemTransitionType* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_NavigationSystemTransitionType& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_NavDestinationContext_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_NavDestinationContext_Void* value) { @@ -37448,7 +37842,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_NavDestination result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -37459,12 +37853,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_NavDestination template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_NavDestinationContext_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NavigationMenuItem& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_NavigationMenuItem* value) { @@ -37495,7 +37889,7 @@ inline void WriteToString(std::string* result, const Opt_NavigationMenuItem* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -37506,7 +37900,7 @@ inline void WriteToString(std::string* result, const Opt_NavigationMenuItem* val template <> inline Ark_RuntimeType runtimeType(const Opt_NavigationMenuItem& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Array_NavigationMenuItem_CustomBuilder& value) @@ -37540,7 +37934,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Array_NavigationM result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -37551,7 +37945,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Array_NavigationM template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Array_NavigationMenuItem_CustomBuilder& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceStr_PixelMap_SymbolGlyphModifier& value) @@ -37591,7 +37985,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceStr_Pixel result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -37602,12 +37996,12 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceStr_Pixel template <> inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceStr_PixelMap_SymbolGlyphModifier& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Boolean& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Boolean* value) { @@ -37622,7 +38016,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Boolean* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -37633,12 +38027,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Boolean* value template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PopInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PopInfo* value) { @@ -37657,7 +38051,7 @@ inline void WriteToString(std::string* result, const Opt_PopInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -37668,12 +38062,41 @@ inline void WriteToString(std::string* result, const Opt_PopInfo* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_PopInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_NavigationSystemTransitionType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_NavigationSystemTransitionType value) { + result->append("Ark_NavigationSystemTransitionType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_NavigationSystemTransitionType* 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_NavigationSystemTransitionType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_MenuItemGroupOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_MenuItemGroupOptions* value) { @@ -37692,7 +38115,7 @@ inline void WriteToString(std::string* result, const Opt_MenuItemGroupOptions* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -37703,7 +38126,7 @@ inline void WriteToString(std::string* result, const Opt_MenuItemGroupOptions* v template <> inline Ark_RuntimeType runtimeType(const Opt_MenuItemGroupOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Boolean_ResourceStr_SymbolGlyphModifier& value) @@ -37743,7 +38166,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Boolean_ResourceS result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -37754,7 +38177,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Boolean_ResourceS template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_ResourceStr_SymbolGlyphModifier& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_MenuItemOptions_CustomBuilder& value) @@ -37788,7 +38211,7 @@ inline void WriteToString(std::string* result, const Opt_Union_MenuItemOptions_C result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -37799,12 +38222,12 @@ inline void WriteToString(std::string* result, const Opt_Union_MenuItemOptions_C template <> inline Ark_RuntimeType runtimeType(const Opt_Union_MenuItemOptions_CustomBuilder& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SubMenuExpandingMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_SubMenuExpandingMode value) { @@ -37817,7 +38240,7 @@ inline void WriteToString(std::string* result, const Opt_SubMenuExpandingMode* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -37828,7 +38251,7 @@ inline void WriteToString(std::string* result, const Opt_SubMenuExpandingMode* v template <> inline Ark_RuntimeType runtimeType(const Opt_SubMenuExpandingMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource& value) @@ -37874,7 +38297,7 @@ inline void WriteToString(std::string* result, const Opt_Union_PixelMap_Resource result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -37885,41 +38308,12 @@ inline void WriteToString(std::string* result, const Opt_Union_PixelMap_Resource template <> inline Ark_RuntimeType runtimeType(const Opt_Union_PixelMap_ResourceStr_DrawableDescriptor_ASTCResource& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_MarqueeUpdateStrategy& value) -{ - return ARK_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 != ARK_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 != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_MarqueeOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_MarqueeOptions* value) { @@ -37950,7 +38344,7 @@ inline void WriteToString(std::string* result, const Opt_MarqueeOptions* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -37961,41 +38355,12 @@ inline void WriteToString(std::string* result, const Opt_MarqueeOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_MarqueeOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_LocationButtonOnClickResult& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_LocationButtonOnClickResult value) { - result->append("Ark_LocationButtonOnClickResult("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_LocationButtonOnClickResult* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_LocationButtonOnClickResult& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_ClickEvent_LocationButtonOnClickResult_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_ClickEvent_LocationButtonOnClickResult_Void* value) { @@ -38010,7 +38375,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_ClickEvent_Loc result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38021,12 +38386,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_ClickEvent_Loc template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_ClickEvent_LocationButtonOnClickResult_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LocationButtonOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LocationButtonOptions* value) { @@ -38049,7 +38414,7 @@ inline void WriteToString(std::string* result, const Opt_LocationButtonOptions* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38060,12 +38425,70 @@ inline void WriteToString(std::string* result, const Opt_LocationButtonOptions* template <> inline Ark_RuntimeType runtimeType(const Opt_LocationButtonOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_LocationButtonOnClickResult& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_LocationButtonOnClickResult value) { + result->append("Ark_LocationButtonOnClickResult("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_LocationButtonOnClickResult* 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_LocationButtonOnClickResult& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_LoadingProgressStyle& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_LoadingProgressStyle value) { + result->append("Ark_LoadingProgressStyle("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_LoadingProgressStyle* 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_LoadingProgressStyle& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ListItemGroupOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ListItemGroupOptions* value) { @@ -38100,7 +38523,7 @@ inline void WriteToString(std::string* result, const Opt_ListItemGroupOptions* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38111,41 +38534,12 @@ inline void WriteToString(std::string* result, const Opt_ListItemGroupOptions* v template <> inline Ark_RuntimeType runtimeType(const Opt_ListItemGroupOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_SwipeActionState& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_SwipeActionState value) { - result->append("Ark_SwipeActionState("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_SwipeActionState* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_SwipeActionState& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SwipeActionOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SwipeActionOptions* value) { @@ -38172,7 +38566,7 @@ inline void WriteToString(std::string* result, const Opt_SwipeActionOptions* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38183,7 +38577,7 @@ inline void WriteToString(std::string* result, const Opt_SwipeActionOptions* val template <> inline Ark_RuntimeType runtimeType(const Opt_SwipeActionOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Boolean_EditMode& value) @@ -38217,7 +38611,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Boolean_EditMode* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38228,41 +38622,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Boolean_EditMode* template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Boolean_EditMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_Sticky& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_Sticky value) { - result->append("Ark_Sticky("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Sticky* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Sticky& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ListItemOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ListItemOptions* value) { @@ -38277,7 +38642,7 @@ inline void WriteToString(std::string* result, const Opt_ListItemOptions* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38288,7 +38653,65 @@ inline void WriteToString(std::string* result, const Opt_ListItemOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_ListItemOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SwipeActionState& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_SwipeActionState value) { + result->append("Ark_SwipeActionState("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SwipeActionState* 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_SwipeActionState& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Sticky& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_Sticky value) { + result->append("Ark_Sticky("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Sticky* 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_Sticky& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Number_LengthConstrain& value) @@ -38322,7 +38745,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_LengthCons result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38333,12 +38756,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_LengthCons template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Number_LengthConstrain& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Number_Number_Boolean& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Number_Number_Boolean* value) { @@ -38353,7 +38776,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_Number_ result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38364,12 +38787,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_Number_ template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_Number_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Number_Boolean& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Number_Boolean* value) { @@ -38384,7 +38807,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_Boolean result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38395,12 +38818,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_Boolean template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_VisibleListContentInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_VisibleListContentInfo* value) { @@ -38423,7 +38846,7 @@ inline void WriteToString(std::string* result, const Opt_VisibleListContentInfo* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38434,12 +38857,12 @@ inline void WriteToString(std::string* result, const Opt_VisibleListContentInfo* template <> inline Ark_RuntimeType runtimeType(const Opt_VisibleListContentInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnScrollVisibleContentChangeCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnScrollVisibleContentChangeCallback* value) { @@ -38454,7 +38877,7 @@ inline void WriteToString(std::string* result, const Opt_OnScrollVisibleContentC result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38465,12 +38888,12 @@ inline void WriteToString(std::string* result, const Opt_OnScrollVisibleContentC template <> inline Ark_RuntimeType runtimeType(const Opt_OnScrollVisibleContentChangeCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Number_Number_Number_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Number_Number_Number_Void* value) { @@ -38485,7 +38908,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_Number_ result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38496,14 +38919,14 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_Number_ template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_Number_Number_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_ChildrenMainSize* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38514,41 +38937,12 @@ inline void WriteToString(std::string* result, const Opt_ChildrenMainSize* value template <> inline Ark_RuntimeType runtimeType(const Opt_ChildrenMainSize& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_StickyStyle& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_StickyStyle value) { - result->append("Ark_StickyStyle("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_StickyStyle* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_StickyStyle& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ChainAnimationOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ChainAnimationOptions* value) { @@ -38587,7 +38981,7 @@ inline void WriteToString(std::string* result, const Opt_ChainAnimationOptions* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38598,25 +38992,64 @@ inline void WriteToString(std::string* result, const Opt_ChainAnimationOptions* template <> inline Ark_RuntimeType runtimeType(const Opt_ChainAnimationOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ListItemAlign& value) +inline Ark_RuntimeType runtimeType(const Ark_ListOptions& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Ark_ListItemAlign value) { - result->append("Ark_ListItemAlign("); +inline void WriteToString(std::string* result, const Ark_ListOptions* value) { + result->append("{"); + // Ark_Number initialIndex + result->append(".initialIndex="); + WriteToString(result, &value->initialIndex); + // Ark_Union_Number_String space + result->append(", "); + result->append(".space="); + WriteToString(result, &value->space); + // Ark_Scroller scroller + result->append(", "); + result->append(".scroller="); + WriteToString(result, &value->scroller); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ListOptions* 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_ListOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_StickyStyle& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_StickyStyle value) { + result->append("Ark_StickyStyle("); WriteToString(result, (Ark_Int32) value); result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_ListItemAlign* value) { +inline void WriteToString(std::string* result, const Opt_StickyStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38625,38 +39058,28 @@ inline void WriteToString(std::string* result, const Opt_ListItemAlign* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ListItemAlign& value) +inline Ark_RuntimeType runtimeType(const Opt_StickyStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ListOptions& value) +inline Ark_RuntimeType runtimeType(const Ark_ListItemAlign& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_NUMBER; } template <> -inline void WriteToString(std::string* result, const Ark_ListOptions* value) { - result->append("{"); - // Ark_Number initialIndex - result->append(".initialIndex="); - WriteToString(result, &value->initialIndex); - // Ark_Union_Number_String space - result->append(", "); - result->append(".space="); - WriteToString(result, &value->space); - // Ark_Scroller scroller - result->append(", "); - result->append(".scroller="); - WriteToString(result, &value->scroller); - result->append("}"); +inline void WriteToString(std::string* result, const Ark_ListItemAlign value) { + result->append("Ark_ListItemAlign("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); } template <> -inline void WriteToString(std::string* result, const Opt_ListOptions* value) { +inline void WriteToString(std::string* result, const Opt_ListItemAlign* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, &value->value); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; WriteToString(result, undefined); @@ -38664,14 +39087,14 @@ inline void WriteToString(std::string* result, const Opt_ListOptions* value) { result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_ListOptions& value) +inline Ark_RuntimeType runtimeType(const Opt_ListItemAlign& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LineOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LineOptions* value) { @@ -38690,7 +39113,7 @@ inline void WriteToString(std::string* result, const Opt_LineOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38701,12 +39124,41 @@ inline void WriteToString(std::string* result, const Opt_LineOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_LineOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_DataOperationType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_DataOperationType value) { + result->append("Ark_DataOperationType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DataOperationType* 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_DataOperationType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ImageLoadResult& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ImageLoadResult* value) { @@ -38753,7 +39205,7 @@ inline void WriteToString(std::string* result, const Opt_ImageLoadResult* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38764,12 +39216,12 @@ inline void WriteToString(std::string* result, const Opt_ImageLoadResult* value) template <> inline Ark_RuntimeType runtimeType(const Opt_ImageLoadResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const ImageCompleteCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const ImageCompleteCallback* value) { @@ -38784,7 +39236,7 @@ inline void WriteToString(std::string* result, const Opt_ImageCompleteCallback* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38795,7 +39247,7 @@ inline void WriteToString(std::string* result, const Opt_ImageCompleteCallback* template <> inline Ark_RuntimeType runtimeType(const Opt_ImageCompleteCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ColorFilter_DrawingColorFilter& value) @@ -38829,7 +39281,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ColorFilter_Drawi result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38840,7 +39292,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ColorFilter_Drawi template <> inline Ark_RuntimeType runtimeType(const Opt_Union_ColorFilter_DrawingColorFilter& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceStr_PixelMap& value) @@ -38874,7 +39326,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceStr_Pixel result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38885,12 +39337,12 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceStr_Pixel template <> inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceStr_PixelMap& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ImageFrameInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ImageFrameInfo* value) { @@ -38925,7 +39377,7 @@ inline void WriteToString(std::string* result, const Opt_ImageFrameInfo* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38936,12 +39388,12 @@ inline void WriteToString(std::string* result, const Opt_ImageFrameInfo* value) template <> inline Ark_RuntimeType runtimeType(const Opt_ImageFrameInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_ImageFrameInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -38964,7 +39416,7 @@ inline void WriteToString(std::string* result, const Opt_Array_ImageFrameInfo* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -38975,12 +39427,12 @@ inline void WriteToString(std::string* result, const Opt_Array_ImageFrameInfo* v template <> inline Ark_RuntimeType runtimeType(const Opt_Array_ImageFrameInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ResolutionQuality& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ResolutionQuality* value) { @@ -38995,7 +39447,7 @@ inline void WriteToString(std::string* result, const Opt_ResolutionQuality* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39006,12 +39458,12 @@ inline void WriteToString(std::string* result, const Opt_ResolutionQuality* valu template <> inline Ark_RuntimeType runtimeType(const Opt_ResolutionQuality& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ImageError& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ImageError* value) { @@ -39034,7 +39486,7 @@ inline void WriteToString(std::string* result, const Opt_ImageError* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39045,12 +39497,12 @@ inline void WriteToString(std::string* result, const Opt_ImageError* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ImageError& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const ImageErrorCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const ImageErrorCallback* value) { @@ -39065,7 +39517,7 @@ inline void WriteToString(std::string* result, const Opt_ImageErrorCallback* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39076,12 +39528,12 @@ inline void WriteToString(std::string* result, const Opt_ImageErrorCallback* val template <> inline Ark_RuntimeType runtimeType(const Opt_ImageErrorCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Type_ImageAttribute_onComplete_callback_event& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Type_ImageAttribute_onComplete_callback_event* value) { @@ -39128,7 +39580,7 @@ inline void WriteToString(std::string* result, const Opt_Type_ImageAttribute_onC result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39139,12 +39591,12 @@ inline void WriteToString(std::string* result, const Opt_Type_ImageAttribute_onC template <> inline Ark_RuntimeType runtimeType(const Opt_Type_ImageAttribute_onComplete_callback_event& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Type_ImageAttribute_onComplete_callback_event_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Type_ImageAttribute_onComplete_callback_event_Void* value) { @@ -39159,7 +39611,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Type_ImageAttr result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39170,41 +39622,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Type_ImageAttr template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Type_ImageAttribute_onComplete_callback_event_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_CopyOptions& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_CopyOptions value) { - result->append("Ark_CopyOptions("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_CopyOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_CopyOptions& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ImageSourceSize& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ImageSourceSize* value) { @@ -39223,7 +39646,7 @@ inline void WriteToString(std::string* result, const Opt_ImageSourceSize* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39234,94 +39657,7 @@ inline void WriteToString(std::string* result, const Opt_ImageSourceSize* value) template <> inline Ark_RuntimeType runtimeType(const Opt_ImageSourceSize& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_ImageInterpolation& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_ImageInterpolation value) { - result->append("Ark_ImageInterpolation("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_ImageInterpolation* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageInterpolation& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_DynamicRangeMode& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_DynamicRangeMode value) { - result->append("Ark_DynamicRangeMode("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_DynamicRangeMode* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_DynamicRangeMode& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_ImageRenderMode& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_ImageRenderMode value) { - result->append("Ark_ImageRenderMode("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_ImageRenderMode* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_ImageRenderMode& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_PixelMap_ResourceStr_DrawableDescriptor& value) @@ -39361,7 +39697,7 @@ inline void WriteToString(std::string* result, const Opt_Union_PixelMap_Resource result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39372,7 +39708,7 @@ inline void WriteToString(std::string* result, const Opt_Union_PixelMap_Resource template <> inline Ark_RuntimeType runtimeType(const Opt_Union_PixelMap_ResourceStr_DrawableDescriptor& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_PixelMap_ResourceStr_DrawableDescriptor_ImageContent& value) @@ -39418,7 +39754,7 @@ inline void WriteToString(std::string* result, const Opt_Union_PixelMap_Resource result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39429,7 +39765,94 @@ inline void WriteToString(std::string* result, const Opt_Union_PixelMap_Resource template <> inline Ark_RuntimeType runtimeType(const Opt_Union_PixelMap_ResourceStr_DrawableDescriptor_ImageContent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ImageInterpolation& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ImageInterpolation value) { + result->append("Ark_ImageInterpolation("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ImageInterpolation* 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_ImageInterpolation& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_DynamicRangeMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_DynamicRangeMode value) { + result->append("Ark_DynamicRangeMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_DynamicRangeMode* 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_DynamicRangeMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_ImageRenderMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_ImageRenderMode value) { + result->append("Ark_ImageRenderMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ImageRenderMode* 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_ImageRenderMode& 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) @@ -39475,7 +39898,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Color_Number_Stri result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39486,12 +39909,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Color_Number_Stri template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Color_Number_String_Resource& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GridRowOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_GridRowOptions* value) { @@ -39518,7 +39941,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39529,12 +39952,12 @@ inline void WriteToString(std::string* result, const Opt_GridRowOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_GridRowOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GridContainerOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_GridContainerOptions* value) { @@ -39561,7 +39984,7 @@ inline void WriteToString(std::string* result, const Opt_GridContainerOptions* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39572,12 +39995,12 @@ inline void WriteToString(std::string* result, const Opt_GridContainerOptions* v template <> inline Ark_RuntimeType runtimeType(const Opt_GridContainerOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GridColOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_GridColOptions* value) { @@ -39600,7 +40023,7 @@ inline void WriteToString(std::string* result, const Opt_GridColOptions* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39611,12 +40034,12 @@ inline void WriteToString(std::string* result, const Opt_GridColOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_GridColOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GridItemOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_GridItemOptions* value) { @@ -39631,7 +40054,7 @@ inline void WriteToString(std::string* result, const Opt_GridItemOptions* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39642,12 +40065,12 @@ inline void WriteToString(std::string* result, const Opt_GridItemOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_GridItemOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_Number_offsetRemain& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_Number_offsetRemain* value) { @@ -39662,7 +40085,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_Number_offsetRe result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39673,12 +40096,12 @@ inline void WriteToString(std::string* result, const Opt_Literal_Number_offsetRe template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_offsetRemain& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Number_ScrollState_Literal_Number_offsetRemain& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Number_ScrollState_Literal_Number_offsetRemain* value) { @@ -39693,7 +40116,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_ScrollS result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39704,12 +40127,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_ScrollS template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_ScrollState_Literal_Number_offsetRemain& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_ItemDragInfo_Number_Number_Boolean_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_ItemDragInfo_Number_Number_Boolean_Void* value) { @@ -39724,7 +40147,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_ItemDragInfo_N result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39735,12 +40158,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_ItemDragInfo_N template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_ItemDragInfo_Number_Number_Boolean_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_ItemDragInfo_Number_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_ItemDragInfo_Number_Void* value) { @@ -39755,7 +40178,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_ItemDragInfo_N result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39766,12 +40189,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_ItemDragInfo_N template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_ItemDragInfo_Number_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_ItemDragInfo_Number_Number_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_ItemDragInfo_Number_Number_Void* value) { @@ -39786,7 +40209,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_ItemDragInfo_N result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39797,12 +40220,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_ItemDragInfo_N template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_ItemDragInfo_Number_Number_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_ItemDragInfo_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_ItemDragInfo_Void* value) { @@ -39817,7 +40240,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_ItemDragInfo_V result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39828,43 +40251,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_ItemDragInfo_V template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_ItemDragInfo_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Callback_Any& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_Any* 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_Any* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Any& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ItemDragInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ItemDragInfo* value) { @@ -39883,7 +40275,7 @@ inline void WriteToString(std::string* result, const Opt_ItemDragInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39894,75 +40286,15 @@ inline void WriteToString(std::string* result, const Opt_ItemDragInfo* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ItemDragInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Callback_ItemDragInfo_Number_Callback_Any& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_ItemDragInfo_Number_Callback_Any* 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_ItemDragInfo_Number_Callback_Any* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_ItemDragInfo_Number_Callback_Any& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_GridDirection& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_GridDirection value) { - result->append("Ark_GridDirection("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_GridDirection* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_GridDirection& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_Number_Number_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_ItemDragInfo_Number_CustomBuilder& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Number_Number_Void* value) { +inline void WriteToString(std::string* result, const Callback_ItemDragInfo_Number_CustomBuilder* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -39970,11 +40302,11 @@ inline void WriteToString(std::string* result, const Callback_Number_Number_Void result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Number_Number_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_ItemDragInfo_Number_CustomBuilder* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -39983,14 +40315,14 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_Number_ result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_Number_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_ItemDragInfo_Number_CustomBuilder& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ComputedBarAttribute& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ComputedBarAttribute* value) { @@ -40009,7 +40341,7 @@ inline void WriteToString(std::string* result, const Opt_ComputedBarAttribute* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40020,12 +40352,12 @@ inline void WriteToString(std::string* result, const Opt_ComputedBarAttribute* v template <> inline Ark_RuntimeType runtimeType(const Opt_ComputedBarAttribute& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Number_Number_ComputedBarAttribute& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Number_Number_ComputedBarAttribute* value) { @@ -40040,7 +40372,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_Number_ result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40051,12 +40383,41 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_Number_ template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_Number_ComputedBarAttribute& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_GridDirection& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_GridDirection value) { + result->append("Ark_GridDirection("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_GridDirection* 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_GridDirection& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Tuple_Number_Number_Number_Number& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Tuple_Number_Number_Number_Number* value) { @@ -40083,7 +40444,7 @@ inline void WriteToString(std::string* result, const Opt_Tuple_Number_Number_Num result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40094,12 +40455,12 @@ inline void WriteToString(std::string* result, const Opt_Tuple_Number_Number_Num template <> inline Ark_RuntimeType runtimeType(const Opt_Tuple_Number_Number_Number_Number& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GridLayoutOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_GridLayoutOptions* value) { @@ -40126,7 +40487,7 @@ inline void WriteToString(std::string* result, const Opt_GridLayoutOptions* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40137,12 +40498,70 @@ inline void WriteToString(std::string* result, const Opt_GridLayoutOptions* valu template <> inline Ark_RuntimeType runtimeType(const Opt_GridLayoutOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_GestureRecognizerState& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_GestureRecognizerState value) { + result->append("Ark_GestureRecognizerState("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_GestureRecognizerState* 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_GestureRecognizerState& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_GesturePriority& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_GesturePriority value) { + result->append("Ark_GesturePriority("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_GesturePriority* 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_GesturePriority& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_Number_distance_fingers_PanDirection_direction& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_Number_distance_fingers_PanDirection_direction* value) { @@ -40165,7 +40584,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_Number_distance result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40176,12 +40595,70 @@ inline void WriteToString(std::string* result, const Opt_Literal_Number_distance template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_distance_fingers_PanDirection_direction& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_GestureMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_GestureMode value) { + result->append("Ark_GestureMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_GestureMode* 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_GestureMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SwipeDirection& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_SwipeDirection value) { + result->append("Ark_SwipeDirection("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SwipeDirection* 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_SwipeDirection& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GaugeIndicatorOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_GaugeIndicatorOptions* value) { @@ -40200,7 +40677,7 @@ inline void WriteToString(std::string* result, const Opt_GaugeIndicatorOptions* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40211,12 +40688,12 @@ inline void WriteToString(std::string* result, const Opt_GaugeIndicatorOptions* template <> inline Ark_RuntimeType runtimeType(const Opt_GaugeIndicatorOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GaugeShadowOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_GaugeShadowOptions* value) { @@ -40239,7 +40716,7 @@ inline void WriteToString(std::string* result, const Opt_GaugeShadowOptions* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40250,12 +40727,12 @@ inline void WriteToString(std::string* result, const Opt_GaugeShadowOptions* val template <> inline Ark_RuntimeType runtimeType(const Opt_GaugeShadowOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Tuple_Union_ResourceColor_LinearGradient_common_Number& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Tuple_Union_ResourceColor_LinearGradient_common_Number* value) { @@ -40274,7 +40751,7 @@ inline void WriteToString(std::string* result, const Opt_Tuple_Union_ResourceCol result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40285,7 +40762,7 @@ inline void WriteToString(std::string* result, const Opt_Tuple_Union_ResourceCol template <> inline Ark_RuntimeType runtimeType(const Opt_Tuple_Union_ResourceColor_LinearGradient_common_Number& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Type_GaugeAttribute_colors_colors& value) @@ -40325,7 +40802,7 @@ inline void WriteToString(std::string* result, const Opt_Type_GaugeAttribute_col result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40336,12 +40813,12 @@ inline void WriteToString(std::string* result, const Opt_Type_GaugeAttribute_col template <> inline Ark_RuntimeType runtimeType(const Opt_Type_GaugeAttribute_colors_colors& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GaugeOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_GaugeOptions* value) { @@ -40364,7 +40841,7 @@ inline void WriteToString(std::string* result, const Opt_GaugeOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40375,12 +40852,12 @@ inline void WriteToString(std::string* result, const Opt_GaugeOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_GaugeOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FormLinkOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_FormLinkOptions* value) { @@ -40415,7 +40892,7 @@ inline void WriteToString(std::string* result, const Opt_FormLinkOptions* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40426,12 +40903,12 @@ inline void WriteToString(std::string* result, const Opt_FormLinkOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_FormLinkOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Any_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Any_Void* value) { @@ -40446,7 +40923,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Any_Void* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40457,12 +40934,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Any_Void* valu template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Any_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_Number_errcode_String_msg& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_Number_errcode_String_msg* value) { @@ -40481,7 +40958,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_Number_errcode_ result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40492,12 +40969,12 @@ inline void WriteToString(std::string* result, const Opt_Literal_Number_errcode_ template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_Number_errcode_String_msg& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Literal_Number_errcode_String_msg_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Literal_Number_errcode_String_msg_Void* value) { @@ -40512,7 +40989,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Literal_Number result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40523,12 +41000,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Literal_Number template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Literal_Number_errcode_String_msg_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FormCallbackInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_FormCallbackInfo* value) { @@ -40547,7 +41024,7 @@ inline void WriteToString(std::string* result, const Opt_FormCallbackInfo* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40558,12 +41035,12 @@ inline void WriteToString(std::string* result, const Opt_FormCallbackInfo* value template <> inline Ark_RuntimeType runtimeType(const Opt_FormCallbackInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_FormCallbackInfo_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_FormCallbackInfo_Void* value) { @@ -40578,7 +41055,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_FormCallbackIn result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40589,12 +41066,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_FormCallbackIn template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_FormCallbackInfo_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FormInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_FormInfo* value) { @@ -40645,7 +41122,7 @@ inline void WriteToString(std::string* result, const Opt_FormInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40656,12 +41133,12 @@ inline void WriteToString(std::string* result, const Opt_FormInfo* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_FormInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_HoverEventParam& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_HoverEventParam* value) { @@ -40688,7 +41165,7 @@ inline void WriteToString(std::string* result, const Opt_HoverEventParam* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40699,12 +41176,12 @@ inline void WriteToString(std::string* result, const Opt_HoverEventParam* value) template <> inline Ark_RuntimeType runtimeType(const Opt_HoverEventParam& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnHoverStatusChangeCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnHoverStatusChangeCallback* value) { @@ -40719,7 +41196,7 @@ inline void WriteToString(std::string* result, const Opt_OnHoverStatusChangeCall result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40730,12 +41207,12 @@ inline void WriteToString(std::string* result, const Opt_OnHoverStatusChangeCall template <> inline Ark_RuntimeType runtimeType(const Opt_OnHoverStatusChangeCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OnFoldStatusChangeInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OnFoldStatusChangeInfo* value) { @@ -40750,7 +41227,7 @@ inline void WriteToString(std::string* result, const Opt_OnFoldStatusChangeInfo* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40761,12 +41238,12 @@ inline void WriteToString(std::string* result, const Opt_OnFoldStatusChangeInfo* template <> inline Ark_RuntimeType runtimeType(const Opt_OnFoldStatusChangeInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnFoldStatusChangeCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnFoldStatusChangeCallback* value) { @@ -40781,7 +41258,7 @@ inline void WriteToString(std::string* result, const Opt_OnFoldStatusChangeCallb result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40792,12 +41269,12 @@ inline void WriteToString(std::string* result, const Opt_OnFoldStatusChangeCallb template <> inline Ark_RuntimeType runtimeType(const Opt_OnFoldStatusChangeCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FolderStackOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_FolderStackOptions* value) { @@ -40812,7 +41289,7 @@ inline void WriteToString(std::string* result, const Opt_FolderStackOptions* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40823,12 +41300,12 @@ inline void WriteToString(std::string* result, const Opt_FolderStackOptions* val template <> inline Ark_RuntimeType runtimeType(const Opt_FolderStackOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FlexOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_FlexOptions* value) { @@ -40863,7 +41340,7 @@ inline void WriteToString(std::string* result, const Opt_FlexOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40874,12 +41351,273 @@ inline void WriteToString(std::string* result, const Opt_FlexOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_FlexOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + 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; +} +template <> +inline void WriteToString(std::string* result, const Ark_HeightBreakpoint value) { + result->append("Ark_HeightBreakpoint("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_HeightBreakpoint* 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_HeightBreakpoint& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_WidthBreakpoint& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_WidthBreakpoint value) { + result->append("Ark_WidthBreakpoint("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_WidthBreakpoint* 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_WidthBreakpoint& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_TextSelectableMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_TextSelectableMode value) { + result->append("Ark_TextSelectableMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TextSelectableMode* 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_TextSelectableMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +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_EllipsisMode& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_EllipsisMode value) { + result->append("Ark_EllipsisMode("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_EllipsisMode* 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_EllipsisMode& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_CopyOptions& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_CopyOptions value) { + result->append("Ark_CopyOptions("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_CopyOptions* 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_CopyOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_TextCase& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_TextCase value) { + result->append("Ark_TextCase("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TextCase* 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_TextCase& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_RelateType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_RelateType value) { + result->append("Ark_RelateType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RelateType* 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_RelateType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_Week& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_Week value) { + result->append("Ark_Week("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Week* 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_Week& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TerminationInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TerminationInfo* value) { @@ -40898,7 +41636,7 @@ inline void WriteToString(std::string* result, const Opt_TerminationInfo* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40909,12 +41647,12 @@ inline void WriteToString(std::string* result, const Opt_TerminationInfo* value) template <> inline Ark_RuntimeType runtimeType(const Opt_TerminationInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_TerminationInfo_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_TerminationInfo_Void* value) { @@ -40929,7 +41667,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_TerminationInf result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40940,12 +41678,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_TerminationInf template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_TerminationInfo_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_EmbeddedType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_EmbeddedType value) { @@ -40958,7 +41696,7 @@ inline void WriteToString(std::string* result, const Opt_EmbeddedType* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -40969,12 +41707,12 @@ inline void WriteToString(std::string* result, const Opt_EmbeddedType* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_EmbeddedType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_EllipseOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_EllipseOptions* value) { @@ -40993,7 +41731,7 @@ inline void WriteToString(std::string* result, const Opt_EllipseOptions* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41004,12 +41742,12 @@ inline void WriteToString(std::string* result, const Opt_EllipseOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_EllipseOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DatePickerResult& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DatePickerResult* value) { @@ -41032,7 +41770,7 @@ inline void WriteToString(std::string* result, const Opt_DatePickerResult* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41043,12 +41781,12 @@ inline void WriteToString(std::string* result, const Opt_DatePickerResult* value template <> inline Ark_RuntimeType runtimeType(const Opt_DatePickerResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DatePickerOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DatePickerOptions* value) { @@ -41071,7 +41809,7 @@ inline void WriteToString(std::string* result, const Opt_DatePickerOptions* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41082,7 +41820,7 @@ inline void WriteToString(std::string* result, const Opt_DatePickerOptions* valu template <> inline Ark_RuntimeType runtimeType(const Opt_DatePickerOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceColor_LinearGradient_data_panel& value) @@ -41116,7 +41854,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_Lin result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41127,12 +41865,12 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_Lin template <> inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceColor_LinearGradient_data_panel& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DataPanelShadowOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DataPanelShadowOptions* value) { @@ -41159,7 +41897,7 @@ inline void WriteToString(std::string* result, const Opt_DataPanelShadowOptions* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41170,12 +41908,12 @@ inline void WriteToString(std::string* result, const Opt_DataPanelShadowOptions* template <> inline Ark_RuntimeType runtimeType(const Opt_DataPanelShadowOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DataPanelOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DataPanelOptions* value) { @@ -41198,7 +41936,7 @@ inline void WriteToString(std::string* result, const Opt_DataPanelOptions* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41209,12 +41947,12 @@ inline void WriteToString(std::string* result, const Opt_DataPanelOptions* value template <> inline Ark_RuntimeType runtimeType(const Opt_DataPanelOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CustomDialogControllerOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CustomDialogControllerOptions* value) { @@ -41329,7 +42067,7 @@ inline void WriteToString(std::string* result, const Opt_CustomDialogControllerO result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41340,12 +42078,12 @@ inline void WriteToString(std::string* result, const Opt_CustomDialogControllerO template <> inline Ark_RuntimeType runtimeType(const Opt_CustomDialogControllerOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SceneOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SceneOptions* value) { @@ -41364,7 +42102,7 @@ inline void WriteToString(std::string* result, const Opt_SceneOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41375,7 +42113,46 @@ inline void WriteToString(std::string* result, const Opt_SceneOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SceneOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Array_CustomObject& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +inline void WriteToString(std::string* result, const Ark_CustomObject* value); + +inline void WriteToString(std::string* result, const Array_CustomObject* 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_CustomObject*)&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_CustomObject* 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_CustomObject& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ContentClipMode_RectShape& value) @@ -41409,7 +42186,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ContentClipMode_R result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41420,12 +42197,12 @@ inline void WriteToString(std::string* result, const Opt_Union_ContentClipMode_R template <> inline Ark_RuntimeType runtimeType(const Opt_Union_ContentClipMode_RectShape& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OffsetResult& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OffsetResult* value) { @@ -41444,7 +42221,7 @@ inline void WriteToString(std::string* result, const Opt_OffsetResult* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41455,12 +42232,12 @@ inline void WriteToString(std::string* result, const Opt_OffsetResult* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_OffsetResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ScrollSource& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ScrollSource value) { @@ -41473,7 +42250,7 @@ inline void WriteToString(std::string* result, const Opt_ScrollSource* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41484,12 +42261,12 @@ inline void WriteToString(std::string* result, const Opt_ScrollSource* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ScrollSource& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ScrollState& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ScrollState value) { @@ -41502,7 +42279,7 @@ inline void WriteToString(std::string* result, const Opt_ScrollState* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41513,15 +42290,15 @@ inline void WriteToString(std::string* result, const Opt_ScrollState* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ScrollState& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Callback_Number_ScrollState_Void& value) +inline Ark_RuntimeType runtimeType(const Callback_Number_Number_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> -inline void WriteToString(std::string* result, const Callback_Number_ScrollState_Void* value) { +inline void WriteToString(std::string* result, const Callback_Number_Number_Void* value) { result->append("{"); result->append(".resource="); WriteToString(result, &value->resource); @@ -41529,11 +42306,11 @@ inline void WriteToString(std::string* result, const Callback_Number_ScrollState result->append("}"); } template <> -inline void WriteToString(std::string* result, const Opt_Callback_Number_ScrollState_Void* value) { +inline void WriteToString(std::string* result, const Opt_Callback_Number_Number_Void* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41542,14 +42319,14 @@ inline void WriteToString(std::string* result, const Opt_Callback_Number_ScrollS result->append("}"); } template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_ScrollState_Void& value) +inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_Number_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LineJoinStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_LineJoinStyle value) { @@ -41562,7 +42339,7 @@ inline void WriteToString(std::string* result, const Opt_LineJoinStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41573,12 +42350,12 @@ inline void WriteToString(std::string* result, const Opt_LineJoinStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_LineJoinStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LineCapStyle& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_LineCapStyle value) { @@ -41591,7 +42368,7 @@ inline void WriteToString(std::string* result, const Opt_LineCapStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41602,12 +42379,12 @@ inline void WriteToString(std::string* result, const Opt_LineCapStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_LineCapStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ModifierKey& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ModifierKey value) { @@ -41620,7 +42397,7 @@ inline void WriteToString(std::string* result, const Opt_ModifierKey* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41631,12 +42408,12 @@ inline void WriteToString(std::string* result, const Opt_ModifierKey* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ModifierKey& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_ModifierKey& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -41659,7 +42436,7 @@ inline void WriteToString(std::string* result, const Opt_Array_ModifierKey* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41670,7 +42447,7 @@ inline void WriteToString(std::string* result, const Opt_Array_ModifierKey* valu template <> inline Ark_RuntimeType runtimeType(const Opt_Array_ModifierKey& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_String_FunctionKey& value) @@ -41704,7 +42481,7 @@ inline void WriteToString(std::string* result, const Opt_Union_String_FunctionKe result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41715,12 +42492,12 @@ inline void WriteToString(std::string* result, const Opt_Union_String_FunctionKe template <> inline Ark_RuntimeType runtimeType(const Opt_Union_String_FunctionKey& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SpringBackAction& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SpringBackAction* value) { @@ -41735,7 +42512,7 @@ inline void WriteToString(std::string* result, const Opt_SpringBackAction* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41746,12 +42523,12 @@ inline void WriteToString(std::string* result, const Opt_SpringBackAction* value template <> inline Ark_RuntimeType runtimeType(const Opt_SpringBackAction& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DismissSheetAction& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DismissSheetAction* value) { @@ -41770,7 +42547,7 @@ inline void WriteToString(std::string* result, const Opt_DismissSheetAction* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41781,12 +42558,12 @@ inline void WriteToString(std::string* result, const Opt_DismissSheetAction* val template <> inline Ark_RuntimeType runtimeType(const Opt_DismissSheetAction& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SheetDismiss& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SheetDismiss* value) { @@ -41801,7 +42578,7 @@ inline void WriteToString(std::string* result, const Opt_SheetDismiss* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41812,12 +42589,12 @@ inline void WriteToString(std::string* result, const Opt_SheetDismiss* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SheetDismiss& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DismissContentCoverAction& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DismissContentCoverAction* value) { @@ -41836,7 +42613,7 @@ inline void WriteToString(std::string* result, const Opt_DismissContentCoverActi result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41847,7 +42624,7 @@ inline void WriteToString(std::string* result, const Opt_DismissContentCoverActi template <> inline Ark_RuntimeType runtimeType(const Opt_DismissContentCoverAction& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Array_MenuElement_CustomBuilder& value) @@ -41881,7 +42658,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Array_MenuElement result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41892,12 +42669,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Array_MenuElement template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Array_MenuElement_CustomBuilder& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_MenuElement& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_MenuElement* value) { @@ -41928,7 +42705,7 @@ inline void WriteToString(std::string* result, const Opt_MenuElement* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41939,12 +42716,12 @@ inline void WriteToString(std::string* result, const Opt_MenuElement* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_MenuElement& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DismissPopupAction& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DismissPopupAction* value) { @@ -41963,7 +42740,7 @@ inline void WriteToString(std::string* result, const Opt_DismissPopupAction* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -41974,12 +42751,12 @@ inline void WriteToString(std::string* result, const Opt_DismissPopupAction* val template <> inline Ark_RuntimeType runtimeType(const Opt_DismissPopupAction& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_Boolean_isVisible& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_Boolean_isVisible* value) { @@ -41994,7 +42771,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_Boolean_isVisib result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42005,7 +42782,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_Boolean_isVisib template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_Boolean_isVisible& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_PopupOptions_CustomPopupOptions& value) @@ -42039,7 +42816,7 @@ inline void WriteToString(std::string* result, const Opt_Union_PopupOptions_Cust result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42050,7 +42827,7 @@ inline void WriteToString(std::string* result, const Opt_Union_PopupOptions_Cust template <> inline Ark_RuntimeType runtimeType(const Opt_Union_PopupOptions_CustomPopupOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_BlendMode_Blender& value) @@ -42084,7 +42861,7 @@ inline void WriteToString(std::string* result, const Opt_Union_BlendMode_Blender result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42095,7 +42872,7 @@ inline void WriteToString(std::string* result, const Opt_Union_BlendMode_Blender template <> inline Ark_RuntimeType runtimeType(const Opt_Union_BlendMode_Blender& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_String_CustomBuilder_ComponentContent& value) @@ -42135,7 +42912,7 @@ inline void WriteToString(std::string* result, const Opt_Union_String_CustomBuil result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42146,12 +42923,12 @@ inline void WriteToString(std::string* result, const Opt_Union_String_CustomBuil template <> inline Ark_RuntimeType runtimeType(const Opt_Union_String_CustomBuilder_ComponentContent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FractionStop& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_FractionStop* value) { @@ -42170,7 +42947,7 @@ inline void WriteToString(std::string* result, const Opt_FractionStop* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42181,41 +42958,12 @@ inline void WriteToString(std::string* result, const Opt_FractionStop* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_FractionStop& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_SafeAreaEdge& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_SafeAreaEdge value) { - result->append("Ark_SafeAreaEdge("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_SafeAreaEdge* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_SafeAreaEdge& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_SafeAreaEdge& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -42238,7 +42986,7 @@ inline void WriteToString(std::string* result, const Opt_Array_SafeAreaEdge* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42249,41 +42997,12 @@ inline void WriteToString(std::string* result, const Opt_Array_SafeAreaEdge* val template <> inline Ark_RuntimeType runtimeType(const Opt_Array_SafeAreaEdge& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_SafeAreaType& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_SafeAreaType value) { - result->append("Ark_SafeAreaType("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_SafeAreaType* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_SafeAreaType& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_SafeAreaType& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -42306,7 +43025,7 @@ inline void WriteToString(std::string* result, const Opt_Array_SafeAreaType* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42317,43 +43036,12 @@ inline void WriteToString(std::string* result, const Opt_Array_SafeAreaType* val template <> inline Ark_RuntimeType runtimeType(const Opt_Array_SafeAreaType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const SizeChangeCallback& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const SizeChangeCallback* 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_SizeChangeCallback* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_SizeChangeCallback& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_TouchEvent_HitTestMode& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_TouchEvent_HitTestMode* value) { @@ -42368,7 +43056,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_TouchEvent_Hit result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42379,12 +43067,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_TouchEvent_Hit template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_TouchEvent_HitTestMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_GestureRecognizer& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -42407,7 +43095,7 @@ inline void WriteToString(std::string* result, const Opt_Array_GestureRecognizer result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42418,12 +43106,12 @@ inline void WriteToString(std::string* result, const Opt_Array_GestureRecognizer template <> inline Ark_RuntimeType runtimeType(const Opt_Array_GestureRecognizer& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const ShouldBuiltInRecognizerParallelWithCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const ShouldBuiltInRecognizerParallelWithCallback* value) { @@ -42438,7 +43126,7 @@ inline void WriteToString(std::string* result, const Opt_ShouldBuiltInRecognizer result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42449,14 +43137,14 @@ inline void WriteToString(std::string* result, const Opt_ShouldBuiltInRecognizer template <> inline Ark_RuntimeType runtimeType(const Opt_ShouldBuiltInRecognizerParallelWithCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_GestureRecognizer* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42467,12 +43155,12 @@ inline void WriteToString(std::string* result, const Opt_GestureRecognizer* valu template <> inline Ark_RuntimeType runtimeType(const Opt_GestureRecognizer& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GestureJudgeResult& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_GestureJudgeResult value) { @@ -42485,7 +43173,7 @@ inline void WriteToString(std::string* result, const Opt_GestureJudgeResult* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42496,12 +43184,12 @@ inline void WriteToString(std::string* result, const Opt_GestureJudgeResult* val template <> inline Ark_RuntimeType runtimeType(const Opt_GestureJudgeResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FingerInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_FingerInfo* value) { @@ -42540,7 +43228,7 @@ inline void WriteToString(std::string* result, const Opt_FingerInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42551,67 +43239,14 @@ inline void WriteToString(std::string* result, const Opt_FingerInfo* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_FingerInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_BaseGestureEvent& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_BaseGestureEvent* value) { - result->append("{"); - // Ark_EventTarget target - result->append(".target="); - WriteToString(result, &value->target); - // Ark_Number timestamp - result->append(", "); - result->append(".timestamp="); - WriteToString(result, &value->timestamp); - // Ark_SourceType source - result->append(", "); - result->append(".source="); - WriteToString(result, value->source); - // Ark_Number axisHorizontal - result->append(", "); - result->append(".axisHorizontal="); - WriteToString(result, &value->axisHorizontal); - // Ark_Number axisVertical - result->append(", "); - result->append(".axisVertical="); - WriteToString(result, &value->axisVertical); - // Ark_Number pressure - result->append(", "); - result->append(".pressure="); - WriteToString(result, &value->pressure); - // Ark_Number tiltX - result->append(", "); - result->append(".tiltX="); - WriteToString(result, &value->tiltX); - // Ark_Number tiltY - result->append(", "); - result->append(".tiltY="); - WriteToString(result, &value->tiltY); - // Ark_SourceTool sourceTool - result->append(", "); - result->append(".sourceTool="); - WriteToString(result, value->sourceTool); - // Ark_Number deviceId - result->append(", "); - result->append(".deviceId="); - WriteToString(result, &value->deviceId); - // Array_FingerInfo fingerList - result->append(", "); - result->append(".fingerList="); - WriteToString(result, &value->fingerList); - result->append("}"); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42622,12 +43257,12 @@ inline void WriteToString(std::string* result, const Opt_BaseGestureEvent* value template <> inline Ark_RuntimeType runtimeType(const Opt_BaseGestureEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_GestureInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_GestureInfo* value) { @@ -42650,7 +43285,7 @@ inline void WriteToString(std::string* result, const Opt_GestureInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42661,12 +43296,12 @@ inline void WriteToString(std::string* result, const Opt_GestureInfo* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_GestureInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult* value) { @@ -42681,7 +43316,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_GestureInfo_Ba result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42692,12 +43327,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_GestureInfo_Ba template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_GestureInfo_BaseGestureEvent_GestureJudgeResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BackgroundBrightnessOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_BackgroundBrightnessOptions* value) { @@ -42716,7 +43351,7 @@ inline void WriteToString(std::string* result, const Opt_BackgroundBrightnessOpt result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42727,14 +43362,14 @@ inline void WriteToString(std::string* result, const Opt_BackgroundBrightnessOpt template <> inline Ark_RuntimeType runtimeType(const Opt_BackgroundBrightnessOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_GestureModifier* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42745,12 +43380,12 @@ inline void WriteToString(std::string* result, const Opt_GestureModifier* value) template <> inline Ark_RuntimeType runtimeType(const Opt_GestureModifier& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RenderFit& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_RenderFit value) { @@ -42763,7 +43398,7 @@ inline void WriteToString(std::string* result, const Opt_RenderFit* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42774,12 +43409,12 @@ inline void WriteToString(std::string* result, const Opt_RenderFit* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_RenderFit& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ObscuredReasons& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ObscuredReasons value) { @@ -42792,7 +43427,7 @@ inline void WriteToString(std::string* result, const Opt_ObscuredReasons* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42803,12 +43438,12 @@ inline void WriteToString(std::string* result, const Opt_ObscuredReasons* value) template <> inline Ark_RuntimeType runtimeType(const Opt_ObscuredReasons& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_ObscuredReasons& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -42831,7 +43466,7 @@ inline void WriteToString(std::string* result, const Opt_Array_ObscuredReasons* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42842,12 +43477,12 @@ inline void WriteToString(std::string* result, const Opt_Array_ObscuredReasons* template <> inline Ark_RuntimeType runtimeType(const Opt_Array_ObscuredReasons& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PixelStretchEffectOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PixelStretchEffectOptions* value) { @@ -42874,7 +43509,7 @@ inline void WriteToString(std::string* result, const Opt_PixelStretchEffectOptio result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42885,12 +43520,12 @@ inline void WriteToString(std::string* result, const Opt_PixelStretchEffectOptio template <> inline Ark_RuntimeType runtimeType(const Opt_PixelStretchEffectOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_StateStyles& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_StateStyles* value) { @@ -42925,7 +43560,7 @@ inline void WriteToString(std::string* result, const Opt_StateStyles* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42936,7 +43571,7 @@ inline void WriteToString(std::string* result, const Opt_StateStyles* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_StateStyles& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_CircleShape_EllipseShape_PathShape_RectShape& value) @@ -42982,7 +43617,7 @@ inline void WriteToString(std::string* result, const Opt_Union_CircleShape_Ellip result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -42993,7 +43628,7 @@ inline void WriteToString(std::string* result, const Opt_Union_CircleShape_Ellip template <> inline Ark_RuntimeType runtimeType(const Opt_Union_CircleShape_EllipseShape_PathShape_RectShape& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Type_CommonMethod_mask_value& value) @@ -43045,7 +43680,7 @@ inline void WriteToString(std::string* result, const Opt_Type_CommonMethod_mask_ result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43056,7 +43691,7 @@ inline void WriteToString(std::string* result, const Opt_Type_CommonMethod_mask_ template <> inline Ark_RuntimeType runtimeType(const Opt_Type_CommonMethod_mask_value& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Type_CommonMethod_clip_value& value) @@ -43108,7 +43743,7 @@ inline void WriteToString(std::string* result, const Opt_Type_CommonMethod_clip_ result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43119,12 +43754,12 @@ inline void WriteToString(std::string* result, const Opt_Type_CommonMethod_clip_ template <> inline Ark_RuntimeType runtimeType(const Opt_Type_CommonMethod_clip_value& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + 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 ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Type_CommonMethod_radialGradient_value* value) { @@ -43151,7 +43786,7 @@ inline void WriteToString(std::string* result, const Opt_Type_CommonMethod_radia result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43162,12 +43797,12 @@ inline void WriteToString(std::string* result, const Opt_Type_CommonMethod_radia template <> inline Ark_RuntimeType runtimeType(const Opt_Type_CommonMethod_radialGradient_value& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + 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 ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Type_CommonMethod_sweepGradient_value* value) { @@ -43202,7 +43837,7 @@ inline void WriteToString(std::string* result, const Opt_Type_CommonMethod_sweep result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43213,12 +43848,12 @@ inline void WriteToString(std::string* result, const Opt_Type_CommonMethod_sweep template <> inline Ark_RuntimeType runtimeType(const Opt_Type_CommonMethod_sweepGradient_value& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + 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 ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Type_CommonMethod_linearGradient_value* value) { @@ -43245,7 +43880,7 @@ inline void WriteToString(std::string* result, const Opt_Type_CommonMethod_linea result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43256,41 +43891,12 @@ inline void WriteToString(std::string* result, const Opt_Type_CommonMethod_linea template <> inline Ark_RuntimeType runtimeType(const Opt_Type_CommonMethod_linearGradient_value& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_PreDragStatus& value) -{ - return ARK_RUNTIME_NUMBER; -} -template <> -inline void WriteToString(std::string* result, const Ark_PreDragStatus value) { - result->append("Ark_PreDragStatus("); - WriteToString(result, (Ark_Int32) value); - result->append(")"); -} -template <> -inline void WriteToString(std::string* result, const Opt_PreDragStatus* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_PreDragStatus& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_PreDragStatus_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_PreDragStatus_Void* value) { @@ -43305,7 +43911,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_PreDragStatus_ result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43316,7 +43922,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_PreDragStatus_ template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_PreDragStatus_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_CustomBuilder_DragItemInfo_String& value) @@ -43356,7 +43962,7 @@ inline void WriteToString(std::string* result, const Opt_Union_CustomBuilder_Dra result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43367,12 +43973,12 @@ inline void WriteToString(std::string* result, const Opt_Union_CustomBuilder_Dra template <> inline Ark_RuntimeType runtimeType(const Opt_Union_CustomBuilder_DragItemInfo_String& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_UniformDataType& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_UniformDataType* value) { @@ -43387,7 +43993,7 @@ inline void WriteToString(std::string* result, const Opt_UniformDataType* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43398,12 +44004,12 @@ inline void WriteToString(std::string* result, const Opt_UniformDataType* value) template <> inline Ark_RuntimeType runtimeType(const Opt_UniformDataType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_UniformDataType& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -43426,7 +44032,7 @@ inline void WriteToString(std::string* result, const Opt_Array_UniformDataType* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43437,12 +44043,12 @@ inline void WriteToString(std::string* result, const Opt_Array_UniformDataType* template <> inline Ark_RuntimeType runtimeType(const Opt_Array_UniformDataType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_DragEvent_String_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_DragEvent_String_Void* value) { @@ -43457,7 +44063,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_DragEvent_Stri result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43468,7 +44074,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_DragEvent_Stri template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_DragEvent_String_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_CustomBuilder_DragItemInfo& value) @@ -43502,7 +44108,7 @@ inline void WriteToString(std::string* result, const Opt_Union_CustomBuilder_Dra result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43513,31 +44119,14 @@ inline void WriteToString(std::string* result, const Opt_Union_CustomBuilder_Dra template <> inline Ark_RuntimeType runtimeType(const Opt_Union_CustomBuilder_DragItemInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_DragEvent& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_DragEvent* value) { - result->append("{"); - // Ark_DragBehavior dragBehavior - result->append(".dragBehavior="); - WriteToString(result, value->dragBehavior); - // Ark_Boolean useCustomDropAnimation - result->append(", "); - result->append(".useCustomDropAnimation="); - WriteToString(result, value->useCustomDropAnimation); - result->append("}"); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_DragEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43548,12 +44137,12 @@ inline void WriteToString(std::string* result, const Opt_DragEvent* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_DragEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo* value) { @@ -43568,7 +44157,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_DragEvent_Stri result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43579,12 +44168,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_DragEvent_Stri template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LocalizedAlignRuleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LocalizedAlignRuleOptions* value) { @@ -43623,7 +44212,7 @@ inline void WriteToString(std::string* result, const Opt_LocalizedAlignRuleOptio result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43634,12 +44223,12 @@ inline void WriteToString(std::string* result, const Opt_LocalizedAlignRuleOptio template <> inline Ark_RuntimeType runtimeType(const Opt_LocalizedAlignRuleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_AlignRuleOption& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_AlignRuleOption* value) { @@ -43678,7 +44267,7 @@ inline void WriteToString(std::string* result, const Opt_AlignRuleOption* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43689,12 +44278,12 @@ inline void WriteToString(std::string* result, const Opt_AlignRuleOption* value) template <> inline Ark_RuntimeType runtimeType(const Opt_AlignRuleOption& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs* value) { @@ -43721,7 +44310,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_Union_Number_Li result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43732,7 +44321,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_Union_Number_Li template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Position_LocalizedPosition& value) @@ -43766,7 +44355,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Position_Localize result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43777,12 +44366,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Position_Localize template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Position_LocalizedPosition& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Direction& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_Direction value) { @@ -43795,7 +44384,7 @@ inline void WriteToString(std::string* result, const Opt_Direction* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43806,12 +44395,12 @@ inline void WriteToString(std::string* result, const Opt_Direction* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Direction& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Visibility& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_Visibility value) { @@ -43824,7 +44413,7 @@ inline void WriteToString(std::string* result, const Opt_Visibility* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43835,12 +44424,12 @@ inline void WriteToString(std::string* result, const Opt_Visibility* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Visibility& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Area_Area_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Area_Area_Void* value) { @@ -43855,7 +44444,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Area_Area_Void result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43866,7 +44455,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Area_Area_Void template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Area_Area_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Number_InvertOptions& value) @@ -43900,7 +44489,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_InvertOpti result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43911,7 +44500,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Number_InvertOpti template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Number_InvertOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Color_String_Resource& value) @@ -43951,7 +44540,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Color_String_Reso result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43962,12 +44551,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Color_String_Reso template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Color_String_Resource& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_MotionBlurOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_MotionBlurOptions* value) { @@ -43986,7 +44575,7 @@ inline void WriteToString(std::string* result, const Opt_MotionBlurOptions* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -43997,7 +44586,7 @@ inline void WriteToString(std::string* result, const Opt_MotionBlurOptions* valu template <> inline Ark_RuntimeType runtimeType(const Opt_MotionBlurOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_TransitionOptions_TransitionEffect& value) @@ -44031,7 +44620,7 @@ inline void WriteToString(std::string* result, const Opt_Union_TransitionOptions result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -44042,12 +44631,12 @@ inline void WriteToString(std::string* result, const Opt_Union_TransitionOptions template <> inline Ark_RuntimeType runtimeType(const Opt_Union_TransitionOptions_TransitionEffect& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FocusBoxStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_FocusBoxStyle* value) { @@ -44070,7 +44659,7 @@ inline void WriteToString(std::string* result, const Opt_FocusBoxStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -44081,12 +44670,12 @@ inline void WriteToString(std::string* result, const Opt_FocusBoxStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_FocusBoxStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_KeyEvent_Boolean& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_KeyEvent_Boolean* value) { @@ -44101,7 +44690,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_KeyEvent_Boole result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -44112,63 +44701,14 @@ inline void WriteToString(std::string* result, const Opt_Callback_KeyEvent_Boole template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_KeyEvent_Boolean& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_KeyEvent& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_KeyEvent* value) { - result->append("{"); - // Ark_KeyType type - result->append(".type="); - WriteToString(result, value->type); - // Ark_Number keyCode - result->append(", "); - result->append(".keyCode="); - WriteToString(result, &value->keyCode); - // Ark_String keyText - result->append(", "); - result->append(".keyText="); - WriteToString(result, &value->keyText); - // Ark_KeySource keySource - result->append(", "); - result->append(".keySource="); - WriteToString(result, value->keySource); - // Ark_Number deviceId - result->append(", "); - result->append(".deviceId="); - WriteToString(result, &value->deviceId); - // Ark_Number metaKey - result->append(", "); - result->append(".metaKey="); - WriteToString(result, &value->metaKey); - // Ark_Number timestamp - result->append(", "); - result->append(".timestamp="); - WriteToString(result, &value->timestamp); - // Callback_Void stopPropagation - result->append(", "); - result->append(".stopPropagation="); - WriteToString(result, &value->stopPropagation); - // Ark_IntentionCode intentionCode - result->append(", "); - result->append(".intentionCode="); - WriteToString(result, &value->intentionCode); - // Ark_Number unicode - result->append(", "); - result->append(".unicode="); - WriteToString(result, &value->unicode); - result->append("}"); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline void WriteToString(std::string* result, const Opt_KeyEvent* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -44179,236 +44719,14 @@ inline void WriteToString(std::string* result, const Opt_KeyEvent* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_KeyEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Callback_KeyEvent_Void& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_KeyEvent_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_KeyEvent_Void* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_KeyEvent_Void& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_TouchObject& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_TouchObject* value) { - result->append("{"); - // Ark_TouchType type - result->append(".type="); - WriteToString(result, value->type); - // Ark_Number id - result->append(", "); - result->append(".id="); - WriteToString(result, &value->id); - // Ark_Number displayX - result->append(", "); - result->append(".displayX="); - WriteToString(result, &value->displayX); - // Ark_Number displayY - result->append(", "); - result->append(".displayY="); - WriteToString(result, &value->displayY); - // Ark_Number windowX - result->append(", "); - result->append(".windowX="); - WriteToString(result, &value->windowX); - // Ark_Number windowY - result->append(", "); - result->append(".windowY="); - WriteToString(result, &value->windowY); - // Ark_Number screenX - result->append(", "); - result->append(".screenX="); - WriteToString(result, &value->screenX); - // Ark_Number screenY - result->append(", "); - result->append(".screenY="); - WriteToString(result, &value->screenY); - // Ark_Number x - result->append(", "); - result->append(".x="); - WriteToString(result, &value->x); - // Ark_Number y - result->append(", "); - result->append(".y="); - WriteToString(result, &value->y); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_TouchObject* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_TouchObject& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Callback_TouchEvent_Void& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_TouchEvent_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_TouchEvent_Void* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_TouchEvent_Void& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_MouseEvent& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_MouseEvent* value) { - result->append("{"); - // Ark_EventTarget target - result->append(".target="); - WriteToString(result, &value->target); - // Ark_Number timestamp - result->append(", "); - result->append(".timestamp="); - WriteToString(result, &value->timestamp); - // Ark_SourceType source - result->append(", "); - result->append(".source="); - WriteToString(result, value->source); - // Ark_Number axisHorizontal - result->append(", "); - result->append(".axisHorizontal="); - WriteToString(result, &value->axisHorizontal); - // Ark_Number axisVertical - result->append(", "); - result->append(".axisVertical="); - WriteToString(result, &value->axisVertical); - // Ark_Number pressure - result->append(", "); - result->append(".pressure="); - WriteToString(result, &value->pressure); - // Ark_Number tiltX - result->append(", "); - result->append(".tiltX="); - WriteToString(result, &value->tiltX); - // Ark_Number tiltY - result->append(", "); - result->append(".tiltY="); - WriteToString(result, &value->tiltY); - // Ark_SourceTool sourceTool - result->append(", "); - result->append(".sourceTool="); - WriteToString(result, value->sourceTool); - // Ark_Number deviceId - result->append(", "); - result->append(".deviceId="); - WriteToString(result, &value->deviceId); - // Ark_MouseButton button - result->append(", "); - result->append(".button="); - WriteToString(result, value->button); - // Ark_MouseAction action - result->append(", "); - result->append(".action="); - WriteToString(result, value->action); - // Ark_Number displayX - result->append(", "); - result->append(".displayX="); - WriteToString(result, &value->displayX); - // Ark_Number displayY - result->append(", "); - result->append(".displayY="); - WriteToString(result, &value->displayY); - // Ark_Number windowX - result->append(", "); - result->append(".windowX="); - WriteToString(result, &value->windowX); - // Ark_Number windowY - result->append(", "); - result->append(".windowY="); - WriteToString(result, &value->windowY); - // Ark_Number screenX - result->append(", "); - result->append(".screenX="); - WriteToString(result, &value->screenX); - // Ark_Number screenY - result->append(", "); - result->append(".screenY="); - WriteToString(result, &value->screenY); - // Ark_Number x - result->append(", "); - result->append(".x="); - WriteToString(result, &value->x); - // Ark_Number y - result->append(", "); - result->append(".y="); - WriteToString(result, &value->y); - // Callback_Void stopPropagation - result->append(", "); - result->append(".stopPropagation="); - WriteToString(result, &value->stopPropagation); - result->append("}"); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -44419,43 +44737,12 @@ inline void WriteToString(std::string* result, const Opt_MouseEvent* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_MouseEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Callback_MouseEvent_Void& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Callback_MouseEvent_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_MouseEvent_Void* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_Callback_MouseEvent_Void& value) -{ - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_HoverEffect& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_HoverEffect value) { @@ -44468,7 +44755,7 @@ inline void WriteToString(std::string* result, const Opt_HoverEffect* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -44479,91 +44766,14 @@ inline void WriteToString(std::string* result, const Opt_HoverEffect* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_HoverEffect& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_AccessibilityHoverEvent& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_AccessibilityHoverEvent* value) { - result->append("{"); - // Ark_EventTarget target - result->append(".target="); - WriteToString(result, &value->target); - // Ark_Number timestamp - result->append(", "); - result->append(".timestamp="); - WriteToString(result, &value->timestamp); - // Ark_SourceType source - result->append(", "); - result->append(".source="); - WriteToString(result, value->source); - // Ark_Number axisHorizontal - result->append(", "); - result->append(".axisHorizontal="); - WriteToString(result, &value->axisHorizontal); - // Ark_Number axisVertical - result->append(", "); - result->append(".axisVertical="); - WriteToString(result, &value->axisVertical); - // Ark_Number pressure - result->append(", "); - result->append(".pressure="); - WriteToString(result, &value->pressure); - // Ark_Number tiltX - result->append(", "); - result->append(".tiltX="); - WriteToString(result, &value->tiltX); - // Ark_Number tiltY - result->append(", "); - result->append(".tiltY="); - WriteToString(result, &value->tiltY); - // Ark_SourceTool sourceTool - result->append(", "); - result->append(".sourceTool="); - WriteToString(result, value->sourceTool); - // Ark_Number deviceId - result->append(", "); - result->append(".deviceId="); - WriteToString(result, &value->deviceId); - // Ark_AccessibilityHoverType type - result->append(", "); - result->append(".type="); - WriteToString(result, value->type); - // Ark_Number x - result->append(", "); - result->append(".x="); - WriteToString(result, &value->x); - // Ark_Number y - result->append(", "); - result->append(".y="); - WriteToString(result, &value->y); - // Ark_Number displayX - result->append(", "); - result->append(".displayX="); - WriteToString(result, &value->displayX); - // Ark_Number displayY - result->append(", "); - result->append(".displayY="); - WriteToString(result, &value->displayY); - // Ark_Number windowX - result->append(", "); - result->append(".windowX="); - WriteToString(result, &value->windowX); - // Ark_Number windowY - result->append(", "); - result->append(".windowY="); - WriteToString(result, &value->windowY); - result->append("}"); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -44574,12 +44784,12 @@ inline void WriteToString(std::string* result, const Opt_AccessibilityHoverEvent template <> inline Ark_RuntimeType runtimeType(const Opt_AccessibilityHoverEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const AccessibilityCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const AccessibilityCallback* value) { @@ -44594,7 +44804,7 @@ inline void WriteToString(std::string* result, const Opt_AccessibilityCallback* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -44605,67 +44815,14 @@ inline void WriteToString(std::string* result, const Opt_AccessibilityCallback* template <> inline Ark_RuntimeType runtimeType(const Opt_AccessibilityCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_HoverEvent& value) -{ - return ARK_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_HoverEvent* value) { - result->append("{"); - // Ark_EventTarget target - result->append(".target="); - WriteToString(result, &value->target); - // Ark_Number timestamp - result->append(", "); - result->append(".timestamp="); - WriteToString(result, &value->timestamp); - // Ark_SourceType source - result->append(", "); - result->append(".source="); - WriteToString(result, value->source); - // Ark_Number axisHorizontal - result->append(", "); - result->append(".axisHorizontal="); - WriteToString(result, &value->axisHorizontal); - // Ark_Number axisVertical - result->append(", "); - result->append(".axisVertical="); - WriteToString(result, &value->axisVertical); - // Ark_Number pressure - result->append(", "); - result->append(".pressure="); - WriteToString(result, &value->pressure); - // Ark_Number tiltX - result->append(", "); - result->append(".tiltX="); - WriteToString(result, &value->tiltX); - // Ark_Number tiltY - result->append(", "); - result->append(".tiltY="); - WriteToString(result, &value->tiltY); - // Ark_SourceTool sourceTool - result->append(", "); - result->append(".sourceTool="); - WriteToString(result, value->sourceTool); - // Ark_Number deviceId - result->append(", "); - result->append(".deviceId="); - WriteToString(result, &value->deviceId); - // Callback_Void stopPropagation - result->append(", "); - result->append(".stopPropagation="); - WriteToString(result, &value->stopPropagation); - result->append("}"); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -44676,12 +44833,12 @@ inline void WriteToString(std::string* result, const Opt_HoverEvent* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_HoverEvent& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Boolean_HoverEvent_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Boolean_HoverEvent_Void* value) { @@ -44696,7 +44853,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Boolean_HoverE result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -44707,7 +44864,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Boolean_HoverE template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Boolean_HoverEvent_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceColor_ColoringStrategy& value) @@ -44741,7 +44898,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_Col result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -44752,7 +44909,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ResourceColor_Col template <> inline Ark_RuntimeType runtimeType(const Opt_Union_ResourceColor_ColoringStrategy& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_OutlineRadiuses& value) @@ -44786,7 +44943,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_Outline result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -44797,7 +44954,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_Outline template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_OutlineRadiuses& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Dimension_EdgeOutlineWidths& value) @@ -44831,7 +44988,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_EdgeOut result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -44842,7 +44999,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Dimension_EdgeOut template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Dimension_EdgeOutlineWidths& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_OutlineStyle_EdgeOutlineStyles& value) @@ -44876,7 +45033,7 @@ inline void WriteToString(std::string* result, const Opt_Union_OutlineStyle_Edge result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -44887,12 +45044,12 @@ inline void WriteToString(std::string* result, const Opt_Union_OutlineStyle_Edge template <> inline Ark_RuntimeType runtimeType(const Opt_Union_OutlineStyle_EdgeOutlineStyles& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_OutlineOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_OutlineOptions* value) { @@ -44919,7 +45076,7 @@ inline void WriteToString(std::string* result, const Opt_OutlineOptions* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -44930,12 +45087,12 @@ inline void WriteToString(std::string* result, const Opt_OutlineOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_OutlineOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Tuple_ResourceColor_Number& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Tuple_ResourceColor_Number* value) { @@ -44954,7 +45111,7 @@ inline void WriteToString(std::string* result, const Opt_Tuple_ResourceColor_Num result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -44965,12 +45122,12 @@ inline void WriteToString(std::string* result, const Opt_Tuple_ResourceColor_Num template <> inline Ark_RuntimeType runtimeType(const Opt_Tuple_ResourceColor_Number& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BorderImageOption& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_BorderImageOption* value) { @@ -45005,7 +45162,7 @@ inline void WriteToString(std::string* result, const Opt_BorderImageOption* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45016,12 +45173,12 @@ inline void WriteToString(std::string* result, const Opt_BorderImageOption* valu template <> inline Ark_RuntimeType runtimeType(const Opt_BorderImageOption& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BorderOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_BorderOptions* value) { @@ -45056,7 +45213,7 @@ inline void WriteToString(std::string* result, const Opt_BorderOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45067,12 +45224,12 @@ inline void WriteToString(std::string* result, const Opt_BorderOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_BorderOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Filter& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Filter* value) { @@ -45087,7 +45244,7 @@ inline void WriteToString(std::string* result, const Opt_Filter* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45098,12 +45255,12 @@ inline void WriteToString(std::string* result, const Opt_Filter* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_Filter& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_VisualEffect& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_VisualEffect* value) { @@ -45118,7 +45275,7 @@ inline void WriteToString(std::string* result, const Opt_VisualEffect* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45129,12 +45286,12 @@ inline void WriteToString(std::string* result, const Opt_VisualEffect* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_VisualEffect& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ForegroundEffectOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ForegroundEffectOptions* value) { @@ -45149,7 +45306,7 @@ inline void WriteToString(std::string* result, const Opt_ForegroundEffectOptions result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45160,12 +45317,12 @@ inline void WriteToString(std::string* result, const Opt_ForegroundEffectOptions template <> inline Ark_RuntimeType runtimeType(const Opt_ForegroundEffectOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ResizableOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ResizableOptions* value) { @@ -45184,7 +45341,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45195,12 +45352,12 @@ inline void WriteToString(std::string* result, const Opt_ResizableOptions* value template <> inline Ark_RuntimeType runtimeType(const Opt_ResizableOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BackgroundEffectOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_BackgroundEffectOptions* value) { @@ -45243,7 +45400,7 @@ inline void WriteToString(std::string* result, const Opt_BackgroundEffectOptions result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45254,7 +45411,7 @@ inline void WriteToString(std::string* result, const Opt_BackgroundEffectOptions template <> inline Ark_RuntimeType runtimeType(const Opt_BackgroundEffectOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Position_Alignment& value) @@ -45288,7 +45445,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Position_Alignmen result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45299,7 +45456,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Position_Alignmen template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Position_Alignment& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_SizeOptions_ImageSize& value) @@ -45333,7 +45490,7 @@ inline void WriteToString(std::string* result, const Opt_Union_SizeOptions_Image result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45344,12 +45501,12 @@ inline void WriteToString(std::string* result, const Opt_Union_SizeOptions_Image template <> inline Ark_RuntimeType runtimeType(const Opt_Union_SizeOptions_ImageSize& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PixelRoundPolicy& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PixelRoundPolicy* value) { @@ -45376,7 +45533,7 @@ inline void WriteToString(std::string* result, const Opt_PixelRoundPolicy* value result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45387,7 +45544,7 @@ inline void WriteToString(std::string* result, const Opt_PixelRoundPolicy* value template <> inline Ark_RuntimeType runtimeType(const Opt_PixelRoundPolicy& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Margin_Length_LocalizedMargin& value) @@ -45427,7 +45584,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Margin_Length_Loc result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45438,7 +45595,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Margin_Length_Loc template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Margin_Length_LocalizedMargin& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Padding_LengthMetrics_LocalizedPadding& value) @@ -45478,7 +45635,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Padding_LengthMet result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45489,7 +45646,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Padding_LengthMet template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Padding_LengthMetrics_LocalizedPadding& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Padding_Length_LocalizedPadding& value) @@ -45529,7 +45686,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Padding_Length_Lo result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45540,12 +45697,12 @@ inline void WriteToString(std::string* result, const Opt_Union_Padding_Length_Lo template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Padding_Length_LocalizedPadding& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ChainWeightOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ChainWeightOptions* value) { @@ -45564,7 +45721,7 @@ inline void WriteToString(std::string* result, const Opt_ChainWeightOptions* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45575,12 +45732,12 @@ inline void WriteToString(std::string* result, const Opt_ChainWeightOptions* val template <> inline Ark_RuntimeType runtimeType(const Opt_ChainWeightOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TouchResult& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TouchResult* value) { @@ -45599,7 +45756,7 @@ inline void WriteToString(std::string* result, const Opt_TouchResult* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45610,12 +45767,12 @@ inline void WriteToString(std::string* result, const Opt_TouchResult* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_TouchResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TouchTestInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TouchTestInfo* value) { @@ -45658,7 +45815,7 @@ inline void WriteToString(std::string* result, const Opt_TouchTestInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45669,12 +45826,12 @@ inline void WriteToString(std::string* result, const Opt_TouchTestInfo* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_TouchTestInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Array_TouchTestInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> @@ -45697,7 +45854,7 @@ inline void WriteToString(std::string* result, const Opt_Array_TouchTestInfo* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45708,12 +45865,12 @@ inline void WriteToString(std::string* result, const Opt_Array_TouchTestInfo* va template <> inline Ark_RuntimeType runtimeType(const Opt_Array_TouchTestInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_Array_TouchTestInfo_TouchResult& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_Array_TouchTestInfo_TouchResult* value) { @@ -45728,7 +45885,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_Array_TouchTes result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45739,12 +45896,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_Array_TouchTes template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_Array_TouchTestInfo_TouchResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_HitTestMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_HitTestMode value) { @@ -45757,7 +45914,7 @@ inline void WriteToString(std::string* result, const Opt_HitTestMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45768,12 +45925,12 @@ inline void WriteToString(std::string* result, const Opt_HitTestMode* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_HitTestMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ConstraintSizeOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ConstraintSizeOptions* value) { @@ -45800,7 +45957,7 @@ inline void WriteToString(std::string* result, const Opt_ConstraintSizeOptions* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45811,7 +45968,7 @@ inline void WriteToString(std::string* result, const Opt_ConstraintSizeOptions* template <> inline Ark_RuntimeType runtimeType(const Opt_ConstraintSizeOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Array_Rectangle_Rectangle& value) @@ -45845,7 +46002,7 @@ inline void WriteToString(std::string* result, const Opt_Union_Array_Rectangle_R result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45856,12 +46013,224 @@ inline void WriteToString(std::string* result, const Opt_Union_Array_Rectangle_R template <> inline Ark_RuntimeType runtimeType(const Opt_Union_Array_Rectangle_Rectangle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_TouchObject& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_TouchObject* value) { + result->append("{"); + // Ark_TouchType type + result->append(".type="); + WriteToString(result, value->type); + // Ark_Number id + result->append(", "); + result->append(".id="); + WriteToString(result, &value->id); + // Ark_Number displayX + result->append(", "); + result->append(".displayX="); + WriteToString(result, &value->displayX); + // Ark_Number displayY + result->append(", "); + result->append(".displayY="); + WriteToString(result, &value->displayY); + // Ark_Number windowX + result->append(", "); + result->append(".windowX="); + WriteToString(result, &value->windowX); + // Ark_Number windowY + result->append(", "); + result->append(".windowY="); + WriteToString(result, &value->windowY); + // Ark_Number screenX + result->append(", "); + result->append(".screenX="); + WriteToString(result, &value->screenX); + // Ark_Number screenY + result->append(", "); + result->append(".screenY="); + WriteToString(result, &value->screenY); + // Ark_Number x + result->append(", "); + result->append(".x="); + WriteToString(result, &value->x); + // Ark_Number y + result->append(", "); + result->append(".y="); + WriteToString(result, &value->y); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TouchObject* 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_TouchObject& 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; +} +template <> +inline void WriteToString(std::string* result, const Ark_LayoutSafeAreaEdge value) { + result->append("Ark_LayoutSafeAreaEdge("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_LayoutSafeAreaEdge* 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_LayoutSafeAreaEdge& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_LayoutSafeAreaType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_LayoutSafeAreaType value) { + result->append("Ark_LayoutSafeAreaType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_LayoutSafeAreaType* 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_LayoutSafeAreaType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SafeAreaEdge& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_SafeAreaEdge value) { + result->append("Ark_SafeAreaEdge("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SafeAreaEdge* 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_SafeAreaEdge& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SafeAreaType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_SafeAreaType value) { + result->append("Ark_SafeAreaType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SafeAreaType* 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_SafeAreaType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_PreDragStatus& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_PreDragStatus value) { + result->append("Ark_PreDragStatus("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PreDragStatus* 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_PreDragStatus& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TransitionEffects& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TransitionEffects* value) { @@ -45904,7 +46273,7 @@ inline void WriteToString(std::string* result, const Opt_TransitionEffects* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45915,12 +46284,12 @@ inline void WriteToString(std::string* result, const Opt_TransitionEffects* valu template <> inline Ark_RuntimeType runtimeType(const Opt_TransitionEffects& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_PointLightStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_PointLightStyle* value) { @@ -45943,7 +46312,7 @@ inline void WriteToString(std::string* result, const Opt_PointLightStyle* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45954,12 +46323,12 @@ inline void WriteToString(std::string* result, const Opt_PointLightStyle* value) template <> inline Ark_RuntimeType runtimeType(const Opt_PointLightStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ColumnOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ColumnOptions* value) { @@ -45974,7 +46343,7 @@ inline void WriteToString(std::string* result, const Opt_ColumnOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -45985,12 +46354,12 @@ inline void WriteToString(std::string* result, const Opt_ColumnOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ColumnOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CircleOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CircleOptions* value) { @@ -46009,7 +46378,7 @@ inline void WriteToString(std::string* result, const Opt_CircleOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46020,12 +46389,12 @@ inline void WriteToString(std::string* result, const Opt_CircleOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_CircleOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CheckboxGroupResult& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CheckboxGroupResult* value) { @@ -46044,7 +46413,7 @@ inline void WriteToString(std::string* result, const Opt_CheckboxGroupResult* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46055,12 +46424,12 @@ inline void WriteToString(std::string* result, const Opt_CheckboxGroupResult* va template <> inline Ark_RuntimeType runtimeType(const Opt_CheckboxGroupResult& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnCheckboxGroupChangeCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnCheckboxGroupChangeCallback* value) { @@ -46075,7 +46444,7 @@ inline void WriteToString(std::string* result, const Opt_OnCheckboxGroupChangeCa result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46086,12 +46455,12 @@ inline void WriteToString(std::string* result, const Opt_OnCheckboxGroupChangeCa template <> inline Ark_RuntimeType runtimeType(const Opt_OnCheckboxGroupChangeCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CheckboxGroupOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CheckboxGroupOptions* value) { @@ -46106,7 +46475,7 @@ inline void WriteToString(std::string* result, const Opt_CheckboxGroupOptions* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46117,12 +46486,12 @@ inline void WriteToString(std::string* result, const Opt_CheckboxGroupOptions* v template <> inline Ark_RuntimeType runtimeType(const Opt_CheckboxGroupOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnCheckboxChangeCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnCheckboxChangeCallback* value) { @@ -46137,7 +46506,7 @@ inline void WriteToString(std::string* result, const Opt_OnCheckboxChangeCallbac result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46148,12 +46517,12 @@ inline void WriteToString(std::string* result, const Opt_OnCheckboxChangeCallbac template <> inline Ark_RuntimeType runtimeType(const Opt_OnCheckboxChangeCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_MarkStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_MarkStyle* value) { @@ -46176,7 +46545,7 @@ 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 != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46187,12 +46556,12 @@ inline void WriteToString(std::string* result, const Opt_MarkStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_MarkStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CheckBoxShape& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_CheckBoxShape value) { @@ -46205,7 +46574,7 @@ inline void WriteToString(std::string* result, const Opt_CheckBoxShape* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46216,12 +46585,12 @@ inline void WriteToString(std::string* result, const Opt_CheckBoxShape* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_CheckBoxShape& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CheckboxOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CheckboxOptions* value) { @@ -46244,7 +46613,7 @@ inline void WriteToString(std::string* result, const Opt_CheckboxOptions* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46255,7 +46624,7 @@ inline void WriteToString(std::string* result, const Opt_CheckboxOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_CheckboxOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_CanvasRenderingContext2D_DrawingRenderingContext& value) @@ -46289,7 +46658,7 @@ inline void WriteToString(std::string* result, const Opt_Union_CanvasRenderingCo result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46300,12 +46669,12 @@ inline void WriteToString(std::string* result, const Opt_Union_CanvasRenderingCo template <> inline Ark_RuntimeType runtimeType(const Opt_Union_CanvasRenderingContext2D_DrawingRenderingContext& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_RenderingContextSettings& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_RenderingContextSettings* value) { @@ -46320,7 +46689,7 @@ inline void WriteToString(std::string* result, const Opt_RenderingContextSetting result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46331,12 +46700,12 @@ inline void WriteToString(std::string* result, const Opt_RenderingContextSetting template <> inline Ark_RuntimeType runtimeType(const Opt_RenderingContextSettings& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ImageAnalyzerType& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_ImageAnalyzerType value) { @@ -46349,7 +46718,7 @@ inline void WriteToString(std::string* result, const Opt_ImageAnalyzerType* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46360,7 +46729,7 @@ inline void WriteToString(std::string* result, const Opt_ImageAnalyzerType* valu template <> inline Ark_RuntimeType runtimeType(const Opt_ImageAnalyzerType& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ImageBitmap_PixelMap& value) @@ -46394,7 +46763,7 @@ inline void WriteToString(std::string* result, const Opt_Union_ImageBitmap_Pixel result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46405,12 +46774,12 @@ inline void WriteToString(std::string* result, const Opt_Union_ImageBitmap_Pixel template <> inline Ark_RuntimeType runtimeType(const Opt_Union_ImageBitmap_PixelMap& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_LengthMetricsUnit& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_LengthMetricsUnit* value) { @@ -46425,7 +46794,7 @@ inline void WriteToString(std::string* result, const Opt_LengthMetricsUnit* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46436,12 +46805,12 @@ inline void WriteToString(std::string* result, const Opt_LengthMetricsUnit* valu template <> inline Ark_RuntimeType runtimeType(const Opt_LengthMetricsUnit& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CalendarOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CalendarOptions* value) { @@ -46460,7 +46829,7 @@ inline void WriteToString(std::string* result, const Opt_CalendarOptions* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46471,12 +46840,12 @@ inline void WriteToString(std::string* result, const Opt_CalendarOptions* value) template <> inline Ark_RuntimeType runtimeType(const Opt_CalendarOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CalendarRequestedData& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CalendarRequestedData* value) { @@ -46507,7 +46876,7 @@ inline void WriteToString(std::string* result, const Opt_CalendarRequestedData* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46518,12 +46887,12 @@ inline void WriteToString(std::string* result, const Opt_CalendarRequestedData* template <> inline Ark_RuntimeType runtimeType(const Opt_CalendarRequestedData& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_CalendarRequestedData_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_CalendarRequestedData_Void* value) { @@ -46538,7 +46907,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_CalendarReques result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46549,12 +46918,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_CalendarReques template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_CalendarRequestedData_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CalendarSelectedDate& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CalendarSelectedDate* value) { @@ -46577,7 +46946,7 @@ inline void WriteToString(std::string* result, const Opt_CalendarSelectedDate* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46588,12 +46957,12 @@ inline void WriteToString(std::string* result, const Opt_CalendarSelectedDate* v template <> inline Ark_RuntimeType runtimeType(const Opt_CalendarSelectedDate& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Callback_CalendarSelectedDate_Void& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Callback_CalendarSelectedDate_Void* value) { @@ -46608,7 +46977,7 @@ inline void WriteToString(std::string* result, const Opt_Callback_CalendarSelect result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46619,12 +46988,12 @@ inline void WriteToString(std::string* result, const Opt_Callback_CalendarSelect template <> inline Ark_RuntimeType runtimeType(const Opt_Callback_CalendarSelectedDate_Void& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_WorkStateStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_WorkStateStyle* value) { @@ -46663,7 +47032,7 @@ inline void WriteToString(std::string* result, const Opt_WorkStateStyle* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46674,12 +47043,12 @@ inline void WriteToString(std::string* result, const Opt_WorkStateStyle* value) template <> inline Ark_RuntimeType runtimeType(const Opt_WorkStateStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_WeekStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_WeekStyle* value) { @@ -46718,7 +47087,7 @@ inline void WriteToString(std::string* result, const Opt_WeekStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46729,12 +47098,12 @@ inline void WriteToString(std::string* result, const Opt_WeekStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_WeekStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_TodayStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_TodayStyle* value) { @@ -46761,7 +47130,7 @@ inline void WriteToString(std::string* result, const Opt_TodayStyle* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46772,12 +47141,12 @@ inline void WriteToString(std::string* result, const Opt_TodayStyle* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_TodayStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NonCurrentDayStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_NonCurrentDayStyle* value) { @@ -46804,7 +47173,7 @@ inline void WriteToString(std::string* result, const Opt_NonCurrentDayStyle* val result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46815,12 +47184,12 @@ inline void WriteToString(std::string* result, const Opt_NonCurrentDayStyle* val template <> inline Ark_RuntimeType runtimeType(const Opt_NonCurrentDayStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CurrentDayStyle& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CurrentDayStyle* value) { @@ -46923,7 +47292,7 @@ inline void WriteToString(std::string* result, const Opt_CurrentDayStyle* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -46934,12 +47303,12 @@ inline void WriteToString(std::string* result, const Opt_CurrentDayStyle* value) template <> inline Ark_RuntimeType runtimeType(const Opt_CurrentDayStyle& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_CalendarDay& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_CalendarDay* value) { @@ -46994,7 +47363,7 @@ inline void WriteToString(std::string* result, const Opt_CalendarDay* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -47005,12 +47374,12 @@ inline void WriteToString(std::string* result, const Opt_CalendarDay* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_CalendarDay& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Type_CalendarInterface_value& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Type_CalendarInterface_value* value) { @@ -47041,7 +47410,7 @@ inline void WriteToString(std::string* result, const Opt_Type_CalendarInterface_ result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -47052,12 +47421,12 @@ inline void WriteToString(std::string* result, const Opt_Type_CalendarInterface_ template <> inline Ark_RuntimeType runtimeType(const Opt_Type_CalendarInterface_value& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_ButtonOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_ButtonOptions* value) { @@ -47088,7 +47457,7 @@ inline void WriteToString(std::string* result, const Opt_ButtonOptions* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -47099,12 +47468,12 @@ inline void WriteToString(std::string* result, const Opt_ButtonOptions* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_ButtonOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BadgeParamWithString& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_BadgeParamWithString* value) { @@ -47127,7 +47496,7 @@ inline void WriteToString(std::string* result, const Opt_BadgeParamWithString* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -47138,12 +47507,12 @@ inline void WriteToString(std::string* result, const Opt_BadgeParamWithString* v template <> inline Ark_RuntimeType runtimeType(const Opt_BadgeParamWithString& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_BadgeParamWithNumber& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_BadgeParamWithNumber* value) { @@ -47170,7 +47539,7 @@ inline void WriteToString(std::string* result, const Opt_BadgeParamWithNumber* v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -47181,7 +47550,7 @@ inline void WriteToString(std::string* result, const Opt_BadgeParamWithNumber* v template <> inline Ark_RuntimeType runtimeType(const Opt_BadgeParamWithNumber& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Union_SpringMotion_FrictionMotion_ScrollMotion& value) @@ -47221,7 +47590,7 @@ inline void WriteToString(std::string* result, const Opt_Union_SpringMotion_Fric result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -47232,12 +47601,12 @@ inline void WriteToString(std::string* result, const Opt_Union_SpringMotion_Fric template <> inline Ark_RuntimeType runtimeType(const Opt_Union_SpringMotion_FrictionMotion_ScrollMotion& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_FillMode& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_FillMode value) { @@ -47250,7 +47619,7 @@ inline void WriteToString(std::string* result, const Opt_FillMode* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -47261,12 +47630,12 @@ inline void WriteToString(std::string* result, const Opt_FillMode* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_FillMode& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_AnimationStatus& value) { - return ARK_RUNTIME_NUMBER; + return INTEROP_RUNTIME_NUMBER; } template <> inline void WriteToString(std::string* result, const Ark_AnimationStatus value) { @@ -47279,7 +47648,7 @@ inline void WriteToString(std::string* result, const Opt_AnimationStatus* value) result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -47290,12 +47659,12 @@ inline void WriteToString(std::string* result, const Opt_AnimationStatus* value) template <> inline Ark_RuntimeType runtimeType(const Opt_AnimationStatus& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnAlphabetIndexerPopupSelectCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnAlphabetIndexerPopupSelectCallback* value) { @@ -47310,7 +47679,7 @@ inline void WriteToString(std::string* result, const Opt_OnAlphabetIndexerPopupS result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -47321,12 +47690,12 @@ inline void WriteToString(std::string* result, const Opt_OnAlphabetIndexerPopupS template <> inline Ark_RuntimeType runtimeType(const Opt_OnAlphabetIndexerPopupSelectCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnAlphabetIndexerRequestPopupDataCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnAlphabetIndexerRequestPopupDataCallback* value) { @@ -47341,7 +47710,7 @@ inline void WriteToString(std::string* result, const Opt_OnAlphabetIndexerReques result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -47352,12 +47721,12 @@ inline void WriteToString(std::string* result, const Opt_OnAlphabetIndexerReques template <> inline Ark_RuntimeType runtimeType(const Opt_OnAlphabetIndexerRequestPopupDataCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const OnAlphabetIndexerSelectCallback& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const OnAlphabetIndexerSelectCallback* value) { @@ -47372,7 +47741,7 @@ inline void WriteToString(std::string* result, const Opt_OnAlphabetIndexerSelect result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -47383,12 +47752,12 @@ inline void WriteToString(std::string* result, const Opt_OnAlphabetIndexerSelect template <> inline Ark_RuntimeType runtimeType(const Opt_OnAlphabetIndexerSelectCallback& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_AlphabetIndexerOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_AlphabetIndexerOptions* value) { @@ -47407,7 +47776,7 @@ inline void WriteToString(std::string* result, const Opt_AlphabetIndexerOptions* result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -47418,12 +47787,12 @@ inline void WriteToString(std::string* result, const Opt_AlphabetIndexerOptions* template <> inline Ark_RuntimeType runtimeType(const Opt_AlphabetIndexerOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_AlertDialogButtonOptions& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_AlertDialogButtonOptions* value) { @@ -47466,7 +47835,7 @@ inline void WriteToString(std::string* result, const Opt_AlertDialogButtonOption result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -47477,7 +47846,7 @@ inline void WriteToString(std::string* result, const Opt_AlertDialogButtonOption template <> inline Ark_RuntimeType runtimeType(const Opt_AlertDialogButtonOptions& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Type_AlertDialog_show_value& value) @@ -47517,7 +47886,7 @@ inline void WriteToString(std::string* result, const Opt_Type_AlertDialog_show_v result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -47528,12 +47897,12 @@ inline void WriteToString(std::string* result, const Opt_Type_AlertDialog_show_v template <> inline Ark_RuntimeType runtimeType(const Opt_Type_AlertDialog_show_value& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_DismissDialogAction& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_DismissDialogAction* value) { @@ -47552,7 +47921,7 @@ inline void WriteToString(std::string* result, const Opt_DismissDialogAction* va result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -47563,12 +47932,12 @@ inline void WriteToString(std::string* result, const Opt_DismissDialogAction* va template <> inline Ark_RuntimeType runtimeType(const Opt_DismissDialogAction& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_SheetInfo& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_SheetInfo* value) { @@ -47591,7 +47960,7 @@ inline void WriteToString(std::string* result, const Opt_SheetInfo* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -47602,12 +47971,12 @@ inline void WriteToString(std::string* result, const Opt_SheetInfo* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_SheetInfo& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_Literal_Want_want& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Ark_Literal_Want_want* value) { @@ -47622,7 +47991,7 @@ inline void WriteToString(std::string* result, const Opt_Literal_Want_want* valu result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, &value->value); } else { Ark_Undefined undefined = { 0 }; @@ -47633,19 +48002,19 @@ inline void WriteToString(std::string* result, const Opt_Literal_Want_want* valu template <> inline Ark_RuntimeType runtimeType(const Opt_Literal_Want_want& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> inline Ark_RuntimeType runtimeType(const Ark_NativePointer& value) { - return ARK_RUNTIME_OBJECT; + return INTEROP_RUNTIME_OBJECT; } template <> inline void WriteToString(std::string* result, const Opt_NativePointer* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); result->append(", .value="); - if (value->tag != ARK_TAG_UNDEFINED) { + if (value->tag != INTEROP_TAG_UNDEFINED) { WriteToString(result, value->value); } else { Ark_Undefined undefined = { 0 }; @@ -47656,7 +48025,7 @@ inline void WriteToString(std::string* result, const Opt_NativePointer* value) { template <> inline Ark_RuntimeType runtimeType(const Opt_NativePointer& value) { - return (value.tag != ARK_TAG_UNDEFINED) ? (ARK_RUNTIME_OBJECT) : (ARK_RUNTIME_UNDEFINED); + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } @@ -47676,10 +48045,10 @@ class Serializer : public SerializerBase { const auto value_id = value.id; valueSerializer.writeNumber(value_id); const auto value_params = value.params; - Ark_Int32 value_params_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_params_type = INTEROP_RUNTIME_UNDEFINED; value_params_type = runtimeType(value_params); valueSerializer.writeInt8(value_params_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_params_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_params_type)) { const auto value_params_value = value_params.value; valueSerializer.writeInt32(value_params_value.length); for (int i = 0; i < value_params_value.length; i++) { @@ -47688,10 +48057,10 @@ class Serializer : public SerializerBase { } } const auto value_type = value.type; - Ark_Int32 value_type_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_type_type = INTEROP_RUNTIME_UNDEFINED; value_type_type = runtimeType(value_type); valueSerializer.writeInt8(value_type_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_type_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_type_type)) { const auto value_type_value = value_type.value; valueSerializer.writeNumber(value_type_value); } @@ -47729,79 +48098,79 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_color = value.color; - Ark_Int32 value_color_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 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_color_value_type == 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); } } const auto value_radius = value.radius; - Ark_Int32 value_radius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; value_radius_type = runtimeType(value_radius); valueSerializer.writeInt8(value_radius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_radius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_type)) { const auto value_radius_value = value_radius.value; - Ark_Int32 value_radius_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_radius_value_type = INTEROP_RUNTIME_UNDEFINED; value_radius_value_type = value_radius_value.selector; - if (((value_radius_value_type == 0)) || ((value_radius_value_type == 1)) || ((value_radius_value_type == 2))) { + if (((value_radius_value_type == 0)) || ((value_radius_value_type == 0)) || ((value_radius_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_radius_value_0 = value_radius_value.value0; valueSerializer.writeLength(value_radius_value_0); } - else if (((value_radius_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_radius_value_1_topLeft_value); } const auto value_radius_value_1_topRight = value_radius_value_1.topRight; - Ark_Int32 value_radius_value_1_topRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_radius_value_1_topRight_value); } const auto value_radius_value_1_bottomLeft = value_radius_value_1.bottomLeft; - Ark_Int32 value_radius_value_1_bottomLeft_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_radius_value_1_bottomLeft_value); } const auto value_radius_value_1_bottomRight = value_radius_value_1.bottomRight; - Ark_Int32 value_radius_value_1_bottomRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_radius_value_1_bottomRight_value); } @@ -47812,150 +48181,150 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_margin = value.margin; - Ark_Int32 value_margin_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_margin_type = INTEROP_RUNTIME_UNDEFINED; value_margin_type = runtimeType(value_margin); valueSerializer.writeInt8(value_margin_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_margin_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_type)) { const auto value_margin_value = value_margin.value; - Ark_Int32 value_margin_value_type = ARK_RUNTIME_UNDEFINED; + 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.writeLengthMetrics(value_margin_value_0); } - else if (((value_margin_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_margin_value_1_top_value); } const auto value_margin_value_1_right = value_margin_value_1.right; - Ark_Int32 value_margin_value_1_right_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_margin_value_1_right_value); } const auto value_margin_value_1_bottom = value_margin_value_1.bottom; - Ark_Int32 value_margin_value_1_bottom_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_margin_value_1_bottom_value); } const auto value_margin_value_1_left = value_margin_value_1.left; - Ark_Int32 value_margin_value_1_left_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_margin_value_1_left_value); } } } const auto value_padding = value.padding; - Ark_Int32 value_padding_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_padding_type = INTEROP_RUNTIME_UNDEFINED; value_padding_type = runtimeType(value_padding); valueSerializer.writeInt8(value_padding_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_padding_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_padding_type)) { const auto value_padding_value = value_padding.value; - Ark_Int32 value_padding_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_padding_value_type = INTEROP_RUNTIME_UNDEFINED; value_padding_value_type = value_padding_value.selector; if (((value_padding_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_padding_value_0 = value_padding_value.value0; valueSerializer.writeLengthMetrics(value_padding_value_0); } - else if (((value_padding_value_type == 0))) { + else if (((value_padding_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_padding_value_1 = value_padding_value.value1; const auto value_padding_value_1_top = value_padding_value_1.top; - Ark_Int32 value_padding_value_1_top_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_padding_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; value_padding_value_1_top_type = runtimeType(value_padding_value_1_top); valueSerializer.writeInt8(value_padding_value_1_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_padding_value_1_top_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_padding_value_1_top_type)) { const auto value_padding_value_1_top_value = value_padding_value_1_top.value; valueSerializer.writeLength(value_padding_value_1_top_value); } const auto value_padding_value_1_right = value_padding_value_1.right; - Ark_Int32 value_padding_value_1_right_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_padding_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; value_padding_value_1_right_type = runtimeType(value_padding_value_1_right); valueSerializer.writeInt8(value_padding_value_1_right_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_padding_value_1_right_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_padding_value_1_right_type)) { const auto value_padding_value_1_right_value = value_padding_value_1_right.value; valueSerializer.writeLength(value_padding_value_1_right_value); } const auto value_padding_value_1_bottom = value_padding_value_1.bottom; - Ark_Int32 value_padding_value_1_bottom_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_padding_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; value_padding_value_1_bottom_type = runtimeType(value_padding_value_1_bottom); valueSerializer.writeInt8(value_padding_value_1_bottom_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_padding_value_1_bottom_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_padding_value_1_bottom_type)) { const auto value_padding_value_1_bottom_value = value_padding_value_1_bottom.value; valueSerializer.writeLength(value_padding_value_1_bottom_value); } const auto value_padding_value_1_left = value_padding_value_1.left; - Ark_Int32 value_padding_value_1_left_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_padding_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; value_padding_value_1_left_type = runtimeType(value_padding_value_1_left); valueSerializer.writeInt8(value_padding_value_1_left_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_padding_value_1_left_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_padding_value_1_left_type)) { const auto value_padding_value_1_left_value = value_padding_value_1_left.value; valueSerializer.writeLength(value_padding_value_1_left_value); } } } const auto value_borderRadius = value.borderRadius; - Ark_Int32 value_borderRadius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderRadius_type = INTEROP_RUNTIME_UNDEFINED; value_borderRadius_type = runtimeType(value_borderRadius); valueSerializer.writeInt8(value_borderRadius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderRadius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_type)) { const auto value_borderRadius_value = value_borderRadius.value; - Ark_Int32 value_borderRadius_value_type = ARK_RUNTIME_UNDEFINED; + 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_borderRadius_value_0 = value_borderRadius_value.value0; valueSerializer.writeLengthMetrics(value_borderRadius_value_0); } - else if (((value_borderRadius_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderRadius_value_1_topLeft_value); } const auto value_borderRadius_value_1_topRight = value_borderRadius_value_1.topRight; - Ark_Int32 value_borderRadius_value_1_topRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderRadius_value_1_topRight_value); } const auto value_borderRadius_value_1_bottomLeft = value_borderRadius_value_1.bottomLeft; - Ark_Int32 value_borderRadius_value_1_bottomLeft_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderRadius_value_1_bottomLeft_value); } const auto value_borderRadius_value_1_bottomRight = value_borderRadius_value_1.bottomRight; - Ark_Int32 value_borderRadius_value_1_bottomRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderRadius_value_1_bottomRight_value); } @@ -47966,18 +48335,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; valueSerializer.writeLength(value_width_value); } const auto value_height = value.height; - Ark_Int32 value_height_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; value_height_type = runtimeType(value_height); valueSerializer.writeInt8(value_height_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_height_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { const auto value_height_value = value_height.value; valueSerializer.writeLength(value_height_value); } @@ -47986,18 +48355,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_x = value.x; - Ark_Int32 value_x_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_x_type = INTEROP_RUNTIME_UNDEFINED; value_x_type = runtimeType(value_x); valueSerializer.writeInt8(value_x_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_x_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_x_type)) { const auto value_x_value = value_x.value; valueSerializer.writeLength(value_x_value); } const auto value_y = value.y; - Ark_Int32 value_y_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_y_type = INTEROP_RUNTIME_UNDEFINED; value_y_type = runtimeType(value_y); valueSerializer.writeInt8(value_y_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_y_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_y_type)) { const auto value_y_value = value_y.value; valueSerializer.writeLength(value_y_value); } @@ -48012,98 +48381,98 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_radius = value.radius; - Ark_Int32 value_radius_type = ARK_RUNTIME_UNDEFINED; + 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_radius_0 = value_radius.value0; valueSerializer.writeNumber(value_radius_0); } - else if (((value_radius_type == 0))) { + else if (((value_radius_type == 1))) { valueSerializer.writeInt8(1); const auto value_radius_1 = value_radius.value1; valueSerializer.writeResource(value_radius_1); } const auto value_type = value.type; - Ark_Int32 value_type_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_type_type = INTEROP_RUNTIME_UNDEFINED; value_type_type = runtimeType(value_type); valueSerializer.writeInt8(value_type_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_color = value.color; - Ark_Int32 value_color_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + else if (((value_color_value_type == 3))) { valueSerializer.writeInt8(3); const auto value_color_value_3 = value_color_value.value3; valueSerializer.writeInt32(value_color_value_3); } } const auto value_offsetX = value.offsetX; - Ark_Int32 value_offsetX_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offsetX_type = INTEROP_RUNTIME_UNDEFINED; value_offsetX_type = runtimeType(value_offsetX); valueSerializer.writeInt8(value_offsetX_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_offsetX_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offsetX_type)) { const auto value_offsetX_value = value_offsetX.value; - Ark_Int32 value_offsetX_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_offsetY = value.offsetY; - Ark_Int32 value_offsetY_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offsetY_type = INTEROP_RUNTIME_UNDEFINED; value_offsetY_type = runtimeType(value_offsetY); valueSerializer.writeInt8(value_offsetY_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_offsetY_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offsetY_type)) { const auto value_offsetY_value = value_offsetY.value; - Ark_Int32 value_offsetY_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_fill = value.fill; - Ark_Int32 value_fill_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fill_type = INTEROP_RUNTIME_UNDEFINED; value_fill_type = runtimeType(value_fill); valueSerializer.writeInt8(value_fill_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fill_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fill_type)) { const auto value_fill_value = value_fill.value; valueSerializer.writeBoolean(value_fill_value); } @@ -48112,50 +48481,50 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_xs = value.xs; - Ark_Int32 value_xs_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_xs_type = INTEROP_RUNTIME_UNDEFINED; value_xs_type = runtimeType(value_xs); valueSerializer.writeInt8(value_xs_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_xs_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_xs_type)) { const auto value_xs_value = value_xs.value; valueSerializer.writeLength(value_xs_value); } const auto value_sm = value.sm; - Ark_Int32 value_sm_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_sm_type = INTEROP_RUNTIME_UNDEFINED; value_sm_type = runtimeType(value_sm); valueSerializer.writeInt8(value_sm_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_sm_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_sm_type)) { const auto value_sm_value = value_sm.value; valueSerializer.writeLength(value_sm_value); } const auto value_md = value.md; - Ark_Int32 value_md_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_md_type = INTEROP_RUNTIME_UNDEFINED; value_md_type = runtimeType(value_md); valueSerializer.writeInt8(value_md_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_md_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_md_type)) { const auto value_md_value = value_md.value; valueSerializer.writeLength(value_md_value); } const auto value_lg = value.lg; - Ark_Int32 value_lg_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_lg_type = INTEROP_RUNTIME_UNDEFINED; value_lg_type = runtimeType(value_lg); valueSerializer.writeInt8(value_lg_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_lg_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_lg_type)) { const auto value_lg_value = value_lg.value; valueSerializer.writeLength(value_lg_value); } const auto value_xl = value.xl; - Ark_Int32 value_xl_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_xl_type = INTEROP_RUNTIME_UNDEFINED; value_xl_type = runtimeType(value_xl); valueSerializer.writeInt8(value_xl_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_xl_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_xl_type)) { const auto value_xl_value = value_xl.value; valueSerializer.writeLength(value_xl_value); } const auto value_xxl = value.xxl; - Ark_Int32 value_xxl_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_xxl_type = INTEROP_RUNTIME_UNDEFINED; value_xxl_type = runtimeType(value_xxl); valueSerializer.writeInt8(value_xxl_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_xxl_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_xxl_type)) { const auto value_xxl_value = value_xxl.value; valueSerializer.writeLength(value_xxl_value); } @@ -48190,59 +48559,59 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_textAlign = value.textAlign; - Ark_Int32 value_textAlign_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_textAlign_type = INTEROP_RUNTIME_UNDEFINED; value_textAlign_type = runtimeType(value_textAlign); valueSerializer.writeInt8(value_textAlign_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_textIndent_type = INTEROP_RUNTIME_UNDEFINED; value_textIndent_type = runtimeType(value_textIndent); valueSerializer.writeInt8(value_textIndent_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_textIndent_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textIndent_type)) { const auto value_textIndent_value = value_textIndent.value; valueSerializer.writeNumber(value_textIndent_value); } const auto value_maxLines = value.maxLines; - Ark_Int32 value_maxLines_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_maxLines_type = INTEROP_RUNTIME_UNDEFINED; value_maxLines_type = runtimeType(value_maxLines); valueSerializer.writeInt8(value_maxLines_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_overflow_type = INTEROP_RUNTIME_UNDEFINED; value_overflow_type = runtimeType(value_overflow); valueSerializer.writeInt8(value_overflow_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_wordBreak_type = INTEROP_RUNTIME_UNDEFINED; value_wordBreak_type = runtimeType(value_wordBreak); valueSerializer.writeInt8(value_wordBreak_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_leadingMargin_type = INTEROP_RUNTIME_UNDEFINED; value_leadingMargin_type = runtimeType(value_leadingMargin); valueSerializer.writeInt8(value_leadingMargin_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_leadingMargin_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_leadingMargin_type)) { const auto value_leadingMargin_value = value_leadingMargin.value; - Ark_Int32 value_leadingMargin_value_type = ARK_RUNTIME_UNDEFINED; + 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.writeNumber(value_leadingMargin_value_0); } - else if (((value_leadingMargin_value_type == 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); @@ -48255,34 +48624,34 @@ class Serializer : public SerializerBase { const auto value_value = value.value; valueSerializer.writePixelMap(value_value); const auto value_size = value.size; - Ark_Int32 value_size_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_size_type = INTEROP_RUNTIME_UNDEFINED; value_size_type = runtimeType(value_size); valueSerializer.writeInt8(value_size_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_verticalAlign_type = INTEROP_RUNTIME_UNDEFINED; value_verticalAlign_type = runtimeType(value_verticalAlign); valueSerializer.writeInt8(value_verticalAlign_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_objectFit_type = INTEROP_RUNTIME_UNDEFINED; value_objectFit_type = runtimeType(value_objectFit); valueSerializer.writeInt8(value_objectFit_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_layoutStyle_type = INTEROP_RUNTIME_UNDEFINED; value_layoutStyle_type = runtimeType(value_layoutStyle); valueSerializer.writeInt8(value_layoutStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_layoutStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_layoutStyle_type)) { const auto value_layoutStyle_value = value_layoutStyle.value; valueSerializer.writeImageAttachmentLayoutStyle(value_layoutStyle_value); } @@ -48318,39 +48687,39 @@ class Serializer : public SerializerBase { const auto value_type = value.type; valueSerializer.writeInt32(static_cast(value_type)); const auto value_color = value.color; - Ark_Int32 value_color_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 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_color_value_type == 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); } } const auto value_style = value.style; - Ark_Int32 value_style_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; value_style_type = runtimeType(value_style); valueSerializer.writeInt8(value_style_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -48359,63 +48728,63 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_fontColor = value.fontColor; - Ark_Int32 value_fontColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontColor_type = INTEROP_RUNTIME_UNDEFINED; value_fontColor_type = runtimeType(value_fontColor); valueSerializer.writeInt8(value_fontColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontColor_type)) { const auto value_fontColor_value = value_fontColor.value; - Ark_Int32 value_fontColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_fontFamily = value.fontFamily; - Ark_Int32 value_fontFamily_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontFamily_type = INTEROP_RUNTIME_UNDEFINED; value_fontFamily_type = runtimeType(value_fontFamily); valueSerializer.writeInt8(value_fontFamily_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontFamily_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFamily_type)) { const auto value_fontFamily_value = value_fontFamily.value; valueSerializer.writeString(value_fontFamily_value); } const auto value_fontSize = value.fontSize; - Ark_Int32 value_fontSize_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontSize_type = INTEROP_RUNTIME_UNDEFINED; value_fontSize_type = runtimeType(value_fontSize); valueSerializer.writeInt8(value_fontSize_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_fontWeight = value.fontWeight; - Ark_Int32 value_fontWeight_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontWeight_type = INTEROP_RUNTIME_UNDEFINED; value_fontWeight_type = runtimeType(value_fontWeight); valueSerializer.writeInt8(value_fontWeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontWeight_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontWeight_type)) { const auto value_fontWeight_value = value_fontWeight.value; valueSerializer.writeNumber(value_fontWeight_value); } const auto value_fontStyle = value.fontStyle; - Ark_Int32 value_fontStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontStyle_type = INTEROP_RUNTIME_UNDEFINED; value_fontStyle_type = runtimeType(value_fontStyle); valueSerializer.writeInt8(value_fontStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -48436,61 +48805,61 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_size = value.size; - Ark_Int32 value_size_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_size_type = INTEROP_RUNTIME_UNDEFINED; value_size_type = runtimeType(value_size); valueSerializer.writeInt8(value_size_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_size_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_size_type)) { const auto value_size_value = value_size.value; valueSerializer.writeLength(value_size_value); } const auto value_weight = value.weight; - Ark_Int32 value_weight_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_weight_type = INTEROP_RUNTIME_UNDEFINED; value_weight_type = runtimeType(value_weight); valueSerializer.writeInt8(value_weight_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_weight_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_weight_type)) { const auto value_weight_value = value_weight.value; - Ark_Int32 value_weight_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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); } } const auto value_family = value.family; - Ark_Int32 value_family_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_family_type = INTEROP_RUNTIME_UNDEFINED; value_family_type = runtimeType(value_family); valueSerializer.writeInt8(value_family_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_family_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_family_type)) { const auto value_family_value = value_family.value; - Ark_Int32 value_family_value_type = ARK_RUNTIME_UNDEFINED; + 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_family_value_0 = value_family_value.value0; valueSerializer.writeString(value_family_value_0); } - else if (((value_family_value_type == 0))) { + else if (((value_family_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_style = value.style; - Ark_Int32 value_style_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; value_style_type = runtimeType(value_style); valueSerializer.writeInt8(value_style_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -48507,10 +48876,10 @@ class Serializer : public SerializerBase { const auto value_normal = value.normal; valueSerializer.writeSymbolGlyphModifier(value_normal); const auto value_selected = value.selected; - Ark_Int32 value_selected_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_selected_type = INTEROP_RUNTIME_UNDEFINED; value_selected_type = runtimeType(value_selected); valueSerializer.writeInt8(value_selected_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_selected_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_selected_type)) { const auto value_selected_value = value_selected.value; valueSerializer.writeSymbolGlyphModifier(value_selected_value); } @@ -48525,37 +48894,37 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_duration = value.duration; - Ark_Int32 value_duration_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_duration_type = INTEROP_RUNTIME_UNDEFINED; value_duration_type = runtimeType(value_duration); valueSerializer.writeInt8(value_duration_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_curve_type = INTEROP_RUNTIME_UNDEFINED; value_curve_type = runtimeType(value_curve); valueSerializer.writeInt8(value_curve_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_curve_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_curve_type)) { const auto value_curve_value = value_curve.value; - Ark_Int32 value_curve_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_curve_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_curve_value_1 = value_curve_value.value1; valueSerializer.writeICurve(value_curve_value_1); } } const auto value_canOverScroll = value.canOverScroll; - Ark_Int32 value_canOverScroll_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_canOverScroll_type = INTEROP_RUNTIME_UNDEFINED; value_canOverScroll_type = runtimeType(value_canOverScroll); valueSerializer.writeInt8(value_canOverScroll_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_canOverScroll_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_canOverScroll_type)) { const auto value_canOverScroll_value = value_canOverScroll.value; valueSerializer.writeBoolean(value_canOverScroll_value); } @@ -48564,100 +48933,100 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_margin = value.margin; - Ark_Int32 value_margin_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_margin_type = INTEROP_RUNTIME_UNDEFINED; value_margin_type = runtimeType(value_margin); valueSerializer.writeInt8(value_margin_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_margin_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_type)) { const auto value_margin_value = value_margin.value; - Ark_Int32 value_margin_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_margin_value_type = INTEROP_RUNTIME_UNDEFINED; value_margin_value_type = value_margin_value.selector; - if (((value_margin_value_type == 0)) || ((value_margin_value_type == 1)) || ((value_margin_value_type == 2))) { + if (((value_margin_value_type == 0)) || ((value_margin_value_type == 0)) || ((value_margin_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_margin_value_0 = value_margin_value.value0; valueSerializer.writeLength(value_margin_value_0); } - else if (((value_margin_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_margin_value_1_top_value); } const auto value_margin_value_1_right = value_margin_value_1.right; - Ark_Int32 value_margin_value_1_right_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_margin_value_1_right_value); } const auto value_margin_value_1_bottom = value_margin_value_1.bottom; - Ark_Int32 value_margin_value_1_bottom_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_margin_value_1_bottom_value); } const auto value_margin_value_1_left = value_margin_value_1.left; - Ark_Int32 value_margin_value_1_left_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_margin_value_1_left_value); } } } const auto value_borderRadius = value.borderRadius; - Ark_Int32 value_borderRadius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderRadius_type = INTEROP_RUNTIME_UNDEFINED; value_borderRadius_type = runtimeType(value_borderRadius); valueSerializer.writeInt8(value_borderRadius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderRadius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_type)) { const auto value_borderRadius_value = value_borderRadius.value; - Ark_Int32 value_borderRadius_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderRadius_value_type = INTEROP_RUNTIME_UNDEFINED; value_borderRadius_value_type = value_borderRadius_value.selector; - if (((value_borderRadius_value_type == 0)) || ((value_borderRadius_value_type == 1)) || ((value_borderRadius_value_type == 2))) { + if (((value_borderRadius_value_type == 0)) || ((value_borderRadius_value_type == 0)) || ((value_borderRadius_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_borderRadius_value_0 = value_borderRadius_value.value0; valueSerializer.writeLength(value_borderRadius_value_0); } - else if (((value_borderRadius_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderRadius_value_1_topLeft_value); } const auto value_borderRadius_value_1_topRight = value_borderRadius_value_1.topRight; - Ark_Int32 value_borderRadius_value_1_topRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderRadius_value_1_topRight_value); } const auto value_borderRadius_value_1_bottomLeft = value_borderRadius_value_1.bottomLeft; - Ark_Int32 value_borderRadius_value_1_bottomLeft_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderRadius_value_1_bottomLeft_value); } const auto value_borderRadius_value_1_bottomRight = value_borderRadius_value_1.bottomRight; - Ark_Int32 value_borderRadius_value_1_bottomRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderRadius_value_1_bottomRight_value); } @@ -48670,33 +49039,33 @@ class Serializer : public SerializerBase { const auto value_type = value.type; valueSerializer.writeInt32(static_cast(value_type)); const auto value_color = value.color; - Ark_Int32 value_color_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; value_style_type = runtimeType(value_style); valueSerializer.writeInt8(value_style_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -48707,39 +49076,39 @@ class Serializer : public SerializerBase { const auto value_type = value.type; valueSerializer.writeInt32(static_cast(value_type)); const auto value_color = value.color; - Ark_Int32 value_color_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 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_color_value_type == 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); } } const auto value_style = value.style; - Ark_Int32 value_style_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; value_style_type = runtimeType(value_style); valueSerializer.writeInt8(value_style_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -48748,116 +49117,116 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_top = value.top; - Ark_Int32 value_top_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; value_top_type = runtimeType(value_top); valueSerializer.writeInt8(value_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_top_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { const auto value_top_value = value_top.value; - Ark_Int32 value_top_value_type = ARK_RUNTIME_UNDEFINED; + 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.writeInt32(static_cast(value_top_value_0)); } - else if (((value_top_value_type == 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 == 0))) { + else if (((value_top_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 == 0))) { + 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_end = value.end; - Ark_Int32 value_end_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; value_end_type = runtimeType(value_end); valueSerializer.writeInt8(value_end_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_end_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { const auto value_end_value = value_end.value; - Ark_Int32 value_end_value_type = ARK_RUNTIME_UNDEFINED; + 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_end_value_0 = value_end_value.value0; valueSerializer.writeInt32(static_cast(value_end_value_0)); } - else if (((value_end_value_type == 0))) { + else if (((value_end_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 == 0))) { + else if (((value_end_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_end_value_2 = value_end_value.value2; valueSerializer.writeString(value_end_value_2); } - else if (((value_end_value_type == 0))) { + else if (((value_end_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_bottom = value.bottom; - Ark_Int32 value_bottom_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; value_bottom_type = runtimeType(value_bottom); valueSerializer.writeInt8(value_bottom_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_bottom_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { const auto value_bottom_value = value_bottom.value; - Ark_Int32 value_bottom_value_type = ARK_RUNTIME_UNDEFINED; + 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.writeInt32(static_cast(value_bottom_value_0)); } - else if (((value_bottom_value_type == 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 == 0))) { + else if (((value_bottom_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_bottom_value_2 = value_bottom_value.value2; valueSerializer.writeString(value_bottom_value_2); } - else if (((value_bottom_value_type == 0))) { + else if (((value_bottom_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_start = value.start; - Ark_Int32 value_start_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; value_start_type = runtimeType(value_start); valueSerializer.writeInt8(value_start_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_start_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { const auto value_start_value = value_start.value; - Ark_Int32 value_start_value_type = ARK_RUNTIME_UNDEFINED; + 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_start_value_0 = value_start_value.value0; valueSerializer.writeInt32(static_cast(value_start_value_0)); } - else if (((value_start_value_type == 0))) { + else if (((value_start_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 == 0))) { + else if (((value_start_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_start_value_2 = value_start_value.value2; valueSerializer.writeString(value_start_value_2); } - else if (((value_start_value_type == 0))) { + else if (((value_start_value_type == 3))) { valueSerializer.writeInt8(3); const auto value_start_value_3 = value_start_value.value3; valueSerializer.writeResource(value_start_value_3); @@ -48868,34 +49237,34 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_top = value.top; - Ark_Int32 value_top_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; value_top_type = runtimeType(value_top); valueSerializer.writeInt8(value_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; value_end_type = runtimeType(value_end); valueSerializer.writeInt8(value_end_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; value_bottom_type = runtimeType(value_bottom); valueSerializer.writeInt8(value_bottom_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; value_start_type = runtimeType(value_start); valueSerializer.writeInt8(value_start_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_start_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { const auto value_start_value = value_start.value; valueSerializer.writeLengthMetrics(value_start_value); } @@ -48904,32 +49273,32 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_title = value.title; - Ark_Int32 value_title_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_subtitle_type = INTEROP_RUNTIME_UNDEFINED; value_subtitle_type = runtimeType(value_subtitle); valueSerializer.writeInt8(value_subtitle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_subtitle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_subtitle_type)) { const auto value_subtitle_value = value_subtitle.value; - Ark_Int32 value_subtitle_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); @@ -48945,34 +49314,34 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_topStart = value.topStart; - Ark_Int32 value_topStart_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_topStart_type = INTEROP_RUNTIME_UNDEFINED; value_topStart_type = runtimeType(value_topStart); valueSerializer.writeInt8(value_topStart_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_topEnd_type = INTEROP_RUNTIME_UNDEFINED; value_topEnd_type = runtimeType(value_topEnd); valueSerializer.writeInt8(value_topEnd_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_bottomStart_type = INTEROP_RUNTIME_UNDEFINED; value_bottomStart_type = runtimeType(value_bottomStart); valueSerializer.writeInt8(value_bottomStart_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_bottomEnd_type = INTEROP_RUNTIME_UNDEFINED; value_bottomEnd_type = runtimeType(value_bottomEnd); valueSerializer.writeInt8(value_bottomEnd_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_bottomEnd_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottomEnd_type)) { const auto value_bottomEnd_value = value_bottomEnd.value; valueSerializer.writeLengthMetrics(value_bottomEnd_value); } @@ -49030,34 +49399,34 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_x = value.x; - Ark_Int32 value_x_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_x_type = INTEROP_RUNTIME_UNDEFINED; value_x_type = runtimeType(value_x); valueSerializer.writeInt8(value_x_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_x_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_x_type)) { const auto value_x_value = value_x.value; valueSerializer.writeLength(value_x_value); } const auto value_y = value.y; - Ark_Int32 value_y_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_y_type = INTEROP_RUNTIME_UNDEFINED; value_y_type = runtimeType(value_y); valueSerializer.writeInt8(value_y_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_y_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_y_type)) { const auto value_y_value = value_y.value; valueSerializer.writeLength(value_y_value); } const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; valueSerializer.writeLength(value_width_value); } const auto value_height = value.height; - Ark_Int32 value_height_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; value_height_type = runtimeType(value_height); valueSerializer.writeInt8(value_height_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_height_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { const auto value_height_value = value_height.value; valueSerializer.writeLength(value_height_value); } @@ -49066,39 +49435,39 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_color = value.color; - Ark_Int32 value_color_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 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_color_value_type == 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); } } const auto value_font = value.font; - Ark_Int32 value_font_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_font_type = INTEROP_RUNTIME_UNDEFINED; value_font_type = runtimeType(value_font); valueSerializer.writeInt8(value_font_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_font_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_font_type)) { const auto value_font_value = value_font.value; valueSerializer.writeFont(value_font_value); } @@ -49107,201 +49476,201 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_type = value.type; - Ark_Int32 value_type_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_type_type = INTEROP_RUNTIME_UNDEFINED; value_type_type = runtimeType(value_type); valueSerializer.writeInt8(value_type_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_style = value.style; - Ark_Int32 value_style_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; value_style_type = runtimeType(value_style); valueSerializer.writeInt8(value_style_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_role = value.role; - Ark_Int32 value_role_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_role_type = INTEROP_RUNTIME_UNDEFINED; value_role_type = runtimeType(value_role); valueSerializer.writeInt8(value_role_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_role_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_role_type)) { const auto value_role_value = value_role.value; valueSerializer.writeInt32(static_cast(value_role_value)); } const auto value_fontSize = value.fontSize; - Ark_Int32 value_fontSize_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontSize_type = INTEROP_RUNTIME_UNDEFINED; value_fontSize_type = runtimeType(value_fontSize); valueSerializer.writeInt8(value_fontSize_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontSize_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontSize_type)) { const auto value_fontSize_value = value_fontSize.value; valueSerializer.writeLength(value_fontSize_value); } const auto value_fontColor = value.fontColor; - Ark_Int32 value_fontColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontColor_type = INTEROP_RUNTIME_UNDEFINED; value_fontColor_type = runtimeType(value_fontColor); valueSerializer.writeInt8(value_fontColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontColor_type)) { const auto value_fontColor_value = value_fontColor.value; - Ark_Int32 value_fontColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_fontWeight = value.fontWeight; - Ark_Int32 value_fontWeight_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontWeight_type = INTEROP_RUNTIME_UNDEFINED; value_fontWeight_type = runtimeType(value_fontWeight); valueSerializer.writeInt8(value_fontWeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontWeight_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontWeight_type)) { const auto value_fontWeight_value = value_fontWeight.value; - Ark_Int32 value_fontWeight_value_type = ARK_RUNTIME_UNDEFINED; + 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.writeInt32(static_cast(value_fontWeight_value_0)); } - else if (((value_fontWeight_value_type == 0))) { + else if (((value_fontWeight_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_fontWeight_value_1 = value_fontWeight_value.value1; valueSerializer.writeNumber(value_fontWeight_value_1); } - else if (((value_fontWeight_value_type == 0))) { + 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_fontStyle = value.fontStyle; - Ark_Int32 value_fontStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontStyle_type = INTEROP_RUNTIME_UNDEFINED; value_fontStyle_type = runtimeType(value_fontStyle); valueSerializer.writeInt8(value_fontStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_fontFamily = value.fontFamily; - Ark_Int32 value_fontFamily_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontFamily_type = INTEROP_RUNTIME_UNDEFINED; value_fontFamily_type = runtimeType(value_fontFamily); valueSerializer.writeInt8(value_fontFamily_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontFamily_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFamily_type)) { const auto value_fontFamily_value = value_fontFamily.value; - Ark_Int32 value_fontFamily_value_type = ARK_RUNTIME_UNDEFINED; + 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.writeResource(value_fontFamily_value_0); } - else if (((value_fontFamily_value_type == 0))) { + else if (((value_fontFamily_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_fontFamily_value_1 = value_fontFamily_value.value1; valueSerializer.writeString(value_fontFamily_value_1); } } const auto value_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); valueSerializer.writeInt8(value_backgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_borderRadius = value.borderRadius; - Ark_Int32 value_borderRadius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderRadius_type = INTEROP_RUNTIME_UNDEFINED; value_borderRadius_type = runtimeType(value_borderRadius); valueSerializer.writeInt8(value_borderRadius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderRadius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_type)) { const auto value_borderRadius_value = value_borderRadius.value; - Ark_Int32 value_borderRadius_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderRadius_value_type = INTEROP_RUNTIME_UNDEFINED; value_borderRadius_value_type = value_borderRadius_value.selector; - if (((value_borderRadius_value_type == 0)) || ((value_borderRadius_value_type == 1)) || ((value_borderRadius_value_type == 2))) { + if (((value_borderRadius_value_type == 0)) || ((value_borderRadius_value_type == 0)) || ((value_borderRadius_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_borderRadius_value_0 = value_borderRadius_value.value0; valueSerializer.writeLength(value_borderRadius_value_0); } - else if (((value_borderRadius_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderRadius_value_1_topLeft_value); } const auto value_borderRadius_value_1_topRight = value_borderRadius_value_1.topRight; - Ark_Int32 value_borderRadius_value_1_topRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderRadius_value_1_topRight_value); } const auto value_borderRadius_value_1_bottomLeft = value_borderRadius_value_1.bottomLeft; - Ark_Int32 value_borderRadius_value_1_bottomLeft_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderRadius_value_1_bottomLeft_value); } const auto value_borderRadius_value_1_bottomRight = value_borderRadius_value_1.bottomRight; - Ark_Int32 value_borderRadius_value_1_bottomRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderRadius_value_1_bottomRight_value); } } } const auto value_primary = value.primary; - Ark_Int32 value_primary_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_primary_type = INTEROP_RUNTIME_UNDEFINED; value_primary_type = runtimeType(value_primary); valueSerializer.writeInt8(value_primary_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_primary_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_primary_type)) { const auto value_primary_value = value_primary.value; valueSerializer.writeBoolean(value_primary_value); } @@ -49315,58 +49684,58 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_selectedColor = value.selectedColor; - Ark_Int32 value_selectedColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_selectedColor_type = INTEROP_RUNTIME_UNDEFINED; value_selectedColor_type = runtimeType(value_selectedColor); valueSerializer.writeInt8(value_selectedColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_selectedColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_selectedColor_type)) { const auto value_selectedColor_value = value_selectedColor.value; - Ark_Int32 value_selectedColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_unselectedColor = value.unselectedColor; - Ark_Int32 value_unselectedColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_unselectedColor_type = INTEROP_RUNTIME_UNDEFINED; value_unselectedColor_type = runtimeType(value_unselectedColor); valueSerializer.writeInt8(value_unselectedColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_unselectedColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_unselectedColor_type)) { const auto value_unselectedColor_value = value_unselectedColor.value; - Ark_Int32 value_unselectedColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_unselectedColor_value_0 = value_unselectedColor_value.value0; valueSerializer.writeInt32(static_cast(value_unselectedColor_value_0)); } - else if (((value_unselectedColor_value_type == 0))) { + else if (((value_unselectedColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_unselectedColor_value_1 = value_unselectedColor_value.value1; valueSerializer.writeNumber(value_unselectedColor_value_1); } - else if (((value_unselectedColor_value_type == 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_unselectedColor_value_type == 0))) { + 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); @@ -49377,45 +49746,45 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_overflow = value.overflow; - Ark_Int32 value_overflow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_overflow_type = INTEROP_RUNTIME_UNDEFINED; value_overflow_type = runtimeType(value_overflow); valueSerializer.writeInt8(value_overflow_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_maxLines = value.maxLines; - Ark_Int32 value_maxLines_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_maxLines_type = INTEROP_RUNTIME_UNDEFINED; value_maxLines_type = runtimeType(value_maxLines); valueSerializer.writeInt8(value_maxLines_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_minFontSize = value.minFontSize; - Ark_Int32 value_minFontSize_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_minFontSize_type = INTEROP_RUNTIME_UNDEFINED; value_minFontSize_type = runtimeType(value_minFontSize); valueSerializer.writeInt8(value_minFontSize_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_minFontSize_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_minFontSize_type)) { const auto value_minFontSize_value = value_minFontSize.value; - Ark_Int32 value_minFontSize_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0)) || ((value_minFontSize_value_type == 1))) { + else if (((value_minFontSize_value_type == 1)) || ((value_minFontSize_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_minFontSize_value_1 = value_minFontSize_value.value1; - Ark_Int32 value_minFontSize_value_1_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_minFontSize_value_1_type = INTEROP_RUNTIME_UNDEFINED; value_minFontSize_value_1_type = value_minFontSize_value_1.selector; if (((value_minFontSize_value_1_type == 0))) { valueSerializer.writeInt8(0); const auto value_minFontSize_value_1_0 = value_minFontSize_value_1.value0; valueSerializer.writeString(value_minFontSize_value_1_0); } - else if (((value_minFontSize_value_1_type == 0))) { + else if (((value_minFontSize_value_1_type == 1))) { valueSerializer.writeInt8(1); const auto value_minFontSize_value_1_1 = value_minFontSize_value_1.value1; valueSerializer.writeResource(value_minFontSize_value_1_1); @@ -49423,29 +49792,29 @@ class Serializer : public SerializerBase { } } const auto value_maxFontSize = value.maxFontSize; - Ark_Int32 value_maxFontSize_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_maxFontSize_type = INTEROP_RUNTIME_UNDEFINED; value_maxFontSize_type = runtimeType(value_maxFontSize); valueSerializer.writeInt8(value_maxFontSize_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_maxFontSize_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maxFontSize_type)) { const auto value_maxFontSize_value = value_maxFontSize.value; - Ark_Int32 value_maxFontSize_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0)) || ((value_maxFontSize_value_type == 1))) { + else if (((value_maxFontSize_value_type == 1)) || ((value_maxFontSize_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_maxFontSize_value_1 = value_maxFontSize_value.value1; - Ark_Int32 value_maxFontSize_value_1_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_maxFontSize_value_1_type = INTEROP_RUNTIME_UNDEFINED; value_maxFontSize_value_1_type = value_maxFontSize_value_1.selector; if (((value_maxFontSize_value_1_type == 0))) { valueSerializer.writeInt8(0); const auto value_maxFontSize_value_1_0 = value_maxFontSize_value_1.value0; valueSerializer.writeString(value_maxFontSize_value_1_0); } - else if (((value_maxFontSize_value_1_type == 0))) { + else if (((value_maxFontSize_value_1_type == 1))) { valueSerializer.writeInt8(1); const auto value_maxFontSize_value_1_1 = value_maxFontSize_value_1.value1; valueSerializer.writeResource(value_maxFontSize_value_1_1); @@ -49453,18 +49822,18 @@ class Serializer : public SerializerBase { } } const auto value_heightAdaptivePolicy = value.heightAdaptivePolicy; - Ark_Int32 value_heightAdaptivePolicy_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_heightAdaptivePolicy_type = INTEROP_RUNTIME_UNDEFINED; value_heightAdaptivePolicy_type = runtimeType(value_heightAdaptivePolicy); valueSerializer.writeInt8(value_heightAdaptivePolicy_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_heightAdaptivePolicy_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_heightAdaptivePolicy_type)) { const auto value_heightAdaptivePolicy_value = value_heightAdaptivePolicy.value; valueSerializer.writeInt32(static_cast(value_heightAdaptivePolicy_value)); } const auto value_font = value.font; - Ark_Int32 value_font_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_font_type = INTEROP_RUNTIME_UNDEFINED; value_font_type = runtimeType(value_font); valueSerializer.writeInt8(value_font_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_font_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_font_type)) { const auto value_font_value = value_font.value; valueSerializer.writeFont(value_font_value); } @@ -49473,10 +49842,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_borderRadius = value.borderRadius; - Ark_Int32 value_borderRadius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderRadius_type = INTEROP_RUNTIME_UNDEFINED; value_borderRadius_type = runtimeType(value_borderRadius); valueSerializer.writeInt8(value_borderRadius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderRadius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_type)) { const auto value_borderRadius_value = value_borderRadius.value; valueSerializer.writeLength(value_borderRadius_value); } @@ -49485,106 +49854,106 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_left = value.left; - Ark_Int32 value_left_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_left_type = INTEROP_RUNTIME_UNDEFINED; value_left_type = runtimeType(value_left); valueSerializer.writeInt8(value_left_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_left_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_left_type)) { const auto value_left_value = value_left.value; valueSerializer.writeLength(value_left_value); } const auto value_top = value.top; - Ark_Int32 value_top_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; value_top_type = runtimeType(value_top); valueSerializer.writeInt8(value_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_top_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { const auto value_top_value = value_top.value; valueSerializer.writeLength(value_top_value); } const auto value_right = value.right; - Ark_Int32 value_right_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_right_type = INTEROP_RUNTIME_UNDEFINED; value_right_type = runtimeType(value_right); valueSerializer.writeInt8(value_right_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_right_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_right_type)) { const auto value_right_value = value_right.value; valueSerializer.writeLength(value_right_value); } const auto value_bottom = value.bottom; - Ark_Int32 value_bottom_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; value_bottom_type = runtimeType(value_bottom); valueSerializer.writeInt8(value_bottom_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_bottom_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { const auto value_bottom_value = value_bottom.value; valueSerializer.writeLength(value_bottom_value); } const auto value_size = value.size; - Ark_Int32 value_size_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_size_type = INTEROP_RUNTIME_UNDEFINED; value_size_type = runtimeType(value_size); valueSerializer.writeInt8(value_size_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_size_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_size_type)) { const auto value_size_value = value_size.value; valueSerializer.writeLength(value_size_value); } const auto value_mask = value.mask; - Ark_Int32 value_mask_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_mask_type = INTEROP_RUNTIME_UNDEFINED; value_mask_type = runtimeType(value_mask); valueSerializer.writeInt8(value_mask_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 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_color_value_type == 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); } } const auto value_selectedColor = value.selectedColor; - Ark_Int32 value_selectedColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_selectedColor_type = INTEROP_RUNTIME_UNDEFINED; value_selectedColor_type = runtimeType(value_selectedColor); valueSerializer.writeInt8(value_selectedColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_selectedColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_selectedColor_type)) { const auto value_selectedColor_value = value_selectedColor.value; - Ark_Int32 value_selectedColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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); @@ -49616,56 +49985,56 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_size = value.size; - Ark_Int32 value_size_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_size_type = INTEROP_RUNTIME_UNDEFINED; value_size_type = runtimeType(value_size); valueSerializer.writeInt8(value_size_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_size_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_size_type)) { const auto value_size_value = value_size.value; valueSerializer.writeLength(value_size_value); } const auto value_color = value.color; - Ark_Int32 value_color_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 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_color_value_type == 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); } } const auto value_src = value.src; - Ark_Int32 value_src_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_src_type = INTEROP_RUNTIME_UNDEFINED; value_src_type = runtimeType(value_src); valueSerializer.writeInt8(value_src_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_src_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_src_type)) { const auto value_src_value = value_src.value; - Ark_Int32 value_src_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); @@ -49685,10 +50054,10 @@ class Serializer : public SerializerBase { const auto value_objectFit = value.objectFit; valueSerializer.writeInt32(static_cast(value_objectFit)); const auto value_layoutStyle = value.layoutStyle; - Ark_Int32 value_layoutStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_layoutStyle_type = INTEROP_RUNTIME_UNDEFINED; value_layoutStyle_type = runtimeType(value_layoutStyle); valueSerializer.writeInt8(value_layoutStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_layoutStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_layoutStyle_type)) { const auto value_layoutStyle_value = value_layoutStyle.value; valueSerializer.writeRichEditorLayoutStyle(value_layoutStyle_value); } @@ -49708,45 +50077,45 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_textAlign = value.textAlign; - Ark_Int32 value_textAlign_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_textAlign_type = INTEROP_RUNTIME_UNDEFINED; value_textAlign_type = runtimeType(value_textAlign); valueSerializer.writeInt8(value_textAlign_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_leadingMargin_type = INTEROP_RUNTIME_UNDEFINED; value_leadingMargin_type = runtimeType(value_leadingMargin); valueSerializer.writeInt8(value_leadingMargin_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_leadingMargin_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_leadingMargin_type)) { const auto value_leadingMargin_value = value_leadingMargin.value; - Ark_Int32 value_leadingMargin_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 1)) || ((value_leadingMargin_value_type == 2))) { + 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; valueSerializer.writeLength(value_leadingMargin_value_0); } - else if (((value_leadingMargin_value_type == 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); } } const auto value_wordBreak = value.wordBreak; - Ark_Int32 value_wordBreak_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_wordBreak_type = INTEROP_RUNTIME_UNDEFINED; value_wordBreak_type = runtimeType(value_wordBreak); valueSerializer.writeInt8(value_wordBreak_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_lineBreakStrategy_type = INTEROP_RUNTIME_UNDEFINED; value_lineBreakStrategy_type = runtimeType(value_lineBreakStrategy); valueSerializer.writeInt8(value_lineBreakStrategy_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -49755,56 +50124,56 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_fontSize = value.fontSize; - Ark_Int32 value_fontSize_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontSize_type = INTEROP_RUNTIME_UNDEFINED; value_fontSize_type = runtimeType(value_fontSize); valueSerializer.writeInt8(value_fontSize_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontSize_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontSize_type)) { const auto value_fontSize_value = value_fontSize.value; - Ark_Int32 value_fontSize_value_type = ARK_RUNTIME_UNDEFINED; + 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_fontSize_value_0 = value_fontSize_value.value0; valueSerializer.writeNumber(value_fontSize_value_0); } - else if (((value_fontSize_value_type == 0))) { + else if (((value_fontSize_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_fontSize_value_1 = value_fontSize_value.value1; valueSerializer.writeString(value_fontSize_value_1); } - else if (((value_fontSize_value_type == 0))) { + 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_fontColor = value.fontColor; - Ark_Int32 value_fontColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontColor_type = INTEROP_RUNTIME_UNDEFINED; value_fontColor_type = runtimeType(value_fontColor); valueSerializer.writeInt8(value_fontColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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); @@ -49812,42 +50181,42 @@ class Serializer : public SerializerBase { } } const auto value_fontWeight = value.fontWeight; - Ark_Int32 value_fontWeight_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontWeight_type = INTEROP_RUNTIME_UNDEFINED; value_fontWeight_type = runtimeType(value_fontWeight); valueSerializer.writeInt8(value_fontWeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontWeight_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontWeight_type)) { const auto value_fontWeight_value = value_fontWeight.value; - Ark_Int32 value_fontWeight_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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_effectStrategy = value.effectStrategy; - Ark_Int32 value_effectStrategy_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_effectStrategy_type = INTEROP_RUNTIME_UNDEFINED; value_effectStrategy_type = runtimeType(value_effectStrategy); valueSerializer.writeInt8(value_effectStrategy_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_renderingStrategy_type = INTEROP_RUNTIME_UNDEFINED; value_renderingStrategy_type = runtimeType(value_renderingStrategy); valueSerializer.writeInt8(value_renderingStrategy_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -49856,24 +50225,24 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_fontColor = value.fontColor; - Ark_Int32 value_fontColor_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + else if (((value_fontColor_type == 3))) { valueSerializer.writeInt8(3); const auto value_fontColor_3 = value_fontColor.value3; valueSerializer.writeResource(value_fontColor_3); @@ -49889,10 +50258,10 @@ class Serializer : public SerializerBase { const auto value_decoration = value.decoration; valueSerializer.writeDecorationStyleResult(value_decoration); const auto value_textShadow = value.textShadow; - Ark_Int32 value_textShadow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_textShadow_type = INTEROP_RUNTIME_UNDEFINED; value_textShadow_type = runtimeType(value_textShadow); valueSerializer.writeInt8(value_textShadow_type); - if ((ARK_RUNTIME_UNDEFINED) != (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++) { @@ -49901,26 +50270,26 @@ class Serializer : public SerializerBase { } } const auto value_letterSpacing = value.letterSpacing; - Ark_Int32 value_letterSpacing_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_letterSpacing_type = INTEROP_RUNTIME_UNDEFINED; value_letterSpacing_type = runtimeType(value_letterSpacing); valueSerializer.writeInt8(value_letterSpacing_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_lineHeight_type = INTEROP_RUNTIME_UNDEFINED; value_lineHeight_type = runtimeType(value_lineHeight); valueSerializer.writeInt8(value_lineHeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontFeature_type = INTEROP_RUNTIME_UNDEFINED; value_fontFeature_type = runtimeType(value_fontFeature); valueSerializer.writeInt8(value_fontFeature_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontFeature_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFeature_type)) { const auto value_fontFeature_value = value_fontFeature.value; valueSerializer.writeString(value_fontFeature_value); } @@ -49929,10 +50298,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_size = value.size; - Ark_Int32 value_size_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_size_type = INTEROP_RUNTIME_UNDEFINED; value_size_type = runtimeType(value_size); valueSerializer.writeInt8(value_size_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_size_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_size_type)) { const auto value_size_value = value_size.value; const auto value_size_value_0 = value_size_value.value0; valueSerializer.writeLength(value_size_value_0); @@ -49940,26 +50309,26 @@ class Serializer : public SerializerBase { valueSerializer.writeLength(value_size_value_1); } const auto value_verticalAlign = value.verticalAlign; - Ark_Int32 value_verticalAlign_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_verticalAlign_type = INTEROP_RUNTIME_UNDEFINED; value_verticalAlign_type = runtimeType(value_verticalAlign); valueSerializer.writeInt8(value_verticalAlign_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_objectFit_type = INTEROP_RUNTIME_UNDEFINED; value_objectFit_type = runtimeType(value_objectFit); valueSerializer.writeInt8(value_objectFit_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_layoutStyle_type = INTEROP_RUNTIME_UNDEFINED; value_layoutStyle_type = runtimeType(value_layoutStyle); valueSerializer.writeInt8(value_layoutStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_layoutStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_layoutStyle_type)) { const auto value_layoutStyle_value = value_layoutStyle.value; valueSerializer.writeRichEditorLayoutStyle(value_layoutStyle_value); } @@ -49968,126 +50337,126 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_fontColor = value.fontColor; - Ark_Int32 value_fontColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontColor_type = INTEROP_RUNTIME_UNDEFINED; value_fontColor_type = runtimeType(value_fontColor); valueSerializer.writeInt8(value_fontColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontColor_type)) { const auto value_fontColor_value = value_fontColor.value; - Ark_Int32 value_fontColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_fontSize = value.fontSize; - Ark_Int32 value_fontSize_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontSize_type = INTEROP_RUNTIME_UNDEFINED; value_fontSize_type = runtimeType(value_fontSize); valueSerializer.writeInt8(value_fontSize_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontSize_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontSize_type)) { const auto value_fontSize_value = value_fontSize.value; - Ark_Int32 value_fontSize_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontSize_value_type = INTEROP_RUNTIME_UNDEFINED; value_fontSize_value_type = value_fontSize_value.selector; - if (((value_fontSize_value_type == 0)) || ((value_fontSize_value_type == 1)) || ((value_fontSize_value_type == 2))) { + if (((value_fontSize_value_type == 0)) || ((value_fontSize_value_type == 0)) || ((value_fontSize_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_fontSize_value_0 = value_fontSize_value.value0; valueSerializer.writeLength(value_fontSize_value_0); } - else if (((value_fontSize_value_type == 0))) { + else if (((value_fontSize_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_fontStyle = value.fontStyle; - Ark_Int32 value_fontStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontStyle_type = INTEROP_RUNTIME_UNDEFINED; value_fontStyle_type = runtimeType(value_fontStyle); valueSerializer.writeInt8(value_fontStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontWeight_type = INTEROP_RUNTIME_UNDEFINED; value_fontWeight_type = runtimeType(value_fontWeight); valueSerializer.writeInt8(value_fontWeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontWeight_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontWeight_type)) { const auto value_fontWeight_value = value_fontWeight.value; - Ark_Int32 value_fontWeight_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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_fontFamily = value.fontFamily; - Ark_Int32 value_fontFamily_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontFamily_type = INTEROP_RUNTIME_UNDEFINED; value_fontFamily_type = runtimeType(value_fontFamily); valueSerializer.writeInt8(value_fontFamily_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontFamily_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFamily_type)) { const auto value_fontFamily_value = value_fontFamily.value; - Ark_Int32 value_fontFamily_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_decoration = value.decoration; - Ark_Int32 value_decoration_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_decoration_type = INTEROP_RUNTIME_UNDEFINED; value_decoration_type = runtimeType(value_decoration); valueSerializer.writeInt8(value_decoration_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_textShadow_type = INTEROP_RUNTIME_UNDEFINED; value_textShadow_type = runtimeType(value_textShadow); valueSerializer.writeInt8(value_textShadow_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_textShadow_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textShadow_type)) { const auto value_textShadow_value = value_textShadow.value; - Ark_Int32 value_textShadow_value_type = ARK_RUNTIME_UNDEFINED; + 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_textShadow_value_0 = value_textShadow_value.value0; valueSerializer.writeShadowOptions(value_textShadow_value_0); } - else if (((value_textShadow_value_type == 0))) { + else if (((value_textShadow_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_textShadow_value_1 = value_textShadow_value.value1; valueSerializer.writeInt32(value_textShadow_value_1.length); @@ -50098,53 +50467,53 @@ class Serializer : public SerializerBase { } } const auto value_letterSpacing = value.letterSpacing; - Ark_Int32 value_letterSpacing_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_letterSpacing_type = INTEROP_RUNTIME_UNDEFINED; value_letterSpacing_type = runtimeType(value_letterSpacing); valueSerializer.writeInt8(value_letterSpacing_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_letterSpacing_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_letterSpacing_type)) { const auto value_letterSpacing_value = value_letterSpacing.value; - Ark_Int32 value_letterSpacing_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_lineHeight = value.lineHeight; - Ark_Int32 value_lineHeight_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_lineHeight_type = INTEROP_RUNTIME_UNDEFINED; value_lineHeight_type = runtimeType(value_lineHeight); valueSerializer.writeInt8(value_lineHeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_lineHeight_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_lineHeight_type)) { const auto value_lineHeight_value = value_lineHeight.value; - Ark_Int32 value_lineHeight_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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_fontFeature = value.fontFeature; - Ark_Int32 value_fontFeature_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontFeature_type = INTEROP_RUNTIME_UNDEFINED; value_fontFeature_type = runtimeType(value_fontFeature); valueSerializer.writeInt8(value_fontFeature_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontFeature_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontFeature_type)) { const auto value_fontFeature_value = value_fontFeature.value; valueSerializer.writeString(value_fontFeature_value); } @@ -50153,20 +50522,20 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_onClick = value.onClick; - Ark_Int32 value_onClick_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onClick_type = INTEROP_RUNTIME_UNDEFINED; value_onClick_type = runtimeType(value_onClick); valueSerializer.writeInt8(value_onClick_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onClick_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onClick_type)) { const auto value_onClick_value = value_onClick.value; valueSerializer.writeCallbackResource(value_onClick_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onClick_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onClick_value.callSync)); } const auto value_onLongPress = value.onLongPress; - Ark_Int32 value_onLongPress_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onLongPress_type = INTEROP_RUNTIME_UNDEFINED; value_onLongPress_type = runtimeType(value_onLongPress); valueSerializer.writeInt8(value_onLongPress_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onLongPress_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onLongPress_type)) { const auto value_onLongPress_value = value_onLongPress.value; valueSerializer.writeCallbackResource(value_onLongPress_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onLongPress_value.call)); @@ -50184,28 +50553,28 @@ class Serializer : public SerializerBase { const auto value_name = value.name; valueSerializer.writeString(value_name); const auto value_param = value.param; - Ark_Int32 value_param_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_param_type = INTEROP_RUNTIME_UNDEFINED; value_param_type = runtimeType(value_param); valueSerializer.writeInt8(value_param_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_param_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_param_type)) { const auto value_param_value = value_param.value; valueSerializer.writeCustomObject("Any", value_param_value); } const auto value_onPop = value.onPop; - Ark_Int32 value_onPop_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onPop_type = INTEROP_RUNTIME_UNDEFINED; value_onPop_type = runtimeType(value_onPop); valueSerializer.writeInt8(value_onPop_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onPop_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onPop_type)) { const auto value_onPop_value = value_onPop.value; valueSerializer.writeCallbackResource(value_onPop_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onPop_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onPop_value.callSync)); } const auto value_isEntry = value.isEntry; - Ark_Int32 value_isEntry_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_isEntry_type = INTEROP_RUNTIME_UNDEFINED; value_isEntry_type = runtimeType(value_isEntry); valueSerializer.writeInt8(value_isEntry_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_isEntry_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isEntry_type)) { const auto value_isEntry_value = value_isEntry.value; valueSerializer.writeBoolean(value_isEntry_value); } @@ -50217,58 +50586,58 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_builder = value.builder; - Ark_Int32 value_builder_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_builder_type = INTEROP_RUNTIME_UNDEFINED; value_builder_type = runtimeType(value_builder); valueSerializer.writeInt8(value_builder_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_actionAreaDistance_type = INTEROP_RUNTIME_UNDEFINED; value_actionAreaDistance_type = runtimeType(value_actionAreaDistance); valueSerializer.writeInt8(value_actionAreaDistance_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_actionAreaDistance_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_actionAreaDistance_type)) { const auto value_actionAreaDistance_value = value_actionAreaDistance.value; valueSerializer.writeLength(value_actionAreaDistance_value); } const auto value_onAction = value.onAction; - Ark_Int32 value_onAction_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onAction_type = INTEROP_RUNTIME_UNDEFINED; value_onAction_type = runtimeType(value_onAction); valueSerializer.writeInt8(value_onAction_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onEnterActionArea_type = INTEROP_RUNTIME_UNDEFINED; value_onEnterActionArea_type = runtimeType(value_onEnterActionArea); valueSerializer.writeInt8(value_onEnterActionArea_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onExitActionArea_type = INTEROP_RUNTIME_UNDEFINED; value_onExitActionArea_type = runtimeType(value_onExitActionArea); valueSerializer.writeInt8(value_onExitActionArea_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onStateChange_type = INTEROP_RUNTIME_UNDEFINED; value_onStateChange_type = runtimeType(value_onStateChange); valueSerializer.writeInt8(value_onStateChange_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); @@ -50279,50 +50648,50 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_xs = value.xs; - Ark_Int32 value_xs_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_xs_type = INTEROP_RUNTIME_UNDEFINED; value_xs_type = runtimeType(value_xs); valueSerializer.writeInt8(value_xs_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_xs_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_xs_type)) { const auto value_xs_value = value_xs.value; valueSerializer.writeNumber(value_xs_value); } const auto value_sm = value.sm; - Ark_Int32 value_sm_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_sm_type = INTEROP_RUNTIME_UNDEFINED; value_sm_type = runtimeType(value_sm); valueSerializer.writeInt8(value_sm_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_md_type = INTEROP_RUNTIME_UNDEFINED; value_md_type = runtimeType(value_md); valueSerializer.writeInt8(value_md_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_lg_type = INTEROP_RUNTIME_UNDEFINED; value_lg_type = runtimeType(value_lg); valueSerializer.writeInt8(value_lg_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_xl = value.xl; - Ark_Int32 value_xl_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_xl_type = INTEROP_RUNTIME_UNDEFINED; value_xl_type = runtimeType(value_xl); valueSerializer.writeInt8(value_xl_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_xl_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_xl_type)) { const auto value_xl_value = value_xl.value; valueSerializer.writeNumber(value_xl_value); } const auto value_xxl = value.xxl; - Ark_Int32 value_xxl_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_xxl_type = INTEROP_RUNTIME_UNDEFINED; value_xxl_type = runtimeType(value_xxl); valueSerializer.writeInt8(value_xxl_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_xxl_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_xxl_type)) { const auto value_xxl_value = value_xxl.value; valueSerializer.writeNumber(value_xxl_value); } @@ -50331,38 +50700,38 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_x = value.x; - Ark_Int32 value_x_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_x_type = INTEROP_RUNTIME_UNDEFINED; value_x_type = runtimeType(value_x); valueSerializer.writeInt8(value_x_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_x_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_x_type)) { const auto value_x_value = value_x.value; - Ark_Int32 value_x_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_x_value_type = INTEROP_RUNTIME_UNDEFINED; value_x_value_type = value_x_value.selector; - if (((value_x_value_type == 0)) || ((value_x_value_type == 1)) || ((value_x_value_type == 2))) { + if (((value_x_value_type == 0)) || ((value_x_value_type == 0)) || ((value_x_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_x_value_0 = value_x_value.value0; valueSerializer.writeLength(value_x_value_0); } - else if (((value_x_value_type == 0))) { + else if (((value_x_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_x_value_1 = value_x_value.value1; valueSerializer.writeGridRowSizeOption(value_x_value_1); } } const auto value_y = value.y; - Ark_Int32 value_y_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_y_type = INTEROP_RUNTIME_UNDEFINED; value_y_type = runtimeType(value_y); valueSerializer.writeInt8(value_y_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_y_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_y_type)) { const auto value_y_value = value_y.value; - Ark_Int32 value_y_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_y_value_type = INTEROP_RUNTIME_UNDEFINED; value_y_value_type = value_y_value.selector; - if (((value_y_value_type == 0)) || ((value_y_value_type == 1)) || ((value_y_value_type == 2))) { + if (((value_y_value_type == 0)) || ((value_y_value_type == 0)) || ((value_y_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_y_value_0 = value_y_value.value0; valueSerializer.writeLength(value_y_value_0); } - else if (((value_y_value_type == 0))) { + else if (((value_y_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_y_value_1 = value_y_value.value1; valueSerializer.writeGridRowSizeOption(value_y_value_1); @@ -50373,50 +50742,50 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_xs = value.xs; - Ark_Int32 value_xs_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_xs_type = INTEROP_RUNTIME_UNDEFINED; value_xs_type = runtimeType(value_xs); valueSerializer.writeInt8(value_xs_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_xs_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_xs_type)) { const auto value_xs_value = value_xs.value; valueSerializer.writeNumber(value_xs_value); } const auto value_sm = value.sm; - Ark_Int32 value_sm_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_sm_type = INTEROP_RUNTIME_UNDEFINED; value_sm_type = runtimeType(value_sm); valueSerializer.writeInt8(value_sm_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_md_type = INTEROP_RUNTIME_UNDEFINED; value_md_type = runtimeType(value_md); valueSerializer.writeInt8(value_md_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_lg_type = INTEROP_RUNTIME_UNDEFINED; value_lg_type = runtimeType(value_lg); valueSerializer.writeInt8(value_lg_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_xl = value.xl; - Ark_Int32 value_xl_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_xl_type = INTEROP_RUNTIME_UNDEFINED; value_xl_type = runtimeType(value_xl); valueSerializer.writeInt8(value_xl_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_xl_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_xl_type)) { const auto value_xl_value = value_xl.value; valueSerializer.writeNumber(value_xl_value); } const auto value_xxl = value.xxl; - Ark_Int32 value_xxl_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_xxl_type = INTEROP_RUNTIME_UNDEFINED; value_xxl_type = runtimeType(value_xxl); valueSerializer.writeInt8(value_xxl_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_xxl_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_xxl_type)) { const auto value_xxl_value = value_xxl.value; valueSerializer.writeNumber(value_xxl_value); } @@ -50425,29 +50794,29 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_angle = value.angle; - Ark_Int32 value_angle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_angle_type = INTEROP_RUNTIME_UNDEFINED; value_angle_type = runtimeType(value_angle); valueSerializer.writeInt8(value_angle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_angle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_angle_type)) { const auto value_angle_value = value_angle.value; - Ark_Int32 value_angle_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_direction_type = INTEROP_RUNTIME_UNDEFINED; value_direction_type = runtimeType(value_direction); valueSerializer.writeInt8(value_direction_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -50456,24 +50825,24 @@ class Serializer : public SerializerBase { 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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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); @@ -50482,10 +50851,10 @@ class Serializer : public SerializerBase { valueSerializer.writeNumber(value_colors_element_1); } const auto value_repeating = value.repeating; - Ark_Int32 value_repeating_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_repeating_type = INTEROP_RUNTIME_UNDEFINED; value_repeating_type = runtimeType(value_repeating); valueSerializer.writeInt8(value_repeating_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_repeating_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_repeating_type)) { const auto value_repeating_value = value_repeating.value; valueSerializer.writeBoolean(value_repeating_value); } @@ -50494,87 +50863,87 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_selectedColor = value.selectedColor; - Ark_Int32 value_selectedColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_selectedColor_type = INTEROP_RUNTIME_UNDEFINED; value_selectedColor_type = runtimeType(value_selectedColor); valueSerializer.writeInt8(value_selectedColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_selectedColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_selectedColor_type)) { const auto value_selectedColor_value = value_selectedColor.value; - Ark_Int32 value_selectedColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_unselectedColor = value.unselectedColor; - Ark_Int32 value_unselectedColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_unselectedColor_type = INTEROP_RUNTIME_UNDEFINED; value_unselectedColor_type = runtimeType(value_unselectedColor); valueSerializer.writeInt8(value_unselectedColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_unselectedColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_unselectedColor_type)) { const auto value_unselectedColor_value = value_unselectedColor.value; - Ark_Int32 value_unselectedColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_unselectedColor_value_0 = value_unselectedColor_value.value0; valueSerializer.writeInt32(static_cast(value_unselectedColor_value_0)); } - else if (((value_unselectedColor_value_type == 0))) { + else if (((value_unselectedColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_unselectedColor_value_1 = value_unselectedColor_value.value1; valueSerializer.writeNumber(value_unselectedColor_value_1); } - else if (((value_unselectedColor_value_type == 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_unselectedColor_value_type == 0))) { + 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_strokeColor = value.strokeColor; - Ark_Int32 value_strokeColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_strokeColor_type = INTEROP_RUNTIME_UNDEFINED; value_strokeColor_type = runtimeType(value_strokeColor); valueSerializer.writeInt8(value_strokeColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_strokeColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeColor_type)) { const auto value_strokeColor_value = value_strokeColor.value; - Ark_Int32 value_strokeColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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); @@ -50607,26 +50976,26 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_scale = value.scale; - Ark_Int32 value_scale_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_scale_type = INTEROP_RUNTIME_UNDEFINED; value_scale_type = runtimeType(value_scale); valueSerializer.writeInt8(value_scale_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_scale_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scale_type)) { const auto value_scale_value = value_scale.value; valueSerializer.writeCustomObject("AnimationRange", value_scale_value); } const auto value_transition = value.transition; - Ark_Int32 value_transition_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_transition_type = INTEROP_RUNTIME_UNDEFINED; value_transition_type = runtimeType(value_transition); valueSerializer.writeInt8(value_transition_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_hoverScale_type = INTEROP_RUNTIME_UNDEFINED; value_hoverScale_type = runtimeType(value_hoverScale); valueSerializer.writeInt8(value_hoverScale_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_hoverScale_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_hoverScale_type)) { const auto value_hoverScale_value = value_hoverScale.value; valueSerializer.writeCustomObject("AnimationRange", value_hoverScale_value); } @@ -50635,39 +51004,39 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_textColor = value.textColor; - Ark_Int32 value_textColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_textColor_type = INTEROP_RUNTIME_UNDEFINED; value_textColor_type = runtimeType(value_textColor); valueSerializer.writeInt8(value_textColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_textColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textColor_type)) { const auto value_textColor_value = value_textColor.value; - Ark_Int32 value_textColor_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_textColor_value_type = INTEROP_RUNTIME_UNDEFINED; value_textColor_value_type = value_textColor_value.selector; if (((value_textColor_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_textColor_value_0 = value_textColor_value.value0; valueSerializer.writeInt32(static_cast(value_textColor_value_0)); } - else if (((value_textColor_value_type == 0))) { + else if (((value_textColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_textColor_value_1 = value_textColor_value.value1; valueSerializer.writeNumber(value_textColor_value_1); } - else if (((value_textColor_value_type == 0))) { + else if (((value_textColor_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_textColor_value_2 = value_textColor_value.value2; valueSerializer.writeString(value_textColor_value_2); } - else if (((value_textColor_value_type == 0))) { + else if (((value_textColor_value_type == 3))) { valueSerializer.writeInt8(3); const auto value_textColor_value_3 = value_textColor_value.value3; valueSerializer.writeResource(value_textColor_value_3); } } const auto value_font = value.font; - Ark_Int32 value_font_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_font_type = INTEROP_RUNTIME_UNDEFINED; value_font_type = runtimeType(value_font); valueSerializer.writeInt8(value_font_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_font_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_font_type)) { const auto value_font_value = value_font.value; valueSerializer.writeFont(value_font_value); } @@ -50676,18 +51045,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_x = value.x; - Ark_Int32 value_x_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_x_type = INTEROP_RUNTIME_UNDEFINED; value_x_type = runtimeType(value_x); valueSerializer.writeInt8(value_x_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_x_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_x_type)) { const auto value_x_value = value_x.value; valueSerializer.writeNumber(value_x_value); } const auto value_y = value.y; - Ark_Int32 value_y_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_y_type = INTEROP_RUNTIME_UNDEFINED; value_y_type = runtimeType(value_y); valueSerializer.writeInt8(value_y_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_y_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_y_type)) { const auto value_y_value = value_y.value; valueSerializer.writeNumber(value_y_value); } @@ -50704,26 +51073,26 @@ class Serializer : public SerializerBase { const auto value_path = value.path; valueSerializer.writeString(value_path); const auto value_from = value.from; - Ark_Int32 value_from_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_from_type = INTEROP_RUNTIME_UNDEFINED; value_from_type = runtimeType(value_from); valueSerializer.writeInt8(value_from_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_from_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_from_type)) { const auto value_from_value = value_from.value; valueSerializer.writeNumber(value_from_value); } const auto value_to = value.to; - Ark_Int32 value_to_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_to_type = INTEROP_RUNTIME_UNDEFINED; value_to_type = runtimeType(value_to); valueSerializer.writeInt8(value_to_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_to_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_to_type)) { const auto value_to_value = value_to.value; valueSerializer.writeNumber(value_to_value); } const auto value_rotatable = value.rotatable; - Ark_Int32 value_rotatable_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_rotatable_type = INTEROP_RUNTIME_UNDEFINED; value_rotatable_type = runtimeType(value_rotatable); valueSerializer.writeInt8(value_rotatable_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_rotatable_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_rotatable_type)) { const auto value_rotatable_value = value_rotatable.value; valueSerializer.writeBoolean(value_rotatable_value); } @@ -50732,92 +51101,92 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_x = value.x; - Ark_Int32 value_x_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_x_type = INTEROP_RUNTIME_UNDEFINED; value_x_type = runtimeType(value_x); valueSerializer.writeInt8(value_x_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_x_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_x_type)) { const auto value_x_value = value_x.value; valueSerializer.writeNumber(value_x_value); } const auto value_y = value.y; - Ark_Int32 value_y_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_y_type = INTEROP_RUNTIME_UNDEFINED; value_y_type = runtimeType(value_y); valueSerializer.writeInt8(value_y_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_y_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_y_type)) { const auto value_y_value = value_y.value; valueSerializer.writeNumber(value_y_value); } const auto value_z = value.z; - Ark_Int32 value_z_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_z_type = INTEROP_RUNTIME_UNDEFINED; value_z_type = runtimeType(value_z); valueSerializer.writeInt8(value_z_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_z_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_z_type)) { const auto value_z_value = value_z.value; valueSerializer.writeNumber(value_z_value); } const auto value_centerX = value.centerX; - Ark_Int32 value_centerX_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_centerX_type = INTEROP_RUNTIME_UNDEFINED; value_centerX_type = runtimeType(value_centerX); valueSerializer.writeInt8(value_centerX_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_centerX_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_centerX_type)) { const auto value_centerX_value = value_centerX.value; - Ark_Int32 value_centerX_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_centerX_value_type = INTEROP_RUNTIME_UNDEFINED; value_centerX_value_type = value_centerX_value.selector; if (((value_centerX_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_centerX_value_0 = value_centerX_value.value0; valueSerializer.writeNumber(value_centerX_value_0); } - else if (((value_centerX_value_type == 0))) { + else if (((value_centerX_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_centerX_value_1 = value_centerX_value.value1; valueSerializer.writeString(value_centerX_value_1); } } const auto value_centerY = value.centerY; - Ark_Int32 value_centerY_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_centerY_type = INTEROP_RUNTIME_UNDEFINED; value_centerY_type = runtimeType(value_centerY); valueSerializer.writeInt8(value_centerY_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_centerY_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_centerY_type)) { const auto value_centerY_value = value_centerY.value; - Ark_Int32 value_centerY_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_centerY_value_type = INTEROP_RUNTIME_UNDEFINED; value_centerY_value_type = value_centerY_value.selector; if (((value_centerY_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_centerY_value_0 = value_centerY_value.value0; valueSerializer.writeNumber(value_centerY_value_0); } - else if (((value_centerY_value_type == 0))) { + else if (((value_centerY_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_centerY_value_1 = value_centerY_value.value1; valueSerializer.writeString(value_centerY_value_1); } } const auto value_centerZ = value.centerZ; - Ark_Int32 value_centerZ_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_centerZ_type = INTEROP_RUNTIME_UNDEFINED; value_centerZ_type = runtimeType(value_centerZ); valueSerializer.writeInt8(value_centerZ_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_centerZ_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_centerZ_type)) { const auto value_centerZ_value = value_centerZ.value; valueSerializer.writeNumber(value_centerZ_value); } const auto value_perspective = value.perspective; - Ark_Int32 value_perspective_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_perspective_type = INTEROP_RUNTIME_UNDEFINED; value_perspective_type = runtimeType(value_perspective); valueSerializer.writeInt8(value_perspective_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_perspective_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_perspective_type)) { const auto value_perspective_value = value_perspective.value; valueSerializer.writeNumber(value_perspective_value); } const auto value_angle = value.angle; - Ark_Int32 value_angle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_angle_type = INTEROP_RUNTIME_UNDEFINED; value_angle_type = value_angle.selector; if (((value_angle_type == 0))) { valueSerializer.writeInt8(0); const auto value_angle_0 = value_angle.value0; valueSerializer.writeNumber(value_angle_0); } - else if (((value_angle_type == 0))) { + else if (((value_angle_type == 1))) { valueSerializer.writeInt8(1); const auto value_angle_1 = value_angle.value1; valueSerializer.writeString(value_angle_1); @@ -50827,62 +51196,62 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_x = value.x; - Ark_Int32 value_x_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_x_type = INTEROP_RUNTIME_UNDEFINED; value_x_type = runtimeType(value_x); valueSerializer.writeInt8(value_x_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_x_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_x_type)) { const auto value_x_value = value_x.value; valueSerializer.writeNumber(value_x_value); } const auto value_y = value.y; - Ark_Int32 value_y_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_y_type = INTEROP_RUNTIME_UNDEFINED; value_y_type = runtimeType(value_y); valueSerializer.writeInt8(value_y_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_y_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_y_type)) { const auto value_y_value = value_y.value; valueSerializer.writeNumber(value_y_value); } const auto value_z = value.z; - Ark_Int32 value_z_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_z_type = INTEROP_RUNTIME_UNDEFINED; value_z_type = runtimeType(value_z); valueSerializer.writeInt8(value_z_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_z_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_z_type)) { const auto value_z_value = value_z.value; valueSerializer.writeNumber(value_z_value); } const auto value_centerX = value.centerX; - Ark_Int32 value_centerX_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_centerX_type = INTEROP_RUNTIME_UNDEFINED; value_centerX_type = runtimeType(value_centerX); valueSerializer.writeInt8(value_centerX_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_centerX_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_centerX_type)) { const auto value_centerX_value = value_centerX.value; - Ark_Int32 value_centerX_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_centerX_value_type = INTEROP_RUNTIME_UNDEFINED; value_centerX_value_type = value_centerX_value.selector; if (((value_centerX_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_centerX_value_0 = value_centerX_value.value0; valueSerializer.writeNumber(value_centerX_value_0); } - else if (((value_centerX_value_type == 0))) { + else if (((value_centerX_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_centerX_value_1 = value_centerX_value.value1; valueSerializer.writeString(value_centerX_value_1); } } const auto value_centerY = value.centerY; - Ark_Int32 value_centerY_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_centerY_type = INTEROP_RUNTIME_UNDEFINED; value_centerY_type = runtimeType(value_centerY); valueSerializer.writeInt8(value_centerY_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_centerY_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_centerY_type)) { const auto value_centerY_value = value_centerY.value; - Ark_Int32 value_centerY_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_centerY_value_type = INTEROP_RUNTIME_UNDEFINED; value_centerY_value_type = value_centerY_value.selector; if (((value_centerY_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_centerY_value_0 = value_centerY_value.value0; valueSerializer.writeNumber(value_centerY_value_0); } - else if (((value_centerY_value_type == 0))) { + else if (((value_centerY_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_centerY_value_1 = value_centerY_value.value1; valueSerializer.writeString(value_centerY_value_1); @@ -50893,57 +51262,57 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_x = value.x; - Ark_Int32 value_x_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_x_type = INTEROP_RUNTIME_UNDEFINED; value_x_type = runtimeType(value_x); valueSerializer.writeInt8(value_x_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_x_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_x_type)) { const auto value_x_value = value_x.value; - Ark_Int32 value_x_value_type = ARK_RUNTIME_UNDEFINED; + 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_x_value_0 = value_x_value.value0; valueSerializer.writeNumber(value_x_value_0); } - else if (((value_x_value_type == 0))) { + else if (((value_x_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_x_value_1 = value_x_value.value1; valueSerializer.writeString(value_x_value_1); } } const auto value_y = value.y; - Ark_Int32 value_y_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_y_type = INTEROP_RUNTIME_UNDEFINED; value_y_type = runtimeType(value_y); valueSerializer.writeInt8(value_y_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_y_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_y_type)) { const auto value_y_value = value_y.value; - Ark_Int32 value_y_value_type = ARK_RUNTIME_UNDEFINED; + 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_y_value_0 = value_y_value.value0; valueSerializer.writeNumber(value_y_value_0); } - else if (((value_y_value_type == 0))) { + else if (((value_y_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_y_value_1 = value_y_value.value1; valueSerializer.writeString(value_y_value_1); } } const auto value_z = value.z; - Ark_Int32 value_z_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_z_type = INTEROP_RUNTIME_UNDEFINED; value_z_type = runtimeType(value_z); valueSerializer.writeInt8(value_z_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_z_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_z_type)) { const auto value_z_value = value_z.value; - Ark_Int32 value_z_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_z_value_type = INTEROP_RUNTIME_UNDEFINED; value_z_value_type = value_z_value.selector; if (((value_z_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_z_value_0 = value_z_value.value0; valueSerializer.writeNumber(value_z_value_0); } - else if (((value_z_value_type == 0))) { + else if (((value_z_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_z_value_1 = value_z_value.value1; valueSerializer.writeString(value_z_value_1); @@ -50972,10 +51341,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_wordBreak = value.wordBreak; - Ark_Int32 value_wordBreak_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_wordBreak_type = INTEROP_RUNTIME_UNDEFINED; value_wordBreak_type = runtimeType(value_wordBreak); valueSerializer.writeInt8(value_wordBreak_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -50984,95 +51353,95 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_enabled = value.enabled; - Ark_Int32 value_enabled_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enabled_type = INTEROP_RUNTIME_UNDEFINED; value_enabled_type = runtimeType(value_enabled); valueSerializer.writeInt8(value_enabled_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_defaultFocus = value.defaultFocus; - Ark_Int32 value_defaultFocus_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_defaultFocus_type = INTEROP_RUNTIME_UNDEFINED; value_defaultFocus_type = runtimeType(value_defaultFocus); valueSerializer.writeInt8(value_defaultFocus_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_defaultFocus_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_defaultFocus_type)) { const auto value_defaultFocus_value = value_defaultFocus.value; valueSerializer.writeBoolean(value_defaultFocus_value); } const auto value_style = value.style; - Ark_Int32 value_style_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; value_style_type = runtimeType(value_style); valueSerializer.writeInt8(value_style_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_value = value.value; - Ark_Int32 value_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_fontColor = value.fontColor; - Ark_Int32 value_fontColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontColor_type = INTEROP_RUNTIME_UNDEFINED; value_fontColor_type = runtimeType(value_fontColor); valueSerializer.writeInt8(value_fontColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontColor_type)) { const auto value_fontColor_value = value_fontColor.value; - Ark_Int32 value_fontColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); valueSerializer.writeInt8(value_backgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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); @@ -51087,37 +51456,37 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_dx = value.dx; - Ark_Int32 value_dx_type = ARK_RUNTIME_UNDEFINED; + 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.writeNumber(value_dx_0); } - else if (((value_dx_type == 0))) { + else if (((value_dx_type == 1))) { valueSerializer.writeInt8(1); const auto value_dx_1 = value_dx.value1; valueSerializer.writeString(value_dx_1); } - else if (((value_dx_type == 0))) { + 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_dy = value.dy; - Ark_Int32 value_dy_type = ARK_RUNTIME_UNDEFINED; + 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.writeNumber(value_dy_0); } - else if (((value_dy_type == 0))) { + else if (((value_dy_type == 1))) { valueSerializer.writeInt8(1); const auto value_dy_1 = value_dy.value1; valueSerializer.writeString(value_dy_1); } - else if (((value_dy_type == 0))) { + else if (((value_dy_type == 2))) { valueSerializer.writeInt8(2); const auto value_dy_2 = value_dy.value2; valueSerializer.writeResource(value_dy_2); @@ -51127,38 +51496,38 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_enabled = value.enabled; - Ark_Int32 value_enabled_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enabled_type = INTEROP_RUNTIME_UNDEFINED; value_enabled_type = runtimeType(value_enabled); valueSerializer.writeInt8(value_enabled_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_defaultFocus = value.defaultFocus; - Ark_Int32 value_defaultFocus_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_defaultFocus_type = INTEROP_RUNTIME_UNDEFINED; value_defaultFocus_type = runtimeType(value_defaultFocus); valueSerializer.writeInt8(value_defaultFocus_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_defaultFocus_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_defaultFocus_type)) { const auto value_defaultFocus_value = value_defaultFocus.value; valueSerializer.writeBoolean(value_defaultFocus_value); } const auto value_style = value.style; - Ark_Int32 value_style_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; value_style_type = runtimeType(value_style); valueSerializer.writeInt8(value_style_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_value = value.value; - Ark_Int32 value_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_value_1 = value_value.value1; valueSerializer.writeResource(value_value_1); @@ -51184,66 +51553,66 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_bundleName = value.bundleName; - Ark_Int32 value_bundleName_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_bundleName_type = INTEROP_RUNTIME_UNDEFINED; value_bundleName_type = runtimeType(value_bundleName); valueSerializer.writeInt8(value_bundleName_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_bundleName_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bundleName_type)) { const auto value_bundleName_value = value_bundleName.value; valueSerializer.writeString(value_bundleName_value); } const auto value_abilityName = value.abilityName; - Ark_Int32 value_abilityName_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_abilityName_type = INTEROP_RUNTIME_UNDEFINED; value_abilityName_type = runtimeType(value_abilityName); valueSerializer.writeInt8(value_abilityName_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_abilityName_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_abilityName_type)) { const auto value_abilityName_value = value_abilityName.value; valueSerializer.writeString(value_abilityName_value); } const auto value_deviceId = value.deviceId; - Ark_Int32 value_deviceId_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_deviceId_type = INTEROP_RUNTIME_UNDEFINED; value_deviceId_type = runtimeType(value_deviceId); valueSerializer.writeInt8(value_deviceId_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_deviceId_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_deviceId_type)) { const auto value_deviceId_value = value_deviceId.value; valueSerializer.writeString(value_deviceId_value); } const auto value_uri = value.uri; - Ark_Int32 value_uri_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_uri_type = INTEROP_RUNTIME_UNDEFINED; value_uri_type = runtimeType(value_uri); valueSerializer.writeInt8(value_uri_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_uri_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_uri_type)) { const auto value_uri_value = value_uri.value; valueSerializer.writeString(value_uri_value); } const auto value_type = value.type; - Ark_Int32 value_type_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_type_type = INTEROP_RUNTIME_UNDEFINED; value_type_type = runtimeType(value_type); valueSerializer.writeInt8(value_type_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_type_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_type_type)) { const auto value_type_value = value_type.value; valueSerializer.writeString(value_type_value); } const auto value_flags = value.flags; - Ark_Int32 value_flags_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_flags_type = INTEROP_RUNTIME_UNDEFINED; value_flags_type = runtimeType(value_flags); valueSerializer.writeInt8(value_flags_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_flags_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_flags_type)) { const auto value_flags_value = value_flags.value; valueSerializer.writeNumber(value_flags_value); } const auto value_action = value.action; - Ark_Int32 value_action_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_action_type = INTEROP_RUNTIME_UNDEFINED; value_action_type = runtimeType(value_action); valueSerializer.writeInt8(value_action_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_action_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_action_type)) { const auto value_action_value = value_action.value; valueSerializer.writeString(value_action_value); } const auto value_parameters = value.parameters; - Ark_Int32 value_parameters_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_parameters_type = INTEROP_RUNTIME_UNDEFINED; value_parameters_type = runtimeType(value_parameters); valueSerializer.writeInt8(value_parameters_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_parameters_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_parameters_type)) { const auto value_parameters_value = value_parameters.value; valueSerializer.writeInt32(value_parameters_value.size); for (int32_t i = 0; i < value_parameters_value.size; i++) { @@ -51254,10 +51623,10 @@ class Serializer : public SerializerBase { } } const auto value_entities = value.entities; - Ark_Int32 value_entities_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_entities_type = INTEROP_RUNTIME_UNDEFINED; value_entities_type = runtimeType(value_entities); valueSerializer.writeInt8(value_entities_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_entities_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_entities_type)) { const auto value_entities_value = value_entities.value; valueSerializer.writeInt32(value_entities_value.length); for (int i = 0; i < value_entities_value.length; i++) { @@ -51266,10 +51635,10 @@ class Serializer : public SerializerBase { } } const auto value_moduleName = value.moduleName; - Ark_Int32 value_moduleName_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_moduleName_type = INTEROP_RUNTIME_UNDEFINED; value_moduleName_type = runtimeType(value_moduleName); valueSerializer.writeInt8(value_moduleName_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_moduleName_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_moduleName_type)) { const auto value_moduleName_value = value_moduleName.value; valueSerializer.writeString(value_moduleName_value); } @@ -51283,28 +51652,28 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_onTransitionEnd = value.onTransitionEnd; - Ark_Int32 value_onTransitionEnd_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onTransitionEnd_type = INTEROP_RUNTIME_UNDEFINED; value_onTransitionEnd_type = runtimeType(value_onTransitionEnd); valueSerializer.writeInt8(value_onTransitionEnd_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_timeout = value.timeout; - Ark_Int32 value_timeout_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_timeout_type = INTEROP_RUNTIME_UNDEFINED; value_timeout_type = runtimeType(value_timeout); valueSerializer.writeInt8(value_timeout_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_timeout_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_timeout_type)) { const auto value_timeout_value = value_timeout.value; valueSerializer.writeNumber(value_timeout_value); } const auto value_isInteractive = value.isInteractive; - Ark_Int32 value_isInteractive_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_isInteractive_type = INTEROP_RUNTIME_UNDEFINED; value_isInteractive_type = runtimeType(value_isInteractive); valueSerializer.writeInt8(value_isInteractive_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_isInteractive_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isInteractive_type)) { const auto value_isInteractive_value = value_isInteractive.value; valueSerializer.writeBoolean(value_isInteractive_value); } @@ -51317,36 +51686,36 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_name = value.name; - Ark_Int32 value_name_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_name_type = INTEROP_RUNTIME_UNDEFINED; value_name_type = runtimeType(value_name); valueSerializer.writeInt8(value_name_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_name_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_name_type)) { const auto value_name_value = value_name.value; valueSerializer.writeString(value_name_value); } const auto value_index = value.index; valueSerializer.writeNumber(value_index); const auto value_mode = value.mode; - Ark_Int32 value_mode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_mode_type = INTEROP_RUNTIME_UNDEFINED; value_mode_type = runtimeType(value_mode); valueSerializer.writeInt8(value_mode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_param = value.param; - Ark_Int32 value_param_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_param_type = INTEROP_RUNTIME_UNDEFINED; value_param_type = runtimeType(value_param); valueSerializer.writeInt8(value_param_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_param_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_param_type)) { const auto value_param_value = value_param.value; valueSerializer.writeCustomObject("Object", value_param_value); } const auto value_navDestinationId = value.navDestinationId; - Ark_Int32 value_navDestinationId_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_navDestinationId_type = INTEROP_RUNTIME_UNDEFINED; value_navDestinationId_type = runtimeType(value_navDestinationId); valueSerializer.writeInt8(value_navDestinationId_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_navDestinationId_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_navDestinationId_type)) { const auto value_navDestinationId_value = value_navDestinationId.value; valueSerializer.writeString(value_navDestinationId_value); } @@ -51355,42 +51724,42 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_space = value.space; - Ark_Int32 value_space_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_space_type = INTEROP_RUNTIME_UNDEFINED; value_space_type = runtimeType(value_space); valueSerializer.writeInt8(value_space_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; value_strokeWidth_type = runtimeType(value_strokeWidth); valueSerializer.writeInt8(value_strokeWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_strokeRadius_type = INTEROP_RUNTIME_UNDEFINED; value_strokeRadius_type = runtimeType(value_strokeRadius); valueSerializer.writeInt8(value_strokeRadius_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_trackBackgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_trackBackgroundColor_type = runtimeType(value_trackBackgroundColor); valueSerializer.writeInt8(value_trackBackgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_trackColor_type = INTEROP_RUNTIME_UNDEFINED; value_trackColor_type = runtimeType(value_trackColor); valueSerializer.writeInt8(value_trackColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_trackColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_trackColor_type)) { const auto value_trackColor_value = value_trackColor.value; valueSerializer.writeColorMetrics(value_trackColor_value); } @@ -51399,18 +51768,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_interval = value.interval; - Ark_Int32 value_interval_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_interval_type = INTEROP_RUNTIME_UNDEFINED; value_interval_type = runtimeType(value_interval); valueSerializer.writeInt8(value_interval_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_interval_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_interval_type)) { const auto value_interval_value = value_interval.value; valueSerializer.writeNumber(value_interval_value); } const auto value_duration = value.duration; - Ark_Int32 value_duration_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_duration_type = INTEROP_RUNTIME_UNDEFINED; value_duration_type = runtimeType(value_duration); valueSerializer.writeInt8(value_duration_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_duration_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_duration_type)) { const auto value_duration_value = value_duration.value; valueSerializer.writeNumber(value_duration_value); } @@ -51449,69 +51818,69 @@ class Serializer : public SerializerBase { const auto value_styledKey = value.styledKey; valueSerializer.writeInt32(static_cast(value_styledKey)); const auto value_styledValue = value.styledValue; - Ark_Int32 value_styledValue_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_styledValue_type = INTEROP_RUNTIME_UNDEFINED; value_styledValue_type = value_styledValue.selector; if (((value_styledValue_type == 0))) { valueSerializer.writeInt8(0); const auto value_styledValue_0 = value_styledValue.value0; valueSerializer.writeTextStyle_styled_string(value_styledValue_0); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 1))) { valueSerializer.writeInt8(1); const auto value_styledValue_1 = value_styledValue.value1; valueSerializer.writeDecorationStyle(value_styledValue_1); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 2))) { valueSerializer.writeInt8(2); const auto value_styledValue_2 = value_styledValue.value2; valueSerializer.writeBaselineOffsetStyle(value_styledValue_2); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 3))) { valueSerializer.writeInt8(3); const auto value_styledValue_3 = value_styledValue.value3; valueSerializer.writeLetterSpacingStyle(value_styledValue_3); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 4))) { valueSerializer.writeInt8(4); const auto value_styledValue_4 = value_styledValue.value4; valueSerializer.writeTextShadowStyle(value_styledValue_4); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 5))) { valueSerializer.writeInt8(5); const auto value_styledValue_5 = value_styledValue.value5; valueSerializer.writeGestureStyle(value_styledValue_5); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 6))) { valueSerializer.writeInt8(6); const auto value_styledValue_6 = value_styledValue.value6; valueSerializer.writeImageAttachment(value_styledValue_6); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 7))) { valueSerializer.writeInt8(7); const auto value_styledValue_7 = value_styledValue.value7; valueSerializer.writeParagraphStyle(value_styledValue_7); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 8))) { valueSerializer.writeInt8(8); const auto value_styledValue_8 = value_styledValue.value8; valueSerializer.writeLineHeightStyle(value_styledValue_8); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 9))) { valueSerializer.writeInt8(9); const auto value_styledValue_9 = value_styledValue.value9; valueSerializer.writeUrlStyle(value_styledValue_9); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 10))) { valueSerializer.writeInt8(10); const auto value_styledValue_10 = value_styledValue.value10; valueSerializer.writeCustomSpan(value_styledValue_10); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 11))) { valueSerializer.writeInt8(11); const auto value_styledValue_11 = value_styledValue.value11; valueSerializer.writeUserDataSpan(value_styledValue_11); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 12))) { valueSerializer.writeInt8(12); const auto value_styledValue_12 = value_styledValue.value12; valueSerializer.writeBackgroundColorStyle(value_styledValue_12); @@ -51533,84 +51902,84 @@ class Serializer : public SerializerBase { const auto value_itemsCount = value.itemsCount; valueSerializer.writeNumber(value_itemsCount); const auto value_crossCount = value.crossCount; - Ark_Int32 value_crossCount_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_crossCount_type = INTEROP_RUNTIME_UNDEFINED; value_crossCount_type = runtimeType(value_crossCount); valueSerializer.writeInt8(value_crossCount_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onGetItemMainSizeByIndex_type = INTEROP_RUNTIME_UNDEFINED; value_onGetItemMainSizeByIndex_type = runtimeType(value_onGetItemMainSizeByIndex); valueSerializer.writeInt8(value_onGetItemMainSizeByIndex_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_columnsGap_type = INTEROP_RUNTIME_UNDEFINED; value_columnsGap_type = runtimeType(value_columnsGap); valueSerializer.writeInt8(value_columnsGap_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_columnsGap_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_columnsGap_type)) { const auto value_columnsGap_value = value_columnsGap.value; valueSerializer.writeLength(value_columnsGap_value); } const auto value_rowsGap = value.rowsGap; - Ark_Int32 value_rowsGap_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_rowsGap_type = INTEROP_RUNTIME_UNDEFINED; value_rowsGap_type = runtimeType(value_rowsGap); valueSerializer.writeInt8(value_rowsGap_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_rowsGap_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_rowsGap_type)) { const auto value_rowsGap_value = value_rowsGap.value; valueSerializer.writeLength(value_rowsGap_value); } const auto value_margin = value.margin; - Ark_Int32 value_margin_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_margin_type = INTEROP_RUNTIME_UNDEFINED; value_margin_type = runtimeType(value_margin); valueSerializer.writeInt8(value_margin_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_margin_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_type)) { const auto value_margin_value = value_margin.value; - Ark_Int32 value_margin_value_type = ARK_RUNTIME_UNDEFINED; + 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; const auto value_margin_value_0_top = value_margin_value_0.top; - Ark_Int32 value_margin_value_0_top_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_margin_value_0_top_value); } const auto value_margin_value_0_right = value_margin_value_0.right; - Ark_Int32 value_margin_value_0_right_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_margin_value_0_right_value); } const auto value_margin_value_0_bottom = value_margin_value_0.bottom; - Ark_Int32 value_margin_value_0_bottom_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_margin_value_0_bottom_value); } const auto value_margin_value_0_left = value_margin_value_0.left; - Ark_Int32 value_margin_value_0_left_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_margin_value_0_left_value); } } - else if (((value_margin_value_type == 0)) || ((value_margin_value_type == 1)) || ((value_margin_value_type == 2))) { + 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; valueSerializer.writeLength(value_margin_value_1); @@ -51637,47 +52006,47 @@ class Serializer : public SerializerBase { const auto value_strokeWidth = value.strokeWidth; valueSerializer.writeLength(value_strokeWidth); const auto value_color = value.color; - Ark_Int32 value_color_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 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_color_value_type == 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); } } const auto value_startMargin = value.startMargin; - Ark_Int32 value_startMargin_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_startMargin_type = INTEROP_RUNTIME_UNDEFINED; value_startMargin_type = runtimeType(value_startMargin); valueSerializer.writeInt8(value_startMargin_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_startMargin_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_startMargin_type)) { const auto value_startMargin_value = value_startMargin.value; valueSerializer.writeLength(value_startMargin_value); } const auto value_endMargin = value.endMargin; - Ark_Int32 value_endMargin_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_endMargin_type = INTEROP_RUNTIME_UNDEFINED; value_endMargin_type = runtimeType(value_endMargin); valueSerializer.writeInt8(value_endMargin_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_endMargin_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_endMargin_type)) { const auto value_endMargin_value = value_endMargin.value; valueSerializer.writeLength(value_endMargin_value); } @@ -51686,60 +52055,60 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_shown = value.shown; - Ark_Int32 value_shown_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_switching_type = INTEROP_RUNTIME_UNDEFINED; value_switching_type = runtimeType(value_switching); valueSerializer.writeInt8(value_switching_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_switching_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_switching_type)) { const auto value_switching_value = value_switching.value; - Ark_Int32 value_switching_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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); @@ -51750,10 +52119,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_types = value.types; - Ark_Int32 value_types_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_types_type = INTEROP_RUNTIME_UNDEFINED; value_types_type = runtimeType(value_types); valueSerializer.writeInt8(value_types_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_types_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_types_type)) { const auto value_types_value = value_types.value; valueSerializer.writeInt32(value_types_value.length); for (int i = 0; i < value_types_value.length; i++) { @@ -51762,10 +52131,10 @@ class Serializer : public SerializerBase { } } const auto value_aiController = value.aiController; - Ark_Int32 value_aiController_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_aiController_type = INTEROP_RUNTIME_UNDEFINED; value_aiController_type = runtimeType(value_aiController); valueSerializer.writeInt8(value_aiController_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_aiController_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_aiController_type)) { const auto value_aiController_value = value_aiController.value; valueSerializer.writeImageAnalyzerController(value_aiController_value); } @@ -51789,18 +52158,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_offsetX = value.offsetX; - Ark_Int32 value_offsetX_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offsetX_type = INTEROP_RUNTIME_UNDEFINED; value_offsetX_type = runtimeType(value_offsetX); valueSerializer.writeInt8(value_offsetX_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_offsetX_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offsetX_type)) { const auto value_offsetX_value = value_offsetX.value; valueSerializer.writeNumber(value_offsetX_value); } const auto value_offsetY = value.offsetY; - Ark_Int32 value_offsetY_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offsetY_type = INTEROP_RUNTIME_UNDEFINED; value_offsetY_type = runtimeType(value_offsetY); valueSerializer.writeInt8(value_offsetY_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_offsetY_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offsetY_type)) { const auto value_offsetY_value = value_offsetY.value; valueSerializer.writeNumber(value_offsetY_value); } @@ -51813,10 +52182,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_lock = value.lock; - Ark_Int32 value_lock_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_lock_type = INTEROP_RUNTIME_UNDEFINED; value_lock_type = runtimeType(value_lock); valueSerializer.writeInt8(value_lock_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_lock_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_lock_type)) { const auto value_lock_value = value_lock.value; valueSerializer.writeBoolean(value_lock_value); } @@ -51825,40 +52194,40 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_onAppear = value.onAppear; - Ark_Int32 value_onAppear_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onAppear_type = INTEROP_RUNTIME_UNDEFINED; value_onAppear_type = runtimeType(value_onAppear); valueSerializer.writeInt8(value_onAppear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onDisappear_type = INTEROP_RUNTIME_UNDEFINED; value_onDisappear_type = runtimeType(value_onDisappear); valueSerializer.writeInt8(value_onDisappear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_preview = value.preview; - Ark_Int32 value_preview_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_preview_type = INTEROP_RUNTIME_UNDEFINED; value_preview_type = runtimeType(value_preview); valueSerializer.writeInt8(value_preview_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_preview_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_preview_type)) { const auto value_preview_value = value_preview.value; valueSerializer.writeCallbackResource(value_preview_value.resource); valueSerializer.writePointer(reinterpret_cast(value_preview_value.call)); valueSerializer.writePointer(reinterpret_cast(value_preview_value.callSync)); } const auto value_menuType = value.menuType; - Ark_Int32 value_menuType_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_menuType_type = INTEROP_RUNTIME_UNDEFINED; value_menuType_type = runtimeType(value_menuType); valueSerializer.writeInt8(value_menuType_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -51876,139 +52245,80 @@ class Serializer : public SerializerBase { void writeTouchEvent(Ark_TouchEvent value) { Serializer& valueSerializer = *this; - const auto value_target = value.target; - valueSerializer.writeEventTarget(value_target); - const auto value_timestamp = value.timestamp; - valueSerializer.writeNumber(value_timestamp); - const auto value_source = value.source; - valueSerializer.writeInt32(static_cast(value_source)); - const auto value_axisHorizontal = value.axisHorizontal; - Ark_Int32 value_axisHorizontal_type = ARK_RUNTIME_UNDEFINED; - value_axisHorizontal_type = runtimeType(value_axisHorizontal); - valueSerializer.writeInt8(value_axisHorizontal_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_axisHorizontal_type)) { - const auto value_axisHorizontal_value = value_axisHorizontal.value; - valueSerializer.writeNumber(value_axisHorizontal_value); - } - const auto value_axisVertical = value.axisVertical; - Ark_Int32 value_axisVertical_type = ARK_RUNTIME_UNDEFINED; - value_axisVertical_type = runtimeType(value_axisVertical); - valueSerializer.writeInt8(value_axisVertical_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_axisVertical_type)) { - const auto value_axisVertical_value = value_axisVertical.value; - valueSerializer.writeNumber(value_axisVertical_value); - } - const auto value_pressure = value.pressure; - valueSerializer.writeNumber(value_pressure); - const auto value_tiltX = value.tiltX; - valueSerializer.writeNumber(value_tiltX); - const auto value_tiltY = value.tiltY; - valueSerializer.writeNumber(value_tiltY); - const auto value_sourceTool = value.sourceTool; - valueSerializer.writeInt32(static_cast(value_sourceTool)); - const auto value_deviceId = value.deviceId; - Ark_Int32 value_deviceId_type = ARK_RUNTIME_UNDEFINED; - value_deviceId_type = runtimeType(value_deviceId); - valueSerializer.writeInt8(value_deviceId_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_deviceId_type)) { - const auto value_deviceId_value = value_deviceId.value; - valueSerializer.writeNumber(value_deviceId_value); - } - const auto value_type = value.type; - valueSerializer.writeInt32(static_cast(value_type)); - const auto value_touches = value.touches; - valueSerializer.writeInt32(value_touches.length); - for (int i = 0; i < value_touches.length; i++) { - const Ark_TouchObject value_touches_element = value_touches.array[i]; - valueSerializer.writeTouchObject(value_touches_element); - } - const auto value_changedTouches = value.changedTouches; - valueSerializer.writeInt32(value_changedTouches.length); - for (int i = 0; i < value_changedTouches.length; i++) { - const Ark_TouchObject value_changedTouches_element = value_changedTouches.array[i]; - valueSerializer.writeTouchObject(value_changedTouches_element); - } - 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)); - const auto value_preventDefault = value.preventDefault; - valueSerializer.writeCallbackResource(value_preventDefault.resource); - valueSerializer.writePointer(reinterpret_cast(value_preventDefault.call)); - valueSerializer.writePointer(reinterpret_cast(value_preventDefault.callSync)); + valueSerializer.writePointer(value.ptr); } void writeNativeEmbedInfo(Ark_NativeEmbedInfo value) { Serializer& valueSerializer = *this; const auto value_id = value.id; - Ark_Int32 value_id_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_id_type = INTEROP_RUNTIME_UNDEFINED; value_id_type = runtimeType(value_id); valueSerializer.writeInt8(value_id_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_id_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_id_type)) { const auto value_id_value = value_id.value; valueSerializer.writeString(value_id_value); } const auto value_type = value.type; - Ark_Int32 value_type_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_type_type = INTEROP_RUNTIME_UNDEFINED; value_type_type = runtimeType(value_type); valueSerializer.writeInt8(value_type_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_type_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_type_type)) { const auto value_type_value = value_type.value; valueSerializer.writeString(value_type_value); } const auto value_src = value.src; - Ark_Int32 value_src_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_src_type = INTEROP_RUNTIME_UNDEFINED; value_src_type = runtimeType(value_src); valueSerializer.writeInt8(value_src_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_src_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_src_type)) { const auto value_src_value = value_src.value; valueSerializer.writeString(value_src_value); } const auto value_position = value.position; - Ark_Int32 value_position_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_position_type = INTEROP_RUNTIME_UNDEFINED; value_position_type = runtimeType(value_position); valueSerializer.writeInt8(value_position_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_position_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_position_type)) { const auto value_position_value = value_position.value; valueSerializer.writePosition(value_position_value); } const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; value_height_type = runtimeType(value_height); valueSerializer.writeInt8(value_height_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_url = value.url; - Ark_Int32 value_url_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_url_type = INTEROP_RUNTIME_UNDEFINED; value_url_type = runtimeType(value_url); valueSerializer.writeInt8(value_url_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_url_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_url_type)) { const auto value_url_value = value_url.value; valueSerializer.writeString(value_url_value); } const auto value_tag = value.tag; - Ark_Int32 value_tag_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_tag_type = INTEROP_RUNTIME_UNDEFINED; value_tag_type = runtimeType(value_tag); valueSerializer.writeInt8(value_tag_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_tag_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_tag_type)) { const auto value_tag_value = value_tag.value; valueSerializer.writeString(value_tag_value); } const auto value_params = value.params; - Ark_Int32 value_params_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_params_type = INTEROP_RUNTIME_UNDEFINED; value_params_type = runtimeType(value_params); valueSerializer.writeInt8(value_params_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_params_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_params_type)) { const auto value_params_value = value_params.value; valueSerializer.writeInt32(value_params_value.size); for (int32_t i = 0; i < value_params_value.size; i++) { @@ -52023,34 +52333,34 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_scrollUp = value.scrollUp; - Ark_Int32 value_scrollUp_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_scrollUp_type = INTEROP_RUNTIME_UNDEFINED; value_scrollUp_type = runtimeType(value_scrollUp); valueSerializer.writeInt8(value_scrollUp_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_scrollUp_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scrollUp_type)) { const auto value_scrollUp_value = value_scrollUp.value; valueSerializer.writeInt32(static_cast(value_scrollUp_value)); } const auto value_scrollDown = value.scrollDown; - Ark_Int32 value_scrollDown_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_scrollDown_type = INTEROP_RUNTIME_UNDEFINED; value_scrollDown_type = runtimeType(value_scrollDown); valueSerializer.writeInt8(value_scrollDown_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_scrollDown_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scrollDown_type)) { const auto value_scrollDown_value = value_scrollDown.value; valueSerializer.writeInt32(static_cast(value_scrollDown_value)); } const auto value_scrollRight = value.scrollRight; - Ark_Int32 value_scrollRight_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_scrollRight_type = INTEROP_RUNTIME_UNDEFINED; value_scrollRight_type = runtimeType(value_scrollRight); valueSerializer.writeInt8(value_scrollRight_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_scrollRight_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scrollRight_type)) { const auto value_scrollRight_value = value_scrollRight.value; valueSerializer.writeInt32(static_cast(value_scrollRight_value)); } const auto value_scrollLeft = value.scrollLeft; - Ark_Int32 value_scrollLeft_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_scrollLeft_type = INTEROP_RUNTIME_UNDEFINED; value_scrollLeft_type = runtimeType(value_scrollLeft); valueSerializer.writeInt8(value_scrollLeft_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_scrollLeft_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scrollLeft_type)) { const auto value_scrollLeft_value = value_scrollLeft.value; valueSerializer.writeInt32(static_cast(value_scrollLeft_value)); } @@ -52163,90 +52473,90 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_selected = value.selected; - Ark_Int32 value_selected_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_selected_type = INTEROP_RUNTIME_UNDEFINED; value_selected_type = runtimeType(value_selected); valueSerializer.writeInt8(value_selected_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_format = value.format; - Ark_Int32 value_format_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_format_type = INTEROP_RUNTIME_UNDEFINED; value_format_type = runtimeType(value_format); valueSerializer.writeInt8(value_format_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_format_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_format_type)) { const auto value_format_value = value_format.value; valueSerializer.writeInt32(static_cast(value_format_value)); } const auto value_useMilitaryTime = value.useMilitaryTime; - Ark_Int32 value_useMilitaryTime_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_useMilitaryTime_type = INTEROP_RUNTIME_UNDEFINED; value_useMilitaryTime_type = runtimeType(value_useMilitaryTime); valueSerializer.writeInt8(value_useMilitaryTime_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_useMilitaryTime_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_useMilitaryTime_type)) { const auto value_useMilitaryTime_value = value_useMilitaryTime.value; valueSerializer.writeBoolean(value_useMilitaryTime_value); } const auto value_disappearTextStyle = value.disappearTextStyle; - Ark_Int32 value_disappearTextStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_disappearTextStyle_type = INTEROP_RUNTIME_UNDEFINED; value_disappearTextStyle_type = runtimeType(value_disappearTextStyle); valueSerializer.writeInt8(value_disappearTextStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_disappearTextStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_disappearTextStyle_type)) { const auto value_disappearTextStyle_value = value_disappearTextStyle.value; valueSerializer.writePickerTextStyle(value_disappearTextStyle_value); } const auto value_textStyle = value.textStyle; - Ark_Int32 value_textStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_textStyle_type = INTEROP_RUNTIME_UNDEFINED; value_textStyle_type = runtimeType(value_textStyle); valueSerializer.writeInt8(value_textStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_textStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textStyle_type)) { const auto value_textStyle_value = value_textStyle.value; valueSerializer.writePickerTextStyle(value_textStyle_value); } const auto value_acceptButtonStyle = value.acceptButtonStyle; - Ark_Int32 value_acceptButtonStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_acceptButtonStyle_type = INTEROP_RUNTIME_UNDEFINED; value_acceptButtonStyle_type = runtimeType(value_acceptButtonStyle); valueSerializer.writeInt8(value_acceptButtonStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_acceptButtonStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_acceptButtonStyle_type)) { const auto value_acceptButtonStyle_value = value_acceptButtonStyle.value; valueSerializer.writePickerDialogButtonStyle(value_acceptButtonStyle_value); } const auto value_cancelButtonStyle = value.cancelButtonStyle; - Ark_Int32 value_cancelButtonStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_cancelButtonStyle_type = INTEROP_RUNTIME_UNDEFINED; value_cancelButtonStyle_type = runtimeType(value_cancelButtonStyle); valueSerializer.writeInt8(value_cancelButtonStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_cancelButtonStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_cancelButtonStyle_type)) { const auto value_cancelButtonStyle_value = value_cancelButtonStyle.value; valueSerializer.writePickerDialogButtonStyle(value_cancelButtonStyle_value); } const auto value_selectedTextStyle = value.selectedTextStyle; - Ark_Int32 value_selectedTextStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_selectedTextStyle_type = INTEROP_RUNTIME_UNDEFINED; value_selectedTextStyle_type = runtimeType(value_selectedTextStyle); valueSerializer.writeInt8(value_selectedTextStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_selectedTextStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_selectedTextStyle_type)) { const auto value_selectedTextStyle_value = value_selectedTextStyle.value; valueSerializer.writePickerTextStyle(value_selectedTextStyle_value); } const auto value_maskRect = value.maskRect; - Ark_Int32 value_maskRect_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_maskRect_type = INTEROP_RUNTIME_UNDEFINED; value_maskRect_type = runtimeType(value_maskRect); valueSerializer.writeInt8(value_maskRect_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_maskRect_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maskRect_type)) { const auto value_maskRect_value = value_maskRect.value; valueSerializer.writeRectangle(value_maskRect_value); } const auto value_alignment = value.alignment; - Ark_Int32 value_alignment_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_alignment_type = INTEROP_RUNTIME_UNDEFINED; value_alignment_type = runtimeType(value_alignment); valueSerializer.writeInt8(value_alignment_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_alignment_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_alignment_type)) { const auto value_alignment_value = value_alignment.value; valueSerializer.writeInt32(static_cast(value_alignment_value)); } const auto value_offset = value.offset; - Ark_Int32 value_offset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; value_offset_type = runtimeType(value_offset); valueSerializer.writeInt8(value_offset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_offset_value_dx); @@ -52254,152 +52564,152 @@ class Serializer : public SerializerBase { valueSerializer.writeLength(value_offset_value_dy); } const auto value_onAccept = value.onAccept; - Ark_Int32 value_onAccept_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onAccept_type = INTEROP_RUNTIME_UNDEFINED; value_onAccept_type = runtimeType(value_onAccept); valueSerializer.writeInt8(value_onAccept_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onAccept_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onAccept_type)) { const auto value_onAccept_value = value_onAccept.value; valueSerializer.writeCallbackResource(value_onAccept_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onAccept_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onAccept_value.callSync)); } const auto value_onCancel = value.onCancel; - Ark_Int32 value_onCancel_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onCancel_type = INTEROP_RUNTIME_UNDEFINED; value_onCancel_type = runtimeType(value_onCancel); valueSerializer.writeInt8(value_onCancel_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onCancel_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onCancel_type)) { const auto value_onCancel_value = value_onCancel.value; valueSerializer.writeCallbackResource(value_onCancel_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onCancel_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onCancel_value.callSync)); } const auto value_onChange = value.onChange; - Ark_Int32 value_onChange_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onChange_type = INTEROP_RUNTIME_UNDEFINED; value_onChange_type = runtimeType(value_onChange); valueSerializer.writeInt8(value_onChange_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onChange_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onChange_type)) { const auto value_onChange_value = value_onChange.value; valueSerializer.writeCallbackResource(value_onChange_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onChange_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onChange_value.callSync)); } const auto value_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); valueSerializer.writeInt8(value_backgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundBlurStyle_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle); valueSerializer.writeInt8(value_backgroundBlurStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_onDidAppear = value.onDidAppear; - Ark_Int32 value_onDidAppear_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onDidAppear_type = INTEROP_RUNTIME_UNDEFINED; value_onDidAppear_type = runtimeType(value_onDidAppear); valueSerializer.writeInt8(value_onDidAppear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onDidDisappear_type = INTEROP_RUNTIME_UNDEFINED; value_onDidDisappear_type = runtimeType(value_onDidDisappear); valueSerializer.writeInt8(value_onDidDisappear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillAppear_type = INTEROP_RUNTIME_UNDEFINED; value_onWillAppear_type = runtimeType(value_onWillAppear); valueSerializer.writeInt8(value_onWillAppear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillDisappear_type = INTEROP_RUNTIME_UNDEFINED; value_onWillDisappear_type = runtimeType(value_onWillDisappear); valueSerializer.writeInt8(value_onWillDisappear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_shadow = value.shadow; - Ark_Int32 value_shadow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_shadow_type = INTEROP_RUNTIME_UNDEFINED; value_shadow_type = runtimeType(value_shadow); valueSerializer.writeInt8(value_shadow_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_shadow_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_shadow_type)) { const auto value_shadow_value = value_shadow.value; - Ark_Int32 value_shadow_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_shadow_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_dateTimeOptions = value.dateTimeOptions; - Ark_Int32 value_dateTimeOptions_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_dateTimeOptions_type = INTEROP_RUNTIME_UNDEFINED; value_dateTimeOptions_type = runtimeType(value_dateTimeOptions); valueSerializer.writeInt8(value_dateTimeOptions_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_dateTimeOptions_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_dateTimeOptions_type)) { const auto value_dateTimeOptions_value = value_dateTimeOptions.value; valueSerializer.writeDateTimeOptions(value_dateTimeOptions_value); } const auto value_enableHoverMode = value.enableHoverMode; - Ark_Int32 value_enableHoverMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableHoverMode_type = INTEROP_RUNTIME_UNDEFINED; value_enableHoverMode_type = runtimeType(value_enableHoverMode); valueSerializer.writeInt8(value_enableHoverMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_hoverModeArea_type = INTEROP_RUNTIME_UNDEFINED; value_hoverModeArea_type = runtimeType(value_hoverModeArea); valueSerializer.writeInt8(value_hoverModeArea_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -52413,7 +52723,7 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_range = value.range; - Ark_Int32 value_range_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_range_type = INTEROP_RUNTIME_UNDEFINED; value_range_type = value_range.selector; if (((value_range_type == 0))) { valueSerializer.writeInt8(0); @@ -52424,7 +52734,7 @@ class Serializer : public SerializerBase { valueSerializer.writeString(value_range_0_element); } } - else if (((value_range_type == 0))) { + else if (((value_range_type == 1))) { valueSerializer.writeInt8(1); const auto value_range_1 = value_range.value1; valueSerializer.writeInt32(value_range_1.length); @@ -52437,12 +52747,12 @@ class Serializer : public SerializerBase { } } } - else if (((value_range_type == 0))) { + 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 == 0))) { + else if (((value_range_type == 3))) { valueSerializer.writeInt8(3); const auto value_range_3 = value_range.value3; valueSerializer.writeInt32(value_range_3.length); @@ -52451,7 +52761,7 @@ class Serializer : public SerializerBase { valueSerializer.writeTextPickerRangeContent(value_range_3_element); } } - else if (((value_range_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); @@ -52461,19 +52771,19 @@ class Serializer : public SerializerBase { } } const auto value_value = value.value; - Ark_Int32 value_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_value_type = INTEROP_RUNTIME_UNDEFINED; value_value_type = runtimeType(value_value); valueSerializer.writeInt8(value_value_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_value_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_type)) { const auto value_value_value = value_value.value; - Ark_Int32 value_value_value_type = ARK_RUNTIME_UNDEFINED; + 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_value_value_0 = value_value_value.value0; valueSerializer.writeString(value_value_value_0); } - else if (((value_value_value_type == 0))) { + else if (((value_value_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_value_value_1 = value_value_value.value1; valueSerializer.writeInt32(value_value_value_1.length); @@ -52484,19 +52794,19 @@ class Serializer : public SerializerBase { } } const auto value_selected = value.selected; - Ark_Int32 value_selected_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_selected_type = INTEROP_RUNTIME_UNDEFINED; value_selected_type = runtimeType(value_selected); valueSerializer.writeInt8(value_selected_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_selected_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_selected_type)) { const auto value_selected_value = value_selected.value; - Ark_Int32 value_selected_value_type = ARK_RUNTIME_UNDEFINED; + 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); } - else if (((value_selected_value_type == 0))) { + 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); @@ -52507,123 +52817,123 @@ class Serializer : public SerializerBase { } } const auto value_defaultPickerItemHeight = value.defaultPickerItemHeight; - Ark_Int32 value_defaultPickerItemHeight_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_defaultPickerItemHeight_type = INTEROP_RUNTIME_UNDEFINED; value_defaultPickerItemHeight_type = runtimeType(value_defaultPickerItemHeight); valueSerializer.writeInt8(value_defaultPickerItemHeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_defaultPickerItemHeight_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_defaultPickerItemHeight_type)) { const auto value_defaultPickerItemHeight_value = value_defaultPickerItemHeight.value; - Ark_Int32 value_defaultPickerItemHeight_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_defaultPickerItemHeight_value_type = INTEROP_RUNTIME_UNDEFINED; value_defaultPickerItemHeight_value_type = value_defaultPickerItemHeight_value.selector; if (((value_defaultPickerItemHeight_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_defaultPickerItemHeight_value_0 = value_defaultPickerItemHeight_value.value0; valueSerializer.writeNumber(value_defaultPickerItemHeight_value_0); } - else if (((value_defaultPickerItemHeight_value_type == 0))) { + else if (((value_defaultPickerItemHeight_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_defaultPickerItemHeight_value_1 = value_defaultPickerItemHeight_value.value1; valueSerializer.writeString(value_defaultPickerItemHeight_value_1); } } const auto value_canLoop = value.canLoop; - Ark_Int32 value_canLoop_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_canLoop_type = INTEROP_RUNTIME_UNDEFINED; value_canLoop_type = runtimeType(value_canLoop); valueSerializer.writeInt8(value_canLoop_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_canLoop_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_canLoop_type)) { const auto value_canLoop_value = value_canLoop.value; valueSerializer.writeBoolean(value_canLoop_value); } const auto value_disappearTextStyle = value.disappearTextStyle; - Ark_Int32 value_disappearTextStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_disappearTextStyle_type = INTEROP_RUNTIME_UNDEFINED; value_disappearTextStyle_type = runtimeType(value_disappearTextStyle); valueSerializer.writeInt8(value_disappearTextStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_disappearTextStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_disappearTextStyle_type)) { const auto value_disappearTextStyle_value = value_disappearTextStyle.value; valueSerializer.writePickerTextStyle(value_disappearTextStyle_value); } const auto value_textStyle = value.textStyle; - Ark_Int32 value_textStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_textStyle_type = INTEROP_RUNTIME_UNDEFINED; value_textStyle_type = runtimeType(value_textStyle); valueSerializer.writeInt8(value_textStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_textStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textStyle_type)) { const auto value_textStyle_value = value_textStyle.value; valueSerializer.writePickerTextStyle(value_textStyle_value); } const auto value_acceptButtonStyle = value.acceptButtonStyle; - Ark_Int32 value_acceptButtonStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_acceptButtonStyle_type = INTEROP_RUNTIME_UNDEFINED; value_acceptButtonStyle_type = runtimeType(value_acceptButtonStyle); valueSerializer.writeInt8(value_acceptButtonStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_acceptButtonStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_acceptButtonStyle_type)) { const auto value_acceptButtonStyle_value = value_acceptButtonStyle.value; valueSerializer.writePickerDialogButtonStyle(value_acceptButtonStyle_value); } const auto value_cancelButtonStyle = value.cancelButtonStyle; - Ark_Int32 value_cancelButtonStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_cancelButtonStyle_type = INTEROP_RUNTIME_UNDEFINED; value_cancelButtonStyle_type = runtimeType(value_cancelButtonStyle); valueSerializer.writeInt8(value_cancelButtonStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_cancelButtonStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_cancelButtonStyle_type)) { const auto value_cancelButtonStyle_value = value_cancelButtonStyle.value; valueSerializer.writePickerDialogButtonStyle(value_cancelButtonStyle_value); } const auto value_selectedTextStyle = value.selectedTextStyle; - Ark_Int32 value_selectedTextStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_selectedTextStyle_type = INTEROP_RUNTIME_UNDEFINED; value_selectedTextStyle_type = runtimeType(value_selectedTextStyle); valueSerializer.writeInt8(value_selectedTextStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_selectedTextStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_selectedTextStyle_type)) { const auto value_selectedTextStyle_value = value_selectedTextStyle.value; valueSerializer.writePickerTextStyle(value_selectedTextStyle_value); } const auto value_onAccept = value.onAccept; - Ark_Int32 value_onAccept_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onAccept_type = INTEROP_RUNTIME_UNDEFINED; value_onAccept_type = runtimeType(value_onAccept); valueSerializer.writeInt8(value_onAccept_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onAccept_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onAccept_type)) { const auto value_onAccept_value = value_onAccept.value; valueSerializer.writeCallbackResource(value_onAccept_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onAccept_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onAccept_value.callSync)); } const auto value_onCancel = value.onCancel; - Ark_Int32 value_onCancel_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onCancel_type = INTEROP_RUNTIME_UNDEFINED; value_onCancel_type = runtimeType(value_onCancel); valueSerializer.writeInt8(value_onCancel_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onCancel_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onCancel_type)) { const auto value_onCancel_value = value_onCancel.value; valueSerializer.writeCallbackResource(value_onCancel_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onCancel_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onCancel_value.callSync)); } const auto value_onChange = value.onChange; - Ark_Int32 value_onChange_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onChange_type = INTEROP_RUNTIME_UNDEFINED; value_onChange_type = runtimeType(value_onChange); valueSerializer.writeInt8(value_onChange_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onChange_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onChange_type)) { const auto value_onChange_value = value_onChange.value; valueSerializer.writeCallbackResource(value_onChange_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onChange_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onChange_value.callSync)); } const auto value_maskRect = value.maskRect; - Ark_Int32 value_maskRect_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_maskRect_type = INTEROP_RUNTIME_UNDEFINED; value_maskRect_type = runtimeType(value_maskRect); valueSerializer.writeInt8(value_maskRect_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_maskRect_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maskRect_type)) { const auto value_maskRect_value = value_maskRect.value; valueSerializer.writeRectangle(value_maskRect_value); } const auto value_alignment = value.alignment; - Ark_Int32 value_alignment_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_alignment_type = INTEROP_RUNTIME_UNDEFINED; value_alignment_type = runtimeType(value_alignment); valueSerializer.writeInt8(value_alignment_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_alignment_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_alignment_type)) { const auto value_alignment_value = value_alignment.value; valueSerializer.writeInt32(static_cast(value_alignment_value)); } const auto value_offset = value.offset; - Ark_Int32 value_offset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; value_offset_type = runtimeType(value_offset); valueSerializer.writeInt8(value_offset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_offset_value_dx); @@ -52631,114 +52941,114 @@ class Serializer : public SerializerBase { valueSerializer.writeLength(value_offset_value_dy); } const auto value_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); valueSerializer.writeInt8(value_backgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundBlurStyle_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle); valueSerializer.writeInt8(value_backgroundBlurStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_onDidAppear = value.onDidAppear; - Ark_Int32 value_onDidAppear_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onDidAppear_type = INTEROP_RUNTIME_UNDEFINED; value_onDidAppear_type = runtimeType(value_onDidAppear); valueSerializer.writeInt8(value_onDidAppear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onDidDisappear_type = INTEROP_RUNTIME_UNDEFINED; value_onDidDisappear_type = runtimeType(value_onDidDisappear); valueSerializer.writeInt8(value_onDidDisappear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillAppear_type = INTEROP_RUNTIME_UNDEFINED; value_onWillAppear_type = runtimeType(value_onWillAppear); valueSerializer.writeInt8(value_onWillAppear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillDisappear_type = INTEROP_RUNTIME_UNDEFINED; value_onWillDisappear_type = runtimeType(value_onWillDisappear); valueSerializer.writeInt8(value_onWillDisappear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_shadow = value.shadow; - Ark_Int32 value_shadow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_shadow_type = INTEROP_RUNTIME_UNDEFINED; value_shadow_type = runtimeType(value_shadow); valueSerializer.writeInt8(value_shadow_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_shadow_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_shadow_type)) { const auto value_shadow_value = value_shadow.value; - Ark_Int32 value_shadow_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_shadow_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_enableHoverMode = value.enableHoverMode; - Ark_Int32 value_enableHoverMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableHoverMode_type = INTEROP_RUNTIME_UNDEFINED; value_enableHoverMode_type = runtimeType(value_enableHoverMode); valueSerializer.writeInt8(value_enableHoverMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_hoverModeArea_type = INTEROP_RUNTIME_UNDEFINED; value_hoverModeArea_type = runtimeType(value_hoverModeArea); valueSerializer.writeInt8(value_hoverModeArea_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -52747,55 +53057,55 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_strokeWidth = value.strokeWidth; - Ark_Int32 value_strokeWidth_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; value_strokeWidth_type = runtimeType(value_strokeWidth); valueSerializer.writeInt8(value_strokeWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { const auto value_strokeWidth_value = value_strokeWidth.value; valueSerializer.writeLength(value_strokeWidth_value); } const auto value_color = value.color; - Ark_Int32 value_color_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 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_color_value_type == 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); } } const auto value_startMargin = value.startMargin; - Ark_Int32 value_startMargin_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_startMargin_type = INTEROP_RUNTIME_UNDEFINED; value_startMargin_type = runtimeType(value_startMargin); valueSerializer.writeInt8(value_startMargin_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_startMargin_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_startMargin_type)) { const auto value_startMargin_value = value_startMargin.value; valueSerializer.writeLength(value_startMargin_value); } const auto value_endMargin = value.endMargin; - Ark_Int32 value_endMargin_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_endMargin_type = INTEROP_RUNTIME_UNDEFINED; value_endMargin_type = runtimeType(value_endMargin); valueSerializer.writeInt8(value_endMargin_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_endMargin_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_endMargin_type)) { const auto value_endMargin_value = value_endMargin.value; valueSerializer.writeLength(value_endMargin_value); } @@ -52804,18 +53114,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_thresholdPercentage = value.thresholdPercentage; - Ark_Int32 value_thresholdPercentage_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_thresholdPercentage_type = INTEROP_RUNTIME_UNDEFINED; value_thresholdPercentage_type = runtimeType(value_thresholdPercentage); valueSerializer.writeInt8(value_thresholdPercentage_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_thresholdPercentage_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_thresholdPercentage_type)) { const auto value_thresholdPercentage_value = value_thresholdPercentage.value; valueSerializer.writeNumber(value_thresholdPercentage_value); } const auto value_highlightBorder = value.highlightBorder; - Ark_Int32 value_highlightBorder_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_highlightBorder_type = INTEROP_RUNTIME_UNDEFINED; value_highlightBorder_type = runtimeType(value_highlightBorder); valueSerializer.writeInt8(value_highlightBorder_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_highlightBorder_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_highlightBorder_type)) { const auto value_highlightBorder_value = value_highlightBorder.value; valueSerializer.writeBoolean(value_highlightBorder_value); } @@ -52824,10 +53134,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_supportAvoidance = value.supportAvoidance; - Ark_Int32 value_supportAvoidance_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_supportAvoidance_type = INTEROP_RUNTIME_UNDEFINED; value_supportAvoidance_type = runtimeType(value_supportAvoidance); valueSerializer.writeInt8(value_supportAvoidance_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_supportAvoidance_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_supportAvoidance_type)) { const auto value_supportAvoidance_value = value_supportAvoidance.value; valueSerializer.writeBoolean(value_supportAvoidance_value); } @@ -52836,116 +53146,116 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_typing = value.typing; - Ark_Int32 value_typing_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_typing_type = INTEROP_RUNTIME_UNDEFINED; value_typing_type = runtimeType(value_typing); valueSerializer.writeInt8(value_typing_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_typing_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_typing_type)) { const auto value_typing_value = value_typing.value; - Ark_Int32 value_typing_value_type = ARK_RUNTIME_UNDEFINED; + 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_typing_value_0 = value_typing_value.value0; valueSerializer.writeInt32(static_cast(value_typing_value_0)); } - else if (((value_typing_value_type == 0))) { + else if (((value_typing_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 == 0))) { + 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 == 0))) { + 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_normal = value.normal; - Ark_Int32 value_normal_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_normal_type = INTEROP_RUNTIME_UNDEFINED; value_normal_type = runtimeType(value_normal); valueSerializer.writeInt8(value_normal_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_normal_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_normal_type)) { const auto value_normal_value = value_normal.value; - Ark_Int32 value_normal_value_type = ARK_RUNTIME_UNDEFINED; + 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_normal_value_0 = value_normal_value.value0; valueSerializer.writeInt32(static_cast(value_normal_value_0)); } - else if (((value_normal_value_type == 0))) { + else if (((value_normal_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 == 0))) { + 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 == 0))) { + 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_error = value.error; - Ark_Int32 value_error_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_error_type = INTEROP_RUNTIME_UNDEFINED; value_error_type = runtimeType(value_error); valueSerializer.writeInt8(value_error_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_error_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_error_type)) { const auto value_error_value = value_error.value; - Ark_Int32 value_error_value_type = ARK_RUNTIME_UNDEFINED; + 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_error_value_0 = value_error_value.value0; valueSerializer.writeInt32(static_cast(value_error_value_0)); } - else if (((value_error_value_type == 0))) { + else if (((value_error_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 == 0))) { + 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 == 0))) { + 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_disable = value.disable; - Ark_Int32 value_disable_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_disable_type = INTEROP_RUNTIME_UNDEFINED; value_disable_type = runtimeType(value_disable); valueSerializer.writeInt8(value_disable_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_disable_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_disable_type)) { const auto value_disable_value = value_disable.value; - Ark_Int32 value_disable_value_type = ARK_RUNTIME_UNDEFINED; + 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_disable_value_0 = value_disable_value.value0; valueSerializer.writeInt32(static_cast(value_disable_value_0)); } - else if (((value_disable_value_type == 0))) { + else if (((value_disable_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_disable_value_1 = value_disable_value.value1; valueSerializer.writeNumber(value_disable_value_1); } - else if (((value_disable_value_type == 0))) { + else if (((value_disable_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_disable_value_2 = value_disable_value.value2; valueSerializer.writeString(value_disable_value_2); } - else if (((value_disable_value_type == 0))) { + 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); @@ -52961,10 +53271,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_menuPolicy = value.menuPolicy; - Ark_Int32 value_menuPolicy_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_menuPolicy_type = INTEROP_RUNTIME_UNDEFINED; value_menuPolicy_type = runtimeType(value_menuPolicy); valueSerializer.writeInt8(value_menuPolicy_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_menuPolicy_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_menuPolicy_type)) { const auto value_menuPolicy_value = value_menuPolicy.value; valueSerializer.writeInt32(static_cast(value_menuPolicy_value)); } @@ -52973,18 +53283,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_start = value.start; - Ark_Int32 value_start_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; value_start_type = runtimeType(value_start); valueSerializer.writeInt8(value_start_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; value_end_type = runtimeType(value_end); valueSerializer.writeInt8(value_end_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_end_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { const auto value_end_value = value_end.value; valueSerializer.writeNumber(value_end_value); } @@ -52993,32 +53303,32 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_content = value.content; - Ark_Int32 value_content_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; value_icon_type = runtimeType(value_icon); valueSerializer.writeInt8(value_icon_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_icon_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { const auto value_icon_value = value_icon.value; - Ark_Int32 value_icon_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); @@ -53041,30 +53351,30 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_onAppear = value.onAppear; - Ark_Int32 value_onAppear_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onAppear_type = INTEROP_RUNTIME_UNDEFINED; value_onAppear_type = runtimeType(value_onAppear); valueSerializer.writeInt8(value_onAppear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onDisappear_type = INTEROP_RUNTIME_UNDEFINED; value_onDisappear_type = runtimeType(value_onDisappear); valueSerializer.writeInt8(value_onDisappear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_menuType_type = INTEROP_RUNTIME_UNDEFINED; value_menuType_type = runtimeType(value_menuType); valueSerializer.writeInt8(value_menuType_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -53073,10 +53383,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_enableVariableFontWeight = value.enableVariableFontWeight; - Ark_Int32 value_enableVariableFontWeight_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableVariableFontWeight_type = INTEROP_RUNTIME_UNDEFINED; value_enableVariableFontWeight_type = runtimeType(value_enableVariableFontWeight); valueSerializer.writeInt8(value_enableVariableFontWeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_enableVariableFontWeight_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableVariableFontWeight_type)) { const auto value_enableVariableFontWeight_value = value_enableVariableFontWeight.value; valueSerializer.writeBoolean(value_enableVariableFontWeight_value); } @@ -53090,154 +53400,154 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value__icon = value._icon; - Ark_Int32 value__icon_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__icon_type = INTEROP_RUNTIME_UNDEFINED; value__icon_type = runtimeType(value__icon); valueSerializer.writeInt8(value__icon_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__icon_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__icon_type)) { const auto value__icon_value = value__icon.value; - Ark_Int32 value__icon_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__icon_value_type = INTEROP_RUNTIME_UNDEFINED; value__icon_value_type = value__icon_value.selector; - if (((value__icon_value_type == 0)) || ((value__icon_value_type == 1))) { + if (((value__icon_value_type == 0)) || ((value__icon_value_type == 0))) { valueSerializer.writeInt8(0); const auto value__icon_value_0 = value__icon_value.value0; - Ark_Int32 value__icon_value_0_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__icon_value_0_type = INTEROP_RUNTIME_UNDEFINED; value__icon_value_0_type = value__icon_value_0.selector; if (((value__icon_value_0_type == 0))) { valueSerializer.writeInt8(0); const auto value__icon_value_0_0 = value__icon_value_0.value0; valueSerializer.writeString(value__icon_value_0_0); } - else if (((value__icon_value_0_type == 0))) { + else if (((value__icon_value_0_type == 1))) { valueSerializer.writeInt8(1); const auto value__icon_value_0_1 = value__icon_value_0.value1; valueSerializer.writeResource(value__icon_value_0_1); } } - else if (((value__icon_value_type == 0))) { + else if (((value__icon_value_type == 1))) { valueSerializer.writeInt8(1); const auto value__icon_value_1 = value__icon_value.value1; valueSerializer.writeTabBarSymbol(value__icon_value_1); } } const auto value__text = value._text; - Ark_Int32 value__text_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__text_type = INTEROP_RUNTIME_UNDEFINED; value__text_type = runtimeType(value__text); valueSerializer.writeInt8(value__text_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__text_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__text_type)) { const auto value__text_value = value__text.value; - Ark_Int32 value__text_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); } } const auto value__labelStyle = value._labelStyle; - Ark_Int32 value__labelStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__labelStyle_type = INTEROP_RUNTIME_UNDEFINED; value__labelStyle_type = runtimeType(value__labelStyle); valueSerializer.writeInt8(value__labelStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__labelStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__labelStyle_type)) { const auto value__labelStyle_value = value__labelStyle.value; valueSerializer.writeLabelStyle(value__labelStyle_value); } const auto value__padding = value._padding; - Ark_Int32 value__padding_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__padding_type = INTEROP_RUNTIME_UNDEFINED; value__padding_type = runtimeType(value__padding); valueSerializer.writeInt8(value__padding_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__padding_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__padding_type)) { const auto value__padding_value = value__padding.value; - Ark_Int32 value__padding_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__padding_value_type = INTEROP_RUNTIME_UNDEFINED; value__padding_value_type = value__padding_value.selector; if (((value__padding_value_type == 0))) { valueSerializer.writeInt8(0); const auto value__padding_value_0 = value__padding_value.value0; const auto value__padding_value_0_top = value__padding_value_0.top; - Ark_Int32 value__padding_value_0_top_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__padding_value_0_top_type = INTEROP_RUNTIME_UNDEFINED; value__padding_value_0_top_type = runtimeType(value__padding_value_0_top); valueSerializer.writeInt8(value__padding_value_0_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__padding_value_0_top_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__padding_value_0_top_type)) { const auto value__padding_value_0_top_value = value__padding_value_0_top.value; valueSerializer.writeLength(value__padding_value_0_top_value); } const auto value__padding_value_0_right = value__padding_value_0.right; - Ark_Int32 value__padding_value_0_right_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__padding_value_0_right_type = INTEROP_RUNTIME_UNDEFINED; value__padding_value_0_right_type = runtimeType(value__padding_value_0_right); valueSerializer.writeInt8(value__padding_value_0_right_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__padding_value_0_right_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__padding_value_0_right_type)) { const auto value__padding_value_0_right_value = value__padding_value_0_right.value; valueSerializer.writeLength(value__padding_value_0_right_value); } const auto value__padding_value_0_bottom = value__padding_value_0.bottom; - Ark_Int32 value__padding_value_0_bottom_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__padding_value_0_bottom_type = INTEROP_RUNTIME_UNDEFINED; value__padding_value_0_bottom_type = runtimeType(value__padding_value_0_bottom); valueSerializer.writeInt8(value__padding_value_0_bottom_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__padding_value_0_bottom_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__padding_value_0_bottom_type)) { const auto value__padding_value_0_bottom_value = value__padding_value_0_bottom.value; valueSerializer.writeLength(value__padding_value_0_bottom_value); } const auto value__padding_value_0_left = value__padding_value_0.left; - Ark_Int32 value__padding_value_0_left_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__padding_value_0_left_type = INTEROP_RUNTIME_UNDEFINED; value__padding_value_0_left_type = runtimeType(value__padding_value_0_left); valueSerializer.writeInt8(value__padding_value_0_left_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__padding_value_0_left_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__padding_value_0_left_type)) { const auto value__padding_value_0_left_value = value__padding_value_0_left.value; valueSerializer.writeLength(value__padding_value_0_left_value); } } - else if (((value__padding_value_type == 0)) || ((value__padding_value_type == 1)) || ((value__padding_value_type == 2))) { + else if (((value__padding_value_type == 1)) || ((value__padding_value_type == 1)) || ((value__padding_value_type == 1))) { valueSerializer.writeInt8(1); const auto value__padding_value_1 = value__padding_value.value1; valueSerializer.writeLength(value__padding_value_1); } - else if (((value__padding_value_type == 0))) { + else if (((value__padding_value_type == 2))) { valueSerializer.writeInt8(2); const auto value__padding_value_2 = value__padding_value.value2; valueSerializer.writeLocalizedPadding(value__padding_value_2); } } const auto value__layoutMode = value._layoutMode; - Ark_Int32 value__layoutMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__layoutMode_type = INTEROP_RUNTIME_UNDEFINED; value__layoutMode_type = runtimeType(value__layoutMode); valueSerializer.writeInt8(value__layoutMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__layoutMode_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__layoutMode_type)) { const auto value__layoutMode_value = value__layoutMode.value; valueSerializer.writeInt32(static_cast(value__layoutMode_value)); } const auto value__verticalAlign = value._verticalAlign; - Ark_Int32 value__verticalAlign_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__verticalAlign_type = INTEROP_RUNTIME_UNDEFINED; value__verticalAlign_type = runtimeType(value__verticalAlign); valueSerializer.writeInt8(value__verticalAlign_type); - if ((ARK_RUNTIME_UNDEFINED) != (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__symmetricExtensible = value._symmetricExtensible; - Ark_Int32 value__symmetricExtensible_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__symmetricExtensible_type = INTEROP_RUNTIME_UNDEFINED; value__symmetricExtensible_type = runtimeType(value__symmetricExtensible); valueSerializer.writeInt8(value__symmetricExtensible_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__symmetricExtensible_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__symmetricExtensible_type)) { const auto value__symmetricExtensible_value = value__symmetricExtensible.value; valueSerializer.writeBoolean(value__symmetricExtensible_value); } const auto value__id = value._id; - Ark_Int32 value__id_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__id_type = INTEROP_RUNTIME_UNDEFINED; value__id_type = runtimeType(value__id); valueSerializer.writeInt8(value__id_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__id_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__id_type)) { const auto value__id_value = value__id.value; valueSerializer.writeString(value__id_value); } const auto value__iconStyle = value._iconStyle; - Ark_Int32 value__iconStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__iconStyle_type = INTEROP_RUNTIME_UNDEFINED; value__iconStyle_type = runtimeType(value__iconStyle); valueSerializer.writeInt8(value__iconStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__iconStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__iconStyle_type)) { const auto value__iconStyle_value = value__iconStyle.value; valueSerializer.writeTabBarIconStyle(value__iconStyle_value); } @@ -53246,127 +53556,127 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value__content = value._content; - Ark_Int32 value__content_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__content_type = INTEROP_RUNTIME_UNDEFINED; value__content_type = runtimeType(value__content); valueSerializer.writeInt8(value__content_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__content_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__content_type)) { const auto value__content_value = value__content.value; - Ark_Int32 value__content_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); } - else if (((value__content_value_type == 0))) { + else if (((value__content_value_type == 2))) { valueSerializer.writeInt8(2); const auto value__content_value_2 = value__content_value.value2; valueSerializer.writeComponentContent(value__content_value_2); } } const auto value__indicator = value._indicator; - Ark_Int32 value__indicator_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__indicator_type = INTEROP_RUNTIME_UNDEFINED; value__indicator_type = runtimeType(value__indicator); valueSerializer.writeInt8(value__indicator_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__indicator_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__indicator_type)) { const auto value__indicator_value = value__indicator.value; valueSerializer.writeIndicatorStyle(value__indicator_value); } const auto value__selectedMode = value._selectedMode; - Ark_Int32 value__selectedMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__selectedMode_type = INTEROP_RUNTIME_UNDEFINED; value__selectedMode_type = runtimeType(value__selectedMode); valueSerializer.writeInt8(value__selectedMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__selectedMode_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__selectedMode_type)) { const auto value__selectedMode_value = value__selectedMode.value; valueSerializer.writeInt32(static_cast(value__selectedMode_value)); } const auto value__board = value._board; - Ark_Int32 value__board_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__board_type = INTEROP_RUNTIME_UNDEFINED; value__board_type = runtimeType(value__board); valueSerializer.writeInt8(value__board_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__board_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__board_type)) { const auto value__board_value = value__board.value; valueSerializer.writeBoardStyle(value__board_value); } const auto value__labelStyle = value._labelStyle; - Ark_Int32 value__labelStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__labelStyle_type = INTEROP_RUNTIME_UNDEFINED; value__labelStyle_type = runtimeType(value__labelStyle); valueSerializer.writeInt8(value__labelStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__labelStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__labelStyle_type)) { const auto value__labelStyle_value = value__labelStyle.value; valueSerializer.writeLabelStyle(value__labelStyle_value); } const auto value__padding = value._padding; - Ark_Int32 value__padding_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__padding_type = INTEROP_RUNTIME_UNDEFINED; value__padding_type = runtimeType(value__padding); valueSerializer.writeInt8(value__padding_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__padding_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__padding_type)) { const auto value__padding_value = value__padding.value; - Ark_Int32 value__padding_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__padding_value_type = INTEROP_RUNTIME_UNDEFINED; value__padding_value_type = value__padding_value.selector; - if (((value__padding_value_type == 0)) || ((value__padding_value_type == 1)) || ((value__padding_value_type == 2)) || ((value__padding_value_type == 3))) { + if (((value__padding_value_type == 0)) || ((value__padding_value_type == 0)) || ((value__padding_value_type == 0)) || ((value__padding_value_type == 0))) { valueSerializer.writeInt8(0); const auto value__padding_value_0 = value__padding_value.value0; - Ark_Int32 value__padding_value_0_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__padding_value_0_type = INTEROP_RUNTIME_UNDEFINED; value__padding_value_0_type = value__padding_value_0.selector; if (((value__padding_value_0_type == 0))) { valueSerializer.writeInt8(0); const auto value__padding_value_0_0 = value__padding_value_0.value0; const auto value__padding_value_0_0_top = value__padding_value_0_0.top; - Ark_Int32 value__padding_value_0_0_top_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__padding_value_0_0_top_type = INTEROP_RUNTIME_UNDEFINED; value__padding_value_0_0_top_type = runtimeType(value__padding_value_0_0_top); valueSerializer.writeInt8(value__padding_value_0_0_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__padding_value_0_0_top_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__padding_value_0_0_top_type)) { const auto value__padding_value_0_0_top_value = value__padding_value_0_0_top.value; valueSerializer.writeLength(value__padding_value_0_0_top_value); } const auto value__padding_value_0_0_right = value__padding_value_0_0.right; - Ark_Int32 value__padding_value_0_0_right_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__padding_value_0_0_right_type = INTEROP_RUNTIME_UNDEFINED; value__padding_value_0_0_right_type = runtimeType(value__padding_value_0_0_right); valueSerializer.writeInt8(value__padding_value_0_0_right_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__padding_value_0_0_right_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__padding_value_0_0_right_type)) { const auto value__padding_value_0_0_right_value = value__padding_value_0_0_right.value; valueSerializer.writeLength(value__padding_value_0_0_right_value); } const auto value__padding_value_0_0_bottom = value__padding_value_0_0.bottom; - Ark_Int32 value__padding_value_0_0_bottom_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__padding_value_0_0_bottom_type = INTEROP_RUNTIME_UNDEFINED; value__padding_value_0_0_bottom_type = runtimeType(value__padding_value_0_0_bottom); valueSerializer.writeInt8(value__padding_value_0_0_bottom_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__padding_value_0_0_bottom_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__padding_value_0_0_bottom_type)) { const auto value__padding_value_0_0_bottom_value = value__padding_value_0_0_bottom.value; valueSerializer.writeLength(value__padding_value_0_0_bottom_value); } const auto value__padding_value_0_0_left = value__padding_value_0_0.left; - Ark_Int32 value__padding_value_0_0_left_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__padding_value_0_0_left_type = INTEROP_RUNTIME_UNDEFINED; value__padding_value_0_0_left_type = runtimeType(value__padding_value_0_0_left); valueSerializer.writeInt8(value__padding_value_0_0_left_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__padding_value_0_0_left_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__padding_value_0_0_left_type)) { const auto value__padding_value_0_0_left_value = value__padding_value_0_0_left.value; valueSerializer.writeLength(value__padding_value_0_0_left_value); } } - else if (((value__padding_value_0_type == 0)) || ((value__padding_value_0_type == 1)) || ((value__padding_value_0_type == 2))) { + else if (((value__padding_value_0_type == 1)) || ((value__padding_value_0_type == 1)) || ((value__padding_value_0_type == 1))) { valueSerializer.writeInt8(1); const auto value__padding_value_0_1 = value__padding_value_0.value1; valueSerializer.writeLength(value__padding_value_0_1); } } - else if (((value__padding_value_type == 0))) { + else if (((value__padding_value_type == 1))) { valueSerializer.writeInt8(1); const auto value__padding_value_1 = value__padding_value.value1; valueSerializer.writeLocalizedPadding(value__padding_value_1); } } const auto value__id = value._id; - Ark_Int32 value__id_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__id_type = INTEROP_RUNTIME_UNDEFINED; value__id_type = runtimeType(value__id); valueSerializer.writeInt8(value__id_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__id_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__id_type)) { const auto value__id_value = value__id.value; valueSerializer.writeString(value__id_value); } @@ -53375,38 +53685,38 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_icon = value.icon; - Ark_Int32 value_icon_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; value_icon_type = runtimeType(value_icon); valueSerializer.writeInt8(value_icon_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_icon_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { const auto value_icon_value = value_icon.value; - Ark_Int32 value_icon_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_text = value.text; - Ark_Int32 value_text_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_text_type = INTEROP_RUNTIME_UNDEFINED; value_text_type = runtimeType(value_text); valueSerializer.writeInt8(value_text_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_text_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_text_type)) { const auto value_text_value = value_text.value; - Ark_Int32 value_text_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); @@ -53417,69 +53727,69 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_colorMode = value.colorMode; - Ark_Int32 value_colorMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_colorMode_type = INTEROP_RUNTIME_UNDEFINED; value_colorMode_type = runtimeType(value_colorMode); valueSerializer.writeInt8(value_colorMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_adaptiveColor_type = INTEROP_RUNTIME_UNDEFINED; value_adaptiveColor_type = runtimeType(value_adaptiveColor); valueSerializer.writeInt8(value_adaptiveColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_scale_type = INTEROP_RUNTIME_UNDEFINED; value_scale_type = runtimeType(value_scale); valueSerializer.writeInt8(value_scale_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_blurOptions_type = INTEROP_RUNTIME_UNDEFINED; value_blurOptions_type = runtimeType(value_blurOptions); valueSerializer.writeInt8(value_blurOptions_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_policy_type = INTEROP_RUNTIME_UNDEFINED; value_policy_type = runtimeType(value_policy); valueSerializer.writeInt8(value_policy_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_inactiveColor_type = INTEROP_RUNTIME_UNDEFINED; value_inactiveColor_type = runtimeType(value_inactiveColor); valueSerializer.writeInt8(value_inactiveColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_inactiveColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_inactiveColor_type)) { const auto value_inactiveColor_value = value_inactiveColor.value; - Ark_Int32 value_inactiveColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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); @@ -53490,18 +53800,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_margin = value.margin; - Ark_Int32 value_margin_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_margin_type = INTEROP_RUNTIME_UNDEFINED; value_margin_type = runtimeType(value_margin); valueSerializer.writeInt8(value_margin_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_margin_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_type)) { const auto value_margin_value = value_margin.value; valueSerializer.writeLength(value_margin_value); } const auto value_nonScrollableLayoutStyle = value.nonScrollableLayoutStyle; - Ark_Int32 value_nonScrollableLayoutStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_nonScrollableLayoutStyle_type = INTEROP_RUNTIME_UNDEFINED; value_nonScrollableLayoutStyle_type = runtimeType(value_nonScrollableLayoutStyle); valueSerializer.writeInt8(value_nonScrollableLayoutStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -53510,10 +53820,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_timeout = value.timeout; - Ark_Int32 value_timeout_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_timeout_type = INTEROP_RUNTIME_UNDEFINED; value_timeout_type = runtimeType(value_timeout); valueSerializer.writeInt8(value_timeout_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_timeout_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_timeout_type)) { const auto value_timeout_value = value_timeout.value; valueSerializer.writeNumber(value_timeout_value); } @@ -53534,124 +53844,124 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value__left = value._left; - Ark_Int32 value__left_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__left_type = INTEROP_RUNTIME_UNDEFINED; value__left_type = runtimeType(value__left); valueSerializer.writeInt8(value__left_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__left_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__left_type)) { const auto value__left_value = value__left.value; valueSerializer.writeLength(value__left_value); } const auto value__top = value._top; - Ark_Int32 value__top_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__top_type = INTEROP_RUNTIME_UNDEFINED; value__top_type = runtimeType(value__top); valueSerializer.writeInt8(value__top_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__top_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__top_type)) { const auto value__top_value = value__top.value; valueSerializer.writeLength(value__top_value); } const auto value__right = value._right; - Ark_Int32 value__right_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__right_type = INTEROP_RUNTIME_UNDEFINED; value__right_type = runtimeType(value__right); valueSerializer.writeInt8(value__right_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__right_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__right_type)) { const auto value__right_value = value__right.value; valueSerializer.writeLength(value__right_value); } const auto value__bottom = value._bottom; - Ark_Int32 value__bottom_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__bottom_type = INTEROP_RUNTIME_UNDEFINED; value__bottom_type = runtimeType(value__bottom); valueSerializer.writeInt8(value__bottom_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__bottom_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__bottom_type)) { const auto value__bottom_value = value__bottom.value; valueSerializer.writeLength(value__bottom_value); } const auto value__start = value._start; - Ark_Int32 value__start_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__start_type = INTEROP_RUNTIME_UNDEFINED; value__start_type = runtimeType(value__start); valueSerializer.writeInt8(value__start_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__end_type = INTEROP_RUNTIME_UNDEFINED; value__end_type = runtimeType(value__end); valueSerializer.writeInt8(value__end_type); - if ((ARK_RUNTIME_UNDEFINED) != (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__fontColor = value._fontColor; - Ark_Int32 value__fontColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__fontColor_type = INTEROP_RUNTIME_UNDEFINED; value__fontColor_type = runtimeType(value__fontColor); valueSerializer.writeInt8(value__fontColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__fontColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__fontColor_type)) { const auto value__fontColor_value = value__fontColor.value; - Ark_Int32 value__fontColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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__selectedFontColor = value._selectedFontColor; - Ark_Int32 value__selectedFontColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__selectedFontColor_type = INTEROP_RUNTIME_UNDEFINED; value__selectedFontColor_type = runtimeType(value__selectedFontColor); valueSerializer.writeInt8(value__selectedFontColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__selectedFontColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__selectedFontColor_type)) { const auto value__selectedFontColor_value = value__selectedFontColor.value; - Ark_Int32 value__selectedFontColor_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__selectedFontColor_value_type = INTEROP_RUNTIME_UNDEFINED; value__selectedFontColor_value_type = value__selectedFontColor_value.selector; if (((value__selectedFontColor_value_type == 0))) { valueSerializer.writeInt8(0); const auto value__selectedFontColor_value_0 = value__selectedFontColor_value.value0; valueSerializer.writeInt32(static_cast(value__selectedFontColor_value_0)); } - else if (((value__selectedFontColor_value_type == 0))) { + else if (((value__selectedFontColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value__selectedFontColor_value_1 = value__selectedFontColor_value.value1; valueSerializer.writeNumber(value__selectedFontColor_value_1); } - else if (((value__selectedFontColor_value_type == 0))) { + else if (((value__selectedFontColor_value_type == 2))) { valueSerializer.writeInt8(2); const auto value__selectedFontColor_value_2 = value__selectedFontColor_value.value2; valueSerializer.writeString(value__selectedFontColor_value_2); } - else if (((value__selectedFontColor_value_type == 0))) { + else if (((value__selectedFontColor_value_type == 3))) { valueSerializer.writeInt8(3); const auto value__selectedFontColor_value_3 = value__selectedFontColor_value.value3; valueSerializer.writeResource(value__selectedFontColor_value_3); } } const auto value__digitFont = value._digitFont; - Ark_Int32 value__digitFont_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__digitFont_type = INTEROP_RUNTIME_UNDEFINED; value__digitFont_type = runtimeType(value__digitFont); valueSerializer.writeInt8(value__digitFont_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__digitFont_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__digitFont_type)) { const auto value__digitFont_value = value__digitFont.value; valueSerializer.writeFont(value__digitFont_value); } const auto value__selectedDigitFont = value._selectedDigitFont; - Ark_Int32 value__selectedDigitFont_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__selectedDigitFont_type = INTEROP_RUNTIME_UNDEFINED; value__selectedDigitFont_type = runtimeType(value__selectedDigitFont); valueSerializer.writeInt8(value__selectedDigitFont_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__selectedDigitFont_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__selectedDigitFont_type)) { const auto value__selectedDigitFont_value = value__selectedDigitFont.value; valueSerializer.writeFont(value__selectedDigitFont_value); } @@ -53660,156 +53970,156 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value__left = value._left; - Ark_Int32 value__left_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__left_type = INTEROP_RUNTIME_UNDEFINED; value__left_type = runtimeType(value__left); valueSerializer.writeInt8(value__left_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__left_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__left_type)) { const auto value__left_value = value__left.value; valueSerializer.writeLength(value__left_value); } const auto value__top = value._top; - Ark_Int32 value__top_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__top_type = INTEROP_RUNTIME_UNDEFINED; value__top_type = runtimeType(value__top); valueSerializer.writeInt8(value__top_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__top_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__top_type)) { const auto value__top_value = value__top.value; valueSerializer.writeLength(value__top_value); } const auto value__right = value._right; - Ark_Int32 value__right_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__right_type = INTEROP_RUNTIME_UNDEFINED; value__right_type = runtimeType(value__right); valueSerializer.writeInt8(value__right_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__right_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__right_type)) { const auto value__right_value = value__right.value; valueSerializer.writeLength(value__right_value); } const auto value__bottom = value._bottom; - Ark_Int32 value__bottom_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__bottom_type = INTEROP_RUNTIME_UNDEFINED; value__bottom_type = runtimeType(value__bottom); valueSerializer.writeInt8(value__bottom_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__bottom_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__bottom_type)) { const auto value__bottom_value = value__bottom.value; valueSerializer.writeLength(value__bottom_value); } const auto value__start = value._start; - Ark_Int32 value__start_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__start_type = INTEROP_RUNTIME_UNDEFINED; value__start_type = runtimeType(value__start); valueSerializer.writeInt8(value__start_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__end_type = INTEROP_RUNTIME_UNDEFINED; value__end_type = runtimeType(value__end); valueSerializer.writeInt8(value__end_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__itemWidth_type = INTEROP_RUNTIME_UNDEFINED; value__itemWidth_type = runtimeType(value__itemWidth); valueSerializer.writeInt8(value__itemWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__itemWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__itemWidth_type)) { const auto value__itemWidth_value = value__itemWidth.value; valueSerializer.writeLength(value__itemWidth_value); } const auto value__itemHeight = value._itemHeight; - Ark_Int32 value__itemHeight_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__itemHeight_type = INTEROP_RUNTIME_UNDEFINED; value__itemHeight_type = runtimeType(value__itemHeight); valueSerializer.writeInt8(value__itemHeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__itemHeight_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__itemHeight_type)) { const auto value__itemHeight_value = value__itemHeight.value; valueSerializer.writeLength(value__itemHeight_value); } const auto value__selectedItemWidth = value._selectedItemWidth; - Ark_Int32 value__selectedItemWidth_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__selectedItemWidth_type = INTEROP_RUNTIME_UNDEFINED; value__selectedItemWidth_type = runtimeType(value__selectedItemWidth); valueSerializer.writeInt8(value__selectedItemWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__selectedItemWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__selectedItemWidth_type)) { const auto value__selectedItemWidth_value = value__selectedItemWidth.value; valueSerializer.writeLength(value__selectedItemWidth_value); } const auto value__selectedItemHeight = value._selectedItemHeight; - Ark_Int32 value__selectedItemHeight_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__selectedItemHeight_type = INTEROP_RUNTIME_UNDEFINED; value__selectedItemHeight_type = runtimeType(value__selectedItemHeight); valueSerializer.writeInt8(value__selectedItemHeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__selectedItemHeight_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__selectedItemHeight_type)) { const auto value__selectedItemHeight_value = value__selectedItemHeight.value; valueSerializer.writeLength(value__selectedItemHeight_value); } const auto value__mask = value._mask; - Ark_Int32 value__mask_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__mask_type = INTEROP_RUNTIME_UNDEFINED; value__mask_type = runtimeType(value__mask); valueSerializer.writeInt8(value__mask_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__color_type = INTEROP_RUNTIME_UNDEFINED; value__color_type = runtimeType(value__color); valueSerializer.writeInt8(value__color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__color_type)) { const auto value__color_value = value__color.value; - Ark_Int32 value__color_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 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__color_value_type == 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); } } const auto value__selectedColor = value._selectedColor; - Ark_Int32 value__selectedColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__selectedColor_type = INTEROP_RUNTIME_UNDEFINED; value__selectedColor_type = runtimeType(value__selectedColor); valueSerializer.writeInt8(value__selectedColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__selectedColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__selectedColor_type)) { const auto value__selectedColor_value = value__selectedColor.value; - Ark_Int32 value__selectedColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value__maxDisplayCount_type = INTEROP_RUNTIME_UNDEFINED; value__maxDisplayCount_type = runtimeType(value__maxDisplayCount); valueSerializer.writeInt8(value__maxDisplayCount_type); - if ((ARK_RUNTIME_UNDEFINED) != (value__maxDisplayCount_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value__maxDisplayCount_type)) { const auto value__maxDisplayCount_value = value__maxDisplayCount.value; valueSerializer.writeNumber(value__maxDisplayCount_value); } @@ -53818,14 +54128,14 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_minSize = value.minSize; - Ark_Int32 value_minSize_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_minSize_type = INTEROP_RUNTIME_UNDEFINED; value_minSize_type = value_minSize.selector; if (((value_minSize_type == 0))) { valueSerializer.writeInt8(0); const auto value_minSize_0 = value_minSize.value0; valueSerializer.writeString(value_minSize_0); } - else if (((value_minSize_type == 0))) { + else if (((value_minSize_type == 1))) { valueSerializer.writeInt8(1); const auto value_minSize_1 = value_minSize.value1; valueSerializer.writeNumber(value_minSize_1); @@ -53835,90 +54145,90 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_showBackground = value.showBackground; - Ark_Int32 value_showBackground_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_showBackground_type = INTEROP_RUNTIME_UNDEFINED; value_showBackground_type = runtimeType(value_showBackground); valueSerializer.writeInt8(value_showBackground_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_isSidebarMiddle_type = INTEROP_RUNTIME_UNDEFINED; value_isSidebarMiddle_type = runtimeType(value_isSidebarMiddle); valueSerializer.writeInt8(value_isSidebarMiddle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundSize_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundSize_type = runtimeType(value_backgroundSize); valueSerializer.writeInt8(value_backgroundSize_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_backgroundSize_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundSize_type)) { const auto value_backgroundSize_value = value_backgroundSize.value; valueSerializer.writeLength(value_backgroundSize_value); } const auto value_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); valueSerializer.writeInt8(value_backgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_arrowSize = value.arrowSize; - Ark_Int32 value_arrowSize_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_arrowSize_type = INTEROP_RUNTIME_UNDEFINED; value_arrowSize_type = runtimeType(value_arrowSize); valueSerializer.writeInt8(value_arrowSize_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_arrowSize_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_arrowSize_type)) { const auto value_arrowSize_value = value_arrowSize.value; valueSerializer.writeLength(value_arrowSize_value); } const auto value_arrowColor = value.arrowColor; - Ark_Int32 value_arrowColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_arrowColor_type = INTEROP_RUNTIME_UNDEFINED; value_arrowColor_type = runtimeType(value_arrowColor); valueSerializer.writeInt8(value_arrowColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_arrowColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_arrowColor_type)) { const auto value_arrowColor_value = value_arrowColor.value; - Ark_Int32 value_arrowColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_arrowColor_value_0 = value_arrowColor_value.value0; valueSerializer.writeInt32(static_cast(value_arrowColor_value_0)); } - else if (((value_arrowColor_value_type == 0))) { + else if (((value_arrowColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_arrowColor_value_1 = value_arrowColor_value.value1; valueSerializer.writeNumber(value_arrowColor_value_1); } - else if (((value_arrowColor_value_type == 0))) { + else if (((value_arrowColor_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_arrowColor_value_2 = value_arrowColor_value.value2; valueSerializer.writeString(value_arrowColor_value_2); } - else if (((value_arrowColor_value_type == 0))) { + 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); @@ -53929,34 +54239,34 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_top = value.top; - Ark_Int32 value_top_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; value_top_type = runtimeType(value_top); valueSerializer.writeInt8(value_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; value_start_type = runtimeType(value_start); valueSerializer.writeInt8(value_start_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; value_bottom_type = runtimeType(value_bottom); valueSerializer.writeInt8(value_bottom_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; value_end_type = runtimeType(value_end); valueSerializer.writeInt8(value_end_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_end_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { const auto value_end_value = value_end.value; valueSerializer.writeLengthMetrics(value_end_value); } @@ -53965,34 +54275,34 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_top = value.top; - Ark_Int32 value_top_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; value_top_type = runtimeType(value_top); valueSerializer.writeInt8(value_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_top_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { const auto value_top_value = value_top.value; valueSerializer.writeLength(value_top_value); } const auto value_left = value.left; - Ark_Int32 value_left_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_left_type = INTEROP_RUNTIME_UNDEFINED; value_left_type = runtimeType(value_left); valueSerializer.writeInt8(value_left_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_left_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_left_type)) { const auto value_left_value = value_left.value; valueSerializer.writeLength(value_left_value); } const auto value_bottom = value.bottom; - Ark_Int32 value_bottom_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; value_bottom_type = runtimeType(value_bottom); valueSerializer.writeInt8(value_bottom_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_bottom_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { const auto value_bottom_value = value_bottom.value; valueSerializer.writeLength(value_bottom_value); } const auto value_right = value.right; - Ark_Int32 value_right_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_right_type = INTEROP_RUNTIME_UNDEFINED; value_right_type = runtimeType(value_right); valueSerializer.writeInt8(value_right_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_right_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_right_type)) { const auto value_right_value = value_right.value; valueSerializer.writeLength(value_right_value); } @@ -54001,47 +54311,47 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_fontSize = value.fontSize; - Ark_Int32 value_fontSize_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontSize_type = INTEROP_RUNTIME_UNDEFINED; value_fontSize_type = runtimeType(value_fontSize); valueSerializer.writeInt8(value_fontSize_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontSize_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontSize_type)) { const auto value_fontSize_value = value_fontSize.value; valueSerializer.writeLength(value_fontSize_value); } const auto value_fontColor = value.fontColor; - Ark_Int32 value_fontColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontColor_type = INTEROP_RUNTIME_UNDEFINED; value_fontColor_type = runtimeType(value_fontColor); valueSerializer.writeInt8(value_fontColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontColor_type)) { const auto value_fontColor_value = value_fontColor.value; - Ark_Int32 value_fontColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_autoDisable = value.autoDisable; - Ark_Int32 value_autoDisable_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_autoDisable_type = INTEROP_RUNTIME_UNDEFINED; value_autoDisable_type = runtimeType(value_autoDisable); valueSerializer.writeInt8(value_autoDisable_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_autoDisable_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_autoDisable_type)) { const auto value_autoDisable_value = value_autoDisable.value; valueSerializer.writeBoolean(value_autoDisable_value); } @@ -54050,18 +54360,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_style = value.style; - Ark_Int32 value_style_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; value_style_type = runtimeType(value_style); valueSerializer.writeInt8(value_style_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_icon = value.icon; - Ark_Int32 value_icon_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; value_icon_type = runtimeType(value_icon); valueSerializer.writeInt8(value_icon_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_icon_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { const auto value_icon_value = value_icon.value; valueSerializer.writeSymbolGlyphModifier(value_icon_value); } @@ -54070,18 +54380,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_style = value.style; - Ark_Int32 value_style_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; value_style_type = runtimeType(value_style); valueSerializer.writeInt8(value_style_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_icon = value.icon; - Ark_Int32 value_icon_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; value_icon_type = runtimeType(value_icon); valueSerializer.writeInt8(value_icon_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_icon_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { const auto value_icon_value = value_icon.value; valueSerializer.writeIconOptions(value_icon_value); } @@ -54101,10 +54411,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_extraOffset = value.extraOffset; - Ark_Int32 value_extraOffset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_extraOffset_type = INTEROP_RUNTIME_UNDEFINED; value_extraOffset_type = runtimeType(value_extraOffset); valueSerializer.writeInt8(value_extraOffset_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_extraOffset_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_extraOffset_type)) { const auto value_extraOffset_value = value_extraOffset.value; valueSerializer.writeLengthMetrics(value_extraOffset_value); } @@ -54115,10 +54425,10 @@ class Serializer : public SerializerBase { const auto value_next = value.next; valueSerializer.writeBoolean(value_next); const auto value_animation = value.animation; - Ark_Int32 value_animation_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_animation_type = INTEROP_RUNTIME_UNDEFINED; value_animation_type = runtimeType(value_animation); valueSerializer.writeInt8(value_animation_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_animation_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_animation_type)) { const auto value_animation_value = value_animation.value; valueSerializer.writeBoolean(value_animation_value); } @@ -54127,10 +54437,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_velocity = value.velocity; - Ark_Int32 value_velocity_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_velocity_type = INTEROP_RUNTIME_UNDEFINED; value_velocity_type = runtimeType(value_velocity); valueSerializer.writeInt8(value_velocity_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_velocity_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_velocity_type)) { const auto value_velocity_value = value_velocity.value; valueSerializer.writeNumber(value_velocity_value); } @@ -54139,45 +54449,45 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_xOffset = value.xOffset; - Ark_Int32 value_xOffset_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + 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_yOffset_type == 0))) { + 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_animation = value.animation; - Ark_Int32 value_animation_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_animation_type = INTEROP_RUNTIME_UNDEFINED; value_animation_type = runtimeType(value_animation); valueSerializer.writeInt8(value_animation_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_animation_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_animation_type)) { const auto value_animation_value = value_animation.value; - Ark_Int32 value_animation_value_type = ARK_RUNTIME_UNDEFINED; + 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_animation_value_0 = value_animation_value.value0; valueSerializer.writeScrollAnimationOptions(value_animation_value_0); } - else if (((value_animation_value_type == 0))) { + else if (((value_animation_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_animation_value_1 = value_animation_value.value1; valueSerializer.writeBoolean(value_animation_value_1); @@ -54198,37 +54508,37 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_font = value.font; - Ark_Int32 value_font_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_font_type = INTEROP_RUNTIME_UNDEFINED; value_font_type = runtimeType(value_font); valueSerializer.writeInt8(value_font_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_fontColor = value.fontColor; - Ark_Int32 value_fontColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontColor_type = INTEROP_RUNTIME_UNDEFINED; value_fontColor_type = runtimeType(value_fontColor); valueSerializer.writeInt8(value_fontColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontColor_type)) { const auto value_fontColor_value = value_fontColor.value; - Ark_Int32 value_fontColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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); @@ -54241,27 +54551,27 @@ class Serializer : public SerializerBase { const auto value_spanPosition = value.spanPosition; valueSerializer.writeRichEditorSpanPosition(value_spanPosition); const auto value_valuePixelMap = value.valuePixelMap; - Ark_Int32 value_valuePixelMap_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_valuePixelMap_type = INTEROP_RUNTIME_UNDEFINED; value_valuePixelMap_type = runtimeType(value_valuePixelMap); valueSerializer.writeInt8(value_valuePixelMap_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_valuePixelMap_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_valuePixelMap_type)) { const auto value_valuePixelMap_value = value_valuePixelMap.value; valueSerializer.writePixelMap(value_valuePixelMap_value); } const auto value_valueResourceStr = value.valueResourceStr; - Ark_Int32 value_valueResourceStr_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_valueResourceStr_type = INTEROP_RUNTIME_UNDEFINED; value_valueResourceStr_type = runtimeType(value_valueResourceStr); valueSerializer.writeInt8(value_valueResourceStr_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_valueResourceStr_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_valueResourceStr_type)) { const auto value_valueResourceStr_value = value_valueResourceStr.value; - Ark_Int32 value_valueResourceStr_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_valueResourceStr_value_type = INTEROP_RUNTIME_UNDEFINED; value_valueResourceStr_value_type = value_valueResourceStr_value.selector; if (((value_valueResourceStr_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_valueResourceStr_value_0 = value_valueResourceStr_value.value0; valueSerializer.writeString(value_valueResourceStr_value_0); } - else if (((value_valueResourceStr_value_type == 0))) { + else if (((value_valueResourceStr_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_valueResourceStr_value_1 = value_valueResourceStr_value.value1; valueSerializer.writeResource(value_valueResourceStr_value_1); @@ -54290,34 +54600,34 @@ class Serializer : public SerializerBase { const auto value_offsetInSpan_1 = value_offsetInSpan.value1; valueSerializer.writeNumber(value_offsetInSpan_1); const auto value_symbolSpanStyle = value.symbolSpanStyle; - Ark_Int32 value_symbolSpanStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_symbolSpanStyle_type = INTEROP_RUNTIME_UNDEFINED; value_symbolSpanStyle_type = runtimeType(value_symbolSpanStyle); valueSerializer.writeInt8(value_symbolSpanStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_symbolSpanStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_symbolSpanStyle_type)) { const auto value_symbolSpanStyle_value = value_symbolSpanStyle.value; valueSerializer.writeRichEditorSymbolSpanStyle(value_symbolSpanStyle_value); } const auto value_valueResource = value.valueResource; - Ark_Int32 value_valueResource_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_valueResource_type = INTEROP_RUNTIME_UNDEFINED; value_valueResource_type = runtimeType(value_valueResource); valueSerializer.writeInt8(value_valueResource_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_valueResource_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_valueResource_type)) { const auto value_valueResource_value = value_valueResource.value; valueSerializer.writeResource(value_valueResource_value); } const auto value_paragraphStyle = value.paragraphStyle; - Ark_Int32 value_paragraphStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_paragraphStyle_type = INTEROP_RUNTIME_UNDEFINED; value_paragraphStyle_type = runtimeType(value_paragraphStyle); valueSerializer.writeInt8(value_paragraphStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_paragraphStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_paragraphStyle_type)) { const auto value_paragraphStyle_value = value_paragraphStyle.value; valueSerializer.writeRichEditorParagraphStyle(value_paragraphStyle_value); } const auto value_previewText = value.previewText; - Ark_Int32 value_previewText_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_previewText_type = INTEROP_RUNTIME_UNDEFINED; value_previewText_type = runtimeType(value_previewText); valueSerializer.writeInt8(value_previewText_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_previewText_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_previewText_type)) { const auto value_previewText_value = value_previewText.value; valueSerializer.writeString(value_previewText_value); } @@ -54326,20 +54636,20 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_onWillChange = value.onWillChange; - Ark_Int32 value_onWillChange_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillChange_type = INTEROP_RUNTIME_UNDEFINED; value_onWillChange_type = runtimeType(value_onWillChange); valueSerializer.writeInt8(value_onWillChange_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onWillChange_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillChange_type)) { const auto value_onWillChange_value = value_onWillChange.value; valueSerializer.writeCallbackResource(value_onWillChange_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onWillChange_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onWillChange_value.callSync)); } const auto value_onDidChange = value.onDidChange; - Ark_Int32 value_onDidChange_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onDidChange_type = INTEROP_RUNTIME_UNDEFINED; value_onDidChange_type = runtimeType(value_onDidChange); valueSerializer.writeInt8(value_onDidChange_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onDidChange_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDidChange_type)) { const auto value_onDidChange_value = value_onDidChange.value; valueSerializer.writeCallbackResource(value_onDidChange_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onDidChange_value.call)); @@ -54350,18 +54660,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_start = value.start; - Ark_Int32 value_start_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; value_start_type = runtimeType(value_start); valueSerializer.writeInt8(value_start_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; value_end_type = runtimeType(value_end); valueSerializer.writeInt8(value_end_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_end_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { const auto value_end_value = value_end.value; valueSerializer.writeNumber(value_end_value); } @@ -54370,18 +54680,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_start = value.start; - Ark_Int32 value_start_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; value_start_type = runtimeType(value_start); valueSerializer.writeInt8(value_start_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; value_end_type = runtimeType(value_end); valueSerializer.writeInt8(value_end_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_end_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { const auto value_end_value = value_end.value; valueSerializer.writeNumber(value_end_value); } @@ -54392,18 +54702,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_start = value.start; - Ark_Int32 value_start_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; value_start_type = runtimeType(value_start); valueSerializer.writeInt8(value_start_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; value_end_type = runtimeType(value_end); valueSerializer.writeInt8(value_end_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_end_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { const auto value_end_value = value_end.value; valueSerializer.writeNumber(value_end_value); } @@ -54414,18 +54724,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_start = value.start; - Ark_Int32 value_start_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; value_start_type = runtimeType(value_start); valueSerializer.writeInt8(value_start_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; value_end_type = runtimeType(value_end); valueSerializer.writeInt8(value_end_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_end_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { const auto value_end_value = value_end.value; valueSerializer.writeNumber(value_end_value); } @@ -54436,18 +54746,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_start = value.start; - Ark_Int32 value_start_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; value_start_type = runtimeType(value_start); valueSerializer.writeInt8(value_start_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; value_end_type = runtimeType(value_end); valueSerializer.writeInt8(value_end_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_end_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { const auto value_end_value = value_end.value; valueSerializer.writeNumber(value_end_value); } @@ -54458,18 +54768,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_offset = value.offset; - Ark_Int32 value_offset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; value_offset_type = runtimeType(value_offset); valueSerializer.writeInt8(value_offset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; value_style_type = runtimeType(value_style); valueSerializer.writeInt8(value_style_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_style_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_style_type)) { const auto value_style_value = value_style.value; valueSerializer.writeRichEditorSymbolSpanStyle(value_style_value); } @@ -54478,10 +54788,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_offset = value.offset; - Ark_Int32 value_offset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; value_offset_type = runtimeType(value_offset); valueSerializer.writeInt8(value_offset_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_offset_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { const auto value_offset_value = value_offset.value; valueSerializer.writeNumber(value_offset_value); } @@ -54490,26 +54800,26 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_offset = value.offset; - Ark_Int32 value_offset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; value_offset_type = runtimeType(value_offset); valueSerializer.writeInt8(value_offset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_imageStyle = value.imageStyle; - Ark_Int32 value_imageStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_imageStyle_type = INTEROP_RUNTIME_UNDEFINED; value_imageStyle_type = runtimeType(value_imageStyle); valueSerializer.writeInt8(value_imageStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_imageStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_imageStyle_type)) { const auto value_imageStyle_value = value_imageStyle.value; valueSerializer.writeRichEditorImageSpanStyle(value_imageStyle_value); } const auto value_gesture = value.gesture; - Ark_Int32 value_gesture_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_gesture_type = INTEROP_RUNTIME_UNDEFINED; value_gesture_type = runtimeType(value_gesture); valueSerializer.writeInt8(value_gesture_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_gesture_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_gesture_type)) { const auto value_gesture_value = value_gesture.value; valueSerializer.writeRichEditorGesture(value_gesture_value); } @@ -54518,34 +54828,34 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_offset = value.offset; - Ark_Int32 value_offset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; value_offset_type = runtimeType(value_offset); valueSerializer.writeInt8(value_offset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; value_style_type = runtimeType(value_style); valueSerializer.writeInt8(value_style_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_style_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_style_type)) { const auto value_style_value = value_style.value; valueSerializer.writeRichEditorTextStyle(value_style_value); } const auto value_paragraphStyle = value.paragraphStyle; - Ark_Int32 value_paragraphStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_paragraphStyle_type = INTEROP_RUNTIME_UNDEFINED; value_paragraphStyle_type = runtimeType(value_paragraphStyle); valueSerializer.writeInt8(value_paragraphStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_paragraphStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_paragraphStyle_type)) { const auto value_paragraphStyle_value = value_paragraphStyle.value; valueSerializer.writeRichEditorParagraphStyle(value_paragraphStyle_value); } const auto value_gesture = value.gesture; - Ark_Int32 value_gesture_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_gesture_type = INTEROP_RUNTIME_UNDEFINED; value_gesture_type = runtimeType(value_gesture); valueSerializer.writeInt8(value_gesture_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_gesture_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_gesture_type)) { const auto value_gesture_value = value_gesture.value; valueSerializer.writeRichEditorGesture(value_gesture_value); } @@ -54554,18 +54864,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_start = value.start; - Ark_Int32 value_start_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; value_start_type = runtimeType(value_start); valueSerializer.writeInt8(value_start_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_start_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { const auto value_start_value = value_start.value; valueSerializer.writeLength(value_start_value); } const auto value_end = value.end; - Ark_Int32 value_end_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; value_end_type = runtimeType(value_end); valueSerializer.writeInt8(value_end_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_end_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { const auto value_end_value = value_end.value; valueSerializer.writeLength(value_end_value); } @@ -54574,76 +54884,76 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = ARK_RUNTIME_UNDEFINED; + 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_width_value_type == 0))) { + 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_height = value.height; - Ark_Int32 value_height_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; value_height_type = runtimeType(value_height); valueSerializer.writeInt8(value_height_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_height_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { const auto value_height_value = value_height.value; - Ark_Int32 value_height_value_type = ARK_RUNTIME_UNDEFINED; + 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_height_value_type == 0))) { + 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_radiusWidth = value.radiusWidth; - Ark_Int32 value_radiusWidth_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_radiusWidth_type = INTEROP_RUNTIME_UNDEFINED; value_radiusWidth_type = runtimeType(value_radiusWidth); valueSerializer.writeInt8(value_radiusWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_radiusWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_radiusWidth_type)) { const auto value_radiusWidth_value = value_radiusWidth.value; - Ark_Int32 value_radiusWidth_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_radiusWidth_value_type = INTEROP_RUNTIME_UNDEFINED; value_radiusWidth_value_type = value_radiusWidth_value.selector; if (((value_radiusWidth_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_radiusWidth_value_0 = value_radiusWidth_value.value0; valueSerializer.writeNumber(value_radiusWidth_value_0); } - else if (((value_radiusWidth_value_type == 0))) { + else if (((value_radiusWidth_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_radiusWidth_value_1 = value_radiusWidth_value.value1; valueSerializer.writeString(value_radiusWidth_value_1); } } const auto value_radiusHeight = value.radiusHeight; - Ark_Int32 value_radiusHeight_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_radiusHeight_type = INTEROP_RUNTIME_UNDEFINED; value_radiusHeight_type = runtimeType(value_radiusHeight); valueSerializer.writeInt8(value_radiusHeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_radiusHeight_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_radiusHeight_type)) { const auto value_radiusHeight_value = value_radiusHeight.value; - Ark_Int32 value_radiusHeight_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_radiusHeight_value_type = INTEROP_RUNTIME_UNDEFINED; value_radiusHeight_value_type = value_radiusHeight_value.selector; if (((value_radiusHeight_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_radiusHeight_value_0 = value_radiusHeight_value.value0; valueSerializer.writeNumber(value_radiusHeight_value_0); } - else if (((value_radiusHeight_value_type == 0))) { + else if (((value_radiusHeight_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_radiusHeight_value_1 = value_radiusHeight_value.value1; valueSerializer.writeString(value_radiusHeight_value_1); @@ -54654,68 +54964,79 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = ARK_RUNTIME_UNDEFINED; + 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_width_value_type == 0))) { + 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_height = value.height; - Ark_Int32 value_height_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; value_height_type = runtimeType(value_height); valueSerializer.writeInt8(value_height_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_height_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { const auto value_height_value = value_height.value; - Ark_Int32 value_height_value_type = ARK_RUNTIME_UNDEFINED; + 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_height_value_type == 0))) { + 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_radius = value.radius; - Ark_Int32 value_radius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; value_radius_type = runtimeType(value_radius); valueSerializer.writeInt8(value_radius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_radius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_type)) { const auto value_radius_value = value_radius.value; - Ark_Int32 value_radius_value_type = ARK_RUNTIME_UNDEFINED; + 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_radius_value_0 = value_radius_value.value0; valueSerializer.writeNumber(value_radius_value_0); } - else if (((value_radius_value_type == 0))) { + else if (((value_radius_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_radius_value_1 = value_radius_value.value1; valueSerializer.writeString(value_radius_value_1); } - else if (((value_radius_value_type == 0))) { + else if (((value_radius_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_CustomObject value_radius_value_2_element = value_radius_value_2.array[i]; - valueSerializer.writeCustomObject("Any", value_radius_value_2_element); + 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); + } } } } @@ -54724,34 +55045,34 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_enableSmoothEffect = value.enableSmoothEffect; - Ark_Int32 value_enableSmoothEffect_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableSmoothEffect_type = INTEROP_RUNTIME_UNDEFINED; value_enableSmoothEffect_type = runtimeType(value_enableSmoothEffect); valueSerializer.writeInt8(value_enableSmoothEffect_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; value_strokeWidth_type = runtimeType(value_strokeWidth); valueSerializer.writeInt8(value_strokeWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { const auto value_strokeWidth_value = value_strokeWidth.value; valueSerializer.writeLength(value_strokeWidth_value); } const auto value_scaleCount = value.scaleCount; - Ark_Int32 value_scaleCount_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_scaleCount_type = INTEROP_RUNTIME_UNDEFINED; value_scaleCount_type = runtimeType(value_scaleCount); valueSerializer.writeInt8(value_scaleCount_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_scaleWidth_type = INTEROP_RUNTIME_UNDEFINED; value_scaleWidth_type = runtimeType(value_scaleWidth); valueSerializer.writeInt8(value_scaleWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_scaleWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scaleWidth_type)) { const auto value_scaleWidth_value = value_scaleWidth.value; valueSerializer.writeLength(value_scaleWidth_value); } @@ -54760,100 +55081,100 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_enableScanEffect = value.enableScanEffect; - Ark_Int32 value_enableScanEffect_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableScanEffect_type = INTEROP_RUNTIME_UNDEFINED; value_enableScanEffect_type = runtimeType(value_enableScanEffect); valueSerializer.writeInt8(value_enableScanEffect_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_borderColor = value.borderColor; - Ark_Int32 value_borderColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderColor_type = INTEROP_RUNTIME_UNDEFINED; value_borderColor_type = runtimeType(value_borderColor); valueSerializer.writeInt8(value_borderColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_type)) { const auto value_borderColor_value = value_borderColor.value; - Ark_Int32 value_borderColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_borderColor_value_0 = value_borderColor_value.value0; valueSerializer.writeInt32(static_cast(value_borderColor_value_0)); } - else if (((value_borderColor_value_type == 0))) { + else if (((value_borderColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_borderColor_value_1 = value_borderColor_value.value1; valueSerializer.writeNumber(value_borderColor_value_1); } - else if (((value_borderColor_value_type == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderWidth_type = INTEROP_RUNTIME_UNDEFINED; value_borderWidth_type = runtimeType(value_borderWidth); valueSerializer.writeInt8(value_borderWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_type)) { const auto value_borderWidth_value = value_borderWidth.value; valueSerializer.writeLength(value_borderWidth_value); } const auto value_content = value.content; - Ark_Int32 value_content_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_content_type = INTEROP_RUNTIME_UNDEFINED; value_content_type = runtimeType(value_content); valueSerializer.writeInt8(value_content_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_content_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_content_type)) { const auto value_content_value = value_content.value; valueSerializer.writeString(value_content_value); } const auto value_font = value.font; - Ark_Int32 value_font_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_font_type = INTEROP_RUNTIME_UNDEFINED; value_font_type = runtimeType(value_font); valueSerializer.writeInt8(value_font_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_fontColor = value.fontColor; - Ark_Int32 value_fontColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontColor_type = INTEROP_RUNTIME_UNDEFINED; value_fontColor_type = runtimeType(value_fontColor); valueSerializer.writeInt8(value_fontColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontColor_type)) { const auto value_fontColor_value = value_fontColor.value; - Ark_Int32 value_fontColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_showDefaultPercentage = value.showDefaultPercentage; - Ark_Int32 value_showDefaultPercentage_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_showDefaultPercentage_type = INTEROP_RUNTIME_UNDEFINED; value_showDefaultPercentage_type = runtimeType(value_showDefaultPercentage); valueSerializer.writeInt8(value_showDefaultPercentage_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_showDefaultPercentage_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_showDefaultPercentage_type)) { const auto value_showDefaultPercentage_value = value_showDefaultPercentage.value; valueSerializer.writeBoolean(value_showDefaultPercentage_value); } @@ -54862,34 +55183,34 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_enableScanEffect = value.enableScanEffect; - Ark_Int32 value_enableScanEffect_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableScanEffect_type = INTEROP_RUNTIME_UNDEFINED; value_enableScanEffect_type = runtimeType(value_enableScanEffect); valueSerializer.writeInt8(value_enableScanEffect_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; value_strokeWidth_type = runtimeType(value_strokeWidth); valueSerializer.writeInt8(value_strokeWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { const auto value_strokeWidth_value = value_strokeWidth.value; valueSerializer.writeLength(value_strokeWidth_value); } const auto value_shadow = value.shadow; - Ark_Int32 value_shadow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_shadow_type = INTEROP_RUNTIME_UNDEFINED; value_shadow_type = runtimeType(value_shadow); valueSerializer.writeInt8(value_shadow_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_status_type = INTEROP_RUNTIME_UNDEFINED; value_status_type = runtimeType(value_status); valueSerializer.writeInt8(value_status_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -54898,40 +55219,40 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_enableScanEffect = value.enableScanEffect; - Ark_Int32 value_enableScanEffect_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableScanEffect_type = INTEROP_RUNTIME_UNDEFINED; value_enableScanEffect_type = runtimeType(value_enableScanEffect); valueSerializer.writeInt8(value_enableScanEffect_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; value_strokeWidth_type = runtimeType(value_strokeWidth); valueSerializer.writeInt8(value_strokeWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { const auto value_strokeWidth_value = value_strokeWidth.value; valueSerializer.writeLength(value_strokeWidth_value); } const auto value_strokeRadius = value.strokeRadius; - Ark_Int32 value_strokeRadius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_strokeRadius_type = INTEROP_RUNTIME_UNDEFINED; value_strokeRadius_type = runtimeType(value_strokeRadius); valueSerializer.writeInt8(value_strokeRadius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_strokeRadius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeRadius_type)) { const auto value_strokeRadius_value = value_strokeRadius.value; - Ark_Int32 value_strokeRadius_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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); @@ -54950,47 +55271,47 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_color = value.color; - Ark_Int32 value_color_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 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_color_value_type == 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); } } const auto value_radius = value.radius; - Ark_Int32 value_radius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; value_radius_type = runtimeType(value_radius); valueSerializer.writeInt8(value_radius_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableWaveEffect_type = INTEROP_RUNTIME_UNDEFINED; value_enableWaveEffect_type = runtimeType(value_enableWaveEffect); valueSerializer.writeInt8(value_enableWaveEffect_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_enableWaveEffect_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableWaveEffect_type)) { const auto value_enableWaveEffect_value = value_enableWaveEffect.value; valueSerializer.writeBoolean(value_enableWaveEffect_value); } @@ -55004,30 +55325,30 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_willShow = value.willShow; - Ark_Int32 value_willShow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_willShow_type = INTEROP_RUNTIME_UNDEFINED; value_willShow_type = runtimeType(value_willShow); valueSerializer.writeInt8(value_willShow_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_willShow_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_willShow_type)) { const auto value_willShow_value = value_willShow.value; valueSerializer.writeCallbackResource(value_willShow_value.resource); valueSerializer.writePointer(reinterpret_cast(value_willShow_value.call)); valueSerializer.writePointer(reinterpret_cast(value_willShow_value.callSync)); } const auto value_didShow = value.didShow; - Ark_Int32 value_didShow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_didShow_type = INTEROP_RUNTIME_UNDEFINED; value_didShow_type = runtimeType(value_didShow); valueSerializer.writeInt8(value_didShow_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_didShow_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_didShow_type)) { const auto value_didShow_value = value_didShow.value; valueSerializer.writeCallbackResource(value_didShow_value.resource); valueSerializer.writePointer(reinterpret_cast(value_didShow_value.call)); valueSerializer.writePointer(reinterpret_cast(value_didShow_value.callSync)); } const auto value_modeChange = value.modeChange; - Ark_Int32 value_modeChange_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_modeChange_type = INTEROP_RUNTIME_UNDEFINED; value_modeChange_type = runtimeType(value_modeChange); valueSerializer.writeInt8(value_modeChange_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_modeChange_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_modeChange_type)) { const auto value_modeChange_value = value_modeChange.value; valueSerializer.writeCallbackResource(value_modeChange_value.resource); valueSerializer.writePointer(reinterpret_cast(value_modeChange_value.call)); @@ -55038,18 +55359,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_launchMode = value.launchMode; - Ark_Int32 value_launchMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_launchMode_type = INTEROP_RUNTIME_UNDEFINED; value_launchMode_type = runtimeType(value_launchMode); valueSerializer.writeInt8(value_launchMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_launchMode_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_launchMode_type)) { const auto value_launchMode_value = value_launchMode.value; valueSerializer.writeInt32(static_cast(value_launchMode_value)); } const auto value_animated = value.animated; - Ark_Int32 value_animated_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_animated_type = INTEROP_RUNTIME_UNDEFINED; value_animated_type = runtimeType(value_animated); valueSerializer.writeInt8(value_animated_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_animated_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_animated_type)) { const auto value_animated_value = value_animated.value; valueSerializer.writeBoolean(value_animated_value); } @@ -55058,47 +55379,47 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); valueSerializer.writeInt8(value_backgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundBlurStyle_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle); valueSerializer.writeInt8(value_backgroundBlurStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_barStyle_type = INTEROP_RUNTIME_UNDEFINED; value_barStyle_type = runtimeType(value_barStyle); valueSerializer.writeInt8(value_barStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -55107,87 +55428,87 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); valueSerializer.writeInt8(value_backgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundBlurStyle_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle); valueSerializer.writeInt8(value_backgroundBlurStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_barStyle_type = INTEROP_RUNTIME_UNDEFINED; value_barStyle_type = runtimeType(value_barStyle); valueSerializer.writeInt8(value_barStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_paddingStart_type = INTEROP_RUNTIME_UNDEFINED; value_paddingStart_type = runtimeType(value_paddingStart); valueSerializer.writeInt8(value_paddingStart_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_paddingEnd_type = INTEROP_RUNTIME_UNDEFINED; value_paddingEnd_type = runtimeType(value_paddingEnd); valueSerializer.writeInt8(value_paddingEnd_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_mainTitleModifier_type = INTEROP_RUNTIME_UNDEFINED; value_mainTitleModifier_type = runtimeType(value_mainTitleModifier); valueSerializer.writeInt8(value_mainTitleModifier_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_subTitleModifier_type = INTEROP_RUNTIME_UNDEFINED; value_subTitleModifier_type = runtimeType(value_subTitleModifier); valueSerializer.writeInt8(value_subTitleModifier_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableHoverMode_type = INTEROP_RUNTIME_UNDEFINED; value_enableHoverMode_type = runtimeType(value_enableHoverMode); valueSerializer.writeInt8(value_enableHoverMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_enableHoverMode_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableHoverMode_type)) { const auto value_enableHoverMode_value = value_enableHoverMode.value; valueSerializer.writeBoolean(value_enableHoverMode_value); } @@ -55200,14 +55521,14 @@ class Serializer : public SerializerBase { 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 = ARK_RUNTIME_UNDEFINED; + 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 == 0)) || ((value_height_type == 1)) || ((value_height_type == 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; valueSerializer.writeLength(value_height_1); @@ -55217,27 +55538,27 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_main = value.main; - Ark_Int32 value_main_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_sub_type == 1))) { valueSerializer.writeInt8(1); const auto value_sub_1 = value_sub.value1; valueSerializer.writeResource(value_sub_1); @@ -55253,102 +55574,102 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_startIcon = value.startIcon; - Ark_Int32 value_startIcon_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_startIcon_type = INTEROP_RUNTIME_UNDEFINED; value_startIcon_type = runtimeType(value_startIcon); valueSerializer.writeInt8(value_startIcon_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_startIcon_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_startIcon_type)) { const auto value_startIcon_value = value_startIcon.value; - Ark_Int32 value_startIcon_value_type = ARK_RUNTIME_UNDEFINED; + 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_startIcon_value_0 = value_startIcon_value.value0; valueSerializer.writeString(value_startIcon_value_0); } - else if (((value_startIcon_value_type == 0))) { + else if (((value_startIcon_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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_symbolStartIcon_type = INTEROP_RUNTIME_UNDEFINED; value_symbolStartIcon_type = runtimeType(value_symbolStartIcon); valueSerializer.writeInt8(value_symbolStartIcon_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_content_type = INTEROP_RUNTIME_UNDEFINED; value_content_type = runtimeType(value_content); valueSerializer.writeInt8(value_content_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_content_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_content_type)) { const auto value_content_value = value_content.value; - Ark_Int32 value_content_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_endIcon_type = INTEROP_RUNTIME_UNDEFINED; value_endIcon_type = runtimeType(value_endIcon); valueSerializer.writeInt8(value_endIcon_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_endIcon_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_endIcon_type)) { const auto value_endIcon_value = value_endIcon.value; - Ark_Int32 value_endIcon_value_type = ARK_RUNTIME_UNDEFINED; + 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_endIcon_value_0 = value_endIcon_value.value0; valueSerializer.writeString(value_endIcon_value_0); } - else if (((value_endIcon_value_type == 0))) { + else if (((value_endIcon_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_symbolEndIcon = value.symbolEndIcon; - Ark_Int32 value_symbolEndIcon_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_symbolEndIcon_type = INTEROP_RUNTIME_UNDEFINED; value_symbolEndIcon_type = runtimeType(value_symbolEndIcon); valueSerializer.writeInt8(value_symbolEndIcon_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_labelInfo_type = INTEROP_RUNTIME_UNDEFINED; value_labelInfo_type = runtimeType(value_labelInfo); valueSerializer.writeInt8(value_labelInfo_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_labelInfo_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_labelInfo_type)) { const auto value_labelInfo_value = value_labelInfo.value; - Ark_Int32 value_labelInfo_value_type = ARK_RUNTIME_UNDEFINED; + 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_labelInfo_value_0 = value_labelInfo_value.value0; valueSerializer.writeString(value_labelInfo_value_0); } - else if (((value_labelInfo_value_type == 0))) { + else if (((value_labelInfo_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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_builder_type = INTEROP_RUNTIME_UNDEFINED; value_builder_type = runtimeType(value_builder); valueSerializer.writeInt8(value_builder_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); @@ -55359,55 +55680,55 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_strokeWidth = value.strokeWidth; - Ark_Int32 value_strokeWidth_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; value_strokeWidth_type = runtimeType(value_strokeWidth); valueSerializer.writeInt8(value_strokeWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 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_color_value_type == 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); } } const auto value_startMargin = value.startMargin; - Ark_Int32 value_startMargin_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_startMargin_type = INTEROP_RUNTIME_UNDEFINED; value_startMargin_type = runtimeType(value_startMargin); valueSerializer.writeInt8(value_startMargin_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_endMargin_type = INTEROP_RUNTIME_UNDEFINED; value_endMargin_type = runtimeType(value_endMargin); valueSerializer.writeInt8(value_endMargin_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_endMargin_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_endMargin_type)) { const auto value_endMargin_value = value_endMargin.value; valueSerializer.writeLengthMetrics(value_endMargin_value); } @@ -55441,47 +55762,47 @@ class Serializer : public SerializerBase { const auto value_strokeWidth = value.strokeWidth; valueSerializer.writeLength(value_strokeWidth); const auto value_color = value.color; - Ark_Int32 value_color_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 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_color_value_type == 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); } } const auto value_startMargin = value.startMargin; - Ark_Int32 value_startMargin_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_startMargin_type = INTEROP_RUNTIME_UNDEFINED; value_startMargin_type = runtimeType(value_startMargin); valueSerializer.writeInt8(value_startMargin_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_startMargin_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_startMargin_type)) { const auto value_startMargin_value = value_startMargin.value; valueSerializer.writeLength(value_startMargin_value); } const auto value_endMargin = value.endMargin; - Ark_Int32 value_endMargin_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_endMargin_type = INTEROP_RUNTIME_UNDEFINED; value_endMargin_type = runtimeType(value_endMargin); valueSerializer.writeInt8(value_endMargin_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_endMargin_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_endMargin_type)) { const auto value_endMargin_value = value_endMargin.value; valueSerializer.writeLength(value_endMargin_value); } @@ -55490,10 +55811,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_onFinish = value.onFinish; - Ark_Int32 value_onFinish_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onFinish_type = INTEROP_RUNTIME_UNDEFINED; value_onFinish_type = runtimeType(value_onFinish); valueSerializer.writeInt8(value_onFinish_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onFinish_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onFinish_type)) { const auto value_onFinish_value = value_onFinish.value; valueSerializer.writeCallbackResource(value_onFinish_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onFinish_value.call)); @@ -55513,10 +55834,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_value = value.value; - Ark_Int32 value_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_value_type = INTEROP_RUNTIME_UNDEFINED; value_value_type = runtimeType(value_value); valueSerializer.writeInt8(value_value_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_value_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_type)) { const auto value_value_value = value_value.value; valueSerializer.writeInt32(value_value_value.length); for (int i = 0; i < value_value_value.length; i++) { @@ -55525,10 +55846,10 @@ class Serializer : public SerializerBase { } } const auto value_reference = value.reference; - Ark_Int32 value_reference_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_reference_type = INTEROP_RUNTIME_UNDEFINED; value_reference_type = runtimeType(value_reference); valueSerializer.writeInt8(value_reference_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_reference_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_reference_type)) { const auto value_reference_value = value_reference.value; valueSerializer.writeInt32(static_cast(value_reference_value)); } @@ -55543,18 +55864,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_main = value.main; - Ark_Int32 value_main_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_main_type = INTEROP_RUNTIME_UNDEFINED; value_main_type = runtimeType(value_main); valueSerializer.writeInt8(value_main_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_cross_type = INTEROP_RUNTIME_UNDEFINED; value_cross_type = runtimeType(value_cross); valueSerializer.writeInt8(value_cross_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_cross_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_cross_type)) { const auto value_cross_value = value_cross.value; valueSerializer.writeLengthMetrics(value_cross_value); } @@ -55563,130 +55884,130 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_start = value.start; - Ark_Int32 value_start_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; value_start_type = runtimeType(value_start); valueSerializer.writeInt8(value_start_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; value_end_type = runtimeType(value_end); valueSerializer.writeInt8(value_end_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_selected = value.selected; - Ark_Int32 value_selected_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_selected_type = INTEROP_RUNTIME_UNDEFINED; value_selected_type = runtimeType(value_selected); valueSerializer.writeInt8(value_selected_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_lunar = value.lunar; - Ark_Int32 value_lunar_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_lunar_type = INTEROP_RUNTIME_UNDEFINED; value_lunar_type = runtimeType(value_lunar); valueSerializer.writeInt8(value_lunar_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_lunar_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_lunar_type)) { const auto value_lunar_value = value_lunar.value; valueSerializer.writeBoolean(value_lunar_value); } const auto value_lunarSwitch = value.lunarSwitch; - Ark_Int32 value_lunarSwitch_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_lunarSwitch_type = INTEROP_RUNTIME_UNDEFINED; value_lunarSwitch_type = runtimeType(value_lunarSwitch); valueSerializer.writeInt8(value_lunarSwitch_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_lunarSwitch_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_lunarSwitch_type)) { const auto value_lunarSwitch_value = value_lunarSwitch.value; valueSerializer.writeBoolean(value_lunarSwitch_value); } const auto value_lunarSwitchStyle = value.lunarSwitchStyle; - Ark_Int32 value_lunarSwitchStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_lunarSwitchStyle_type = INTEROP_RUNTIME_UNDEFINED; value_lunarSwitchStyle_type = runtimeType(value_lunarSwitchStyle); valueSerializer.writeInt8(value_lunarSwitchStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_lunarSwitchStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_lunarSwitchStyle_type)) { const auto value_lunarSwitchStyle_value = value_lunarSwitchStyle.value; valueSerializer.writeLunarSwitchStyle(value_lunarSwitchStyle_value); } const auto value_showTime = value.showTime; - Ark_Int32 value_showTime_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_showTime_type = INTEROP_RUNTIME_UNDEFINED; value_showTime_type = runtimeType(value_showTime); valueSerializer.writeInt8(value_showTime_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_showTime_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_showTime_type)) { const auto value_showTime_value = value_showTime.value; valueSerializer.writeBoolean(value_showTime_value); } const auto value_useMilitaryTime = value.useMilitaryTime; - Ark_Int32 value_useMilitaryTime_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_useMilitaryTime_type = INTEROP_RUNTIME_UNDEFINED; value_useMilitaryTime_type = runtimeType(value_useMilitaryTime); valueSerializer.writeInt8(value_useMilitaryTime_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_useMilitaryTime_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_useMilitaryTime_type)) { const auto value_useMilitaryTime_value = value_useMilitaryTime.value; valueSerializer.writeBoolean(value_useMilitaryTime_value); } const auto value_disappearTextStyle = value.disappearTextStyle; - Ark_Int32 value_disappearTextStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_disappearTextStyle_type = INTEROP_RUNTIME_UNDEFINED; value_disappearTextStyle_type = runtimeType(value_disappearTextStyle); valueSerializer.writeInt8(value_disappearTextStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_disappearTextStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_disappearTextStyle_type)) { const auto value_disappearTextStyle_value = value_disappearTextStyle.value; valueSerializer.writePickerTextStyle(value_disappearTextStyle_value); } const auto value_textStyle = value.textStyle; - Ark_Int32 value_textStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_textStyle_type = INTEROP_RUNTIME_UNDEFINED; value_textStyle_type = runtimeType(value_textStyle); valueSerializer.writeInt8(value_textStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_textStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textStyle_type)) { const auto value_textStyle_value = value_textStyle.value; valueSerializer.writePickerTextStyle(value_textStyle_value); } const auto value_acceptButtonStyle = value.acceptButtonStyle; - Ark_Int32 value_acceptButtonStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_acceptButtonStyle_type = INTEROP_RUNTIME_UNDEFINED; value_acceptButtonStyle_type = runtimeType(value_acceptButtonStyle); valueSerializer.writeInt8(value_acceptButtonStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_acceptButtonStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_acceptButtonStyle_type)) { const auto value_acceptButtonStyle_value = value_acceptButtonStyle.value; valueSerializer.writePickerDialogButtonStyle(value_acceptButtonStyle_value); } const auto value_cancelButtonStyle = value.cancelButtonStyle; - Ark_Int32 value_cancelButtonStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_cancelButtonStyle_type = INTEROP_RUNTIME_UNDEFINED; value_cancelButtonStyle_type = runtimeType(value_cancelButtonStyle); valueSerializer.writeInt8(value_cancelButtonStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_cancelButtonStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_cancelButtonStyle_type)) { const auto value_cancelButtonStyle_value = value_cancelButtonStyle.value; valueSerializer.writePickerDialogButtonStyle(value_cancelButtonStyle_value); } const auto value_selectedTextStyle = value.selectedTextStyle; - Ark_Int32 value_selectedTextStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_selectedTextStyle_type = INTEROP_RUNTIME_UNDEFINED; value_selectedTextStyle_type = runtimeType(value_selectedTextStyle); valueSerializer.writeInt8(value_selectedTextStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_selectedTextStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_selectedTextStyle_type)) { const auto value_selectedTextStyle_value = value_selectedTextStyle.value; valueSerializer.writePickerTextStyle(value_selectedTextStyle_value); } const auto value_maskRect = value.maskRect; - Ark_Int32 value_maskRect_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_maskRect_type = INTEROP_RUNTIME_UNDEFINED; value_maskRect_type = runtimeType(value_maskRect); valueSerializer.writeInt8(value_maskRect_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_maskRect_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maskRect_type)) { const auto value_maskRect_value = value_maskRect.value; valueSerializer.writeRectangle(value_maskRect_value); } const auto value_alignment = value.alignment; - Ark_Int32 value_alignment_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_alignment_type = INTEROP_RUNTIME_UNDEFINED; value_alignment_type = runtimeType(value_alignment); valueSerializer.writeInt8(value_alignment_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_alignment_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_alignment_type)) { const auto value_alignment_value = value_alignment.value; valueSerializer.writeInt32(static_cast(value_alignment_value)); } const auto value_offset = value.offset; - Ark_Int32 value_offset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; value_offset_type = runtimeType(value_offset); valueSerializer.writeInt8(value_offset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_offset_value_dx); @@ -55694,172 +56015,172 @@ class Serializer : public SerializerBase { valueSerializer.writeLength(value_offset_value_dy); } const auto value_onAccept = value.onAccept; - Ark_Int32 value_onAccept_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onAccept_type = INTEROP_RUNTIME_UNDEFINED; value_onAccept_type = runtimeType(value_onAccept); valueSerializer.writeInt8(value_onAccept_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onAccept_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onAccept_type)) { const auto value_onAccept_value = value_onAccept.value; valueSerializer.writeCallbackResource(value_onAccept_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onAccept_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onAccept_value.callSync)); } const auto value_onCancel = value.onCancel; - Ark_Int32 value_onCancel_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onCancel_type = INTEROP_RUNTIME_UNDEFINED; value_onCancel_type = runtimeType(value_onCancel); valueSerializer.writeInt8(value_onCancel_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onCancel_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onCancel_type)) { const auto value_onCancel_value = value_onCancel.value; valueSerializer.writeCallbackResource(value_onCancel_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onCancel_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onCancel_value.callSync)); } const auto value_onChange = value.onChange; - Ark_Int32 value_onChange_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onChange_type = INTEROP_RUNTIME_UNDEFINED; value_onChange_type = runtimeType(value_onChange); valueSerializer.writeInt8(value_onChange_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onChange_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onChange_type)) { const auto value_onChange_value = value_onChange.value; valueSerializer.writeCallbackResource(value_onChange_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onChange_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onChange_value.callSync)); } const auto value_onDateAccept = value.onDateAccept; - Ark_Int32 value_onDateAccept_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onDateAccept_type = INTEROP_RUNTIME_UNDEFINED; value_onDateAccept_type = runtimeType(value_onDateAccept); valueSerializer.writeInt8(value_onDateAccept_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onDateAccept_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDateAccept_type)) { const auto value_onDateAccept_value = value_onDateAccept.value; valueSerializer.writeCallbackResource(value_onDateAccept_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onDateAccept_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onDateAccept_value.callSync)); } const auto value_onDateChange = value.onDateChange; - Ark_Int32 value_onDateChange_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onDateChange_type = INTEROP_RUNTIME_UNDEFINED; value_onDateChange_type = runtimeType(value_onDateChange); valueSerializer.writeInt8(value_onDateChange_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onDateChange_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onDateChange_type)) { const auto value_onDateChange_value = value_onDateChange.value; valueSerializer.writeCallbackResource(value_onDateChange_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onDateChange_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onDateChange_value.callSync)); } const auto value_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); valueSerializer.writeInt8(value_backgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundBlurStyle_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle); valueSerializer.writeInt8(value_backgroundBlurStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_onDidAppear = value.onDidAppear; - Ark_Int32 value_onDidAppear_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onDidAppear_type = INTEROP_RUNTIME_UNDEFINED; value_onDidAppear_type = runtimeType(value_onDidAppear); valueSerializer.writeInt8(value_onDidAppear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onDidDisappear_type = INTEROP_RUNTIME_UNDEFINED; value_onDidDisappear_type = runtimeType(value_onDidDisappear); valueSerializer.writeInt8(value_onDidDisappear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillAppear_type = INTEROP_RUNTIME_UNDEFINED; value_onWillAppear_type = runtimeType(value_onWillAppear); valueSerializer.writeInt8(value_onWillAppear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillDisappear_type = INTEROP_RUNTIME_UNDEFINED; value_onWillDisappear_type = runtimeType(value_onWillDisappear); valueSerializer.writeInt8(value_onWillDisappear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_shadow = value.shadow; - Ark_Int32 value_shadow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_shadow_type = INTEROP_RUNTIME_UNDEFINED; value_shadow_type = runtimeType(value_shadow); valueSerializer.writeInt8(value_shadow_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_shadow_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_shadow_type)) { const auto value_shadow_value = value_shadow.value; - Ark_Int32 value_shadow_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_shadow_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_dateTimeOptions = value.dateTimeOptions; - Ark_Int32 value_dateTimeOptions_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_dateTimeOptions_type = INTEROP_RUNTIME_UNDEFINED; value_dateTimeOptions_type = runtimeType(value_dateTimeOptions); valueSerializer.writeInt8(value_dateTimeOptions_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_dateTimeOptions_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_dateTimeOptions_type)) { const auto value_dateTimeOptions_value = value_dateTimeOptions.value; valueSerializer.writeDateTimeOptions(value_dateTimeOptions_value); } const auto value_enableHoverMode = value.enableHoverMode; - Ark_Int32 value_enableHoverMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableHoverMode_type = INTEROP_RUNTIME_UNDEFINED; value_enableHoverMode_type = runtimeType(value_enableHoverMode); valueSerializer.writeInt8(value_enableHoverMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_hoverModeArea_type = INTEROP_RUNTIME_UNDEFINED; value_hoverModeArea_type = runtimeType(value_hoverModeArea); valueSerializer.writeInt8(value_hoverModeArea_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -55871,92 +56192,92 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_duration = value.duration; - Ark_Int32 value_duration_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_duration_type = INTEROP_RUNTIME_UNDEFINED; value_duration_type = runtimeType(value_duration); valueSerializer.writeInt8(value_duration_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_tempo = value.tempo; - Ark_Int32 value_tempo_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_tempo_type = INTEROP_RUNTIME_UNDEFINED; value_tempo_type = runtimeType(value_tempo); valueSerializer.writeInt8(value_tempo_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_tempo_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_tempo_type)) { const auto value_tempo_value = value_tempo.value; valueSerializer.writeNumber(value_tempo_value); } const auto value_curve = value.curve; - Ark_Int32 value_curve_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_curve_type = INTEROP_RUNTIME_UNDEFINED; value_curve_type = runtimeType(value_curve); valueSerializer.writeInt8(value_curve_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_curve_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_curve_type)) { const auto value_curve_value = value_curve.value; - Ark_Int32 value_curve_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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_delay = value.delay; - Ark_Int32 value_delay_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_delay_type = INTEROP_RUNTIME_UNDEFINED; value_delay_type = runtimeType(value_delay); valueSerializer.writeInt8(value_delay_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_iterations = value.iterations; - Ark_Int32 value_iterations_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_iterations_type = INTEROP_RUNTIME_UNDEFINED; value_iterations_type = runtimeType(value_iterations); valueSerializer.writeInt8(value_iterations_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_iterations_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_iterations_type)) { const auto value_iterations_value = value_iterations.value; valueSerializer.writeNumber(value_iterations_value); } const auto value_playMode = value.playMode; - Ark_Int32 value_playMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_playMode_type = INTEROP_RUNTIME_UNDEFINED; value_playMode_type = runtimeType(value_playMode); valueSerializer.writeInt8(value_playMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_playMode_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_playMode_type)) { const auto value_playMode_value = value_playMode.value; valueSerializer.writeInt32(static_cast(value_playMode_value)); } const auto value_onFinish = value.onFinish; - Ark_Int32 value_onFinish_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onFinish_type = INTEROP_RUNTIME_UNDEFINED; value_onFinish_type = runtimeType(value_onFinish); valueSerializer.writeInt8(value_onFinish_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onFinish_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onFinish_type)) { const auto value_onFinish_value = value_onFinish.value; valueSerializer.writeCallbackResource(value_onFinish_value.resource); 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_finishCallbackType_type = INTEROP_RUNTIME_UNDEFINED; value_finishCallbackType_type = runtimeType(value_finishCallbackType); valueSerializer.writeInt8(value_finishCallbackType_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_expectedFrameRateRange_type = INTEROP_RUNTIME_UNDEFINED; value_expectedFrameRateRange_type = runtimeType(value_expectedFrameRateRange); valueSerializer.writeInt8(value_expectedFrameRateRange_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_expectedFrameRateRange_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_expectedFrameRateRange_type)) { const auto value_expectedFrameRateRange_value = value_expectedFrameRateRange.value; valueSerializer.writeExpectedFrameRateRange(value_expectedFrameRateRange_value); } @@ -55964,14 +56285,32 @@ class Serializer : public SerializerBase { void writeUIGestureEvent(Ark_UIGestureEvent value) { } + void writeVisibleAreaEventOptions(Ark_VisibleAreaEventOptions value) + { + Serializer& valueSerializer = *this; + const auto value_ratios = value.ratios; + valueSerializer.writeInt32(value_ratios.length); + for (int i = 0; i < value_ratios.length; i++) { + const Ark_Number value_ratios_element = value_ratios.array[i]; + valueSerializer.writeNumber(value_ratios_element); + } + const auto value_expectedUpdateInterval = value.expectedUpdateInterval; + Ark_Int32 value_expectedUpdateInterval_type = INTEROP_RUNTIME_UNDEFINED; + value_expectedUpdateInterval_type = runtimeType(value_expectedUpdateInterval); + valueSerializer.writeInt8(value_expectedUpdateInterval_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_expectedUpdateInterval_type)) { + const auto value_expectedUpdateInterval_value = value_expectedUpdateInterval.value; + valueSerializer.writeNumber(value_expectedUpdateInterval_value); + } + } void writeFadingEdgeOptions(Ark_FadingEdgeOptions value) { Serializer& valueSerializer = *this; const auto value_fadingEdgeLength = value.fadingEdgeLength; - Ark_Int32 value_fadingEdgeLength_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fadingEdgeLength_type = INTEROP_RUNTIME_UNDEFINED; value_fadingEdgeLength_type = runtimeType(value_fadingEdgeLength); valueSerializer.writeInt8(value_fadingEdgeLength_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fadingEdgeLength_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fadingEdgeLength_type)) { const auto value_fadingEdgeLength_value = value_fadingEdgeLength.value; valueSerializer.writeLengthMetrics(value_fadingEdgeLength_value); } @@ -55986,10 +56325,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_accessibilityPreferred = value.accessibilityPreferred; - Ark_Int32 value_accessibilityPreferred_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_accessibilityPreferred_type = INTEROP_RUNTIME_UNDEFINED; value_accessibilityPreferred_type = runtimeType(value_accessibilityPreferred); valueSerializer.writeInt8(value_accessibilityPreferred_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_accessibilityPreferred_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_accessibilityPreferred_type)) { const auto value_accessibilityPreferred_value = value_accessibilityPreferred.value; valueSerializer.writeBoolean(value_accessibilityPreferred_value); } @@ -55998,182 +56337,182 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); valueSerializer.writeInt8(value_backgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onAppear_type = INTEROP_RUNTIME_UNDEFINED; value_onAppear_type = runtimeType(value_onAppear); valueSerializer.writeInt8(value_onAppear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onDisappear_type = INTEROP_RUNTIME_UNDEFINED; value_onDisappear_type = runtimeType(value_onDisappear); valueSerializer.writeInt8(value_onDisappear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillAppear_type = INTEROP_RUNTIME_UNDEFINED; value_onWillAppear_type = runtimeType(value_onWillAppear); valueSerializer.writeInt8(value_onWillAppear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillDisappear_type = INTEROP_RUNTIME_UNDEFINED; value_onWillDisappear_type = runtimeType(value_onWillDisappear); valueSerializer.writeInt8(value_onWillDisappear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; value_height_type = runtimeType(value_height); valueSerializer.writeInt8(value_height_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_height_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { const auto value_height_value = value_height.value; - Ark_Int32 value_height_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0)) || ((value_height_value_type == 1)) || ((value_height_value_type == 2))) { + 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; valueSerializer.writeLength(value_height_value_1); } } const auto value_dragBar = value.dragBar; - Ark_Int32 value_dragBar_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_dragBar_type = INTEROP_RUNTIME_UNDEFINED; value_dragBar_type = runtimeType(value_dragBar); valueSerializer.writeInt8(value_dragBar_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_maskColor_type = INTEROP_RUNTIME_UNDEFINED; value_maskColor_type = runtimeType(value_maskColor); valueSerializer.writeInt8(value_maskColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_maskColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maskColor_type)) { const auto value_maskColor_value = value_maskColor.value; - Ark_Int32 value_maskColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_detents_type = INTEROP_RUNTIME_UNDEFINED; value_detents_type = runtimeType(value_detents); valueSerializer.writeInt8(value_detents_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 0)) || ((value_detents_value_0_type == 1)) || ((value_detents_value_0_type == 2))) { + 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; valueSerializer.writeLength(value_detents_value_0_1); } const auto value_detents_value_1 = value_detents_value.value1; - Ark_Int32 value_detents_value_1_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 0)) || ((value_detents_value_1_value_type == 1)) || ((value_detents_value_1_value_type == 2))) { + 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; valueSerializer.writeLength(value_detents_value_1_value_1); } } const auto value_detents_value_2 = value_detents_value.value2; - Ark_Int32 value_detents_value_2_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 0)) || ((value_detents_value_2_value_type == 1)) || ((value_detents_value_2_value_type == 2))) { + 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; valueSerializer.writeLength(value_detents_value_2_value_1); @@ -56181,54 +56520,54 @@ class Serializer : public SerializerBase { } } const auto value_blurStyle = value.blurStyle; - Ark_Int32 value_blurStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_blurStyle_type = INTEROP_RUNTIME_UNDEFINED; value_blurStyle_type = runtimeType(value_blurStyle); valueSerializer.writeInt8(value_blurStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_showClose_type = INTEROP_RUNTIME_UNDEFINED; value_showClose_type = runtimeType(value_showClose); valueSerializer.writeInt8(value_showClose_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_showClose_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_showClose_type)) { const auto value_showClose_value = value_showClose.value; - Ark_Int32 value_showClose_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_preferType_type = INTEROP_RUNTIME_UNDEFINED; value_preferType_type = runtimeType(value_preferType); valueSerializer.writeInt8(value_preferType_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_title_type = INTEROP_RUNTIME_UNDEFINED; value_title_type = runtimeType(value_title); valueSerializer.writeInt8(value_title_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_title_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_title_type)) { const auto value_title_value = value_title.value; - Ark_Int32 value_title_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); @@ -56237,404 +56576,404 @@ class Serializer : public SerializerBase { } } const auto value_shouldDismiss = value.shouldDismiss; - Ark_Int32 value_shouldDismiss_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_shouldDismiss_type = INTEROP_RUNTIME_UNDEFINED; value_shouldDismiss_type = runtimeType(value_shouldDismiss); valueSerializer.writeInt8(value_shouldDismiss_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillDismiss_type = INTEROP_RUNTIME_UNDEFINED; value_onWillDismiss_type = runtimeType(value_onWillDismiss); valueSerializer.writeInt8(value_onWillDismiss_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillSpringBackWhenDismiss_type = INTEROP_RUNTIME_UNDEFINED; value_onWillSpringBackWhenDismiss_type = runtimeType(value_onWillSpringBackWhenDismiss); valueSerializer.writeInt8(value_onWillSpringBackWhenDismiss_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableOutsideInteractive_type = INTEROP_RUNTIME_UNDEFINED; value_enableOutsideInteractive_type = runtimeType(value_enableOutsideInteractive); valueSerializer.writeInt8(value_enableOutsideInteractive_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; valueSerializer.writeLength(value_width_value); } const auto value_borderWidth = value.borderWidth; - Ark_Int32 value_borderWidth_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderWidth_type = INTEROP_RUNTIME_UNDEFINED; value_borderWidth_type = runtimeType(value_borderWidth); valueSerializer.writeInt8(value_borderWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_type)) { const auto value_borderWidth_value = value_borderWidth.value; - Ark_Int32 value_borderWidth_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 1)) || ((value_borderWidth_value_type == 2))) { + if (((value_borderWidth_value_type == 0)) || ((value_borderWidth_value_type == 0)) || ((value_borderWidth_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_borderWidth_value_0 = value_borderWidth_value.value0; valueSerializer.writeLength(value_borderWidth_value_0); } - else if (((value_borderWidth_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_top_value); } const auto value_borderWidth_value_1_right = value_borderWidth_value_1.right; - Ark_Int32 value_borderWidth_value_1_right_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_right_value); } const auto value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom; - Ark_Int32 value_borderWidth_value_1_bottom_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_bottom_value); } const auto value_borderWidth_value_1_left = value_borderWidth_value_1.left; - Ark_Int32 value_borderWidth_value_1_left_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_left_value); } } - else if (((value_borderWidth_value_type == 0))) { + else if (((value_borderWidth_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_borderColor = value.borderColor; - Ark_Int32 value_borderColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderColor_type = INTEROP_RUNTIME_UNDEFINED; value_borderColor_type = runtimeType(value_borderColor); valueSerializer.writeInt8(value_borderColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_type)) { const auto value_borderColor_value = value_borderColor.value; - Ark_Int32 value_borderColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 1)) || ((value_borderColor_value_type == 2)) || ((value_borderColor_value_type == 3))) { + 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_borderColor_value_0 = value_borderColor_value.value0; - Ark_Int32 value_borderColor_value_0_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_borderColor_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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); } } } - else if (((value_borderColor_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_type = runtimeType(value_borderStyle); valueSerializer.writeInt8(value_borderStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_type)) { const auto value_borderStyle_value = value_borderStyle.value; - Ark_Int32 value_borderStyle_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_borderStyle_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_borderStyle_value_1 = value_borderStyle_value.value1; const auto value_borderStyle_value_1_top = value_borderStyle_value_1.top; - Ark_Int32 value_borderStyle_value_1_top_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_top_type = runtimeType(value_borderStyle_value_1_top); valueSerializer.writeInt8(value_borderStyle_value_1_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_top_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_top_type)) { const auto value_borderStyle_value_1_top_value = value_borderStyle_value_1_top.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_top_value)); } const auto value_borderStyle_value_1_right = value_borderStyle_value_1.right; - Ark_Int32 value_borderStyle_value_1_right_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_right_type = runtimeType(value_borderStyle_value_1_right); valueSerializer.writeInt8(value_borderStyle_value_1_right_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_right_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_right_type)) { const auto value_borderStyle_value_1_right_value = value_borderStyle_value_1_right.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_right_value)); } const auto value_borderStyle_value_1_bottom = value_borderStyle_value_1.bottom; - Ark_Int32 value_borderStyle_value_1_bottom_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_bottom_type = runtimeType(value_borderStyle_value_1_bottom); valueSerializer.writeInt8(value_borderStyle_value_1_bottom_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_bottom_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_bottom_type)) { const auto value_borderStyle_value_1_bottom_value = value_borderStyle_value_1_bottom.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_bottom_value)); } const auto value_borderStyle_value_1_left = value_borderStyle_value_1.left; - Ark_Int32 value_borderStyle_value_1_left_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_left_type = runtimeType(value_borderStyle_value_1_left); valueSerializer.writeInt8(value_borderStyle_value_1_left_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_left_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_left_type)) { const auto value_borderStyle_value_1_left_value = value_borderStyle_value_1_left.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_left_value)); } } } const auto value_shadow = value.shadow; - Ark_Int32 value_shadow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_shadow_type = INTEROP_RUNTIME_UNDEFINED; value_shadow_type = runtimeType(value_shadow); valueSerializer.writeInt8(value_shadow_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_shadow_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_shadow_type)) { const auto value_shadow_value = value_shadow.value; - Ark_Int32 value_shadow_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_shadow_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_onHeightDidChange = value.onHeightDidChange; - Ark_Int32 value_onHeightDidChange_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onHeightDidChange_type = INTEROP_RUNTIME_UNDEFINED; value_onHeightDidChange_type = runtimeType(value_onHeightDidChange); valueSerializer.writeInt8(value_onHeightDidChange_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_mode = value.mode; - Ark_Int32 value_mode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_mode_type = INTEROP_RUNTIME_UNDEFINED; value_mode_type = runtimeType(value_mode); valueSerializer.writeInt8(value_mode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_scrollSizeMode = value.scrollSizeMode; - Ark_Int32 value_scrollSizeMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_scrollSizeMode_type = INTEROP_RUNTIME_UNDEFINED; value_scrollSizeMode_type = runtimeType(value_scrollSizeMode); valueSerializer.writeInt8(value_scrollSizeMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_onDetentsDidChange = value.onDetentsDidChange; - Ark_Int32 value_onDetentsDidChange_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onDetentsDidChange_type = INTEROP_RUNTIME_UNDEFINED; value_onDetentsDidChange_type = runtimeType(value_onDetentsDidChange); valueSerializer.writeInt8(value_onDetentsDidChange_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_onWidthDidChange = value.onWidthDidChange; - Ark_Int32 value_onWidthDidChange_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWidthDidChange_type = INTEROP_RUNTIME_UNDEFINED; value_onWidthDidChange_type = runtimeType(value_onWidthDidChange); valueSerializer.writeInt8(value_onWidthDidChange_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_onTypeDidChange = value.onTypeDidChange; - Ark_Int32 value_onTypeDidChange_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onTypeDidChange_type = INTEROP_RUNTIME_UNDEFINED; value_onTypeDidChange_type = runtimeType(value_onTypeDidChange); valueSerializer.writeInt8(value_onTypeDidChange_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_uiContext_type = INTEROP_RUNTIME_UNDEFINED; value_uiContext_type = runtimeType(value_uiContext); valueSerializer.writeInt8(value_uiContext_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_keyboardAvoidMode_type = INTEROP_RUNTIME_UNDEFINED; value_keyboardAvoidMode_type = runtimeType(value_keyboardAvoidMode); valueSerializer.writeInt8(value_keyboardAvoidMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -56643,97 +56982,97 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); valueSerializer.writeInt8(value_backgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onAppear_type = INTEROP_RUNTIME_UNDEFINED; value_onAppear_type = runtimeType(value_onAppear); valueSerializer.writeInt8(value_onAppear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onDisappear_type = INTEROP_RUNTIME_UNDEFINED; value_onDisappear_type = runtimeType(value_onDisappear); valueSerializer.writeInt8(value_onDisappear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillAppear_type = INTEROP_RUNTIME_UNDEFINED; value_onWillAppear_type = runtimeType(value_onWillAppear); valueSerializer.writeInt8(value_onWillAppear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillDisappear_type = INTEROP_RUNTIME_UNDEFINED; value_onWillDisappear_type = runtimeType(value_onWillDisappear); valueSerializer.writeInt8(value_onWillDisappear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_modalTransition_type = INTEROP_RUNTIME_UNDEFINED; value_modalTransition_type = runtimeType(value_modalTransition); valueSerializer.writeInt8(value_modalTransition_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillDismiss_type = INTEROP_RUNTIME_UNDEFINED; value_onWillDismiss_type = runtimeType(value_onWillDismiss); valueSerializer.writeInt8(value_onWillDismiss_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_transition_type = INTEROP_RUNTIME_UNDEFINED; value_transition_type = runtimeType(value_transition); valueSerializer.writeInt8(value_transition_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_transition_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_transition_type)) { const auto value_transition_value = value_transition.value; valueSerializer.writeTransitionEffect(value_transition_value); } @@ -56742,51 +57081,51 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_offset = value.offset; - Ark_Int32 value_offset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; value_offset_type = runtimeType(value_offset); valueSerializer.writeInt8(value_offset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_placement = value.placement; - Ark_Int32 value_placement_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_placement_type = INTEROP_RUNTIME_UNDEFINED; value_placement_type = runtimeType(value_placement); valueSerializer.writeInt8(value_placement_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_enableArrow = value.enableArrow; - Ark_Int32 value_enableArrow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableArrow_type = INTEROP_RUNTIME_UNDEFINED; value_enableArrow_type = runtimeType(value_enableArrow); valueSerializer.writeInt8(value_enableArrow_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_arrowOffset = value.arrowOffset; - Ark_Int32 value_arrowOffset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_arrowOffset_type = INTEROP_RUNTIME_UNDEFINED; value_arrowOffset_type = runtimeType(value_arrowOffset); valueSerializer.writeInt8(value_arrowOffset_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_arrowOffset_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_arrowOffset_type)) { const auto value_arrowOffset_value = value_arrowOffset.value; valueSerializer.writeLength(value_arrowOffset_value); } const auto value_preview = value.preview; - Ark_Int32 value_preview_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_preview_type = INTEROP_RUNTIME_UNDEFINED; value_preview_type = runtimeType(value_preview); valueSerializer.writeInt8(value_preview_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_preview_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_preview_type)) { const auto value_preview_value = value_preview.value; - Ark_Int32 value_preview_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_preview_value_type = INTEROP_RUNTIME_UNDEFINED; value_preview_value_type = value_preview_value.selector; if (((value_preview_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_preview_value_0 = value_preview_value.value0; valueSerializer.writeInt32(static_cast(value_preview_value_0)); } - else if (((value_preview_value_type == 0))) { + else if (((value_preview_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_preview_value_1 = value_preview_value.value1; valueSerializer.writeCallbackResource(value_preview_value_1.resource); @@ -56795,197 +57134,197 @@ class Serializer : public SerializerBase { } } const auto value_borderRadius = value.borderRadius; - Ark_Int32 value_borderRadius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderRadius_type = INTEROP_RUNTIME_UNDEFINED; value_borderRadius_type = runtimeType(value_borderRadius); valueSerializer.writeInt8(value_borderRadius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderRadius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_type)) { const auto value_borderRadius_value = value_borderRadius.value; - Ark_Int32 value_borderRadius_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderRadius_value_type = INTEROP_RUNTIME_UNDEFINED; value_borderRadius_value_type = value_borderRadius_value.selector; - if (((value_borderRadius_value_type == 0)) || ((value_borderRadius_value_type == 1)) || ((value_borderRadius_value_type == 2))) { + if (((value_borderRadius_value_type == 0)) || ((value_borderRadius_value_type == 0)) || ((value_borderRadius_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_borderRadius_value_0 = value_borderRadius_value.value0; valueSerializer.writeLength(value_borderRadius_value_0); } - else if (((value_borderRadius_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderRadius_value_1_topLeft_value); } const auto value_borderRadius_value_1_topRight = value_borderRadius_value_1.topRight; - Ark_Int32 value_borderRadius_value_1_topRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderRadius_value_1_topRight_value); } const auto value_borderRadius_value_1_bottomLeft = value_borderRadius_value_1.bottomLeft; - Ark_Int32 value_borderRadius_value_1_bottomLeft_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderRadius_value_1_bottomLeft_value); } const auto value_borderRadius_value_1_bottomRight = value_borderRadius_value_1.bottomRight; - Ark_Int32 value_borderRadius_value_1_bottomRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderRadius_value_1_bottomRight_value); } } - else if (((value_borderRadius_value_type == 0))) { + else if (((value_borderRadius_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_borderRadius_value_2 = value_borderRadius_value.value2; valueSerializer.writeLocalizedBorderRadiuses(value_borderRadius_value_2); } } const auto value_onAppear = value.onAppear; - Ark_Int32 value_onAppear_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onAppear_type = INTEROP_RUNTIME_UNDEFINED; value_onAppear_type = runtimeType(value_onAppear); valueSerializer.writeInt8(value_onAppear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onDisappear_type = INTEROP_RUNTIME_UNDEFINED; value_onDisappear_type = runtimeType(value_onDisappear); valueSerializer.writeInt8(value_onDisappear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_aboutToAppear = value.aboutToAppear; - Ark_Int32 value_aboutToAppear_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_aboutToAppear_type = INTEROP_RUNTIME_UNDEFINED; value_aboutToAppear_type = runtimeType(value_aboutToAppear); valueSerializer.writeInt8(value_aboutToAppear_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_aboutToAppear_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_aboutToAppear_type)) { const auto value_aboutToAppear_value = value_aboutToAppear.value; valueSerializer.writeCallbackResource(value_aboutToAppear_value.resource); valueSerializer.writePointer(reinterpret_cast(value_aboutToAppear_value.call)); valueSerializer.writePointer(reinterpret_cast(value_aboutToAppear_value.callSync)); } const auto value_aboutToDisappear = value.aboutToDisappear; - Ark_Int32 value_aboutToDisappear_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_aboutToDisappear_type = INTEROP_RUNTIME_UNDEFINED; value_aboutToDisappear_type = runtimeType(value_aboutToDisappear); valueSerializer.writeInt8(value_aboutToDisappear_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_aboutToDisappear_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_aboutToDisappear_type)) { const auto value_aboutToDisappear_value = value_aboutToDisappear.value; valueSerializer.writeCallbackResource(value_aboutToDisappear_value.resource); valueSerializer.writePointer(reinterpret_cast(value_aboutToDisappear_value.call)); valueSerializer.writePointer(reinterpret_cast(value_aboutToDisappear_value.callSync)); } const auto value_layoutRegionMargin = value.layoutRegionMargin; - Ark_Int32 value_layoutRegionMargin_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_layoutRegionMargin_type = INTEROP_RUNTIME_UNDEFINED; value_layoutRegionMargin_type = runtimeType(value_layoutRegionMargin); valueSerializer.writeInt8(value_layoutRegionMargin_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_layoutRegionMargin_value_top_value); } const auto value_layoutRegionMargin_value_right = value_layoutRegionMargin_value.right; - Ark_Int32 value_layoutRegionMargin_value_right_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_layoutRegionMargin_value_right_value); } const auto value_layoutRegionMargin_value_bottom = value_layoutRegionMargin_value.bottom; - Ark_Int32 value_layoutRegionMargin_value_bottom_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_layoutRegionMargin_value_bottom_value); } const auto value_layoutRegionMargin_value_left = value_layoutRegionMargin_value.left; - Ark_Int32 value_layoutRegionMargin_value_left_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_layoutRegionMargin_value_left_value); } } const auto value_previewAnimationOptions = value.previewAnimationOptions; - Ark_Int32 value_previewAnimationOptions_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_previewAnimationOptions_type = INTEROP_RUNTIME_UNDEFINED; value_previewAnimationOptions_type = runtimeType(value_previewAnimationOptions); valueSerializer.writeInt8(value_previewAnimationOptions_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_previewAnimationOptions_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_previewAnimationOptions_type)) { const auto value_previewAnimationOptions_value = value_previewAnimationOptions.value; valueSerializer.writeContextMenuAnimationOptions(value_previewAnimationOptions_value); } const auto value_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); valueSerializer.writeInt8(value_backgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundBlurStyle_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle); valueSerializer.writeInt8(value_backgroundBlurStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_transition = value.transition; - Ark_Int32 value_transition_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_transition_type = INTEROP_RUNTIME_UNDEFINED; value_transition_type = runtimeType(value_transition); valueSerializer.writeInt8(value_transition_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_enableHoverMode = value.enableHoverMode; - Ark_Int32 value_enableHoverMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableHoverMode_type = INTEROP_RUNTIME_UNDEFINED; value_enableHoverMode_type = runtimeType(value_enableHoverMode); valueSerializer.writeInt8(value_enableHoverMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_enableHoverMode_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableHoverMode_type)) { const auto value_enableHoverMode_value = value_enableHoverMode.value; valueSerializer.writeBoolean(value_enableHoverMode_value); } @@ -56994,51 +57333,51 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_offset = value.offset; - Ark_Int32 value_offset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; value_offset_type = runtimeType(value_offset); valueSerializer.writeInt8(value_offset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_placement = value.placement; - Ark_Int32 value_placement_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_placement_type = INTEROP_RUNTIME_UNDEFINED; value_placement_type = runtimeType(value_placement); valueSerializer.writeInt8(value_placement_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_enableArrow = value.enableArrow; - Ark_Int32 value_enableArrow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableArrow_type = INTEROP_RUNTIME_UNDEFINED; value_enableArrow_type = runtimeType(value_enableArrow); valueSerializer.writeInt8(value_enableArrow_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_arrowOffset = value.arrowOffset; - Ark_Int32 value_arrowOffset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_arrowOffset_type = INTEROP_RUNTIME_UNDEFINED; value_arrowOffset_type = runtimeType(value_arrowOffset); valueSerializer.writeInt8(value_arrowOffset_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_arrowOffset_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_arrowOffset_type)) { const auto value_arrowOffset_value = value_arrowOffset.value; valueSerializer.writeLength(value_arrowOffset_value); } const auto value_preview = value.preview; - Ark_Int32 value_preview_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_preview_type = INTEROP_RUNTIME_UNDEFINED; value_preview_type = runtimeType(value_preview); valueSerializer.writeInt8(value_preview_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_preview_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_preview_type)) { const auto value_preview_value = value_preview.value; - Ark_Int32 value_preview_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_preview_value_type = INTEROP_RUNTIME_UNDEFINED; value_preview_value_type = value_preview_value.selector; if (((value_preview_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_preview_value_0 = value_preview_value.value0; valueSerializer.writeInt32(static_cast(value_preview_value_0)); } - else if (((value_preview_value_type == 0))) { + else if (((value_preview_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_preview_value_1 = value_preview_value.value1; valueSerializer.writeCallbackResource(value_preview_value_1.resource); @@ -57047,224 +57386,224 @@ class Serializer : public SerializerBase { } } const auto value_borderRadius = value.borderRadius; - Ark_Int32 value_borderRadius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderRadius_type = INTEROP_RUNTIME_UNDEFINED; value_borderRadius_type = runtimeType(value_borderRadius); valueSerializer.writeInt8(value_borderRadius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderRadius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderRadius_type)) { const auto value_borderRadius_value = value_borderRadius.value; - Ark_Int32 value_borderRadius_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderRadius_value_type = INTEROP_RUNTIME_UNDEFINED; value_borderRadius_value_type = value_borderRadius_value.selector; - if (((value_borderRadius_value_type == 0)) || ((value_borderRadius_value_type == 1)) || ((value_borderRadius_value_type == 2))) { + if (((value_borderRadius_value_type == 0)) || ((value_borderRadius_value_type == 0)) || ((value_borderRadius_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_borderRadius_value_0 = value_borderRadius_value.value0; valueSerializer.writeLength(value_borderRadius_value_0); } - else if (((value_borderRadius_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderRadius_value_1_topLeft_value); } const auto value_borderRadius_value_1_topRight = value_borderRadius_value_1.topRight; - Ark_Int32 value_borderRadius_value_1_topRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderRadius_value_1_topRight_value); } const auto value_borderRadius_value_1_bottomLeft = value_borderRadius_value_1.bottomLeft; - Ark_Int32 value_borderRadius_value_1_bottomLeft_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderRadius_value_1_bottomLeft_value); } const auto value_borderRadius_value_1_bottomRight = value_borderRadius_value_1.bottomRight; - Ark_Int32 value_borderRadius_value_1_bottomRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderRadius_value_1_bottomRight_value); } } - else if (((value_borderRadius_value_type == 0))) { + else if (((value_borderRadius_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_borderRadius_value_2 = value_borderRadius_value.value2; valueSerializer.writeLocalizedBorderRadiuses(value_borderRadius_value_2); } } const auto value_onAppear = value.onAppear; - Ark_Int32 value_onAppear_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onAppear_type = INTEROP_RUNTIME_UNDEFINED; value_onAppear_type = runtimeType(value_onAppear); valueSerializer.writeInt8(value_onAppear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onDisappear_type = INTEROP_RUNTIME_UNDEFINED; value_onDisappear_type = runtimeType(value_onDisappear); valueSerializer.writeInt8(value_onDisappear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_aboutToAppear = value.aboutToAppear; - Ark_Int32 value_aboutToAppear_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_aboutToAppear_type = INTEROP_RUNTIME_UNDEFINED; value_aboutToAppear_type = runtimeType(value_aboutToAppear); valueSerializer.writeInt8(value_aboutToAppear_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_aboutToAppear_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_aboutToAppear_type)) { const auto value_aboutToAppear_value = value_aboutToAppear.value; valueSerializer.writeCallbackResource(value_aboutToAppear_value.resource); valueSerializer.writePointer(reinterpret_cast(value_aboutToAppear_value.call)); valueSerializer.writePointer(reinterpret_cast(value_aboutToAppear_value.callSync)); } const auto value_aboutToDisappear = value.aboutToDisappear; - Ark_Int32 value_aboutToDisappear_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_aboutToDisappear_type = INTEROP_RUNTIME_UNDEFINED; value_aboutToDisappear_type = runtimeType(value_aboutToDisappear); valueSerializer.writeInt8(value_aboutToDisappear_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_aboutToDisappear_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_aboutToDisappear_type)) { const auto value_aboutToDisappear_value = value_aboutToDisappear.value; valueSerializer.writeCallbackResource(value_aboutToDisappear_value.resource); valueSerializer.writePointer(reinterpret_cast(value_aboutToDisappear_value.call)); valueSerializer.writePointer(reinterpret_cast(value_aboutToDisappear_value.callSync)); } const auto value_layoutRegionMargin = value.layoutRegionMargin; - Ark_Int32 value_layoutRegionMargin_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_layoutRegionMargin_type = INTEROP_RUNTIME_UNDEFINED; value_layoutRegionMargin_type = runtimeType(value_layoutRegionMargin); valueSerializer.writeInt8(value_layoutRegionMargin_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_layoutRegionMargin_value_top_value); } const auto value_layoutRegionMargin_value_right = value_layoutRegionMargin_value.right; - Ark_Int32 value_layoutRegionMargin_value_right_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_layoutRegionMargin_value_right_value); } const auto value_layoutRegionMargin_value_bottom = value_layoutRegionMargin_value.bottom; - Ark_Int32 value_layoutRegionMargin_value_bottom_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_layoutRegionMargin_value_bottom_value); } const auto value_layoutRegionMargin_value_left = value_layoutRegionMargin_value.left; - Ark_Int32 value_layoutRegionMargin_value_left_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_layoutRegionMargin_value_left_value); } } const auto value_previewAnimationOptions = value.previewAnimationOptions; - Ark_Int32 value_previewAnimationOptions_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_previewAnimationOptions_type = INTEROP_RUNTIME_UNDEFINED; value_previewAnimationOptions_type = runtimeType(value_previewAnimationOptions); valueSerializer.writeInt8(value_previewAnimationOptions_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_previewAnimationOptions_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_previewAnimationOptions_type)) { const auto value_previewAnimationOptions_value = value_previewAnimationOptions.value; valueSerializer.writeContextMenuAnimationOptions(value_previewAnimationOptions_value); } const auto value_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); valueSerializer.writeInt8(value_backgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundBlurStyle_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle); valueSerializer.writeInt8(value_backgroundBlurStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_transition = value.transition; - Ark_Int32 value_transition_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_transition_type = INTEROP_RUNTIME_UNDEFINED; value_transition_type = runtimeType(value_transition); valueSerializer.writeInt8(value_transition_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_enableHoverMode = value.enableHoverMode; - Ark_Int32 value_enableHoverMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableHoverMode_type = INTEROP_RUNTIME_UNDEFINED; value_enableHoverMode_type = runtimeType(value_enableHoverMode); valueSerializer.writeInt8(value_enableHoverMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_title = value.title; - Ark_Int32 value_title_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_title_type = INTEROP_RUNTIME_UNDEFINED; value_title_type = runtimeType(value_title); valueSerializer.writeInt8(value_title_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_title_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_title_type)) { const auto value_title_value = value_title.value; - Ark_Int32 value_title_value_type = ARK_RUNTIME_UNDEFINED; + 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.writeString(value_title_value_0); } - else if (((value_title_value_type == 0))) { + else if (((value_title_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_title_value_1 = value_title_value.value1; valueSerializer.writeResource(value_title_value_1); } } const auto value_showInSubWindow = value.showInSubWindow; - Ark_Int32 value_showInSubWindow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_showInSubWindow_type = INTEROP_RUNTIME_UNDEFINED; value_showInSubWindow_type = runtimeType(value_showInSubWindow); valueSerializer.writeInt8(value_showInSubWindow_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_showInSubWindow_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_showInSubWindow_type)) { const auto value_showInSubWindow_value = value_showInSubWindow.value; valueSerializer.writeBoolean(value_showInSubWindow_value); } @@ -57277,148 +57616,148 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_builder.call)); valueSerializer.writePointer(reinterpret_cast(value_builder.callSync)); const auto value_placement = value.placement; - Ark_Int32 value_placement_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_placement_type = INTEROP_RUNTIME_UNDEFINED; value_placement_type = runtimeType(value_placement); valueSerializer.writeInt8(value_placement_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_maskColor = value.maskColor; - Ark_Int32 value_maskColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_maskColor_type = INTEROP_RUNTIME_UNDEFINED; value_maskColor_type = runtimeType(value_maskColor); valueSerializer.writeInt8(value_maskColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_maskColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maskColor_type)) { const auto value_maskColor_value = value_maskColor.value; - Ark_Int32 value_maskColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_maskColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_maskColor_value_1 = value_maskColor_value.value1; valueSerializer.writeString(value_maskColor_value_1); } - else if (((value_maskColor_value_type == 0))) { + else if (((value_maskColor_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_maskColor_value_2 = value_maskColor_value.value2; valueSerializer.writeResource(value_maskColor_value_2); } - else if (((value_maskColor_value_type == 0))) { + else if (((value_maskColor_value_type == 3))) { valueSerializer.writeInt8(3); const auto value_maskColor_value_3 = value_maskColor_value.value3; valueSerializer.writeNumber(value_maskColor_value_3); } } const auto value_popupColor = value.popupColor; - Ark_Int32 value_popupColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_popupColor_type = INTEROP_RUNTIME_UNDEFINED; value_popupColor_type = runtimeType(value_popupColor); valueSerializer.writeInt8(value_popupColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_popupColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_popupColor_type)) { const auto value_popupColor_value = value_popupColor.value; - Ark_Int32 value_popupColor_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_popupColor_value_type = INTEROP_RUNTIME_UNDEFINED; value_popupColor_value_type = value_popupColor_value.selector; if (((value_popupColor_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_popupColor_value_0 = value_popupColor_value.value0; valueSerializer.writeInt32(static_cast(value_popupColor_value_0)); } - else if (((value_popupColor_value_type == 0))) { + else if (((value_popupColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_popupColor_value_1 = value_popupColor_value.value1; valueSerializer.writeString(value_popupColor_value_1); } - else if (((value_popupColor_value_type == 0))) { + else if (((value_popupColor_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_popupColor_value_2 = value_popupColor_value.value2; valueSerializer.writeResource(value_popupColor_value_2); } - else if (((value_popupColor_value_type == 0))) { + else if (((value_popupColor_value_type == 3))) { valueSerializer.writeInt8(3); const auto value_popupColor_value_3 = value_popupColor_value.value3; valueSerializer.writeNumber(value_popupColor_value_3); } } const auto value_enableArrow = value.enableArrow; - Ark_Int32 value_enableArrow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableArrow_type = INTEROP_RUNTIME_UNDEFINED; value_enableArrow_type = runtimeType(value_enableArrow); valueSerializer.writeInt8(value_enableArrow_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_autoCancel = value.autoCancel; - Ark_Int32 value_autoCancel_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_autoCancel_type = INTEROP_RUNTIME_UNDEFINED; value_autoCancel_type = runtimeType(value_autoCancel); valueSerializer.writeInt8(value_autoCancel_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_autoCancel_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_autoCancel_type)) { const auto value_autoCancel_value = value_autoCancel.value; valueSerializer.writeBoolean(value_autoCancel_value); } const auto value_onStateChange = value.onStateChange; - Ark_Int32 value_onStateChange_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onStateChange_type = INTEROP_RUNTIME_UNDEFINED; value_onStateChange_type = runtimeType(value_onStateChange); valueSerializer.writeInt8(value_onStateChange_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } const auto value_arrowOffset = value.arrowOffset; - Ark_Int32 value_arrowOffset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_arrowOffset_type = INTEROP_RUNTIME_UNDEFINED; value_arrowOffset_type = runtimeType(value_arrowOffset); valueSerializer.writeInt8(value_arrowOffset_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_arrowOffset_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_arrowOffset_type)) { const auto value_arrowOffset_value = value_arrowOffset.value; valueSerializer.writeLength(value_arrowOffset_value); } const auto value_showInSubWindow = value.showInSubWindow; - Ark_Int32 value_showInSubWindow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_showInSubWindow_type = INTEROP_RUNTIME_UNDEFINED; value_showInSubWindow_type = runtimeType(value_showInSubWindow); valueSerializer.writeInt8(value_showInSubWindow_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_mask = value.mask; - Ark_Int32 value_mask_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_mask_type = INTEROP_RUNTIME_UNDEFINED; value_mask_type = runtimeType(value_mask); valueSerializer.writeInt8(value_mask_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_mask_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_mask_type)) { const auto value_mask_value = value_mask.value; - Ark_Int32 value_mask_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_mask_value_type = INTEROP_RUNTIME_UNDEFINED; value_mask_value_type = value_mask_value.selector; if (((value_mask_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_mask_value_0 = value_mask_value.value0; valueSerializer.writeBoolean(value_mask_value_0); } - else if (((value_mask_value_type == 0))) { + else if (((value_mask_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_mask_value_1 = value_mask_value.value1; const auto value_mask_value_1_color = value_mask_value_1.color; - Ark_Int32 value_mask_value_1_color_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_mask_value_1_color_type = INTEROP_RUNTIME_UNDEFINED; value_mask_value_1_color_type = value_mask_value_1_color.selector; if (((value_mask_value_1_color_type == 0))) { valueSerializer.writeInt8(0); const auto value_mask_value_1_color_0 = value_mask_value_1_color.value0; valueSerializer.writeInt32(static_cast(value_mask_value_1_color_0)); } - else if (((value_mask_value_1_color_type == 0))) { + else if (((value_mask_value_1_color_type == 1))) { valueSerializer.writeInt8(1); const auto value_mask_value_1_color_1 = value_mask_value_1_color.value1; valueSerializer.writeNumber(value_mask_value_1_color_1); } - else if (((value_mask_value_1_color_type == 0))) { + else if (((value_mask_value_1_color_type == 2))) { valueSerializer.writeInt8(2); const auto value_mask_value_1_color_2 = value_mask_value_1_color.value2; valueSerializer.writeString(value_mask_value_1_color_2); } - else if (((value_mask_value_1_color_type == 0))) { + else if (((value_mask_value_1_color_type == 3))) { valueSerializer.writeInt8(3); const auto value_mask_value_1_color_3 = value_mask_value_1_color.value3; valueSerializer.writeResource(value_mask_value_1_color_3); @@ -57426,118 +57765,118 @@ class Serializer : public SerializerBase { } } const auto value_targetSpace = value.targetSpace; - Ark_Int32 value_targetSpace_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_targetSpace_type = INTEROP_RUNTIME_UNDEFINED; value_targetSpace_type = runtimeType(value_targetSpace); valueSerializer.writeInt8(value_targetSpace_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_targetSpace_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_targetSpace_type)) { const auto value_targetSpace_value = value_targetSpace.value; valueSerializer.writeLength(value_targetSpace_value); } const auto value_offset = value.offset; - Ark_Int32 value_offset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; value_offset_type = runtimeType(value_offset); valueSerializer.writeInt8(value_offset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; valueSerializer.writeLength(value_width_value); } const auto value_arrowPointPosition = value.arrowPointPosition; - Ark_Int32 value_arrowPointPosition_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_arrowPointPosition_type = INTEROP_RUNTIME_UNDEFINED; value_arrowPointPosition_type = runtimeType(value_arrowPointPosition); valueSerializer.writeInt8(value_arrowPointPosition_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_arrowPointPosition_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_arrowPointPosition_type)) { const auto value_arrowPointPosition_value = value_arrowPointPosition.value; valueSerializer.writeInt32(value_arrowPointPosition_value); } const auto value_arrowWidth = value.arrowWidth; - Ark_Int32 value_arrowWidth_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_arrowWidth_type = INTEROP_RUNTIME_UNDEFINED; value_arrowWidth_type = runtimeType(value_arrowWidth); valueSerializer.writeInt8(value_arrowWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_arrowWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_arrowWidth_type)) { const auto value_arrowWidth_value = value_arrowWidth.value; valueSerializer.writeLength(value_arrowWidth_value); } const auto value_arrowHeight = value.arrowHeight; - Ark_Int32 value_arrowHeight_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_arrowHeight_type = INTEROP_RUNTIME_UNDEFINED; value_arrowHeight_type = runtimeType(value_arrowHeight); valueSerializer.writeInt8(value_arrowHeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_arrowHeight_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_arrowHeight_type)) { const auto value_arrowHeight_value = value_arrowHeight.value; valueSerializer.writeLength(value_arrowHeight_value); } const auto value_radius = value.radius; - Ark_Int32 value_radius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; value_radius_type = runtimeType(value_radius); valueSerializer.writeInt8(value_radius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_radius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_type)) { const auto value_radius_value = value_radius.value; valueSerializer.writeLength(value_radius_value); } const auto value_shadow = value.shadow; - Ark_Int32 value_shadow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_shadow_type = INTEROP_RUNTIME_UNDEFINED; value_shadow_type = runtimeType(value_shadow); valueSerializer.writeInt8(value_shadow_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_shadow_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_shadow_type)) { const auto value_shadow_value = value_shadow.value; - Ark_Int32 value_shadow_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_shadow_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_backgroundBlurStyle = value.backgroundBlurStyle; - Ark_Int32 value_backgroundBlurStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundBlurStyle_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle); valueSerializer.writeInt8(value_backgroundBlurStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_focusable = value.focusable; - Ark_Int32 value_focusable_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_focusable_type = INTEROP_RUNTIME_UNDEFINED; value_focusable_type = runtimeType(value_focusable); valueSerializer.writeInt8(value_focusable_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_focusable_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_focusable_type)) { const auto value_focusable_value = value_focusable.value; valueSerializer.writeBoolean(value_focusable_value); } const auto value_transition = value.transition; - Ark_Int32 value_transition_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_transition_type = INTEROP_RUNTIME_UNDEFINED; value_transition_type = runtimeType(value_transition); valueSerializer.writeInt8(value_transition_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_onWillDismiss = value.onWillDismiss; - Ark_Int32 value_onWillDismiss_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillDismiss_type = INTEROP_RUNTIME_UNDEFINED; value_onWillDismiss_type = runtimeType(value_onWillDismiss); valueSerializer.writeInt8(value_onWillDismiss_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onWillDismiss_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillDismiss_type)) { const auto value_onWillDismiss_value = value_onWillDismiss.value; - Ark_Int32 value_onWillDismiss_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); @@ -57546,18 +57885,18 @@ class Serializer : public SerializerBase { } } const auto value_enableHoverMode = value.enableHoverMode; - Ark_Int32 value_enableHoverMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableHoverMode_type = INTEROP_RUNTIME_UNDEFINED; value_enableHoverMode_type = runtimeType(value_enableHoverMode); valueSerializer.writeInt8(value_enableHoverMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_followTransformOfTarget_type = INTEROP_RUNTIME_UNDEFINED; value_followTransformOfTarget_type = runtimeType(value_followTransformOfTarget); valueSerializer.writeInt8(value_followTransformOfTarget_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_followTransformOfTarget_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_followTransformOfTarget_type)) { const auto value_followTransformOfTarget_value = value_followTransformOfTarget.value; valueSerializer.writeBoolean(value_followTransformOfTarget_value); } @@ -57568,26 +57907,26 @@ class Serializer : public SerializerBase { const auto value_message = value.message; valueSerializer.writeString(value_message); const auto value_placementOnTop = value.placementOnTop; - Ark_Int32 value_placementOnTop_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_placementOnTop_type = INTEROP_RUNTIME_UNDEFINED; value_placementOnTop_type = runtimeType(value_placementOnTop); valueSerializer.writeInt8(value_placementOnTop_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_placementOnTop_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_placementOnTop_type)) { const auto value_placementOnTop_value = value_placementOnTop.value; valueSerializer.writeBoolean(value_placementOnTop_value); } const auto value_placement = value.placement; - Ark_Int32 value_placement_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_placement_type = INTEROP_RUNTIME_UNDEFINED; value_placement_type = runtimeType(value_placement); valueSerializer.writeInt8(value_placement_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_primaryButton = value.primaryButton; - Ark_Int32 value_primaryButton_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_primaryButton_type = INTEROP_RUNTIME_UNDEFINED; value_primaryButton_type = runtimeType(value_primaryButton); valueSerializer.writeInt8(value_primaryButton_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_primaryButton_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_primaryButton_type)) { const auto value_primaryButton_value = value_primaryButton.value; const auto value_primaryButton_value_value = value_primaryButton_value.value; valueSerializer.writeString(value_primaryButton_value_value); @@ -57597,10 +57936,10 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_primaryButton_value_action.callSync)); } const auto value_secondaryButton = value.secondaryButton; - Ark_Int32 value_secondaryButton_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_secondaryButton_type = INTEROP_RUNTIME_UNDEFINED; value_secondaryButton_type = runtimeType(value_secondaryButton); valueSerializer.writeInt8(value_secondaryButton_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_secondaryButton_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_secondaryButton_type)) { const auto value_secondaryButton_value = value_secondaryButton.value; const auto value_secondaryButton_value_value = value_secondaryButton_value.value; valueSerializer.writeString(value_secondaryButton_value_value); @@ -57610,66 +57949,66 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_secondaryButton_value_action.callSync)); } const auto value_onStateChange = value.onStateChange; - Ark_Int32 value_onStateChange_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onStateChange_type = INTEROP_RUNTIME_UNDEFINED; value_onStateChange_type = runtimeType(value_onStateChange); valueSerializer.writeInt8(value_onStateChange_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } const auto value_arrowOffset = value.arrowOffset; - Ark_Int32 value_arrowOffset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_arrowOffset_type = INTEROP_RUNTIME_UNDEFINED; value_arrowOffset_type = runtimeType(value_arrowOffset); valueSerializer.writeInt8(value_arrowOffset_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_arrowOffset_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_arrowOffset_type)) { const auto value_arrowOffset_value = value_arrowOffset.value; valueSerializer.writeLength(value_arrowOffset_value); } const auto value_showInSubWindow = value.showInSubWindow; - Ark_Int32 value_showInSubWindow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_showInSubWindow_type = INTEROP_RUNTIME_UNDEFINED; value_showInSubWindow_type = runtimeType(value_showInSubWindow); valueSerializer.writeInt8(value_showInSubWindow_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_mask = value.mask; - Ark_Int32 value_mask_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_mask_type = INTEROP_RUNTIME_UNDEFINED; value_mask_type = runtimeType(value_mask); valueSerializer.writeInt8(value_mask_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_mask_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_mask_type)) { const auto value_mask_value = value_mask.value; - Ark_Int32 value_mask_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_mask_value_type = INTEROP_RUNTIME_UNDEFINED; value_mask_value_type = value_mask_value.selector; if (((value_mask_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_mask_value_0 = value_mask_value.value0; valueSerializer.writeBoolean(value_mask_value_0); } - else if (((value_mask_value_type == 0))) { + else if (((value_mask_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_mask_value_1 = value_mask_value.value1; const auto value_mask_value_1_color = value_mask_value_1.color; - Ark_Int32 value_mask_value_1_color_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_mask_value_1_color_type = INTEROP_RUNTIME_UNDEFINED; value_mask_value_1_color_type = value_mask_value_1_color.selector; if (((value_mask_value_1_color_type == 0))) { valueSerializer.writeInt8(0); const auto value_mask_value_1_color_0 = value_mask_value_1_color.value0; valueSerializer.writeInt32(static_cast(value_mask_value_1_color_0)); } - else if (((value_mask_value_1_color_type == 0))) { + else if (((value_mask_value_1_color_type == 1))) { valueSerializer.writeInt8(1); const auto value_mask_value_1_color_1 = value_mask_value_1_color.value1; valueSerializer.writeNumber(value_mask_value_1_color_1); } - else if (((value_mask_value_1_color_type == 0))) { + else if (((value_mask_value_1_color_type == 2))) { valueSerializer.writeInt8(2); const auto value_mask_value_1_color_2 = value_mask_value_1_color.value2; valueSerializer.writeString(value_mask_value_1_color_2); } - else if (((value_mask_value_1_color_type == 0))) { + else if (((value_mask_value_1_color_type == 3))) { valueSerializer.writeInt8(3); const auto value_mask_value_1_color_3 = value_mask_value_1_color.value3; valueSerializer.writeResource(value_mask_value_1_color_3); @@ -57677,163 +58016,163 @@ class Serializer : public SerializerBase { } } const auto value_messageOptions = value.messageOptions; - Ark_Int32 value_messageOptions_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_messageOptions_type = INTEROP_RUNTIME_UNDEFINED; value_messageOptions_type = runtimeType(value_messageOptions); valueSerializer.writeInt8(value_messageOptions_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_messageOptions_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_messageOptions_type)) { const auto value_messageOptions_value = value_messageOptions.value; valueSerializer.writePopupMessageOptions(value_messageOptions_value); } const auto value_targetSpace = value.targetSpace; - Ark_Int32 value_targetSpace_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_targetSpace_type = INTEROP_RUNTIME_UNDEFINED; value_targetSpace_type = runtimeType(value_targetSpace); valueSerializer.writeInt8(value_targetSpace_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_targetSpace_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_targetSpace_type)) { const auto value_targetSpace_value = value_targetSpace.value; valueSerializer.writeLength(value_targetSpace_value); } const auto value_enableArrow = value.enableArrow; - Ark_Int32 value_enableArrow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableArrow_type = INTEROP_RUNTIME_UNDEFINED; value_enableArrow_type = runtimeType(value_enableArrow); valueSerializer.writeInt8(value_enableArrow_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_offset = value.offset; - Ark_Int32 value_offset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; value_offset_type = runtimeType(value_offset); valueSerializer.writeInt8(value_offset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_popupColor = value.popupColor; - Ark_Int32 value_popupColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_popupColor_type = INTEROP_RUNTIME_UNDEFINED; value_popupColor_type = runtimeType(value_popupColor); valueSerializer.writeInt8(value_popupColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_popupColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_popupColor_type)) { const auto value_popupColor_value = value_popupColor.value; - Ark_Int32 value_popupColor_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_popupColor_value_type = INTEROP_RUNTIME_UNDEFINED; value_popupColor_value_type = value_popupColor_value.selector; if (((value_popupColor_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_popupColor_value_0 = value_popupColor_value.value0; valueSerializer.writeInt32(static_cast(value_popupColor_value_0)); } - else if (((value_popupColor_value_type == 0))) { + else if (((value_popupColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_popupColor_value_1 = value_popupColor_value.value1; valueSerializer.writeString(value_popupColor_value_1); } - else if (((value_popupColor_value_type == 0))) { + else if (((value_popupColor_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_popupColor_value_2 = value_popupColor_value.value2; valueSerializer.writeResource(value_popupColor_value_2); } - else if (((value_popupColor_value_type == 0))) { + else if (((value_popupColor_value_type == 3))) { valueSerializer.writeInt8(3); const auto value_popupColor_value_3 = value_popupColor_value.value3; valueSerializer.writeNumber(value_popupColor_value_3); } } const auto value_autoCancel = value.autoCancel; - Ark_Int32 value_autoCancel_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_autoCancel_type = INTEROP_RUNTIME_UNDEFINED; value_autoCancel_type = runtimeType(value_autoCancel); valueSerializer.writeInt8(value_autoCancel_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_autoCancel_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_autoCancel_type)) { const auto value_autoCancel_value = value_autoCancel.value; valueSerializer.writeBoolean(value_autoCancel_value); } const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; valueSerializer.writeLength(value_width_value); } const auto value_arrowPointPosition = value.arrowPointPosition; - Ark_Int32 value_arrowPointPosition_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_arrowPointPosition_type = INTEROP_RUNTIME_UNDEFINED; value_arrowPointPosition_type = runtimeType(value_arrowPointPosition); valueSerializer.writeInt8(value_arrowPointPosition_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_arrowPointPosition_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_arrowPointPosition_type)) { const auto value_arrowPointPosition_value = value_arrowPointPosition.value; valueSerializer.writeInt32(value_arrowPointPosition_value); } const auto value_arrowWidth = value.arrowWidth; - Ark_Int32 value_arrowWidth_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_arrowWidth_type = INTEROP_RUNTIME_UNDEFINED; value_arrowWidth_type = runtimeType(value_arrowWidth); valueSerializer.writeInt8(value_arrowWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_arrowWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_arrowWidth_type)) { const auto value_arrowWidth_value = value_arrowWidth.value; valueSerializer.writeLength(value_arrowWidth_value); } const auto value_arrowHeight = value.arrowHeight; - Ark_Int32 value_arrowHeight_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_arrowHeight_type = INTEROP_RUNTIME_UNDEFINED; value_arrowHeight_type = runtimeType(value_arrowHeight); valueSerializer.writeInt8(value_arrowHeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_arrowHeight_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_arrowHeight_type)) { const auto value_arrowHeight_value = value_arrowHeight.value; valueSerializer.writeLength(value_arrowHeight_value); } const auto value_radius = value.radius; - Ark_Int32 value_radius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; value_radius_type = runtimeType(value_radius); valueSerializer.writeInt8(value_radius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_radius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_type)) { const auto value_radius_value = value_radius.value; valueSerializer.writeLength(value_radius_value); } const auto value_shadow = value.shadow; - Ark_Int32 value_shadow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_shadow_type = INTEROP_RUNTIME_UNDEFINED; value_shadow_type = runtimeType(value_shadow); valueSerializer.writeInt8(value_shadow_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_shadow_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_shadow_type)) { const auto value_shadow_value = value_shadow.value; - Ark_Int32 value_shadow_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_shadow_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_backgroundBlurStyle = value.backgroundBlurStyle; - Ark_Int32 value_backgroundBlurStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundBlurStyle_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle); valueSerializer.writeInt8(value_backgroundBlurStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_transition = value.transition; - Ark_Int32 value_transition_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_transition_type = INTEROP_RUNTIME_UNDEFINED; value_transition_type = runtimeType(value_transition); valueSerializer.writeInt8(value_transition_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_onWillDismiss = value.onWillDismiss; - Ark_Int32 value_onWillDismiss_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillDismiss_type = INTEROP_RUNTIME_UNDEFINED; value_onWillDismiss_type = runtimeType(value_onWillDismiss); valueSerializer.writeInt8(value_onWillDismiss_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onWillDismiss_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onWillDismiss_type)) { const auto value_onWillDismiss_value = value_onWillDismiss.value; - Ark_Int32 value_onWillDismiss_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); @@ -57842,18 +58181,18 @@ class Serializer : public SerializerBase { } } const auto value_enableHoverMode = value.enableHoverMode; - Ark_Int32 value_enableHoverMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableHoverMode_type = INTEROP_RUNTIME_UNDEFINED; value_enableHoverMode_type = runtimeType(value_enableHoverMode); valueSerializer.writeInt8(value_enableHoverMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_followTransformOfTarget_type = INTEROP_RUNTIME_UNDEFINED; value_followTransformOfTarget_type = runtimeType(value_followTransformOfTarget); valueSerializer.writeInt8(value_followTransformOfTarget_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_followTransformOfTarget_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_followTransformOfTarget_type)) { const auto value_followTransformOfTarget_value = value_followTransformOfTarget.value; valueSerializer.writeBoolean(value_followTransformOfTarget_value); } @@ -57862,18 +58201,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_follow = value.follow; - Ark_Int32 value_follow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_follow_type = INTEROP_RUNTIME_UNDEFINED; value_follow_type = runtimeType(value_follow); valueSerializer.writeInt8(value_follow_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_follow_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_follow_type)) { const auto value_follow_value = value_follow.value; valueSerializer.writeBoolean(value_follow_value); } const auto value_hierarchyStrategy = value.hierarchyStrategy; - Ark_Int32 value_hierarchyStrategy_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_hierarchyStrategy_type = INTEROP_RUNTIME_UNDEFINED; value_hierarchyStrategy_type = runtimeType(value_hierarchyStrategy); valueSerializer.writeInt8(value_hierarchyStrategy_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_hierarchyStrategy_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_hierarchyStrategy_type)) { const auto value_hierarchyStrategy_value = value_hierarchyStrategy.value; valueSerializer.writeInt32(static_cast(value_hierarchyStrategy_value)); } @@ -57888,18 +58227,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_align = value.align; - Ark_Int32 value_align_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_align_type = INTEROP_RUNTIME_UNDEFINED; value_align_type = runtimeType(value_align); valueSerializer.writeInt8(value_align_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; value_offset_type = runtimeType(value_offset); valueSerializer.writeInt8(value_offset_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_offset_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { const auto value_offset_value = value_offset.value; valueSerializer.writeOverlayOffset(value_offset_value); } @@ -57908,18 +58247,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_isMultiSelectionEnabled = value.isMultiSelectionEnabled; - Ark_Int32 value_isMultiSelectionEnabled_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_isMultiSelectionEnabled_type = INTEROP_RUNTIME_UNDEFINED; value_isMultiSelectionEnabled_type = runtimeType(value_isMultiSelectionEnabled); valueSerializer.writeInt8(value_isMultiSelectionEnabled_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_isMultiSelectionEnabled_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isMultiSelectionEnabled_type)) { const auto value_isMultiSelectionEnabled_value = value_isMultiSelectionEnabled.value; valueSerializer.writeBoolean(value_isMultiSelectionEnabled_value); } const auto value_defaultAnimationBeforeLifting = value.defaultAnimationBeforeLifting; - Ark_Int32 value_defaultAnimationBeforeLifting_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_defaultAnimationBeforeLifting_type = INTEROP_RUNTIME_UNDEFINED; value_defaultAnimationBeforeLifting_type = runtimeType(value_defaultAnimationBeforeLifting); valueSerializer.writeInt8(value_defaultAnimationBeforeLifting_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_defaultAnimationBeforeLifting_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_defaultAnimationBeforeLifting_type)) { const auto value_defaultAnimationBeforeLifting_value = value_defaultAnimationBeforeLifting.value; valueSerializer.writeBoolean(value_defaultAnimationBeforeLifting_value); } @@ -57928,19 +58267,19 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_mode = value.mode; - Ark_Int32 value_mode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_mode_type = INTEROP_RUNTIME_UNDEFINED; value_mode_type = runtimeType(value_mode); valueSerializer.writeInt8(value_mode_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_mode_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_mode_type)) { const auto value_mode_value = value_mode.value; - Ark_Int32 value_mode_value_type = ARK_RUNTIME_UNDEFINED; + 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_mode_value_0 = value_mode_value.value0; valueSerializer.writeInt32(static_cast(value_mode_value_0)); } - else if (((value_mode_value_type == 0))) { + else if (((value_mode_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_mode_value_1 = value_mode_value.value1; valueSerializer.writeInt32(value_mode_value_1.length); @@ -57951,27 +58290,27 @@ class Serializer : public SerializerBase { } } const auto value_modifier = value.modifier; - Ark_Int32 value_modifier_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_modifier_type = INTEROP_RUNTIME_UNDEFINED; value_modifier_type = runtimeType(value_modifier); valueSerializer.writeInt8(value_modifier_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_numberBadge_type = INTEROP_RUNTIME_UNDEFINED; value_numberBadge_type = runtimeType(value_numberBadge); valueSerializer.writeInt8(value_numberBadge_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_numberBadge_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_numberBadge_type)) { const auto value_numberBadge_value = value_numberBadge.value; - Ark_Int32 value_numberBadge_value_type = ARK_RUNTIME_UNDEFINED; + 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_numberBadge_value_type == 0))) { + 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); @@ -57982,66 +58321,66 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_duration = value.duration; - Ark_Int32 value_duration_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_duration_type = INTEROP_RUNTIME_UNDEFINED; value_duration_type = runtimeType(value_duration); valueSerializer.writeInt8(value_duration_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_curve_type = INTEROP_RUNTIME_UNDEFINED; value_curve_type = runtimeType(value_curve); valueSerializer.writeInt8(value_curve_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_curve_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_curve_type)) { const auto value_curve_value = value_curve.value; - Ark_Int32 value_curve_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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_delay = value.delay; - Ark_Int32 value_delay_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_delay_type = INTEROP_RUNTIME_UNDEFINED; value_delay_type = runtimeType(value_delay); valueSerializer.writeInt8(value_delay_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_motionPath = value.motionPath; - Ark_Int32 value_motionPath_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_motionPath_type = INTEROP_RUNTIME_UNDEFINED; value_motionPath_type = runtimeType(value_motionPath); valueSerializer.writeInt8(value_motionPath_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_zIndex = value.zIndex; - Ark_Int32 value_zIndex_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_zIndex_type = INTEROP_RUNTIME_UNDEFINED; value_zIndex_type = runtimeType(value_zIndex); valueSerializer.writeInt8(value_zIndex_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_type = value.type; - Ark_Int32 value_type_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_type_type = INTEROP_RUNTIME_UNDEFINED; value_type_type = runtimeType(value_type); valueSerializer.writeInt8(value_type_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -58065,34 +58404,34 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_colorMode = value.colorMode; - Ark_Int32 value_colorMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_colorMode_type = INTEROP_RUNTIME_UNDEFINED; value_colorMode_type = runtimeType(value_colorMode); valueSerializer.writeInt8(value_colorMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_adaptiveColor_type = INTEROP_RUNTIME_UNDEFINED; value_adaptiveColor_type = runtimeType(value_adaptiveColor); valueSerializer.writeInt8(value_adaptiveColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_scale_type = INTEROP_RUNTIME_UNDEFINED; value_scale_type = runtimeType(value_scale); valueSerializer.writeInt8(value_scale_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_blurOptions_type = INTEROP_RUNTIME_UNDEFINED; value_blurOptions_type = runtimeType(value_blurOptions); valueSerializer.writeInt8(value_blurOptions_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_blurOptions_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_blurOptions_type)) { const auto value_blurOptions_value = value_blurOptions.value; valueSerializer.writeBlurOptions(value_blurOptions_value); } @@ -58124,28 +58463,28 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_pixelMap = value.pixelMap; - Ark_Int32 value_pixelMap_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_pixelMap_type = INTEROP_RUNTIME_UNDEFINED; value_pixelMap_type = runtimeType(value_pixelMap); valueSerializer.writeInt8(value_pixelMap_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_pixelMap_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_pixelMap_type)) { const auto value_pixelMap_value = value_pixelMap.value; valueSerializer.writePixelMap(value_pixelMap_value); } const auto value_builder = value.builder; - Ark_Int32 value_builder_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_builder_type = INTEROP_RUNTIME_UNDEFINED; value_builder_type = runtimeType(value_builder); valueSerializer.writeInt8(value_builder_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_extraInfo = value.extraInfo; - Ark_Int32 value_extraInfo_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_extraInfo_type = INTEROP_RUNTIME_UNDEFINED; value_extraInfo_type = runtimeType(value_extraInfo); valueSerializer.writeInt8(value_extraInfo_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_extraInfo_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_extraInfo_type)) { const auto value_extraInfo_value = value_extraInfo.value; valueSerializer.writeString(value_extraInfo_value); } @@ -58156,10 +58495,10 @@ class Serializer : public SerializerBase { const auto value_level = value.level; valueSerializer.writeInt32(static_cast(value_level)); const auto value_scale = value.scale; - Ark_Int32 value_scale_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_scale_type = INTEROP_RUNTIME_UNDEFINED; value_scale_type = runtimeType(value_scale); valueSerializer.writeInt8(value_scale_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_scale_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scale_type)) { const auto value_scale_value = value_scale.value; valueSerializer.writeNumber(value_scale_value); } @@ -58168,18 +58507,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_horizontal = value.horizontal; - Ark_Int32 value_horizontal_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_horizontal_type = INTEROP_RUNTIME_UNDEFINED; value_horizontal_type = runtimeType(value_horizontal); valueSerializer.writeInt8(value_horizontal_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_horizontal_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_horizontal_type)) { const auto value_horizontal_value = value_horizontal.value; valueSerializer.writeNumber(value_horizontal_value); } const auto value_vertical = value.vertical; - Ark_Int32 value_vertical_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_vertical_type = INTEROP_RUNTIME_UNDEFINED; value_vertical_type = runtimeType(value_vertical); valueSerializer.writeInt8(value_vertical_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_vertical_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_vertical_type)) { const auto value_vertical_value = value_vertical.value; valueSerializer.writeNumber(value_vertical_value); } @@ -58204,18 +58543,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_start = value.start; - Ark_Int32 value_start_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; value_start_type = runtimeType(value_start); valueSerializer.writeInt8(value_start_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; value_top_type = runtimeType(value_top); valueSerializer.writeInt8(value_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_top_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { const auto value_top_value = value_top.value; valueSerializer.writeLengthMetrics(value_top_value); } @@ -58244,42 +58583,42 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_type = value.type; - Ark_Int32 value_type_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_type_type = INTEROP_RUNTIME_UNDEFINED; value_type_type = runtimeType(value_type); valueSerializer.writeInt8(value_type_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_opacity = value.opacity; - Ark_Int32 value_opacity_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_opacity_type = INTEROP_RUNTIME_UNDEFINED; value_opacity_type = runtimeType(value_opacity); valueSerializer.writeInt8(value_opacity_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_translate = value.translate; - Ark_Int32 value_translate_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_translate_type = INTEROP_RUNTIME_UNDEFINED; value_translate_type = runtimeType(value_translate); valueSerializer.writeInt8(value_translate_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_scale = value.scale; - Ark_Int32 value_scale_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_scale_type = INTEROP_RUNTIME_UNDEFINED; value_scale_type = runtimeType(value_scale); valueSerializer.writeInt8(value_scale_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_rotate = value.rotate; - Ark_Int32 value_rotate_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_rotate_type = INTEROP_RUNTIME_UNDEFINED; value_rotate_type = runtimeType(value_rotate); valueSerializer.writeInt8(value_rotate_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_rotate_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_rotate_type)) { const auto value_rotate_value = value_rotate.value; valueSerializer.writeRotateOptions(value_rotate_value); } @@ -58313,22 +58652,27 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value.ptr); } + void writeUnifiedData(Ark_UnifiedData value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value.ptr); + } void writeColumnSplitDividerStyle(Ark_ColumnSplitDividerStyle value) { Serializer& valueSerializer = *this; const auto value_startMargin = value.startMargin; - Ark_Int32 value_startMargin_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_startMargin_type = INTEROP_RUNTIME_UNDEFINED; value_startMargin_type = runtimeType(value_startMargin); valueSerializer.writeInt8(value_startMargin_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_startMargin_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_startMargin_type)) { const auto value_startMargin_value = value_startMargin.value; valueSerializer.writeLength(value_startMargin_value); } const auto value_endMargin = value.endMargin; - Ark_Int32 value_endMargin_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_endMargin_type = INTEROP_RUNTIME_UNDEFINED; value_endMargin_type = runtimeType(value_endMargin); valueSerializer.writeInt8(value_endMargin_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_endMargin_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_endMargin_type)) { const auto value_endMargin_value = value_endMargin.value; valueSerializer.writeLength(value_endMargin_value); } @@ -58345,29 +58689,29 @@ class Serializer : public SerializerBase { const auto value_intensity = value.intensity; valueSerializer.writeNumber(value_intensity); const auto value_color = value.color; - Ark_Int32 value_color_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 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_color_value_type == 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); @@ -58408,187 +58752,187 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_hintRadius = value.hintRadius; - Ark_Int32 value_hintRadius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_hintRadius_type = INTEROP_RUNTIME_UNDEFINED; value_hintRadius_type = runtimeType(value_hintRadius); valueSerializer.writeInt8(value_hintRadius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_hintRadius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_hintRadius_type)) { const auto value_hintRadius_value = value_hintRadius.value; - Ark_Int32 value_hintRadius_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_selected_type = INTEROP_RUNTIME_UNDEFINED; value_selected_type = runtimeType(value_selected); valueSerializer.writeInt8(value_selected_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_onAccept = value.onAccept; - Ark_Int32 value_onAccept_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onAccept_type = INTEROP_RUNTIME_UNDEFINED; value_onAccept_type = runtimeType(value_onAccept); valueSerializer.writeInt8(value_onAccept_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onAccept_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onAccept_type)) { const auto value_onAccept_value = value_onAccept.value; valueSerializer.writeCallbackResource(value_onAccept_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onAccept_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onAccept_value.callSync)); } const auto value_onCancel = value.onCancel; - Ark_Int32 value_onCancel_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onCancel_type = INTEROP_RUNTIME_UNDEFINED; value_onCancel_type = runtimeType(value_onCancel); valueSerializer.writeInt8(value_onCancel_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onCancel_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onCancel_type)) { const auto value_onCancel_value = value_onCancel.value; valueSerializer.writeCallbackResource(value_onCancel_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onCancel_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onCancel_value.callSync)); } const auto value_onChange = value.onChange; - Ark_Int32 value_onChange_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onChange_type = INTEROP_RUNTIME_UNDEFINED; value_onChange_type = runtimeType(value_onChange); valueSerializer.writeInt8(value_onChange_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onChange_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onChange_type)) { const auto value_onChange_value = value_onChange.value; valueSerializer.writeCallbackResource(value_onChange_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onChange_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onChange_value.callSync)); } const auto value_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); valueSerializer.writeInt8(value_backgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundBlurStyle_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle); valueSerializer.writeInt8(value_backgroundBlurStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_acceptButtonStyle = value.acceptButtonStyle; - Ark_Int32 value_acceptButtonStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_acceptButtonStyle_type = INTEROP_RUNTIME_UNDEFINED; value_acceptButtonStyle_type = runtimeType(value_acceptButtonStyle); valueSerializer.writeInt8(value_acceptButtonStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_acceptButtonStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_acceptButtonStyle_type)) { const auto value_acceptButtonStyle_value = value_acceptButtonStyle.value; valueSerializer.writePickerDialogButtonStyle(value_acceptButtonStyle_value); } const auto value_cancelButtonStyle = value.cancelButtonStyle; - Ark_Int32 value_cancelButtonStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_cancelButtonStyle_type = INTEROP_RUNTIME_UNDEFINED; value_cancelButtonStyle_type = runtimeType(value_cancelButtonStyle); valueSerializer.writeInt8(value_cancelButtonStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_cancelButtonStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_cancelButtonStyle_type)) { const auto value_cancelButtonStyle_value = value_cancelButtonStyle.value; valueSerializer.writePickerDialogButtonStyle(value_cancelButtonStyle_value); } const auto value_onDidAppear = value.onDidAppear; - Ark_Int32 value_onDidAppear_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onDidAppear_type = INTEROP_RUNTIME_UNDEFINED; value_onDidAppear_type = runtimeType(value_onDidAppear); valueSerializer.writeInt8(value_onDidAppear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onDidDisappear_type = INTEROP_RUNTIME_UNDEFINED; value_onDidDisappear_type = runtimeType(value_onDidDisappear); valueSerializer.writeInt8(value_onDidDisappear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillAppear_type = INTEROP_RUNTIME_UNDEFINED; value_onWillAppear_type = runtimeType(value_onWillAppear); valueSerializer.writeInt8(value_onWillAppear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillDisappear_type = INTEROP_RUNTIME_UNDEFINED; value_onWillDisappear_type = runtimeType(value_onWillDisappear); valueSerializer.writeInt8(value_onWillDisappear_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_shadow = value.shadow; - Ark_Int32 value_shadow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_shadow_type = INTEROP_RUNTIME_UNDEFINED; value_shadow_type = runtimeType(value_shadow); valueSerializer.writeInt8(value_shadow_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_shadow_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_shadow_type)) { const auto value_shadow_value = value_shadow.value; - Ark_Int32 value_shadow_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_shadow_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_enableHoverMode = value.enableHoverMode; - Ark_Int32 value_enableHoverMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableHoverMode_type = INTEROP_RUNTIME_UNDEFINED; value_enableHoverMode_type = runtimeType(value_enableHoverMode); valueSerializer.writeInt8(value_enableHoverMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_hoverModeArea_type = INTEROP_RUNTIME_UNDEFINED; value_hoverModeArea_type = runtimeType(value_hoverModeArea); valueSerializer.writeInt8(value_hoverModeArea_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -58616,157 +58960,157 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_color = value.color; - Ark_Int32 value_color_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 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_color_value_type == 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); } } const auto value_fontSize = value.fontSize; - Ark_Int32 value_fontSize_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontSize_type = INTEROP_RUNTIME_UNDEFINED; value_fontSize_type = runtimeType(value_fontSize); valueSerializer.writeInt8(value_fontSize_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontSize_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontSize_type)) { const auto value_fontSize_value = value_fontSize.value; - Ark_Int32 value_fontSize_value_type = ARK_RUNTIME_UNDEFINED; + 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_fontSize_value_0 = value_fontSize_value.value0; valueSerializer.writeNumber(value_fontSize_value_0); } - else if (((value_fontSize_value_type == 0))) { + else if (((value_fontSize_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_badgeSize = value.badgeSize; - Ark_Int32 value_badgeSize_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_badgeSize_type = INTEROP_RUNTIME_UNDEFINED; value_badgeSize_type = runtimeType(value_badgeSize); valueSerializer.writeInt8(value_badgeSize_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_badgeSize_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_badgeSize_type)) { const auto value_badgeSize_value = value_badgeSize.value; - Ark_Int32 value_badgeSize_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_badgeColor_type = INTEROP_RUNTIME_UNDEFINED; value_badgeColor_type = runtimeType(value_badgeColor); valueSerializer.writeInt8(value_badgeColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_badgeColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_badgeColor_type)) { const auto value_badgeColor_value = value_badgeColor.value; - Ark_Int32 value_badgeColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + else if (((value_badgeColor_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_badgeColor_value_2 = value_badgeColor_value.value2; valueSerializer.writeString(value_badgeColor_value_2); } - else if (((value_badgeColor_value_type == 0))) { + 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_borderColor = value.borderColor; - Ark_Int32 value_borderColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderColor_type = INTEROP_RUNTIME_UNDEFINED; value_borderColor_type = runtimeType(value_borderColor); valueSerializer.writeInt8(value_borderColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_type)) { const auto value_borderColor_value = value_borderColor.value; - Ark_Int32 value_borderColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_borderColor_value_0 = value_borderColor_value.value0; valueSerializer.writeInt32(static_cast(value_borderColor_value_0)); } - else if (((value_borderColor_value_type == 0))) { + else if (((value_borderColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_borderColor_value_1 = value_borderColor_value.value1; valueSerializer.writeNumber(value_borderColor_value_1); } - else if (((value_borderColor_value_type == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderWidth_type = INTEROP_RUNTIME_UNDEFINED; value_borderWidth_type = runtimeType(value_borderWidth); valueSerializer.writeInt8(value_borderWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_type)) { const auto value_borderWidth_value = value_borderWidth.value; valueSerializer.writeLength(value_borderWidth_value); } const auto value_fontWeight = value.fontWeight; - Ark_Int32 value_fontWeight_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontWeight_type = INTEROP_RUNTIME_UNDEFINED; value_fontWeight_type = runtimeType(value_fontWeight); valueSerializer.writeInt8(value_fontWeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontWeight_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontWeight_type)) { const auto value_fontWeight_value = value_fontWeight.value; - Ark_Int32 value_fontWeight_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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); @@ -58786,87 +59130,87 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_title = value.title; - Ark_Int32 value_title_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_title_type = INTEROP_RUNTIME_UNDEFINED; value_title_type = runtimeType(value_title); valueSerializer.writeInt8(value_title_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_title_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_title_type)) { const auto value_title_value = value_title.value; - Ark_Int32 value_title_value_type = ARK_RUNTIME_UNDEFINED; + 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.writeString(value_title_value_0); } - else if (((value_title_value_type == 0))) { + else if (((value_title_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_title_value_1 = value_title_value.value1; valueSerializer.writeResource(value_title_value_1); } } const auto value_subtitle = value.subtitle; - Ark_Int32 value_subtitle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_subtitle_type = INTEROP_RUNTIME_UNDEFINED; value_subtitle_type = runtimeType(value_subtitle); valueSerializer.writeInt8(value_subtitle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_subtitle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_subtitle_type)) { const auto value_subtitle_value = value_subtitle.value; - Ark_Int32 value_subtitle_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_message = value.message; - Ark_Int32 value_message_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_message_type = INTEROP_RUNTIME_UNDEFINED; value_message_type = value_message.selector; if (((value_message_type == 0))) { valueSerializer.writeInt8(0); const auto value_message_0 = value_message.value0; valueSerializer.writeString(value_message_0); } - else if (((value_message_type == 0))) { + else if (((value_message_type == 1))) { valueSerializer.writeInt8(1); const auto value_message_1 = value_message.value1; valueSerializer.writeResource(value_message_1); } const auto value_autoCancel = value.autoCancel; - Ark_Int32 value_autoCancel_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_autoCancel_type = INTEROP_RUNTIME_UNDEFINED; value_autoCancel_type = runtimeType(value_autoCancel); valueSerializer.writeInt8(value_autoCancel_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_autoCancel_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_autoCancel_type)) { const auto value_autoCancel_value = value_autoCancel.value; valueSerializer.writeBoolean(value_autoCancel_value); } const auto value_cancel = value.cancel; - Ark_Int32 value_cancel_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_cancel_type = INTEROP_RUNTIME_UNDEFINED; value_cancel_type = runtimeType(value_cancel); valueSerializer.writeInt8(value_cancel_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_cancel_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_cancel_type)) { const auto value_cancel_value = value_cancel.value; valueSerializer.writeCallbackResource(value_cancel_value.resource); valueSerializer.writePointer(reinterpret_cast(value_cancel_value.call)); valueSerializer.writePointer(reinterpret_cast(value_cancel_value.callSync)); } const auto value_alignment = value.alignment; - Ark_Int32 value_alignment_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_alignment_type = INTEROP_RUNTIME_UNDEFINED; value_alignment_type = runtimeType(value_alignment); valueSerializer.writeInt8(value_alignment_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_alignment_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_alignment_type)) { const auto value_alignment_value = value_alignment.value; valueSerializer.writeInt32(static_cast(value_alignment_value)); } const auto value_offset = value.offset; - Ark_Int32 value_offset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; value_offset_type = runtimeType(value_offset); valueSerializer.writeInt8(value_offset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_offset_value_dx); @@ -58874,468 +59218,468 @@ class Serializer : public SerializerBase { valueSerializer.writeLength(value_offset_value_dy); } const auto value_gridCount = value.gridCount; - Ark_Int32 value_gridCount_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_gridCount_type = INTEROP_RUNTIME_UNDEFINED; value_gridCount_type = runtimeType(value_gridCount); valueSerializer.writeInt8(value_gridCount_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_gridCount_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_gridCount_type)) { const auto value_gridCount_value = value_gridCount.value; valueSerializer.writeNumber(value_gridCount_value); } const auto value_maskRect = value.maskRect; - Ark_Int32 value_maskRect_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_maskRect_type = INTEROP_RUNTIME_UNDEFINED; value_maskRect_type = runtimeType(value_maskRect); valueSerializer.writeInt8(value_maskRect_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_maskRect_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maskRect_type)) { const auto value_maskRect_value = value_maskRect.value; valueSerializer.writeRectangle(value_maskRect_value); } const auto value_showInSubWindow = value.showInSubWindow; - Ark_Int32 value_showInSubWindow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_showInSubWindow_type = INTEROP_RUNTIME_UNDEFINED; value_showInSubWindow_type = runtimeType(value_showInSubWindow); valueSerializer.writeInt8(value_showInSubWindow_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_isModal = value.isModal; - Ark_Int32 value_isModal_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_isModal_type = INTEROP_RUNTIME_UNDEFINED; value_isModal_type = runtimeType(value_isModal); valueSerializer.writeInt8(value_isModal_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_isModal_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isModal_type)) { const auto value_isModal_value = value_isModal.value; valueSerializer.writeBoolean(value_isModal_value); } const auto value_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); valueSerializer.writeInt8(value_backgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundBlurStyle_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle); valueSerializer.writeInt8(value_backgroundBlurStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_onWillDismiss = value.onWillDismiss; - Ark_Int32 value_onWillDismiss_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillDismiss_type = INTEROP_RUNTIME_UNDEFINED; value_onWillDismiss_type = runtimeType(value_onWillDismiss); valueSerializer.writeInt8(value_onWillDismiss_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_transition_type = INTEROP_RUNTIME_UNDEFINED; value_transition_type = runtimeType(value_transition); valueSerializer.writeInt8(value_transition_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_cornerRadius = value.cornerRadius; - Ark_Int32 value_cornerRadius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_cornerRadius_type = INTEROP_RUNTIME_UNDEFINED; value_cornerRadius_type = runtimeType(value_cornerRadius); valueSerializer.writeInt8(value_cornerRadius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_cornerRadius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_type)) { const auto value_cornerRadius_value = value_cornerRadius.value; - Ark_Int32 value_cornerRadius_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_cornerRadius_value_type = INTEROP_RUNTIME_UNDEFINED; value_cornerRadius_value_type = value_cornerRadius_value.selector; - if (((value_cornerRadius_value_type == 0)) || ((value_cornerRadius_value_type == 1)) || ((value_cornerRadius_value_type == 2))) { + if (((value_cornerRadius_value_type == 0)) || ((value_cornerRadius_value_type == 0)) || ((value_cornerRadius_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_cornerRadius_value_0 = value_cornerRadius_value.value0; valueSerializer.writeLength(value_cornerRadius_value_0); } - else if (((value_cornerRadius_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_cornerRadius_value_1_topLeft_value); } const auto value_cornerRadius_value_1_topRight = value_cornerRadius_value_1.topRight; - Ark_Int32 value_cornerRadius_value_1_topRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_cornerRadius_value_1_topRight_value); } const auto value_cornerRadius_value_1_bottomLeft = value_cornerRadius_value_1.bottomLeft; - Ark_Int32 value_cornerRadius_value_1_bottomLeft_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_cornerRadius_value_1_bottomLeft_value); } const auto value_cornerRadius_value_1_bottomRight = value_cornerRadius_value_1.bottomRight; - Ark_Int32 value_cornerRadius_value_1_bottomRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_cornerRadius_value_1_bottomRight_value); } } - else if (((value_cornerRadius_value_type == 0))) { + else if (((value_cornerRadius_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_cornerRadius_value_2 = value_cornerRadius_value.value2; valueSerializer.writeLocalizedBorderRadiuses(value_cornerRadius_value_2); } } const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; valueSerializer.writeLength(value_width_value); } const auto value_height = value.height; - Ark_Int32 value_height_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; value_height_type = runtimeType(value_height); valueSerializer.writeInt8(value_height_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_height_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { const auto value_height_value = value_height.value; valueSerializer.writeLength(value_height_value); } const auto value_borderWidth = value.borderWidth; - Ark_Int32 value_borderWidth_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderWidth_type = INTEROP_RUNTIME_UNDEFINED; value_borderWidth_type = runtimeType(value_borderWidth); valueSerializer.writeInt8(value_borderWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_type)) { const auto value_borderWidth_value = value_borderWidth.value; - Ark_Int32 value_borderWidth_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 1)) || ((value_borderWidth_value_type == 2))) { + if (((value_borderWidth_value_type == 0)) || ((value_borderWidth_value_type == 0)) || ((value_borderWidth_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_borderWidth_value_0 = value_borderWidth_value.value0; valueSerializer.writeLength(value_borderWidth_value_0); } - else if (((value_borderWidth_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_top_value); } const auto value_borderWidth_value_1_right = value_borderWidth_value_1.right; - Ark_Int32 value_borderWidth_value_1_right_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_right_value); } const auto value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom; - Ark_Int32 value_borderWidth_value_1_bottom_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_bottom_value); } const auto value_borderWidth_value_1_left = value_borderWidth_value_1.left; - Ark_Int32 value_borderWidth_value_1_left_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_left_value); } } - else if (((value_borderWidth_value_type == 0))) { + else if (((value_borderWidth_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_borderColor = value.borderColor; - Ark_Int32 value_borderColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderColor_type = INTEROP_RUNTIME_UNDEFINED; value_borderColor_type = runtimeType(value_borderColor); valueSerializer.writeInt8(value_borderColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_type)) { const auto value_borderColor_value = value_borderColor.value; - Ark_Int32 value_borderColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 1)) || ((value_borderColor_value_type == 2)) || ((value_borderColor_value_type == 3))) { + 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_borderColor_value_0 = value_borderColor_value.value0; - Ark_Int32 value_borderColor_value_0_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_borderColor_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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); } } } - else if (((value_borderColor_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_type = runtimeType(value_borderStyle); valueSerializer.writeInt8(value_borderStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_type)) { const auto value_borderStyle_value = value_borderStyle.value; - Ark_Int32 value_borderStyle_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_borderStyle_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_borderStyle_value_1 = value_borderStyle_value.value1; const auto value_borderStyle_value_1_top = value_borderStyle_value_1.top; - Ark_Int32 value_borderStyle_value_1_top_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_top_type = runtimeType(value_borderStyle_value_1_top); valueSerializer.writeInt8(value_borderStyle_value_1_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_top_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_top_type)) { const auto value_borderStyle_value_1_top_value = value_borderStyle_value_1_top.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_top_value)); } const auto value_borderStyle_value_1_right = value_borderStyle_value_1.right; - Ark_Int32 value_borderStyle_value_1_right_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_right_type = runtimeType(value_borderStyle_value_1_right); valueSerializer.writeInt8(value_borderStyle_value_1_right_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_right_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_right_type)) { const auto value_borderStyle_value_1_right_value = value_borderStyle_value_1_right.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_right_value)); } const auto value_borderStyle_value_1_bottom = value_borderStyle_value_1.bottom; - Ark_Int32 value_borderStyle_value_1_bottom_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_bottom_type = runtimeType(value_borderStyle_value_1_bottom); valueSerializer.writeInt8(value_borderStyle_value_1_bottom_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_bottom_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_bottom_type)) { const auto value_borderStyle_value_1_bottom_value = value_borderStyle_value_1_bottom.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_bottom_value)); } const auto value_borderStyle_value_1_left = value_borderStyle_value_1.left; - Ark_Int32 value_borderStyle_value_1_left_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_left_type = runtimeType(value_borderStyle_value_1_left); valueSerializer.writeInt8(value_borderStyle_value_1_left_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_left_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_left_type)) { const auto value_borderStyle_value_1_left_value = value_borderStyle_value_1_left.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_left_value)); } } } const auto value_shadow = value.shadow; - Ark_Int32 value_shadow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_shadow_type = INTEROP_RUNTIME_UNDEFINED; value_shadow_type = runtimeType(value_shadow); valueSerializer.writeInt8(value_shadow_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_shadow_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_shadow_type)) { const auto value_shadow_value = value_shadow.value; - Ark_Int32 value_shadow_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_shadow_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_textStyle = value.textStyle; - Ark_Int32 value_textStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_textStyle_type = INTEROP_RUNTIME_UNDEFINED; value_textStyle_type = runtimeType(value_textStyle); valueSerializer.writeInt8(value_textStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_textStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textStyle_type)) { const auto value_textStyle_value = value_textStyle.value; valueSerializer.writeTextStyle_alert_dialog(value_textStyle_value); } const auto value_enableHoverMode = value.enableHoverMode; - Ark_Int32 value_enableHoverMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableHoverMode_type = INTEROP_RUNTIME_UNDEFINED; value_enableHoverMode_type = runtimeType(value_enableHoverMode); valueSerializer.writeInt8(value_enableHoverMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_hoverModeArea_type = INTEROP_RUNTIME_UNDEFINED; value_hoverModeArea_type = runtimeType(value_hoverModeArea); valueSerializer.writeInt8(value_hoverModeArea_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -59346,10 +59690,10 @@ class Serializer : public SerializerBase { valueSerializer.writeAlertDialogButtonOptions(value_buttons_element); } const auto value_buttonDirection = value.buttonDirection; - Ark_Int32 value_buttonDirection_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_buttonDirection_type = INTEROP_RUNTIME_UNDEFINED; value_buttonDirection_type = runtimeType(value_buttonDirection); valueSerializer.writeInt8(value_buttonDirection_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_buttonDirection_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_buttonDirection_type)) { const auto value_buttonDirection_value = value_buttonDirection.value; valueSerializer.writeInt32(static_cast(value_buttonDirection_value)); } @@ -59358,87 +59702,87 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_title = value.title; - Ark_Int32 value_title_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_title_type = INTEROP_RUNTIME_UNDEFINED; value_title_type = runtimeType(value_title); valueSerializer.writeInt8(value_title_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_title_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_title_type)) { const auto value_title_value = value_title.value; - Ark_Int32 value_title_value_type = ARK_RUNTIME_UNDEFINED; + 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.writeString(value_title_value_0); } - else if (((value_title_value_type == 0))) { + else if (((value_title_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_title_value_1 = value_title_value.value1; valueSerializer.writeResource(value_title_value_1); } } const auto value_subtitle = value.subtitle; - Ark_Int32 value_subtitle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_subtitle_type = INTEROP_RUNTIME_UNDEFINED; value_subtitle_type = runtimeType(value_subtitle); valueSerializer.writeInt8(value_subtitle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_subtitle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_subtitle_type)) { const auto value_subtitle_value = value_subtitle.value; - Ark_Int32 value_subtitle_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_message = value.message; - Ark_Int32 value_message_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_message_type = INTEROP_RUNTIME_UNDEFINED; value_message_type = value_message.selector; if (((value_message_type == 0))) { valueSerializer.writeInt8(0); const auto value_message_0 = value_message.value0; valueSerializer.writeString(value_message_0); } - else if (((value_message_type == 0))) { + else if (((value_message_type == 1))) { valueSerializer.writeInt8(1); const auto value_message_1 = value_message.value1; valueSerializer.writeResource(value_message_1); } const auto value_autoCancel = value.autoCancel; - Ark_Int32 value_autoCancel_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_autoCancel_type = INTEROP_RUNTIME_UNDEFINED; value_autoCancel_type = runtimeType(value_autoCancel); valueSerializer.writeInt8(value_autoCancel_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_autoCancel_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_autoCancel_type)) { const auto value_autoCancel_value = value_autoCancel.value; valueSerializer.writeBoolean(value_autoCancel_value); } const auto value_cancel = value.cancel; - Ark_Int32 value_cancel_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_cancel_type = INTEROP_RUNTIME_UNDEFINED; value_cancel_type = runtimeType(value_cancel); valueSerializer.writeInt8(value_cancel_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_cancel_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_cancel_type)) { const auto value_cancel_value = value_cancel.value; valueSerializer.writeCallbackResource(value_cancel_value.resource); valueSerializer.writePointer(reinterpret_cast(value_cancel_value.call)); valueSerializer.writePointer(reinterpret_cast(value_cancel_value.callSync)); } const auto value_alignment = value.alignment; - Ark_Int32 value_alignment_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_alignment_type = INTEROP_RUNTIME_UNDEFINED; value_alignment_type = runtimeType(value_alignment); valueSerializer.writeInt8(value_alignment_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_alignment_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_alignment_type)) { const auto value_alignment_value = value_alignment.value; valueSerializer.writeInt32(static_cast(value_alignment_value)); } const auto value_offset = value.offset; - Ark_Int32 value_offset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; value_offset_type = runtimeType(value_offset); valueSerializer.writeInt8(value_offset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_offset_value_dx); @@ -59446,468 +59790,468 @@ class Serializer : public SerializerBase { valueSerializer.writeLength(value_offset_value_dy); } const auto value_gridCount = value.gridCount; - Ark_Int32 value_gridCount_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_gridCount_type = INTEROP_RUNTIME_UNDEFINED; value_gridCount_type = runtimeType(value_gridCount); valueSerializer.writeInt8(value_gridCount_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_gridCount_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_gridCount_type)) { const auto value_gridCount_value = value_gridCount.value; valueSerializer.writeNumber(value_gridCount_value); } const auto value_maskRect = value.maskRect; - Ark_Int32 value_maskRect_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_maskRect_type = INTEROP_RUNTIME_UNDEFINED; value_maskRect_type = runtimeType(value_maskRect); valueSerializer.writeInt8(value_maskRect_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_maskRect_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maskRect_type)) { const auto value_maskRect_value = value_maskRect.value; valueSerializer.writeRectangle(value_maskRect_value); } const auto value_showInSubWindow = value.showInSubWindow; - Ark_Int32 value_showInSubWindow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_showInSubWindow_type = INTEROP_RUNTIME_UNDEFINED; value_showInSubWindow_type = runtimeType(value_showInSubWindow); valueSerializer.writeInt8(value_showInSubWindow_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_isModal = value.isModal; - Ark_Int32 value_isModal_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_isModal_type = INTEROP_RUNTIME_UNDEFINED; value_isModal_type = runtimeType(value_isModal); valueSerializer.writeInt8(value_isModal_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_isModal_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isModal_type)) { const auto value_isModal_value = value_isModal.value; valueSerializer.writeBoolean(value_isModal_value); } const auto value_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); valueSerializer.writeInt8(value_backgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundBlurStyle_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle); valueSerializer.writeInt8(value_backgroundBlurStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_onWillDismiss = value.onWillDismiss; - Ark_Int32 value_onWillDismiss_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillDismiss_type = INTEROP_RUNTIME_UNDEFINED; value_onWillDismiss_type = runtimeType(value_onWillDismiss); valueSerializer.writeInt8(value_onWillDismiss_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_transition_type = INTEROP_RUNTIME_UNDEFINED; value_transition_type = runtimeType(value_transition); valueSerializer.writeInt8(value_transition_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_cornerRadius = value.cornerRadius; - Ark_Int32 value_cornerRadius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_cornerRadius_type = INTEROP_RUNTIME_UNDEFINED; value_cornerRadius_type = runtimeType(value_cornerRadius); valueSerializer.writeInt8(value_cornerRadius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_cornerRadius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_type)) { const auto value_cornerRadius_value = value_cornerRadius.value; - Ark_Int32 value_cornerRadius_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_cornerRadius_value_type = INTEROP_RUNTIME_UNDEFINED; value_cornerRadius_value_type = value_cornerRadius_value.selector; - if (((value_cornerRadius_value_type == 0)) || ((value_cornerRadius_value_type == 1)) || ((value_cornerRadius_value_type == 2))) { + if (((value_cornerRadius_value_type == 0)) || ((value_cornerRadius_value_type == 0)) || ((value_cornerRadius_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_cornerRadius_value_0 = value_cornerRadius_value.value0; valueSerializer.writeLength(value_cornerRadius_value_0); } - else if (((value_cornerRadius_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_cornerRadius_value_1_topLeft_value); } const auto value_cornerRadius_value_1_topRight = value_cornerRadius_value_1.topRight; - Ark_Int32 value_cornerRadius_value_1_topRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_cornerRadius_value_1_topRight_value); } const auto value_cornerRadius_value_1_bottomLeft = value_cornerRadius_value_1.bottomLeft; - Ark_Int32 value_cornerRadius_value_1_bottomLeft_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_cornerRadius_value_1_bottomLeft_value); } const auto value_cornerRadius_value_1_bottomRight = value_cornerRadius_value_1.bottomRight; - Ark_Int32 value_cornerRadius_value_1_bottomRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_cornerRadius_value_1_bottomRight_value); } } - else if (((value_cornerRadius_value_type == 0))) { + else if (((value_cornerRadius_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_cornerRadius_value_2 = value_cornerRadius_value.value2; valueSerializer.writeLocalizedBorderRadiuses(value_cornerRadius_value_2); } } const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; valueSerializer.writeLength(value_width_value); } const auto value_height = value.height; - Ark_Int32 value_height_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; value_height_type = runtimeType(value_height); valueSerializer.writeInt8(value_height_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_height_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { const auto value_height_value = value_height.value; valueSerializer.writeLength(value_height_value); } const auto value_borderWidth = value.borderWidth; - Ark_Int32 value_borderWidth_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderWidth_type = INTEROP_RUNTIME_UNDEFINED; value_borderWidth_type = runtimeType(value_borderWidth); valueSerializer.writeInt8(value_borderWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_type)) { const auto value_borderWidth_value = value_borderWidth.value; - Ark_Int32 value_borderWidth_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 1)) || ((value_borderWidth_value_type == 2))) { + if (((value_borderWidth_value_type == 0)) || ((value_borderWidth_value_type == 0)) || ((value_borderWidth_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_borderWidth_value_0 = value_borderWidth_value.value0; valueSerializer.writeLength(value_borderWidth_value_0); } - else if (((value_borderWidth_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_top_value); } const auto value_borderWidth_value_1_right = value_borderWidth_value_1.right; - Ark_Int32 value_borderWidth_value_1_right_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_right_value); } const auto value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom; - Ark_Int32 value_borderWidth_value_1_bottom_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_bottom_value); } const auto value_borderWidth_value_1_left = value_borderWidth_value_1.left; - Ark_Int32 value_borderWidth_value_1_left_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_left_value); } } - else if (((value_borderWidth_value_type == 0))) { + else if (((value_borderWidth_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_borderColor = value.borderColor; - Ark_Int32 value_borderColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderColor_type = INTEROP_RUNTIME_UNDEFINED; value_borderColor_type = runtimeType(value_borderColor); valueSerializer.writeInt8(value_borderColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_type)) { const auto value_borderColor_value = value_borderColor.value; - Ark_Int32 value_borderColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 1)) || ((value_borderColor_value_type == 2)) || ((value_borderColor_value_type == 3))) { + 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_borderColor_value_0 = value_borderColor_value.value0; - Ark_Int32 value_borderColor_value_0_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_borderColor_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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); } } } - else if (((value_borderColor_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_type = runtimeType(value_borderStyle); valueSerializer.writeInt8(value_borderStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_type)) { const auto value_borderStyle_value = value_borderStyle.value; - Ark_Int32 value_borderStyle_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_borderStyle_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_borderStyle_value_1 = value_borderStyle_value.value1; const auto value_borderStyle_value_1_top = value_borderStyle_value_1.top; - Ark_Int32 value_borderStyle_value_1_top_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_top_type = runtimeType(value_borderStyle_value_1_top); valueSerializer.writeInt8(value_borderStyle_value_1_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_top_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_top_type)) { const auto value_borderStyle_value_1_top_value = value_borderStyle_value_1_top.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_top_value)); } const auto value_borderStyle_value_1_right = value_borderStyle_value_1.right; - Ark_Int32 value_borderStyle_value_1_right_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_right_type = runtimeType(value_borderStyle_value_1_right); valueSerializer.writeInt8(value_borderStyle_value_1_right_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_right_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_right_type)) { const auto value_borderStyle_value_1_right_value = value_borderStyle_value_1_right.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_right_value)); } const auto value_borderStyle_value_1_bottom = value_borderStyle_value_1.bottom; - Ark_Int32 value_borderStyle_value_1_bottom_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_bottom_type = runtimeType(value_borderStyle_value_1_bottom); valueSerializer.writeInt8(value_borderStyle_value_1_bottom_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_bottom_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_bottom_type)) { const auto value_borderStyle_value_1_bottom_value = value_borderStyle_value_1_bottom.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_bottom_value)); } const auto value_borderStyle_value_1_left = value_borderStyle_value_1.left; - Ark_Int32 value_borderStyle_value_1_left_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_left_type = runtimeType(value_borderStyle_value_1_left); valueSerializer.writeInt8(value_borderStyle_value_1_left_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_left_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_left_type)) { const auto value_borderStyle_value_1_left_value = value_borderStyle_value_1_left.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_left_value)); } } } const auto value_shadow = value.shadow; - Ark_Int32 value_shadow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_shadow_type = INTEROP_RUNTIME_UNDEFINED; value_shadow_type = runtimeType(value_shadow); valueSerializer.writeInt8(value_shadow_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_shadow_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_shadow_type)) { const auto value_shadow_value = value_shadow.value; - Ark_Int32 value_shadow_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_shadow_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_textStyle = value.textStyle; - Ark_Int32 value_textStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_textStyle_type = INTEROP_RUNTIME_UNDEFINED; value_textStyle_type = runtimeType(value_textStyle); valueSerializer.writeInt8(value_textStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_textStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textStyle_type)) { const auto value_textStyle_value = value_textStyle.value; valueSerializer.writeTextStyle_alert_dialog(value_textStyle_value); } const auto value_enableHoverMode = value.enableHoverMode; - Ark_Int32 value_enableHoverMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableHoverMode_type = INTEROP_RUNTIME_UNDEFINED; value_enableHoverMode_type = runtimeType(value_enableHoverMode); valueSerializer.writeInt8(value_enableHoverMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_hoverModeArea_type = INTEROP_RUNTIME_UNDEFINED; value_hoverModeArea_type = runtimeType(value_hoverModeArea); valueSerializer.writeInt8(value_hoverModeArea_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -59920,87 +60264,87 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_title = value.title; - Ark_Int32 value_title_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_title_type = INTEROP_RUNTIME_UNDEFINED; value_title_type = runtimeType(value_title); valueSerializer.writeInt8(value_title_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_title_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_title_type)) { const auto value_title_value = value_title.value; - Ark_Int32 value_title_value_type = ARK_RUNTIME_UNDEFINED; + 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.writeString(value_title_value_0); } - else if (((value_title_value_type == 0))) { + else if (((value_title_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_title_value_1 = value_title_value.value1; valueSerializer.writeResource(value_title_value_1); } } const auto value_subtitle = value.subtitle; - Ark_Int32 value_subtitle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_subtitle_type = INTEROP_RUNTIME_UNDEFINED; value_subtitle_type = runtimeType(value_subtitle); valueSerializer.writeInt8(value_subtitle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_subtitle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_subtitle_type)) { const auto value_subtitle_value = value_subtitle.value; - Ark_Int32 value_subtitle_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_message = value.message; - Ark_Int32 value_message_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_message_type = INTEROP_RUNTIME_UNDEFINED; value_message_type = value_message.selector; if (((value_message_type == 0))) { valueSerializer.writeInt8(0); const auto value_message_0 = value_message.value0; valueSerializer.writeString(value_message_0); } - else if (((value_message_type == 0))) { + else if (((value_message_type == 1))) { valueSerializer.writeInt8(1); const auto value_message_1 = value_message.value1; valueSerializer.writeResource(value_message_1); } const auto value_autoCancel = value.autoCancel; - Ark_Int32 value_autoCancel_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_autoCancel_type = INTEROP_RUNTIME_UNDEFINED; value_autoCancel_type = runtimeType(value_autoCancel); valueSerializer.writeInt8(value_autoCancel_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_autoCancel_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_autoCancel_type)) { const auto value_autoCancel_value = value_autoCancel.value; valueSerializer.writeBoolean(value_autoCancel_value); } const auto value_cancel = value.cancel; - Ark_Int32 value_cancel_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_cancel_type = INTEROP_RUNTIME_UNDEFINED; value_cancel_type = runtimeType(value_cancel); valueSerializer.writeInt8(value_cancel_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_cancel_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_cancel_type)) { const auto value_cancel_value = value_cancel.value; valueSerializer.writeCallbackResource(value_cancel_value.resource); valueSerializer.writePointer(reinterpret_cast(value_cancel_value.call)); valueSerializer.writePointer(reinterpret_cast(value_cancel_value.callSync)); } const auto value_alignment = value.alignment; - Ark_Int32 value_alignment_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_alignment_type = INTEROP_RUNTIME_UNDEFINED; value_alignment_type = runtimeType(value_alignment); valueSerializer.writeInt8(value_alignment_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_alignment_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_alignment_type)) { const auto value_alignment_value = value_alignment.value; valueSerializer.writeInt32(static_cast(value_alignment_value)); } const auto value_offset = value.offset; - Ark_Int32 value_offset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; value_offset_type = runtimeType(value_offset); valueSerializer.writeInt8(value_offset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_offset_value_dx); @@ -60008,476 +60352,476 @@ class Serializer : public SerializerBase { valueSerializer.writeLength(value_offset_value_dy); } const auto value_gridCount = value.gridCount; - Ark_Int32 value_gridCount_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_gridCount_type = INTEROP_RUNTIME_UNDEFINED; value_gridCount_type = runtimeType(value_gridCount); valueSerializer.writeInt8(value_gridCount_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_gridCount_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_gridCount_type)) { const auto value_gridCount_value = value_gridCount.value; valueSerializer.writeNumber(value_gridCount_value); } const auto value_maskRect = value.maskRect; - Ark_Int32 value_maskRect_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_maskRect_type = INTEROP_RUNTIME_UNDEFINED; value_maskRect_type = runtimeType(value_maskRect); valueSerializer.writeInt8(value_maskRect_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_maskRect_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maskRect_type)) { const auto value_maskRect_value = value_maskRect.value; valueSerializer.writeRectangle(value_maskRect_value); } const auto value_showInSubWindow = value.showInSubWindow; - Ark_Int32 value_showInSubWindow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_showInSubWindow_type = INTEROP_RUNTIME_UNDEFINED; value_showInSubWindow_type = runtimeType(value_showInSubWindow); valueSerializer.writeInt8(value_showInSubWindow_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_isModal = value.isModal; - Ark_Int32 value_isModal_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_isModal_type = INTEROP_RUNTIME_UNDEFINED; value_isModal_type = runtimeType(value_isModal); valueSerializer.writeInt8(value_isModal_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_isModal_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isModal_type)) { const auto value_isModal_value = value_isModal.value; valueSerializer.writeBoolean(value_isModal_value); } const auto value_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); valueSerializer.writeInt8(value_backgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundBlurStyle_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle); valueSerializer.writeInt8(value_backgroundBlurStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_onWillDismiss = value.onWillDismiss; - Ark_Int32 value_onWillDismiss_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillDismiss_type = INTEROP_RUNTIME_UNDEFINED; value_onWillDismiss_type = runtimeType(value_onWillDismiss); valueSerializer.writeInt8(value_onWillDismiss_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_transition_type = INTEROP_RUNTIME_UNDEFINED; value_transition_type = runtimeType(value_transition); valueSerializer.writeInt8(value_transition_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_cornerRadius = value.cornerRadius; - Ark_Int32 value_cornerRadius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_cornerRadius_type = INTEROP_RUNTIME_UNDEFINED; value_cornerRadius_type = runtimeType(value_cornerRadius); valueSerializer.writeInt8(value_cornerRadius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_cornerRadius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_type)) { const auto value_cornerRadius_value = value_cornerRadius.value; - Ark_Int32 value_cornerRadius_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_cornerRadius_value_type = INTEROP_RUNTIME_UNDEFINED; value_cornerRadius_value_type = value_cornerRadius_value.selector; - if (((value_cornerRadius_value_type == 0)) || ((value_cornerRadius_value_type == 1)) || ((value_cornerRadius_value_type == 2))) { + if (((value_cornerRadius_value_type == 0)) || ((value_cornerRadius_value_type == 0)) || ((value_cornerRadius_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_cornerRadius_value_0 = value_cornerRadius_value.value0; valueSerializer.writeLength(value_cornerRadius_value_0); } - else if (((value_cornerRadius_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_cornerRadius_value_1_topLeft_value); } const auto value_cornerRadius_value_1_topRight = value_cornerRadius_value_1.topRight; - Ark_Int32 value_cornerRadius_value_1_topRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_cornerRadius_value_1_topRight_value); } const auto value_cornerRadius_value_1_bottomLeft = value_cornerRadius_value_1.bottomLeft; - Ark_Int32 value_cornerRadius_value_1_bottomLeft_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_cornerRadius_value_1_bottomLeft_value); } const auto value_cornerRadius_value_1_bottomRight = value_cornerRadius_value_1.bottomRight; - Ark_Int32 value_cornerRadius_value_1_bottomRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_cornerRadius_value_1_bottomRight_value); } } - else if (((value_cornerRadius_value_type == 0))) { + else if (((value_cornerRadius_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_cornerRadius_value_2 = value_cornerRadius_value.value2; valueSerializer.writeLocalizedBorderRadiuses(value_cornerRadius_value_2); } } const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; valueSerializer.writeLength(value_width_value); } const auto value_height = value.height; - Ark_Int32 value_height_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; value_height_type = runtimeType(value_height); valueSerializer.writeInt8(value_height_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_height_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { const auto value_height_value = value_height.value; valueSerializer.writeLength(value_height_value); } const auto value_borderWidth = value.borderWidth; - Ark_Int32 value_borderWidth_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderWidth_type = INTEROP_RUNTIME_UNDEFINED; value_borderWidth_type = runtimeType(value_borderWidth); valueSerializer.writeInt8(value_borderWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_type)) { const auto value_borderWidth_value = value_borderWidth.value; - Ark_Int32 value_borderWidth_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 1)) || ((value_borderWidth_value_type == 2))) { + if (((value_borderWidth_value_type == 0)) || ((value_borderWidth_value_type == 0)) || ((value_borderWidth_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_borderWidth_value_0 = value_borderWidth_value.value0; valueSerializer.writeLength(value_borderWidth_value_0); } - else if (((value_borderWidth_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_top_value); } const auto value_borderWidth_value_1_right = value_borderWidth_value_1.right; - Ark_Int32 value_borderWidth_value_1_right_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_right_value); } const auto value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom; - Ark_Int32 value_borderWidth_value_1_bottom_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_bottom_value); } const auto value_borderWidth_value_1_left = value_borderWidth_value_1.left; - Ark_Int32 value_borderWidth_value_1_left_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_left_value); } } - else if (((value_borderWidth_value_type == 0))) { + else if (((value_borderWidth_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_borderColor = value.borderColor; - Ark_Int32 value_borderColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderColor_type = INTEROP_RUNTIME_UNDEFINED; value_borderColor_type = runtimeType(value_borderColor); valueSerializer.writeInt8(value_borderColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_type)) { const auto value_borderColor_value = value_borderColor.value; - Ark_Int32 value_borderColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 1)) || ((value_borderColor_value_type == 2)) || ((value_borderColor_value_type == 3))) { + 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_borderColor_value_0 = value_borderColor_value.value0; - Ark_Int32 value_borderColor_value_0_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_borderColor_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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); } } } - else if (((value_borderColor_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_type = runtimeType(value_borderStyle); valueSerializer.writeInt8(value_borderStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_type)) { const auto value_borderStyle_value = value_borderStyle.value; - Ark_Int32 value_borderStyle_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_borderStyle_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_borderStyle_value_1 = value_borderStyle_value.value1; const auto value_borderStyle_value_1_top = value_borderStyle_value_1.top; - Ark_Int32 value_borderStyle_value_1_top_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_top_type = runtimeType(value_borderStyle_value_1_top); valueSerializer.writeInt8(value_borderStyle_value_1_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_top_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_top_type)) { const auto value_borderStyle_value_1_top_value = value_borderStyle_value_1_top.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_top_value)); } const auto value_borderStyle_value_1_right = value_borderStyle_value_1.right; - Ark_Int32 value_borderStyle_value_1_right_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_right_type = runtimeType(value_borderStyle_value_1_right); valueSerializer.writeInt8(value_borderStyle_value_1_right_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_right_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_right_type)) { const auto value_borderStyle_value_1_right_value = value_borderStyle_value_1_right.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_right_value)); } const auto value_borderStyle_value_1_bottom = value_borderStyle_value_1.bottom; - Ark_Int32 value_borderStyle_value_1_bottom_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_bottom_type = runtimeType(value_borderStyle_value_1_bottom); valueSerializer.writeInt8(value_borderStyle_value_1_bottom_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_bottom_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_bottom_type)) { const auto value_borderStyle_value_1_bottom_value = value_borderStyle_value_1_bottom.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_bottom_value)); } const auto value_borderStyle_value_1_left = value_borderStyle_value_1.left; - Ark_Int32 value_borderStyle_value_1_left_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_left_type = runtimeType(value_borderStyle_value_1_left); valueSerializer.writeInt8(value_borderStyle_value_1_left_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_left_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_left_type)) { const auto value_borderStyle_value_1_left_value = value_borderStyle_value_1_left.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_left_value)); } } } const auto value_shadow = value.shadow; - Ark_Int32 value_shadow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_shadow_type = INTEROP_RUNTIME_UNDEFINED; value_shadow_type = runtimeType(value_shadow); valueSerializer.writeInt8(value_shadow_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_shadow_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_shadow_type)) { const auto value_shadow_value = value_shadow.value; - Ark_Int32 value_shadow_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_shadow_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_textStyle = value.textStyle; - Ark_Int32 value_textStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_textStyle_type = INTEROP_RUNTIME_UNDEFINED; value_textStyle_type = runtimeType(value_textStyle); valueSerializer.writeInt8(value_textStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_textStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_textStyle_type)) { const auto value_textStyle_value = value_textStyle.value; valueSerializer.writeTextStyle_alert_dialog(value_textStyle_value); } const auto value_enableHoverMode = value.enableHoverMode; - Ark_Int32 value_enableHoverMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableHoverMode_type = INTEROP_RUNTIME_UNDEFINED; value_enableHoverMode_type = runtimeType(value_enableHoverMode); valueSerializer.writeInt8(value_enableHoverMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_hoverModeArea_type = INTEROP_RUNTIME_UNDEFINED; value_hoverModeArea_type = runtimeType(value_hoverModeArea); valueSerializer.writeInt8(value_hoverModeArea_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_confirm = value.confirm; - Ark_Int32 value_confirm_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_confirm_type = INTEROP_RUNTIME_UNDEFINED; value_confirm_type = runtimeType(value_confirm); valueSerializer.writeInt8(value_confirm_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_confirm_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_confirm_type)) { const auto value_confirm_value = value_confirm.value; valueSerializer.writeAlertDialogButtonBaseOptions(value_confirm_value); } @@ -60486,63 +60830,63 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_title = value.title; - Ark_Int32 value_title_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_subtitle_type = INTEROP_RUNTIME_UNDEFINED; value_subtitle_type = runtimeType(value_subtitle); valueSerializer.writeInt8(value_subtitle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_subtitle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_subtitle_type)) { const auto value_subtitle_value = value_subtitle.value; - Ark_Int32 value_subtitle_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_message = value.message; - Ark_Int32 value_message_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_message_type = INTEROP_RUNTIME_UNDEFINED; value_message_type = value_message.selector; if (((value_message_type == 0))) { valueSerializer.writeInt8(0); const auto value_message_0 = value_message.value0; valueSerializer.writeString(value_message_0); } - else if (((value_message_type == 0))) { + else if (((value_message_type == 1))) { valueSerializer.writeInt8(1); const auto value_message_1 = value_message.value1; valueSerializer.writeResource(value_message_1); } const auto value_confirm = value.confirm; - Ark_Int32 value_confirm_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_confirm_type = INTEROP_RUNTIME_UNDEFINED; value_confirm_type = runtimeType(value_confirm); valueSerializer.writeInt8(value_confirm_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_confirm_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_confirm_type)) { const auto value_confirm_value = value_confirm.value; valueSerializer.writeActionSheetButtonOptions(value_confirm_value); } const auto value_cancel = value.cancel; - Ark_Int32 value_cancel_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_cancel_type = INTEROP_RUNTIME_UNDEFINED; value_cancel_type = runtimeType(value_cancel); valueSerializer.writeInt8(value_cancel_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_cancel_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_cancel_type)) { const auto value_cancel_value = value_cancel.value; valueSerializer.writeCallbackResource(value_cancel_value.resource); valueSerializer.writePointer(reinterpret_cast(value_cancel_value.call)); @@ -60555,476 +60899,476 @@ class Serializer : public SerializerBase { valueSerializer.writeSheetInfo(value_sheets_element); } const auto value_autoCancel = value.autoCancel; - Ark_Int32 value_autoCancel_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_autoCancel_type = INTEROP_RUNTIME_UNDEFINED; value_autoCancel_type = runtimeType(value_autoCancel); valueSerializer.writeInt8(value_autoCancel_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_autoCancel_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_autoCancel_type)) { const auto value_autoCancel_value = value_autoCancel.value; valueSerializer.writeBoolean(value_autoCancel_value); } const auto value_alignment = value.alignment; - Ark_Int32 value_alignment_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_alignment_type = INTEROP_RUNTIME_UNDEFINED; value_alignment_type = runtimeType(value_alignment); valueSerializer.writeInt8(value_alignment_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_alignment_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_alignment_type)) { const auto value_alignment_value = value_alignment.value; valueSerializer.writeInt32(static_cast(value_alignment_value)); } const auto value_offset = value.offset; - Ark_Int32 value_offset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; value_offset_type = runtimeType(value_offset); valueSerializer.writeInt8(value_offset_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_offset_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { const auto value_offset_value = value_offset.value; valueSerializer.writeActionSheetOffset(value_offset_value); } const auto value_maskRect = value.maskRect; - Ark_Int32 value_maskRect_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_maskRect_type = INTEROP_RUNTIME_UNDEFINED; value_maskRect_type = runtimeType(value_maskRect); valueSerializer.writeInt8(value_maskRect_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_maskRect_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maskRect_type)) { const auto value_maskRect_value = value_maskRect.value; valueSerializer.writeRectangle(value_maskRect_value); } const auto value_showInSubWindow = value.showInSubWindow; - Ark_Int32 value_showInSubWindow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_showInSubWindow_type = INTEROP_RUNTIME_UNDEFINED; value_showInSubWindow_type = runtimeType(value_showInSubWindow); valueSerializer.writeInt8(value_showInSubWindow_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_isModal = value.isModal; - Ark_Int32 value_isModal_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_isModal_type = INTEROP_RUNTIME_UNDEFINED; value_isModal_type = runtimeType(value_isModal); valueSerializer.writeInt8(value_isModal_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_isModal_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isModal_type)) { const auto value_isModal_value = value_isModal.value; valueSerializer.writeBoolean(value_isModal_value); } const auto value_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); valueSerializer.writeInt8(value_backgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundBlurStyle_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle); valueSerializer.writeInt8(value_backgroundBlurStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_onWillDismiss = value.onWillDismiss; - Ark_Int32 value_onWillDismiss_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillDismiss_type = INTEROP_RUNTIME_UNDEFINED; value_onWillDismiss_type = runtimeType(value_onWillDismiss); valueSerializer.writeInt8(value_onWillDismiss_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_transition_type = INTEROP_RUNTIME_UNDEFINED; value_transition_type = runtimeType(value_transition); valueSerializer.writeInt8(value_transition_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_cornerRadius = value.cornerRadius; - Ark_Int32 value_cornerRadius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_cornerRadius_type = INTEROP_RUNTIME_UNDEFINED; value_cornerRadius_type = runtimeType(value_cornerRadius); valueSerializer.writeInt8(value_cornerRadius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_cornerRadius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_type)) { const auto value_cornerRadius_value = value_cornerRadius.value; - Ark_Int32 value_cornerRadius_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_cornerRadius_value_type = INTEROP_RUNTIME_UNDEFINED; value_cornerRadius_value_type = value_cornerRadius_value.selector; - if (((value_cornerRadius_value_type == 0)) || ((value_cornerRadius_value_type == 1)) || ((value_cornerRadius_value_type == 2))) { + if (((value_cornerRadius_value_type == 0)) || ((value_cornerRadius_value_type == 0)) || ((value_cornerRadius_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_cornerRadius_value_0 = value_cornerRadius_value.value0; valueSerializer.writeLength(value_cornerRadius_value_0); } - else if (((value_cornerRadius_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_cornerRadius_value_1_topLeft_value); } const auto value_cornerRadius_value_1_topRight = value_cornerRadius_value_1.topRight; - Ark_Int32 value_cornerRadius_value_1_topRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_cornerRadius_value_1_topRight_value); } const auto value_cornerRadius_value_1_bottomLeft = value_cornerRadius_value_1.bottomLeft; - Ark_Int32 value_cornerRadius_value_1_bottomLeft_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_cornerRadius_value_1_bottomLeft_value); } const auto value_cornerRadius_value_1_bottomRight = value_cornerRadius_value_1.bottomRight; - Ark_Int32 value_cornerRadius_value_1_bottomRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_cornerRadius_value_1_bottomRight_value); } } - else if (((value_cornerRadius_value_type == 0))) { + else if (((value_cornerRadius_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_cornerRadius_value_2 = value_cornerRadius_value.value2; valueSerializer.writeLocalizedBorderRadiuses(value_cornerRadius_value_2); } } const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; valueSerializer.writeLength(value_width_value); } const auto value_height = value.height; - Ark_Int32 value_height_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; value_height_type = runtimeType(value_height); valueSerializer.writeInt8(value_height_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_height_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { const auto value_height_value = value_height.value; valueSerializer.writeLength(value_height_value); } const auto value_borderWidth = value.borderWidth; - Ark_Int32 value_borderWidth_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderWidth_type = INTEROP_RUNTIME_UNDEFINED; value_borderWidth_type = runtimeType(value_borderWidth); valueSerializer.writeInt8(value_borderWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_type)) { const auto value_borderWidth_value = value_borderWidth.value; - Ark_Int32 value_borderWidth_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 1)) || ((value_borderWidth_value_type == 2))) { + if (((value_borderWidth_value_type == 0)) || ((value_borderWidth_value_type == 0)) || ((value_borderWidth_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_borderWidth_value_0 = value_borderWidth_value.value0; valueSerializer.writeLength(value_borderWidth_value_0); } - else if (((value_borderWidth_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_top_value); } const auto value_borderWidth_value_1_right = value_borderWidth_value_1.right; - Ark_Int32 value_borderWidth_value_1_right_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_right_value); } const auto value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom; - Ark_Int32 value_borderWidth_value_1_bottom_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_bottom_value); } const auto value_borderWidth_value_1_left = value_borderWidth_value_1.left; - Ark_Int32 value_borderWidth_value_1_left_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_left_value); } } - else if (((value_borderWidth_value_type == 0))) { + else if (((value_borderWidth_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_borderColor = value.borderColor; - Ark_Int32 value_borderColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderColor_type = INTEROP_RUNTIME_UNDEFINED; value_borderColor_type = runtimeType(value_borderColor); valueSerializer.writeInt8(value_borderColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_type)) { const auto value_borderColor_value = value_borderColor.value; - Ark_Int32 value_borderColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 1)) || ((value_borderColor_value_type == 2)) || ((value_borderColor_value_type == 3))) { + 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_borderColor_value_0 = value_borderColor_value.value0; - Ark_Int32 value_borderColor_value_0_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_borderColor_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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); } } } - else if (((value_borderColor_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_type = runtimeType(value_borderStyle); valueSerializer.writeInt8(value_borderStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_type)) { const auto value_borderStyle_value = value_borderStyle.value; - Ark_Int32 value_borderStyle_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_borderStyle_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_borderStyle_value_1 = value_borderStyle_value.value1; const auto value_borderStyle_value_1_top = value_borderStyle_value_1.top; - Ark_Int32 value_borderStyle_value_1_top_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_top_type = runtimeType(value_borderStyle_value_1_top); valueSerializer.writeInt8(value_borderStyle_value_1_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_top_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_top_type)) { const auto value_borderStyle_value_1_top_value = value_borderStyle_value_1_top.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_top_value)); } const auto value_borderStyle_value_1_right = value_borderStyle_value_1.right; - Ark_Int32 value_borderStyle_value_1_right_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_right_type = runtimeType(value_borderStyle_value_1_right); valueSerializer.writeInt8(value_borderStyle_value_1_right_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_right_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_right_type)) { const auto value_borderStyle_value_1_right_value = value_borderStyle_value_1_right.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_right_value)); } const auto value_borderStyle_value_1_bottom = value_borderStyle_value_1.bottom; - Ark_Int32 value_borderStyle_value_1_bottom_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_bottom_type = runtimeType(value_borderStyle_value_1_bottom); valueSerializer.writeInt8(value_borderStyle_value_1_bottom_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_bottom_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_bottom_type)) { const auto value_borderStyle_value_1_bottom_value = value_borderStyle_value_1_bottom.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_bottom_value)); } const auto value_borderStyle_value_1_left = value_borderStyle_value_1.left; - Ark_Int32 value_borderStyle_value_1_left_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_left_type = runtimeType(value_borderStyle_value_1_left); valueSerializer.writeInt8(value_borderStyle_value_1_left_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_left_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_left_type)) { const auto value_borderStyle_value_1_left_value = value_borderStyle_value_1_left.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_left_value)); } } } const auto value_shadow = value.shadow; - Ark_Int32 value_shadow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_shadow_type = INTEROP_RUNTIME_UNDEFINED; value_shadow_type = runtimeType(value_shadow); valueSerializer.writeInt8(value_shadow_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_shadow_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_shadow_type)) { const auto value_shadow_value = value_shadow.value; - Ark_Int32 value_shadow_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_shadow_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_enableHoverMode = value.enableHoverMode; - Ark_Int32 value_enableHoverMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableHoverMode_type = INTEROP_RUNTIME_UNDEFINED; value_enableHoverMode_type = runtimeType(value_enableHoverMode); valueSerializer.writeInt8(value_enableHoverMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_hoverModeArea_type = INTEROP_RUNTIME_UNDEFINED; value_hoverModeArea_type = runtimeType(value_hoverModeArea); valueSerializer.writeInt8(value_hoverModeArea_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -61032,81 +61376,24 @@ class Serializer : public SerializerBase { void writeClickEvent(Ark_ClickEvent value) { Serializer& valueSerializer = *this; - const auto value_target = value.target; - valueSerializer.writeEventTarget(value_target); - const auto value_timestamp = value.timestamp; - valueSerializer.writeNumber(value_timestamp); - const auto value_source = value.source; - valueSerializer.writeInt32(static_cast(value_source)); - const auto value_axisHorizontal = value.axisHorizontal; - Ark_Int32 value_axisHorizontal_type = ARK_RUNTIME_UNDEFINED; - value_axisHorizontal_type = runtimeType(value_axisHorizontal); - valueSerializer.writeInt8(value_axisHorizontal_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_axisHorizontal_type)) { - const auto value_axisHorizontal_value = value_axisHorizontal.value; - valueSerializer.writeNumber(value_axisHorizontal_value); - } - const auto value_axisVertical = value.axisVertical; - Ark_Int32 value_axisVertical_type = ARK_RUNTIME_UNDEFINED; - value_axisVertical_type = runtimeType(value_axisVertical); - valueSerializer.writeInt8(value_axisVertical_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_axisVertical_type)) { - const auto value_axisVertical_value = value_axisVertical.value; - valueSerializer.writeNumber(value_axisVertical_value); - } - const auto value_pressure = value.pressure; - valueSerializer.writeNumber(value_pressure); - const auto value_tiltX = value.tiltX; - valueSerializer.writeNumber(value_tiltX); - const auto value_tiltY = value.tiltY; - valueSerializer.writeNumber(value_tiltY); - const auto value_sourceTool = value.sourceTool; - valueSerializer.writeInt32(static_cast(value_sourceTool)); - const auto value_deviceId = value.deviceId; - Ark_Int32 value_deviceId_type = ARK_RUNTIME_UNDEFINED; - value_deviceId_type = runtimeType(value_deviceId); - valueSerializer.writeInt8(value_deviceId_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_deviceId_type)) { - const auto value_deviceId_value = value_deviceId.value; - valueSerializer.writeNumber(value_deviceId_value); - } - const auto value_displayX = value.displayX; - valueSerializer.writeNumber(value_displayX); - const auto value_displayY = value.displayY; - valueSerializer.writeNumber(value_displayY); - const auto value_windowX = value.windowX; - valueSerializer.writeNumber(value_windowX); - const auto value_windowY = value.windowY; - valueSerializer.writeNumber(value_windowY); - const auto value_screenX = value.screenX; - valueSerializer.writeNumber(value_screenX); - const auto value_screenY = value.screenY; - valueSerializer.writeNumber(value_screenY); - const auto value_x = value.x; - valueSerializer.writeNumber(value_x); - const auto value_y = value.y; - valueSerializer.writeNumber(value_y); - const auto value_preventDefault = value.preventDefault; - valueSerializer.writeCallbackResource(value_preventDefault.resource); - valueSerializer.writePointer(reinterpret_cast(value_preventDefault.call)); - valueSerializer.writePointer(reinterpret_cast(value_preventDefault.callSync)); + valueSerializer.writePointer(value.ptr); } void writeWithThemeOptions(Ark_WithThemeOptions value) { Serializer& valueSerializer = *this; const auto value_theme = value.theme; - Ark_Int32 value_theme_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_theme_type = INTEROP_RUNTIME_UNDEFINED; value_theme_type = runtimeType(value_theme); valueSerializer.writeInt8(value_theme_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_colorMode_type = INTEROP_RUNTIME_UNDEFINED; value_colorMode_type = runtimeType(value_colorMode); valueSerializer.writeInt8(value_colorMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -61139,87 +61426,87 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_start = value.start; - Ark_Int32 value_start_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; value_start_type = runtimeType(value_start); valueSerializer.writeInt8(value_start_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_length = value.length; - Ark_Int32 value_length_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_length_type = INTEROP_RUNTIME_UNDEFINED; value_length_type = runtimeType(value_length); valueSerializer.writeInt8(value_length_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_length_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_length_type)) { const auto value_length_value = value_length.value; valueSerializer.writeNumber(value_length_value); } const auto value_styledKey = value.styledKey; valueSerializer.writeInt32(static_cast(value_styledKey)); const auto value_styledValue = value.styledValue; - Ark_Int32 value_styledValue_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_styledValue_type = INTEROP_RUNTIME_UNDEFINED; value_styledValue_type = value_styledValue.selector; if (((value_styledValue_type == 0))) { valueSerializer.writeInt8(0); const auto value_styledValue_0 = value_styledValue.value0; valueSerializer.writeTextStyle_styled_string(value_styledValue_0); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 1))) { valueSerializer.writeInt8(1); const auto value_styledValue_1 = value_styledValue.value1; valueSerializer.writeDecorationStyle(value_styledValue_1); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 2))) { valueSerializer.writeInt8(2); const auto value_styledValue_2 = value_styledValue.value2; valueSerializer.writeBaselineOffsetStyle(value_styledValue_2); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 3))) { valueSerializer.writeInt8(3); const auto value_styledValue_3 = value_styledValue.value3; valueSerializer.writeLetterSpacingStyle(value_styledValue_3); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 4))) { valueSerializer.writeInt8(4); const auto value_styledValue_4 = value_styledValue.value4; valueSerializer.writeTextShadowStyle(value_styledValue_4); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 5))) { valueSerializer.writeInt8(5); const auto value_styledValue_5 = value_styledValue.value5; valueSerializer.writeGestureStyle(value_styledValue_5); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 6))) { valueSerializer.writeInt8(6); const auto value_styledValue_6 = value_styledValue.value6; valueSerializer.writeImageAttachment(value_styledValue_6); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 7))) { valueSerializer.writeInt8(7); const auto value_styledValue_7 = value_styledValue.value7; valueSerializer.writeParagraphStyle(value_styledValue_7); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 8))) { valueSerializer.writeInt8(8); const auto value_styledValue_8 = value_styledValue.value8; valueSerializer.writeLineHeightStyle(value_styledValue_8); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 9))) { valueSerializer.writeInt8(9); const auto value_styledValue_9 = value_styledValue.value9; valueSerializer.writeUrlStyle(value_styledValue_9); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 10))) { valueSerializer.writeInt8(10); const auto value_styledValue_10 = value_styledValue.value10; valueSerializer.writeCustomSpan(value_styledValue_10); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 11))) { valueSerializer.writeInt8(11); const auto value_styledValue_11 = value_styledValue.value11; valueSerializer.writeUserDataSpan(value_styledValue_11); } - else if (((value_styledValue_type == 0))) { + else if (((value_styledValue_type == 12))) { valueSerializer.writeInt8(12); const auto value_styledValue_12 = value_styledValue.value12; valueSerializer.writeBackgroundColorStyle(value_styledValue_12); @@ -61235,26 +61522,26 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_isTransferringCaller = value.isTransferringCaller; - Ark_Int32 value_isTransferringCaller_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_isTransferringCaller_type = INTEROP_RUNTIME_UNDEFINED; value_isTransferringCaller_type = runtimeType(value_isTransferringCaller); valueSerializer.writeInt8(value_isTransferringCaller_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_isTransferringCaller_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isTransferringCaller_type)) { const auto value_isTransferringCaller_value = value_isTransferringCaller.value; valueSerializer.writeBoolean(value_isTransferringCaller_value); } const auto value_placeholder = value.placeholder; - Ark_Int32 value_placeholder_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_placeholder_type = INTEROP_RUNTIME_UNDEFINED; value_placeholder_type = runtimeType(value_placeholder); valueSerializer.writeInt8(value_placeholder_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_placeholder_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_placeholder_type)) { const auto value_placeholder_value = value_placeholder.value; valueSerializer.writeComponentContent(value_placeholder_value); } const auto value_areaChangePlaceholder = value.areaChangePlaceholder; - Ark_Int32 value_areaChangePlaceholder_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_areaChangePlaceholder_type = INTEROP_RUNTIME_UNDEFINED; value_areaChangePlaceholder_type = runtimeType(value_areaChangePlaceholder); valueSerializer.writeInt8(value_areaChangePlaceholder_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_areaChangePlaceholder_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_areaChangePlaceholder_type)) { const auto value_areaChangePlaceholder_value = value_areaChangePlaceholder.value; valueSerializer.writeInt32(value_areaChangePlaceholder_value.size); for (int32_t i = 0; i < value_areaChangePlaceholder_value.size; i++) { @@ -61265,10 +61552,10 @@ class Serializer : public SerializerBase { } } const auto value_dpiFollowStrategy = value.dpiFollowStrategy; - Ark_Int32 value_dpiFollowStrategy_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_dpiFollowStrategy_type = INTEROP_RUNTIME_UNDEFINED; value_dpiFollowStrategy_type = runtimeType(value_dpiFollowStrategy); valueSerializer.writeInt8(value_dpiFollowStrategy_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_dpiFollowStrategy_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_dpiFollowStrategy_type)) { const auto value_dpiFollowStrategy_value = value_dpiFollowStrategy.value; valueSerializer.writeInt32(static_cast(value_dpiFollowStrategy_value)); } @@ -61282,36 +61569,36 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_footer = value.footer; - Ark_Int32 value_footer_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_footer_type = INTEROP_RUNTIME_UNDEFINED; value_footer_type = runtimeType(value_footer); valueSerializer.writeInt8(value_footer_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_footer_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_footer_type)) { const auto value_footer_value = value_footer.value; valueSerializer.writeCallbackResource(value_footer_value.resource); valueSerializer.writePointer(reinterpret_cast(value_footer_value.call)); valueSerializer.writePointer(reinterpret_cast(value_footer_value.callSync)); } const auto value_scroller = value.scroller; - Ark_Int32 value_scroller_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_scroller_type = INTEROP_RUNTIME_UNDEFINED; value_scroller_type = runtimeType(value_scroller); valueSerializer.writeInt8(value_scroller_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_scroller_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scroller_type)) { const auto value_scroller_value = value_scroller.value; valueSerializer.writeScroller(value_scroller_value); } const auto value_sections = value.sections; - Ark_Int32 value_sections_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_sections_type = INTEROP_RUNTIME_UNDEFINED; value_sections_type = runtimeType(value_sections); valueSerializer.writeInt8(value_sections_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_sections_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_sections_type)) { const auto value_sections_value = value_sections.value; valueSerializer.writeWaterFlowSections(value_sections_value); } const auto value_layoutMode = value.layoutMode; - Ark_Int32 value_layoutMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_layoutMode_type = INTEROP_RUNTIME_UNDEFINED; value_layoutMode_type = runtimeType(value_layoutMode); valueSerializer.writeInt8(value_layoutMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_layoutMode_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_layoutMode_type)) { const auto value_layoutMode_value = value_layoutMode.value; valueSerializer.writeInt32(static_cast(value_layoutMode_value)); } @@ -61332,42 +61619,42 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_left = value.left; - Ark_Int32 value_left_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_left_type = INTEROP_RUNTIME_UNDEFINED; value_left_type = runtimeType(value_left); valueSerializer.writeInt8(value_left_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; value_top_type = runtimeType(value_top); valueSerializer.writeInt8(value_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; value_height_type = runtimeType(value_height); valueSerializer.writeInt8(value_height_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_icons_type = INTEROP_RUNTIME_UNDEFINED; value_icons_type = runtimeType(value_icons); valueSerializer.writeInt8(value_icons_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_icons_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icons_type)) { const auto value_icons_value = value_icons.value; valueSerializer.writeButtonIconOptions(value_icons_value); } @@ -61380,10 +61667,10 @@ class Serializer : public SerializerBase { const auto value_controller = value.controller; valueSerializer.writeXComponentController(value_controller); const auto value_imageAIOptions = value.imageAIOptions; - Ark_Int32 value_imageAIOptions_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_imageAIOptions_type = INTEROP_RUNTIME_UNDEFINED; value_imageAIOptions_type = runtimeType(value_imageAIOptions); valueSerializer.writeInt8(value_imageAIOptions_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_imageAIOptions_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_imageAIOptions_type)) { const auto value_imageAIOptions_value = value_imageAIOptions.value; valueSerializer.writeImageAIOptions(value_imageAIOptions_value); } @@ -61406,18 +61693,18 @@ class Serializer : public SerializerBase { const auto value_useSystemKeyboard = value.useSystemKeyboard; valueSerializer.writeBoolean(value_useSystemKeyboard); const auto value_enterKeyType = value.enterKeyType; - Ark_Int32 value_enterKeyType_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enterKeyType_type = INTEROP_RUNTIME_UNDEFINED; value_enterKeyType_type = runtimeType(value_enterKeyType); valueSerializer.writeInt8(value_enterKeyType_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_enterKeyType_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enterKeyType_type)) { const auto value_enterKeyType_value = value_enterKeyType.value; valueSerializer.writeNumber(value_enterKeyType_value); } const auto value_customKeyboard = value.customKeyboard; - Ark_Int32 value_customKeyboard_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_customKeyboard_type = INTEROP_RUNTIME_UNDEFINED; value_customKeyboard_type = runtimeType(value_customKeyboard); valueSerializer.writeInt8(value_customKeyboard_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_customKeyboard_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_customKeyboard_type)) { const auto value_customKeyboard_value = value_customKeyboard.value; valueSerializer.writeCallbackResource(value_customKeyboard_value.resource); valueSerializer.writePointer(reinterpret_cast(value_customKeyboard_value.call)); @@ -61442,32 +61729,32 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_content = value.content; - Ark_Int32 value_content_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_startIcon_type = INTEROP_RUNTIME_UNDEFINED; value_startIcon_type = runtimeType(value_startIcon); valueSerializer.writeInt8(value_startIcon_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_startIcon_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_startIcon_type)) { const auto value_startIcon_value = value_startIcon.value; - Ark_Int32 value_startIcon_value_type = ARK_RUNTIME_UNDEFINED; + 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_startIcon_value_0 = value_startIcon_value.value0; valueSerializer.writeString(value_startIcon_value_0); } - else if (((value_startIcon_value_type == 0))) { + else if (((value_startIcon_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_startIcon_value_1 = value_startIcon_value.value1; valueSerializer.writeResource(value_startIcon_value_1); @@ -61500,26 +61787,26 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_embedId = value.embedId; - Ark_Int32 value_embedId_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_embedId_type = INTEROP_RUNTIME_UNDEFINED; value_embedId_type = runtimeType(value_embedId); valueSerializer.writeInt8(value_embedId_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_embedId_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_embedId_type)) { const auto value_embedId_value = value_embedId.value; valueSerializer.writeString(value_embedId_value); } const auto value_touchEvent = value.touchEvent; - Ark_Int32 value_touchEvent_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_touchEvent_type = INTEROP_RUNTIME_UNDEFINED; value_touchEvent_type = runtimeType(value_touchEvent); valueSerializer.writeInt8(value_touchEvent_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_touchEvent_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_touchEvent_type)) { const auto value_touchEvent_value = value_touchEvent.value; valueSerializer.writeTouchEvent(value_touchEvent_value); } const auto value_result = value.result; - Ark_Int32 value_result_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_result_type = INTEROP_RUNTIME_UNDEFINED; value_result_type = runtimeType(value_result); valueSerializer.writeInt8(value_result_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_result_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_result_type)) { const auto value_result_value = value_result.value; valueSerializer.writeEventResult(value_result_value); } @@ -61536,34 +61823,34 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_status = value.status; - Ark_Int32 value_status_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_status_type = INTEROP_RUNTIME_UNDEFINED; value_status_type = runtimeType(value_status); valueSerializer.writeInt8(value_status_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_surfaceId = value.surfaceId; - Ark_Int32 value_surfaceId_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_surfaceId_type = INTEROP_RUNTIME_UNDEFINED; value_surfaceId_type = runtimeType(value_surfaceId); valueSerializer.writeInt8(value_surfaceId_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_surfaceId_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_surfaceId_type)) { const auto value_surfaceId_value = value_surfaceId.value; valueSerializer.writeString(value_surfaceId_value); } const auto value_embedId = value.embedId; - Ark_Int32 value_embedId_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_embedId_type = INTEROP_RUNTIME_UNDEFINED; value_embedId_type = runtimeType(value_embedId); valueSerializer.writeInt8(value_embedId_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_embedId_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_embedId_type)) { const auto value_embedId_value = value_embedId.value; valueSerializer.writeString(value_embedId_value); } const auto value_info = value.info; - Ark_Int32 value_info_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_info_type = INTEROP_RUNTIME_UNDEFINED; value_info_type = runtimeType(value_info); valueSerializer.writeInt8(value_info_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_info_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_info_type)) { const auto value_info_value = value_info.value; valueSerializer.writeNativeEmbedInfo(value_info_value); } @@ -61620,50 +61907,50 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_navigationStartTime = value.navigationStartTime; - Ark_Int32 value_navigationStartTime_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_navigationStartTime_type = INTEROP_RUNTIME_UNDEFINED; value_navigationStartTime_type = runtimeType(value_navigationStartTime); valueSerializer.writeInt8(value_navigationStartTime_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_navigationStartTime_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_navigationStartTime_type)) { const auto value_navigationStartTime_value = value_navigationStartTime.value; valueSerializer.writeNumber(value_navigationStartTime_value); } const auto value_largestImagePaintTime = value.largestImagePaintTime; - Ark_Int32 value_largestImagePaintTime_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_largestImagePaintTime_type = INTEROP_RUNTIME_UNDEFINED; value_largestImagePaintTime_type = runtimeType(value_largestImagePaintTime); valueSerializer.writeInt8(value_largestImagePaintTime_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_largestImagePaintTime_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_largestImagePaintTime_type)) { const auto value_largestImagePaintTime_value = value_largestImagePaintTime.value; valueSerializer.writeNumber(value_largestImagePaintTime_value); } const auto value_largestTextPaintTime = value.largestTextPaintTime; - Ark_Int32 value_largestTextPaintTime_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_largestTextPaintTime_type = INTEROP_RUNTIME_UNDEFINED; value_largestTextPaintTime_type = runtimeType(value_largestTextPaintTime); valueSerializer.writeInt8(value_largestTextPaintTime_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_largestTextPaintTime_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_largestTextPaintTime_type)) { const auto value_largestTextPaintTime_value = value_largestTextPaintTime.value; valueSerializer.writeNumber(value_largestTextPaintTime_value); } const auto value_imageBPP = value.imageBPP; - Ark_Int32 value_imageBPP_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_imageBPP_type = INTEROP_RUNTIME_UNDEFINED; value_imageBPP_type = runtimeType(value_imageBPP); valueSerializer.writeInt8(value_imageBPP_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_imageBPP_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_imageBPP_type)) { const auto value_imageBPP_value = value_imageBPP.value; valueSerializer.writeNumber(value_imageBPP_value); } const auto value_largestImageLoadStartTime = value.largestImageLoadStartTime; - Ark_Int32 value_largestImageLoadStartTime_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_largestImageLoadStartTime_type = INTEROP_RUNTIME_UNDEFINED; value_largestImageLoadStartTime_type = runtimeType(value_largestImageLoadStartTime); valueSerializer.writeInt8(value_largestImageLoadStartTime_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_largestImageLoadStartTime_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_largestImageLoadStartTime_type)) { const auto value_largestImageLoadStartTime_value = value_largestImageLoadStartTime.value; valueSerializer.writeNumber(value_largestImageLoadStartTime_value); } const auto value_largestImageLoadEndTime = value.largestImageLoadEndTime; - Ark_Int32 value_largestImageLoadEndTime_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_largestImageLoadEndTime_type = INTEROP_RUNTIME_UNDEFINED; value_largestImageLoadEndTime_type = runtimeType(value_largestImageLoadEndTime); valueSerializer.writeInt8(value_largestImageLoadEndTime_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_largestImageLoadEndTime_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_largestImageLoadEndTime_type)) { const auto value_largestImageLoadEndTime_value = value_largestImageLoadEndTime.value; valueSerializer.writeNumber(value_largestImageLoadEndTime_value); } @@ -61672,18 +61959,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_navigationStartTime = value.navigationStartTime; - Ark_Int32 value_navigationStartTime_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_navigationStartTime_type = INTEROP_RUNTIME_UNDEFINED; value_navigationStartTime_type = runtimeType(value_navigationStartTime); valueSerializer.writeInt8(value_navigationStartTime_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_navigationStartTime_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_navigationStartTime_type)) { const auto value_navigationStartTime_value = value_navigationStartTime.value; valueSerializer.writeNumber(value_navigationStartTime_value); } const auto value_firstMeaningfulPaintTime = value.firstMeaningfulPaintTime; - Ark_Int32 value_firstMeaningfulPaintTime_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_firstMeaningfulPaintTime_type = INTEROP_RUNTIME_UNDEFINED; value_firstMeaningfulPaintTime_type = runtimeType(value_firstMeaningfulPaintTime); valueSerializer.writeInt8(value_firstMeaningfulPaintTime_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_firstMeaningfulPaintTime_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_firstMeaningfulPaintTime_type)) { const auto value_firstMeaningfulPaintTime_value = value_firstMeaningfulPaintTime.value; valueSerializer.writeNumber(value_firstMeaningfulPaintTime_value); } @@ -61788,10 +62075,10 @@ class Serializer : public SerializerBase { const auto value_error = value.error; valueSerializer.writeInt32(static_cast(value_error)); const auto value_certChainData = value.certChainData; - Ark_Int32 value_certChainData_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_certChainData_type = INTEROP_RUNTIME_UNDEFINED; value_certChainData_type = runtimeType(value_certChainData); valueSerializer.writeInt8(value_certChainData_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_certChainData_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_certChainData_type)) { const auto value_certChainData_value = value_certChainData.value; valueSerializer.writeInt32(value_certChainData_value.length); for (int i = 0; i < value_certChainData_value.length; i++) { @@ -61868,18 +62155,18 @@ class Serializer : public SerializerBase { const auto value_handler = value.handler; valueSerializer.writeFullScreenExitHandler(value_handler); const auto value_videoWidth = value.videoWidth; - Ark_Int32 value_videoWidth_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_videoWidth_type = INTEROP_RUNTIME_UNDEFINED; value_videoWidth_type = runtimeType(value_videoWidth); valueSerializer.writeInt8(value_videoWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_videoWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_videoWidth_type)) { const auto value_videoWidth_value = value_videoWidth.value; valueSerializer.writeNumber(value_videoWidth_value); } const auto value_videoHeight = value.videoHeight; - Ark_Int32 value_videoHeight_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_videoHeight_type = INTEROP_RUNTIME_UNDEFINED; value_videoHeight_type = runtimeType(value_videoHeight); valueSerializer.writeInt8(value_videoHeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_videoHeight_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_videoHeight_type)) { const auto value_videoHeight_value = value_videoHeight.value; valueSerializer.writeNumber(value_videoHeight_value); } @@ -62026,18 +62313,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_resumeInterval = value.resumeInterval; - Ark_Int32 value_resumeInterval_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_resumeInterval_type = INTEROP_RUNTIME_UNDEFINED; value_resumeInterval_type = runtimeType(value_resumeInterval); valueSerializer.writeInt8(value_resumeInterval_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_resumeInterval_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_resumeInterval_type)) { const auto value_resumeInterval_value = value_resumeInterval.value; valueSerializer.writeNumber(value_resumeInterval_value); } const auto value_audioExclusive = value.audioExclusive; - Ark_Int32 value_audioExclusive_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_audioExclusive_type = INTEROP_RUNTIME_UNDEFINED; value_audioExclusive_type = runtimeType(value_audioExclusive); valueSerializer.writeInt8(value_audioExclusive_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_audioExclusive_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_audioExclusive_type)) { const auto value_audioExclusive_value = value_audioExclusive.value; valueSerializer.writeBoolean(value_audioExclusive_value); } @@ -62045,8 +62332,8 @@ class Serializer : public SerializerBase { void writeJavaScriptProxy(Ark_JavaScriptProxy value) { Serializer& valueSerializer = *this; - const auto value_object = value.object; - valueSerializer.writeCustomObject("Object", value_object); + const auto value_object_ = value.object_; + valueSerializer.writeCustomObject("Object", value_object_); const auto value_name = value.name; valueSerializer.writeString(value_name); const auto value_methodList = value.methodList; @@ -62056,23 +62343,23 @@ class Serializer : public SerializerBase { valueSerializer.writeString(value_methodList_element); } const auto value_controller = value.controller; - Ark_Int32 value_controller_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_asyncMethodList_type = INTEROP_RUNTIME_UNDEFINED; value_asyncMethodList_type = runtimeType(value_asyncMethodList); valueSerializer.writeInt8(value_asyncMethodList_type); - if ((ARK_RUNTIME_UNDEFINED) != (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++) { @@ -62081,10 +62368,10 @@ class Serializer : public SerializerBase { } } const auto value_permission = value.permission; - Ark_Int32 value_permission_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_permission_type = INTEROP_RUNTIME_UNDEFINED; value_permission_type = runtimeType(value_permission); valueSerializer.writeInt8(value_permission_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_permission_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_permission_type)) { const auto value_permission_value = value_permission.value; valueSerializer.writeString(value_permission_value); } @@ -62093,52 +62380,52 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_src = value.src; - Ark_Int32 value_src_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_src_type == 1))) { valueSerializer.writeInt8(1); const auto value_src_1 = value_src.value1; valueSerializer.writeResource(value_src_1); } const auto value_controller = value.controller; - Ark_Int32 value_controller_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_renderMode = value.renderMode; - Ark_Int32 value_renderMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_renderMode_type = INTEROP_RUNTIME_UNDEFINED; value_renderMode_type = runtimeType(value_renderMode); valueSerializer.writeInt8(value_renderMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_renderMode_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_renderMode_type)) { const auto value_renderMode_value = value_renderMode.value; valueSerializer.writeInt32(static_cast(value_renderMode_value)); } const auto value_incognitoMode = value.incognitoMode; - Ark_Int32 value_incognitoMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_incognitoMode_type = INTEROP_RUNTIME_UNDEFINED; value_incognitoMode_type = runtimeType(value_incognitoMode); valueSerializer.writeInt8(value_incognitoMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_incognitoMode_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_incognitoMode_type)) { const auto value_incognitoMode_value = value_incognitoMode.value; valueSerializer.writeBoolean(value_incognitoMode_value); } const auto value_sharedRenderProcessToken = value.sharedRenderProcessToken; - Ark_Int32 value_sharedRenderProcessToken_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_sharedRenderProcessToken_type = INTEROP_RUNTIME_UNDEFINED; value_sharedRenderProcessToken_type = runtimeType(value_sharedRenderProcessToken); valueSerializer.writeInt8(value_sharedRenderProcessToken_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_sharedRenderProcessToken_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_sharedRenderProcessToken_type)) { const auto value_sharedRenderProcessToken_value = value_sharedRenderProcessToken.value; valueSerializer.writeString(value_sharedRenderProcessToken_value); } @@ -62173,85 +62460,85 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_src = value.src; - Ark_Int32 value_src_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_src_type = INTEROP_RUNTIME_UNDEFINED; value_src_type = runtimeType(value_src); valueSerializer.writeInt8(value_src_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_src_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_src_type)) { const auto value_src_value = value_src.value; - Ark_Int32 value_src_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_currentProgressRate = value.currentProgressRate; - Ark_Int32 value_currentProgressRate_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_currentProgressRate_type = INTEROP_RUNTIME_UNDEFINED; value_currentProgressRate_type = runtimeType(value_currentProgressRate); valueSerializer.writeInt8(value_currentProgressRate_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_currentProgressRate_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_currentProgressRate_type)) { const auto value_currentProgressRate_value = value_currentProgressRate.value; - Ark_Int32 value_currentProgressRate_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + else if (((value_currentProgressRate_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_previewUri = value.previewUri; - Ark_Int32 value_previewUri_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_previewUri_type = INTEROP_RUNTIME_UNDEFINED; value_previewUri_type = runtimeType(value_previewUri); valueSerializer.writeInt8(value_previewUri_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_previewUri_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_previewUri_type)) { const auto value_previewUri_value = value_previewUri.value; - Ark_Int32 value_previewUri_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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_controller = value.controller; - Ark_Int32 value_controller_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; value_controller_type = runtimeType(value_controller); valueSerializer.writeInt8(value_controller_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_imageAIOptions_type = INTEROP_RUNTIME_UNDEFINED; value_imageAIOptions_type = runtimeType(value_imageAIOptions); valueSerializer.writeInt8(value_imageAIOptions_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_imageAIOptions_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_imageAIOptions_type)) { const auto value_imageAIOptions_value = value_imageAIOptions.value; valueSerializer.writeImageAIOptions(value_imageAIOptions_value); } @@ -62260,96 +62547,96 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_pointRadius = value.pointRadius; - Ark_Int32 value_pointRadius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_pointRadius_type = INTEROP_RUNTIME_UNDEFINED; value_pointRadius_type = runtimeType(value_pointRadius); valueSerializer.writeInt8(value_pointRadius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_pointRadius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_pointRadius_type)) { const auto value_pointRadius_value = value_pointRadius.value; - Ark_Int32 value_pointRadius_value_type = ARK_RUNTIME_UNDEFINED; + 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_pointRadius_value_0 = value_pointRadius_value.value0; valueSerializer.writeNumber(value_pointRadius_value_0); } - else if (((value_pointRadius_value_type == 0))) { + else if (((value_pointRadius_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_unselectedColor = value.unselectedColor; - Ark_Int32 value_unselectedColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_unselectedColor_type = INTEROP_RUNTIME_UNDEFINED; value_unselectedColor_type = runtimeType(value_unselectedColor); valueSerializer.writeInt8(value_unselectedColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_unselectedColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_unselectedColor_type)) { const auto value_unselectedColor_value = value_unselectedColor.value; - Ark_Int32 value_unselectedColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_unselectedColor_value_0 = value_unselectedColor_value.value0; valueSerializer.writeInt32(static_cast(value_unselectedColor_value_0)); } - else if (((value_unselectedColor_value_type == 0))) { + else if (((value_unselectedColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_unselectedColor_value_1 = value_unselectedColor_value.value1; valueSerializer.writeNumber(value_unselectedColor_value_1); } - else if (((value_unselectedColor_value_type == 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_unselectedColor_value_type == 0))) { + 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_pointColor = value.pointColor; - Ark_Int32 value_pointColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_pointColor_type = INTEROP_RUNTIME_UNDEFINED; value_pointColor_type = runtimeType(value_pointColor); valueSerializer.writeInt8(value_pointColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_pointColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_pointColor_type)) { const auto value_pointColor_value = value_pointColor.value; - Ark_Int32 value_pointColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_pointColor_value_0 = value_pointColor_value.value0; valueSerializer.writeInt32(static_cast(value_pointColor_value_0)); } - else if (((value_pointColor_value_type == 0))) { + else if (((value_pointColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_pointColor_value_1 = value_pointColor_value.value1; valueSerializer.writeNumber(value_pointColor_value_1); } - else if (((value_pointColor_value_type == 0))) { + else if (((value_pointColor_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 == 0))) { + 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_trackBorderRadius = value.trackBorderRadius; - Ark_Int32 value_trackBorderRadius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_trackBorderRadius_type = INTEROP_RUNTIME_UNDEFINED; value_trackBorderRadius_type = runtimeType(value_trackBorderRadius); valueSerializer.writeInt8(value_trackBorderRadius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_trackBorderRadius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_trackBorderRadius_type)) { const auto value_trackBorderRadius_value = value_trackBorderRadius.value; - Ark_Int32 value_trackBorderRadius_value_type = ARK_RUNTIME_UNDEFINED; + 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_trackBorderRadius_value_0 = value_trackBorderRadius_value.value0; valueSerializer.writeNumber(value_trackBorderRadius_value_0); } - else if (((value_trackBorderRadius_value_type == 0))) { + else if (((value_trackBorderRadius_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_trackBorderRadius_value_1 = value_trackBorderRadius_value.value1; valueSerializer.writeResource(value_trackBorderRadius_value_1); @@ -62362,10 +62649,10 @@ class Serializer : public SerializerBase { const auto value_type = value.type; valueSerializer.writeInt32(static_cast(value_type)); const auto value_isOn = value.isOn; - Ark_Int32 value_isOn_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_isOn_type = INTEROP_RUNTIME_UNDEFINED; value_isOn_type = runtimeType(value_isOn); valueSerializer.writeInt8(value_isOn_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_isOn_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isOn_type)) { const auto value_isOn_value = value_isOn.value; valueSerializer.writeBoolean(value_isOn_value); } @@ -62384,18 +62671,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_selected = value.selected; - Ark_Int32 value_selected_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_selected_type = INTEROP_RUNTIME_UNDEFINED; value_selected_type = runtimeType(value_selected); valueSerializer.writeInt8(value_selected_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_format = value.format; - Ark_Int32 value_format_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_format_type = INTEROP_RUNTIME_UNDEFINED; value_format_type = runtimeType(value_format); valueSerializer.writeInt8(value_format_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_format_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_format_type)) { const auto value_format_value = value_format.value; valueSerializer.writeInt32(static_cast(value_format_value)); } @@ -62404,26 +62691,26 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_isCountDown = value.isCountDown; - Ark_Int32 value_isCountDown_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_isCountDown_type = INTEROP_RUNTIME_UNDEFINED; value_isCountDown_type = runtimeType(value_isCountDown); valueSerializer.writeInt8(value_isCountDown_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_isCountDown_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isCountDown_type)) { const auto value_isCountDown_value = value_isCountDown.value; valueSerializer.writeBoolean(value_isCountDown_value); } const auto value_count = value.count; - Ark_Int32 value_count_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_count_type = INTEROP_RUNTIME_UNDEFINED; value_count_type = runtimeType(value_count); valueSerializer.writeInt8(value_count_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_count_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_count_type)) { const auto value_count_value = value_count.value; valueSerializer.writeNumber(value_count_value); } const auto value_controller = value.controller; - Ark_Int32 value_controller_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; value_controller_type = runtimeType(value_controller); valueSerializer.writeInt8(value_controller_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_controller_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_controller_type)) { const auto value_controller_value = value_controller.value; valueSerializer.writeTextTimerController(value_controller_value); } @@ -62432,14 +62719,14 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_value = value.value; - Ark_Int32 value_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_value_1 = value_value.value1; valueSerializer.writeInt32(value_value_1.length); @@ -62449,14 +62736,14 @@ class Serializer : public SerializerBase { } } const auto value_index = value.index; - Ark_Int32 value_index_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_index_type == 1))) { valueSerializer.writeInt8(1); const auto value_index_1 = value_index.value1; valueSerializer.writeInt32(value_index_1.length); @@ -62470,23 +62757,23 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_text = value.text; - Ark_Int32 value_text_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_children_type = INTEROP_RUNTIME_UNDEFINED; value_children_type = runtimeType(value_children); valueSerializer.writeInt8(value_children_type); - if ((ARK_RUNTIME_UNDEFINED) != (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++) { @@ -62499,32 +62786,32 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_icon = value.icon; - Ark_Int32 value_icon_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_text_type = INTEROP_RUNTIME_UNDEFINED; value_text_type = runtimeType(value_text); valueSerializer.writeInt8(value_text_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_text_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_text_type)) { const auto value_text_value = value_text.value; - Ark_Int32 value_text_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); @@ -62535,7 +62822,7 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_range = value.range; - Ark_Int32 value_range_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_range_type = INTEROP_RUNTIME_UNDEFINED; value_range_type = value_range.selector; if (((value_range_type == 0))) { valueSerializer.writeInt8(0); @@ -62546,7 +62833,7 @@ class Serializer : public SerializerBase { valueSerializer.writeString(value_range_0_element); } } - else if (((value_range_type == 0))) { + else if (((value_range_type == 1))) { valueSerializer.writeInt8(1); const auto value_range_1 = value_range.value1; valueSerializer.writeInt32(value_range_1.length); @@ -62559,12 +62846,12 @@ class Serializer : public SerializerBase { } } } - else if (((value_range_type == 0))) { + 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 == 0))) { + else if (((value_range_type == 3))) { valueSerializer.writeInt8(3); const auto value_range_3 = value_range.value3; valueSerializer.writeInt32(value_range_3.length); @@ -62573,7 +62860,7 @@ class Serializer : public SerializerBase { valueSerializer.writeTextPickerRangeContent(value_range_3_element); } } - else if (((value_range_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); @@ -62583,19 +62870,19 @@ class Serializer : public SerializerBase { } } const auto value_value = value.value; - Ark_Int32 value_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_value_type = INTEROP_RUNTIME_UNDEFINED; value_value_type = runtimeType(value_value); valueSerializer.writeInt8(value_value_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_value_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_type)) { const auto value_value_value = value_value.value; - Ark_Int32 value_value_value_type = ARK_RUNTIME_UNDEFINED; + 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_value_value_0 = value_value_value.value0; valueSerializer.writeString(value_value_value_0); } - else if (((value_value_value_type == 0))) { + else if (((value_value_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_value_value_1 = value_value_value.value1; valueSerializer.writeInt32(value_value_value_1.length); @@ -62606,19 +62893,19 @@ class Serializer : public SerializerBase { } } const auto value_selected = value.selected; - Ark_Int32 value_selected_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_selected_type = INTEROP_RUNTIME_UNDEFINED; value_selected_type = runtimeType(value_selected); valueSerializer.writeInt8(value_selected_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_selected_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_selected_type)) { const auto value_selected_value = value_selected.value; - Ark_Int32 value_selected_value_type = ARK_RUNTIME_UNDEFINED; + 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); } - else if (((value_selected_value_type == 0))) { + 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); @@ -62633,38 +62920,38 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_onIconSrc = value.onIconSrc; - Ark_Int32 value_onIconSrc_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onIconSrc_type = INTEROP_RUNTIME_UNDEFINED; value_onIconSrc_type = runtimeType(value_onIconSrc); valueSerializer.writeInt8(value_onIconSrc_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onIconSrc_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onIconSrc_type)) { const auto value_onIconSrc_value = value_onIconSrc.value; - Ark_Int32 value_onIconSrc_value_type = ARK_RUNTIME_UNDEFINED; + 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_onIconSrc_value_0 = value_onIconSrc_value.value0; valueSerializer.writeString(value_onIconSrc_value_0); } - else if (((value_onIconSrc_value_type == 0))) { + else if (((value_onIconSrc_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_offIconSrc = value.offIconSrc; - Ark_Int32 value_offIconSrc_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offIconSrc_type = INTEROP_RUNTIME_UNDEFINED; value_offIconSrc_type = runtimeType(value_offIconSrc); valueSerializer.writeInt8(value_offIconSrc_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_offIconSrc_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offIconSrc_type)) { const auto value_offIconSrc_value = value_offIconSrc.value; - Ark_Int32 value_offIconSrc_value_type = ARK_RUNTIME_UNDEFINED; + 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_offIconSrc_value_0 = value_offIconSrc_value.value0; valueSerializer.writeString(value_offIconSrc_value_0); } - else if (((value_offIconSrc_value_type == 0))) { + else if (((value_offIconSrc_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_offIconSrc_value_1 = value_offIconSrc_value.value1; valueSerializer.writeResource(value_offIconSrc_value_1); @@ -62675,48 +62962,48 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_placeholder = value.placeholder; - Ark_Int32 value_placeholder_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_placeholder_type = INTEROP_RUNTIME_UNDEFINED; value_placeholder_type = runtimeType(value_placeholder); valueSerializer.writeInt8(value_placeholder_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_placeholder_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_placeholder_type)) { const auto value_placeholder_value = value_placeholder.value; - Ark_Int32 value_placeholder_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_text = value.text; - Ark_Int32 value_text_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_text_type = INTEROP_RUNTIME_UNDEFINED; value_text_type = runtimeType(value_text); valueSerializer.writeInt8(value_text_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_text_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_text_type)) { const auto value_text_value = value_text.value; - Ark_Int32 value_text_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); } } const auto value_controller = value.controller; - Ark_Int32 value_controller_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; value_controller_type = runtimeType(value_controller); valueSerializer.writeInt8(value_controller_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_controller_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_controller_type)) { const auto value_controller_value = value_controller.value; valueSerializer.writeTextInputController(value_controller_value); } @@ -62725,18 +63012,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_timeZoneOffset = value.timeZoneOffset; - Ark_Int32 value_timeZoneOffset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_timeZoneOffset_type = INTEROP_RUNTIME_UNDEFINED; value_timeZoneOffset_type = runtimeType(value_timeZoneOffset); valueSerializer.writeInt8(value_timeZoneOffset_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_timeZoneOffset_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_timeZoneOffset_type)) { const auto value_timeZoneOffset_value = value_timeZoneOffset.value; valueSerializer.writeNumber(value_timeZoneOffset_value); } const auto value_controller = value.controller; - Ark_Int32 value_controller_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; value_controller_type = runtimeType(value_controller); valueSerializer.writeInt8(value_controller_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_controller_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_controller_type)) { const auto value_controller_value = value_controller.value; valueSerializer.writeTextClockController(value_controller_value); } @@ -62745,48 +63032,48 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_placeholder = value.placeholder; - Ark_Int32 value_placeholder_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_placeholder_type = INTEROP_RUNTIME_UNDEFINED; value_placeholder_type = runtimeType(value_placeholder); valueSerializer.writeInt8(value_placeholder_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_placeholder_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_placeholder_type)) { const auto value_placeholder_value = value_placeholder.value; - Ark_Int32 value_placeholder_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_text = value.text; - Ark_Int32 value_text_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_text_type = INTEROP_RUNTIME_UNDEFINED; value_text_type = runtimeType(value_text); valueSerializer.writeInt8(value_text_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_text_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_text_type)) { const auto value_text_value = value_text.value; - Ark_Int32 value_text_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); } } const auto value_controller = value.controller; - Ark_Int32 value_controller_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; value_controller_type = runtimeType(value_controller); valueSerializer.writeInt8(value_controller_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_controller_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_controller_type)) { const auto value_controller_value = value_controller.value; valueSerializer.writeTextAreaController(value_controller_value); } @@ -62812,42 +63099,42 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_sm = value.sm; - Ark_Int32 value_sm_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_sm_type = INTEROP_RUNTIME_UNDEFINED; value_sm_type = runtimeType(value_sm); valueSerializer.writeInt8(value_sm_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_md_type = INTEROP_RUNTIME_UNDEFINED; value_md_type = runtimeType(value_md); valueSerializer.writeInt8(value_md_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_lg_type = INTEROP_RUNTIME_UNDEFINED; value_lg_type = runtimeType(value_lg); valueSerializer.writeInt8(value_lg_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_margin_type = INTEROP_RUNTIME_UNDEFINED; value_margin_type = runtimeType(value_margin); valueSerializer.writeInt8(value_margin_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_margin_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_type)) { const auto value_margin_value = value_margin.value; valueSerializer.writeLength(value_margin_value); } const auto value_gutter = value.gutter; - Ark_Int32 value_gutter_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_gutter_type = INTEROP_RUNTIME_UNDEFINED; value_gutter_type = runtimeType(value_gutter); valueSerializer.writeInt8(value_gutter_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_gutter_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_gutter_type)) { const auto value_gutter_value = value_gutter.value; valueSerializer.writeLength(value_gutter_value); } @@ -62866,26 +63153,26 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_barPosition = value.barPosition; - Ark_Int32 value_barPosition_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_barPosition_type = INTEROP_RUNTIME_UNDEFINED; value_barPosition_type = runtimeType(value_barPosition); valueSerializer.writeInt8(value_barPosition_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_index_type = INTEROP_RUNTIME_UNDEFINED; value_index_type = runtimeType(value_index); valueSerializer.writeInt8(value_index_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; value_controller_type = runtimeType(value_controller); valueSerializer.writeInt8(value_controller_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_controller_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_controller_type)) { const auto value_controller_value = value_controller.value; valueSerializer.writeTabsController(value_controller_value); } @@ -62899,10 +63186,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_timeout = value.timeout; - Ark_Int32 value_timeout_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_timeout_type = INTEROP_RUNTIME_UNDEFINED; value_timeout_type = runtimeType(value_timeout); valueSerializer.writeInt8(value_timeout_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_timeout_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_timeout_type)) { const auto value_timeout_value = value_timeout.value; valueSerializer.writeNumber(value_timeout_value); } @@ -62935,10 +63222,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_alignContent = value.alignContent; - Ark_Int32 value_alignContent_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_alignContent_type = INTEROP_RUNTIME_UNDEFINED; value_alignContent_type = runtimeType(value_alignContent); valueSerializer.writeInt8(value_alignContent_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -62947,18 +63234,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_from = value.from; - Ark_Int32 value_from_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_from_type = INTEROP_RUNTIME_UNDEFINED; value_from_type = runtimeType(value_from); valueSerializer.writeInt8(value_from_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_from_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_from_type)) { const auto value_from_value = value_from.value; valueSerializer.writeNumber(value_from_value); } const auto value_to = value.to; - Ark_Int32 value_to_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_to_type = INTEROP_RUNTIME_UNDEFINED; value_to_type = runtimeType(value_to); valueSerializer.writeInt8(value_to_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_to_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_to_type)) { const auto value_to_value = value_to.value; valueSerializer.writeNumber(value_to_value); } @@ -62969,48 +63256,48 @@ class Serializer : public SerializerBase { const auto value_type = value.type; valueSerializer.writeInt32(static_cast(value_type)); const auto value_image = value.image; - Ark_Int32 value_image_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_image_type = INTEROP_RUNTIME_UNDEFINED; value_image_type = runtimeType(value_image); valueSerializer.writeInt8(value_image_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_image_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_image_type)) { const auto value_image_value = value_image.value; - Ark_Int32 value_image_value_type = ARK_RUNTIME_UNDEFINED; + 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_image_value_0 = value_image_value.value0; valueSerializer.writeString(value_image_value_0); } - else if (((value_image_value_type == 0))) { + else if (((value_image_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_shape = value.shape; - Ark_Int32 value_shape_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_shape_type = INTEROP_RUNTIME_UNDEFINED; value_shape_type = runtimeType(value_shape); valueSerializer.writeInt8(value_shape_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_shape_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_shape_type)) { const auto value_shape_value = value_shape.value; - Ark_Int32 value_shape_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_shape_value_type = INTEROP_RUNTIME_UNDEFINED; value_shape_value_type = value_shape_value.selector; if (((value_shape_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_shape_value_0 = value_shape_value.value0; valueSerializer.writeCircleAttribute(value_shape_value_0); } - else if (((value_shape_value_type == 0))) { + else if (((value_shape_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_shape_value_1 = value_shape_value.value1; valueSerializer.writeEllipseAttribute(value_shape_value_1); } - else if (((value_shape_value_type == 0))) { + else if (((value_shape_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_shape_value_2 = value_shape_value.value2; valueSerializer.writePathAttribute(value_shape_value_2); } - else if (((value_shape_value_type == 0))) { + else if (((value_shape_value_type == 3))) { valueSerializer.writeInt8(3); const auto value_shape_value_3 = value_shape_value.value3; valueSerializer.writeRectAttribute(value_shape_value_3); @@ -63021,58 +63308,58 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_value = value.value; - Ark_Int32 value_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_value_type = INTEROP_RUNTIME_UNDEFINED; value_value_type = runtimeType(value_value); valueSerializer.writeInt8(value_value_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_value_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_type)) { const auto value_value_value = value_value.value; valueSerializer.writeNumber(value_value_value); } const auto value_min = value.min; - Ark_Int32 value_min_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_min_type = INTEROP_RUNTIME_UNDEFINED; value_min_type = runtimeType(value_min); valueSerializer.writeInt8(value_min_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_min_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_min_type)) { const auto value_min_value = value_min.value; valueSerializer.writeNumber(value_min_value); } const auto value_max = value.max; - Ark_Int32 value_max_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_max_type = INTEROP_RUNTIME_UNDEFINED; value_max_type = runtimeType(value_max); valueSerializer.writeInt8(value_max_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_max_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_max_type)) { const auto value_max_value = value_max.value; valueSerializer.writeNumber(value_max_value); } const auto value_step = value.step; - Ark_Int32 value_step_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_step_type = INTEROP_RUNTIME_UNDEFINED; value_step_type = runtimeType(value_step); valueSerializer.writeInt8(value_step_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_style = value.style; - Ark_Int32 value_style_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; value_style_type = runtimeType(value_style); valueSerializer.writeInt8(value_style_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_direction = value.direction; - Ark_Int32 value_direction_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_direction_type = INTEROP_RUNTIME_UNDEFINED; value_direction_type = runtimeType(value_direction); valueSerializer.writeInt8(value_direction_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_reverse = value.reverse; - Ark_Int32 value_reverse_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_reverse_type = INTEROP_RUNTIME_UNDEFINED; value_reverse_type = runtimeType(value_reverse); valueSerializer.writeInt8(value_reverse_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_reverse_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_reverse_type)) { const auto value_reverse_value = value_reverse.value; valueSerializer.writeBoolean(value_reverse_value); } @@ -63081,76 +63368,76 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_x = value.x; - Ark_Int32 value_x_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_x_type = INTEROP_RUNTIME_UNDEFINED; value_x_type = runtimeType(value_x); valueSerializer.writeInt8(value_x_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_x_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_x_type)) { const auto value_x_value = value_x.value; - Ark_Int32 value_x_value_type = ARK_RUNTIME_UNDEFINED; + 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_x_value_0 = value_x_value.value0; valueSerializer.writeNumber(value_x_value_0); } - else if (((value_x_value_type == 0))) { + else if (((value_x_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_x_value_1 = value_x_value.value1; valueSerializer.writeString(value_x_value_1); } } const auto value_y = value.y; - Ark_Int32 value_y_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_y_type = INTEROP_RUNTIME_UNDEFINED; value_y_type = runtimeType(value_y); valueSerializer.writeInt8(value_y_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_y_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_y_type)) { const auto value_y_value = value_y.value; - Ark_Int32 value_y_value_type = ARK_RUNTIME_UNDEFINED; + 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_y_value_0 = value_y_value.value0; valueSerializer.writeNumber(value_y_value_0); } - else if (((value_y_value_type == 0))) { + else if (((value_y_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_y_value_1 = value_y_value.value1; valueSerializer.writeString(value_y_value_1); } } const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = ARK_RUNTIME_UNDEFINED; + 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_width_value_type == 0))) { + 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_height = value.height; - Ark_Int32 value_height_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; value_height_type = runtimeType(value_height); valueSerializer.writeInt8(value_height_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_height_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { const auto value_height_value = value_height.value; - Ark_Int32 value_height_value_type = ARK_RUNTIME_UNDEFINED; + 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_height_value_type == 0))) { + 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); @@ -63161,42 +63448,42 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_value = value.value; - Ark_Int32 value_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; value_icon_type = runtimeType(value_icon); valueSerializer.writeInt8(value_icon_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_icon_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { const auto value_icon_value = value_icon.value; - Ark_Int32 value_icon_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_symbolIcon = value.symbolIcon; - Ark_Int32 value_symbolIcon_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_symbolIcon_type = INTEROP_RUNTIME_UNDEFINED; value_symbolIcon_type = runtimeType(value_symbolIcon); valueSerializer.writeInt8(value_symbolIcon_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_symbolIcon_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_symbolIcon_type)) { const auto value_symbolIcon_value = value_symbolIcon.value; valueSerializer.writeSymbolGlyphModifier(value_symbolIcon_value); } @@ -63225,39 +63512,39 @@ class Serializer : public SerializerBase { const auto value_type = value.type; valueSerializer.writeInt32(static_cast(value_type)); const auto value_color = value.color; - Ark_Int32 value_color_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 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_color_value_type == 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); } } const auto value_style = value.style; - Ark_Int32 value_style_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; value_style_type = runtimeType(value_style); valueSerializer.writeInt8(value_style_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -63274,37 +63561,37 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; valueSerializer.writeLength(value_width_value); } const auto value_color = value.color; - Ark_Int32 value_color_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 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_color_value_type == 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); @@ -63315,45 +63602,45 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_value = value.value; - Ark_Int32 value_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_value_type = INTEROP_RUNTIME_UNDEFINED; value_value_type = runtimeType(value_value); valueSerializer.writeInt8(value_value_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_placeholder = value.placeholder; - Ark_Int32 value_placeholder_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_placeholder_type = INTEROP_RUNTIME_UNDEFINED; value_placeholder_type = runtimeType(value_placeholder); valueSerializer.writeInt8(value_placeholder_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_placeholder_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_placeholder_type)) { const auto value_placeholder_value = value_placeholder.value; - Ark_Int32 value_placeholder_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; value_icon_type = runtimeType(value_icon); valueSerializer.writeInt8(value_icon_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_controller_type = INTEROP_RUNTIME_UNDEFINED; value_controller_type = runtimeType(value_controller); valueSerializer.writeInt8(value_controller_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_controller_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_controller_type)) { const auto value_controller_value = value_controller.value; valueSerializer.writeSearchController(value_controller_value); } @@ -63364,18 +63651,18 @@ class Serializer : public SerializerBase { const auto value_scroller = value.scroller; valueSerializer.writeScroller(value_scroller); const auto value_direction = value.direction; - Ark_Int32 value_direction_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_direction_type = INTEROP_RUNTIME_UNDEFINED; value_direction_type = runtimeType(value_direction); valueSerializer.writeInt8(value_direction_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_state = value.state; - Ark_Int32 value_state_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_state_type = INTEROP_RUNTIME_UNDEFINED; value_state_type = runtimeType(value_state); valueSerializer.writeInt8(value_state_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_state_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_state_type)) { const auto value_state_value = value_state.value; valueSerializer.writeInt32(static_cast(value_state_value)); } @@ -63384,18 +63671,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_xOffset = value.xOffset; - Ark_Int32 value_xOffset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_xOffset_type = INTEROP_RUNTIME_UNDEFINED; value_xOffset_type = runtimeType(value_xOffset); valueSerializer.writeInt8(value_xOffset_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_xOffset_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_xOffset_type)) { const auto value_xOffset_value = value_xOffset.value; valueSerializer.writeLength(value_xOffset_value); } const auto value_yOffset = value.yOffset; - Ark_Int32 value_yOffset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_yOffset_type = INTEROP_RUNTIME_UNDEFINED; value_yOffset_type = runtimeType(value_yOffset); valueSerializer.writeInt8(value_yOffset_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_yOffset_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_yOffset_type)) { const auto value_yOffset_value = value_yOffset.value; valueSerializer.writeLength(value_yOffset_value); } @@ -63406,19 +63693,19 @@ class Serializer : public SerializerBase { const auto value_snapAlign = value.snapAlign; valueSerializer.writeInt32(static_cast(value_snapAlign)); const auto value_snapPagination = value.snapPagination; - Ark_Int32 value_snapPagination_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_snapPagination_type = INTEROP_RUNTIME_UNDEFINED; value_snapPagination_type = runtimeType(value_snapPagination); valueSerializer.writeInt8(value_snapPagination_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_snapPagination_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_snapPagination_type)) { const auto value_snapPagination_value = value_snapPagination.value; - Ark_Int32 value_snapPagination_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 1)) || ((value_snapPagination_value_type == 2))) { + if (((value_snapPagination_value_type == 0)) || ((value_snapPagination_value_type == 0)) || ((value_snapPagination_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_snapPagination_value_0 = value_snapPagination_value.value0; valueSerializer.writeLength(value_snapPagination_value_0); } - else if (((value_snapPagination_value_type == 0))) { + else if (((value_snapPagination_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_snapPagination_value_1 = value_snapPagination_value.value1; valueSerializer.writeInt32(value_snapPagination_value_1.length); @@ -63429,18 +63716,18 @@ class Serializer : public SerializerBase { } } const auto value_enableSnapToStart = value.enableSnapToStart; - Ark_Int32 value_enableSnapToStart_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableSnapToStart_type = INTEROP_RUNTIME_UNDEFINED; value_enableSnapToStart_type = runtimeType(value_enableSnapToStart); valueSerializer.writeInt8(value_enableSnapToStart_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableSnapToEnd_type = INTEROP_RUNTIME_UNDEFINED; value_enableSnapToEnd_type = runtimeType(value_enableSnapToEnd); valueSerializer.writeInt8(value_enableSnapToEnd_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_enableSnapToEnd_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enableSnapToEnd_type)) { const auto value_enableSnapToEnd_value = value_enableSnapToEnd.value; valueSerializer.writeBoolean(value_enableSnapToEnd_value); } @@ -63455,26 +63742,26 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_icon = value.icon; - Ark_Int32 value_icon_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; value_icon_type = runtimeType(value_icon); valueSerializer.writeInt8(value_icon_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_icon_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { const auto value_icon_value = value_icon.value; valueSerializer.writeInt32(static_cast(value_icon_value)); } const auto value_text = value.text; - Ark_Int32 value_text_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_text_type = INTEROP_RUNTIME_UNDEFINED; value_text_type = runtimeType(value_text); valueSerializer.writeInt8(value_text_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_text_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_text_type)) { const auto value_text_value = value_text.value; valueSerializer.writeInt32(static_cast(value_text_value)); } const auto value_buttonType = value.buttonType; - Ark_Int32 value_buttonType_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_buttonType_type = INTEROP_RUNTIME_UNDEFINED; value_buttonType_type = runtimeType(value_buttonType); valueSerializer.writeInt8(value_buttonType_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_buttonType_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_buttonType_type)) { const auto value_buttonType_value = value_buttonType.value; valueSerializer.writeInt32(static_cast(value_buttonType_value)); } @@ -63483,19 +63770,19 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_space = value.space; - Ark_Int32 value_space_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_space_type = INTEROP_RUNTIME_UNDEFINED; value_space_type = runtimeType(value_space); valueSerializer.writeInt8(value_space_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_space_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_space_type)) { const auto value_space_value = value_space.value; - Ark_Int32 value_space_value_type = ARK_RUNTIME_UNDEFINED; + 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_space_value_0 = value_space_value.value0; valueSerializer.writeString(value_space_value_0); } - else if (((value_space_value_type == 0))) { + else if (((value_space_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_space_value_1 = value_space_value.value1; valueSerializer.writeNumber(value_space_value_1); @@ -63526,10 +63813,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_preventDefault = value.preventDefault; - Ark_Int32 value_preventDefault_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_preventDefault_type = INTEROP_RUNTIME_UNDEFINED; value_preventDefault_type = runtimeType(value_preventDefault); valueSerializer.writeInt8(value_preventDefault_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_preventDefault_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_preventDefault_type)) { const auto value_preventDefault_value = value_preventDefault.value; valueSerializer.writeCallbackResource(value_preventDefault_value.resource); valueSerializer.writePointer(reinterpret_cast(value_preventDefault_value.call)); @@ -63540,10 +63827,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_preventDefault = value.preventDefault; - Ark_Int32 value_preventDefault_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_preventDefault_type = INTEROP_RUNTIME_UNDEFINED; value_preventDefault_type = runtimeType(value_preventDefault); valueSerializer.writeInt8(value_preventDefault_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_preventDefault_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_preventDefault_type)) { const auto value_preventDefault_value = value_preventDefault.value; valueSerializer.writeCallbackResource(value_preventDefault_value.resource); valueSerializer.writePointer(reinterpret_cast(value_preventDefault_value.call)); @@ -63577,8 +63864,7 @@ class Serializer : public SerializerBase { void writeSubmitEvent(Ark_SubmitEvent value) { Serializer& valueSerializer = *this; - const auto value_text = value.text; - valueSerializer.writeString(value_text); + valueSerializer.writePointer(value.ptr); } void writeTextDataDetectorConfig(Ark_TextDataDetectorConfig value) { @@ -63590,49 +63876,49 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(static_cast(value_types_element)); } const auto value_onDetectResultUpdate = value.onDetectResultUpdate; - Ark_Int32 value_onDetectResultUpdate_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onDetectResultUpdate_type = INTEROP_RUNTIME_UNDEFINED; value_onDetectResultUpdate_type = runtimeType(value_onDetectResultUpdate); valueSerializer.writeInt8(value_onDetectResultUpdate_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 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_color_value_type == 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); } } const auto value_decoration = value.decoration; - Ark_Int32 value_decoration_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_decoration_type = INTEROP_RUNTIME_UNDEFINED; value_decoration_type = runtimeType(value_decoration); valueSerializer.writeInt8(value_decoration_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_decoration_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_decoration_type)) { const auto value_decoration_value = value_decoration.value; valueSerializer.writeDecorationStyleInterface(value_decoration_value); } @@ -63641,10 +63927,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_preventDefault = value.preventDefault; - Ark_Int32 value_preventDefault_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_preventDefault_type = INTEROP_RUNTIME_UNDEFINED; value_preventDefault_type = runtimeType(value_preventDefault); valueSerializer.writeInt8(value_preventDefault_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_preventDefault_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_preventDefault_type)) { const auto value_preventDefault_value = value_preventDefault.value; valueSerializer.writeCallbackResource(value_preventDefault_value.resource); valueSerializer.writePointer(reinterpret_cast(value_preventDefault_value.call)); @@ -63664,14 +63950,14 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(value_richEditorDeleteSpans.length); for (int i = 0; i < value_richEditorDeleteSpans.length; i++) { const Ark_Union_RichEditorTextSpanResult_RichEditorImageSpanResult value_richEditorDeleteSpans_element = value_richEditorDeleteSpans.array[i]; - Ark_Int32 value_richEditorDeleteSpans_element_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_richEditorDeleteSpans_element_type = INTEROP_RUNTIME_UNDEFINED; value_richEditorDeleteSpans_element_type = value_richEditorDeleteSpans_element.selector; if (((value_richEditorDeleteSpans_element_type == 0))) { valueSerializer.writeInt8(0); const auto value_richEditorDeleteSpans_element_0 = value_richEditorDeleteSpans_element.value0; valueSerializer.writeRichEditorTextSpanResult(value_richEditorDeleteSpans_element_0); } - else if (((value_richEditorDeleteSpans_element_type == 0))) { + else if (((value_richEditorDeleteSpans_element_type == 1))) { valueSerializer.writeInt8(1); const auto value_richEditorDeleteSpans_element_1 = value_richEditorDeleteSpans_element.value1; valueSerializer.writeRichEditorImageSpanResult(value_richEditorDeleteSpans_element_1); @@ -63686,10 +63972,10 @@ class Serializer : public SerializerBase { const auto value_insertValue = value.insertValue; valueSerializer.writeString(value_insertValue); const auto value_previewText = value.previewText; - Ark_Int32 value_previewText_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_previewText_type = INTEROP_RUNTIME_UNDEFINED; value_previewText_type = runtimeType(value_previewText); valueSerializer.writeInt8(value_previewText_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_previewText_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_previewText_type)) { const auto value_previewText_value = value_previewText.value; valueSerializer.writeString(value_previewText_value); } @@ -63706,14 +63992,14 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(value_spans.length); for (int i = 0; i < value_spans.length; i++) { const Ark_Union_RichEditorTextSpanResult_RichEditorImageSpanResult value_spans_element = value_spans.array[i]; - Ark_Int32 value_spans_element_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_spans_element_type = INTEROP_RUNTIME_UNDEFINED; value_spans_element_type = value_spans_element.selector; if (((value_spans_element_type == 0))) { valueSerializer.writeInt8(0); const auto value_spans_element_0 = value_spans_element.value0; valueSerializer.writeRichEditorTextSpanResult(value_spans_element_0); } - else if (((value_spans_element_type == 0))) { + else if (((value_spans_element_type == 1))) { valueSerializer.writeInt8(1); const auto value_spans_element_1 = value_spans_element.value1; valueSerializer.writeRichEditorImageSpanResult(value_spans_element_1); @@ -63728,10 +64014,10 @@ class Serializer : public SerializerBase { const auto value_replacementString = value.replacementString; valueSerializer.writeStyledString(value_replacementString); const auto value_previewText = value.previewText; - Ark_Int32 value_previewText_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_previewText_type = INTEROP_RUNTIME_UNDEFINED; value_previewText_type = runtimeType(value_previewText); valueSerializer.writeInt8(value_previewText_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_previewText_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_previewText_type)) { const auto value_previewText_value = value_previewText.value; valueSerializer.writeStyledString(value_previewText_value); } @@ -63739,72 +64025,7 @@ class Serializer : public SerializerBase { void writeGestureEvent(Ark_GestureEvent value) { Serializer& valueSerializer = *this; - const auto value_target = value.target; - valueSerializer.writeEventTarget(value_target); - const auto value_timestamp = value.timestamp; - valueSerializer.writeNumber(value_timestamp); - const auto value_source = value.source; - valueSerializer.writeInt32(static_cast(value_source)); - const auto value_axisHorizontal = value.axisHorizontal; - Ark_Int32 value_axisHorizontal_type = ARK_RUNTIME_UNDEFINED; - value_axisHorizontal_type = runtimeType(value_axisHorizontal); - valueSerializer.writeInt8(value_axisHorizontal_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_axisHorizontal_type)) { - const auto value_axisHorizontal_value = value_axisHorizontal.value; - valueSerializer.writeNumber(value_axisHorizontal_value); - } - const auto value_axisVertical = value.axisVertical; - Ark_Int32 value_axisVertical_type = ARK_RUNTIME_UNDEFINED; - value_axisVertical_type = runtimeType(value_axisVertical); - valueSerializer.writeInt8(value_axisVertical_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_axisVertical_type)) { - const auto value_axisVertical_value = value_axisVertical.value; - valueSerializer.writeNumber(value_axisVertical_value); - } - const auto value_pressure = value.pressure; - valueSerializer.writeNumber(value_pressure); - const auto value_tiltX = value.tiltX; - valueSerializer.writeNumber(value_tiltX); - const auto value_tiltY = value.tiltY; - valueSerializer.writeNumber(value_tiltY); - const auto value_sourceTool = value.sourceTool; - valueSerializer.writeInt32(static_cast(value_sourceTool)); - const auto value_deviceId = value.deviceId; - Ark_Int32 value_deviceId_type = ARK_RUNTIME_UNDEFINED; - value_deviceId_type = runtimeType(value_deviceId); - valueSerializer.writeInt8(value_deviceId_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_deviceId_type)) { - const auto value_deviceId_value = value_deviceId.value; - valueSerializer.writeNumber(value_deviceId_value); - } - const auto value_repeat = value.repeat; - valueSerializer.writeBoolean(value_repeat); - const auto value_fingerList = value.fingerList; - valueSerializer.writeInt32(value_fingerList.length); - for (int i = 0; i < value_fingerList.length; i++) { - const Ark_FingerInfo value_fingerList_element = value_fingerList.array[i]; - valueSerializer.writeFingerInfo(value_fingerList_element); - } - const auto value_offsetX = value.offsetX; - valueSerializer.writeNumber(value_offsetX); - const auto value_offsetY = value.offsetY; - valueSerializer.writeNumber(value_offsetY); - const auto value_angle = value.angle; - valueSerializer.writeNumber(value_angle); - const auto value_speed = value.speed; - valueSerializer.writeNumber(value_speed); - const auto value_scale = value.scale; - valueSerializer.writeNumber(value_scale); - const auto value_pinchCenterX = value.pinchCenterX; - valueSerializer.writeNumber(value_pinchCenterX); - const auto value_pinchCenterY = value.pinchCenterY; - valueSerializer.writeNumber(value_pinchCenterY); - const auto value_velocityX = value.velocityX; - valueSerializer.writeNumber(value_velocityX); - const auto value_velocityY = value.velocityY; - valueSerializer.writeNumber(value_velocityY); - const auto value_velocity = value.velocity; - valueSerializer.writeNumber(value_velocity); + valueSerializer.writePointer(value.ptr); } void writeLocalizedBarrierStyle(Ark_LocalizedBarrierStyle value) { @@ -63850,77 +64071,77 @@ class Serializer : public SerializerBase { const auto value_refreshing = value.refreshing; valueSerializer.writeBoolean(value_refreshing); const auto value_offset = value.offset; - Ark_Int32 value_offset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; value_offset_type = runtimeType(value_offset); valueSerializer.writeInt8(value_offset_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_offset_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { const auto value_offset_value = value_offset.value; - Ark_Int32 value_offset_value_type = ARK_RUNTIME_UNDEFINED; + 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_offset_value_0 = value_offset_value.value0; valueSerializer.writeNumber(value_offset_value_0); } - else if (((value_offset_value_type == 0))) { + else if (((value_offset_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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_friction_type = INTEROP_RUNTIME_UNDEFINED; value_friction_type = runtimeType(value_friction); valueSerializer.writeInt8(value_friction_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_friction_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_friction_type)) { const auto value_friction_value = value_friction.value; - Ark_Int32 value_friction_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_promptText = value.promptText; - Ark_Int32 value_promptText_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_promptText_type = INTEROP_RUNTIME_UNDEFINED; value_promptText_type = runtimeType(value_promptText); valueSerializer.writeInt8(value_promptText_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_promptText_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_promptText_type)) { const auto value_promptText_value = value_promptText.value; - Ark_Int32 value_promptText_value_type = ARK_RUNTIME_UNDEFINED; + 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_promptText_value_0 = value_promptText_value.value0; valueSerializer.writeString(value_promptText_value_0); } - else if (((value_promptText_value_type == 0))) { + else if (((value_promptText_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_builder = value.builder; - Ark_Int32 value_builder_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_builder_type = INTEROP_RUNTIME_UNDEFINED; value_builder_type = runtimeType(value_builder); valueSerializer.writeInt8(value_builder_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_refreshingContent_type = INTEROP_RUNTIME_UNDEFINED; value_refreshingContent_type = runtimeType(value_refreshingContent); valueSerializer.writeInt8(value_refreshingContent_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_refreshingContent_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_refreshingContent_type)) { const auto value_refreshingContent_value = value_refreshingContent.value; valueSerializer.writeComponentContent(value_refreshingContent_value); } @@ -63933,10 +64154,10 @@ class Serializer : public SerializerBase { const auto value_foregroundUri = value.foregroundUri; valueSerializer.writeString(value_foregroundUri); const auto value_secondaryUri = value.secondaryUri; - Ark_Int32 value_secondaryUri_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_secondaryUri_type = INTEROP_RUNTIME_UNDEFINED; value_secondaryUri_type = runtimeType(value_secondaryUri); valueSerializer.writeInt8(value_secondaryUri_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_secondaryUri_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_secondaryUri_type)) { const auto value_secondaryUri_value = value_secondaryUri.value; valueSerializer.writeString(value_secondaryUri_value); } @@ -63947,10 +64168,10 @@ class Serializer : public SerializerBase { const auto value_rating = value.rating; valueSerializer.writeNumber(value_rating); const auto value_indicator = value.indicator; - Ark_Int32 value_indicator_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_indicator_type = INTEROP_RUNTIME_UNDEFINED; value_indicator_type = runtimeType(value_indicator); valueSerializer.writeInt8(value_indicator_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_indicator_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_indicator_type)) { const auto value_indicator_value = value_indicator.value; valueSerializer.writeBoolean(value_indicator_value); } @@ -63959,87 +64180,87 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_checkedBackgroundColor = value.checkedBackgroundColor; - Ark_Int32 value_checkedBackgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_checkedBackgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_checkedBackgroundColor_type = runtimeType(value_checkedBackgroundColor); valueSerializer.writeInt8(value_checkedBackgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_checkedBackgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_checkedBackgroundColor_type)) { const auto value_checkedBackgroundColor_value = value_checkedBackgroundColor.value; - Ark_Int32 value_checkedBackgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_checkedBackgroundColor_value_0 = value_checkedBackgroundColor_value.value0; valueSerializer.writeInt32(static_cast(value_checkedBackgroundColor_value_0)); } - else if (((value_checkedBackgroundColor_value_type == 0))) { + else if (((value_checkedBackgroundColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_checkedBackgroundColor_value_1 = value_checkedBackgroundColor_value.value1; valueSerializer.writeNumber(value_checkedBackgroundColor_value_1); } - else if (((value_checkedBackgroundColor_value_type == 0))) { + else if (((value_checkedBackgroundColor_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 == 0))) { + 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_uncheckedBorderColor = value.uncheckedBorderColor; - Ark_Int32 value_uncheckedBorderColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_uncheckedBorderColor_type = INTEROP_RUNTIME_UNDEFINED; value_uncheckedBorderColor_type = runtimeType(value_uncheckedBorderColor); valueSerializer.writeInt8(value_uncheckedBorderColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_uncheckedBorderColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_uncheckedBorderColor_type)) { const auto value_uncheckedBorderColor_value = value_uncheckedBorderColor.value; - Ark_Int32 value_uncheckedBorderColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_uncheckedBorderColor_value_0 = value_uncheckedBorderColor_value.value0; valueSerializer.writeInt32(static_cast(value_uncheckedBorderColor_value_0)); } - else if (((value_uncheckedBorderColor_value_type == 0))) { + else if (((value_uncheckedBorderColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_uncheckedBorderColor_value_1 = value_uncheckedBorderColor_value.value1; valueSerializer.writeNumber(value_uncheckedBorderColor_value_1); } - else if (((value_uncheckedBorderColor_value_type == 0))) { + else if (((value_uncheckedBorderColor_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 == 0))) { + 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_indicatorColor = value.indicatorColor; - Ark_Int32 value_indicatorColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_indicatorColor_type = INTEROP_RUNTIME_UNDEFINED; value_indicatorColor_type = runtimeType(value_indicatorColor); valueSerializer.writeInt8(value_indicatorColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_indicatorColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_indicatorColor_type)) { const auto value_indicatorColor_value = value_indicatorColor.value; - Ark_Int32 value_indicatorColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_indicatorColor_value_0 = value_indicatorColor_value.value0; valueSerializer.writeInt32(static_cast(value_indicatorColor_value_0)); } - else if (((value_indicatorColor_value_type == 0))) { + else if (((value_indicatorColor_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 == 0))) { + 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 == 0))) { + 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); @@ -64054,18 +64275,18 @@ class Serializer : public SerializerBase { const auto value_value = value.value; valueSerializer.writeString(value_value); const auto value_indicatorType = value.indicatorType; - Ark_Int32 value_indicatorType_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_indicatorType_type = INTEROP_RUNTIME_UNDEFINED; value_indicatorType_type = runtimeType(value_indicatorType); valueSerializer.writeInt8(value_indicatorType_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_indicatorType_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_indicatorType_type)) { const auto value_indicatorType_value = value_indicatorType.value; valueSerializer.writeInt32(static_cast(value_indicatorType_value)); } const auto value_indicatorBuilder = value.indicatorBuilder; - Ark_Int32 value_indicatorBuilder_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_indicatorBuilder_type = INTEROP_RUNTIME_UNDEFINED; value_indicatorBuilder_type = runtimeType(value_indicatorBuilder); valueSerializer.writeInt8(value_indicatorBuilder_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_indicatorBuilder_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_indicatorBuilder_type)) { const auto value_indicatorBuilder_value = value_indicatorBuilder.value; valueSerializer.writeCallbackResource(value_indicatorBuilder_value.resource); valueSerializer.writePointer(reinterpret_cast(value_indicatorBuilder_value.call)); @@ -64078,26 +64299,26 @@ class Serializer : public SerializerBase { const auto value_value = value.value; valueSerializer.writeNumber(value_value); const auto value_total = value.total; - Ark_Int32 value_total_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_total_type = INTEROP_RUNTIME_UNDEFINED; value_total_type = runtimeType(value_total); valueSerializer.writeInt8(value_total_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_total_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_total_type)) { const auto value_total_value = value_total.value; valueSerializer.writeNumber(value_total_value); } const auto value_style = value.style; - Ark_Int32 value_style_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; value_style_type = runtimeType(value_style); valueSerializer.writeInt8(value_style_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_type = value.type; - Ark_Int32 value_type_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_type_type = INTEROP_RUNTIME_UNDEFINED; value_type_type = runtimeType(value_type); valueSerializer.writeInt8(value_type_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -64106,80 +64327,88 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); } } const auto value_height = value.height; - Ark_Int32 value_height_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; value_height_type = runtimeType(value_height); valueSerializer.writeInt8(value_height_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_height_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { const auto value_height_value = value_height.value; - Ark_Int32 value_height_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); } } } + void writePoint(Ark_Point value) + { + Serializer& valueSerializer = *this; + const auto value_x = value.x; + valueSerializer.writeNumber(value_x); + const auto value_y = value.y; + valueSerializer.writeNumber(value_y); + } void writePolygonOptions(Ark_PolygonOptions value) { Serializer& valueSerializer = *this; const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); } } const auto value_height = value.height; - Ark_Int32 value_height_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; value_height_type = runtimeType(value_height); valueSerializer.writeInt8(value_height_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_height_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { const auto value_height_value = value_height.value; - Ark_Int32 value_height_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); @@ -64200,7 +64429,7 @@ class Serializer : public SerializerBase { const auto value_template = value.template_; valueSerializer.writePluginComponentTemplate(value_template); const auto value_data = value.data; - valueSerializer.writeCustomObject("Any", value_data); + valueSerializer.writeString(value_data); } void writePatternLockController(Ark_PatternLockController value) { @@ -64211,48 +64440,48 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = ARK_RUNTIME_UNDEFINED; + 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_width_value_type == 0))) { + 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_height = value.height; - Ark_Int32 value_height_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; value_height_type = runtimeType(value_height); valueSerializer.writeInt8(value_height_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_height_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { const auto value_height_value = value_height.value; - Ark_Int32 value_height_value_type = ARK_RUNTIME_UNDEFINED; + 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_height_value_type == 0))) { + 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_commands = value.commands; - Ark_Int32 value_commands_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_commands_type = INTEROP_RUNTIME_UNDEFINED; value_commands_type = runtimeType(value_commands); valueSerializer.writeInt8(value_commands_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_commands_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_commands_type)) { const auto value_commands_value = value_commands.value; valueSerializer.writeString(value_commands_value); } @@ -64261,26 +64490,26 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_icon = value.icon; - Ark_Int32 value_icon_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; value_icon_type = runtimeType(value_icon); valueSerializer.writeInt8(value_icon_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_icon_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { const auto value_icon_value = value_icon.value; valueSerializer.writeInt32(static_cast(value_icon_value)); } const auto value_text = value.text; - Ark_Int32 value_text_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_text_type = INTEROP_RUNTIME_UNDEFINED; value_text_type = runtimeType(value_text); valueSerializer.writeInt8(value_text_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_text_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_text_type)) { const auto value_text_value = value_text.value; valueSerializer.writeInt32(static_cast(value_text_value)); } const auto value_buttonType = value.buttonType; - Ark_Int32 value_buttonType_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_buttonType_type = INTEROP_RUNTIME_UNDEFINED; value_buttonType_type = runtimeType(value_buttonType); valueSerializer.writeInt8(value_buttonType_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_buttonType_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_buttonType_type)) { const auto value_buttonType_value = value_buttonType.value; valueSerializer.writeInt32(static_cast(value_buttonType_value)); } @@ -64294,10 +64523,10 @@ class Serializer : public SerializerBase { const auto value_name = value.name; valueSerializer.writeString(value_name); const auto value_param = value.param; - Ark_Int32 value_param_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_param_type = INTEROP_RUNTIME_UNDEFINED; value_param_type = runtimeType(value_param); valueSerializer.writeInt8(value_param_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_param_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_param_type)) { const auto value_param_value = value_param.value; valueSerializer.writeCustomObject("Any", value_param_value); } @@ -64306,87 +64535,87 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_value = value.value; - Ark_Int32 value_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; value_icon_type = runtimeType(value_icon); valueSerializer.writeInt8(value_icon_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_icon_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { const auto value_icon_value = value_icon.value; - Ark_Int32 value_icon_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_symbolIcon = value.symbolIcon; - Ark_Int32 value_symbolIcon_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_symbolIcon_type = INTEROP_RUNTIME_UNDEFINED; value_symbolIcon_type = runtimeType(value_symbolIcon); valueSerializer.writeInt8(value_symbolIcon_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_action_type = INTEROP_RUNTIME_UNDEFINED; value_action_type = runtimeType(value_action); valueSerializer.writeInt8(value_action_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_status = value.status; - Ark_Int32 value_status_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_status_type = INTEROP_RUNTIME_UNDEFINED; value_status_type = runtimeType(value_status); valueSerializer.writeInt8(value_status_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_activeIcon = value.activeIcon; - Ark_Int32 value_activeIcon_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_activeIcon_type = INTEROP_RUNTIME_UNDEFINED; value_activeIcon_type = runtimeType(value_activeIcon); valueSerializer.writeInt8(value_activeIcon_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_activeIcon_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_activeIcon_type)) { const auto value_activeIcon_value = value_activeIcon.value; - Ark_Int32 value_activeIcon_value_type = ARK_RUNTIME_UNDEFINED; + 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_activeIcon_value_0 = value_activeIcon_value.value0; valueSerializer.writeString(value_activeIcon_value_0); } - else if (((value_activeIcon_value_type == 0))) { + else if (((value_activeIcon_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_activeSymbolIcon = value.activeSymbolIcon; - Ark_Int32 value_activeSymbolIcon_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_activeSymbolIcon_type = INTEROP_RUNTIME_UNDEFINED; value_activeSymbolIcon_type = runtimeType(value_activeSymbolIcon); valueSerializer.writeInt8(value_activeSymbolIcon_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_activeSymbolIcon_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_activeSymbolIcon_type)) { const auto value_activeSymbolIcon_value = value_activeSymbolIcon.value; valueSerializer.writeSymbolGlyphModifier(value_activeSymbolIcon_value); } @@ -64395,58 +64624,58 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_value = value.value; - Ark_Int32 value_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; value_icon_type = runtimeType(value_icon); valueSerializer.writeInt8(value_icon_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_icon_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { const auto value_icon_value = value_icon.value; - Ark_Int32 value_icon_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_symbolIcon = value.symbolIcon; - Ark_Int32 value_symbolIcon_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_symbolIcon_type = INTEROP_RUNTIME_UNDEFINED; value_symbolIcon_type = runtimeType(value_symbolIcon); valueSerializer.writeInt8(value_symbolIcon_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_isEnabled_type = INTEROP_RUNTIME_UNDEFINED; value_isEnabled_type = runtimeType(value_isEnabled); valueSerializer.writeInt8(value_isEnabled_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_action_type = INTEROP_RUNTIME_UNDEFINED; value_action_type = runtimeType(value_action); valueSerializer.writeInt8(value_action_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); @@ -64465,30 +64694,30 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_header = value.header; - Ark_Int32 value_header_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_header_type = INTEROP_RUNTIME_UNDEFINED; value_header_type = runtimeType(value_header); valueSerializer.writeInt8(value_header_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_header_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_header_type)) { const auto value_header_value = value_header.value; - Ark_Int32 value_header_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 1))) { + if (((value_header_value_type == 0)) || ((value_header_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_header_value_0 = value_header_value.value0; - Ark_Int32 value_header_value_0_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_header_value_type == 0))) { + else if (((value_header_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_header_value_1 = value_header_value.value1; valueSerializer.writeCallbackResource(value_header_value_1.resource); @@ -64497,30 +64726,30 @@ class Serializer : public SerializerBase { } } const auto value_footer = value.footer; - Ark_Int32 value_footer_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_footer_type = INTEROP_RUNTIME_UNDEFINED; value_footer_type = runtimeType(value_footer); valueSerializer.writeInt8(value_footer_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_footer_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_footer_type)) { const auto value_footer_value = value_footer.value; - Ark_Int32 value_footer_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 1))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 == 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_footer_value_type == 0))) { + 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); @@ -64535,26 +64764,26 @@ class Serializer : public SerializerBase { const auto value_start = value.start; valueSerializer.writeBoolean(value_start); const auto value_step = value.step; - Ark_Int32 value_step_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_step_type = INTEROP_RUNTIME_UNDEFINED; value_step_type = runtimeType(value_step); valueSerializer.writeInt8(value_step_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_loop_type = INTEROP_RUNTIME_UNDEFINED; value_loop_type = runtimeType(value_loop); valueSerializer.writeInt8(value_loop_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fromStart_type = INTEROP_RUNTIME_UNDEFINED; value_fromStart_type = runtimeType(value_fromStart); valueSerializer.writeInt8(value_fromStart_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fromStart_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fromStart_type)) { const auto value_fromStart_value = value_fromStart.value; valueSerializer.writeBoolean(value_fromStart_value); } @@ -64565,26 +64794,26 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_icon = value.icon; - Ark_Int32 value_icon_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; value_icon_type = runtimeType(value_icon); valueSerializer.writeInt8(value_icon_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_icon_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { const auto value_icon_value = value_icon.value; valueSerializer.writeInt32(static_cast(value_icon_value)); } const auto value_text = value.text; - Ark_Int32 value_text_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_text_type = INTEROP_RUNTIME_UNDEFINED; value_text_type = runtimeType(value_text); valueSerializer.writeInt8(value_text_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_text_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_text_type)) { const auto value_text_value = value_text.value; valueSerializer.writeInt32(static_cast(value_text_value)); } const auto value_buttonType = value.buttonType; - Ark_Int32 value_buttonType_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_buttonType_type = INTEROP_RUNTIME_UNDEFINED; value_buttonType_type = runtimeType(value_buttonType); valueSerializer.writeInt8(value_buttonType_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_buttonType_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_buttonType_type)) { const auto value_buttonType_value = value_buttonType.value; valueSerializer.writeInt32(static_cast(value_buttonType_value)); } @@ -64593,65 +64822,65 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_header = value.header; - Ark_Int32 value_header_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_header_type = INTEROP_RUNTIME_UNDEFINED; value_header_type = runtimeType(value_header); valueSerializer.writeInt8(value_header_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_header_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_header_type)) { const auto value_header_value = value_header.value; valueSerializer.writeCallbackResource(value_header_value.resource); valueSerializer.writePointer(reinterpret_cast(value_header_value.call)); valueSerializer.writePointer(reinterpret_cast(value_header_value.callSync)); } const auto value_headerComponent = value.headerComponent; - Ark_Int32 value_headerComponent_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_headerComponent_type = INTEROP_RUNTIME_UNDEFINED; value_headerComponent_type = runtimeType(value_headerComponent); valueSerializer.writeInt8(value_headerComponent_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_headerComponent_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_headerComponent_type)) { const auto value_headerComponent_value = value_headerComponent.value; valueSerializer.writeComponentContent(value_headerComponent_value); } const auto value_footer = value.footer; - Ark_Int32 value_footer_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_footer_type = INTEROP_RUNTIME_UNDEFINED; value_footer_type = runtimeType(value_footer); valueSerializer.writeInt8(value_footer_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_footer_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_footer_type)) { const auto value_footer_value = value_footer.value; valueSerializer.writeCallbackResource(value_footer_value.resource); valueSerializer.writePointer(reinterpret_cast(value_footer_value.call)); valueSerializer.writePointer(reinterpret_cast(value_footer_value.callSync)); } const auto value_footerComponent = value.footerComponent; - Ark_Int32 value_footerComponent_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_footerComponent_type = INTEROP_RUNTIME_UNDEFINED; value_footerComponent_type = runtimeType(value_footerComponent); valueSerializer.writeInt8(value_footerComponent_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_footerComponent_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_footerComponent_type)) { const auto value_footerComponent_value = value_footerComponent.value; valueSerializer.writeComponentContent(value_footerComponent_value); } const auto value_space = value.space; - Ark_Int32 value_space_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_space_type = INTEROP_RUNTIME_UNDEFINED; value_space_type = runtimeType(value_space); valueSerializer.writeInt8(value_space_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_space_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_space_type)) { const auto value_space_value = value_space.value; - Ark_Int32 value_space_value_type = ARK_RUNTIME_UNDEFINED; + 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_space_value_0 = value_space_value.value0; valueSerializer.writeNumber(value_space_value_0); } - else if (((value_space_value_type == 0))) { + else if (((value_space_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_space_value_1 = value_space_value.value1; valueSerializer.writeString(value_space_value_1); } } const auto value_style = value.style; - Ark_Int32 value_style_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; value_style_type = runtimeType(value_style); valueSerializer.writeInt8(value_style_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -64660,12 +64889,12 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_start = value.start; - Ark_Int32 value_start_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; value_start_type = runtimeType(value_start); valueSerializer.writeInt8(value_start_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_start_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { const auto value_start_value = value_start.value; - Ark_Int32 value_start_value_type = ARK_RUNTIME_UNDEFINED; + 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); @@ -64674,19 +64903,19 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_start_value_0.call)); valueSerializer.writePointer(reinterpret_cast(value_start_value_0.callSync)); } - else if (((value_start_value_type == 0))) { + else if (((value_start_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_start_value_1 = value_start_value.value1; valueSerializer.writeSwipeActionItem(value_start_value_1); } } const auto value_end = value.end; - Ark_Int32 value_end_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; value_end_type = runtimeType(value_end); valueSerializer.writeInt8(value_end_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_end_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { const auto value_end_value = value_end.value; - Ark_Int32 value_end_value_type = ARK_RUNTIME_UNDEFINED; + 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); @@ -64695,25 +64924,25 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_end_value_0.call)); valueSerializer.writePointer(reinterpret_cast(value_end_value_0.callSync)); } - else if (((value_end_value_type == 0))) { + else if (((value_end_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_end_value_1 = value_end_value.value1; valueSerializer.writeSwipeActionItem(value_end_value_1); } } const auto value_edgeEffect = value.edgeEffect; - Ark_Int32 value_edgeEffect_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_edgeEffect_type = INTEROP_RUNTIME_UNDEFINED; value_edgeEffect_type = runtimeType(value_edgeEffect); valueSerializer.writeInt8(value_edgeEffect_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_onOffsetChange = value.onOffsetChange; - Ark_Int32 value_onOffsetChange_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onOffsetChange_type = INTEROP_RUNTIME_UNDEFINED; value_onOffsetChange_type = runtimeType(value_onOffsetChange); valueSerializer.writeInt8(value_onOffsetChange_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onOffsetChange_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onOffsetChange_type)) { const auto value_onOffsetChange_value = value_onOffsetChange.value; valueSerializer.writeCallbackResource(value_onOffsetChange_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onOffsetChange_value.call)); @@ -64724,10 +64953,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_style = value.style; - Ark_Int32 value_style_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; value_style_type = runtimeType(value_style); valueSerializer.writeInt8(value_style_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -64738,18 +64967,18 @@ class Serializer : public SerializerBase { const auto value_index = value.index; valueSerializer.writeNumber(value_index); const auto value_itemGroupArea = value.itemGroupArea; - Ark_Int32 value_itemGroupArea_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_itemGroupArea_type = INTEROP_RUNTIME_UNDEFINED; value_itemGroupArea_type = runtimeType(value_itemGroupArea); valueSerializer.writeInt8(value_itemGroupArea_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_itemGroupArea_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_itemGroupArea_type)) { const auto value_itemGroupArea_value = value_itemGroupArea.value; valueSerializer.writeInt32(static_cast(value_itemGroupArea_value)); } const auto value_itemIndexInGroup = value.itemIndexInGroup; - Ark_Int32 value_itemIndexInGroup_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_itemIndexInGroup_type = INTEROP_RUNTIME_UNDEFINED; value_itemIndexInGroup_type = runtimeType(value_itemIndexInGroup); valueSerializer.writeInt8(value_itemIndexInGroup_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_itemIndexInGroup_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_itemIndexInGroup_type)) { const auto value_itemIndexInGroup_value = value_itemIndexInGroup.value; valueSerializer.writeNumber(value_itemIndexInGroup_value); } @@ -64767,42 +64996,42 @@ class Serializer : public SerializerBase { const auto value_maxSpace = value.maxSpace; valueSerializer.writeLength(value_maxSpace); const auto value_conductivity = value.conductivity; - Ark_Int32 value_conductivity_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_conductivity_type = INTEROP_RUNTIME_UNDEFINED; value_conductivity_type = runtimeType(value_conductivity); valueSerializer.writeInt8(value_conductivity_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_intensity_type = INTEROP_RUNTIME_UNDEFINED; value_intensity_type = runtimeType(value_intensity); valueSerializer.writeInt8(value_intensity_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_edgeEffect_type = INTEROP_RUNTIME_UNDEFINED; value_edgeEffect_type = runtimeType(value_edgeEffect); valueSerializer.writeInt8(value_edgeEffect_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_stiffness_type = INTEROP_RUNTIME_UNDEFINED; value_stiffness_type = runtimeType(value_stiffness); valueSerializer.writeInt8(value_stiffness_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_damping_type = INTEROP_RUNTIME_UNDEFINED; value_damping_type = runtimeType(value_damping); valueSerializer.writeInt8(value_damping_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_damping_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_damping_type)) { const auto value_damping_value = value_damping.value; valueSerializer.writeNumber(value_damping_value); } @@ -64811,37 +65040,37 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_initialIndex = value.initialIndex; - Ark_Int32 value_initialIndex_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_initialIndex_type = INTEROP_RUNTIME_UNDEFINED; value_initialIndex_type = runtimeType(value_initialIndex); valueSerializer.writeInt8(value_initialIndex_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_initialIndex_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_initialIndex_type)) { const auto value_initialIndex_value = value_initialIndex.value; valueSerializer.writeNumber(value_initialIndex_value); } const auto value_space = value.space; - Ark_Int32 value_space_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_space_type = INTEROP_RUNTIME_UNDEFINED; value_space_type = runtimeType(value_space); valueSerializer.writeInt8(value_space_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_space_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_space_type)) { const auto value_space_value = value_space.value; - Ark_Int32 value_space_value_type = ARK_RUNTIME_UNDEFINED; + 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_space_value_0 = value_space_value.value0; valueSerializer.writeNumber(value_space_value_0); } - else if (((value_space_value_type == 0))) { + else if (((value_space_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_space_value_1 = value_space_value.value1; valueSerializer.writeString(value_space_value_1); } } const auto value_scroller = value.scroller; - Ark_Int32 value_scroller_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_scroller_type = INTEROP_RUNTIME_UNDEFINED; value_scroller_type = runtimeType(value_scroller); valueSerializer.writeInt8(value_scroller_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_scroller_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scroller_type)) { const auto value_scroller_value = value_scroller.value; valueSerializer.writeScroller(value_scroller_value); } @@ -64850,38 +65079,38 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); } } const auto value_height = value.height; - Ark_Int32 value_height_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; value_height_type = runtimeType(value_height); valueSerializer.writeInt8(value_height_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_height_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { const auto value_height_value = value_height.value; - Ark_Int32 value_height_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); @@ -64914,104 +65143,104 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_src = value.src; - Ark_Int32 value_src_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = ARK_RUNTIME_UNDEFINED; + 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_width_value_type == 0))) { + 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_height = value.height; - Ark_Int32 value_height_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; value_height_type = runtimeType(value_height); valueSerializer.writeInt8(value_height_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_height_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { const auto value_height_value = value_height.value; - Ark_Int32 value_height_value_type = ARK_RUNTIME_UNDEFINED; + 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_height_value_type == 0))) { + 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_top = value.top; - Ark_Int32 value_top_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; value_top_type = runtimeType(value_top); valueSerializer.writeInt8(value_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_top_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { const auto value_top_value = value_top.value; - Ark_Int32 value_top_value_type = ARK_RUNTIME_UNDEFINED; + 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_top_value_type == 0))) { + 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_left = value.left; - Ark_Int32 value_left_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_left_type = INTEROP_RUNTIME_UNDEFINED; value_left_type = runtimeType(value_left); valueSerializer.writeInt8(value_left_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_left_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_left_type)) { const auto value_left_value = value_left.value; - Ark_Int32 value_left_value_type = ARK_RUNTIME_UNDEFINED; + 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.writeNumber(value_left_value_0); } - else if (((value_left_value_type == 0))) { + else if (((value_left_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_duration = value.duration; - Ark_Int32 value_duration_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_duration_type = INTEROP_RUNTIME_UNDEFINED; value_duration_type = runtimeType(value_duration); valueSerializer.writeInt8(value_duration_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_duration_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_duration_type)) { const auto value_duration_value = value_duration.value; valueSerializer.writeNumber(value_duration_value); } @@ -65044,56 +65273,56 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_gutter = value.gutter; - Ark_Int32 value_gutter_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_gutter_type = INTEROP_RUNTIME_UNDEFINED; value_gutter_type = runtimeType(value_gutter); valueSerializer.writeInt8(value_gutter_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_gutter_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_gutter_type)) { const auto value_gutter_value = value_gutter.value; - Ark_Int32 value_gutter_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_gutter_value_type = INTEROP_RUNTIME_UNDEFINED; value_gutter_value_type = value_gutter_value.selector; - if (((value_gutter_value_type == 0)) || ((value_gutter_value_type == 1)) || ((value_gutter_value_type == 2))) { + if (((value_gutter_value_type == 0)) || ((value_gutter_value_type == 0)) || ((value_gutter_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_gutter_value_0 = value_gutter_value.value0; valueSerializer.writeLength(value_gutter_value_0); } - else if (((value_gutter_value_type == 0))) { + else if (((value_gutter_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_gutter_value_1 = value_gutter_value.value1; valueSerializer.writeGutterOption(value_gutter_value_1); } } const auto value_columns = value.columns; - Ark_Int32 value_columns_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_columns_type = INTEROP_RUNTIME_UNDEFINED; value_columns_type = runtimeType(value_columns); valueSerializer.writeInt8(value_columns_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_columns_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_columns_type)) { const auto value_columns_value = value_columns.value; - Ark_Int32 value_columns_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_columns_value_type = INTEROP_RUNTIME_UNDEFINED; value_columns_value_type = value_columns_value.selector; if (((value_columns_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_columns_value_0 = value_columns_value.value0; valueSerializer.writeNumber(value_columns_value_0); } - else if (((value_columns_value_type == 0))) { + else if (((value_columns_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_columns_value_1 = value_columns_value.value1; valueSerializer.writeGridRowColumnOption(value_columns_value_1); } } const auto value_breakpoints = value.breakpoints; - Ark_Int32 value_breakpoints_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_breakpoints_type = INTEROP_RUNTIME_UNDEFINED; value_breakpoints_type = runtimeType(value_breakpoints); valueSerializer.writeInt8(value_breakpoints_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_breakpoints_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_breakpoints_type)) { const auto value_breakpoints_value = value_breakpoints.value; valueSerializer.writeBreakPoints(value_breakpoints_value); } const auto value_direction = value.direction; - Ark_Int32 value_direction_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_direction_type = INTEROP_RUNTIME_UNDEFINED; value_direction_type = runtimeType(value_direction); valueSerializer.writeInt8(value_direction_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -65102,65 +65331,65 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_columns = value.columns; - Ark_Int32 value_columns_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_columns_type = INTEROP_RUNTIME_UNDEFINED; value_columns_type = runtimeType(value_columns); valueSerializer.writeInt8(value_columns_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_columns_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_columns_type)) { const auto value_columns_value = value_columns.value; - Ark_Int32 value_columns_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_columns_value_type = INTEROP_RUNTIME_UNDEFINED; value_columns_value_type = value_columns_value.selector; if (((value_columns_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_columns_value_0 = value_columns_value.value0; valueSerializer.writeNumber(value_columns_value_0); } - else if (((value_columns_value_type == 0))) { + else if (((value_columns_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_columns_value_1 = value_columns_value.value1; valueSerializer.writeString(value_columns_value_1); } } const auto value_sizeType = value.sizeType; - Ark_Int32 value_sizeType_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_sizeType_type = INTEROP_RUNTIME_UNDEFINED; value_sizeType_type = runtimeType(value_sizeType); valueSerializer.writeInt8(value_sizeType_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_sizeType_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_sizeType_type)) { const auto value_sizeType_value = value_sizeType.value; valueSerializer.writeInt32(static_cast(value_sizeType_value)); } const auto value_gutter = value.gutter; - Ark_Int32 value_gutter_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_gutter_type = INTEROP_RUNTIME_UNDEFINED; value_gutter_type = runtimeType(value_gutter); valueSerializer.writeInt8(value_gutter_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_gutter_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_gutter_type)) { const auto value_gutter_value = value_gutter.value; - Ark_Int32 value_gutter_value_type = ARK_RUNTIME_UNDEFINED; + 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_gutter_value_0 = value_gutter_value.value0; valueSerializer.writeNumber(value_gutter_value_0); } - else if (((value_gutter_value_type == 0))) { + else if (((value_gutter_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_gutter_value_1 = value_gutter_value.value1; valueSerializer.writeString(value_gutter_value_1); } } const auto value_margin = value.margin; - Ark_Int32 value_margin_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_margin_type = INTEROP_RUNTIME_UNDEFINED; value_margin_type = runtimeType(value_margin); valueSerializer.writeInt8(value_margin_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_margin_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_margin_type)) { const auto value_margin_value = value_margin.value; - Ark_Int32 value_margin_value_type = ARK_RUNTIME_UNDEFINED; + 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.writeNumber(value_margin_value_0); } - else if (((value_margin_value_type == 0))) { + else if (((value_margin_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_margin_value_1 = value_margin_value.value1; valueSerializer.writeString(value_margin_value_1); @@ -65171,57 +65400,57 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_span = value.span; - Ark_Int32 value_span_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_span_type = INTEROP_RUNTIME_UNDEFINED; value_span_type = runtimeType(value_span); valueSerializer.writeInt8(value_span_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_span_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_span_type)) { const auto value_span_value = value_span.value; - Ark_Int32 value_span_value_type = ARK_RUNTIME_UNDEFINED; + 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_span_value_type == 0))) { + 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_offset = value.offset; - Ark_Int32 value_offset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; value_offset_type = runtimeType(value_offset); valueSerializer.writeInt8(value_offset_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_offset_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offset_type)) { const auto value_offset_value = value_offset.value; - Ark_Int32 value_offset_value_type = ARK_RUNTIME_UNDEFINED; + 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_offset_value_0 = value_offset_value.value0; valueSerializer.writeNumber(value_offset_value_0); } - else if (((value_offset_value_type == 0))) { + else if (((value_offset_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_order = value.order; - Ark_Int32 value_order_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_order_type = INTEROP_RUNTIME_UNDEFINED; value_order_type = runtimeType(value_order); valueSerializer.writeInt8(value_order_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_order_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_order_type)) { const auto value_order_value = value_order.value; - Ark_Int32 value_order_value_type = ARK_RUNTIME_UNDEFINED; + 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_order_value_type == 0))) { + 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); @@ -65232,10 +65461,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_style = value.style; - Ark_Int32 value_style_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; value_style_type = runtimeType(value_style); valueSerializer.writeInt8(value_style_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -65265,10 +65494,10 @@ class Serializer : public SerializerBase { const auto value_regularSize_1 = value_regularSize.value1; valueSerializer.writeNumber(value_regularSize_1); const auto value_irregularIndexes = value.irregularIndexes; - Ark_Int32 value_irregularIndexes_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_irregularIndexes_type = INTEROP_RUNTIME_UNDEFINED; value_irregularIndexes_type = runtimeType(value_irregularIndexes); valueSerializer.writeInt8(value_irregularIndexes_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_irregularIndexes_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_irregularIndexes_type)) { const auto value_irregularIndexes_value = value_irregularIndexes.value; valueSerializer.writeInt32(value_irregularIndexes_value.length); for (int i = 0; i < value_irregularIndexes_value.length; i++) { @@ -65277,20 +65506,20 @@ class Serializer : public SerializerBase { } } const auto value_onGetIrregularSizeByIndex = value.onGetIrregularSizeByIndex; - Ark_Int32 value_onGetIrregularSizeByIndex_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onGetIrregularSizeByIndex_type = INTEROP_RUNTIME_UNDEFINED; value_onGetIrregularSizeByIndex_type = runtimeType(value_onGetIrregularSizeByIndex); valueSerializer.writeInt8(value_onGetIrregularSizeByIndex_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onGetIrregularSizeByIndex_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onGetIrregularSizeByIndex_type)) { const auto value_onGetIrregularSizeByIndex_value = value_onGetIrregularSizeByIndex.value; valueSerializer.writeCallbackResource(value_onGetIrregularSizeByIndex_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onGetIrregularSizeByIndex_value.call)); valueSerializer.writePointer(reinterpret_cast(value_onGetIrregularSizeByIndex_value.callSync)); } const auto value_onGetRectByIndex = value.onGetRectByIndex; - Ark_Int32 value_onGetRectByIndex_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onGetRectByIndex_type = INTEROP_RUNTIME_UNDEFINED; value_onGetRectByIndex_type = runtimeType(value_onGetRectByIndex); valueSerializer.writeInt8(value_onGetRectByIndex_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_onGetRectByIndex_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_onGetRectByIndex_type)) { const auto value_onGetRectByIndex_value = value_onGetRectByIndex.value; valueSerializer.writeCallbackResource(value_onGetRectByIndex_value.resource); valueSerializer.writePointer(reinterpret_cast(value_onGetRectByIndex_value.call)); @@ -65301,29 +65530,29 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_icon = value.icon; - Ark_Int32 value_icon_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; value_icon_type = runtimeType(value_icon); valueSerializer.writeInt8(value_icon_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_icon_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { const auto value_icon_value = value_icon.value; - Ark_Int32 value_icon_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_space = value.space; - Ark_Int32 value_space_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_space_type = INTEROP_RUNTIME_UNDEFINED; value_space_type = runtimeType(value_space); valueSerializer.writeInt8(value_space_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_space_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_space_type)) { const auto value_space_value = value_space.value; valueSerializer.writeLength(value_space_value); } @@ -65332,57 +65561,57 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_radius = value.radius; - Ark_Int32 value_radius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; value_radius_type = runtimeType(value_radius); valueSerializer.writeInt8(value_radius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_radius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_type)) { const auto value_radius_value = value_radius.value; - Ark_Int32 value_radius_value_type = ARK_RUNTIME_UNDEFINED; + 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_radius_value_0 = value_radius_value.value0; valueSerializer.writeNumber(value_radius_value_0); } - else if (((value_radius_value_type == 0))) { + else if (((value_radius_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_offsetX = value.offsetX; - Ark_Int32 value_offsetX_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offsetX_type = INTEROP_RUNTIME_UNDEFINED; value_offsetX_type = runtimeType(value_offsetX); valueSerializer.writeInt8(value_offsetX_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_offsetX_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offsetX_type)) { const auto value_offsetX_value = value_offsetX.value; - Ark_Int32 value_offsetX_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_offsetY = value.offsetY; - Ark_Int32 value_offsetY_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offsetY_type = INTEROP_RUNTIME_UNDEFINED; value_offsetY_type = runtimeType(value_offsetY); valueSerializer.writeInt8(value_offsetY_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_offsetY_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offsetY_type)) { const auto value_offsetY_value = value_offsetY.value; - Ark_Int32 value_offsetY_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); @@ -65395,18 +65624,18 @@ class Serializer : public SerializerBase { const auto value_value = value.value; valueSerializer.writeNumber(value_value); const auto value_min = value.min; - Ark_Int32 value_min_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_min_type = INTEROP_RUNTIME_UNDEFINED; value_min_type = runtimeType(value_min); valueSerializer.writeInt8(value_min_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_min_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_min_type)) { const auto value_min_value = value_min.value; valueSerializer.writeNumber(value_min_value); } const auto value_max = value.max; - Ark_Int32 value_max_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_max_type = INTEROP_RUNTIME_UNDEFINED; value_max_type = runtimeType(value_max); valueSerializer.writeInt8(value_max_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_max_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_max_type)) { const auto value_max_value = value_max.value; valueSerializer.writeNumber(value_max_value); } @@ -65417,42 +65646,42 @@ class Serializer : public SerializerBase { const auto value_action = value.action; valueSerializer.writeString(value_action); const auto value_moduleName = value.moduleName; - Ark_Int32 value_moduleName_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_moduleName_type = INTEROP_RUNTIME_UNDEFINED; value_moduleName_type = runtimeType(value_moduleName); valueSerializer.writeInt8(value_moduleName_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_moduleName_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_moduleName_type)) { const auto value_moduleName_value = value_moduleName.value; valueSerializer.writeString(value_moduleName_value); } const auto value_bundleName = value.bundleName; - Ark_Int32 value_bundleName_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_bundleName_type = INTEROP_RUNTIME_UNDEFINED; value_bundleName_type = runtimeType(value_bundleName); valueSerializer.writeInt8(value_bundleName_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_bundleName_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bundleName_type)) { const auto value_bundleName_value = value_bundleName.value; valueSerializer.writeString(value_bundleName_value); } const auto value_abilityName = value.abilityName; - Ark_Int32 value_abilityName_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_abilityName_type = INTEROP_RUNTIME_UNDEFINED; value_abilityName_type = runtimeType(value_abilityName); valueSerializer.writeInt8(value_abilityName_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_abilityName_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_abilityName_type)) { const auto value_abilityName_value = value_abilityName.value; valueSerializer.writeString(value_abilityName_value); } const auto value_uri = value.uri; - Ark_Int32 value_uri_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_uri_type = INTEROP_RUNTIME_UNDEFINED; value_uri_type = runtimeType(value_uri); valueSerializer.writeInt8(value_uri_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_uri_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_uri_type)) { const auto value_uri_value = value_uri.value; valueSerializer.writeString(value_uri_value); } const auto value_params = value.params; - Ark_Int32 value_params_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_params_type = INTEROP_RUNTIME_UNDEFINED; value_params_type = runtimeType(value_params); valueSerializer.writeInt8(value_params_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_params_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_params_type)) { const auto value_params_value = value_params.value; valueSerializer.writeCustomObject("Object", value_params_value); } @@ -65469,14 +65698,14 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_id = value.id; - Ark_Int32 value_id_type = ARK_RUNTIME_UNDEFINED; + 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.writeNumber(value_id_0); } - else if (((value_id_type == 0))) { + else if (((value_id_type == 1))) { valueSerializer.writeInt8(1); const auto value_id_1 = value_id.value1; valueSerializer.writeString(value_id_1); @@ -65490,42 +65719,42 @@ class Serializer : public SerializerBase { const auto value_module = value.module; valueSerializer.writeString(value_module); const auto value_dimension = value.dimension; - Ark_Int32 value_dimension_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_dimension_type = INTEROP_RUNTIME_UNDEFINED; value_dimension_type = runtimeType(value_dimension); valueSerializer.writeInt8(value_dimension_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_temporary_type = INTEROP_RUNTIME_UNDEFINED; value_temporary_type = runtimeType(value_temporary); valueSerializer.writeInt8(value_temporary_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_want_type = INTEROP_RUNTIME_UNDEFINED; value_want_type = runtimeType(value_want); valueSerializer.writeInt8(value_want_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_renderingMode_type = INTEROP_RUNTIME_UNDEFINED; value_renderingMode_type = runtimeType(value_renderingMode); valueSerializer.writeInt8(value_renderingMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_shape_type = INTEROP_RUNTIME_UNDEFINED; value_shape_type = runtimeType(value_shape); valueSerializer.writeInt8(value_shape_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -65552,10 +65781,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_upperItems = value.upperItems; - Ark_Int32 value_upperItems_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_upperItems_type = INTEROP_RUNTIME_UNDEFINED; value_upperItems_type = runtimeType(value_upperItems); valueSerializer.writeInt8(value_upperItems_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_upperItems_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_upperItems_type)) { const auto value_upperItems_value = value_upperItems.value; valueSerializer.writeInt32(value_upperItems_value.length); for (int i = 0; i < value_upperItems_value.length; i++) { @@ -65568,50 +65797,50 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_direction = value.direction; - Ark_Int32 value_direction_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_direction_type = INTEROP_RUNTIME_UNDEFINED; value_direction_type = runtimeType(value_direction); valueSerializer.writeInt8(value_direction_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_wrap_type = INTEROP_RUNTIME_UNDEFINED; value_wrap_type = runtimeType(value_wrap); valueSerializer.writeInt8(value_wrap_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_justifyContent_type = INTEROP_RUNTIME_UNDEFINED; value_justifyContent_type = runtimeType(value_justifyContent); valueSerializer.writeInt8(value_justifyContent_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_alignItems_type = INTEROP_RUNTIME_UNDEFINED; value_alignItems_type = runtimeType(value_alignItems); valueSerializer.writeInt8(value_alignItems_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_alignContent_type = INTEROP_RUNTIME_UNDEFINED; value_alignContent_type = runtimeType(value_alignContent); valueSerializer.writeInt8(value_alignContent_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_space_type = INTEROP_RUNTIME_UNDEFINED; value_space_type = runtimeType(value_space); valueSerializer.writeInt8(value_space_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_space_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_space_type)) { const auto value_space_value = value_space.value; valueSerializer.writeFlexSpaceOptions(value_space_value); } @@ -65622,10 +65851,10 @@ class Serializer : public SerializerBase { const auto value_code = value.code; valueSerializer.writeNumber(value_code); const auto value_want = value.want; - Ark_Int32 value_want_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_want_type = INTEROP_RUNTIME_UNDEFINED; value_want_type = runtimeType(value_want); valueSerializer.writeInt8(value_want_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_want_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_want_type)) { const auto value_want_value = value_want.value; valueSerializer.writeWant(value_want_value); } @@ -65634,38 +65863,38 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); } } const auto value_height = value.height; - Ark_Int32 value_height_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; value_height_type = runtimeType(value_height); valueSerializer.writeInt8(value_height_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_height_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { const auto value_height_value = value_height.value; - Ark_Int32 value_height_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); @@ -65676,26 +65905,26 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_year = value.year; - Ark_Int32 value_year_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_year_type = INTEROP_RUNTIME_UNDEFINED; value_year_type = runtimeType(value_year); valueSerializer.writeInt8(value_year_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_year_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_year_type)) { const auto value_year_value = value_year.value; valueSerializer.writeNumber(value_year_value); } const auto value_month = value.month; - Ark_Int32 value_month_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_month_type = INTEROP_RUNTIME_UNDEFINED; value_month_type = runtimeType(value_month); valueSerializer.writeInt8(value_month_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_month_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_month_type)) { const auto value_month_value = value_month.value; valueSerializer.writeNumber(value_month_value); } const auto value_day = value.day; - Ark_Int32 value_day_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_day_type = INTEROP_RUNTIME_UNDEFINED; value_day_type = runtimeType(value_day); valueSerializer.writeInt8(value_day_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_day_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_day_type)) { const auto value_day_value = value_day.value; valueSerializer.writeNumber(value_day_value); } @@ -65704,26 +65933,26 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_start = value.start; - Ark_Int32 value_start_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; value_start_type = runtimeType(value_start); valueSerializer.writeInt8(value_start_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; value_end_type = runtimeType(value_end); valueSerializer.writeInt8(value_end_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_selected = value.selected; - Ark_Int32 value_selected_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_selected_type = INTEROP_RUNTIME_UNDEFINED; value_selected_type = runtimeType(value_selected); valueSerializer.writeInt8(value_selected_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_selected_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_selected_type)) { const auto value_selected_value = value_selected.value; valueSerializer.writeInt64(value_selected_value); } @@ -65732,100 +65961,100 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_radius = value.radius; - Ark_Int32 value_radius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; value_radius_type = runtimeType(value_radius); valueSerializer.writeInt8(value_radius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_radius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_type)) { const auto value_radius_value = value_radius.value; - Ark_Int32 value_radius_value_type = ARK_RUNTIME_UNDEFINED; + 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_radius_value_0 = value_radius_value.value0; valueSerializer.writeNumber(value_radius_value_0); } - else if (((value_radius_value_type == 0))) { + else if (((value_radius_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_offsetX = value.offsetX; - Ark_Int32 value_offsetX_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offsetX_type = INTEROP_RUNTIME_UNDEFINED; value_offsetX_type = runtimeType(value_offsetX); valueSerializer.writeInt8(value_offsetX_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_offsetX_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offsetX_type)) { const auto value_offsetX_value = value_offsetX.value; - Ark_Int32 value_offsetX_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_offsetY = value.offsetY; - Ark_Int32 value_offsetY_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offsetY_type = INTEROP_RUNTIME_UNDEFINED; value_offsetY_type = runtimeType(value_offsetY); valueSerializer.writeInt8(value_offsetY_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_offsetY_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offsetY_type)) { const auto value_offsetY_value = value_offsetY.value; - Ark_Int32 value_offsetY_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_colors = value.colors; - Ark_Int32 value_colors_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_colors_type = INTEROP_RUNTIME_UNDEFINED; value_colors_type = runtimeType(value_colors); valueSerializer.writeInt8(value_colors_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_data_panel value_colors_value_element = value_colors_value.array[i]; - Ark_Int32 value_colors_value_element_type = ARK_RUNTIME_UNDEFINED; + 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 == 1)) || ((value_colors_value_element_type == 2)) || ((value_colors_value_element_type == 3))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 == 0))) { + 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_data_panel(value_colors_value_element_1); @@ -65843,18 +66072,18 @@ class Serializer : public SerializerBase { valueSerializer.writeNumber(value_values_element); } const auto value_max = value.max; - Ark_Int32 value_max_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_max_type = INTEROP_RUNTIME_UNDEFINED; value_max_type = runtimeType(value_max); valueSerializer.writeInt8(value_max_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_max_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_max_type)) { const auto value_max_value = value_max.value; valueSerializer.writeNumber(value_max_value); } const auto value_type = value.type; - Ark_Int32 value_type_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_type_type = INTEROP_RUNTIME_UNDEFINED; value_type_type = runtimeType(value_type); valueSerializer.writeInt8(value_type_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -65865,36 +66094,36 @@ class Serializer : public SerializerBase { const auto value_builder = value.builder; valueSerializer.writeCustomObject("Any", value_builder); const auto value_cancel = value.cancel; - Ark_Int32 value_cancel_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_cancel_type = INTEROP_RUNTIME_UNDEFINED; value_cancel_type = runtimeType(value_cancel); valueSerializer.writeInt8(value_cancel_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_cancel_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_cancel_type)) { const auto value_cancel_value = value_cancel.value; valueSerializer.writeCallbackResource(value_cancel_value.resource); valueSerializer.writePointer(reinterpret_cast(value_cancel_value.call)); valueSerializer.writePointer(reinterpret_cast(value_cancel_value.callSync)); } const auto value_autoCancel = value.autoCancel; - Ark_Int32 value_autoCancel_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_autoCancel_type = INTEROP_RUNTIME_UNDEFINED; value_autoCancel_type = runtimeType(value_autoCancel); valueSerializer.writeInt8(value_autoCancel_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_autoCancel_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_autoCancel_type)) { const auto value_autoCancel_value = value_autoCancel.value; valueSerializer.writeBoolean(value_autoCancel_value); } const auto value_alignment = value.alignment; - Ark_Int32 value_alignment_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_alignment_type = INTEROP_RUNTIME_UNDEFINED; value_alignment_type = runtimeType(value_alignment); valueSerializer.writeInt8(value_alignment_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_alignment_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_alignment_type)) { const auto value_alignment_value = value_alignment.value; valueSerializer.writeInt32(static_cast(value_alignment_value)); } const auto value_offset = value.offset; - Ark_Int32 value_offset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offset_type = INTEROP_RUNTIME_UNDEFINED; value_offset_type = runtimeType(value_offset); valueSerializer.writeInt8(value_offset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_offset_value_dx); @@ -65902,393 +66131,393 @@ class Serializer : public SerializerBase { valueSerializer.writeLength(value_offset_value_dy); } const auto value_customStyle = value.customStyle; - Ark_Int32 value_customStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_customStyle_type = INTEROP_RUNTIME_UNDEFINED; value_customStyle_type = runtimeType(value_customStyle); valueSerializer.writeInt8(value_customStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_customStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_customStyle_type)) { const auto value_customStyle_value = value_customStyle.value; valueSerializer.writeBoolean(value_customStyle_value); } const auto value_gridCount = value.gridCount; - Ark_Int32 value_gridCount_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_gridCount_type = INTEROP_RUNTIME_UNDEFINED; value_gridCount_type = runtimeType(value_gridCount); valueSerializer.writeInt8(value_gridCount_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_gridCount_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_gridCount_type)) { const auto value_gridCount_value = value_gridCount.value; valueSerializer.writeNumber(value_gridCount_value); } const auto value_maskColor = value.maskColor; - Ark_Int32 value_maskColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_maskColor_type = INTEROP_RUNTIME_UNDEFINED; value_maskColor_type = runtimeType(value_maskColor); valueSerializer.writeInt8(value_maskColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_maskColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maskColor_type)) { const auto value_maskColor_value = value_maskColor.value; - Ark_Int32 value_maskColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_maskRect = value.maskRect; - Ark_Int32 value_maskRect_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_maskRect_type = INTEROP_RUNTIME_UNDEFINED; value_maskRect_type = runtimeType(value_maskRect); valueSerializer.writeInt8(value_maskRect_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_maskRect_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maskRect_type)) { const auto value_maskRect_value = value_maskRect.value; valueSerializer.writeRectangle(value_maskRect_value); } const auto value_openAnimation = value.openAnimation; - Ark_Int32 value_openAnimation_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_openAnimation_type = INTEROP_RUNTIME_UNDEFINED; value_openAnimation_type = runtimeType(value_openAnimation); valueSerializer.writeInt8(value_openAnimation_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_openAnimation_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_openAnimation_type)) { const auto value_openAnimation_value = value_openAnimation.value; valueSerializer.writeAnimateParam(value_openAnimation_value); } const auto value_closeAnimation = value.closeAnimation; - Ark_Int32 value_closeAnimation_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_closeAnimation_type = INTEROP_RUNTIME_UNDEFINED; value_closeAnimation_type = runtimeType(value_closeAnimation); valueSerializer.writeInt8(value_closeAnimation_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_closeAnimation_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_closeAnimation_type)) { const auto value_closeAnimation_value = value_closeAnimation.value; valueSerializer.writeAnimateParam(value_closeAnimation_value); } const auto value_showInSubWindow = value.showInSubWindow; - Ark_Int32 value_showInSubWindow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_showInSubWindow_type = INTEROP_RUNTIME_UNDEFINED; value_showInSubWindow_type = runtimeType(value_showInSubWindow); valueSerializer.writeInt8(value_showInSubWindow_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); valueSerializer.writeInt8(value_backgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_cornerRadius = value.cornerRadius; - Ark_Int32 value_cornerRadius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_cornerRadius_type = INTEROP_RUNTIME_UNDEFINED; value_cornerRadius_type = runtimeType(value_cornerRadius); valueSerializer.writeInt8(value_cornerRadius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_cornerRadius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_cornerRadius_type)) { const auto value_cornerRadius_value = value_cornerRadius.value; - Ark_Int32 value_cornerRadius_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_cornerRadius_value_type = INTEROP_RUNTIME_UNDEFINED; value_cornerRadius_value_type = value_cornerRadius_value.selector; - if (((value_cornerRadius_value_type == 0)) || ((value_cornerRadius_value_type == 1)) || ((value_cornerRadius_value_type == 2))) { + if (((value_cornerRadius_value_type == 0)) || ((value_cornerRadius_value_type == 0)) || ((value_cornerRadius_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_cornerRadius_value_0 = value_cornerRadius_value.value0; valueSerializer.writeLength(value_cornerRadius_value_0); } - else if (((value_cornerRadius_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_cornerRadius_value_1_topLeft_value); } const auto value_cornerRadius_value_1_topRight = value_cornerRadius_value_1.topRight; - Ark_Int32 value_cornerRadius_value_1_topRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_cornerRadius_value_1_topRight_value); } const auto value_cornerRadius_value_1_bottomLeft = value_cornerRadius_value_1.bottomLeft; - Ark_Int32 value_cornerRadius_value_1_bottomLeft_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_cornerRadius_value_1_bottomLeft_value); } const auto value_cornerRadius_value_1_bottomRight = value_cornerRadius_value_1.bottomRight; - Ark_Int32 value_cornerRadius_value_1_bottomRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_cornerRadius_value_1_bottomRight_value); } } } const auto value_isModal = value.isModal; - Ark_Int32 value_isModal_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_isModal_type = INTEROP_RUNTIME_UNDEFINED; value_isModal_type = runtimeType(value_isModal); valueSerializer.writeInt8(value_isModal_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_isModal_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_isModal_type)) { const auto value_isModal_value = value_isModal.value; valueSerializer.writeBoolean(value_isModal_value); } const auto value_onWillDismiss = value.onWillDismiss; - Ark_Int32 value_onWillDismiss_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_onWillDismiss_type = INTEROP_RUNTIME_UNDEFINED; value_onWillDismiss_type = runtimeType(value_onWillDismiss); valueSerializer.writeInt8(value_onWillDismiss_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; valueSerializer.writeLength(value_width_value); } const auto value_height = value.height; - Ark_Int32 value_height_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; value_height_type = runtimeType(value_height); valueSerializer.writeInt8(value_height_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_height_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { const auto value_height_value = value_height.value; valueSerializer.writeLength(value_height_value); } const auto value_borderWidth = value.borderWidth; - Ark_Int32 value_borderWidth_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderWidth_type = INTEROP_RUNTIME_UNDEFINED; value_borderWidth_type = runtimeType(value_borderWidth); valueSerializer.writeInt8(value_borderWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderWidth_type)) { const auto value_borderWidth_value = value_borderWidth.value; - Ark_Int32 value_borderWidth_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 1)) || ((value_borderWidth_value_type == 2))) { + if (((value_borderWidth_value_type == 0)) || ((value_borderWidth_value_type == 0)) || ((value_borderWidth_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_borderWidth_value_0 = value_borderWidth_value.value0; valueSerializer.writeLength(value_borderWidth_value_0); } - else if (((value_borderWidth_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_top_value); } const auto value_borderWidth_value_1_right = value_borderWidth_value_1.right; - Ark_Int32 value_borderWidth_value_1_right_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_right_value); } const auto value_borderWidth_value_1_bottom = value_borderWidth_value_1.bottom; - Ark_Int32 value_borderWidth_value_1_bottom_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_bottom_value); } const auto value_borderWidth_value_1_left = value_borderWidth_value_1.left; - Ark_Int32 value_borderWidth_value_1_left_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_borderWidth_value_1_left_value); } } } const auto value_borderColor = value.borderColor; - Ark_Int32 value_borderColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderColor_type = INTEROP_RUNTIME_UNDEFINED; value_borderColor_type = runtimeType(value_borderColor); valueSerializer.writeInt8(value_borderColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderColor_type)) { const auto value_borderColor_value = value_borderColor.value; - Ark_Int32 value_borderColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 1)) || ((value_borderColor_value_type == 2)) || ((value_borderColor_value_type == 3))) { + 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_borderColor_value_0 = value_borderColor_value.value0; - Ark_Int32 value_borderColor_value_0_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_borderColor_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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); @@ -66297,103 +66526,103 @@ class Serializer : public SerializerBase { } } const auto value_borderStyle = value.borderStyle; - Ark_Int32 value_borderStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_type = runtimeType(value_borderStyle); valueSerializer.writeInt8(value_borderStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_type)) { const auto value_borderStyle_value = value_borderStyle.value; - Ark_Int32 value_borderStyle_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_borderStyle_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_borderStyle_value_1 = value_borderStyle_value.value1; const auto value_borderStyle_value_1_top = value_borderStyle_value_1.top; - Ark_Int32 value_borderStyle_value_1_top_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_top_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_top_type = runtimeType(value_borderStyle_value_1_top); valueSerializer.writeInt8(value_borderStyle_value_1_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_top_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_top_type)) { const auto value_borderStyle_value_1_top_value = value_borderStyle_value_1_top.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_top_value)); } const auto value_borderStyle_value_1_right = value_borderStyle_value_1.right; - Ark_Int32 value_borderStyle_value_1_right_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_right_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_right_type = runtimeType(value_borderStyle_value_1_right); valueSerializer.writeInt8(value_borderStyle_value_1_right_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_right_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_right_type)) { const auto value_borderStyle_value_1_right_value = value_borderStyle_value_1_right.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_right_value)); } const auto value_borderStyle_value_1_bottom = value_borderStyle_value_1.bottom; - Ark_Int32 value_borderStyle_value_1_bottom_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_bottom_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_bottom_type = runtimeType(value_borderStyle_value_1_bottom); valueSerializer.writeInt8(value_borderStyle_value_1_bottom_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_bottom_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_bottom_type)) { const auto value_borderStyle_value_1_bottom_value = value_borderStyle_value_1_bottom.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_bottom_value)); } const auto value_borderStyle_value_1_left = value_borderStyle_value_1.left; - Ark_Int32 value_borderStyle_value_1_left_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_borderStyle_value_1_left_type = INTEROP_RUNTIME_UNDEFINED; value_borderStyle_value_1_left_type = runtimeType(value_borderStyle_value_1_left); valueSerializer.writeInt8(value_borderStyle_value_1_left_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_left_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_borderStyle_value_1_left_type)) { const auto value_borderStyle_value_1_left_value = value_borderStyle_value_1_left.value; valueSerializer.writeInt32(static_cast(value_borderStyle_value_1_left_value)); } } } const auto value_shadow = value.shadow; - Ark_Int32 value_shadow_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_shadow_type = INTEROP_RUNTIME_UNDEFINED; value_shadow_type = runtimeType(value_shadow); valueSerializer.writeInt8(value_shadow_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_shadow_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_shadow_type)) { const auto value_shadow_value = value_shadow.value; - Ark_Int32 value_shadow_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_shadow_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_backgroundBlurStyle = value.backgroundBlurStyle; - Ark_Int32 value_backgroundBlurStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundBlurStyle_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundBlurStyle_type = runtimeType(value_backgroundBlurStyle); valueSerializer.writeInt8(value_backgroundBlurStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_keyboardAvoidMode = value.keyboardAvoidMode; - Ark_Int32 value_keyboardAvoidMode_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_keyboardAvoidMode_type = INTEROP_RUNTIME_UNDEFINED; value_keyboardAvoidMode_type = runtimeType(value_keyboardAvoidMode); valueSerializer.writeInt8(value_keyboardAvoidMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enableHoverMode_type = INTEROP_RUNTIME_UNDEFINED; value_enableHoverMode_type = runtimeType(value_enableHoverMode); valueSerializer.writeInt8(value_enableHoverMode_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_hoverModeArea_type = INTEROP_RUNTIME_UNDEFINED; value_hoverModeArea_type = runtimeType(value_hoverModeArea); valueSerializer.writeInt8(value_hoverModeArea_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -66402,40 +66631,40 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_scene = value.scene; - Ark_Int32 value_scene_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_scene_type = INTEROP_RUNTIME_UNDEFINED; value_scene_type = runtimeType(value_scene); valueSerializer.writeInt8(value_scene_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_scene_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scene_type)) { const auto value_scene_value = value_scene.value; - Ark_Int32 value_scene_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 1))) { + if (((value_scene_value_type == 0)) || ((value_scene_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_scene_value_0 = value_scene_value.value0; - Ark_Int32 value_scene_value_0_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_scene_value_type == 0))) { + else if (((value_scene_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_modelType = value.modelType; - Ark_Int32 value_modelType_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_modelType_type = INTEROP_RUNTIME_UNDEFINED; value_modelType_type = runtimeType(value_modelType); valueSerializer.writeInt8(value_modelType_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -66488,50 +66717,50 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_value = value.value; - Ark_Int32 value_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; value_icon_type = runtimeType(value_icon); valueSerializer.writeInt8(value_icon_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_icon_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { const auto value_icon_value = value_icon.value; - Ark_Int32 value_icon_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_symbolIcon = value.symbolIcon; - Ark_Int32 value_symbolIcon_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_symbolIcon_type = INTEROP_RUNTIME_UNDEFINED; value_symbolIcon_type = runtimeType(value_symbolIcon); valueSerializer.writeInt8(value_symbolIcon_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enabled_type = INTEROP_RUNTIME_UNDEFINED; value_enabled_type = runtimeType(value_enabled); valueSerializer.writeInt8(value_enabled_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_enabled_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_enabled_type)) { const auto value_enabled_value = value_enabled.value; valueSerializer.writeBoolean(value_enabled_value); } @@ -66576,59 +66805,16 @@ class Serializer : public SerializerBase { void writeBaseGestureEvent(Ark_BaseGestureEvent value) { Serializer& valueSerializer = *this; - const auto value_target = value.target; - valueSerializer.writeEventTarget(value_target); - const auto value_timestamp = value.timestamp; - valueSerializer.writeNumber(value_timestamp); - const auto value_source = value.source; - valueSerializer.writeInt32(static_cast(value_source)); - const auto value_axisHorizontal = value.axisHorizontal; - Ark_Int32 value_axisHorizontal_type = ARK_RUNTIME_UNDEFINED; - value_axisHorizontal_type = runtimeType(value_axisHorizontal); - valueSerializer.writeInt8(value_axisHorizontal_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_axisHorizontal_type)) { - const auto value_axisHorizontal_value = value_axisHorizontal.value; - valueSerializer.writeNumber(value_axisHorizontal_value); - } - const auto value_axisVertical = value.axisVertical; - Ark_Int32 value_axisVertical_type = ARK_RUNTIME_UNDEFINED; - value_axisVertical_type = runtimeType(value_axisVertical); - valueSerializer.writeInt8(value_axisVertical_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_axisVertical_type)) { - const auto value_axisVertical_value = value_axisVertical.value; - valueSerializer.writeNumber(value_axisVertical_value); - } - const auto value_pressure = value.pressure; - valueSerializer.writeNumber(value_pressure); - const auto value_tiltX = value.tiltX; - valueSerializer.writeNumber(value_tiltX); - const auto value_tiltY = value.tiltY; - valueSerializer.writeNumber(value_tiltY); - const auto value_sourceTool = value.sourceTool; - valueSerializer.writeInt32(static_cast(value_sourceTool)); - const auto value_deviceId = value.deviceId; - Ark_Int32 value_deviceId_type = ARK_RUNTIME_UNDEFINED; - value_deviceId_type = runtimeType(value_deviceId); - valueSerializer.writeInt8(value_deviceId_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_deviceId_type)) { - const auto value_deviceId_value = value_deviceId.value; - valueSerializer.writeNumber(value_deviceId_value); - } - const auto value_fingerList = value.fingerList; - valueSerializer.writeInt32(value_fingerList.length); - for (int i = 0; i < value_fingerList.length; i++) { - const Ark_FingerInfo value_fingerList_element = value_fingerList.array[i]; - valueSerializer.writeFingerInfo(value_fingerList_element); - } + valueSerializer.writePointer(value.ptr); } void writeGestureInfo(Ark_GestureInfo value) { Serializer& valueSerializer = *this; const auto value_tag = value.tag; - Ark_Int32 value_tag_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_tag_type = INTEROP_RUNTIME_UNDEFINED; value_tag_type = runtimeType(value_tag); valueSerializer.writeInt8(value_tag_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_tag_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_tag_type)) { const auto value_tag_value = value_tag.value; valueSerializer.writeString(value_tag_value); } @@ -66654,34 +66840,34 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_top = value.top; - Ark_Int32 value_top_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; value_top_type = runtimeType(value_top); valueSerializer.writeInt8(value_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_top_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { const auto value_top_value = value_top.value; valueSerializer.writeLength(value_top_value); } const auto value_bottom = value.bottom; - Ark_Int32 value_bottom_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; value_bottom_type = runtimeType(value_bottom); valueSerializer.writeInt8(value_bottom_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_bottom_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { const auto value_bottom_value = value_bottom.value; valueSerializer.writeLength(value_bottom_value); } const auto value_left = value.left; - Ark_Int32 value_left_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_left_type = INTEROP_RUNTIME_UNDEFINED; value_left_type = runtimeType(value_left); valueSerializer.writeInt8(value_left_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_left_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_left_type)) { const auto value_left_value = value_left.value; valueSerializer.writeLength(value_left_value); } const auto value_right = value.right; - Ark_Int32 value_right_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_right_type = INTEROP_RUNTIME_UNDEFINED; value_right_type = runtimeType(value_right); valueSerializer.writeInt8(value_right_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_right_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_right_type)) { const auto value_right_value = value_right.value; valueSerializer.writeLength(value_right_value); } @@ -66690,50 +66876,50 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_normal = value.normal; - Ark_Int32 value_normal_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_normal_type = INTEROP_RUNTIME_UNDEFINED; value_normal_type = runtimeType(value_normal); valueSerializer.writeInt8(value_normal_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_normal_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_normal_type)) { const auto value_normal_value = value_normal.value; valueSerializer.writeCustomObject("Any", value_normal_value); } const auto value_pressed = value.pressed; - Ark_Int32 value_pressed_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_pressed_type = INTEROP_RUNTIME_UNDEFINED; value_pressed_type = runtimeType(value_pressed); valueSerializer.writeInt8(value_pressed_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_pressed_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_pressed_type)) { const auto value_pressed_value = value_pressed.value; valueSerializer.writeCustomObject("Any", value_pressed_value); } const auto value_disabled = value.disabled; - Ark_Int32 value_disabled_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_disabled_type = INTEROP_RUNTIME_UNDEFINED; value_disabled_type = runtimeType(value_disabled); valueSerializer.writeInt8(value_disabled_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_disabled_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_disabled_type)) { const auto value_disabled_value = value_disabled.value; valueSerializer.writeCustomObject("Any", value_disabled_value); } const auto value_focused = value.focused; - Ark_Int32 value_focused_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_focused_type = INTEROP_RUNTIME_UNDEFINED; value_focused_type = runtimeType(value_focused); valueSerializer.writeInt8(value_focused_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_focused_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_focused_type)) { const auto value_focused_value = value_focused.value; valueSerializer.writeCustomObject("Any", value_focused_value); } const auto value_clicked = value.clicked; - Ark_Int32 value_clicked_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_clicked_type = INTEROP_RUNTIME_UNDEFINED; value_clicked_type = runtimeType(value_clicked); valueSerializer.writeInt8(value_clicked_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_clicked_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_clicked_type)) { const auto value_clicked_value = value_clicked.value; valueSerializer.writeCustomObject("Any", value_clicked_value); } const auto value_selected = value.selected; - Ark_Int32 value_selected_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_selected_type = INTEROP_RUNTIME_UNDEFINED; value_selected_type = runtimeType(value_selected); valueSerializer.writeInt8(value_selected_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_selected_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_selected_type)) { const auto value_selected_value = value_selected.value; valueSerializer.writeCustomObject("Object", value_selected_value); } @@ -66747,67 +66933,64 @@ class Serializer : public SerializerBase { void writeDragEvent(Ark_DragEvent value) { Serializer& valueSerializer = *this; - const auto value_dragBehavior = value.dragBehavior; - valueSerializer.writeInt32(static_cast(value_dragBehavior)); - const auto value_useCustomDropAnimation = value.useCustomDropAnimation; - valueSerializer.writeBoolean(value_useCustomDropAnimation); + valueSerializer.writePointer(value.ptr); } void writeLocalizedAlignRuleOptions(Ark_LocalizedAlignRuleOptions value) { Serializer& valueSerializer = *this; const auto value_start = value.start; - Ark_Int32 value_start_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; value_start_type = runtimeType(value_start); valueSerializer.writeInt8(value_start_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; value_end_type = runtimeType(value_end); valueSerializer.writeInt8(value_end_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_middle_type = INTEROP_RUNTIME_UNDEFINED; value_middle_type = runtimeType(value_middle); valueSerializer.writeInt8(value_middle_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; value_top_type = runtimeType(value_top); valueSerializer.writeInt8(value_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; value_bottom_type = runtimeType(value_bottom); valueSerializer.writeInt8(value_bottom_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_center_type = INTEROP_RUNTIME_UNDEFINED; value_center_type = runtimeType(value_center); valueSerializer.writeInt8(value_center_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_bias_type = INTEROP_RUNTIME_UNDEFINED; value_bias_type = runtimeType(value_bias); valueSerializer.writeInt8(value_bias_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_bias_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bias_type)) { const auto value_bias_value = value_bias.value; valueSerializer.writeBias(value_bias_value); } @@ -66816,10 +66999,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_left = value.left; - Ark_Int32 value_left_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_left_type = INTEROP_RUNTIME_UNDEFINED; value_left_type = runtimeType(value_left); valueSerializer.writeInt8(value_left_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_left_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_left_type)) { const auto value_left_value = value_left.value; const auto value_left_value_anchor = value_left_value.anchor; valueSerializer.writeString(value_left_value_anchor); @@ -66827,10 +67010,10 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(static_cast(value_left_value_align)); } const auto value_right = value.right; - Ark_Int32 value_right_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_right_type = INTEROP_RUNTIME_UNDEFINED; value_right_type = runtimeType(value_right); valueSerializer.writeInt8(value_right_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_right_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_right_type)) { const auto value_right_value = value_right.value; const auto value_right_value_anchor = value_right_value.anchor; valueSerializer.writeString(value_right_value_anchor); @@ -66838,10 +67021,10 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(static_cast(value_right_value_align)); } const auto value_middle = value.middle; - Ark_Int32 value_middle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_middle_type = INTEROP_RUNTIME_UNDEFINED; value_middle_type = runtimeType(value_middle); valueSerializer.writeInt8(value_middle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_middle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_middle_type)) { const auto value_middle_value = value_middle.value; const auto value_middle_value_anchor = value_middle_value.anchor; valueSerializer.writeString(value_middle_value_anchor); @@ -66849,10 +67032,10 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(static_cast(value_middle_value_align)); } const auto value_top = value.top; - Ark_Int32 value_top_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; value_top_type = runtimeType(value_top); valueSerializer.writeInt8(value_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_top_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_top_type)) { const auto value_top_value = value_top.value; const auto value_top_value_anchor = value_top_value.anchor; valueSerializer.writeString(value_top_value_anchor); @@ -66860,10 +67043,10 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(static_cast(value_top_value_align)); } const auto value_bottom = value.bottom; - Ark_Int32 value_bottom_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; value_bottom_type = runtimeType(value_bottom); valueSerializer.writeInt8(value_bottom_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_bottom_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bottom_type)) { const auto value_bottom_value = value_bottom.value; const auto value_bottom_value_anchor = value_bottom_value.anchor; valueSerializer.writeString(value_bottom_value_anchor); @@ -66871,10 +67054,10 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(static_cast(value_bottom_value_align)); } const auto value_center = value.center; - Ark_Int32 value_center_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_center_type = INTEROP_RUNTIME_UNDEFINED; value_center_type = runtimeType(value_center); valueSerializer.writeInt8(value_center_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_center_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_center_type)) { const auto value_center_value = value_center.value; const auto value_center_value_anchor = value_center_value.anchor; valueSerializer.writeString(value_center_value_anchor); @@ -66882,10 +67065,10 @@ class Serializer : public SerializerBase { valueSerializer.writeInt32(static_cast(value_center_value_align)); } const auto value_bias = value.bias; - Ark_Int32 value_bias_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_bias_type = INTEROP_RUNTIME_UNDEFINED; value_bias_type = runtimeType(value_bias); valueSerializer.writeInt8(value_bias_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_bias_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bias_type)) { const auto value_bias_value = value_bias.value; valueSerializer.writeBias(value_bias_value); } @@ -66902,26 +67085,26 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_margin = value.margin; - Ark_Int32 value_margin_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_margin_type = INTEROP_RUNTIME_UNDEFINED; value_margin_type = runtimeType(value_margin); valueSerializer.writeInt8(value_margin_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_strokeColor_type = INTEROP_RUNTIME_UNDEFINED; value_strokeColor_type = runtimeType(value_strokeColor); valueSerializer.writeInt8(value_strokeColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; value_strokeWidth_type = runtimeType(value_strokeWidth); valueSerializer.writeInt8(value_strokeWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { const auto value_strokeWidth_value = value_strokeWidth.value; valueSerializer.writeLengthMetrics(value_strokeWidth_value); } @@ -66929,535 +67112,331 @@ class Serializer : public SerializerBase { void writeKeyEvent(Ark_KeyEvent value) { Serializer& valueSerializer = *this; - const auto value_type = value.type; - valueSerializer.writeInt32(static_cast(value_type)); - const auto value_keyCode = value.keyCode; - valueSerializer.writeNumber(value_keyCode); - const auto value_keyText = value.keyText; - valueSerializer.writeString(value_keyText); - const auto value_keySource = value.keySource; - valueSerializer.writeInt32(static_cast(value_keySource)); - const auto value_deviceId = value.deviceId; - valueSerializer.writeNumber(value_deviceId); - const auto value_metaKey = value.metaKey; - valueSerializer.writeNumber(value_metaKey); - const auto value_timestamp = value.timestamp; - valueSerializer.writeNumber(value_timestamp); - 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)); - const auto value_intentionCode = value.intentionCode; - valueSerializer.writeIntentionCode(value_intentionCode); - const auto value_unicode = value.unicode; - Ark_Int32 value_unicode_type = ARK_RUNTIME_UNDEFINED; - value_unicode_type = runtimeType(value_unicode); - valueSerializer.writeInt8(value_unicode_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_unicode_type)) { - const auto value_unicode_value = value_unicode.value; - valueSerializer.writeNumber(value_unicode_value); - } - } - void writeTouchObject(Ark_TouchObject value) - { - Serializer& valueSerializer = *this; - const auto value_type = value.type; - valueSerializer.writeInt32(static_cast(value_type)); - const auto value_id = value.id; - valueSerializer.writeNumber(value_id); - const auto value_displayX = value.displayX; - valueSerializer.writeNumber(value_displayX); - const auto value_displayY = value.displayY; - valueSerializer.writeNumber(value_displayY); - const auto value_windowX = value.windowX; - valueSerializer.writeNumber(value_windowX); - const auto value_windowY = value.windowY; - valueSerializer.writeNumber(value_windowY); - const auto value_screenX = value.screenX; - valueSerializer.writeNumber(value_screenX); - const auto value_screenY = value.screenY; - valueSerializer.writeNumber(value_screenY); - const auto value_x = value.x; - valueSerializer.writeNumber(value_x); - const auto value_y = value.y; - valueSerializer.writeNumber(value_y); + valueSerializer.writePointer(value.ptr); } void writeMouseEvent(Ark_MouseEvent value) { Serializer& valueSerializer = *this; - const auto value_target = value.target; - valueSerializer.writeEventTarget(value_target); - const auto value_timestamp = value.timestamp; - valueSerializer.writeNumber(value_timestamp); - const auto value_source = value.source; - valueSerializer.writeInt32(static_cast(value_source)); - const auto value_axisHorizontal = value.axisHorizontal; - Ark_Int32 value_axisHorizontal_type = ARK_RUNTIME_UNDEFINED; - value_axisHorizontal_type = runtimeType(value_axisHorizontal); - valueSerializer.writeInt8(value_axisHorizontal_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_axisHorizontal_type)) { - const auto value_axisHorizontal_value = value_axisHorizontal.value; - valueSerializer.writeNumber(value_axisHorizontal_value); - } - const auto value_axisVertical = value.axisVertical; - Ark_Int32 value_axisVertical_type = ARK_RUNTIME_UNDEFINED; - value_axisVertical_type = runtimeType(value_axisVertical); - valueSerializer.writeInt8(value_axisVertical_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_axisVertical_type)) { - const auto value_axisVertical_value = value_axisVertical.value; - valueSerializer.writeNumber(value_axisVertical_value); - } - const auto value_pressure = value.pressure; - valueSerializer.writeNumber(value_pressure); - const auto value_tiltX = value.tiltX; - valueSerializer.writeNumber(value_tiltX); - const auto value_tiltY = value.tiltY; - valueSerializer.writeNumber(value_tiltY); - const auto value_sourceTool = value.sourceTool; - valueSerializer.writeInt32(static_cast(value_sourceTool)); - const auto value_deviceId = value.deviceId; - Ark_Int32 value_deviceId_type = ARK_RUNTIME_UNDEFINED; - value_deviceId_type = runtimeType(value_deviceId); - valueSerializer.writeInt8(value_deviceId_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_deviceId_type)) { - const auto value_deviceId_value = value_deviceId.value; - valueSerializer.writeNumber(value_deviceId_value); - } - const auto value_button = value.button; - valueSerializer.writeInt32(static_cast(value_button)); - const auto value_action = value.action; - valueSerializer.writeInt32(static_cast(value_action)); - const auto value_displayX = value.displayX; - valueSerializer.writeNumber(value_displayX); - const auto value_displayY = value.displayY; - valueSerializer.writeNumber(value_displayY); - const auto value_windowX = value.windowX; - valueSerializer.writeNumber(value_windowX); - const auto value_windowY = value.windowY; - valueSerializer.writeNumber(value_windowY); - const auto value_screenX = value.screenX; - valueSerializer.writeNumber(value_screenX); - const auto value_screenY = value.screenY; - valueSerializer.writeNumber(value_screenY); - const auto value_x = value.x; - valueSerializer.writeNumber(value_x); - const auto value_y = value.y; - valueSerializer.writeNumber(value_y); - 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)); + valueSerializer.writePointer(value.ptr); } void writeAccessibilityHoverEvent(Ark_AccessibilityHoverEvent value) { Serializer& valueSerializer = *this; - const auto value_target = value.target; - valueSerializer.writeEventTarget(value_target); - const auto value_timestamp = value.timestamp; - valueSerializer.writeNumber(value_timestamp); - const auto value_source = value.source; - valueSerializer.writeInt32(static_cast(value_source)); - const auto value_axisHorizontal = value.axisHorizontal; - Ark_Int32 value_axisHorizontal_type = ARK_RUNTIME_UNDEFINED; - value_axisHorizontal_type = runtimeType(value_axisHorizontal); - valueSerializer.writeInt8(value_axisHorizontal_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_axisHorizontal_type)) { - const auto value_axisHorizontal_value = value_axisHorizontal.value; - valueSerializer.writeNumber(value_axisHorizontal_value); - } - const auto value_axisVertical = value.axisVertical; - Ark_Int32 value_axisVertical_type = ARK_RUNTIME_UNDEFINED; - value_axisVertical_type = runtimeType(value_axisVertical); - valueSerializer.writeInt8(value_axisVertical_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_axisVertical_type)) { - const auto value_axisVertical_value = value_axisVertical.value; - valueSerializer.writeNumber(value_axisVertical_value); - } - const auto value_pressure = value.pressure; - valueSerializer.writeNumber(value_pressure); - const auto value_tiltX = value.tiltX; - valueSerializer.writeNumber(value_tiltX); - const auto value_tiltY = value.tiltY; - valueSerializer.writeNumber(value_tiltY); - const auto value_sourceTool = value.sourceTool; - valueSerializer.writeInt32(static_cast(value_sourceTool)); - const auto value_deviceId = value.deviceId; - Ark_Int32 value_deviceId_type = ARK_RUNTIME_UNDEFINED; - value_deviceId_type = runtimeType(value_deviceId); - valueSerializer.writeInt8(value_deviceId_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_deviceId_type)) { - const auto value_deviceId_value = value_deviceId.value; - valueSerializer.writeNumber(value_deviceId_value); - } - const auto value_type = value.type; - valueSerializer.writeInt32(static_cast(value_type)); - const auto value_x = value.x; - valueSerializer.writeNumber(value_x); - const auto value_y = value.y; - valueSerializer.writeNumber(value_y); - const auto value_displayX = value.displayX; - valueSerializer.writeNumber(value_displayX); - const auto value_displayY = value.displayY; - valueSerializer.writeNumber(value_displayY); - const auto value_windowX = value.windowX; - valueSerializer.writeNumber(value_windowX); - const auto value_windowY = value.windowY; - valueSerializer.writeNumber(value_windowY); + valueSerializer.writePointer(value.ptr); } void writeHoverEvent(Ark_HoverEvent value) { Serializer& valueSerializer = *this; - const auto value_target = value.target; - valueSerializer.writeEventTarget(value_target); - const auto value_timestamp = value.timestamp; - valueSerializer.writeNumber(value_timestamp); - const auto value_source = value.source; - valueSerializer.writeInt32(static_cast(value_source)); - const auto value_axisHorizontal = value.axisHorizontal; - Ark_Int32 value_axisHorizontal_type = ARK_RUNTIME_UNDEFINED; - value_axisHorizontal_type = runtimeType(value_axisHorizontal); - valueSerializer.writeInt8(value_axisHorizontal_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_axisHorizontal_type)) { - const auto value_axisHorizontal_value = value_axisHorizontal.value; - valueSerializer.writeNumber(value_axisHorizontal_value); - } - const auto value_axisVertical = value.axisVertical; - Ark_Int32 value_axisVertical_type = ARK_RUNTIME_UNDEFINED; - value_axisVertical_type = runtimeType(value_axisVertical); - valueSerializer.writeInt8(value_axisVertical_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_axisVertical_type)) { - const auto value_axisVertical_value = value_axisVertical.value; - valueSerializer.writeNumber(value_axisVertical_value); - } - const auto value_pressure = value.pressure; - valueSerializer.writeNumber(value_pressure); - const auto value_tiltX = value.tiltX; - valueSerializer.writeNumber(value_tiltX); - const auto value_tiltY = value.tiltY; - valueSerializer.writeNumber(value_tiltY); - const auto value_sourceTool = value.sourceTool; - valueSerializer.writeInt32(static_cast(value_sourceTool)); - const auto value_deviceId = value.deviceId; - Ark_Int32 value_deviceId_type = ARK_RUNTIME_UNDEFINED; - value_deviceId_type = runtimeType(value_deviceId); - valueSerializer.writeInt8(value_deviceId_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_deviceId_type)) { - const auto value_deviceId_value = value_deviceId.value; - valueSerializer.writeNumber(value_deviceId_value); - } - 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)); + valueSerializer.writePointer(value.ptr); } void writeOutlineOptions(Ark_OutlineOptions value) { Serializer& valueSerializer = *this; const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = ARK_RUNTIME_UNDEFINED; + 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; const auto value_width_value_0_top = value_width_value_0.top; - Ark_Int32 value_width_value_0_top_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_width_value_0_top_value); } const auto value_width_value_0_right = value_width_value_0.right; - Ark_Int32 value_width_value_0_right_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_width_value_0_right_value); } const auto value_width_value_0_bottom = value_width_value_0.bottom; - Ark_Int32 value_width_value_0_bottom_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_width_value_0_bottom_value); } const auto value_width_value_0_left = value_width_value_0.left; - Ark_Int32 value_width_value_0_left_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_width_value_0_left_value); } } - else if (((value_width_value_type == 0)) || ((value_width_value_type == 1)) || ((value_width_value_type == 2))) { + else if (((value_width_value_type == 1)) || ((value_width_value_type == 1)) || ((value_width_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_width_value_1 = value_width_value.value1; valueSerializer.writeLength(value_width_value_1); } } const auto value_color = value.color; - Ark_Int32 value_color_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = ARK_RUNTIME_UNDEFINED; + 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; const auto value_color_value_0_top = value_color_value_0.top; - Ark_Int32 value_color_value_0_top_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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); } } } - else if (((value_color_value_type == 0)) || ((value_color_value_type == 1)) || ((value_color_value_type == 2)) || ((value_color_value_type == 3))) { + 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); const auto value_color_value_1 = value_color_value.value1; - Ark_Int32 value_color_value_1_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_value_1_type = INTEROP_RUNTIME_UNDEFINED; value_color_value_1_type = value_color_value_1.selector; if (((value_color_value_1_type == 0))) { valueSerializer.writeInt8(0); const auto value_color_value_1_0 = value_color_value_1.value0; valueSerializer.writeInt32(static_cast(value_color_value_1_0)); } - else if (((value_color_value_1_type == 0))) { + else if (((value_color_value_1_type == 1))) { valueSerializer.writeInt8(1); const auto value_color_value_1_1 = value_color_value_1.value1; valueSerializer.writeNumber(value_color_value_1_1); } - else if (((value_color_value_1_type == 0))) { + else if (((value_color_value_1_type == 2))) { valueSerializer.writeInt8(2); const auto value_color_value_1_2 = value_color_value_1.value2; valueSerializer.writeString(value_color_value_1_2); } - else if (((value_color_value_1_type == 0))) { + else if (((value_color_value_1_type == 3))) { valueSerializer.writeInt8(3); const auto value_color_value_1_3 = value_color_value_1.value3; valueSerializer.writeResource(value_color_value_1_3); } } - else if (((value_color_value_type == 0))) { + else if (((value_color_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_color_value_2 = value_color_value.value2; valueSerializer.writeLocalizedEdgeColors(value_color_value_2); } } const auto value_radius = value.radius; - Ark_Int32 value_radius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; value_radius_type = runtimeType(value_radius); valueSerializer.writeInt8(value_radius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_radius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_type)) { const auto value_radius_value = value_radius.value; - Ark_Int32 value_radius_value_type = ARK_RUNTIME_UNDEFINED; + 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_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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_radius_value_0_topLeft_value); } const auto value_radius_value_0_topRight = value_radius_value_0.topRight; - Ark_Int32 value_radius_value_0_topRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_radius_value_0_topRight_value); } const auto value_radius_value_0_bottomLeft = value_radius_value_0.bottomLeft; - Ark_Int32 value_radius_value_0_bottomLeft_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_radius_value_0_bottomLeft_value); } const auto value_radius_value_0_bottomRight = value_radius_value_0.bottomRight; - Ark_Int32 value_radius_value_0_bottomRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_radius_value_0_bottomRight_value); } } - else if (((value_radius_value_type == 0)) || ((value_radius_value_type == 1)) || ((value_radius_value_type == 2))) { + else if (((value_radius_value_type == 1)) || ((value_radius_value_type == 1)) || ((value_radius_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_radius_value_1 = value_radius_value.value1; valueSerializer.writeLength(value_radius_value_1); } } const auto value_style = value.style; - Ark_Int32 value_style_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; value_style_type = runtimeType(value_style); valueSerializer.writeInt8(value_style_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_style_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_style_type)) { const auto value_style_value = value_style.value; - Ark_Int32 value_style_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_value_type = INTEROP_RUNTIME_UNDEFINED; value_style_value_type = value_style_value.selector; 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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)); } } - else if (((value_style_value_type == 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)); @@ -67468,207 +67447,207 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_slice = value.slice; - Ark_Int32 value_slice_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_slice_type = INTEROP_RUNTIME_UNDEFINED; value_slice_type = runtimeType(value_slice); valueSerializer.writeInt8(value_slice_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_slice_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_slice_type)) { const auto value_slice_value = value_slice.value; - Ark_Int32 value_slice_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_slice_value_type = INTEROP_RUNTIME_UNDEFINED; value_slice_value_type = value_slice_value.selector; - if (((value_slice_value_type == 0)) || ((value_slice_value_type == 1)) || ((value_slice_value_type == 2))) { + if (((value_slice_value_type == 0)) || ((value_slice_value_type == 0)) || ((value_slice_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_slice_value_0 = value_slice_value.value0; valueSerializer.writeLength(value_slice_value_0); } - else if (((value_slice_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_slice_value_1_top_value); } const auto value_slice_value_1_right = value_slice_value_1.right; - Ark_Int32 value_slice_value_1_right_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_slice_value_1_right_value); } const auto value_slice_value_1_bottom = value_slice_value_1.bottom; - Ark_Int32 value_slice_value_1_bottom_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_slice_value_1_bottom_value); } const auto value_slice_value_1_left = value_slice_value_1.left; - Ark_Int32 value_slice_value_1_left_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_slice_value_1_left_value); } } - else if (((value_slice_value_type == 0))) { + else if (((value_slice_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_slice_value_2 = value_slice_value.value2; valueSerializer.writeLocalizedEdgeWidths(value_slice_value_2); } } const auto value_repeat = value.repeat; - Ark_Int32 value_repeat_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_repeat_type = INTEROP_RUNTIME_UNDEFINED; value_repeat_type = runtimeType(value_repeat); valueSerializer.writeInt8(value_repeat_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } const auto value_source = value.source; - Ark_Int32 value_source_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_source_type = INTEROP_RUNTIME_UNDEFINED; value_source_type = runtimeType(value_source); valueSerializer.writeInt8(value_source_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_source_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_source_type)) { const auto value_source_value = value_source.value; - Ark_Int32 value_source_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_source_value_type = INTEROP_RUNTIME_UNDEFINED; value_source_value_type = value_source_value.selector; if (((value_source_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_source_value_0 = value_source_value.value0; valueSerializer.writeString(value_source_value_0); } - else if (((value_source_value_type == 0))) { + else if (((value_source_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_source_value_1 = value_source_value.value1; valueSerializer.writeResource(value_source_value_1); } - else if (((value_source_value_type == 0))) { + else if (((value_source_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_source_value_2 = value_source_value.value2; valueSerializer.writeLinearGradient_common(value_source_value_2); } } const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 1)) || ((value_width_value_type == 2))) { + 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; valueSerializer.writeLength(value_width_value_0); } - else if (((value_width_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_width_value_1_top_value); } const auto value_width_value_1_right = value_width_value_1.right; - Ark_Int32 value_width_value_1_right_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_width_value_1_right_value); } const auto value_width_value_1_bottom = value_width_value_1.bottom; - Ark_Int32 value_width_value_1_bottom_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_width_value_1_bottom_value); } const auto value_width_value_1_left = value_width_value_1.left; - Ark_Int32 value_width_value_1_left_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_width_value_1_left_value); } } - else if (((value_width_value_type == 0))) { + else if (((value_width_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_width_value_2 = value_width_value.value2; valueSerializer.writeLocalizedEdgeWidths(value_width_value_2); } } const auto value_outset = value.outset; - Ark_Int32 value_outset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_outset_type = INTEROP_RUNTIME_UNDEFINED; value_outset_type = runtimeType(value_outset); valueSerializer.writeInt8(value_outset_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_outset_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_outset_type)) { const auto value_outset_value = value_outset.value; - Ark_Int32 value_outset_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_outset_value_type = INTEROP_RUNTIME_UNDEFINED; value_outset_value_type = value_outset_value.selector; - if (((value_outset_value_type == 0)) || ((value_outset_value_type == 1)) || ((value_outset_value_type == 2))) { + if (((value_outset_value_type == 0)) || ((value_outset_value_type == 0)) || ((value_outset_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_outset_value_0 = value_outset_value.value0; valueSerializer.writeLength(value_outset_value_0); } - else if (((value_outset_value_type == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_outset_value_1_top_value); } const auto value_outset_value_1_right = value_outset_value_1.right; - Ark_Int32 value_outset_value_1_right_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_outset_value_1_right_value); } const auto value_outset_value_1_bottom = value_outset_value_1.bottom; - Ark_Int32 value_outset_value_1_bottom_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_outset_value_1_bottom_value); } const auto value_outset_value_1_left = value_outset_value_1.left; - Ark_Int32 value_outset_value_1_left_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_outset_value_1_left_value); } } - else if (((value_outset_value_type == 0))) { + else if (((value_outset_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_outset_value_2 = value_outset_value.value2; valueSerializer.writeLocalizedEdgeWidths(value_outset_value_2); } } const auto value_fill = value.fill; - Ark_Int32 value_fill_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fill_type = INTEROP_RUNTIME_UNDEFINED; value_fill_type = runtimeType(value_fill); valueSerializer.writeInt8(value_fill_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fill_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fill_type)) { const auto value_fill_value = value_fill.value; valueSerializer.writeBoolean(value_fill_value); } @@ -67677,430 +67656,430 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = ARK_RUNTIME_UNDEFINED; + 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; const auto value_width_value_0_top = value_width_value_0.top; - Ark_Int32 value_width_value_0_top_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_width_value_0_top_value); } const auto value_width_value_0_right = value_width_value_0.right; - Ark_Int32 value_width_value_0_right_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_width_value_0_right_value); } const auto value_width_value_0_bottom = value_width_value_0.bottom; - Ark_Int32 value_width_value_0_bottom_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_width_value_0_bottom_value); } const auto value_width_value_0_left = value_width_value_0.left; - Ark_Int32 value_width_value_0_left_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_width_value_0_left_value); } } - else if (((value_width_value_type == 0)) || ((value_width_value_type == 1)) || ((value_width_value_type == 2))) { + else if (((value_width_value_type == 1)) || ((value_width_value_type == 1)) || ((value_width_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_width_value_1 = value_width_value.value1; valueSerializer.writeLength(value_width_value_1); } - else if (((value_width_value_type == 0))) { + else if (((value_width_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_width_value_2 = value_width_value.value2; valueSerializer.writeLocalizedEdgeWidths(value_width_value_2); } } const auto value_color = value.color; - Ark_Int32 value_color_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = ARK_RUNTIME_UNDEFINED; + 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; const auto value_color_value_0_top = value_color_value_0.top; - Ark_Int32 value_color_value_0_top_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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); } } } - else if (((value_color_value_type == 0)) || ((value_color_value_type == 1)) || ((value_color_value_type == 2)) || ((value_color_value_type == 3))) { + 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); const auto value_color_value_1 = value_color_value.value1; - Ark_Int32 value_color_value_1_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_value_1_type = INTEROP_RUNTIME_UNDEFINED; value_color_value_1_type = value_color_value_1.selector; if (((value_color_value_1_type == 0))) { valueSerializer.writeInt8(0); const auto value_color_value_1_0 = value_color_value_1.value0; valueSerializer.writeInt32(static_cast(value_color_value_1_0)); } - else if (((value_color_value_1_type == 0))) { + else if (((value_color_value_1_type == 1))) { valueSerializer.writeInt8(1); const auto value_color_value_1_1 = value_color_value_1.value1; valueSerializer.writeNumber(value_color_value_1_1); } - else if (((value_color_value_1_type == 0))) { + else if (((value_color_value_1_type == 2))) { valueSerializer.writeInt8(2); const auto value_color_value_1_2 = value_color_value_1.value2; valueSerializer.writeString(value_color_value_1_2); } - else if (((value_color_value_1_type == 0))) { + else if (((value_color_value_1_type == 3))) { valueSerializer.writeInt8(3); const auto value_color_value_1_3 = value_color_value_1.value3; valueSerializer.writeResource(value_color_value_1_3); } } - else if (((value_color_value_type == 0))) { + else if (((value_color_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_color_value_2 = value_color_value.value2; valueSerializer.writeLocalizedEdgeColors(value_color_value_2); } } const auto value_radius = value.radius; - Ark_Int32 value_radius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_radius_type = INTEROP_RUNTIME_UNDEFINED; value_radius_type = runtimeType(value_radius); valueSerializer.writeInt8(value_radius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_radius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_radius_type)) { const auto value_radius_value = value_radius.value; - Ark_Int32 value_radius_value_type = ARK_RUNTIME_UNDEFINED; + 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_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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_radius_value_0_topLeft_value); } const auto value_radius_value_0_topRight = value_radius_value_0.topRight; - Ark_Int32 value_radius_value_0_topRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_radius_value_0_topRight_value); } const auto value_radius_value_0_bottomLeft = value_radius_value_0.bottomLeft; - Ark_Int32 value_radius_value_0_bottomLeft_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_radius_value_0_bottomLeft_value); } const auto value_radius_value_0_bottomRight = value_radius_value_0.bottomRight; - Ark_Int32 value_radius_value_0_bottomRight_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_radius_value_0_bottomRight_value); } } - else if (((value_radius_value_type == 0)) || ((value_radius_value_type == 1)) || ((value_radius_value_type == 2))) { + else if (((value_radius_value_type == 1)) || ((value_radius_value_type == 1)) || ((value_radius_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_radius_value_1 = value_radius_value.value1; valueSerializer.writeLength(value_radius_value_1); } - else if (((value_radius_value_type == 0))) { + else if (((value_radius_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_radius_value_2 = value_radius_value.value2; valueSerializer.writeLocalizedBorderRadiuses(value_radius_value_2); } } const auto value_style = value.style; - Ark_Int32 value_style_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; value_style_type = runtimeType(value_style); valueSerializer.writeInt8(value_style_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_style_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_style_type)) { const auto value_style_value = value_style.value; - Ark_Int32 value_style_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_value_type = INTEROP_RUNTIME_UNDEFINED; value_style_value_type = value_style_value.selector; 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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)); } } - else if (((value_style_value_type == 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)); } } const auto value_dashGap = value.dashGap; - Ark_Int32 value_dashGap_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_dashGap_type = INTEROP_RUNTIME_UNDEFINED; value_dashGap_type = runtimeType(value_dashGap); valueSerializer.writeInt8(value_dashGap_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_dashGap_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_dashGap_type)) { const auto value_dashGap_value = value_dashGap.value; - Ark_Int32 value_dashGap_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_dashGap_value_type = INTEROP_RUNTIME_UNDEFINED; value_dashGap_value_type = value_dashGap_value.selector; 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_dashGap_value_0_top_value); } const auto value_dashGap_value_0_right = value_dashGap_value_0.right; - Ark_Int32 value_dashGap_value_0_right_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_dashGap_value_0_right_value); } const auto value_dashGap_value_0_bottom = value_dashGap_value_0.bottom; - Ark_Int32 value_dashGap_value_0_bottom_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_dashGap_value_0_bottom_value); } const auto value_dashGap_value_0_left = value_dashGap_value_0.left; - Ark_Int32 value_dashGap_value_0_left_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_dashGap_value_0_left_value); } } - else if (((value_dashGap_value_type == 0))) { + else if (((value_dashGap_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_dashGap_value_1 = value_dashGap_value.value1; valueSerializer.writeLengthMetrics(value_dashGap_value_1); } - else if (((value_dashGap_value_type == 0))) { + else if (((value_dashGap_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_dashGap_value_2 = value_dashGap_value.value2; valueSerializer.writeLocalizedEdgeWidths(value_dashGap_value_2); } } const auto value_dashWidth = value.dashWidth; - Ark_Int32 value_dashWidth_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_dashWidth_type = INTEROP_RUNTIME_UNDEFINED; value_dashWidth_type = runtimeType(value_dashWidth); valueSerializer.writeInt8(value_dashWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_dashWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_dashWidth_type)) { const auto value_dashWidth_value = value_dashWidth.value; - Ark_Int32 value_dashWidth_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_dashWidth_value_type = INTEROP_RUNTIME_UNDEFINED; value_dashWidth_value_type = value_dashWidth_value.selector; 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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_dashWidth_value_0_top_value); } const auto value_dashWidth_value_0_right = value_dashWidth_value_0.right; - Ark_Int32 value_dashWidth_value_0_right_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_dashWidth_value_0_right_value); } const auto value_dashWidth_value_0_bottom = value_dashWidth_value_0.bottom; - Ark_Int32 value_dashWidth_value_0_bottom_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_dashWidth_value_0_bottom_value); } const auto value_dashWidth_value_0_left = value_dashWidth_value_0.left; - Ark_Int32 value_dashWidth_value_0_left_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_dashWidth_value_0_left_value); } } - else if (((value_dashWidth_value_type == 0))) { + else if (((value_dashWidth_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_dashWidth_value_1 = value_dashWidth_value.value1; valueSerializer.writeLengthMetrics(value_dashWidth_value_1); } - else if (((value_dashWidth_value_type == 0))) { + else if (((value_dashWidth_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_dashWidth_value_2 = value_dashWidth_value.value2; valueSerializer.writeLocalizedEdgeWidths(value_dashWidth_value_2); @@ -68129,49 +68108,49 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_slice = value.slice; - Ark_Int32 value_slice_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_slice_type = INTEROP_RUNTIME_UNDEFINED; value_slice_type = runtimeType(value_slice); valueSerializer.writeInt8(value_slice_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_slice_value_top_value); } const auto value_slice_value_right = value_slice_value.right; - Ark_Int32 value_slice_value_right_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_slice_value_right_value); } const auto value_slice_value_bottom = value_slice_value.bottom; - Ark_Int32 value_slice_value_bottom_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_slice_value_bottom_value); } const auto value_slice_value_left = value_slice_value.left; - Ark_Int32 value_slice_value_left_type = ARK_RUNTIME_UNDEFINED; + 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 ((ARK_RUNTIME_UNDEFINED) != (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; valueSerializer.writeLength(value_slice_value_left_value); } } const auto value_lattice = value.lattice; - Ark_Int32 value_lattice_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_lattice_type = INTEROP_RUNTIME_UNDEFINED; value_lattice_type = runtimeType(value_lattice); valueSerializer.writeInt8(value_lattice_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_lattice_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_lattice_type)) { const auto value_lattice_value = value_lattice.value; valueSerializer.writeDrawingLattice(value_lattice_value); } @@ -68182,98 +68161,98 @@ class Serializer : public SerializerBase { const auto value_radius = value.radius; valueSerializer.writeNumber(value_radius); const auto value_saturation = value.saturation; - Ark_Int32 value_saturation_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_saturation_type = INTEROP_RUNTIME_UNDEFINED; value_saturation_type = runtimeType(value_saturation); valueSerializer.writeInt8(value_saturation_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_brightness_type = INTEROP_RUNTIME_UNDEFINED; value_brightness_type = runtimeType(value_brightness); valueSerializer.writeInt8(value_brightness_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_color_type = INTEROP_RUNTIME_UNDEFINED; value_color_type = runtimeType(value_color); valueSerializer.writeInt8(value_color_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_color_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_color_type)) { const auto value_color_value = value_color.value; - Ark_Int32 value_color_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 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_color_value_type == 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); } } const auto value_adaptiveColor = value.adaptiveColor; - Ark_Int32 value_adaptiveColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_adaptiveColor_type = INTEROP_RUNTIME_UNDEFINED; value_adaptiveColor_type = runtimeType(value_adaptiveColor); valueSerializer.writeInt8(value_adaptiveColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_blurOptions_type = INTEROP_RUNTIME_UNDEFINED; value_blurOptions_type = runtimeType(value_blurOptions); valueSerializer.writeInt8(value_blurOptions_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_policy_type = INTEROP_RUNTIME_UNDEFINED; value_policy_type = runtimeType(value_policy); valueSerializer.writeInt8(value_policy_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_inactiveColor_type = INTEROP_RUNTIME_UNDEFINED; value_inactiveColor_type = runtimeType(value_inactiveColor); valueSerializer.writeInt8(value_inactiveColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_inactiveColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_inactiveColor_type)) { const auto value_inactiveColor_value = value_inactiveColor.value; - Ark_Int32 value_inactiveColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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); @@ -68284,34 +68263,34 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_start = value.start; - Ark_Int32 value_start_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_start_type = INTEROP_RUNTIME_UNDEFINED; value_start_type = runtimeType(value_start); valueSerializer.writeInt8(value_start_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_start_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_start_type)) { const auto value_start_value = value_start.value; valueSerializer.writeInt32(static_cast(value_start_value)); } const auto value_top = value.top; - Ark_Int32 value_top_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_top_type = INTEROP_RUNTIME_UNDEFINED; value_top_type = runtimeType(value_top); valueSerializer.writeInt8(value_top_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_end = value.end; - Ark_Int32 value_end_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_end_type = INTEROP_RUNTIME_UNDEFINED; value_end_type = runtimeType(value_end); valueSerializer.writeInt8(value_end_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_end_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_end_type)) { const auto value_end_value = value_end.value; valueSerializer.writeInt32(static_cast(value_end_value)); } const auto value_bottom = value.bottom; - Ark_Int32 value_bottom_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_bottom_type = INTEROP_RUNTIME_UNDEFINED; value_bottom_type = runtimeType(value_bottom); valueSerializer.writeInt8(value_bottom_type); - if ((ARK_RUNTIME_UNDEFINED) != (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)); } @@ -68320,18 +68299,18 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_horizontal = value.horizontal; - Ark_Int32 value_horizontal_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_horizontal_type = INTEROP_RUNTIME_UNDEFINED; value_horizontal_type = runtimeType(value_horizontal); valueSerializer.writeInt8(value_horizontal_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_horizontal_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_horizontal_type)) { const auto value_horizontal_value = value_horizontal.value; valueSerializer.writeNumber(value_horizontal_value); } const auto value_vertical = value.vertical; - Ark_Int32 value_vertical_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_vertical_type = INTEROP_RUNTIME_UNDEFINED; value_vertical_type = runtimeType(value_vertical); valueSerializer.writeInt8(value_vertical_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_vertical_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_vertical_type)) { const auto value_vertical_value = value_vertical.value; valueSerializer.writeNumber(value_vertical_value); } @@ -68342,10 +68321,10 @@ class Serializer : public SerializerBase { const auto value_strategy = value.strategy; valueSerializer.writeInt32(static_cast(value_strategy)); const auto value_id = value.id; - Ark_Int32 value_id_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_id_type = INTEROP_RUNTIME_UNDEFINED; value_id_type = runtimeType(value_id); valueSerializer.writeInt8(value_id_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_id_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_id_type)) { const auto value_id_value = value_id.value; valueSerializer.writeString(value_id_value); } @@ -68374,62 +68353,86 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_minWidth = value.minWidth; - Ark_Int32 value_minWidth_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_minWidth_type = INTEROP_RUNTIME_UNDEFINED; value_minWidth_type = runtimeType(value_minWidth); valueSerializer.writeInt8(value_minWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_minWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_minWidth_type)) { const auto value_minWidth_value = value_minWidth.value; valueSerializer.writeLength(value_minWidth_value); } const auto value_maxWidth = value.maxWidth; - Ark_Int32 value_maxWidth_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_maxWidth_type = INTEROP_RUNTIME_UNDEFINED; value_maxWidth_type = runtimeType(value_maxWidth); valueSerializer.writeInt8(value_maxWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_maxWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maxWidth_type)) { const auto value_maxWidth_value = value_maxWidth.value; valueSerializer.writeLength(value_maxWidth_value); } const auto value_minHeight = value.minHeight; - Ark_Int32 value_minHeight_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_minHeight_type = INTEROP_RUNTIME_UNDEFINED; value_minHeight_type = runtimeType(value_minHeight); valueSerializer.writeInt8(value_minHeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_minHeight_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_minHeight_type)) { const auto value_minHeight_value = value_minHeight.value; valueSerializer.writeLength(value_minHeight_value); } const auto value_maxHeight = value.maxHeight; - Ark_Int32 value_maxHeight_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_maxHeight_type = INTEROP_RUNTIME_UNDEFINED; value_maxHeight_type = runtimeType(value_maxHeight); valueSerializer.writeInt8(value_maxHeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_maxHeight_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maxHeight_type)) { const auto value_maxHeight_value = value_maxHeight.value; valueSerializer.writeLength(value_maxHeight_value); } } + void writeTouchObject(Ark_TouchObject value) + { + Serializer& valueSerializer = *this; + const auto value_type = value.type; + valueSerializer.writeInt32(static_cast(value_type)); + const auto value_id = value.id; + valueSerializer.writeNumber(value_id); + const auto value_displayX = value.displayX; + valueSerializer.writeNumber(value_displayX); + const auto value_displayY = value.displayY; + valueSerializer.writeNumber(value_displayY); + const auto value_windowX = value.windowX; + valueSerializer.writeNumber(value_windowX); + const auto value_windowY = value.windowY; + valueSerializer.writeNumber(value_windowY); + const auto value_screenX = value.screenX; + valueSerializer.writeNumber(value_screenX); + const auto value_screenY = value.screenY; + valueSerializer.writeNumber(value_screenY); + const auto value_x = value.x; + valueSerializer.writeNumber(value_x); + const auto value_y = value.y; + valueSerializer.writeNumber(value_y); + } void writePointLightStyle(Ark_PointLightStyle value) { Serializer& valueSerializer = *this; const auto value_lightSource = value.lightSource; - Ark_Int32 value_lightSource_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_lightSource_type = INTEROP_RUNTIME_UNDEFINED; value_lightSource_type = runtimeType(value_lightSource); valueSerializer.writeInt8(value_lightSource_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_illuminated_type = INTEROP_RUNTIME_UNDEFINED; value_illuminated_type = runtimeType(value_illuminated); valueSerializer.writeInt8(value_illuminated_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_bloom_type = INTEROP_RUNTIME_UNDEFINED; value_bloom_type = runtimeType(value_bloom); valueSerializer.writeInt8(value_bloom_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_bloom_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_bloom_type)) { const auto value_bloom_value = value_bloom.value; valueSerializer.writeNumber(value_bloom_value); } @@ -68438,19 +68441,19 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_space = value.space; - Ark_Int32 value_space_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_space_type = INTEROP_RUNTIME_UNDEFINED; value_space_type = runtimeType(value_space); valueSerializer.writeInt8(value_space_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_space_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_space_type)) { const auto value_space_value = value_space.value; - Ark_Int32 value_space_value_type = ARK_RUNTIME_UNDEFINED; + 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_space_value_0 = value_space_value.value0; valueSerializer.writeString(value_space_value_0); } - else if (((value_space_value_type == 0))) { + else if (((value_space_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_space_value_1 = value_space_value.value1; valueSerializer.writeNumber(value_space_value_1); @@ -68461,38 +68464,38 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_width = value.width; - Ark_Int32 value_width_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_width_type = INTEROP_RUNTIME_UNDEFINED; value_width_type = runtimeType(value_width); valueSerializer.writeInt8(value_width_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_width_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_width_type)) { const auto value_width_value = value_width.value; - Ark_Int32 value_width_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); } } const auto value_height = value.height; - Ark_Int32 value_height_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_height_type = INTEROP_RUNTIME_UNDEFINED; value_height_type = runtimeType(value_height); valueSerializer.writeInt8(value_height_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_height_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_height_type)) { const auto value_height_value = value_height.value; - Ark_Int32 value_height_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); @@ -68515,10 +68518,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_group = value.group; - Ark_Int32 value_group_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_group_type = INTEROP_RUNTIME_UNDEFINED; value_group_type = runtimeType(value_group); valueSerializer.writeInt8(value_group_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_group_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_group_type)) { const auto value_group_value = value_group.value; valueSerializer.writeString(value_group_value); } @@ -68527,47 +68530,47 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_strokeColor = value.strokeColor; - Ark_Int32 value_strokeColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_strokeColor_type = INTEROP_RUNTIME_UNDEFINED; value_strokeColor_type = runtimeType(value_strokeColor); valueSerializer.writeInt8(value_strokeColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_strokeColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeColor_type)) { const auto value_strokeColor_value = value_strokeColor.value; - Ark_Int32 value_strokeColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_size = value.size; - Ark_Int32 value_size_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_size_type = INTEROP_RUNTIME_UNDEFINED; value_size_type = runtimeType(value_size); valueSerializer.writeInt8(value_size_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_size_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_size_type)) { const auto value_size_value = value_size.value; valueSerializer.writeLength(value_size_value); } const auto value_strokeWidth = value.strokeWidth; - Ark_Int32 value_strokeWidth_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_strokeWidth_type = INTEROP_RUNTIME_UNDEFINED; value_strokeWidth_type = runtimeType(value_strokeWidth); valueSerializer.writeInt8(value_strokeWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_strokeWidth_type)) { const auto value_strokeWidth_value = value_strokeWidth.value; valueSerializer.writeLength(value_strokeWidth_value); } @@ -68576,26 +68579,26 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_name = value.name; - Ark_Int32 value_name_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_name_type = INTEROP_RUNTIME_UNDEFINED; value_name_type = runtimeType(value_name); valueSerializer.writeInt8(value_name_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_name_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_name_type)) { const auto value_name_value = value_name.value; valueSerializer.writeString(value_name_value); } const auto value_group = value.group; - Ark_Int32 value_group_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_group_type = INTEROP_RUNTIME_UNDEFINED; value_group_type = runtimeType(value_group); valueSerializer.writeInt8(value_group_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_group_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_group_type)) { const auto value_group_value = value_group.value; valueSerializer.writeString(value_group_value); } const auto value_indicatorBuilder = value.indicatorBuilder; - Ark_Int32 value_indicatorBuilder_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_indicatorBuilder_type = INTEROP_RUNTIME_UNDEFINED; value_indicatorBuilder_type = runtimeType(value_indicatorBuilder); valueSerializer.writeInt8(value_indicatorBuilder_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_indicatorBuilder_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_indicatorBuilder_type)) { const auto value_indicatorBuilder_value = value_indicatorBuilder.value; valueSerializer.writeCallbackResource(value_indicatorBuilder_value.resource); valueSerializer.writePointer(reinterpret_cast(value_indicatorBuilder_value.call)); @@ -68606,10 +68609,10 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_antialias = value.antialias; - Ark_Int32 value_antialias_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_antialias_type = INTEROP_RUNTIME_UNDEFINED; value_antialias_type = runtimeType(value_antialias); valueSerializer.writeInt8(value_antialias_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_antialias_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_antialias_type)) { const auto value_antialias_value = value_antialias.value; valueSerializer.writeBoolean(value_antialias_value); } @@ -68624,29 +68627,29 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_hintRadius = value.hintRadius; - Ark_Int32 value_hintRadius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_hintRadius_type = INTEROP_RUNTIME_UNDEFINED; value_hintRadius_type = runtimeType(value_hintRadius); valueSerializer.writeInt8(value_hintRadius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_hintRadius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_hintRadius_type)) { const auto value_hintRadius_value = value_hintRadius.value; - Ark_Int32 value_hintRadius_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_selected_type = INTEROP_RUNTIME_UNDEFINED; value_selected_type = runtimeType(value_selected); valueSerializer.writeInt8(value_selected_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_selected_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_selected_type)) { const auto value_selected_value = value_selected.value; valueSerializer.writeInt64(value_selected_value); } @@ -68679,100 +68682,100 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_workDayMarkColor = value.workDayMarkColor; - Ark_Int32 value_workDayMarkColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_workDayMarkColor_type = INTEROP_RUNTIME_UNDEFINED; value_workDayMarkColor_type = runtimeType(value_workDayMarkColor); valueSerializer.writeInt8(value_workDayMarkColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_workDayMarkColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_workDayMarkColor_type)) { const auto value_workDayMarkColor_value = value_workDayMarkColor.value; - Ark_Int32 value_workDayMarkColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_workDayMarkColor_value_0 = value_workDayMarkColor_value.value0; valueSerializer.writeInt32(static_cast(value_workDayMarkColor_value_0)); } - else if (((value_workDayMarkColor_value_type == 0))) { + else if (((value_workDayMarkColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_workDayMarkColor_value_1 = value_workDayMarkColor_value.value1; valueSerializer.writeNumber(value_workDayMarkColor_value_1); } - else if (((value_workDayMarkColor_value_type == 0))) { + else if (((value_workDayMarkColor_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 == 0))) { + 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_offDayMarkColor = value.offDayMarkColor; - Ark_Int32 value_offDayMarkColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offDayMarkColor_type = INTEROP_RUNTIME_UNDEFINED; value_offDayMarkColor_type = runtimeType(value_offDayMarkColor); valueSerializer.writeInt8(value_offDayMarkColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_offDayMarkColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_offDayMarkColor_type)) { const auto value_offDayMarkColor_value = value_offDayMarkColor.value; - Ark_Int32 value_offDayMarkColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_offDayMarkColor_value_0 = value_offDayMarkColor_value.value0; valueSerializer.writeInt32(static_cast(value_offDayMarkColor_value_0)); } - else if (((value_offDayMarkColor_value_type == 0))) { + else if (((value_offDayMarkColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_offDayMarkColor_value_1 = value_offDayMarkColor_value.value1; valueSerializer.writeNumber(value_offDayMarkColor_value_1); } - else if (((value_offDayMarkColor_value_type == 0))) { + else if (((value_offDayMarkColor_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 == 0))) { + 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_workDayMarkSize = value.workDayMarkSize; - Ark_Int32 value_workDayMarkSize_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_workDayMarkSize_type = INTEROP_RUNTIME_UNDEFINED; value_workDayMarkSize_type = runtimeType(value_workDayMarkSize); valueSerializer.writeInt8(value_workDayMarkSize_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_offDayMarkSize_type = INTEROP_RUNTIME_UNDEFINED; value_offDayMarkSize_type = runtimeType(value_offDayMarkSize); valueSerializer.writeInt8(value_offDayMarkSize_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_workStateWidth_type = INTEROP_RUNTIME_UNDEFINED; value_workStateWidth_type = runtimeType(value_workStateWidth); valueSerializer.writeInt8(value_workStateWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_workStateHorizontalMovingDistance_type = INTEROP_RUNTIME_UNDEFINED; value_workStateHorizontalMovingDistance_type = runtimeType(value_workStateHorizontalMovingDistance); valueSerializer.writeInt8(value_workStateHorizontalMovingDistance_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_workStateVerticalMovingDistance_type = INTEROP_RUNTIME_UNDEFINED; value_workStateVerticalMovingDistance_type = runtimeType(value_workStateVerticalMovingDistance); valueSerializer.writeInt8(value_workStateVerticalMovingDistance_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_workStateVerticalMovingDistance_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_workStateVerticalMovingDistance_type)) { const auto value_workStateVerticalMovingDistance_value = value_workStateVerticalMovingDistance.value; valueSerializer.writeNumber(value_workStateVerticalMovingDistance_value); } @@ -68781,121 +68784,121 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_weekColor = value.weekColor; - Ark_Int32 value_weekColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_weekColor_type = INTEROP_RUNTIME_UNDEFINED; value_weekColor_type = runtimeType(value_weekColor); valueSerializer.writeInt8(value_weekColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_weekColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_weekColor_type)) { const auto value_weekColor_value = value_weekColor.value; - Ark_Int32 value_weekColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_weekendDayColor = value.weekendDayColor; - Ark_Int32 value_weekendDayColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_weekendDayColor_type = INTEROP_RUNTIME_UNDEFINED; value_weekendDayColor_type = runtimeType(value_weekendDayColor); valueSerializer.writeInt8(value_weekendDayColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_weekendDayColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_weekendDayColor_type)) { const auto value_weekendDayColor_value = value_weekendDayColor.value; - Ark_Int32 value_weekendDayColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_weekendLunarColor = value.weekendLunarColor; - Ark_Int32 value_weekendLunarColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_weekendLunarColor_type = INTEROP_RUNTIME_UNDEFINED; value_weekendLunarColor_type = runtimeType(value_weekendLunarColor); valueSerializer.writeInt8(value_weekendLunarColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_weekendLunarColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_weekendLunarColor_type)) { const auto value_weekendLunarColor_value = value_weekendLunarColor.value; - Ark_Int32 value_weekendLunarColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_weekendLunarColor_value_0 = value_weekendLunarColor_value.value0; valueSerializer.writeInt32(static_cast(value_weekendLunarColor_value_0)); } - else if (((value_weekendLunarColor_value_type == 0))) { + else if (((value_weekendLunarColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_weekendLunarColor_value_1 = value_weekendLunarColor_value.value1; valueSerializer.writeNumber(value_weekendLunarColor_value_1); } - else if (((value_weekendLunarColor_value_type == 0))) { + else if (((value_weekendLunarColor_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_weekendLunarColor_value_2 = value_weekendLunarColor_value.value2; valueSerializer.writeString(value_weekendLunarColor_value_2); } - else if (((value_weekendLunarColor_value_type == 0))) { + else if (((value_weekendLunarColor_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_weekFontSize = value.weekFontSize; - Ark_Int32 value_weekFontSize_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_weekFontSize_type = INTEROP_RUNTIME_UNDEFINED; value_weekFontSize_type = runtimeType(value_weekFontSize); valueSerializer.writeInt8(value_weekFontSize_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_weekHeight = value.weekHeight; - Ark_Int32 value_weekHeight_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_weekHeight_type = INTEROP_RUNTIME_UNDEFINED; value_weekHeight_type = runtimeType(value_weekHeight); valueSerializer.writeInt8(value_weekHeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_weekHeight_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_weekHeight_type)) { const auto value_weekHeight_value = value_weekHeight.value; valueSerializer.writeNumber(value_weekHeight_value); } const auto value_weekWidth = value.weekWidth; - Ark_Int32 value_weekWidth_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_weekWidth_type = INTEROP_RUNTIME_UNDEFINED; value_weekWidth_type = runtimeType(value_weekWidth); valueSerializer.writeInt8(value_weekWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_weekAndDayRowSpace = value.weekAndDayRowSpace; - Ark_Int32 value_weekAndDayRowSpace_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_weekAndDayRowSpace_type = INTEROP_RUNTIME_UNDEFINED; value_weekAndDayRowSpace_type = runtimeType(value_weekAndDayRowSpace); valueSerializer.writeInt8(value_weekAndDayRowSpace_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_weekAndDayRowSpace_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_weekAndDayRowSpace_type)) { const auto value_weekAndDayRowSpace_value = value_weekAndDayRowSpace.value; valueSerializer.writeNumber(value_weekAndDayRowSpace_value); } @@ -68904,97 +68907,97 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_focusedDayColor = value.focusedDayColor; - Ark_Int32 value_focusedDayColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_focusedDayColor_type = INTEROP_RUNTIME_UNDEFINED; value_focusedDayColor_type = runtimeType(value_focusedDayColor); valueSerializer.writeInt8(value_focusedDayColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_focusedDayColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_focusedDayColor_type)) { const auto value_focusedDayColor_value = value_focusedDayColor.value; - Ark_Int32 value_focusedDayColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_focusedDayColor_value_0 = value_focusedDayColor_value.value0; valueSerializer.writeInt32(static_cast(value_focusedDayColor_value_0)); } - else if (((value_focusedDayColor_value_type == 0))) { + else if (((value_focusedDayColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_focusedDayColor_value_1 = value_focusedDayColor_value.value1; valueSerializer.writeNumber(value_focusedDayColor_value_1); } - else if (((value_focusedDayColor_value_type == 0))) { + else if (((value_focusedDayColor_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 == 0))) { + 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_focusedLunarColor = value.focusedLunarColor; - Ark_Int32 value_focusedLunarColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_focusedLunarColor_type = INTEROP_RUNTIME_UNDEFINED; value_focusedLunarColor_type = runtimeType(value_focusedLunarColor); valueSerializer.writeInt8(value_focusedLunarColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_focusedLunarColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_focusedLunarColor_type)) { const auto value_focusedLunarColor_value = value_focusedLunarColor.value; - Ark_Int32 value_focusedLunarColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_focusedLunarColor_value_0 = value_focusedLunarColor_value.value0; valueSerializer.writeInt32(static_cast(value_focusedLunarColor_value_0)); } - else if (((value_focusedLunarColor_value_type == 0))) { + else if (((value_focusedLunarColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_focusedLunarColor_value_1 = value_focusedLunarColor_value.value1; valueSerializer.writeNumber(value_focusedLunarColor_value_1); } - else if (((value_focusedLunarColor_value_type == 0))) { + else if (((value_focusedLunarColor_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 == 0))) { + 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_focusedAreaBackgroundColor = value.focusedAreaBackgroundColor; - Ark_Int32 value_focusedAreaBackgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_focusedAreaBackgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_focusedAreaBackgroundColor_type = runtimeType(value_focusedAreaBackgroundColor); valueSerializer.writeInt8(value_focusedAreaBackgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_focusedAreaBackgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_focusedAreaBackgroundColor_type)) { const auto value_focusedAreaBackgroundColor_value = value_focusedAreaBackgroundColor.value; - Ark_Int32 value_focusedAreaBackgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_focusedAreaBackgroundColor_value_0 = value_focusedAreaBackgroundColor_value.value0; valueSerializer.writeInt32(static_cast(value_focusedAreaBackgroundColor_value_0)); } - else if (((value_focusedAreaBackgroundColor_value_type == 0))) { + else if (((value_focusedAreaBackgroundColor_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 == 0))) { + 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 == 0))) { + 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_focusedAreaRadius = value.focusedAreaRadius; - Ark_Int32 value_focusedAreaRadius_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_focusedAreaRadius_type = INTEROP_RUNTIME_UNDEFINED; value_focusedAreaRadius_type = runtimeType(value_focusedAreaRadius); valueSerializer.writeInt8(value_focusedAreaRadius_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_focusedAreaRadius_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_focusedAreaRadius_type)) { const auto value_focusedAreaRadius_value = value_focusedAreaRadius.value; valueSerializer.writeNumber(value_focusedAreaRadius_value); } @@ -69003,116 +69006,116 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_nonCurrentMonthDayColor = value.nonCurrentMonthDayColor; - Ark_Int32 value_nonCurrentMonthDayColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_nonCurrentMonthDayColor_type = INTEROP_RUNTIME_UNDEFINED; value_nonCurrentMonthDayColor_type = runtimeType(value_nonCurrentMonthDayColor); valueSerializer.writeInt8(value_nonCurrentMonthDayColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_nonCurrentMonthDayColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_nonCurrentMonthDayColor_type)) { const auto value_nonCurrentMonthDayColor_value = value_nonCurrentMonthDayColor.value; - Ark_Int32 value_nonCurrentMonthDayColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_nonCurrentMonthDayColor_value_0 = value_nonCurrentMonthDayColor_value.value0; valueSerializer.writeInt32(static_cast(value_nonCurrentMonthDayColor_value_0)); } - else if (((value_nonCurrentMonthDayColor_value_type == 0))) { + else if (((value_nonCurrentMonthDayColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_nonCurrentMonthDayColor_value_1 = value_nonCurrentMonthDayColor_value.value1; valueSerializer.writeNumber(value_nonCurrentMonthDayColor_value_1); } - else if (((value_nonCurrentMonthDayColor_value_type == 0))) { + else if (((value_nonCurrentMonthDayColor_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 == 0))) { + 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_nonCurrentMonthLunarColor = value.nonCurrentMonthLunarColor; - Ark_Int32 value_nonCurrentMonthLunarColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_nonCurrentMonthLunarColor_type = INTEROP_RUNTIME_UNDEFINED; value_nonCurrentMonthLunarColor_type = runtimeType(value_nonCurrentMonthLunarColor); valueSerializer.writeInt8(value_nonCurrentMonthLunarColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_nonCurrentMonthLunarColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_nonCurrentMonthLunarColor_type)) { const auto value_nonCurrentMonthLunarColor_value = value_nonCurrentMonthLunarColor.value; - Ark_Int32 value_nonCurrentMonthLunarColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_nonCurrentMonthLunarColor_value_0 = value_nonCurrentMonthLunarColor_value.value0; valueSerializer.writeInt32(static_cast(value_nonCurrentMonthLunarColor_value_0)); } - else if (((value_nonCurrentMonthLunarColor_value_type == 0))) { + else if (((value_nonCurrentMonthLunarColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_nonCurrentMonthLunarColor_value_1 = value_nonCurrentMonthLunarColor_value.value1; valueSerializer.writeNumber(value_nonCurrentMonthLunarColor_value_1); } - else if (((value_nonCurrentMonthLunarColor_value_type == 0))) { + else if (((value_nonCurrentMonthLunarColor_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 == 0))) { + 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_nonCurrentMonthWorkDayMarkColor = value.nonCurrentMonthWorkDayMarkColor; - Ark_Int32 value_nonCurrentMonthWorkDayMarkColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_nonCurrentMonthWorkDayMarkColor_type = INTEROP_RUNTIME_UNDEFINED; value_nonCurrentMonthWorkDayMarkColor_type = runtimeType(value_nonCurrentMonthWorkDayMarkColor); valueSerializer.writeInt8(value_nonCurrentMonthWorkDayMarkColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_nonCurrentMonthWorkDayMarkColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_nonCurrentMonthWorkDayMarkColor_type)) { const auto value_nonCurrentMonthWorkDayMarkColor_value = value_nonCurrentMonthWorkDayMarkColor.value; - Ark_Int32 value_nonCurrentMonthWorkDayMarkColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_nonCurrentMonthWorkDayMarkColor_value_0 = value_nonCurrentMonthWorkDayMarkColor_value.value0; valueSerializer.writeInt32(static_cast(value_nonCurrentMonthWorkDayMarkColor_value_0)); } - else if (((value_nonCurrentMonthWorkDayMarkColor_value_type == 0))) { + else if (((value_nonCurrentMonthWorkDayMarkColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_nonCurrentMonthWorkDayMarkColor_value_1 = value_nonCurrentMonthWorkDayMarkColor_value.value1; valueSerializer.writeNumber(value_nonCurrentMonthWorkDayMarkColor_value_1); } - else if (((value_nonCurrentMonthWorkDayMarkColor_value_type == 0))) { + else if (((value_nonCurrentMonthWorkDayMarkColor_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 == 0))) { + 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_nonCurrentMonthOffDayMarkColor = value.nonCurrentMonthOffDayMarkColor; - Ark_Int32 value_nonCurrentMonthOffDayMarkColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_nonCurrentMonthOffDayMarkColor_type = INTEROP_RUNTIME_UNDEFINED; value_nonCurrentMonthOffDayMarkColor_type = runtimeType(value_nonCurrentMonthOffDayMarkColor); valueSerializer.writeInt8(value_nonCurrentMonthOffDayMarkColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_nonCurrentMonthOffDayMarkColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_nonCurrentMonthOffDayMarkColor_type)) { const auto value_nonCurrentMonthOffDayMarkColor_value = value_nonCurrentMonthOffDayMarkColor.value; - Ark_Int32 value_nonCurrentMonthOffDayMarkColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_nonCurrentMonthOffDayMarkColor_value_0 = value_nonCurrentMonthOffDayMarkColor_value.value0; valueSerializer.writeInt32(static_cast(value_nonCurrentMonthOffDayMarkColor_value_0)); } - else if (((value_nonCurrentMonthOffDayMarkColor_value_type == 0))) { + else if (((value_nonCurrentMonthOffDayMarkColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_nonCurrentMonthOffDayMarkColor_value_1 = value_nonCurrentMonthOffDayMarkColor_value.value1; valueSerializer.writeNumber(value_nonCurrentMonthOffDayMarkColor_value_1); } - else if (((value_nonCurrentMonthOffDayMarkColor_value_type == 0))) { + else if (((value_nonCurrentMonthOffDayMarkColor_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 == 0))) { + 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); @@ -69123,249 +69126,249 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_dayColor = value.dayColor; - Ark_Int32 value_dayColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_dayColor_type = INTEROP_RUNTIME_UNDEFINED; value_dayColor_type = runtimeType(value_dayColor); valueSerializer.writeInt8(value_dayColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_dayColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_dayColor_type)) { const auto value_dayColor_value = value_dayColor.value; - Ark_Int32 value_dayColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_dayColor_value_0 = value_dayColor_value.value0; valueSerializer.writeInt32(static_cast(value_dayColor_value_0)); } - else if (((value_dayColor_value_type == 0))) { + else if (((value_dayColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_dayColor_value_1 = value_dayColor_value.value1; valueSerializer.writeNumber(value_dayColor_value_1); } - else if (((value_dayColor_value_type == 0))) { + else if (((value_dayColor_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_dayColor_value_2 = value_dayColor_value.value2; valueSerializer.writeString(value_dayColor_value_2); } - else if (((value_dayColor_value_type == 0))) { + 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_lunarColor = value.lunarColor; - Ark_Int32 value_lunarColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_lunarColor_type = INTEROP_RUNTIME_UNDEFINED; value_lunarColor_type = runtimeType(value_lunarColor); valueSerializer.writeInt8(value_lunarColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_lunarColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_lunarColor_type)) { const auto value_lunarColor_value = value_lunarColor.value; - Ark_Int32 value_lunarColor_value_type = ARK_RUNTIME_UNDEFINED; + 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_lunarColor_value_0 = value_lunarColor_value.value0; valueSerializer.writeInt32(static_cast(value_lunarColor_value_0)); } - else if (((value_lunarColor_value_type == 0))) { + else if (((value_lunarColor_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_lunarColor_value_1 = value_lunarColor_value.value1; valueSerializer.writeNumber(value_lunarColor_value_1); } - else if (((value_lunarColor_value_type == 0))) { + else if (((value_lunarColor_value_type == 2))) { valueSerializer.writeInt8(2); const auto value_lunarColor_value_2 = value_lunarColor_value.value2; valueSerializer.writeString(value_lunarColor_value_2); } - else if (((value_lunarColor_value_type == 0))) { + else if (((value_lunarColor_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_markLunarColor = value.markLunarColor; - Ark_Int32 value_markLunarColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_markLunarColor_type = INTEROP_RUNTIME_UNDEFINED; value_markLunarColor_type = runtimeType(value_markLunarColor); valueSerializer.writeInt8(value_markLunarColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_markLunarColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_markLunarColor_type)) { const auto value_markLunarColor_value = value_markLunarColor.value; - Ark_Int32 value_markLunarColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_dayFontSize = value.dayFontSize; - Ark_Int32 value_dayFontSize_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_dayFontSize_type = INTEROP_RUNTIME_UNDEFINED; value_dayFontSize_type = runtimeType(value_dayFontSize); valueSerializer.writeInt8(value_dayFontSize_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_lunarDayFontSize_type = INTEROP_RUNTIME_UNDEFINED; value_lunarDayFontSize_type = runtimeType(value_lunarDayFontSize); valueSerializer.writeInt8(value_lunarDayFontSize_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_dayHeight_type = INTEROP_RUNTIME_UNDEFINED; value_dayHeight_type = runtimeType(value_dayHeight); valueSerializer.writeInt8(value_dayHeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_dayWidth_type = INTEROP_RUNTIME_UNDEFINED; value_dayWidth_type = runtimeType(value_dayWidth); valueSerializer.writeInt8(value_dayWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_gregorianCalendarHeight_type = INTEROP_RUNTIME_UNDEFINED; value_gregorianCalendarHeight_type = runtimeType(value_gregorianCalendarHeight); valueSerializer.writeInt8(value_gregorianCalendarHeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_dayYAxisOffset_type = INTEROP_RUNTIME_UNDEFINED; value_dayYAxisOffset_type = runtimeType(value_dayYAxisOffset); valueSerializer.writeInt8(value_dayYAxisOffset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_lunarDayYAxisOffset_type = INTEROP_RUNTIME_UNDEFINED; value_lunarDayYAxisOffset_type = runtimeType(value_lunarDayYAxisOffset); valueSerializer.writeInt8(value_lunarDayYAxisOffset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_underscoreXAxisOffset_type = INTEROP_RUNTIME_UNDEFINED; value_underscoreXAxisOffset_type = runtimeType(value_underscoreXAxisOffset); valueSerializer.writeInt8(value_underscoreXAxisOffset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_underscoreYAxisOffset_type = INTEROP_RUNTIME_UNDEFINED; value_underscoreYAxisOffset_type = runtimeType(value_underscoreYAxisOffset); valueSerializer.writeInt8(value_underscoreYAxisOffset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_scheduleMarkerXAxisOffset_type = INTEROP_RUNTIME_UNDEFINED; value_scheduleMarkerXAxisOffset_type = runtimeType(value_scheduleMarkerXAxisOffset); valueSerializer.writeInt8(value_scheduleMarkerXAxisOffset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_scheduleMarkerYAxisOffset_type = INTEROP_RUNTIME_UNDEFINED; value_scheduleMarkerYAxisOffset_type = runtimeType(value_scheduleMarkerYAxisOffset); valueSerializer.writeInt8(value_scheduleMarkerYAxisOffset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_colSpace_type = INTEROP_RUNTIME_UNDEFINED; value_colSpace_type = runtimeType(value_colSpace); valueSerializer.writeInt8(value_colSpace_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_dailyFiveRowSpace_type = INTEROP_RUNTIME_UNDEFINED; value_dailyFiveRowSpace_type = runtimeType(value_dailyFiveRowSpace); valueSerializer.writeInt8(value_dailyFiveRowSpace_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_dailySixRowSpace_type = INTEROP_RUNTIME_UNDEFINED; value_dailySixRowSpace_type = runtimeType(value_dailySixRowSpace); valueSerializer.writeInt8(value_dailySixRowSpace_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_lunarHeight_type = INTEROP_RUNTIME_UNDEFINED; value_lunarHeight_type = runtimeType(value_lunarHeight); valueSerializer.writeInt8(value_lunarHeight_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_underscoreWidth_type = INTEROP_RUNTIME_UNDEFINED; value_underscoreWidth_type = runtimeType(value_underscoreWidth); valueSerializer.writeInt8(value_underscoreWidth_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_underscoreLength_type = INTEROP_RUNTIME_UNDEFINED; value_underscoreLength_type = runtimeType(value_underscoreLength); valueSerializer.writeInt8(value_underscoreLength_type); - if ((ARK_RUNTIME_UNDEFINED) != (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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_scheduleMarkerRadius_type = INTEROP_RUNTIME_UNDEFINED; value_scheduleMarkerRadius_type = runtimeType(value_scheduleMarkerRadius); valueSerializer.writeInt8(value_scheduleMarkerRadius_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_boundaryRowOffset = value.boundaryRowOffset; - Ark_Int32 value_boundaryRowOffset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_boundaryRowOffset_type = INTEROP_RUNTIME_UNDEFINED; value_boundaryRowOffset_type = runtimeType(value_boundaryRowOffset); valueSerializer.writeInt8(value_boundaryRowOffset_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_boundaryColOffset = value.boundaryColOffset; - Ark_Int32 value_boundaryColOffset_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_boundaryColOffset_type = INTEROP_RUNTIME_UNDEFINED; value_boundaryColOffset_type = runtimeType(value_boundaryColOffset); valueSerializer.writeInt8(value_boundaryColOffset_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_boundaryColOffset_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_boundaryColOffset_type)) { const auto value_boundaryColOffset_value = value_boundaryColOffset.value; valueSerializer.writeNumber(value_boundaryColOffset_value); } @@ -69400,42 +69403,42 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_type = value.type; - Ark_Int32 value_type_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_type_type = INTEROP_RUNTIME_UNDEFINED; value_type_type = runtimeType(value_type); valueSerializer.writeInt8(value_type_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_stateEffect = value.stateEffect; - Ark_Int32 value_stateEffect_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_stateEffect_type = INTEROP_RUNTIME_UNDEFINED; value_stateEffect_type = runtimeType(value_stateEffect); valueSerializer.writeInt8(value_stateEffect_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_stateEffect_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_stateEffect_type)) { const auto value_stateEffect_value = value_stateEffect.value; valueSerializer.writeBoolean(value_stateEffect_value); } const auto value_buttonStyle = value.buttonStyle; - Ark_Int32 value_buttonStyle_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_buttonStyle_type = INTEROP_RUNTIME_UNDEFINED; value_buttonStyle_type = runtimeType(value_buttonStyle); valueSerializer.writeInt8(value_buttonStyle_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_buttonStyle_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_buttonStyle_type)) { const auto value_buttonStyle_value = value_buttonStyle.value; valueSerializer.writeInt32(static_cast(value_buttonStyle_value)); } const auto value_controlSize = value.controlSize; - Ark_Int32 value_controlSize_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_controlSize_type = INTEROP_RUNTIME_UNDEFINED; value_controlSize_type = runtimeType(value_controlSize); valueSerializer.writeInt8(value_controlSize_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_controlSize_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_controlSize_type)) { const auto value_controlSize_value = value_controlSize.value; valueSerializer.writeInt32(value_controlSize_value); } const auto value_role = value.role; - Ark_Int32 value_role_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_role_type = INTEROP_RUNTIME_UNDEFINED; value_role_type = runtimeType(value_role); valueSerializer.writeInt8(value_role_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_role_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_role_type)) { const auto value_role_value = value_role.value; valueSerializer.writeInt32(static_cast(value_role_value)); } @@ -69444,19 +69447,19 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_position = value.position; - Ark_Int32 value_position_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_position_type = INTEROP_RUNTIME_UNDEFINED; value_position_type = runtimeType(value_position); valueSerializer.writeInt8(value_position_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_position_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_position_type)) { const auto value_position_value = value_position.value; - Ark_Int32 value_position_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_position_value_type = INTEROP_RUNTIME_UNDEFINED; value_position_value_type = value_position_value.selector; if (((value_position_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_position_value_0 = value_position_value.value0; valueSerializer.writeInt32(static_cast(value_position_value_0)); } - else if (((value_position_value_type == 0))) { + else if (((value_position_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_position_value_1 = value_position_value.value1; valueSerializer.writePosition(value_position_value_1); @@ -69471,19 +69474,19 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_position = value.position; - Ark_Int32 value_position_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_position_type = INTEROP_RUNTIME_UNDEFINED; value_position_type = runtimeType(value_position); valueSerializer.writeInt8(value_position_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_position_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_position_type)) { const auto value_position_value = value_position.value; - Ark_Int32 value_position_value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_position_value_type = INTEROP_RUNTIME_UNDEFINED; value_position_value_type = value_position_value.selector; if (((value_position_value_type == 0))) { valueSerializer.writeInt8(0); const auto value_position_value_0 = value_position_value.value0; valueSerializer.writeInt32(static_cast(value_position_value_0)); } - else if (((value_position_value_type == 0))) { + else if (((value_position_value_type == 1))) { valueSerializer.writeInt8(1); const auto value_position_value_1 = value_position_value.value1; valueSerializer.writePosition(value_position_value_1); @@ -69494,10 +69497,10 @@ class Serializer : public SerializerBase { const auto value_count = value.count; valueSerializer.writeNumber(value_count); const auto value_maxCount = value.maxCount; - Ark_Int32 value_maxCount_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_maxCount_type = INTEROP_RUNTIME_UNDEFINED; value_maxCount_type = runtimeType(value_maxCount); valueSerializer.writeInt8(value_maxCount_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_maxCount_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maxCount_type)) { const auto value_maxCount_value = value_maxCount.value; valueSerializer.writeNumber(value_maxCount_value); } @@ -69518,95 +69521,95 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_enabled = value.enabled; - Ark_Int32 value_enabled_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_enabled_type = INTEROP_RUNTIME_UNDEFINED; value_enabled_type = runtimeType(value_enabled); valueSerializer.writeInt8(value_enabled_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_defaultFocus = value.defaultFocus; - Ark_Int32 value_defaultFocus_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_defaultFocus_type = INTEROP_RUNTIME_UNDEFINED; value_defaultFocus_type = runtimeType(value_defaultFocus); valueSerializer.writeInt8(value_defaultFocus_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_defaultFocus_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_defaultFocus_type)) { const auto value_defaultFocus_value = value_defaultFocus.value; valueSerializer.writeBoolean(value_defaultFocus_value); } const auto value_style = value.style; - Ark_Int32 value_style_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_style_type = INTEROP_RUNTIME_UNDEFINED; value_style_type = runtimeType(value_style); valueSerializer.writeInt8(value_style_type); - if ((ARK_RUNTIME_UNDEFINED) != (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_value = value.value; - Ark_Int32 value_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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_fontColor = value.fontColor; - Ark_Int32 value_fontColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_fontColor_type = INTEROP_RUNTIME_UNDEFINED; value_fontColor_type = runtimeType(value_fontColor); valueSerializer.writeInt8(value_fontColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_fontColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fontColor_type)) { const auto value_fontColor_value = value_fontColor.value; - Ark_Int32 value_fontColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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_backgroundColor = value.backgroundColor; - Ark_Int32 value_backgroundColor_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_backgroundColor_type = INTEROP_RUNTIME_UNDEFINED; value_backgroundColor_type = runtimeType(value_backgroundColor); valueSerializer.writeInt8(value_backgroundColor_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_backgroundColor_type)) { const auto value_backgroundColor_value = value_backgroundColor.value; - Ark_Int32 value_backgroundColor_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 == 0))) { + 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 == 0))) { + 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); @@ -69617,10 +69620,10 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_action.call)); valueSerializer.writePointer(reinterpret_cast(value_action.callSync)); const auto value_primary = value.primary; - Ark_Int32 value_primary_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_primary_type = INTEROP_RUNTIME_UNDEFINED; value_primary_type = runtimeType(value_primary); valueSerializer.writeInt8(value_primary_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_primary_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_primary_type)) { const auto value_primary_value = value_primary.value; valueSerializer.writeBoolean(value_primary_value); } @@ -69639,32 +69642,32 @@ class Serializer : public SerializerBase { { Serializer& valueSerializer = *this; const auto value_title = value.title; - Ark_Int32 value_title_type = ARK_RUNTIME_UNDEFINED; + 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 == 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 = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_icon_type = INTEROP_RUNTIME_UNDEFINED; value_icon_type = runtimeType(value_icon); valueSerializer.writeInt8(value_icon_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_icon_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_icon_type)) { const auto value_icon_value = value_icon.value; - Ark_Int32 value_icon_value_type = ARK_RUNTIME_UNDEFINED; + 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 == 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); @@ -69693,8 +69696,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (params_buf_runtimeType)) + 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_ = {}; @@ -69708,8 +69711,8 @@ class Deserializer : public DeserializerBase { value.params = params_buf; const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number type_buf = {}; - type_buf.tag = type_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + 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()); } @@ -69753,8 +69756,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + 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_ = {}; @@ -69783,8 +69786,8 @@ class Deserializer : public DeserializerBase { value.color = color_buf; const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Dimension_BorderRadiuses radius_buf = {}; - radius_buf.tag = radius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) + 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_Dimension_BorderRadiuses radius_buf_ = {}; @@ -69798,32 +69801,32 @@ class Deserializer : public DeserializerBase { Ark_BorderRadiuses radius_buf__u = {}; const auto radius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length radius_buf__u_topLeft_buf = {}; - radius_buf__u_topLeft_buf.tag = radius_buf__u_topLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf__u_topLeft_buf_runtimeType)) + 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)) { radius_buf__u_topLeft_buf.value = valueDeserializer.readLength(); } radius_buf__u.topLeft = radius_buf__u_topLeft_buf; const auto radius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length radius_buf__u_topRight_buf = {}; - radius_buf__u_topRight_buf.tag = radius_buf__u_topRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf__u_topRight_buf_runtimeType)) + 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)) { radius_buf__u_topRight_buf.value = valueDeserializer.readLength(); } radius_buf__u.topRight = radius_buf__u_topRight_buf; const auto radius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length radius_buf__u_bottomLeft_buf = {}; - radius_buf__u_bottomLeft_buf.tag = radius_buf__u_bottomLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf__u_bottomLeft_buf_runtimeType)) + 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)) { radius_buf__u_bottomLeft_buf.value = valueDeserializer.readLength(); } radius_buf__u.bottomLeft = radius_buf__u_bottomLeft_buf; const auto radius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length radius_buf__u_bottomRight_buf = {}; - radius_buf__u_bottomRight_buf.tag = radius_buf__u_bottomRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf__u_bottomRight_buf_runtimeType)) + 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)) { radius_buf__u_bottomRight_buf.value = valueDeserializer.readLength(); } @@ -69844,8 +69847,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto margin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_LengthMetrics_Margin margin_buf = {}; - margin_buf.tag = margin_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (margin_buf_runtimeType)) + 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_LengthMetrics_Margin margin_buf_ = {}; @@ -69859,32 +69862,32 @@ class Deserializer : public DeserializerBase { Ark_Padding margin_buf__u = {}; const auto margin_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length margin_buf__u_top_buf = {}; - margin_buf__u_top_buf.tag = margin_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (margin_buf__u_top_buf_runtimeType)) + 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)) { margin_buf__u_top_buf.value = valueDeserializer.readLength(); } margin_buf__u.top = margin_buf__u_top_buf; const auto margin_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length margin_buf__u_right_buf = {}; - margin_buf__u_right_buf.tag = margin_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (margin_buf__u_right_buf_runtimeType)) + 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)) { margin_buf__u_right_buf.value = valueDeserializer.readLength(); } margin_buf__u.right = margin_buf__u_right_buf; const auto margin_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length margin_buf__u_bottom_buf = {}; - margin_buf__u_bottom_buf.tag = margin_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (margin_buf__u_bottom_buf_runtimeType)) + 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)) { margin_buf__u_bottom_buf.value = valueDeserializer.readLength(); } margin_buf__u.bottom = margin_buf__u_bottom_buf; const auto margin_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length margin_buf__u_left_buf = {}; - margin_buf__u_left_buf.tag = margin_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (margin_buf__u_left_buf_runtimeType)) + 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)) { margin_buf__u_left_buf.value = valueDeserializer.readLength(); } @@ -69899,8 +69902,8 @@ class Deserializer : public DeserializerBase { value.margin = margin_buf; const auto padding_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_LengthMetrics_Padding padding_buf = {}; - padding_buf.tag = padding_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (padding_buf_runtimeType)) + padding_buf.tag = padding_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (padding_buf_runtimeType)) { const Ark_Int8 padding_buf__selector = valueDeserializer.readInt8(); Ark_Union_LengthMetrics_Padding padding_buf_ = {}; @@ -69914,32 +69917,32 @@ class Deserializer : public DeserializerBase { Ark_Padding padding_buf__u = {}; const auto padding_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length padding_buf__u_top_buf = {}; - padding_buf__u_top_buf.tag = padding_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (padding_buf__u_top_buf_runtimeType)) + 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)) { padding_buf__u_top_buf.value = valueDeserializer.readLength(); } padding_buf__u.top = padding_buf__u_top_buf; const auto padding_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length padding_buf__u_right_buf = {}; - padding_buf__u_right_buf.tag = padding_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (padding_buf__u_right_buf_runtimeType)) + 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)) { padding_buf__u_right_buf.value = valueDeserializer.readLength(); } padding_buf__u.right = padding_buf__u_right_buf; const auto padding_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length padding_buf__u_bottom_buf = {}; - padding_buf__u_bottom_buf.tag = padding_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (padding_buf__u_bottom_buf_runtimeType)) + 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)) { padding_buf__u_bottom_buf.value = valueDeserializer.readLength(); } padding_buf__u.bottom = padding_buf__u_bottom_buf; const auto padding_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length padding_buf__u_left_buf = {}; - padding_buf__u_left_buf.tag = padding_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (padding_buf__u_left_buf_runtimeType)) + 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)) { padding_buf__u_left_buf.value = valueDeserializer.readLength(); } @@ -69954,8 +69957,8 @@ class Deserializer : public DeserializerBase { value.padding = padding_buf; const auto borderRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_LengthMetrics_BorderRadiuses borderRadius_buf = {}; - borderRadius_buf.tag = borderRadius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf_runtimeType)) + 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_LengthMetrics_BorderRadiuses borderRadius_buf_ = {}; @@ -69969,32 +69972,32 @@ class Deserializer : public DeserializerBase { Ark_BorderRadiuses borderRadius_buf__u = {}; const auto borderRadius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf__u_topLeft_buf = {}; - borderRadius_buf__u_topLeft_buf.tag = borderRadius_buf__u_topLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf__u_topLeft_buf_runtimeType)) + 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)) { borderRadius_buf__u_topLeft_buf.value = valueDeserializer.readLength(); } borderRadius_buf__u.topLeft = borderRadius_buf__u_topLeft_buf; const auto borderRadius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf__u_topRight_buf = {}; - borderRadius_buf__u_topRight_buf.tag = borderRadius_buf__u_topRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf__u_topRight_buf_runtimeType)) + 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)) { borderRadius_buf__u_topRight_buf.value = valueDeserializer.readLength(); } borderRadius_buf__u.topRight = borderRadius_buf__u_topRight_buf; const auto borderRadius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf__u_bottomLeft_buf = {}; - borderRadius_buf__u_bottomLeft_buf.tag = borderRadius_buf__u_bottomLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf__u_bottomLeft_buf_runtimeType)) + 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)) { borderRadius_buf__u_bottomLeft_buf.value = valueDeserializer.readLength(); } borderRadius_buf__u.bottomLeft = borderRadius_buf__u_bottomLeft_buf; const auto borderRadius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf__u_bottomRight_buf = {}; - borderRadius_buf__u_bottomRight_buf.tag = borderRadius_buf__u_bottomRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf__u_bottomRight_buf_runtimeType)) + 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)) { borderRadius_buf__u_bottomRight_buf.value = valueDeserializer.readLength(); } @@ -70015,16 +70018,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.width = width_buf; const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length height_buf = {}; - height_buf.tag = height_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } @@ -70037,16 +70040,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length x_buf = {}; - x_buf.tag = x_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.x = x_buf; const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length y_buf = {}; - y_buf.tag = y_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } @@ -70081,16 +70084,16 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + 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 color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Color_String_Resource_ColoringStrategy color_buf = {}; - color_buf.tag = color_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + 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_ = {}; @@ -70119,8 +70122,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offsetX_buf_runtimeType)) + 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 offsetX_buf__selector = valueDeserializer.readInt8(); Ark_Union_Number_Resource offsetX_buf_ = {}; @@ -70141,8 +70144,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offsetY_buf_runtimeType)) + 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 offsetY_buf__selector = valueDeserializer.readInt8(); Ark_Union_Number_Resource offsetY_buf_ = {}; @@ -70163,8 +70166,8 @@ class Deserializer : public DeserializerBase { value.offsetY = offsetY_buf; const auto fill_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean fill_buf = {}; - fill_buf.tag = fill_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fill_buf_runtimeType)) + 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(); } @@ -70177,48 +70180,48 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto xs_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length xs_buf = {}; - xs_buf.tag = xs_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (xs_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.xs = xs_buf; const auto sm_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length sm_buf = {}; - sm_buf.tag = sm_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (sm_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.sm = sm_buf; const auto md_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length md_buf = {}; - md_buf.tag = md_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (md_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.md = md_buf; const auto lg_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length lg_buf = {}; - lg_buf.tag = lg_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (lg_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.lg = lg_buf; const auto xl_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length xl_buf = {}; - xl_buf.tag = xl_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (xl_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.xl = xl_buf; const auto xxl_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length xxl_buf = {}; - xxl_buf.tag = xxl_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (xxl_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } @@ -70263,48 +70266,48 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto textAlign_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TextAlign textAlign_buf = {}; - textAlign_buf.tag = textAlign_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (textAlign_buf_runtimeType)) + 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_Number textIndent_buf = {}; - textIndent_buf.tag = textIndent_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (textIndent_buf_runtimeType)) + 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.readNumber()); } value.textIndent = textIndent_buf; const auto maxLines_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number maxLines_buf = {}; - maxLines_buf.tag = maxLines_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (maxLines_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (overflow_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (wordBreak_buf_runtimeType)) + 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_Number_LeadingMarginPlaceholder leadingMargin_buf = {}; - leadingMargin_buf.tag = leadingMargin_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (leadingMargin_buf_runtimeType)) + 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_Number_LeadingMarginPlaceholder leadingMargin_buf_ = {}; @@ -70332,32 +70335,32 @@ class Deserializer : public DeserializerBase { value.value = static_cast(valueDeserializer.readPixelMap()); const auto size_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_SizeOptions size_buf = {}; - size_buf.tag = size_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) + size_buf.tag = size_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) { size_buf.value = valueDeserializer.readSizeOptions(); } value.size = size_buf; const auto verticalAlign_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ImageSpanAlignment verticalAlign_buf = {}; - verticalAlign_buf.tag = verticalAlign_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (verticalAlign_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (objectFit_buf_runtimeType)) + 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_ImageAttachmentLayoutStyle layoutStyle_buf = {}; - layoutStyle_buf.tag = layoutStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (layoutStyle_buf_runtimeType)) + 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.readImageAttachmentLayoutStyle(); } @@ -70404,8 +70407,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + 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_ = {}; @@ -70434,8 +70437,8 @@ class Deserializer : public DeserializerBase { value.color = color_buf; const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TextDecorationStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + 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()); } @@ -70448,8 +70451,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor fontColor_buf = {}; - fontColor_buf.tag = fontColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontColor_buf_runtimeType)) + 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_ = {}; @@ -70478,32 +70481,32 @@ class Deserializer : public DeserializerBase { value.fontColor = fontColor_buf; const auto fontFamily_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String fontFamily_buf = {}; - fontFamily_buf.tag = fontFamily_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontFamily_buf_runtimeType)) + fontFamily_buf.tag = fontFamily_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontFamily_buf_runtimeType)) { fontFamily_buf.value = static_cast(valueDeserializer.readString()); } value.fontFamily = fontFamily_buf; const auto fontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number fontSize_buf = {}; - fontSize_buf.tag = fontSize_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontSize_buf_runtimeType)) + 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 fontWeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number fontWeight_buf = {}; - fontWeight_buf.tag = fontWeight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontWeight_buf_runtimeType)) + 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.readNumber()); } value.fontWeight = fontWeight_buf; const auto fontStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_FontStyle fontStyle_buf = {}; - fontStyle_buf.tag = fontStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontStyle_buf_runtimeType)) + 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()); } @@ -70526,16 +70529,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto size_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length size_buf = {}; - size_buf.tag = size_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) + size_buf.tag = size_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) { size_buf.value = valueDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (weight_buf_runtimeType)) + 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 weight_buf__selector = valueDeserializer.readInt8(); Ark_Union_FontWeight_Number_String weight_buf_ = {}; @@ -70560,8 +70563,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (family_buf_runtimeType)) + 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 family_buf__selector = valueDeserializer.readInt8(); Ark_Union_String_Resource family_buf_ = {}; @@ -70582,8 +70585,8 @@ class Deserializer : public DeserializerBase { value.family = family_buf; const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_FontStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + 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()); } @@ -70604,8 +70607,8 @@ class Deserializer : public DeserializerBase { value.normal = valueDeserializer.readSymbolGlyphModifier(); const auto selected_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_SymbolGlyphModifier selected_buf = {}; - selected_buf.tag = selected_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) + 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.readSymbolGlyphModifier(); } @@ -70625,16 +70628,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number duration_buf = {}; - duration_buf.tag = duration_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) + 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_Union_Curve_ICurve curve_buf = {}; - curve_buf.tag = curve_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (curve_buf_runtimeType)) + 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_ = {}; @@ -70655,8 +70658,8 @@ class Deserializer : public DeserializerBase { value.curve = curve_buf; const auto canOverScroll_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean canOverScroll_buf = {}; - canOverScroll_buf.tag = canOverScroll_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (canOverScroll_buf_runtimeType)) + 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(); } @@ -70669,8 +70672,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto margin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Dimension_Margin margin_buf = {}; - margin_buf.tag = margin_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (margin_buf_runtimeType)) + 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_ = {}; @@ -70684,32 +70687,32 @@ class Deserializer : public DeserializerBase { Ark_Padding margin_buf__u = {}; const auto margin_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length margin_buf__u_top_buf = {}; - margin_buf__u_top_buf.tag = margin_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (margin_buf__u_top_buf_runtimeType)) + 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)) { margin_buf__u_top_buf.value = valueDeserializer.readLength(); } margin_buf__u.top = margin_buf__u_top_buf; const auto margin_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length margin_buf__u_right_buf = {}; - margin_buf__u_right_buf.tag = margin_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (margin_buf__u_right_buf_runtimeType)) + 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)) { margin_buf__u_right_buf.value = valueDeserializer.readLength(); } margin_buf__u.right = margin_buf__u_right_buf; const auto margin_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length margin_buf__u_bottom_buf = {}; - margin_buf__u_bottom_buf.tag = margin_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (margin_buf__u_bottom_buf_runtimeType)) + 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)) { margin_buf__u_bottom_buf.value = valueDeserializer.readLength(); } margin_buf__u.bottom = margin_buf__u_bottom_buf; const auto margin_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length margin_buf__u_left_buf = {}; - margin_buf__u_left_buf.tag = margin_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (margin_buf__u_left_buf_runtimeType)) + 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)) { margin_buf__u_left_buf.value = valueDeserializer.readLength(); } @@ -70724,8 +70727,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf_runtimeType)) + 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_ = {}; @@ -70739,32 +70742,32 @@ class Deserializer : public DeserializerBase { Ark_BorderRadiuses borderRadius_buf__u = {}; const auto borderRadius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf__u_topLeft_buf = {}; - borderRadius_buf__u_topLeft_buf.tag = borderRadius_buf__u_topLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf__u_topLeft_buf_runtimeType)) + 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)) { borderRadius_buf__u_topLeft_buf.value = valueDeserializer.readLength(); } borderRadius_buf__u.topLeft = borderRadius_buf__u_topLeft_buf; const auto borderRadius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf__u_topRight_buf = {}; - borderRadius_buf__u_topRight_buf.tag = borderRadius_buf__u_topRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf__u_topRight_buf_runtimeType)) + 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)) { borderRadius_buf__u_topRight_buf.value = valueDeserializer.readLength(); } borderRadius_buf__u.topRight = borderRadius_buf__u_topRight_buf; const auto borderRadius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf__u_bottomLeft_buf = {}; - borderRadius_buf__u_bottomLeft_buf.tag = borderRadius_buf__u_bottomLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf__u_bottomLeft_buf_runtimeType)) + 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)) { borderRadius_buf__u_bottomLeft_buf.value = valueDeserializer.readLength(); } borderRadius_buf__u.bottomLeft = borderRadius_buf__u_bottomLeft_buf; const auto borderRadius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf__u_bottomRight_buf = {}; - borderRadius_buf__u_bottomRight_buf.tag = borderRadius_buf__u_bottomRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf__u_bottomRight_buf_runtimeType)) + 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)) { borderRadius_buf__u_bottomRight_buf.value = valueDeserializer.readLength(); } @@ -70809,8 +70812,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + 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()); } @@ -70824,8 +70827,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + 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_ = {}; @@ -70854,8 +70857,8 @@ class Deserializer : public DeserializerBase { value.color = color_buf; const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TextDecorationStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + 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()); } @@ -70868,8 +70871,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor top_buf = {}; - top_buf.tag = top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + 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_ = {}; @@ -70898,8 +70901,8 @@ class Deserializer : public DeserializerBase { value.top = top_buf; const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor end_buf = {}; - end_buf.tag = end_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + 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 end_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor end_buf_ = {}; @@ -70928,8 +70931,8 @@ class Deserializer : public DeserializerBase { value.end = end_buf; const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor bottom_buf = {}; - bottom_buf.tag = bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + 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_ResourceColor bottom_buf_ = {}; @@ -70958,8 +70961,8 @@ class Deserializer : public DeserializerBase { value.bottom = bottom_buf; const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor start_buf = {}; - start_buf.tag = start_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + 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 start_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor start_buf_ = {}; @@ -70994,32 +70997,32 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics top_buf = {}; - top_buf.tag = top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + 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.readLengthMetrics(); } value.top = top_buf; const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics end_buf = {}; - end_buf.tag = end_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + 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.readLengthMetrics(); } value.end = end_buf; const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics bottom_buf = {}; - bottom_buf.tag = bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + 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.readLengthMetrics(); } value.bottom = bottom_buf; const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics start_buf = {}; - start_buf.tag = start_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + 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.readLengthMetrics(); } @@ -71047,8 +71050,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (subtitle_buf_runtimeType)) + 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 subtitle_buf__selector = valueDeserializer.readInt8(); Ark_ResourceStr subtitle_buf_ = {}; @@ -71081,32 +71084,32 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto topStart_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics topStart_buf = {}; - topStart_buf.tag = topStart_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (topStart_buf_runtimeType)) + 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 = 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (topEnd_buf_runtimeType)) + 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 = 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (bottomStart_buf_runtimeType)) + 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 = 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (bottomEnd_buf_runtimeType)) + 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 = valueDeserializer.readLengthMetrics(); } @@ -71177,32 +71180,32 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length x_buf = {}; - x_buf.tag = x_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.x = x_buf; const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length y_buf = {}; - y_buf.tag = y_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.y = y_buf; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.width = width_buf; const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length height_buf = {}; - height_buf.tag = height_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } @@ -71215,8 +71218,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + 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_ = {}; @@ -71245,8 +71248,8 @@ class Deserializer : public DeserializerBase { value.color = color_buf; const auto font_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Font font_buf = {}; - font_buf.tag = font_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (font_buf_runtimeType)) + font_buf.tag = font_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (font_buf_runtimeType)) { font_buf.value = valueDeserializer.readFont(); } @@ -71259,40 +71262,40 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ButtonType type_buf = {}; - type_buf.tag = type_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + 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 style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ButtonStyleMode style_buf = {}; - style_buf.tag = style_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + 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 role_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ButtonRole role_buf = {}; - role_buf.tag = role_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (role_buf_runtimeType)) + 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; const auto fontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length fontSize_buf = {}; - fontSize_buf.tag = fontSize_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontSize_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.fontSize = fontSize_buf; const auto fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor fontColor_buf = {}; - fontColor_buf.tag = fontColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontColor_buf_runtimeType)) + 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_ = {}; @@ -71321,8 +71324,8 @@ class Deserializer : public DeserializerBase { value.fontColor = fontColor_buf; const auto fontWeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_FontWeight_Number_String fontWeight_buf = {}; - fontWeight_buf.tag = fontWeight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontWeight_buf_runtimeType)) + 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_FontWeight_Number_String fontWeight_buf_ = {}; @@ -71347,16 +71350,16 @@ class Deserializer : public DeserializerBase { value.fontWeight = fontWeight_buf; const auto fontStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_FontStyle fontStyle_buf = {}; - fontStyle_buf.tag = fontStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontStyle_buf_runtimeType)) + 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 fontFamily_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Resource_String fontFamily_buf = {}; - fontFamily_buf.tag = fontFamily_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontFamily_buf_runtimeType)) + 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_Union_Resource_String fontFamily_buf_ = {}; @@ -71377,8 +71380,8 @@ class Deserializer : public DeserializerBase { value.fontFamily = fontFamily_buf; const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + 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_ = {}; @@ -71407,8 +71410,8 @@ class Deserializer : public DeserializerBase { value.backgroundColor = backgroundColor_buf; const auto borderRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Length_BorderRadiuses borderRadius_buf = {}; - borderRadius_buf.tag = borderRadius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf_runtimeType)) + 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_Length_BorderRadiuses borderRadius_buf_ = {}; @@ -71422,32 +71425,32 @@ class Deserializer : public DeserializerBase { Ark_BorderRadiuses borderRadius_buf__u = {}; const auto borderRadius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf__u_topLeft_buf = {}; - borderRadius_buf__u_topLeft_buf.tag = borderRadius_buf__u_topLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf__u_topLeft_buf_runtimeType)) + 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)) { borderRadius_buf__u_topLeft_buf.value = valueDeserializer.readLength(); } borderRadius_buf__u.topLeft = borderRadius_buf__u_topLeft_buf; const auto borderRadius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf__u_topRight_buf = {}; - borderRadius_buf__u_topRight_buf.tag = borderRadius_buf__u_topRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf__u_topRight_buf_runtimeType)) + 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)) { borderRadius_buf__u_topRight_buf.value = valueDeserializer.readLength(); } borderRadius_buf__u.topRight = borderRadius_buf__u_topRight_buf; const auto borderRadius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf__u_bottomLeft_buf = {}; - borderRadius_buf__u_bottomLeft_buf.tag = borderRadius_buf__u_bottomLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf__u_bottomLeft_buf_runtimeType)) + 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)) { borderRadius_buf__u_bottomLeft_buf.value = valueDeserializer.readLength(); } borderRadius_buf__u.bottomLeft = borderRadius_buf__u_bottomLeft_buf; const auto borderRadius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf__u_bottomRight_buf = {}; - borderRadius_buf__u_bottomRight_buf.tag = borderRadius_buf__u_bottomRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf__u_bottomRight_buf_runtimeType)) + 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)) { borderRadius_buf__u_bottomRight_buf.value = valueDeserializer.readLength(); } @@ -71462,8 +71465,8 @@ class Deserializer : public DeserializerBase { value.borderRadius = borderRadius_buf; const auto primary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean primary_buf = {}; - primary_buf.tag = primary_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (primary_buf_runtimeType)) + primary_buf.tag = primary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (primary_buf_runtimeType)) { primary_buf.value = valueDeserializer.readBoolean(); } @@ -71482,8 +71485,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto selectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor selectedColor_buf = {}; - selectedColor_buf.tag = selectedColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (selectedColor_buf_runtimeType)) + 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_ = {}; @@ -71512,8 +71515,8 @@ class Deserializer : public DeserializerBase { value.selectedColor = selectedColor_buf; const auto unselectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor unselectedColor_buf = {}; - unselectedColor_buf.tag = unselectedColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (unselectedColor_buf_runtimeType)) + 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 unselectedColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor unselectedColor_buf_ = {}; @@ -71548,24 +71551,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto overflow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TextOverflow overflow_buf = {}; - overflow_buf.tag = overflow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (overflow_buf_runtimeType)) + 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 maxLines_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number maxLines_buf = {}; - maxLines_buf.tag = maxLines_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (maxLines_buf_runtimeType)) + 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 minFontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_ResourceStr minFontSize_buf = {}; - minFontSize_buf.tag = minFontSize_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (minFontSize_buf_runtimeType)) + 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_ResourceStr minFontSize_buf_ = {}; @@ -71600,8 +71603,8 @@ class Deserializer : public DeserializerBase { value.minFontSize = minFontSize_buf; const auto maxFontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_ResourceStr maxFontSize_buf = {}; - maxFontSize_buf.tag = maxFontSize_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (maxFontSize_buf_runtimeType)) + 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_ResourceStr maxFontSize_buf_ = {}; @@ -71636,16 +71639,16 @@ class Deserializer : public DeserializerBase { value.maxFontSize = maxFontSize_buf; const auto heightAdaptivePolicy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TextHeightAdaptivePolicy heightAdaptivePolicy_buf = {}; - heightAdaptivePolicy_buf.tag = heightAdaptivePolicy_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (heightAdaptivePolicy_buf_runtimeType)) + heightAdaptivePolicy_buf.tag = heightAdaptivePolicy_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (heightAdaptivePolicy_buf_runtimeType)) { heightAdaptivePolicy_buf.value = static_cast(valueDeserializer.readInt32()); } value.heightAdaptivePolicy = heightAdaptivePolicy_buf; const auto font_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Font font_buf = {}; - font_buf.tag = font_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (font_buf_runtimeType)) + font_buf.tag = font_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (font_buf_runtimeType)) { font_buf.value = valueDeserializer.readFont(); } @@ -71658,8 +71661,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto borderRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf = {}; - borderRadius_buf.tag = borderRadius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } @@ -71672,56 +71675,56 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length left_buf = {}; - left_buf.tag = left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.left = left_buf; const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length top_buf = {}; - top_buf.tag = top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + 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.readLength(); } value.top = top_buf; const auto right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length right_buf = {}; - right_buf.tag = right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.right = right_buf; const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length bottom_buf = {}; - bottom_buf.tag = bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + 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.readLength(); } value.bottom = bottom_buf; const auto size_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length size_buf = {}; - size_buf.tag = size_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) + size_buf.tag = size_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) { size_buf.value = valueDeserializer.readLength(); } value.size = size_buf; const auto mask_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean mask_buf = {}; - mask_buf.tag = mask_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (mask_buf_runtimeType)) + 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(); } value.mask = mask_buf; const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + 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_ = {}; @@ -71750,8 +71753,8 @@ class Deserializer : public DeserializerBase { value.color = color_buf; const auto selectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor selectedColor_buf = {}; - selectedColor_buf.tag = selectedColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (selectedColor_buf_runtimeType)) + 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_ = {}; @@ -71816,16 +71819,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto size_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length size_buf = {}; - size_buf.tag = size_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) + size_buf.tag = size_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) { size_buf.value = valueDeserializer.readLength(); } value.size = size_buf; const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + 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_ = {}; @@ -71854,8 +71857,8 @@ class Deserializer : public DeserializerBase { value.color = color_buf; const auto src_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr src_buf = {}; - src_buf.tag = src_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (src_buf_runtimeType)) + 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 src_buf__selector = valueDeserializer.readInt8(); Ark_ResourceStr src_buf_ = {}; @@ -71888,8 +71891,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (layoutStyle_buf_runtimeType)) + 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(); } @@ -71913,16 +71916,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto textAlign_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TextAlign textAlign_buf = {}; - textAlign_buf.tag = textAlign_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (textAlign_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (leadingMargin_buf_runtimeType)) + 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_ = {}; @@ -71943,16 +71946,16 @@ class Deserializer : public DeserializerBase { value.leadingMargin = leadingMargin_buf; const auto wordBreak_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_WordBreak wordBreak_buf = {}; - wordBreak_buf.tag = wordBreak_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (wordBreak_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (lineBreakStrategy_buf_runtimeType)) + 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()); } @@ -71965,8 +71968,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontSize_buf_runtimeType)) + 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_ = {}; @@ -71991,8 +71994,8 @@ class Deserializer : public DeserializerBase { value.fontSize = fontSize_buf; const auto fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Array_ResourceColor fontColor_buf = {}; - fontColor_buf.tag = fontColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontColor_buf_runtimeType)) + fontColor_buf.tag = fontColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fontColor_buf_runtimeType)) { const Ark_Int32 fontColor_buf__length = valueDeserializer.readInt32(); Array_ResourceColor fontColor_buf_ = {}; @@ -72028,8 +72031,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontWeight_buf_runtimeType)) + 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_ = {}; @@ -72054,16 +72057,16 @@ class Deserializer : public DeserializerBase { value.fontWeight = fontWeight_buf; const auto effectStrategy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_SymbolEffectStrategy effectStrategy_buf = {}; - effectStrategy_buf.tag = effectStrategy_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (effectStrategy_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (renderingStrategy_buf_runtimeType)) + 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()); } @@ -72104,8 +72107,8 @@ class Deserializer : public DeserializerBase { value.decoration = valueDeserializer.readDecorationStyleResult(); const auto textShadow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Array_ShadowOptions textShadow_buf = {}; - textShadow_buf.tag = textShadow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (textShadow_buf_runtimeType)) + textShadow_buf.tag = textShadow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textShadow_buf_runtimeType)) { const Ark_Int32 textShadow_buf__length = valueDeserializer.readInt32(); Array_ShadowOptions textShadow_buf_ = {}; @@ -72119,24 +72122,24 @@ class Deserializer : public DeserializerBase { value.textShadow = textShadow_buf; const auto letterSpacing_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number letterSpacing_buf = {}; - letterSpacing_buf.tag = letterSpacing_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (letterSpacing_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (lineHeight_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontFeature_buf_runtimeType)) + 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()); } @@ -72149,8 +72152,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto size_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Tuple_Dimension_Dimension size_buf = {}; - size_buf.tag = size_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) + 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_ = {}; size_buf_.value0 = valueDeserializer.readLength(); @@ -72160,24 +72163,24 @@ class Deserializer : public DeserializerBase { value.size = size_buf; const auto verticalAlign_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ImageSpanAlignment verticalAlign_buf = {}; - verticalAlign_buf.tag = verticalAlign_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (verticalAlign_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (objectFit_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (layoutStyle_buf_runtimeType)) + 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(); } @@ -72190,8 +72193,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor fontColor_buf = {}; - fontColor_buf.tag = fontColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontColor_buf_runtimeType)) + 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_ = {}; @@ -72220,8 +72223,8 @@ class Deserializer : public DeserializerBase { value.fontColor = fontColor_buf; const auto fontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Length_Number fontSize_buf = {}; - fontSize_buf.tag = fontSize_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontSize_buf_runtimeType)) + 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_Length_Number fontSize_buf_ = {}; @@ -72242,16 +72245,16 @@ class Deserializer : public DeserializerBase { value.fontSize = fontSize_buf; const auto fontStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_FontStyle fontStyle_buf = {}; - fontStyle_buf.tag = fontStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontStyle_buf_runtimeType)) + 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 fontWeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_FontWeight_String fontWeight_buf = {}; - fontWeight_buf.tag = fontWeight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontWeight_buf_runtimeType)) + 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_ = {}; @@ -72276,8 +72279,8 @@ class Deserializer : public DeserializerBase { value.fontWeight = fontWeight_buf; const auto fontFamily_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr fontFamily_buf = {}; - fontFamily_buf.tag = fontFamily_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontFamily_buf_runtimeType)) + 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_ = {}; @@ -72298,16 +72301,16 @@ class Deserializer : public DeserializerBase { value.fontFamily = fontFamily_buf; const auto decoration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_DecorationStyleInterface decoration_buf = {}; - decoration_buf.tag = decoration_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (decoration_buf_runtimeType)) + 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(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (textShadow_buf_runtimeType)) + 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_ = {}; @@ -72335,8 +72338,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (letterSpacing_buf_runtimeType)) + 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_ = {}; @@ -72357,8 +72360,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (lineHeight_buf_runtimeType)) + 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_ = {}; @@ -72383,8 +72386,8 @@ class Deserializer : public DeserializerBase { value.lineHeight = lineHeight_buf; const auto fontFeature_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String fontFeature_buf = {}; - fontFeature_buf.tag = fontFeature_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontFeature_buf_runtimeType)) + 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()); } @@ -72397,16 +72400,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto onClick_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_ClickEvent_Void onClick_buf = {}; - onClick_buf.tag = onClick_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onClick_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onLongPress_buf_runtimeType)) + 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))))}; } @@ -72426,24 +72429,24 @@ class Deserializer : public DeserializerBase { value.name = static_cast(valueDeserializer.readString()); const auto param_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_CustomObject param_buf = {}; - param_buf.tag = param_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (param_buf_runtimeType)) + 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.readCustomObject("Any")); } value.param = param_buf; const auto onPop_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_PopInfo_Void onPop_buf = {}; - onPop_buf.tag = onPop_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onPop_buf_runtimeType)) + onPop_buf.tag = onPop_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onPop_buf_runtimeType)) { onPop_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_PopInfo_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_PopInfo_Void))))}; } value.onPop = onPop_buf; const auto isEntry_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean isEntry_buf = {}; - isEntry_buf.tag = isEntry_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (isEntry_buf_runtimeType)) + isEntry_buf.tag = isEntry_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isEntry_buf_runtimeType)) { isEntry_buf.value = valueDeserializer.readBoolean(); } @@ -72461,48 +72464,48 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto builder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_CustomNodeBuilder builder_buf = {}; - builder_buf.tag = builder_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (builder_buf_runtimeType)) + 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 actionAreaDistance_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length actionAreaDistance_buf = {}; - actionAreaDistance_buf.tag = actionAreaDistance_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (actionAreaDistance_buf_runtimeType)) + actionAreaDistance_buf.tag = actionAreaDistance_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (actionAreaDistance_buf_runtimeType)) { actionAreaDistance_buf.value = valueDeserializer.readLength(); } value.actionAreaDistance = actionAreaDistance_buf; const auto onAction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void onAction_buf = {}; - onAction_buf.tag = onAction_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onAction_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onEnterActionArea_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onExitActionArea_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onStateChange_buf_runtimeType)) + 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))))}; } @@ -72515,48 +72518,48 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto xs_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number xs_buf = {}; - xs_buf.tag = xs_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (xs_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (sm_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (md_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (lg_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (xl_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (xxl_buf_runtimeType)) + 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()); } @@ -72569,8 +72572,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Length_GridRowSizeOption x_buf = {}; - x_buf.tag = x_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) + 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_Length_GridRowSizeOption x_buf_ = {}; @@ -72591,8 +72594,8 @@ class Deserializer : public DeserializerBase { value.x = x_buf; const auto y_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Length_GridRowSizeOption y_buf = {}; - y_buf.tag = y_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + 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_Length_GridRowSizeOption y_buf_ = {}; @@ -72619,48 +72622,48 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto xs_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number xs_buf = {}; - xs_buf.tag = xs_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (xs_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (sm_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (md_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (lg_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (xl_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (xxl_buf_runtimeType)) + 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()); } @@ -72673,8 +72676,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto angle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_String angle_buf = {}; - angle_buf.tag = angle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (angle_buf_runtimeType)) + 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_ = {}; @@ -72695,8 +72698,8 @@ class Deserializer : public DeserializerBase { value.angle = angle_buf; const auto direction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_GradientDirection direction_buf = {}; - direction_buf.tag = direction_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) + 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()); } @@ -72736,8 +72739,8 @@ class Deserializer : public DeserializerBase { value.colors = colors_buf; const auto repeating_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean repeating_buf = {}; - repeating_buf.tag = repeating_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (repeating_buf_runtimeType)) + 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(); } @@ -72750,8 +72753,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto selectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor selectedColor_buf = {}; - selectedColor_buf.tag = selectedColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (selectedColor_buf_runtimeType)) + 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_ = {}; @@ -72780,8 +72783,8 @@ class Deserializer : public DeserializerBase { value.selectedColor = selectedColor_buf; const auto unselectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor unselectedColor_buf = {}; - unselectedColor_buf.tag = unselectedColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (unselectedColor_buf_runtimeType)) + 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 unselectedColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor unselectedColor_buf_ = {}; @@ -72810,8 +72813,8 @@ class Deserializer : public DeserializerBase { value.unselectedColor = unselectedColor_buf; const auto strokeColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor strokeColor_buf = {}; - strokeColor_buf.tag = strokeColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (strokeColor_buf_runtimeType)) + 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 strokeColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor strokeColor_buf_ = {}; @@ -72869,24 +72872,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto scale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_CustomObject scale_buf = {}; - scale_buf.tag = scale_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (scale_buf_runtimeType)) + 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.readCustomObject("AnimationRange")); } value.scale = scale_buf; const auto transition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TransitionEffect transition_buf = {}; - transition_buf.tag = transition_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (transition_buf_runtimeType)) + 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_CustomObject hoverScale_buf = {}; - hoverScale_buf.tag = hoverScale_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (hoverScale_buf_runtimeType)) + hoverScale_buf.tag = hoverScale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hoverScale_buf_runtimeType)) { hoverScale_buf.value = static_cast(valueDeserializer.readCustomObject("AnimationRange")); } @@ -72899,8 +72902,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto textColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor textColor_buf = {}; - textColor_buf.tag = textColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (textColor_buf_runtimeType)) + textColor_buf.tag = textColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textColor_buf_runtimeType)) { const Ark_Int8 textColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor textColor_buf_ = {}; @@ -72929,8 +72932,8 @@ class Deserializer : public DeserializerBase { value.textColor = textColor_buf; const auto font_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Font font_buf = {}; - font_buf.tag = font_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (font_buf_runtimeType)) + font_buf.tag = font_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (font_buf_runtimeType)) { font_buf.value = valueDeserializer.readFont(); } @@ -72943,16 +72946,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number x_buf = {}; - x_buf.tag = x_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + 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()); } @@ -72973,24 +72976,24 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (from_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (to_buf_runtimeType)) + 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; const auto rotatable_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean rotatable_buf = {}; - rotatable_buf.tag = rotatable_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (rotatable_buf_runtimeType)) + rotatable_buf.tag = rotatable_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (rotatable_buf_runtimeType)) { rotatable_buf.value = valueDeserializer.readBoolean(); } @@ -73003,32 +73006,32 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number x_buf = {}; - x_buf.tag = x_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (z_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (centerX_buf_runtimeType)) + 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_ = {}; @@ -73049,8 +73052,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (centerY_buf_runtimeType)) + 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_ = {}; @@ -73071,16 +73074,16 @@ class Deserializer : public DeserializerBase { value.centerY = centerY_buf; const auto centerZ_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number centerZ_buf = {}; - centerZ_buf.tag = centerZ_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (centerZ_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (perspective_buf_runtimeType)) + 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()); } @@ -73108,32 +73111,32 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number x_buf = {}; - x_buf.tag = x_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (z_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (centerX_buf_runtimeType)) + 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_ = {}; @@ -73154,8 +73157,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (centerY_buf_runtimeType)) + 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_ = {}; @@ -73182,8 +73185,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_String x_buf = {}; - x_buf.tag = x_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) + 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_ = {}; @@ -73204,8 +73207,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + 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_ = {}; @@ -73226,8 +73229,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (z_buf_runtimeType)) + z_buf.tag = z_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (z_buf_runtimeType)) { const Ark_Int8 z_buf__selector = valueDeserializer.readInt8(); Ark_Union_Number_String z_buf_ = {}; @@ -73274,8 +73277,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto wordBreak_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_WordBreak wordBreak_buf = {}; - wordBreak_buf.tag = wordBreak_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (wordBreak_buf_runtimeType)) + 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()); } @@ -73288,24 +73291,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto enabled_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enabled_buf = {}; - enabled_buf.tag = enabled_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enabled_buf_runtimeType)) + 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(); } value.enabled = enabled_buf; const auto defaultFocus_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean defaultFocus_buf = {}; - defaultFocus_buf.tag = defaultFocus_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (defaultFocus_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + 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()); } @@ -73327,8 +73330,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontColor_buf_runtimeType)) + 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_ = {}; @@ -73357,8 +73360,8 @@ class Deserializer : public DeserializerBase { value.fontColor = fontColor_buf; const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + 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_ = {}; @@ -73438,24 +73441,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto enabled_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enabled_buf = {}; - enabled_buf.tag = enabled_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enabled_buf_runtimeType)) + 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(); } value.enabled = enabled_buf; const auto defaultFocus_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean defaultFocus_buf = {}; - defaultFocus_buf.tag = defaultFocus_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (defaultFocus_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + 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()); } @@ -73498,64 +73501,64 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto bundleName_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String bundleName_buf = {}; - bundleName_buf.tag = bundleName_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (bundleName_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (abilityName_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (deviceId_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (uri_buf_runtimeType)) + 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 type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String type_buf = {}; - type_buf.tag = type_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + 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.readString()); } value.type = type_buf; const auto flags_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number flags_buf = {}; - flags_buf.tag = flags_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (flags_buf_runtimeType)) + 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.readNumber()); } value.flags = flags_buf; const auto action_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String action_buf = {}; - action_buf.tag = action_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (action_buf_runtimeType)) + 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 = static_cast(valueDeserializer.readString()); } value.action = action_buf; const auto parameters_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Map_String_CustomObject parameters_buf = {}; - parameters_buf.tag = parameters_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (parameters_buf_runtimeType)) + parameters_buf.tag = parameters_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (parameters_buf_runtimeType)) { const Ark_Int32 parameters_buf__size = valueDeserializer.readInt32(); Map_String_CustomObject parameters_buf_ = {}; @@ -73571,8 +73574,8 @@ class Deserializer : public DeserializerBase { value.parameters = parameters_buf; const auto entities_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Array_String entities_buf = {}; - entities_buf.tag = entities_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (entities_buf_runtimeType)) + entities_buf.tag = entities_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (entities_buf_runtimeType)) { const Ark_Int32 entities_buf__length = valueDeserializer.readInt32(); Array_String entities_buf_ = {}; @@ -73586,8 +73589,8 @@ class Deserializer : public DeserializerBase { value.entities = entities_buf; const auto moduleName_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String moduleName_buf = {}; - moduleName_buf.tag = moduleName_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (moduleName_buf_runtimeType)) + 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()); } @@ -73606,24 +73609,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto onTransitionEnd_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Boolean_Void onTransitionEnd_buf = {}; - onTransitionEnd_buf.tag = onTransitionEnd_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onTransitionEnd_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (timeout_buf_runtimeType)) + timeout_buf.tag = timeout_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (timeout_buf_runtimeType)) { timeout_buf.value = static_cast(valueDeserializer.readNumber()); } value.timeout = timeout_buf; const auto isInteractive_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean isInteractive_buf = {}; - isInteractive_buf.tag = isInteractive_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (isInteractive_buf_runtimeType)) + isInteractive_buf.tag = isInteractive_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isInteractive_buf_runtimeType)) { isInteractive_buf.value = valueDeserializer.readBoolean(); } @@ -73637,8 +73640,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto name_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String name_buf = {}; - name_buf.tag = name_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (name_buf_runtimeType)) + 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()); } @@ -73646,24 +73649,24 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (mode_buf_runtimeType)) + 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 param_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_CustomObject param_buf = {}; - param_buf.tag = param_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (param_buf_runtimeType)) + 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.readCustomObject("Object")); } value.param = param_buf; const auto navDestinationId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String navDestinationId_buf = {}; - navDestinationId_buf.tag = navDestinationId_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (navDestinationId_buf_runtimeType)) + navDestinationId_buf.tag = navDestinationId_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (navDestinationId_buf_runtimeType)) { navDestinationId_buf.value = static_cast(valueDeserializer.readString()); } @@ -73676,40 +73679,40 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics space_buf = {}; - space_buf.tag = space_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) + 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.readLengthMetrics(); } value.space = space_buf; const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics strokeWidth_buf = {}; - strokeWidth_buf.tag = strokeWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) + 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 = 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (strokeRadius_buf_runtimeType)) + 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 = 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (trackBackgroundColor_buf_runtimeType)) + 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 = 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (trackColor_buf_runtimeType)) + 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 = valueDeserializer.readColorMetrics(); } @@ -73722,16 +73725,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto interval_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number interval_buf = {}; - interval_buf.tag = interval_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (interval_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) + 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()); } @@ -73849,40 +73852,40 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (crossCount_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onGetItemMainSizeByIndex_buf_runtimeType)) + 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_Length columnsGap_buf = {}; - columnsGap_buf.tag = columnsGap_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (columnsGap_buf_runtimeType)) + columnsGap_buf.tag = columnsGap_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (columnsGap_buf_runtimeType)) { columnsGap_buf.value = valueDeserializer.readLength(); } value.columnsGap = columnsGap_buf; const auto rowsGap_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length rowsGap_buf = {}; - rowsGap_buf.tag = rowsGap_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (rowsGap_buf_runtimeType)) + rowsGap_buf.tag = rowsGap_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (rowsGap_buf_runtimeType)) { rowsGap_buf.value = valueDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (margin_buf_runtimeType)) + 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_ = {}; @@ -73892,32 +73895,32 @@ class Deserializer : public DeserializerBase { Ark_Padding margin_buf__u = {}; const auto margin_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length margin_buf__u_top_buf = {}; - margin_buf__u_top_buf.tag = margin_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (margin_buf__u_top_buf_runtimeType)) + 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)) { margin_buf__u_top_buf.value = valueDeserializer.readLength(); } margin_buf__u.top = margin_buf__u_top_buf; const auto margin_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length margin_buf__u_right_buf = {}; - margin_buf__u_right_buf.tag = margin_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (margin_buf__u_right_buf_runtimeType)) + 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)) { margin_buf__u_right_buf.value = valueDeserializer.readLength(); } margin_buf__u.right = margin_buf__u_right_buf; const auto margin_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length margin_buf__u_bottom_buf = {}; - margin_buf__u_bottom_buf.tag = margin_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (margin_buf__u_bottom_buf_runtimeType)) + 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)) { margin_buf__u_bottom_buf.value = valueDeserializer.readLength(); } margin_buf__u.bottom = margin_buf__u_bottom_buf; const auto margin_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length margin_buf__u_left_buf = {}; - margin_buf__u_left_buf.tag = margin_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (margin_buf__u_left_buf_runtimeType)) + 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)) { margin_buf__u_left_buf.value = valueDeserializer.readLength(); } @@ -73954,8 +73957,8 @@ class Deserializer : public DeserializerBase { value.strokeWidth = valueDeserializer.readLength(); const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + 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_ = {}; @@ -73984,16 +73987,16 @@ class Deserializer : public DeserializerBase { value.color = color_buf; const auto startMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length startMargin_buf = {}; - startMargin_buf.tag = startMargin_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (startMargin_buf_runtimeType)) + startMargin_buf.tag = startMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (startMargin_buf_runtimeType)) { startMargin_buf.value = valueDeserializer.readLength(); } value.startMargin = startMargin_buf; const auto endMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length endMargin_buf = {}; - endMargin_buf.tag = endMargin_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (endMargin_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } @@ -74044,8 +74047,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (switching_buf_runtimeType)) + 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_ = {}; @@ -74076,8 +74079,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto types_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Array_ImageAnalyzerType types_buf = {}; - types_buf.tag = types_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (types_buf_runtimeType)) + 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_ = {}; @@ -74091,8 +74094,8 @@ class Deserializer : public DeserializerBase { value.types = types_buf; const auto aiController_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ImageAnalyzerController aiController_buf = {}; - aiController_buf.tag = aiController_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (aiController_buf_runtimeType)) + 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()); } @@ -74125,16 +74128,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto offsetX_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number offsetX_buf = {}; - offsetX_buf.tag = offsetX_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offsetX_buf_runtimeType)) + offsetX_buf.tag = offsetX_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offsetX_buf_runtimeType)) { offsetX_buf.value = static_cast(valueDeserializer.readNumber()); } value.offsetX = offsetX_buf; const auto offsetY_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number offsetY_buf = {}; - offsetY_buf.tag = offsetY_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offsetY_buf_runtimeType)) + offsetY_buf.tag = offsetY_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offsetY_buf_runtimeType)) { offsetY_buf.value = static_cast(valueDeserializer.readNumber()); } @@ -74149,8 +74152,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto lock_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean lock_buf = {}; - lock_buf.tag = lock_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (lock_buf_runtimeType)) + lock_buf.tag = lock_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (lock_buf_runtimeType)) { lock_buf.value = valueDeserializer.readBoolean(); } @@ -74163,32 +74166,32 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto onAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void onAppear_buf = {}; - onAppear_buf.tag = onAppear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onAppear_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onDisappear_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (preview_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (menuType_buf_runtimeType)) + menuType_buf.tag = menuType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (menuType_buf_runtimeType)) { menuType_buf.value = static_cast(valueDeserializer.readInt32()); } @@ -74209,59 +74212,9 @@ class Deserializer : public DeserializerBase { } Ark_TouchEvent readTouchEvent() { - Ark_TouchEvent value = {}; Deserializer& valueDeserializer = *this; - value.target = valueDeserializer.readEventTarget(); - value.timestamp = static_cast(valueDeserializer.readNumber()); - value.source = static_cast(valueDeserializer.readInt32()); - const auto axisHorizontal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number axisHorizontal_buf = {}; - axisHorizontal_buf.tag = axisHorizontal_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.axisHorizontal = axisHorizontal_buf; - const auto axisVertical_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number axisVertical_buf = {}; - axisVertical_buf.tag = axisVertical_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.axisVertical = axisVertical_buf; - value.pressure = static_cast(valueDeserializer.readNumber()); - value.tiltX = static_cast(valueDeserializer.readNumber()); - value.tiltY = static_cast(valueDeserializer.readNumber()); - value.sourceTool = static_cast(valueDeserializer.readInt32()); - const auto deviceId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number deviceId_buf = {}; - deviceId_buf.tag = deviceId_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.deviceId = deviceId_buf; - value.type = static_cast(valueDeserializer.readInt32()); - const Ark_Int32 touches_buf_length = valueDeserializer.readInt32(); - Array_TouchObject touches_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&touches_buf, touches_buf_length); - for (int touches_buf_i = 0; touches_buf_i < touches_buf_length; touches_buf_i++) { - touches_buf.array[touches_buf_i] = valueDeserializer.readTouchObject(); - } - value.touches = touches_buf; - const Ark_Int32 changedTouches_buf_length = valueDeserializer.readInt32(); - Array_TouchObject changedTouches_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&changedTouches_buf, changedTouches_buf_length); - for (int changedTouches_buf_i = 0; changedTouches_buf_i < changedTouches_buf_length; changedTouches_buf_i++) { - changedTouches_buf.array[changedTouches_buf_i] = valueDeserializer.readTouchObject(); - } - value.changedTouches = changedTouches_buf; - value.stopPropagation = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - value.preventDefault = {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_NativePointer ptr = valueDeserializer.readPointer(); + return { ptr }; } Ark_NativeEmbedInfo readNativeEmbedInfo() { @@ -74269,72 +74222,72 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto id_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String id_buf = {}; - id_buf.tag = id_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (id_buf_runtimeType)) + 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; const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String type_buf = {}; - type_buf.tag = type_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + 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.readString()); } value.type = type_buf; const auto src_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String src_buf = {}; - src_buf.tag = src_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (src_buf_runtimeType)) + src_buf.tag = src_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (src_buf_runtimeType)) { src_buf.value = static_cast(valueDeserializer.readString()); } value.src = src_buf; const auto position_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Position position_buf = {}; - position_buf.tag = position_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (position_buf_runtimeType)) + position_buf.tag = position_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (position_buf_runtimeType)) { position_buf.value = valueDeserializer.readPosition(); } value.position = position_buf; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + 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 url_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String url_buf = {}; - url_buf.tag = url_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (url_buf_runtimeType)) + url_buf.tag = url_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (url_buf_runtimeType)) { url_buf.value = static_cast(valueDeserializer.readString()); } value.url = url_buf; const auto tag_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String tag_buf = {}; - tag_buf.tag = tag_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (tag_buf_runtimeType)) + 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()); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (params_buf_runtimeType)) + 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_ = {}; @@ -74356,32 +74309,32 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto scrollUp_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_NestedScrollMode scrollUp_buf = {}; - scrollUp_buf.tag = scrollUp_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (scrollUp_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (scrollDown_buf_runtimeType)) + scrollDown_buf.tag = scrollDown_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scrollDown_buf_runtimeType)) { scrollDown_buf.value = 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (scrollRight_buf_runtimeType)) + 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.scrollRight = scrollRight_buf; const auto scrollLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_NestedScrollMode scrollLeft_buf = {}; - scrollLeft_buf.tag = scrollLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (scrollLeft_buf_runtimeType)) + 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()); } @@ -74517,88 +74470,88 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto selected_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Date selected_buf = {}; - selected_buf.tag = selected_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) + 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 format_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TimePickerFormat format_buf = {}; - format_buf.tag = format_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (format_buf_runtimeType)) + format_buf.tag = format_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (format_buf_runtimeType)) { format_buf.value = static_cast(valueDeserializer.readInt32()); } value.format = format_buf; const auto useMilitaryTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean useMilitaryTime_buf = {}; - useMilitaryTime_buf.tag = useMilitaryTime_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (useMilitaryTime_buf_runtimeType)) + useMilitaryTime_buf.tag = useMilitaryTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (useMilitaryTime_buf_runtimeType)) { useMilitaryTime_buf.value = valueDeserializer.readBoolean(); } value.useMilitaryTime = useMilitaryTime_buf; const auto disappearTextStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PickerTextStyle disappearTextStyle_buf = {}; - disappearTextStyle_buf.tag = disappearTextStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (disappearTextStyle_buf_runtimeType)) + disappearTextStyle_buf.tag = disappearTextStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (disappearTextStyle_buf_runtimeType)) { disappearTextStyle_buf.value = valueDeserializer.readPickerTextStyle(); } value.disappearTextStyle = disappearTextStyle_buf; const auto textStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PickerTextStyle textStyle_buf = {}; - textStyle_buf.tag = textStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (textStyle_buf_runtimeType)) + textStyle_buf.tag = textStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textStyle_buf_runtimeType)) { textStyle_buf.value = valueDeserializer.readPickerTextStyle(); } value.textStyle = textStyle_buf; const auto acceptButtonStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PickerDialogButtonStyle acceptButtonStyle_buf = {}; - acceptButtonStyle_buf.tag = acceptButtonStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (acceptButtonStyle_buf_runtimeType)) + acceptButtonStyle_buf.tag = acceptButtonStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (acceptButtonStyle_buf_runtimeType)) { acceptButtonStyle_buf.value = valueDeserializer.readPickerDialogButtonStyle(); } value.acceptButtonStyle = acceptButtonStyle_buf; const auto cancelButtonStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PickerDialogButtonStyle cancelButtonStyle_buf = {}; - cancelButtonStyle_buf.tag = cancelButtonStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cancelButtonStyle_buf_runtimeType)) + cancelButtonStyle_buf.tag = cancelButtonStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (cancelButtonStyle_buf_runtimeType)) { cancelButtonStyle_buf.value = valueDeserializer.readPickerDialogButtonStyle(); } value.cancelButtonStyle = cancelButtonStyle_buf; const auto selectedTextStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PickerTextStyle selectedTextStyle_buf = {}; - selectedTextStyle_buf.tag = selectedTextStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (selectedTextStyle_buf_runtimeType)) + selectedTextStyle_buf.tag = selectedTextStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (selectedTextStyle_buf_runtimeType)) { selectedTextStyle_buf.value = valueDeserializer.readPickerTextStyle(); } value.selectedTextStyle = selectedTextStyle_buf; const auto maskRect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Rectangle maskRect_buf = {}; - maskRect_buf.tag = maskRect_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (maskRect_buf_runtimeType)) + maskRect_buf.tag = maskRect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (maskRect_buf_runtimeType)) { maskRect_buf.value = valueDeserializer.readRectangle(); } value.maskRect = maskRect_buf; const auto alignment_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_DialogAlignment alignment_buf = {}; - alignment_buf.tag = alignment_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (alignment_buf_runtimeType)) + alignment_buf.tag = alignment_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (alignment_buf_runtimeType)) { alignment_buf.value = static_cast(valueDeserializer.readInt32()); } value.alignment = alignment_buf; const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Offset offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + 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_ = {}; offset_buf_.dx = valueDeserializer.readLength(); @@ -74608,32 +74561,32 @@ class Deserializer : public DeserializerBase { value.offset = offset_buf; const auto onAccept_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_TimePickerResult_Void onAccept_buf = {}; - onAccept_buf.tag = onAccept_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onAccept_buf_runtimeType)) + onAccept_buf.tag = onAccept_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onAccept_buf_runtimeType)) { onAccept_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.onAccept = onAccept_buf; const auto onCancel_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void onCancel_buf = {}; - onCancel_buf.tag = onCancel_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onCancel_buf_runtimeType)) + onCancel_buf.tag = onCancel_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onCancel_buf_runtimeType)) { onCancel_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.onCancel = onCancel_buf; const auto onChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_TimePickerResult_Void onChange_buf = {}; - onChange_buf.tag = onChange_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onChange_buf_runtimeType)) + onChange_buf.tag = onChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onChange_buf_runtimeType)) { 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 backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + 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_ = {}; @@ -74662,48 +74615,48 @@ class Deserializer : public DeserializerBase { value.backgroundColor = backgroundColor_buf; const auto backgroundBlurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BlurStyle backgroundBlurStyle_buf = {}; - backgroundBlurStyle_buf.tag = backgroundBlurStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + 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 onDidAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void onDidAppear_buf = {}; - onDidAppear_buf.tag = onDidAppear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onDidAppear_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onDidDisappear_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillAppear_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillDisappear_buf_runtimeType)) + 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 shadow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_ShadowOptions_ShadowStyle shadow_buf = {}; - shadow_buf.tag = shadow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (shadow_buf_runtimeType)) + 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 shadow_buf__selector = valueDeserializer.readInt8(); Ark_Union_ShadowOptions_ShadowStyle shadow_buf_ = {}; @@ -74724,24 +74677,24 @@ class Deserializer : public DeserializerBase { value.shadow = shadow_buf; const auto dateTimeOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_DateTimeOptions dateTimeOptions_buf = {}; - dateTimeOptions_buf.tag = dateTimeOptions_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dateTimeOptions_buf_runtimeType)) + dateTimeOptions_buf.tag = dateTimeOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dateTimeOptions_buf_runtimeType)) { dateTimeOptions_buf.value = valueDeserializer.readDateTimeOptions(); } value.dateTimeOptions = dateTimeOptions_buf; const auto enableHoverMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableHoverMode_buf = {}; - enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) + enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) { enableHoverMode_buf.value = valueDeserializer.readBoolean(); } value.enableHoverMode = enableHoverMode_buf; const auto hoverModeArea_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_HoverModeAreaType hoverModeArea_buf = {}; - hoverModeArea_buf.tag = hoverModeArea_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (hoverModeArea_buf_runtimeType)) + hoverModeArea_buf.tag = hoverModeArea_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hoverModeArea_buf_runtimeType)) { hoverModeArea_buf.value = static_cast(valueDeserializer.readInt32()); } @@ -74822,8 +74775,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) + 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 value_buf__selector = valueDeserializer.readInt8(); Ark_Union_String_Array_String value_buf_ = {}; @@ -74851,8 +74804,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) + 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 selected_buf__selector = valueDeserializer.readInt8(); Ark_Union_Number_Array_Number selected_buf_ = {}; @@ -74880,8 +74833,8 @@ class Deserializer : public DeserializerBase { value.selected = selected_buf; const auto defaultPickerItemHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_String defaultPickerItemHeight_buf = {}; - defaultPickerItemHeight_buf.tag = defaultPickerItemHeight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (defaultPickerItemHeight_buf_runtimeType)) + defaultPickerItemHeight_buf.tag = defaultPickerItemHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (defaultPickerItemHeight_buf_runtimeType)) { const Ark_Int8 defaultPickerItemHeight_buf__selector = valueDeserializer.readInt8(); Ark_Union_Number_String defaultPickerItemHeight_buf_ = {}; @@ -74902,96 +74855,96 @@ class Deserializer : public DeserializerBase { value.defaultPickerItemHeight = defaultPickerItemHeight_buf; const auto canLoop_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean canLoop_buf = {}; - canLoop_buf.tag = canLoop_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (canLoop_buf_runtimeType)) + canLoop_buf.tag = canLoop_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (canLoop_buf_runtimeType)) { canLoop_buf.value = valueDeserializer.readBoolean(); } value.canLoop = canLoop_buf; const auto disappearTextStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PickerTextStyle disappearTextStyle_buf = {}; - disappearTextStyle_buf.tag = disappearTextStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (disappearTextStyle_buf_runtimeType)) + disappearTextStyle_buf.tag = disappearTextStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (disappearTextStyle_buf_runtimeType)) { disappearTextStyle_buf.value = valueDeserializer.readPickerTextStyle(); } value.disappearTextStyle = disappearTextStyle_buf; const auto textStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PickerTextStyle textStyle_buf = {}; - textStyle_buf.tag = textStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (textStyle_buf_runtimeType)) + textStyle_buf.tag = textStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textStyle_buf_runtimeType)) { textStyle_buf.value = valueDeserializer.readPickerTextStyle(); } value.textStyle = textStyle_buf; const auto acceptButtonStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PickerDialogButtonStyle acceptButtonStyle_buf = {}; - acceptButtonStyle_buf.tag = acceptButtonStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (acceptButtonStyle_buf_runtimeType)) + acceptButtonStyle_buf.tag = acceptButtonStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (acceptButtonStyle_buf_runtimeType)) { acceptButtonStyle_buf.value = valueDeserializer.readPickerDialogButtonStyle(); } value.acceptButtonStyle = acceptButtonStyle_buf; const auto cancelButtonStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PickerDialogButtonStyle cancelButtonStyle_buf = {}; - cancelButtonStyle_buf.tag = cancelButtonStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cancelButtonStyle_buf_runtimeType)) + cancelButtonStyle_buf.tag = cancelButtonStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (cancelButtonStyle_buf_runtimeType)) { cancelButtonStyle_buf.value = valueDeserializer.readPickerDialogButtonStyle(); } value.cancelButtonStyle = cancelButtonStyle_buf; const auto selectedTextStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PickerTextStyle selectedTextStyle_buf = {}; - selectedTextStyle_buf.tag = selectedTextStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (selectedTextStyle_buf_runtimeType)) + selectedTextStyle_buf.tag = selectedTextStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (selectedTextStyle_buf_runtimeType)) { selectedTextStyle_buf.value = valueDeserializer.readPickerTextStyle(); } value.selectedTextStyle = selectedTextStyle_buf; const auto onAccept_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_TextPickerResult_Void onAccept_buf = {}; - onAccept_buf.tag = onAccept_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onAccept_buf_runtimeType)) + onAccept_buf.tag = onAccept_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onAccept_buf_runtimeType)) { onAccept_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.onAccept = onAccept_buf; const auto onCancel_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void onCancel_buf = {}; - onCancel_buf.tag = onCancel_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onCancel_buf_runtimeType)) + onCancel_buf.tag = onCancel_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onCancel_buf_runtimeType)) { onCancel_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.onCancel = onCancel_buf; const auto onChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_TextPickerResult_Void onChange_buf = {}; - onChange_buf.tag = onChange_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onChange_buf_runtimeType)) + onChange_buf.tag = onChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onChange_buf_runtimeType)) { 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 maskRect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Rectangle maskRect_buf = {}; - maskRect_buf.tag = maskRect_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (maskRect_buf_runtimeType)) + maskRect_buf.tag = maskRect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (maskRect_buf_runtimeType)) { maskRect_buf.value = valueDeserializer.readRectangle(); } value.maskRect = maskRect_buf; const auto alignment_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_DialogAlignment alignment_buf = {}; - alignment_buf.tag = alignment_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (alignment_buf_runtimeType)) + alignment_buf.tag = alignment_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (alignment_buf_runtimeType)) { alignment_buf.value = static_cast(valueDeserializer.readInt32()); } value.alignment = alignment_buf; const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Offset offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + 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_ = {}; offset_buf_.dx = valueDeserializer.readLength(); @@ -75001,8 +74954,8 @@ class Deserializer : public DeserializerBase { value.offset = offset_buf; const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + 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_ = {}; @@ -75031,48 +74984,48 @@ class Deserializer : public DeserializerBase { value.backgroundColor = backgroundColor_buf; const auto backgroundBlurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BlurStyle backgroundBlurStyle_buf = {}; - backgroundBlurStyle_buf.tag = backgroundBlurStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + 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 onDidAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void onDidAppear_buf = {}; - onDidAppear_buf.tag = onDidAppear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onDidAppear_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onDidDisappear_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillAppear_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillDisappear_buf_runtimeType)) + 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 shadow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_ShadowOptions_ShadowStyle shadow_buf = {}; - shadow_buf.tag = shadow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (shadow_buf_runtimeType)) + 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 shadow_buf__selector = valueDeserializer.readInt8(); Ark_Union_ShadowOptions_ShadowStyle shadow_buf_ = {}; @@ -75093,16 +75046,16 @@ class Deserializer : public DeserializerBase { value.shadow = shadow_buf; const auto enableHoverMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableHoverMode_buf = {}; - enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) + enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) { enableHoverMode_buf.value = valueDeserializer.readBoolean(); } value.enableHoverMode = enableHoverMode_buf; const auto hoverModeArea_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_HoverModeAreaType hoverModeArea_buf = {}; - hoverModeArea_buf.tag = hoverModeArea_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (hoverModeArea_buf_runtimeType)) + hoverModeArea_buf.tag = hoverModeArea_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hoverModeArea_buf_runtimeType)) { hoverModeArea_buf.value = static_cast(valueDeserializer.readInt32()); } @@ -75115,16 +75068,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length strokeWidth_buf = {}; - strokeWidth_buf.tag = strokeWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.strokeWidth = strokeWidth_buf; const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + 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_ = {}; @@ -75153,16 +75106,16 @@ class Deserializer : public DeserializerBase { value.color = color_buf; const auto startMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length startMargin_buf = {}; - startMargin_buf.tag = startMargin_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (startMargin_buf_runtimeType)) + startMargin_buf.tag = startMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (startMargin_buf_runtimeType)) { startMargin_buf.value = valueDeserializer.readLength(); } value.startMargin = startMargin_buf; const auto endMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length endMargin_buf = {}; - endMargin_buf.tag = endMargin_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (endMargin_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } @@ -75175,16 +75128,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto thresholdPercentage_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number thresholdPercentage_buf = {}; - thresholdPercentage_buf.tag = thresholdPercentage_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (thresholdPercentage_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (highlightBorder_buf_runtimeType)) + 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(); } @@ -75197,8 +75150,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto supportAvoidance_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean supportAvoidance_buf = {}; - supportAvoidance_buf.tag = supportAvoidance_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (supportAvoidance_buf_runtimeType)) + 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(); } @@ -75211,8 +75164,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto typing_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor typing_buf = {}; - typing_buf.tag = typing_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (typing_buf_runtimeType)) + 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_ = {}; @@ -75241,8 +75194,8 @@ class Deserializer : public DeserializerBase { value.typing = typing_buf; const auto normal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor normal_buf = {}; - normal_buf.tag = normal_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (normal_buf_runtimeType)) + normal_buf.tag = normal_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (normal_buf_runtimeType)) { const Ark_Int8 normal_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor normal_buf_ = {}; @@ -75271,8 +75224,8 @@ class Deserializer : public DeserializerBase { value.normal = normal_buf; const auto error_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor error_buf = {}; - error_buf.tag = error_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (error_buf_runtimeType)) + 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 error_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor error_buf_ = {}; @@ -75301,8 +75254,8 @@ class Deserializer : public DeserializerBase { value.error = error_buf; const auto disable_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor disable_buf = {}; - disable_buf.tag = disable_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (disable_buf_runtimeType)) + 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 disable_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor disable_buf_ = {}; @@ -75343,8 +75296,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto menuPolicy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_MenuPolicy menuPolicy_buf = {}; - menuPolicy_buf.tag = menuPolicy_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (menuPolicy_buf_runtimeType)) + 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()); } @@ -75357,16 +75310,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number start_buf = {}; - start_buf.tag = start_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + 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()); } @@ -75394,8 +75347,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + 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_ = {}; @@ -75435,24 +75388,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto onAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_MenuOnAppearCallback onAppear_buf = {}; - onAppear_buf.tag = onAppear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onAppear_buf_runtimeType)) + 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.onAppear = onAppear_buf; const auto onDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void onDisappear_buf = {}; - onDisappear_buf.tag = onDisappear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onDisappear_buf_runtimeType)) + 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 menuType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_MenuType menuType_buf = {}; - menuType_buf.tag = menuType_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (menuType_buf_runtimeType)) + menuType_buf.tag = menuType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (menuType_buf_runtimeType)) { menuType_buf.value = static_cast(valueDeserializer.readInt32()); } @@ -75465,8 +75418,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto enableVariableFontWeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableVariableFontWeight_buf = {}; - enableVariableFontWeight_buf.tag = enableVariableFontWeight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableVariableFontWeight_buf_runtimeType)) + 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(); } @@ -75485,8 +75438,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto _icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_ResourceStr_TabBarSymbol _icon_buf = {}; - _icon_buf.tag = _icon_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_icon_buf_runtimeType)) + _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_ResourceStr_TabBarSymbol _icon_buf_ = {}; @@ -75521,8 +75474,8 @@ class Deserializer : public DeserializerBase { value._icon = _icon_buf; const auto _text_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr _text_buf = {}; - _text_buf.tag = _text_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_text_buf_runtimeType)) + _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_ = {}; @@ -75543,16 +75496,16 @@ class Deserializer : public DeserializerBase { value._text = _text_buf; const auto _labelStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LabelStyle _labelStyle_buf = {}; - _labelStyle_buf.tag = _labelStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_labelStyle_buf_runtimeType)) + _labelStyle_buf.tag = _labelStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_labelStyle_buf_runtimeType)) { _labelStyle_buf.value = valueDeserializer.readLabelStyle(); } value._labelStyle = _labelStyle_buf; const auto _padding_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Padding_Dimension_LocalizedPadding _padding_buf = {}; - _padding_buf.tag = _padding_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_padding_buf_runtimeType)) + _padding_buf.tag = _padding_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_padding_buf_runtimeType)) { const Ark_Int8 _padding_buf__selector = valueDeserializer.readInt8(); Ark_Union_Padding_Dimension_LocalizedPadding _padding_buf_ = {}; @@ -75562,32 +75515,32 @@ class Deserializer : public DeserializerBase { Ark_Padding _padding_buf__u = {}; const auto _padding_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length _padding_buf__u_top_buf = {}; - _padding_buf__u_top_buf.tag = _padding_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_padding_buf__u_top_buf_runtimeType)) + _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)) { _padding_buf__u_top_buf.value = valueDeserializer.readLength(); } _padding_buf__u.top = _padding_buf__u_top_buf; const auto _padding_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length _padding_buf__u_right_buf = {}; - _padding_buf__u_right_buf.tag = _padding_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_padding_buf__u_right_buf_runtimeType)) + _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)) { _padding_buf__u_right_buf.value = valueDeserializer.readLength(); } _padding_buf__u.right = _padding_buf__u_right_buf; const auto _padding_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length _padding_buf__u_bottom_buf = {}; - _padding_buf__u_bottom_buf.tag = _padding_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_padding_buf__u_bottom_buf_runtimeType)) + _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)) { _padding_buf__u_bottom_buf.value = valueDeserializer.readLength(); } _padding_buf__u.bottom = _padding_buf__u_bottom_buf; const auto _padding_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length _padding_buf__u_left_buf = {}; - _padding_buf__u_left_buf.tag = _padding_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_padding_buf__u_left_buf_runtimeType)) + _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)) { _padding_buf__u_left_buf.value = valueDeserializer.readLength(); } @@ -75610,40 +75563,40 @@ class Deserializer : public DeserializerBase { value._padding = _padding_buf; const auto _layoutMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LayoutMode _layoutMode_buf = {}; - _layoutMode_buf.tag = _layoutMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_layoutMode_buf_runtimeType)) + _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; const auto _verticalAlign_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_VerticalAlign _verticalAlign_buf = {}; - _verticalAlign_buf.tag = _verticalAlign_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_verticalAlign_buf_runtimeType)) + _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 _symmetricExtensible_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean _symmetricExtensible_buf = {}; - _symmetricExtensible_buf.tag = _symmetricExtensible_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_symmetricExtensible_buf_runtimeType)) + _symmetricExtensible_buf.tag = _symmetricExtensible_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_symmetricExtensible_buf_runtimeType)) { _symmetricExtensible_buf.value = valueDeserializer.readBoolean(); } value._symmetricExtensible = _symmetricExtensible_buf; const auto _id_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String _id_buf = {}; - _id_buf.tag = _id_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_id_buf_runtimeType)) + _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; const auto _iconStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TabBarIconStyle _iconStyle_buf = {}; - _iconStyle_buf.tag = _iconStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_iconStyle_buf_runtimeType)) + _iconStyle_buf.tag = _iconStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_iconStyle_buf_runtimeType)) { _iconStyle_buf.value = valueDeserializer.readTabBarIconStyle(); } @@ -75656,8 +75609,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto _content_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_String_Resource_ComponentContent _content_buf = {}; - _content_buf.tag = _content_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_content_buf_runtimeType)) + _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_Union_String_Resource_ComponentContent _content_buf_ = {}; @@ -75682,40 +75635,40 @@ class Deserializer : public DeserializerBase { value._content = _content_buf; const auto _indicator_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_IndicatorStyle _indicator_buf = {}; - _indicator_buf.tag = _indicator_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_indicator_buf_runtimeType)) + _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.readIndicatorStyle(); } value._indicator = _indicator_buf; const auto _selectedMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_SelectedMode _selectedMode_buf = {}; - _selectedMode_buf.tag = _selectedMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_selectedMode_buf_runtimeType)) + _selectedMode_buf.tag = _selectedMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_selectedMode_buf_runtimeType)) { _selectedMode_buf.value = static_cast(valueDeserializer.readInt32()); } value._selectedMode = _selectedMode_buf; const auto _board_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BoardStyle _board_buf = {}; - _board_buf.tag = _board_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_board_buf_runtimeType)) + _board_buf.tag = _board_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_board_buf_runtimeType)) { _board_buf.value = valueDeserializer.readBoardStyle(); } value._board = _board_buf; const auto _labelStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LabelStyle _labelStyle_buf = {}; - _labelStyle_buf.tag = _labelStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_labelStyle_buf_runtimeType)) + _labelStyle_buf.tag = _labelStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_labelStyle_buf_runtimeType)) { _labelStyle_buf.value = valueDeserializer.readLabelStyle(); } value._labelStyle = _labelStyle_buf; const auto _padding_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Union_Padding_Dimension_LocalizedPadding _padding_buf = {}; - _padding_buf.tag = _padding_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_padding_buf_runtimeType)) + _padding_buf.tag = _padding_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_padding_buf_runtimeType)) { const Ark_Int8 _padding_buf__selector = valueDeserializer.readInt8(); Ark_Union_Union_Padding_Dimension_LocalizedPadding _padding_buf_ = {}; @@ -75730,32 +75683,32 @@ class Deserializer : public DeserializerBase { Ark_Padding _padding_buf__u_u = {}; const auto _padding_buf__u_u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length _padding_buf__u_u_top_buf = {}; - _padding_buf__u_u_top_buf.tag = _padding_buf__u_u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_padding_buf__u_u_top_buf_runtimeType)) + _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)) { _padding_buf__u_u_top_buf.value = valueDeserializer.readLength(); } _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_Length _padding_buf__u_u_right_buf = {}; - _padding_buf__u_u_right_buf.tag = _padding_buf__u_u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_padding_buf__u_u_right_buf_runtimeType)) + _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)) { _padding_buf__u_u_right_buf.value = valueDeserializer.readLength(); } _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_Length _padding_buf__u_u_bottom_buf = {}; - _padding_buf__u_u_bottom_buf.tag = _padding_buf__u_u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_padding_buf__u_u_bottom_buf_runtimeType)) + _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)) { _padding_buf__u_u_bottom_buf.value = valueDeserializer.readLength(); } _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_Length _padding_buf__u_u_left_buf = {}; - _padding_buf__u_u_left_buf.tag = _padding_buf__u_u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_padding_buf__u_u_left_buf_runtimeType)) + _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)) { _padding_buf__u_u_left_buf.value = valueDeserializer.readLength(); } @@ -75783,8 +75736,8 @@ class Deserializer : public DeserializerBase { value._padding = _padding_buf; const auto _id_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String _id_buf = {}; - _id_buf.tag = _id_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_id_buf_runtimeType)) + _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()); } @@ -75797,8 +75750,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_String_Resource icon_buf = {}; - icon_buf.tag = icon_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + 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_ = {}; @@ -75819,8 +75772,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) + 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_ = {}; @@ -75847,48 +75800,48 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto colorMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ThemeColorMode colorMode_buf = {}; - colorMode_buf.tag = colorMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (colorMode_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (adaptiveColor_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (scale_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (blurOptions_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (policy_buf_runtimeType)) + 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()); } value.policy = policy_buf; const auto inactiveColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor inactiveColor_buf = {}; - inactiveColor_buf.tag = inactiveColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (inactiveColor_buf_runtimeType)) + 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_ = {}; @@ -75923,16 +75876,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto margin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length margin_buf = {}; - margin_buf.tag = margin_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (margin_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.margin = margin_buf; const auto nonScrollableLayoutStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LayoutStyle nonScrollableLayoutStyle_buf = {}; - nonScrollableLayoutStyle_buf.tag = nonScrollableLayoutStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (nonScrollableLayoutStyle_buf_runtimeType)) + 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()); } @@ -75945,8 +75898,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto timeout_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number timeout_buf = {}; - timeout_buf.tag = timeout_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (timeout_buf_runtimeType)) + timeout_buf.tag = timeout_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (timeout_buf_runtimeType)) { timeout_buf.value = static_cast(valueDeserializer.readNumber()); } @@ -75971,56 +75924,56 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto _left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length _left_buf = {}; - _left_buf.tag = _left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_left_buf_runtimeType)) + _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 = valueDeserializer.readLength(); } value._left = _left_buf; const auto _top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length _top_buf = {}; - _top_buf.tag = _top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_top_buf_runtimeType)) + _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.readLength(); } value._top = _top_buf; const auto _right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length _right_buf = {}; - _right_buf.tag = _right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_right_buf_runtimeType)) + _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 = valueDeserializer.readLength(); } value._right = _right_buf; const auto _bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length _bottom_buf = {}; - _bottom_buf.tag = _bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_bottom_buf_runtimeType)) + _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.readLength(); } value._bottom = _bottom_buf; const auto _start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics _start_buf = {}; - _start_buf.tag = _start_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_start_buf_runtimeType)) + _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.readLengthMetrics(); } value._start = _start_buf; const auto _end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics _end_buf = {}; - _end_buf.tag = _end_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_end_buf_runtimeType)) + _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.readLengthMetrics(); } value._end = _end_buf; const auto _fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor _fontColor_buf = {}; - _fontColor_buf.tag = _fontColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_fontColor_buf_runtimeType)) + _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_ = {}; @@ -76049,8 +76002,8 @@ class Deserializer : public DeserializerBase { value._fontColor = _fontColor_buf; const auto _selectedFontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor _selectedFontColor_buf = {}; - _selectedFontColor_buf.tag = _selectedFontColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_selectedFontColor_buf_runtimeType)) + _selectedFontColor_buf.tag = _selectedFontColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_selectedFontColor_buf_runtimeType)) { const Ark_Int8 _selectedFontColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor _selectedFontColor_buf_ = {}; @@ -76079,16 +76032,16 @@ class Deserializer : public DeserializerBase { value._selectedFontColor = _selectedFontColor_buf; const auto _digitFont_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Font _digitFont_buf = {}; - _digitFont_buf.tag = _digitFont_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_digitFont_buf_runtimeType)) + _digitFont_buf.tag = _digitFont_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_digitFont_buf_runtimeType)) { _digitFont_buf.value = valueDeserializer.readFont(); } value._digitFont = _digitFont_buf; const auto _selectedDigitFont_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Font _selectedDigitFont_buf = {}; - _selectedDigitFont_buf.tag = _selectedDigitFont_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_selectedDigitFont_buf_runtimeType)) + _selectedDigitFont_buf.tag = _selectedDigitFont_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_selectedDigitFont_buf_runtimeType)) { _selectedDigitFont_buf.value = valueDeserializer.readFont(); } @@ -76101,96 +76054,96 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto _left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length _left_buf = {}; - _left_buf.tag = _left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_left_buf_runtimeType)) + _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 = valueDeserializer.readLength(); } value._left = _left_buf; const auto _top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length _top_buf = {}; - _top_buf.tag = _top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_top_buf_runtimeType)) + _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.readLength(); } value._top = _top_buf; const auto _right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length _right_buf = {}; - _right_buf.tag = _right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_right_buf_runtimeType)) + _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 = valueDeserializer.readLength(); } value._right = _right_buf; const auto _bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length _bottom_buf = {}; - _bottom_buf.tag = _bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_bottom_buf_runtimeType)) + _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.readLength(); } value._bottom = _bottom_buf; const auto _start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics _start_buf = {}; - _start_buf.tag = _start_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_start_buf_runtimeType)) + _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.readLengthMetrics(); } value._start = _start_buf; const auto _end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics _end_buf = {}; - _end_buf.tag = _end_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_end_buf_runtimeType)) + _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.readLengthMetrics(); } value._end = _end_buf; const auto _itemWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length _itemWidth_buf = {}; - _itemWidth_buf.tag = _itemWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_itemWidth_buf_runtimeType)) + _itemWidth_buf.tag = _itemWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_itemWidth_buf_runtimeType)) { _itemWidth_buf.value = valueDeserializer.readLength(); } value._itemWidth = _itemWidth_buf; const auto _itemHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length _itemHeight_buf = {}; - _itemHeight_buf.tag = _itemHeight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_itemHeight_buf_runtimeType)) + _itemHeight_buf.tag = _itemHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_itemHeight_buf_runtimeType)) { _itemHeight_buf.value = valueDeserializer.readLength(); } value._itemHeight = _itemHeight_buf; const auto _selectedItemWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length _selectedItemWidth_buf = {}; - _selectedItemWidth_buf.tag = _selectedItemWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_selectedItemWidth_buf_runtimeType)) + _selectedItemWidth_buf.tag = _selectedItemWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_selectedItemWidth_buf_runtimeType)) { _selectedItemWidth_buf.value = valueDeserializer.readLength(); } value._selectedItemWidth = _selectedItemWidth_buf; const auto _selectedItemHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length _selectedItemHeight_buf = {}; - _selectedItemHeight_buf.tag = _selectedItemHeight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_selectedItemHeight_buf_runtimeType)) + _selectedItemHeight_buf.tag = _selectedItemHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (_selectedItemHeight_buf_runtimeType)) { _selectedItemHeight_buf.value = valueDeserializer.readLength(); } value._selectedItemHeight = _selectedItemHeight_buf; const auto _mask_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean _mask_buf = {}; - _mask_buf.tag = _mask_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_mask_buf_runtimeType)) + _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(); } value._mask = _mask_buf; const auto _color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor _color_buf = {}; - _color_buf.tag = _color_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_color_buf_runtimeType)) + _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_ = {}; @@ -76219,8 +76172,8 @@ class Deserializer : public DeserializerBase { value._color = _color_buf; const auto _selectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor _selectedColor_buf = {}; - _selectedColor_buf.tag = _selectedColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_selectedColor_buf_runtimeType)) + _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_ = {}; @@ -76249,8 +76202,8 @@ class Deserializer : public DeserializerBase { value._selectedColor = _selectedColor_buf; const auto _maxDisplayCount_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number _maxDisplayCount_buf = {}; - _maxDisplayCount_buf.tag = _maxDisplayCount_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (_maxDisplayCount_buf_runtimeType)) + _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()); } @@ -76284,32 +76237,32 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto showBackground_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean showBackground_buf = {}; - showBackground_buf.tag = showBackground_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (showBackground_buf_runtimeType)) + showBackground_buf.tag = showBackground_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (showBackground_buf_runtimeType)) { showBackground_buf.value = valueDeserializer.readBoolean(); } value.showBackground = showBackground_buf; const auto isSidebarMiddle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean isSidebarMiddle_buf = {}; - isSidebarMiddle_buf.tag = isSidebarMiddle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (isSidebarMiddle_buf_runtimeType)) + isSidebarMiddle_buf.tag = isSidebarMiddle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isSidebarMiddle_buf_runtimeType)) { isSidebarMiddle_buf.value = valueDeserializer.readBoolean(); } value.isSidebarMiddle = isSidebarMiddle_buf; const auto backgroundSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length backgroundSize_buf = {}; - backgroundSize_buf.tag = backgroundSize_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundSize_buf_runtimeType)) + backgroundSize_buf.tag = backgroundSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (backgroundSize_buf_runtimeType)) { backgroundSize_buf.value = valueDeserializer.readLength(); } value.backgroundSize = backgroundSize_buf; const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + 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_ = {}; @@ -76338,16 +76291,16 @@ class Deserializer : public DeserializerBase { value.backgroundColor = backgroundColor_buf; const auto arrowSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length arrowSize_buf = {}; - arrowSize_buf.tag = arrowSize_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (arrowSize_buf_runtimeType)) + arrowSize_buf.tag = arrowSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (arrowSize_buf_runtimeType)) { arrowSize_buf.value = valueDeserializer.readLength(); } value.arrowSize = arrowSize_buf; const auto arrowColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor arrowColor_buf = {}; - arrowColor_buf.tag = arrowColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (arrowColor_buf_runtimeType)) + 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 arrowColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor arrowColor_buf_ = {}; @@ -76382,32 +76335,32 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics top_buf = {}; - top_buf.tag = top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + 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.readLengthMetrics(); } value.top = top_buf; const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics start_buf = {}; - start_buf.tag = start_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + 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.readLengthMetrics(); } value.start = start_buf; const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics bottom_buf = {}; - bottom_buf.tag = bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + 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.readLengthMetrics(); } value.bottom = bottom_buf; const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics end_buf = {}; - end_buf.tag = end_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + 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.readLengthMetrics(); } @@ -76420,32 +76373,32 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length top_buf = {}; - top_buf.tag = top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + 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.readLength(); } value.top = top_buf; const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length left_buf = {}; - left_buf.tag = left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.left = left_buf; const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length bottom_buf = {}; - bottom_buf.tag = bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + 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.readLength(); } value.bottom = bottom_buf; const auto right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length right_buf = {}; - right_buf.tag = right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } @@ -76458,16 +76411,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto fontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length fontSize_buf = {}; - fontSize_buf.tag = fontSize_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontSize_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.fontSize = fontSize_buf; const auto fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor fontColor_buf = {}; - fontColor_buf.tag = fontColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontColor_buf_runtimeType)) + 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_ = {}; @@ -76496,8 +76449,8 @@ class Deserializer : public DeserializerBase { value.fontColor = fontColor_buf; const auto autoDisable_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean autoDisable_buf = {}; - autoDisable_buf.tag = autoDisable_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (autoDisable_buf_runtimeType)) + autoDisable_buf.tag = autoDisable_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (autoDisable_buf_runtimeType)) { autoDisable_buf.value = valueDeserializer.readBoolean(); } @@ -76510,16 +76463,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_CancelButtonStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + 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(); } @@ -76532,16 +76485,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_CancelButtonStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + 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_IconOptions icon_buf = {}; - icon_buf.tag = icon_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + 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.readIconOptions(); } @@ -76567,8 +76520,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto extraOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics extraOffset_buf = {}; - extraOffset_buf.tag = extraOffset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (extraOffset_buf_runtimeType)) + 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 = valueDeserializer.readLengthMetrics(); } @@ -76582,8 +76535,8 @@ class Deserializer : public DeserializerBase { value.next = valueDeserializer.readBoolean(); const auto animation_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean animation_buf = {}; - animation_buf.tag = animation_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animation_buf_runtimeType)) + 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(); } @@ -76596,8 +76549,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto velocity_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number velocity_buf = {}; - velocity_buf.tag = velocity_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (velocity_buf_runtimeType)) + velocity_buf.tag = velocity_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (velocity_buf_runtimeType)) { velocity_buf.value = static_cast(valueDeserializer.readNumber()); } @@ -76640,8 +76593,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animation_buf_runtimeType)) + 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_ = {}; @@ -76680,16 +76633,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto font_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Font font_buf = {}; - font_buf.tag = font_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (font_buf_runtimeType)) + font_buf.tag = font_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (font_buf_runtimeType)) { font_buf.value = valueDeserializer.readFont(); } value.font = font_buf; const auto fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor fontColor_buf = {}; - fontColor_buf.tag = fontColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontColor_buf_runtimeType)) + 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_ = {}; @@ -76725,16 +76678,16 @@ class Deserializer : public DeserializerBase { value.spanPosition = valueDeserializer.readRichEditorSpanPosition(); const auto valuePixelMap_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PixelMap valuePixelMap_buf = {}; - valuePixelMap_buf.tag = valuePixelMap_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (valuePixelMap_buf_runtimeType)) + valuePixelMap_buf.tag = valuePixelMap_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (valuePixelMap_buf_runtimeType)) { valuePixelMap_buf.value = static_cast(valueDeserializer.readPixelMap()); } value.valuePixelMap = valuePixelMap_buf; const auto valueResourceStr_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr valueResourceStr_buf = {}; - valueResourceStr_buf.tag = valueResourceStr_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (valueResourceStr_buf_runtimeType)) + valueResourceStr_buf.tag = valueResourceStr_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (valueResourceStr_buf_runtimeType)) { const Ark_Int8 valueResourceStr_buf__selector = valueDeserializer.readInt8(); Ark_ResourceStr valueResourceStr_buf_ = {}; @@ -76773,32 +76726,32 @@ class Deserializer : public DeserializerBase { value.offsetInSpan = offsetInSpan_buf; const auto symbolSpanStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_RichEditorSymbolSpanStyle symbolSpanStyle_buf = {}; - symbolSpanStyle_buf.tag = symbolSpanStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (symbolSpanStyle_buf_runtimeType)) + symbolSpanStyle_buf.tag = symbolSpanStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (symbolSpanStyle_buf_runtimeType)) { symbolSpanStyle_buf.value = valueDeserializer.readRichEditorSymbolSpanStyle(); } value.symbolSpanStyle = symbolSpanStyle_buf; const auto valueResource_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Resource valueResource_buf = {}; - valueResource_buf.tag = valueResource_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (valueResource_buf_runtimeType)) + valueResource_buf.tag = valueResource_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (valueResource_buf_runtimeType)) { valueResource_buf.value = valueDeserializer.readResource(); } value.valueResource = valueResource_buf; const auto paragraphStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_RichEditorParagraphStyle paragraphStyle_buf = {}; - paragraphStyle_buf.tag = paragraphStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (paragraphStyle_buf_runtimeType)) + paragraphStyle_buf.tag = paragraphStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (paragraphStyle_buf_runtimeType)) { paragraphStyle_buf.value = valueDeserializer.readRichEditorParagraphStyle(); } value.paragraphStyle = paragraphStyle_buf; const auto previewText_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String previewText_buf = {}; - previewText_buf.tag = previewText_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (previewText_buf_runtimeType)) + 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()); } @@ -76811,16 +76764,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto onWillChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_StyledStringChangeValue_Boolean onWillChange_buf = {}; - onWillChange_buf.tag = onWillChange_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillChange_buf_runtimeType)) + onWillChange_buf.tag = onWillChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillChange_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))))}; } value.onWillChange = onWillChange_buf; const auto onDidChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_OnDidChangeCallback onDidChange_buf = {}; - onDidChange_buf.tag = onDidChange_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onDidChange_buf_runtimeType)) + onDidChange_buf.tag = onDidChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDidChange_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))))}; } @@ -76833,16 +76786,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number start_buf = {}; - start_buf.tag = start_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + 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()); } @@ -76855,16 +76808,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number start_buf = {}; - start_buf.tag = start_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + 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()); } @@ -76878,16 +76831,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number start_buf = {}; - start_buf.tag = start_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + 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()); } @@ -76901,16 +76854,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number start_buf = {}; - start_buf.tag = start_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + 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()); } @@ -76924,16 +76877,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number start_buf = {}; - start_buf.tag = start_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + 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()); } @@ -76947,16 +76900,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + 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()); } value.offset = offset_buf; const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_RichEditorSymbolSpanStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + 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(); } @@ -76969,8 +76922,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + 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()); } @@ -76983,24 +76936,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + 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()); } value.offset = offset_buf; const auto imageStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_RichEditorImageSpanStyle imageStyle_buf = {}; - imageStyle_buf.tag = imageStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (imageStyle_buf_runtimeType)) + imageStyle_buf.tag = imageStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (imageStyle_buf_runtimeType)) { imageStyle_buf.value = valueDeserializer.readRichEditorImageSpanStyle(); } value.imageStyle = imageStyle_buf; const auto gesture_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_RichEditorGesture gesture_buf = {}; - gesture_buf.tag = gesture_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (gesture_buf_runtimeType)) + gesture_buf.tag = gesture_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (gesture_buf_runtimeType)) { gesture_buf.value = valueDeserializer.readRichEditorGesture(); } @@ -77013,32 +76966,32 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + 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()); } value.offset = offset_buf; const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_RichEditorTextStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + 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.readRichEditorTextStyle(); } value.style = style_buf; const auto paragraphStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_RichEditorParagraphStyle paragraphStyle_buf = {}; - paragraphStyle_buf.tag = paragraphStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (paragraphStyle_buf_runtimeType)) + paragraphStyle_buf.tag = paragraphStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (paragraphStyle_buf_runtimeType)) { paragraphStyle_buf.value = valueDeserializer.readRichEditorParagraphStyle(); } value.paragraphStyle = paragraphStyle_buf; const auto gesture_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_RichEditorGesture gesture_buf = {}; - gesture_buf.tag = gesture_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (gesture_buf_runtimeType)) + gesture_buf.tag = gesture_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (gesture_buf_runtimeType)) { gesture_buf.value = valueDeserializer.readRichEditorGesture(); } @@ -77051,16 +77004,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length start_buf = {}; - start_buf.tag = start_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + 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.readLength(); } value.start = start_buf; const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length end_buf = {}; - end_buf.tag = end_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + 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.readLength(); } @@ -77073,8 +77026,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_String width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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_ = {}; @@ -77095,8 +77048,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + 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_ = {}; @@ -77117,8 +77070,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radiusWidth_buf_runtimeType)) + 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_ = {}; @@ -77139,8 +77092,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radiusHeight_buf_runtimeType)) + 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_ = {}; @@ -77167,8 +77120,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_String width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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_ = {}; @@ -77189,8 +77142,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + 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_ = {}; @@ -77210,12 +77163,12 @@ class Deserializer : public DeserializerBase { } value.height = height_buf; const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Union_Number_String_Array_Any radius_buf = {}; - radius_buf.tag = radius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) + 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 radius_buf__selector = valueDeserializer.readInt8(); - Ark_Union_Number_String_Array_Any radius_buf_ = {}; + 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; @@ -77228,18 +77181,32 @@ class Deserializer : public DeserializerBase { else if (radius_buf__selector == 2) { radius_buf_.selector = 2; const Ark_Int32 radius_buf__u_length = valueDeserializer.readInt32(); - Array_CustomObject radius_buf__u = {}; + 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++) { - radius_buf__u.array[radius_buf__u_i] = static_cast(valueDeserializer.readCustomObject("Any")); + 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 { + throw "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 { throw "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; return value; @@ -77250,32 +77217,32 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto enableSmoothEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableSmoothEffect_buf = {}; - enableSmoothEffect_buf.tag = enableSmoothEffect_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableSmoothEffect_buf_runtimeType)) + 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_Length strokeWidth_buf = {}; - strokeWidth_buf.tag = strokeWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.strokeWidth = strokeWidth_buf; const auto scaleCount_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number scaleCount_buf = {}; - scaleCount_buf.tag = scaleCount_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (scaleCount_buf_runtimeType)) + 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()); } value.scaleCount = scaleCount_buf; const auto scaleWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length scaleWidth_buf = {}; - scaleWidth_buf.tag = scaleWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (scaleWidth_buf_runtimeType)) + scaleWidth_buf.tag = scaleWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scaleWidth_buf_runtimeType)) { scaleWidth_buf.value = valueDeserializer.readLength(); } @@ -77288,16 +77255,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto enableScanEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableScanEffect_buf = {}; - enableScanEffect_buf.tag = enableScanEffect_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableScanEffect_buf_runtimeType)) + 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 borderColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor borderColor_buf = {}; - borderColor_buf.tag = borderColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf_runtimeType)) + 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 borderColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor borderColor_buf_ = {}; @@ -77326,32 +77293,32 @@ class Deserializer : public DeserializerBase { value.borderColor = borderColor_buf; const auto borderWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf = {}; - borderWidth_buf.tag = borderWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf_runtimeType)) + borderWidth_buf.tag = borderWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf_runtimeType)) { borderWidth_buf.value = valueDeserializer.readLength(); } value.borderWidth = borderWidth_buf; const auto content_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String content_buf = {}; - content_buf.tag = content_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (content_buf_runtimeType)) + content_buf.tag = content_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (content_buf_runtimeType)) { content_buf.value = static_cast(valueDeserializer.readString()); } value.content = content_buf; const auto font_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Font font_buf = {}; - font_buf.tag = font_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (font_buf_runtimeType)) + font_buf.tag = font_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (font_buf_runtimeType)) { font_buf.value = valueDeserializer.readFont(); } value.font = font_buf; const auto fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor fontColor_buf = {}; - fontColor_buf.tag = fontColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontColor_buf_runtimeType)) + 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_ = {}; @@ -77380,8 +77347,8 @@ class Deserializer : public DeserializerBase { value.fontColor = fontColor_buf; const auto showDefaultPercentage_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean showDefaultPercentage_buf = {}; - showDefaultPercentage_buf.tag = showDefaultPercentage_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (showDefaultPercentage_buf_runtimeType)) + showDefaultPercentage_buf.tag = showDefaultPercentage_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (showDefaultPercentage_buf_runtimeType)) { showDefaultPercentage_buf.value = valueDeserializer.readBoolean(); } @@ -77394,32 +77361,32 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto enableScanEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableScanEffect_buf = {}; - enableScanEffect_buf.tag = enableScanEffect_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableScanEffect_buf_runtimeType)) + 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_Length strokeWidth_buf = {}; - strokeWidth_buf.tag = strokeWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.strokeWidth = strokeWidth_buf; const auto shadow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean shadow_buf = {}; - shadow_buf.tag = shadow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (shadow_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (status_buf_runtimeType)) + 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()); } @@ -77432,24 +77399,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto enableScanEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableScanEffect_buf = {}; - enableScanEffect_buf.tag = enableScanEffect_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableScanEffect_buf_runtimeType)) + 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_Length strokeWidth_buf = {}; - strokeWidth_buf.tag = strokeWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (strokeRadius_buf_runtimeType)) + strokeRadius_buf.tag = strokeRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (strokeRadius_buf_runtimeType)) { const Ark_Int8 strokeRadius_buf__selector = valueDeserializer.readInt8(); Ark_Union_String_Number_Resource strokeRadius_buf_ = {}; @@ -77488,8 +77455,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + 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_ = {}; @@ -77518,16 +77485,16 @@ class Deserializer : public DeserializerBase { value.color = color_buf; const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics radius_buf = {}; - radius_buf.tag = radius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) + 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 = 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableWaveEffect_buf_runtimeType)) + 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(); } @@ -77546,24 +77513,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto willShow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_InterceptionShowCallback willShow_buf = {}; - willShow_buf.tag = willShow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (willShow_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (didShow_buf_runtimeType)) + didShow_buf.tag = didShow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (didShow_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))))}; } value.didShow = didShow_buf; const auto modeChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_InterceptionModeCallback modeChange_buf = {}; - modeChange_buf.tag = modeChange_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (modeChange_buf_runtimeType)) + modeChange_buf.tag = modeChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (modeChange_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))))}; } @@ -77576,16 +77543,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto launchMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LaunchMode launchMode_buf = {}; - launchMode_buf.tag = launchMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (launchMode_buf_runtimeType)) + launchMode_buf.tag = launchMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (launchMode_buf_runtimeType)) { launchMode_buf.value = static_cast(valueDeserializer.readInt32()); } value.launchMode = launchMode_buf; const auto animated_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean animated_buf = {}; - animated_buf.tag = animated_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animated_buf_runtimeType)) + animated_buf.tag = animated_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (animated_buf_runtimeType)) { animated_buf.value = valueDeserializer.readBoolean(); } @@ -77598,8 +77565,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + 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_ = {}; @@ -77628,16 +77595,16 @@ class Deserializer : public DeserializerBase { value.backgroundColor = backgroundColor_buf; const auto backgroundBlurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BlurStyle backgroundBlurStyle_buf = {}; - backgroundBlurStyle_buf.tag = backgroundBlurStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (barStyle_buf_runtimeType)) + 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()); } @@ -77650,8 +77617,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + 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_ = {}; @@ -77680,56 +77647,56 @@ class Deserializer : public DeserializerBase { value.backgroundColor = backgroundColor_buf; const auto backgroundBlurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BlurStyle backgroundBlurStyle_buf = {}; - backgroundBlurStyle_buf.tag = backgroundBlurStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (barStyle_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (paddingStart_buf_runtimeType)) + 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 = 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (paddingEnd_buf_runtimeType)) + 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 = 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (mainTitleModifier_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (subTitleModifier_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) + enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) { enableHoverMode_buf.value = valueDeserializer.readBoolean(); } @@ -77807,8 +77774,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto startIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr startIcon_buf = {}; - startIcon_buf.tag = startIcon_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (startIcon_buf_runtimeType)) + 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 startIcon_buf__selector = valueDeserializer.readInt8(); Ark_ResourceStr startIcon_buf_ = {}; @@ -77829,16 +77796,16 @@ class Deserializer : public DeserializerBase { value.startIcon = startIcon_buf; const auto symbolStartIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_SymbolGlyphModifier symbolStartIcon_buf = {}; - symbolStartIcon_buf.tag = symbolStartIcon_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (symbolStartIcon_buf_runtimeType)) + 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(); } value.symbolStartIcon = symbolStartIcon_buf; const auto content_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr content_buf = {}; - content_buf.tag = content_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (content_buf_runtimeType)) + 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_ = {}; @@ -77859,8 +77826,8 @@ class Deserializer : public DeserializerBase { value.content = content_buf; const auto endIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr endIcon_buf = {}; - endIcon_buf.tag = endIcon_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (endIcon_buf_runtimeType)) + 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 endIcon_buf__selector = valueDeserializer.readInt8(); Ark_ResourceStr endIcon_buf_ = {}; @@ -77881,16 +77848,16 @@ class Deserializer : public DeserializerBase { value.endIcon = endIcon_buf; const auto symbolEndIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_SymbolGlyphModifier symbolEndIcon_buf = {}; - symbolEndIcon_buf.tag = symbolEndIcon_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (symbolEndIcon_buf_runtimeType)) + 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(); } value.symbolEndIcon = symbolEndIcon_buf; const auto labelInfo_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr labelInfo_buf = {}; - labelInfo_buf.tag = labelInfo_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (labelInfo_buf_runtimeType)) + 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_ = {}; @@ -77911,8 +77878,8 @@ class Deserializer : public DeserializerBase { value.labelInfo = labelInfo_buf; const auto builder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_CustomNodeBuilder builder_buf = {}; - builder_buf.tag = builder_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (builder_buf_runtimeType)) + 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))))}; } @@ -77925,16 +77892,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics strokeWidth_buf = {}; - strokeWidth_buf.tag = strokeWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) + 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 = 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + 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_ = {}; @@ -77963,16 +77930,16 @@ class Deserializer : public DeserializerBase { value.color = color_buf; const auto startMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics startMargin_buf = {}; - startMargin_buf.tag = startMargin_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (startMargin_buf_runtimeType)) + startMargin_buf.tag = startMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (startMargin_buf_runtimeType)) { startMargin_buf.value = 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (endMargin_buf_runtimeType)) + 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 = valueDeserializer.readLengthMetrics(); } @@ -78014,8 +77981,8 @@ class Deserializer : public DeserializerBase { value.strokeWidth = valueDeserializer.readLength(); const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + 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_ = {}; @@ -78044,16 +78011,16 @@ class Deserializer : public DeserializerBase { value.color = color_buf; const auto startMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length startMargin_buf = {}; - startMargin_buf.tag = startMargin_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (startMargin_buf_runtimeType)) + startMargin_buf.tag = startMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (startMargin_buf_runtimeType)) { startMargin_buf.value = valueDeserializer.readLength(); } value.startMargin = startMargin_buf; const auto endMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length endMargin_buf = {}; - endMargin_buf.tag = endMargin_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (endMargin_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } @@ -78066,8 +78033,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto onFinish_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void onFinish_buf = {}; - onFinish_buf.tag = onFinish_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onFinish_buf_runtimeType)) + 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))))}; } @@ -78092,8 +78059,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto value_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Array_String value_buf = {}; - value_buf.tag = value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) + 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_ = {}; @@ -78107,8 +78074,8 @@ class Deserializer : public DeserializerBase { value.value = value_buf; const auto reference_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BreakpointsReference reference_buf = {}; - reference_buf.tag = reference_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (reference_buf_runtimeType)) + 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()); } @@ -78128,16 +78095,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto main_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics main_buf = {}; - main_buf.tag = main_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (main_buf_runtimeType)) + 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 = 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cross_buf_runtimeType)) + 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 = valueDeserializer.readLengthMetrics(); } @@ -78150,128 +78117,128 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Date start_buf = {}; - start_buf.tag = start_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) + 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 lunar_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean lunar_buf = {}; - lunar_buf.tag = lunar_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (lunar_buf_runtimeType)) + lunar_buf.tag = lunar_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (lunar_buf_runtimeType)) { lunar_buf.value = valueDeserializer.readBoolean(); } value.lunar = lunar_buf; const auto lunarSwitch_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean lunarSwitch_buf = {}; - lunarSwitch_buf.tag = lunarSwitch_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (lunarSwitch_buf_runtimeType)) + lunarSwitch_buf.tag = lunarSwitch_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (lunarSwitch_buf_runtimeType)) { lunarSwitch_buf.value = valueDeserializer.readBoolean(); } value.lunarSwitch = lunarSwitch_buf; const auto lunarSwitchStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LunarSwitchStyle lunarSwitchStyle_buf = {}; - lunarSwitchStyle_buf.tag = lunarSwitchStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (lunarSwitchStyle_buf_runtimeType)) + lunarSwitchStyle_buf.tag = lunarSwitchStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (lunarSwitchStyle_buf_runtimeType)) { lunarSwitchStyle_buf.value = valueDeserializer.readLunarSwitchStyle(); } value.lunarSwitchStyle = lunarSwitchStyle_buf; const auto showTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean showTime_buf = {}; - showTime_buf.tag = showTime_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (showTime_buf_runtimeType)) + showTime_buf.tag = showTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (showTime_buf_runtimeType)) { showTime_buf.value = valueDeserializer.readBoolean(); } value.showTime = showTime_buf; const auto useMilitaryTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean useMilitaryTime_buf = {}; - useMilitaryTime_buf.tag = useMilitaryTime_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (useMilitaryTime_buf_runtimeType)) + useMilitaryTime_buf.tag = useMilitaryTime_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (useMilitaryTime_buf_runtimeType)) { useMilitaryTime_buf.value = valueDeserializer.readBoolean(); } value.useMilitaryTime = useMilitaryTime_buf; const auto disappearTextStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PickerTextStyle disappearTextStyle_buf = {}; - disappearTextStyle_buf.tag = disappearTextStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (disappearTextStyle_buf_runtimeType)) + disappearTextStyle_buf.tag = disappearTextStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (disappearTextStyle_buf_runtimeType)) { disappearTextStyle_buf.value = valueDeserializer.readPickerTextStyle(); } value.disappearTextStyle = disappearTextStyle_buf; const auto textStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PickerTextStyle textStyle_buf = {}; - textStyle_buf.tag = textStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (textStyle_buf_runtimeType)) + textStyle_buf.tag = textStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textStyle_buf_runtimeType)) { textStyle_buf.value = valueDeserializer.readPickerTextStyle(); } value.textStyle = textStyle_buf; const auto acceptButtonStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PickerDialogButtonStyle acceptButtonStyle_buf = {}; - acceptButtonStyle_buf.tag = acceptButtonStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (acceptButtonStyle_buf_runtimeType)) + acceptButtonStyle_buf.tag = acceptButtonStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (acceptButtonStyle_buf_runtimeType)) { acceptButtonStyle_buf.value = valueDeserializer.readPickerDialogButtonStyle(); } value.acceptButtonStyle = acceptButtonStyle_buf; const auto cancelButtonStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PickerDialogButtonStyle cancelButtonStyle_buf = {}; - cancelButtonStyle_buf.tag = cancelButtonStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cancelButtonStyle_buf_runtimeType)) + cancelButtonStyle_buf.tag = cancelButtonStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (cancelButtonStyle_buf_runtimeType)) { cancelButtonStyle_buf.value = valueDeserializer.readPickerDialogButtonStyle(); } value.cancelButtonStyle = cancelButtonStyle_buf; const auto selectedTextStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PickerTextStyle selectedTextStyle_buf = {}; - selectedTextStyle_buf.tag = selectedTextStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (selectedTextStyle_buf_runtimeType)) + selectedTextStyle_buf.tag = selectedTextStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (selectedTextStyle_buf_runtimeType)) { selectedTextStyle_buf.value = valueDeserializer.readPickerTextStyle(); } value.selectedTextStyle = selectedTextStyle_buf; const auto maskRect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Rectangle maskRect_buf = {}; - maskRect_buf.tag = maskRect_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (maskRect_buf_runtimeType)) + maskRect_buf.tag = maskRect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (maskRect_buf_runtimeType)) { maskRect_buf.value = valueDeserializer.readRectangle(); } value.maskRect = maskRect_buf; const auto alignment_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_DialogAlignment alignment_buf = {}; - alignment_buf.tag = alignment_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (alignment_buf_runtimeType)) + alignment_buf.tag = alignment_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (alignment_buf_runtimeType)) { alignment_buf.value = static_cast(valueDeserializer.readInt32()); } value.alignment = alignment_buf; const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Offset offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + 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_ = {}; offset_buf_.dx = valueDeserializer.readLength(); @@ -78281,48 +78248,48 @@ class Deserializer : public DeserializerBase { value.offset = offset_buf; const auto onAccept_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_DatePickerResult_Void onAccept_buf = {}; - onAccept_buf.tag = onAccept_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onAccept_buf_runtimeType)) + onAccept_buf.tag = onAccept_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onAccept_buf_runtimeType)) { onAccept_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DatePickerResult_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DatePickerResult_Void))))}; } value.onAccept = onAccept_buf; const auto onCancel_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_VoidCallback onCancel_buf = {}; - onCancel_buf.tag = onCancel_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onCancel_buf_runtimeType)) + onCancel_buf.tag = onCancel_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onCancel_buf_runtimeType)) { onCancel_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; } value.onCancel = onCancel_buf; const auto onChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_DatePickerResult_Void onChange_buf = {}; - onChange_buf.tag = onChange_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onChange_buf_runtimeType)) + onChange_buf.tag = onChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onChange_buf_runtimeType)) { onChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_DatePickerResult_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DatePickerResult_Void))))}; } value.onChange = onChange_buf; const auto onDateAccept_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Date_Void onDateAccept_buf = {}; - onDateAccept_buf.tag = onDateAccept_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onDateAccept_buf_runtimeType)) + onDateAccept_buf.tag = onDateAccept_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDateAccept_buf_runtimeType)) { onDateAccept_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Date_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Date_Void))))}; } value.onDateAccept = onDateAccept_buf; const auto onDateChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Date_Void onDateChange_buf = {}; - onDateChange_buf.tag = onDateChange_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onDateChange_buf_runtimeType)) + onDateChange_buf.tag = onDateChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDateChange_buf_runtimeType)) { onDateChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Date_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Date_Void))))}; } value.onDateChange = onDateChange_buf; const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + 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_ = {}; @@ -78351,48 +78318,48 @@ class Deserializer : public DeserializerBase { value.backgroundColor = backgroundColor_buf; const auto backgroundBlurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BlurStyle backgroundBlurStyle_buf = {}; - backgroundBlurStyle_buf.tag = backgroundBlurStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + 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 onDidAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_VoidCallback onDidAppear_buf = {}; - onDidAppear_buf.tag = onDidAppear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onDidAppear_buf_runtimeType)) + 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_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; } value.onDidAppear = onDidAppear_buf; const auto onDidDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_VoidCallback onDidDisappear_buf = {}; - onDidDisappear_buf.tag = onDidDisappear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onDidDisappear_buf_runtimeType)) + 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_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; } value.onDidDisappear = onDidDisappear_buf; const auto onWillAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_VoidCallback onWillAppear_buf = {}; - onWillAppear_buf.tag = onWillAppear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillAppear_buf_runtimeType)) + 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_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; } value.onWillAppear = onWillAppear_buf; const auto onWillDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_VoidCallback onWillDisappear_buf = {}; - onWillDisappear_buf.tag = onWillDisappear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillDisappear_buf_runtimeType)) + 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_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; } value.onWillDisappear = onWillDisappear_buf; const auto shadow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_ShadowOptions_ShadowStyle shadow_buf = {}; - shadow_buf.tag = shadow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (shadow_buf_runtimeType)) + 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 shadow_buf__selector = valueDeserializer.readInt8(); Ark_Union_ShadowOptions_ShadowStyle shadow_buf_ = {}; @@ -78413,24 +78380,24 @@ class Deserializer : public DeserializerBase { value.shadow = shadow_buf; const auto dateTimeOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_DateTimeOptions dateTimeOptions_buf = {}; - dateTimeOptions_buf.tag = dateTimeOptions_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dateTimeOptions_buf_runtimeType)) + dateTimeOptions_buf.tag = dateTimeOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dateTimeOptions_buf_runtimeType)) { dateTimeOptions_buf.value = valueDeserializer.readDateTimeOptions(); } value.dateTimeOptions = dateTimeOptions_buf; const auto enableHoverMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableHoverMode_buf = {}; - enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) + enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) { enableHoverMode_buf.value = valueDeserializer.readBoolean(); } value.enableHoverMode = enableHoverMode_buf; const auto hoverModeArea_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_HoverModeAreaType hoverModeArea_buf = {}; - hoverModeArea_buf.tag = hoverModeArea_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (hoverModeArea_buf_runtimeType)) + hoverModeArea_buf.tag = hoverModeArea_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hoverModeArea_buf_runtimeType)) { hoverModeArea_buf.value = static_cast(valueDeserializer.readInt32()); } @@ -78448,24 +78415,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number duration_buf = {}; - duration_buf.tag = duration_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) + 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 tempo_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number tempo_buf = {}; - tempo_buf.tag = tempo_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (tempo_buf_runtimeType)) + tempo_buf.tag = tempo_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (tempo_buf_runtimeType)) { tempo_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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (curve_buf_runtimeType)) + 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_ = {}; @@ -78490,48 +78457,48 @@ class Deserializer : public DeserializerBase { value.curve = curve_buf; const auto delay_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number delay_buf = {}; - delay_buf.tag = delay_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (delay_buf_runtimeType)) + 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; const auto iterations_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number iterations_buf = {}; - iterations_buf.tag = iterations_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (iterations_buf_runtimeType)) + 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; const auto playMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PlayMode playMode_buf = {}; - playMode_buf.tag = playMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (playMode_buf_runtimeType)) + playMode_buf.tag = playMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (playMode_buf_runtimeType)) { playMode_buf.value = static_cast(valueDeserializer.readInt32()); } value.playMode = playMode_buf; const auto onFinish_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void onFinish_buf = {}; - onFinish_buf.tag = onFinish_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onFinish_buf_runtimeType)) + 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; const auto finishCallbackType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_FinishCallbackType finishCallbackType_buf = {}; - finishCallbackType_buf.tag = finishCallbackType_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (finishCallbackType_buf_runtimeType)) + finishCallbackType_buf.tag = finishCallbackType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (finishCallbackType_buf_runtimeType)) { finishCallbackType_buf.value = static_cast(valueDeserializer.readInt32()); } value.finishCallbackType = finishCallbackType_buf; const auto expectedFrameRateRange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ExpectedFrameRateRange expectedFrameRateRange_buf = {}; - expectedFrameRateRange_buf.tag = expectedFrameRateRange_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (expectedFrameRateRange_buf_runtimeType)) + expectedFrameRateRange_buf.tag = expectedFrameRateRange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (expectedFrameRateRange_buf_runtimeType)) { expectedFrameRateRange_buf.value = valueDeserializer.readExpectedFrameRateRange(); } @@ -78543,14 +78510,36 @@ class Deserializer : public DeserializerBase { Ark_UIGestureEvent value = {}; 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_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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fadingEdgeLength_buf_runtimeType)) + 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 = valueDeserializer.readLengthMetrics(); } @@ -78570,8 +78559,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto accessibilityPreferred_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean accessibilityPreferred_buf = {}; - accessibilityPreferred_buf.tag = accessibilityPreferred_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (accessibilityPreferred_buf_runtimeType)) + 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(); } @@ -78584,8 +78573,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + 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_ = {}; @@ -78614,40 +78603,40 @@ class Deserializer : public DeserializerBase { value.backgroundColor = backgroundColor_buf; const auto onAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void onAppear_buf = {}; - onAppear_buf.tag = onAppear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onAppear_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onDisappear_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillAppear_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillDisappear_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + 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_ = {}; @@ -78668,16 +78657,16 @@ class Deserializer : public DeserializerBase { value.height = height_buf; const auto dragBar_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean dragBar_buf = {}; - dragBar_buf.tag = dragBar_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dragBar_buf_runtimeType)) + dragBar_buf.tag = dragBar_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dragBar_buf_runtimeType)) { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (maskColor_buf_runtimeType)) + 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_ = {}; @@ -78706,8 +78695,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (detents_buf_runtimeType)) + 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(); @@ -78727,8 +78716,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (detents_buf__value1_buf_runtimeType)) + 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_ = {}; @@ -78749,8 +78738,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (detents_buf__value2_buf_runtimeType)) + 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_ = {}; @@ -78774,16 +78763,16 @@ class Deserializer : public DeserializerBase { value.detents = detents_buf; const auto blurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BlurStyle blurStyle_buf = {}; - blurStyle_buf.tag = blurStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (blurStyle_buf_runtimeType)) + blurStyle_buf.tag = blurStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (blurStyle_buf_runtimeType)) { blurStyle_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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (showClose_buf_runtimeType)) + 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 showClose_buf__selector = valueDeserializer.readInt8(); Ark_Union_Boolean_Resource showClose_buf_ = {}; @@ -78804,16 +78793,16 @@ class Deserializer : public DeserializerBase { value.showClose = showClose_buf; const auto preferType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_SheetType preferType_buf = {}; - preferType_buf.tag = preferType_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (preferType_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (title_buf_runtimeType)) + 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_ = {}; @@ -78834,48 +78823,48 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (shouldDismiss_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillDismiss_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillSpringBackWhenDismiss_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableOutsideInteractive_buf_runtimeType)) + 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_Length width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf_runtimeType)) + 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_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth_buf_ = {}; @@ -78889,32 +78878,32 @@ class Deserializer : public DeserializerBase { Ark_EdgeWidths borderWidth_buf__u = {}; const auto borderWidth_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_top_buf = {}; - borderWidth_buf__u_top_buf.tag = borderWidth_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) + 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)) { borderWidth_buf__u_top_buf.value = valueDeserializer.readLength(); } borderWidth_buf__u.top = borderWidth_buf__u_top_buf; const auto borderWidth_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_right_buf = {}; - borderWidth_buf__u_right_buf.tag = borderWidth_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) + 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)) { borderWidth_buf__u_right_buf.value = valueDeserializer.readLength(); } borderWidth_buf__u.right = borderWidth_buf__u_right_buf; const auto borderWidth_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_bottom_buf = {}; - borderWidth_buf__u_bottom_buf.tag = borderWidth_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) + 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)) { borderWidth_buf__u_bottom_buf.value = valueDeserializer.readLength(); } borderWidth_buf__u.bottom = borderWidth_buf__u_bottom_buf; const auto borderWidth_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_left_buf = {}; - borderWidth_buf__u_left_buf.tag = borderWidth_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) + 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)) { borderWidth_buf__u_left_buf.value = valueDeserializer.readLength(); } @@ -78933,8 +78922,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf_runtimeType)) + 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 borderColor_buf__selector = valueDeserializer.readInt8(); Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor_buf_ = {}; @@ -78970,8 +78959,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) + 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_ = {}; @@ -79000,8 +78989,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) + 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_ = {}; @@ -79030,8 +79019,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) + 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_ = {}; @@ -79060,8 +79049,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) + 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_ = {}; @@ -79102,8 +79091,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf_runtimeType)) + 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 borderStyle_buf__selector = valueDeserializer.readInt8(); Ark_Union_BorderStyle_EdgeStyles borderStyle_buf_ = {}; @@ -79117,32 +79106,32 @@ class Deserializer : public DeserializerBase { Ark_EdgeStyles borderStyle_buf__u = {}; const auto borderStyle_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_top_buf = {}; - borderStyle_buf__u_top_buf.tag = borderStyle_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_top_buf_runtimeType)) + borderStyle_buf__u_top_buf.tag = borderStyle_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_top_buf_runtimeType)) { borderStyle_buf__u_top_buf.value = static_cast(valueDeserializer.readInt32()); } borderStyle_buf__u.top = borderStyle_buf__u_top_buf; const auto borderStyle_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_right_buf = {}; - borderStyle_buf__u_right_buf.tag = borderStyle_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_right_buf_runtimeType)) + borderStyle_buf__u_right_buf.tag = borderStyle_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_right_buf_runtimeType)) { borderStyle_buf__u_right_buf.value = static_cast(valueDeserializer.readInt32()); } borderStyle_buf__u.right = borderStyle_buf__u_right_buf; const auto borderStyle_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_bottom_buf = {}; - borderStyle_buf__u_bottom_buf.tag = borderStyle_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_bottom_buf_runtimeType)) + borderStyle_buf__u_bottom_buf.tag = borderStyle_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_bottom_buf_runtimeType)) { borderStyle_buf__u_bottom_buf.value = static_cast(valueDeserializer.readInt32()); } borderStyle_buf__u.bottom = borderStyle_buf__u_bottom_buf; const auto borderStyle_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_left_buf = {}; - borderStyle_buf__u_left_buf.tag = borderStyle_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_left_buf_runtimeType)) + borderStyle_buf__u_left_buf.tag = borderStyle_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_left_buf_runtimeType)) { borderStyle_buf__u_left_buf.value = static_cast(valueDeserializer.readInt32()); } @@ -79157,8 +79146,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (shadow_buf_runtimeType)) + 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 shadow_buf__selector = valueDeserializer.readInt8(); Ark_Union_ShadowOptions_ShadowStyle shadow_buf_ = {}; @@ -79179,64 +79168,64 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onHeightDidChange_buf_runtimeType)) + onHeightDidChange_buf.tag = onHeightDidChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onHeightDidChange_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))))}; } value.onHeightDidChange = onHeightDidChange_buf; const auto mode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_SheetMode mode_buf = {}; - mode_buf.tag = mode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (mode_buf_runtimeType)) + 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 scrollSizeMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ScrollSizeMode scrollSizeMode_buf = {}; - scrollSizeMode_buf.tag = scrollSizeMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (scrollSizeMode_buf_runtimeType)) + scrollSizeMode_buf.tag = scrollSizeMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scrollSizeMode_buf_runtimeType)) { scrollSizeMode_buf.value = static_cast(valueDeserializer.readInt32()); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onDetentsDidChange_buf_runtimeType)) + onDetentsDidChange_buf.tag = onDetentsDidChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onDetentsDidChange_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))))}; } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWidthDidChange_buf_runtimeType)) + onWidthDidChange_buf.tag = onWidthDidChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWidthDidChange_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))))}; } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onTypeDidChange_buf_runtimeType)) + onTypeDidChange_buf.tag = onTypeDidChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onTypeDidChange_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))))}; } value.onTypeDidChange = onTypeDidChange_buf; const auto uiContext_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_UIContext uiContext_buf = {}; - uiContext_buf.tag = uiContext_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (uiContext_buf_runtimeType)) + uiContext_buf.tag = uiContext_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (uiContext_buf_runtimeType)) { uiContext_buf.value = valueDeserializer.readUIContext(); } value.uiContext = uiContext_buf; const auto keyboardAvoidMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_SheetKeyboardAvoidMode keyboardAvoidMode_buf = {}; - keyboardAvoidMode_buf.tag = keyboardAvoidMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (keyboardAvoidMode_buf_runtimeType)) + keyboardAvoidMode_buf.tag = keyboardAvoidMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (keyboardAvoidMode_buf_runtimeType)) { keyboardAvoidMode_buf.value = static_cast(valueDeserializer.readInt32()); } @@ -79249,8 +79238,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + 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_ = {}; @@ -79279,56 +79268,56 @@ class Deserializer : public DeserializerBase { value.backgroundColor = backgroundColor_buf; const auto onAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void onAppear_buf = {}; - onAppear_buf.tag = onAppear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onAppear_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onDisappear_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillAppear_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillDisappear_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (modalTransition_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillDismiss_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (transition_buf_runtimeType)) + 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()); } @@ -79341,40 +79330,40 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Position offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + 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 = valueDeserializer.readPosition(); } value.offset = offset_buf; const auto placement_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Placement placement_buf = {}; - placement_buf.tag = placement_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (placement_buf_runtimeType)) + 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 enableArrow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableArrow_buf = {}; - enableArrow_buf.tag = enableArrow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableArrow_buf_runtimeType)) + enableArrow_buf.tag = enableArrow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableArrow_buf_runtimeType)) { enableArrow_buf.value = valueDeserializer.readBoolean(); } value.enableArrow = enableArrow_buf; const auto arrowOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length arrowOffset_buf = {}; - arrowOffset_buf.tag = arrowOffset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (arrowOffset_buf_runtimeType)) + arrowOffset_buf.tag = arrowOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (arrowOffset_buf_runtimeType)) { arrowOffset_buf.value = valueDeserializer.readLength(); } value.arrowOffset = arrowOffset_buf; const auto preview_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_MenuPreviewMode_CustomBuilder preview_buf = {}; - preview_buf.tag = preview_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (preview_buf_runtimeType)) + preview_buf.tag = preview_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (preview_buf_runtimeType)) { const Ark_Int8 preview_buf__selector = valueDeserializer.readInt8(); Ark_Union_MenuPreviewMode_CustomBuilder preview_buf_ = {}; @@ -79395,8 +79384,8 @@ class Deserializer : public DeserializerBase { value.preview = preview_buf; const auto borderRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses borderRadius_buf = {}; - borderRadius_buf.tag = borderRadius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf_runtimeType)) + 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_Length_BorderRadiuses_LocalizedBorderRadiuses borderRadius_buf_ = {}; @@ -79410,32 +79399,32 @@ class Deserializer : public DeserializerBase { Ark_BorderRadiuses borderRadius_buf__u = {}; const auto borderRadius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf__u_topLeft_buf = {}; - borderRadius_buf__u_topLeft_buf.tag = borderRadius_buf__u_topLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf__u_topLeft_buf_runtimeType)) + 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)) { borderRadius_buf__u_topLeft_buf.value = valueDeserializer.readLength(); } borderRadius_buf__u.topLeft = borderRadius_buf__u_topLeft_buf; const auto borderRadius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf__u_topRight_buf = {}; - borderRadius_buf__u_topRight_buf.tag = borderRadius_buf__u_topRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf__u_topRight_buf_runtimeType)) + 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)) { borderRadius_buf__u_topRight_buf.value = valueDeserializer.readLength(); } borderRadius_buf__u.topRight = borderRadius_buf__u_topRight_buf; const auto borderRadius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf__u_bottomLeft_buf = {}; - borderRadius_buf__u_bottomLeft_buf.tag = borderRadius_buf__u_bottomLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf__u_bottomLeft_buf_runtimeType)) + 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)) { borderRadius_buf__u_bottomLeft_buf.value = valueDeserializer.readLength(); } borderRadius_buf__u.bottomLeft = borderRadius_buf__u_bottomLeft_buf; const auto borderRadius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf__u_bottomRight_buf = {}; - borderRadius_buf__u_bottomRight_buf.tag = borderRadius_buf__u_bottomRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf__u_bottomRight_buf_runtimeType)) + 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)) { borderRadius_buf__u_bottomRight_buf.value = valueDeserializer.readLength(); } @@ -79454,70 +79443,70 @@ class Deserializer : public DeserializerBase { value.borderRadius = borderRadius_buf; const auto onAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void onAppear_buf = {}; - onAppear_buf.tag = onAppear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onAppear_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onDisappear_buf_runtimeType)) + 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 aboutToAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void aboutToAppear_buf = {}; - aboutToAppear_buf.tag = aboutToAppear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (aboutToAppear_buf_runtimeType)) + aboutToAppear_buf.tag = aboutToAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (aboutToAppear_buf_runtimeType)) { aboutToAppear_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.aboutToAppear = aboutToAppear_buf; const auto aboutToDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void aboutToDisappear_buf = {}; - aboutToDisappear_buf.tag = aboutToDisappear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (aboutToDisappear_buf_runtimeType)) + aboutToDisappear_buf.tag = aboutToDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (aboutToDisappear_buf_runtimeType)) { aboutToDisappear_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.aboutToDisappear = aboutToDisappear_buf; const auto layoutRegionMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Padding layoutRegionMargin_buf = {}; - layoutRegionMargin_buf.tag = layoutRegionMargin_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (layoutRegionMargin_buf_runtimeType)) + 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_Length layoutRegionMargin_buf__top_buf = {}; - layoutRegionMargin_buf__top_buf.tag = layoutRegionMargin_buf__top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (layoutRegionMargin_buf__top_buf_runtimeType)) + 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)) { layoutRegionMargin_buf__top_buf.value = valueDeserializer.readLength(); } layoutRegionMargin_buf_.top = layoutRegionMargin_buf__top_buf; const auto layoutRegionMargin_buf__right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length layoutRegionMargin_buf__right_buf = {}; - layoutRegionMargin_buf__right_buf.tag = layoutRegionMargin_buf__right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (layoutRegionMargin_buf__right_buf_runtimeType)) + 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)) { layoutRegionMargin_buf__right_buf.value = valueDeserializer.readLength(); } layoutRegionMargin_buf_.right = layoutRegionMargin_buf__right_buf; const auto layoutRegionMargin_buf__bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length layoutRegionMargin_buf__bottom_buf = {}; - layoutRegionMargin_buf__bottom_buf.tag = layoutRegionMargin_buf__bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (layoutRegionMargin_buf__bottom_buf_runtimeType)) + 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)) { layoutRegionMargin_buf__bottom_buf.value = valueDeserializer.readLength(); } layoutRegionMargin_buf_.bottom = layoutRegionMargin_buf__bottom_buf; const auto layoutRegionMargin_buf__left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length layoutRegionMargin_buf__left_buf = {}; - layoutRegionMargin_buf__left_buf.tag = layoutRegionMargin_buf__left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (layoutRegionMargin_buf__left_buf_runtimeType)) + 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)) { layoutRegionMargin_buf__left_buf.value = valueDeserializer.readLength(); } @@ -79527,16 +79516,16 @@ class Deserializer : public DeserializerBase { value.layoutRegionMargin = layoutRegionMargin_buf; const auto previewAnimationOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ContextMenuAnimationOptions previewAnimationOptions_buf = {}; - previewAnimationOptions_buf.tag = previewAnimationOptions_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (previewAnimationOptions_buf_runtimeType)) + previewAnimationOptions_buf.tag = previewAnimationOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (previewAnimationOptions_buf_runtimeType)) { previewAnimationOptions_buf.value = valueDeserializer.readContextMenuAnimationOptions(); } value.previewAnimationOptions = previewAnimationOptions_buf; const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + 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_ = {}; @@ -79565,24 +79554,24 @@ class Deserializer : public DeserializerBase { value.backgroundColor = backgroundColor_buf; const auto backgroundBlurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BlurStyle backgroundBlurStyle_buf = {}; - backgroundBlurStyle_buf.tag = backgroundBlurStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + 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 transition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TransitionEffect transition_buf = {}; - transition_buf.tag = transition_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (transition_buf_runtimeType)) + 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 enableHoverMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableHoverMode_buf = {}; - enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) + enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) { enableHoverMode_buf.value = valueDeserializer.readBoolean(); } @@ -79595,40 +79584,40 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Position offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + 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 = valueDeserializer.readPosition(); } value.offset = offset_buf; const auto placement_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Placement placement_buf = {}; - placement_buf.tag = placement_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (placement_buf_runtimeType)) + 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 enableArrow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableArrow_buf = {}; - enableArrow_buf.tag = enableArrow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableArrow_buf_runtimeType)) + enableArrow_buf.tag = enableArrow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableArrow_buf_runtimeType)) { enableArrow_buf.value = valueDeserializer.readBoolean(); } value.enableArrow = enableArrow_buf; const auto arrowOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length arrowOffset_buf = {}; - arrowOffset_buf.tag = arrowOffset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (arrowOffset_buf_runtimeType)) + arrowOffset_buf.tag = arrowOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (arrowOffset_buf_runtimeType)) { arrowOffset_buf.value = valueDeserializer.readLength(); } value.arrowOffset = arrowOffset_buf; const auto preview_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_MenuPreviewMode_CustomBuilder preview_buf = {}; - preview_buf.tag = preview_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (preview_buf_runtimeType)) + preview_buf.tag = preview_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (preview_buf_runtimeType)) { const Ark_Int8 preview_buf__selector = valueDeserializer.readInt8(); Ark_Union_MenuPreviewMode_CustomBuilder preview_buf_ = {}; @@ -79649,8 +79638,8 @@ class Deserializer : public DeserializerBase { value.preview = preview_buf; const auto borderRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Length_BorderRadiuses_LocalizedBorderRadiuses borderRadius_buf = {}; - borderRadius_buf.tag = borderRadius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf_runtimeType)) + 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_Length_BorderRadiuses_LocalizedBorderRadiuses borderRadius_buf_ = {}; @@ -79664,32 +79653,32 @@ class Deserializer : public DeserializerBase { Ark_BorderRadiuses borderRadius_buf__u = {}; const auto borderRadius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf__u_topLeft_buf = {}; - borderRadius_buf__u_topLeft_buf.tag = borderRadius_buf__u_topLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf__u_topLeft_buf_runtimeType)) + 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)) { borderRadius_buf__u_topLeft_buf.value = valueDeserializer.readLength(); } borderRadius_buf__u.topLeft = borderRadius_buf__u_topLeft_buf; const auto borderRadius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf__u_topRight_buf = {}; - borderRadius_buf__u_topRight_buf.tag = borderRadius_buf__u_topRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf__u_topRight_buf_runtimeType)) + 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)) { borderRadius_buf__u_topRight_buf.value = valueDeserializer.readLength(); } borderRadius_buf__u.topRight = borderRadius_buf__u_topRight_buf; const auto borderRadius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf__u_bottomLeft_buf = {}; - borderRadius_buf__u_bottomLeft_buf.tag = borderRadius_buf__u_bottomLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf__u_bottomLeft_buf_runtimeType)) + 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)) { borderRadius_buf__u_bottomLeft_buf.value = valueDeserializer.readLength(); } borderRadius_buf__u.bottomLeft = borderRadius_buf__u_bottomLeft_buf; const auto borderRadius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderRadius_buf__u_bottomRight_buf = {}; - borderRadius_buf__u_bottomRight_buf.tag = borderRadius_buf__u_bottomRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderRadius_buf__u_bottomRight_buf_runtimeType)) + 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)) { borderRadius_buf__u_bottomRight_buf.value = valueDeserializer.readLength(); } @@ -79708,70 +79697,70 @@ class Deserializer : public DeserializerBase { value.borderRadius = borderRadius_buf; const auto onAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void onAppear_buf = {}; - onAppear_buf.tag = onAppear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onAppear_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onDisappear_buf_runtimeType)) + 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 aboutToAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void aboutToAppear_buf = {}; - aboutToAppear_buf.tag = aboutToAppear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (aboutToAppear_buf_runtimeType)) + aboutToAppear_buf.tag = aboutToAppear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (aboutToAppear_buf_runtimeType)) { aboutToAppear_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.aboutToAppear = aboutToAppear_buf; const auto aboutToDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void aboutToDisappear_buf = {}; - aboutToDisappear_buf.tag = aboutToDisappear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (aboutToDisappear_buf_runtimeType)) + aboutToDisappear_buf.tag = aboutToDisappear_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (aboutToDisappear_buf_runtimeType)) { aboutToDisappear_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.aboutToDisappear = aboutToDisappear_buf; const auto layoutRegionMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Padding layoutRegionMargin_buf = {}; - layoutRegionMargin_buf.tag = layoutRegionMargin_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (layoutRegionMargin_buf_runtimeType)) + 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_Length layoutRegionMargin_buf__top_buf = {}; - layoutRegionMargin_buf__top_buf.tag = layoutRegionMargin_buf__top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (layoutRegionMargin_buf__top_buf_runtimeType)) + 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)) { layoutRegionMargin_buf__top_buf.value = valueDeserializer.readLength(); } layoutRegionMargin_buf_.top = layoutRegionMargin_buf__top_buf; const auto layoutRegionMargin_buf__right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length layoutRegionMargin_buf__right_buf = {}; - layoutRegionMargin_buf__right_buf.tag = layoutRegionMargin_buf__right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (layoutRegionMargin_buf__right_buf_runtimeType)) + 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)) { layoutRegionMargin_buf__right_buf.value = valueDeserializer.readLength(); } layoutRegionMargin_buf_.right = layoutRegionMargin_buf__right_buf; const auto layoutRegionMargin_buf__bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length layoutRegionMargin_buf__bottom_buf = {}; - layoutRegionMargin_buf__bottom_buf.tag = layoutRegionMargin_buf__bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (layoutRegionMargin_buf__bottom_buf_runtimeType)) + 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)) { layoutRegionMargin_buf__bottom_buf.value = valueDeserializer.readLength(); } layoutRegionMargin_buf_.bottom = layoutRegionMargin_buf__bottom_buf; const auto layoutRegionMargin_buf__left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length layoutRegionMargin_buf__left_buf = {}; - layoutRegionMargin_buf__left_buf.tag = layoutRegionMargin_buf__left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (layoutRegionMargin_buf__left_buf_runtimeType)) + 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)) { layoutRegionMargin_buf__left_buf.value = valueDeserializer.readLength(); } @@ -79781,16 +79770,16 @@ class Deserializer : public DeserializerBase { value.layoutRegionMargin = layoutRegionMargin_buf; const auto previewAnimationOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ContextMenuAnimationOptions previewAnimationOptions_buf = {}; - previewAnimationOptions_buf.tag = previewAnimationOptions_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (previewAnimationOptions_buf_runtimeType)) + previewAnimationOptions_buf.tag = previewAnimationOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (previewAnimationOptions_buf_runtimeType)) { previewAnimationOptions_buf.value = valueDeserializer.readContextMenuAnimationOptions(); } value.previewAnimationOptions = previewAnimationOptions_buf; const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + 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_ = {}; @@ -79819,32 +79808,32 @@ class Deserializer : public DeserializerBase { value.backgroundColor = backgroundColor_buf; const auto backgroundBlurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BlurStyle backgroundBlurStyle_buf = {}; - backgroundBlurStyle_buf.tag = backgroundBlurStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + 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 transition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TransitionEffect transition_buf = {}; - transition_buf.tag = transition_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (transition_buf_runtimeType)) + 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 enableHoverMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableHoverMode_buf = {}; - enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) + enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) { enableHoverMode_buf.value = valueDeserializer.readBoolean(); } value.enableHoverMode = enableHoverMode_buf; const auto title_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr title_buf = {}; - title_buf.tag = title_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (title_buf_runtimeType)) + 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_ResourceStr title_buf_ = {}; @@ -79865,8 +79854,8 @@ class Deserializer : public DeserializerBase { value.title = title_buf; const auto showInSubWindow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean showInSubWindow_buf = {}; - showInSubWindow_buf.tag = showInSubWindow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (showInSubWindow_buf_runtimeType)) + 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(); } @@ -79880,16 +79869,16 @@ class Deserializer : public DeserializerBase { value.builder = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; const auto placement_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Placement placement_buf = {}; - placement_buf.tag = placement_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (placement_buf_runtimeType)) + 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 maskColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Color_String_Resource_Number maskColor_buf = {}; - maskColor_buf.tag = maskColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (maskColor_buf_runtimeType)) + 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_Union_Color_String_Resource_Number maskColor_buf_ = {}; @@ -79918,8 +79907,8 @@ class Deserializer : public DeserializerBase { value.maskColor = maskColor_buf; const auto popupColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Color_String_Resource_Number popupColor_buf = {}; - popupColor_buf.tag = popupColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (popupColor_buf_runtimeType)) + popupColor_buf.tag = popupColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (popupColor_buf_runtimeType)) { const Ark_Int8 popupColor_buf__selector = valueDeserializer.readInt8(); Ark_Union_Color_String_Resource_Number popupColor_buf_ = {}; @@ -79948,48 +79937,48 @@ class Deserializer : public DeserializerBase { value.popupColor = popupColor_buf; const auto enableArrow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableArrow_buf = {}; - enableArrow_buf.tag = enableArrow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableArrow_buf_runtimeType)) + enableArrow_buf.tag = enableArrow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableArrow_buf_runtimeType)) { enableArrow_buf.value = valueDeserializer.readBoolean(); } value.enableArrow = enableArrow_buf; const auto autoCancel_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean autoCancel_buf = {}; - autoCancel_buf.tag = autoCancel_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (autoCancel_buf_runtimeType)) + autoCancel_buf.tag = autoCancel_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (autoCancel_buf_runtimeType)) { autoCancel_buf.value = valueDeserializer.readBoolean(); } value.autoCancel = autoCancel_buf; const auto onStateChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Literal_Boolean_isVisible_Void onStateChange_buf = {}; - onStateChange_buf.tag = onStateChange_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onStateChange_buf_runtimeType)) + 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_Literal_Boolean_isVisible_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Literal_Boolean_isVisible_Void))))}; } value.onStateChange = onStateChange_buf; const auto arrowOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length arrowOffset_buf = {}; - arrowOffset_buf.tag = arrowOffset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (arrowOffset_buf_runtimeType)) + arrowOffset_buf.tag = arrowOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (arrowOffset_buf_runtimeType)) { arrowOffset_buf.value = valueDeserializer.readLength(); } value.arrowOffset = arrowOffset_buf; const auto showInSubWindow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean showInSubWindow_buf = {}; - showInSubWindow_buf.tag = showInSubWindow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (showInSubWindow_buf_runtimeType)) + 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 mask_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Boolean_Literal_ResourceColor_color mask_buf = {}; - mask_buf.tag = mask_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (mask_buf_runtimeType)) + mask_buf.tag = mask_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (mask_buf_runtimeType)) { const Ark_Int8 mask_buf__selector = valueDeserializer.readInt8(); Ark_Union_Boolean_Literal_ResourceColor_color mask_buf_ = {}; @@ -80034,64 +80023,64 @@ class Deserializer : public DeserializerBase { value.mask = mask_buf; const auto targetSpace_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length targetSpace_buf = {}; - targetSpace_buf.tag = targetSpace_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (targetSpace_buf_runtimeType)) + targetSpace_buf.tag = targetSpace_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (targetSpace_buf_runtimeType)) { targetSpace_buf.value = valueDeserializer.readLength(); } value.targetSpace = targetSpace_buf; const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Position offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + 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 = valueDeserializer.readPosition(); } value.offset = offset_buf; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.width = width_buf; const auto arrowPointPosition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ArrowPointPosition arrowPointPosition_buf = {}; - arrowPointPosition_buf.tag = arrowPointPosition_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (arrowPointPosition_buf_runtimeType)) + 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_Length arrowWidth_buf = {}; - arrowWidth_buf.tag = arrowWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (arrowWidth_buf_runtimeType)) + arrowWidth_buf.tag = arrowWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (arrowWidth_buf_runtimeType)) { arrowWidth_buf.value = valueDeserializer.readLength(); } value.arrowWidth = arrowWidth_buf; const auto arrowHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length arrowHeight_buf = {}; - arrowHeight_buf.tag = arrowHeight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (arrowHeight_buf_runtimeType)) + arrowHeight_buf.tag = arrowHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (arrowHeight_buf_runtimeType)) { arrowHeight_buf.value = valueDeserializer.readLength(); } value.arrowHeight = arrowHeight_buf; const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length radius_buf = {}; - radius_buf.tag = radius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.radius = radius_buf; const auto shadow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_ShadowOptions_ShadowStyle shadow_buf = {}; - shadow_buf.tag = shadow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (shadow_buf_runtimeType)) + 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 shadow_buf__selector = valueDeserializer.readInt8(); Ark_Union_ShadowOptions_ShadowStyle shadow_buf_ = {}; @@ -80112,32 +80101,32 @@ class Deserializer : public DeserializerBase { value.shadow = shadow_buf; const auto backgroundBlurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BlurStyle backgroundBlurStyle_buf = {}; - backgroundBlurStyle_buf.tag = backgroundBlurStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + 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 focusable_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean focusable_buf = {}; - focusable_buf.tag = focusable_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (focusable_buf_runtimeType)) + 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; const auto transition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TransitionEffect transition_buf = {}; - transition_buf.tag = transition_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (transition_buf_runtimeType)) + 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 onWillDismiss_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Boolean_Callback_DismissPopupAction_Void onWillDismiss_buf = {}; - onWillDismiss_buf.tag = onWillDismiss_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillDismiss_buf_runtimeType)) + onWillDismiss_buf.tag = onWillDismiss_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillDismiss_buf_runtimeType)) { const Ark_Int8 onWillDismiss_buf__selector = valueDeserializer.readInt8(); Ark_Union_Boolean_Callback_DismissPopupAction_Void onWillDismiss_buf_ = {}; @@ -80158,16 +80147,16 @@ class Deserializer : public DeserializerBase { value.onWillDismiss = onWillDismiss_buf; const auto enableHoverMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableHoverMode_buf = {}; - enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) + enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) { enableHoverMode_buf.value = valueDeserializer.readBoolean(); } value.enableHoverMode = enableHoverMode_buf; const auto followTransformOfTarget_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean followTransformOfTarget_buf = {}; - followTransformOfTarget_buf.tag = followTransformOfTarget_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (followTransformOfTarget_buf_runtimeType)) + followTransformOfTarget_buf.tag = followTransformOfTarget_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (followTransformOfTarget_buf_runtimeType)) { followTransformOfTarget_buf.value = valueDeserializer.readBoolean(); } @@ -80181,24 +80170,24 @@ class Deserializer : public DeserializerBase { value.message = static_cast(valueDeserializer.readString()); const auto placementOnTop_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean placementOnTop_buf = {}; - placementOnTop_buf.tag = placementOnTop_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (placementOnTop_buf_runtimeType)) + placementOnTop_buf.tag = placementOnTop_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (placementOnTop_buf_runtimeType)) { placementOnTop_buf.value = valueDeserializer.readBoolean(); } value.placementOnTop = placementOnTop_buf; const auto placement_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Placement placement_buf = {}; - placement_buf.tag = placement_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (placement_buf_runtimeType)) + 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 primaryButton_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Literal_String_value_Callback_Void_action primaryButton_buf = {}; - primaryButton_buf.tag = primaryButton_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (primaryButton_buf_runtimeType)) + primaryButton_buf.tag = primaryButton_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (primaryButton_buf_runtimeType)) { Ark_Literal_String_value_Callback_Void_action primaryButton_buf_ = {}; primaryButton_buf_.value = static_cast(valueDeserializer.readString()); @@ -80208,8 +80197,8 @@ class Deserializer : public DeserializerBase { value.primaryButton = primaryButton_buf; const auto secondaryButton_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Literal_String_value_Callback_Void_action secondaryButton_buf = {}; - secondaryButton_buf.tag = secondaryButton_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (secondaryButton_buf_runtimeType)) + secondaryButton_buf.tag = secondaryButton_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (secondaryButton_buf_runtimeType)) { Ark_Literal_String_value_Callback_Void_action secondaryButton_buf_ = {}; secondaryButton_buf_.value = static_cast(valueDeserializer.readString()); @@ -80219,32 +80208,32 @@ class Deserializer : public DeserializerBase { value.secondaryButton = secondaryButton_buf; const auto onStateChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Literal_Boolean_isVisible_Void onStateChange_buf = {}; - onStateChange_buf.tag = onStateChange_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onStateChange_buf_runtimeType)) + 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_Literal_Boolean_isVisible_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Literal_Boolean_isVisible_Void))))}; } value.onStateChange = onStateChange_buf; const auto arrowOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length arrowOffset_buf = {}; - arrowOffset_buf.tag = arrowOffset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (arrowOffset_buf_runtimeType)) + arrowOffset_buf.tag = arrowOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (arrowOffset_buf_runtimeType)) { arrowOffset_buf.value = valueDeserializer.readLength(); } value.arrowOffset = arrowOffset_buf; const auto showInSubWindow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean showInSubWindow_buf = {}; - showInSubWindow_buf.tag = showInSubWindow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (showInSubWindow_buf_runtimeType)) + 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 mask_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Boolean_Literal_ResourceColor_color mask_buf = {}; - mask_buf.tag = mask_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (mask_buf_runtimeType)) + mask_buf.tag = mask_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (mask_buf_runtimeType)) { const Ark_Int8 mask_buf__selector = valueDeserializer.readInt8(); Ark_Union_Boolean_Literal_ResourceColor_color mask_buf_ = {}; @@ -80289,40 +80278,40 @@ class Deserializer : public DeserializerBase { value.mask = mask_buf; const auto messageOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PopupMessageOptions messageOptions_buf = {}; - messageOptions_buf.tag = messageOptions_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (messageOptions_buf_runtimeType)) + messageOptions_buf.tag = messageOptions_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (messageOptions_buf_runtimeType)) { messageOptions_buf.value = valueDeserializer.readPopupMessageOptions(); } value.messageOptions = messageOptions_buf; const auto targetSpace_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length targetSpace_buf = {}; - targetSpace_buf.tag = targetSpace_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (targetSpace_buf_runtimeType)) + targetSpace_buf.tag = targetSpace_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (targetSpace_buf_runtimeType)) { targetSpace_buf.value = valueDeserializer.readLength(); } value.targetSpace = targetSpace_buf; const auto enableArrow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableArrow_buf = {}; - enableArrow_buf.tag = enableArrow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableArrow_buf_runtimeType)) + enableArrow_buf.tag = enableArrow_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableArrow_buf_runtimeType)) { enableArrow_buf.value = valueDeserializer.readBoolean(); } value.enableArrow = enableArrow_buf; const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Position offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + 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 = valueDeserializer.readPosition(); } value.offset = offset_buf; const auto popupColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Color_String_Resource_Number popupColor_buf = {}; - popupColor_buf.tag = popupColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (popupColor_buf_runtimeType)) + popupColor_buf.tag = popupColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (popupColor_buf_runtimeType)) { const Ark_Int8 popupColor_buf__selector = valueDeserializer.readInt8(); Ark_Union_Color_String_Resource_Number popupColor_buf_ = {}; @@ -80351,56 +80340,56 @@ class Deserializer : public DeserializerBase { value.popupColor = popupColor_buf; const auto autoCancel_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean autoCancel_buf = {}; - autoCancel_buf.tag = autoCancel_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (autoCancel_buf_runtimeType)) + autoCancel_buf.tag = autoCancel_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (autoCancel_buf_runtimeType)) { autoCancel_buf.value = valueDeserializer.readBoolean(); } value.autoCancel = autoCancel_buf; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.width = width_buf; const auto arrowPointPosition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ArrowPointPosition arrowPointPosition_buf = {}; - arrowPointPosition_buf.tag = arrowPointPosition_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (arrowPointPosition_buf_runtimeType)) + 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_Length arrowWidth_buf = {}; - arrowWidth_buf.tag = arrowWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (arrowWidth_buf_runtimeType)) + arrowWidth_buf.tag = arrowWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (arrowWidth_buf_runtimeType)) { arrowWidth_buf.value = valueDeserializer.readLength(); } value.arrowWidth = arrowWidth_buf; const auto arrowHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length arrowHeight_buf = {}; - arrowHeight_buf.tag = arrowHeight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (arrowHeight_buf_runtimeType)) + arrowHeight_buf.tag = arrowHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (arrowHeight_buf_runtimeType)) { arrowHeight_buf.value = valueDeserializer.readLength(); } value.arrowHeight = arrowHeight_buf; const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length radius_buf = {}; - radius_buf.tag = radius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.radius = radius_buf; const auto shadow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_ShadowOptions_ShadowStyle shadow_buf = {}; - shadow_buf.tag = shadow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (shadow_buf_runtimeType)) + 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 shadow_buf__selector = valueDeserializer.readInt8(); Ark_Union_ShadowOptions_ShadowStyle shadow_buf_ = {}; @@ -80421,24 +80410,24 @@ class Deserializer : public DeserializerBase { value.shadow = shadow_buf; const auto backgroundBlurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BlurStyle backgroundBlurStyle_buf = {}; - backgroundBlurStyle_buf.tag = backgroundBlurStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + 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 transition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TransitionEffect transition_buf = {}; - transition_buf.tag = transition_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (transition_buf_runtimeType)) + 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 onWillDismiss_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Boolean_Callback_DismissPopupAction_Void onWillDismiss_buf = {}; - onWillDismiss_buf.tag = onWillDismiss_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillDismiss_buf_runtimeType)) + onWillDismiss_buf.tag = onWillDismiss_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onWillDismiss_buf_runtimeType)) { const Ark_Int8 onWillDismiss_buf__selector = valueDeserializer.readInt8(); Ark_Union_Boolean_Callback_DismissPopupAction_Void onWillDismiss_buf_ = {}; @@ -80459,16 +80448,16 @@ class Deserializer : public DeserializerBase { value.onWillDismiss = onWillDismiss_buf; const auto enableHoverMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableHoverMode_buf = {}; - enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) + enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) { enableHoverMode_buf.value = valueDeserializer.readBoolean(); } value.enableHoverMode = enableHoverMode_buf; const auto followTransformOfTarget_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean followTransformOfTarget_buf = {}; - followTransformOfTarget_buf.tag = followTransformOfTarget_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (followTransformOfTarget_buf_runtimeType)) + followTransformOfTarget_buf.tag = followTransformOfTarget_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (followTransformOfTarget_buf_runtimeType)) { followTransformOfTarget_buf.value = valueDeserializer.readBoolean(); } @@ -80481,16 +80470,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto follow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean follow_buf = {}; - follow_buf.tag = follow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (follow_buf_runtimeType)) + 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.follow = follow_buf; const auto hierarchyStrategy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TransitionHierarchyStrategy hierarchyStrategy_buf = {}; - hierarchyStrategy_buf.tag = hierarchyStrategy_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (hierarchyStrategy_buf_runtimeType)) + 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()); } @@ -80510,16 +80499,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto align_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Alignment align_buf = {}; - align_buf.tag = align_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (align_buf_runtimeType)) + 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()); } value.align = align_buf; const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_OverlayOffset offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + 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 = valueDeserializer.readOverlayOffset(); } @@ -80532,16 +80521,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto isMultiSelectionEnabled_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean isMultiSelectionEnabled_buf = {}; - isMultiSelectionEnabled_buf.tag = isMultiSelectionEnabled_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (isMultiSelectionEnabled_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (defaultAnimationBeforeLifting_buf_runtimeType)) + 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(); } @@ -80554,8 +80543,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (mode_buf_runtimeType)) + 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_ = {}; @@ -80583,16 +80572,16 @@ class Deserializer : public DeserializerBase { value.mode = mode_buf; const auto modifier_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ImageModifier modifier_buf = {}; - modifier_buf.tag = modifier_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (modifier_buf_runtimeType)) + modifier_buf.tag = modifier_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (modifier_buf_runtimeType)) { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (numberBadge_buf_runtimeType)) + 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_ = {}; @@ -80619,16 +80608,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number duration_buf = {}; - duration_buf.tag = duration_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) + 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_Union_Curve_String_ICurve curve_buf = {}; - curve_buf.tag = curve_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (curve_buf_runtimeType)) + 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_ = {}; @@ -80653,32 +80642,32 @@ class Deserializer : public DeserializerBase { value.curve = curve_buf; const auto delay_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number delay_buf = {}; - delay_buf.tag = delay_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (delay_buf_runtimeType)) + 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; const auto motionPath_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_MotionPathOptions motionPath_buf = {}; - motionPath_buf.tag = motionPath_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (motionPath_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (zIndex_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + 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()); } @@ -80709,32 +80698,32 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto colorMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ThemeColorMode colorMode_buf = {}; - colorMode_buf.tag = colorMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (colorMode_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (adaptiveColor_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (scale_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (blurOptions_buf_runtimeType)) + 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(); } @@ -80774,24 +80763,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto pixelMap_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PixelMap pixelMap_buf = {}; - pixelMap_buf.tag = pixelMap_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (pixelMap_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (builder_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (extraInfo_buf_runtimeType)) + 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()); } @@ -80805,8 +80794,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (scale_buf_runtimeType)) + 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()); } @@ -80819,16 +80808,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto horizontal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number horizontal_buf = {}; - horizontal_buf.tag = horizontal_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (horizontal_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (vertical_buf_runtimeType)) + 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()); } @@ -80857,16 +80846,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics start_buf = {}; - start_buf.tag = start_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + 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.readLengthMetrics(); } value.start = start_buf; const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics top_buf = {}; - top_buf.tag = top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + 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.readLengthMetrics(); } @@ -80897,40 +80886,40 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TransitionType type_buf = {}; - type_buf.tag = type_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + 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 opacity_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number opacity_buf = {}; - opacity_buf.tag = opacity_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (opacity_buf_runtimeType)) + opacity_buf.tag = opacity_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (opacity_buf_runtimeType)) { opacity_buf.value = static_cast(valueDeserializer.readNumber()); } value.opacity = opacity_buf; const auto translate_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TranslateOptions translate_buf = {}; - translate_buf.tag = translate_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (translate_buf_runtimeType)) + translate_buf.tag = translate_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (translate_buf_runtimeType)) { translate_buf.value = valueDeserializer.readTranslateOptions(); } value.translate = translate_buf; const auto scale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ScaleOptions scale_buf = {}; - scale_buf.tag = scale_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (scale_buf_runtimeType)) + 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 = valueDeserializer.readScaleOptions(); } value.scale = scale_buf; const auto rotate_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_RotateOptions rotate_buf = {}; - rotate_buf.tag = rotate_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (rotate_buf_runtimeType)) + rotate_buf.tag = rotate_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (rotate_buf_runtimeType)) { rotate_buf.value = valueDeserializer.readRotateOptions(); } @@ -80967,22 +80956,28 @@ class Deserializer : public DeserializerBase { Ark_NativePointer ptr = valueDeserializer.readPointer(); return { ptr }; } + Ark_UnifiedData readUnifiedData() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return { ptr }; + } Ark_ColumnSplitDividerStyle readColumnSplitDividerStyle() { Ark_ColumnSplitDividerStyle value = {}; Deserializer& valueDeserializer = *this; const auto startMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length startMargin_buf = {}; - startMargin_buf.tag = startMargin_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (startMargin_buf_runtimeType)) + startMargin_buf.tag = startMargin_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (startMargin_buf_runtimeType)) { startMargin_buf.value = valueDeserializer.readLength(); } value.startMargin = startMargin_buf; const auto endMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length endMargin_buf = {}; - endMargin_buf.tag = endMargin_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (endMargin_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } @@ -80999,8 +80994,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + 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_ = {}; @@ -81068,8 +81063,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto hintRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_Resource hintRadius_buf = {}; - hintRadius_buf.tag = hintRadius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (hintRadius_buf_runtimeType)) + 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_ = {}; @@ -81090,40 +81085,40 @@ class Deserializer : public DeserializerBase { value.hintRadius = hintRadius_buf; const auto selected_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Date selected_buf = {}; - selected_buf.tag = selected_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) + 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 onAccept_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Date_Void onAccept_buf = {}; - onAccept_buf.tag = onAccept_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onAccept_buf_runtimeType)) + onAccept_buf.tag = onAccept_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onAccept_buf_runtimeType)) { onAccept_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Date_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Date_Void))))}; } value.onAccept = onAccept_buf; const auto onCancel_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_VoidCallback onCancel_buf = {}; - onCancel_buf.tag = onCancel_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onCancel_buf_runtimeType)) + onCancel_buf.tag = onCancel_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onCancel_buf_runtimeType)) { onCancel_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; } value.onCancel = onCancel_buf; const auto onChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Date_Void onChange_buf = {}; - onChange_buf.tag = onChange_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onChange_buf_runtimeType)) + onChange_buf.tag = onChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onChange_buf_runtimeType)) { onChange_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Date_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Date_Void))))}; } value.onChange = onChange_buf; const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + 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_ = {}; @@ -81152,64 +81147,64 @@ class Deserializer : public DeserializerBase { value.backgroundColor = backgroundColor_buf; const auto backgroundBlurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BlurStyle backgroundBlurStyle_buf = {}; - backgroundBlurStyle_buf.tag = backgroundBlurStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + 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 acceptButtonStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PickerDialogButtonStyle acceptButtonStyle_buf = {}; - acceptButtonStyle_buf.tag = acceptButtonStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (acceptButtonStyle_buf_runtimeType)) + acceptButtonStyle_buf.tag = acceptButtonStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (acceptButtonStyle_buf_runtimeType)) { acceptButtonStyle_buf.value = valueDeserializer.readPickerDialogButtonStyle(); } value.acceptButtonStyle = acceptButtonStyle_buf; const auto cancelButtonStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PickerDialogButtonStyle cancelButtonStyle_buf = {}; - cancelButtonStyle_buf.tag = cancelButtonStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cancelButtonStyle_buf_runtimeType)) + cancelButtonStyle_buf.tag = cancelButtonStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (cancelButtonStyle_buf_runtimeType)) { cancelButtonStyle_buf.value = valueDeserializer.readPickerDialogButtonStyle(); } value.cancelButtonStyle = cancelButtonStyle_buf; const auto onDidAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_VoidCallback onDidAppear_buf = {}; - onDidAppear_buf.tag = onDidAppear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onDidAppear_buf_runtimeType)) + 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_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; } value.onDidAppear = onDidAppear_buf; const auto onDidDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_VoidCallback onDidDisappear_buf = {}; - onDidDisappear_buf.tag = onDidDisappear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onDidDisappear_buf_runtimeType)) + 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_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; } value.onDidDisappear = onDidDisappear_buf; const auto onWillAppear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_VoidCallback onWillAppear_buf = {}; - onWillAppear_buf.tag = onWillAppear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillAppear_buf_runtimeType)) + 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_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; } value.onWillAppear = onWillAppear_buf; const auto onWillDisappear_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_VoidCallback onWillDisappear_buf = {}; - onWillDisappear_buf.tag = onWillDisappear_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillDisappear_buf_runtimeType)) + 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_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; } value.onWillDisappear = onWillDisappear_buf; const auto shadow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_ShadowOptions_ShadowStyle shadow_buf = {}; - shadow_buf.tag = shadow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (shadow_buf_runtimeType)) + 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 shadow_buf__selector = valueDeserializer.readInt8(); Ark_Union_ShadowOptions_ShadowStyle shadow_buf_ = {}; @@ -81230,16 +81225,16 @@ class Deserializer : public DeserializerBase { value.shadow = shadow_buf; const auto enableHoverMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableHoverMode_buf = {}; - enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) + enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) { enableHoverMode_buf.value = valueDeserializer.readBoolean(); } value.enableHoverMode = enableHoverMode_buf; const auto hoverModeArea_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_HoverModeAreaType hoverModeArea_buf = {}; - hoverModeArea_buf.tag = hoverModeArea_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (hoverModeArea_buf_runtimeType)) + hoverModeArea_buf.tag = hoverModeArea_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hoverModeArea_buf_runtimeType)) { hoverModeArea_buf.value = static_cast(valueDeserializer.readInt32()); } @@ -81274,8 +81269,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + 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_ = {}; @@ -81304,8 +81299,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontSize_buf_runtimeType)) + 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 fontSize_buf_ = {}; @@ -81326,8 +81321,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (badgeSize_buf_runtimeType)) + 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 badgeSize_buf__selector = valueDeserializer.readInt8(); Ark_Union_Number_String badgeSize_buf_ = {}; @@ -81348,8 +81343,8 @@ class Deserializer : public DeserializerBase { value.badgeSize = badgeSize_buf; const auto badgeColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor badgeColor_buf = {}; - badgeColor_buf.tag = badgeColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (badgeColor_buf_runtimeType)) + 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 badgeColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor badgeColor_buf_ = {}; @@ -81378,8 +81373,8 @@ class Deserializer : public DeserializerBase { value.badgeColor = badgeColor_buf; const auto borderColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor borderColor_buf = {}; - borderColor_buf.tag = borderColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf_runtimeType)) + 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 borderColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor borderColor_buf_ = {}; @@ -81408,16 +81403,16 @@ class Deserializer : public DeserializerBase { value.borderColor = borderColor_buf; const auto borderWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf = {}; - borderWidth_buf.tag = borderWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf_runtimeType)) + borderWidth_buf.tag = borderWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderWidth_buf_runtimeType)) { borderWidth_buf.value = valueDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontWeight_buf_runtimeType)) + 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_ = {}; @@ -81463,8 +81458,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto title_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr title_buf = {}; - title_buf.tag = title_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (title_buf_runtimeType)) + 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_ResourceStr title_buf_ = {}; @@ -81485,8 +81480,8 @@ class Deserializer : public DeserializerBase { value.title = title_buf; const auto subtitle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr subtitle_buf = {}; - subtitle_buf.tag = subtitle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (subtitle_buf_runtimeType)) + 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 subtitle_buf__selector = valueDeserializer.readInt8(); Ark_ResourceStr subtitle_buf_ = {}; @@ -81522,32 +81517,32 @@ class Deserializer : public DeserializerBase { value.message = static_cast(message_buf); const auto autoCancel_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean autoCancel_buf = {}; - autoCancel_buf.tag = autoCancel_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (autoCancel_buf_runtimeType)) + autoCancel_buf.tag = autoCancel_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (autoCancel_buf_runtimeType)) { autoCancel_buf.value = valueDeserializer.readBoolean(); } value.autoCancel = autoCancel_buf; const auto cancel_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_VoidCallback cancel_buf = {}; - cancel_buf.tag = cancel_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cancel_buf_runtimeType)) + cancel_buf.tag = cancel_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (cancel_buf_runtimeType)) { cancel_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; } value.cancel = cancel_buf; const auto alignment_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_DialogAlignment alignment_buf = {}; - alignment_buf.tag = alignment_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (alignment_buf_runtimeType)) + alignment_buf.tag = alignment_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (alignment_buf_runtimeType)) { alignment_buf.value = static_cast(valueDeserializer.readInt32()); } value.alignment = alignment_buf; const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Offset offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + 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_ = {}; offset_buf_.dx = valueDeserializer.readLength(); @@ -81557,40 +81552,40 @@ class Deserializer : public DeserializerBase { value.offset = offset_buf; const auto gridCount_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number gridCount_buf = {}; - gridCount_buf.tag = gridCount_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (gridCount_buf_runtimeType)) + gridCount_buf.tag = gridCount_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (gridCount_buf_runtimeType)) { gridCount_buf.value = static_cast(valueDeserializer.readNumber()); } value.gridCount = gridCount_buf; const auto maskRect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Rectangle maskRect_buf = {}; - maskRect_buf.tag = maskRect_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (maskRect_buf_runtimeType)) + maskRect_buf.tag = maskRect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (maskRect_buf_runtimeType)) { maskRect_buf.value = valueDeserializer.readRectangle(); } value.maskRect = maskRect_buf; const auto showInSubWindow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean showInSubWindow_buf = {}; - showInSubWindow_buf.tag = showInSubWindow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (showInSubWindow_buf_runtimeType)) + 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 isModal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean isModal_buf = {}; - isModal_buf.tag = isModal_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (isModal_buf_runtimeType)) + isModal_buf.tag = isModal_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isModal_buf_runtimeType)) { isModal_buf.value = valueDeserializer.readBoolean(); } value.isModal = isModal_buf; const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + 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_ = {}; @@ -81619,32 +81614,32 @@ class Deserializer : public DeserializerBase { value.backgroundColor = backgroundColor_buf; const auto backgroundBlurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BlurStyle backgroundBlurStyle_buf = {}; - backgroundBlurStyle_buf.tag = backgroundBlurStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + 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 onWillDismiss_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_DismissDialogAction_Void onWillDismiss_buf = {}; - onWillDismiss_buf.tag = onWillDismiss_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillDismiss_buf_runtimeType)) + 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_DismissDialogAction_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DismissDialogAction_Void))))}; } value.onWillDismiss = onWillDismiss_buf; const auto transition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TransitionEffect transition_buf = {}; - transition_buf.tag = transition_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (transition_buf_runtimeType)) + 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 cornerRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses cornerRadius_buf = {}; - cornerRadius_buf.tag = cornerRadius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf_runtimeType)) + cornerRadius_buf.tag = cornerRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf_runtimeType)) { const Ark_Int8 cornerRadius_buf__selector = valueDeserializer.readInt8(); Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses cornerRadius_buf_ = {}; @@ -81658,32 +81653,32 @@ class Deserializer : public DeserializerBase { Ark_BorderRadiuses cornerRadius_buf__u = {}; const auto cornerRadius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length cornerRadius_buf__u_topLeft_buf = {}; - cornerRadius_buf__u_topLeft_buf.tag = cornerRadius_buf__u_topLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_topLeft_buf_runtimeType)) + 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)) { cornerRadius_buf__u_topLeft_buf.value = valueDeserializer.readLength(); } cornerRadius_buf__u.topLeft = cornerRadius_buf__u_topLeft_buf; const auto cornerRadius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length cornerRadius_buf__u_topRight_buf = {}; - cornerRadius_buf__u_topRight_buf.tag = cornerRadius_buf__u_topRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_topRight_buf_runtimeType)) + 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)) { cornerRadius_buf__u_topRight_buf.value = valueDeserializer.readLength(); } cornerRadius_buf__u.topRight = cornerRadius_buf__u_topRight_buf; const auto cornerRadius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length cornerRadius_buf__u_bottomLeft_buf = {}; - cornerRadius_buf__u_bottomLeft_buf.tag = cornerRadius_buf__u_bottomLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_bottomLeft_buf_runtimeType)) + 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)) { cornerRadius_buf__u_bottomLeft_buf.value = valueDeserializer.readLength(); } cornerRadius_buf__u.bottomLeft = cornerRadius_buf__u_bottomLeft_buf; const auto cornerRadius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length cornerRadius_buf__u_bottomRight_buf = {}; - cornerRadius_buf__u_bottomRight_buf.tag = cornerRadius_buf__u_bottomRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_bottomRight_buf_runtimeType)) + 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)) { cornerRadius_buf__u_bottomRight_buf.value = valueDeserializer.readLength(); } @@ -81702,24 +81697,24 @@ class Deserializer : public DeserializerBase { value.cornerRadius = cornerRadius_buf; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.width = width_buf; const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length height_buf = {}; - height_buf.tag = height_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.height = height_buf; const auto borderWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth_buf = {}; - borderWidth_buf.tag = borderWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf_runtimeType)) + 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_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth_buf_ = {}; @@ -81733,32 +81728,32 @@ class Deserializer : public DeserializerBase { Ark_EdgeWidths borderWidth_buf__u = {}; const auto borderWidth_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_top_buf = {}; - borderWidth_buf__u_top_buf.tag = borderWidth_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) + 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)) { borderWidth_buf__u_top_buf.value = valueDeserializer.readLength(); } borderWidth_buf__u.top = borderWidth_buf__u_top_buf; const auto borderWidth_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_right_buf = {}; - borderWidth_buf__u_right_buf.tag = borderWidth_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) + 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)) { borderWidth_buf__u_right_buf.value = valueDeserializer.readLength(); } borderWidth_buf__u.right = borderWidth_buf__u_right_buf; const auto borderWidth_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_bottom_buf = {}; - borderWidth_buf__u_bottom_buf.tag = borderWidth_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) + 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)) { borderWidth_buf__u_bottom_buf.value = valueDeserializer.readLength(); } borderWidth_buf__u.bottom = borderWidth_buf__u_bottom_buf; const auto borderWidth_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_left_buf = {}; - borderWidth_buf__u_left_buf.tag = borderWidth_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) + 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)) { borderWidth_buf__u_left_buf.value = valueDeserializer.readLength(); } @@ -81777,8 +81772,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf_runtimeType)) + 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 borderColor_buf__selector = valueDeserializer.readInt8(); Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor_buf_ = {}; @@ -81814,8 +81809,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) + 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_ = {}; @@ -81844,8 +81839,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) + 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_ = {}; @@ -81874,8 +81869,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) + 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_ = {}; @@ -81904,8 +81899,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) + 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_ = {}; @@ -81946,8 +81941,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf_runtimeType)) + 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 borderStyle_buf__selector = valueDeserializer.readInt8(); Ark_Union_BorderStyle_EdgeStyles borderStyle_buf_ = {}; @@ -81961,32 +81956,32 @@ class Deserializer : public DeserializerBase { Ark_EdgeStyles borderStyle_buf__u = {}; const auto borderStyle_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_top_buf = {}; - borderStyle_buf__u_top_buf.tag = borderStyle_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_top_buf_runtimeType)) + borderStyle_buf__u_top_buf.tag = borderStyle_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_top_buf_runtimeType)) { borderStyle_buf__u_top_buf.value = static_cast(valueDeserializer.readInt32()); } borderStyle_buf__u.top = borderStyle_buf__u_top_buf; const auto borderStyle_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_right_buf = {}; - borderStyle_buf__u_right_buf.tag = borderStyle_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_right_buf_runtimeType)) + borderStyle_buf__u_right_buf.tag = borderStyle_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_right_buf_runtimeType)) { borderStyle_buf__u_right_buf.value = static_cast(valueDeserializer.readInt32()); } borderStyle_buf__u.right = borderStyle_buf__u_right_buf; const auto borderStyle_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_bottom_buf = {}; - borderStyle_buf__u_bottom_buf.tag = borderStyle_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_bottom_buf_runtimeType)) + borderStyle_buf__u_bottom_buf.tag = borderStyle_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_bottom_buf_runtimeType)) { borderStyle_buf__u_bottom_buf.value = static_cast(valueDeserializer.readInt32()); } borderStyle_buf__u.bottom = borderStyle_buf__u_bottom_buf; const auto borderStyle_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_left_buf = {}; - borderStyle_buf__u_left_buf.tag = borderStyle_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_left_buf_runtimeType)) + borderStyle_buf__u_left_buf.tag = borderStyle_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_left_buf_runtimeType)) { borderStyle_buf__u_left_buf.value = static_cast(valueDeserializer.readInt32()); } @@ -82001,8 +81996,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (shadow_buf_runtimeType)) + 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 shadow_buf__selector = valueDeserializer.readInt8(); Ark_Union_ShadowOptions_ShadowStyle shadow_buf_ = {}; @@ -82023,24 +82018,24 @@ class Deserializer : public DeserializerBase { value.shadow = shadow_buf; const auto textStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TextStyle_alert_dialog textStyle_buf = {}; - textStyle_buf.tag = textStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (textStyle_buf_runtimeType)) + textStyle_buf.tag = textStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textStyle_buf_runtimeType)) { textStyle_buf.value = valueDeserializer.readTextStyle_alert_dialog(); } value.textStyle = textStyle_buf; const auto enableHoverMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableHoverMode_buf = {}; - enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) + enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) { enableHoverMode_buf.value = valueDeserializer.readBoolean(); } value.enableHoverMode = enableHoverMode_buf; const auto hoverModeArea_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_HoverModeAreaType hoverModeArea_buf = {}; - hoverModeArea_buf.tag = hoverModeArea_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (hoverModeArea_buf_runtimeType)) + hoverModeArea_buf.tag = hoverModeArea_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hoverModeArea_buf_runtimeType)) { hoverModeArea_buf.value = static_cast(valueDeserializer.readInt32()); } @@ -82055,8 +82050,8 @@ class Deserializer : public DeserializerBase { value.buttons = buttons_buf; const auto buttonDirection_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_DialogButtonDirection buttonDirection_buf = {}; - buttonDirection_buf.tag = buttonDirection_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (buttonDirection_buf_runtimeType)) + buttonDirection_buf.tag = buttonDirection_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (buttonDirection_buf_runtimeType)) { buttonDirection_buf.value = static_cast(valueDeserializer.readInt32()); } @@ -82069,8 +82064,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto title_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr title_buf = {}; - title_buf.tag = title_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (title_buf_runtimeType)) + 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_ResourceStr title_buf_ = {}; @@ -82091,8 +82086,8 @@ class Deserializer : public DeserializerBase { value.title = title_buf; const auto subtitle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr subtitle_buf = {}; - subtitle_buf.tag = subtitle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (subtitle_buf_runtimeType)) + 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 subtitle_buf__selector = valueDeserializer.readInt8(); Ark_ResourceStr subtitle_buf_ = {}; @@ -82128,32 +82123,32 @@ class Deserializer : public DeserializerBase { value.message = static_cast(message_buf); const auto autoCancel_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean autoCancel_buf = {}; - autoCancel_buf.tag = autoCancel_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (autoCancel_buf_runtimeType)) + autoCancel_buf.tag = autoCancel_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (autoCancel_buf_runtimeType)) { autoCancel_buf.value = valueDeserializer.readBoolean(); } value.autoCancel = autoCancel_buf; const auto cancel_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_VoidCallback cancel_buf = {}; - cancel_buf.tag = cancel_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cancel_buf_runtimeType)) + cancel_buf.tag = cancel_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (cancel_buf_runtimeType)) { cancel_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; } value.cancel = cancel_buf; const auto alignment_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_DialogAlignment alignment_buf = {}; - alignment_buf.tag = alignment_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (alignment_buf_runtimeType)) + alignment_buf.tag = alignment_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (alignment_buf_runtimeType)) { alignment_buf.value = static_cast(valueDeserializer.readInt32()); } value.alignment = alignment_buf; const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Offset offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + 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_ = {}; offset_buf_.dx = valueDeserializer.readLength(); @@ -82163,40 +82158,40 @@ class Deserializer : public DeserializerBase { value.offset = offset_buf; const auto gridCount_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number gridCount_buf = {}; - gridCount_buf.tag = gridCount_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (gridCount_buf_runtimeType)) + gridCount_buf.tag = gridCount_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (gridCount_buf_runtimeType)) { gridCount_buf.value = static_cast(valueDeserializer.readNumber()); } value.gridCount = gridCount_buf; const auto maskRect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Rectangle maskRect_buf = {}; - maskRect_buf.tag = maskRect_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (maskRect_buf_runtimeType)) + maskRect_buf.tag = maskRect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (maskRect_buf_runtimeType)) { maskRect_buf.value = valueDeserializer.readRectangle(); } value.maskRect = maskRect_buf; const auto showInSubWindow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean showInSubWindow_buf = {}; - showInSubWindow_buf.tag = showInSubWindow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (showInSubWindow_buf_runtimeType)) + 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 isModal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean isModal_buf = {}; - isModal_buf.tag = isModal_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (isModal_buf_runtimeType)) + isModal_buf.tag = isModal_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isModal_buf_runtimeType)) { isModal_buf.value = valueDeserializer.readBoolean(); } value.isModal = isModal_buf; const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + 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_ = {}; @@ -82225,32 +82220,32 @@ class Deserializer : public DeserializerBase { value.backgroundColor = backgroundColor_buf; const auto backgroundBlurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BlurStyle backgroundBlurStyle_buf = {}; - backgroundBlurStyle_buf.tag = backgroundBlurStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + 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 onWillDismiss_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_DismissDialogAction_Void onWillDismiss_buf = {}; - onWillDismiss_buf.tag = onWillDismiss_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillDismiss_buf_runtimeType)) + 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_DismissDialogAction_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DismissDialogAction_Void))))}; } value.onWillDismiss = onWillDismiss_buf; const auto transition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TransitionEffect transition_buf = {}; - transition_buf.tag = transition_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (transition_buf_runtimeType)) + 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 cornerRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses cornerRadius_buf = {}; - cornerRadius_buf.tag = cornerRadius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf_runtimeType)) + cornerRadius_buf.tag = cornerRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf_runtimeType)) { const Ark_Int8 cornerRadius_buf__selector = valueDeserializer.readInt8(); Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses cornerRadius_buf_ = {}; @@ -82264,32 +82259,32 @@ class Deserializer : public DeserializerBase { Ark_BorderRadiuses cornerRadius_buf__u = {}; const auto cornerRadius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length cornerRadius_buf__u_topLeft_buf = {}; - cornerRadius_buf__u_topLeft_buf.tag = cornerRadius_buf__u_topLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_topLeft_buf_runtimeType)) + 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)) { cornerRadius_buf__u_topLeft_buf.value = valueDeserializer.readLength(); } cornerRadius_buf__u.topLeft = cornerRadius_buf__u_topLeft_buf; const auto cornerRadius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length cornerRadius_buf__u_topRight_buf = {}; - cornerRadius_buf__u_topRight_buf.tag = cornerRadius_buf__u_topRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_topRight_buf_runtimeType)) + 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)) { cornerRadius_buf__u_topRight_buf.value = valueDeserializer.readLength(); } cornerRadius_buf__u.topRight = cornerRadius_buf__u_topRight_buf; const auto cornerRadius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length cornerRadius_buf__u_bottomLeft_buf = {}; - cornerRadius_buf__u_bottomLeft_buf.tag = cornerRadius_buf__u_bottomLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_bottomLeft_buf_runtimeType)) + 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)) { cornerRadius_buf__u_bottomLeft_buf.value = valueDeserializer.readLength(); } cornerRadius_buf__u.bottomLeft = cornerRadius_buf__u_bottomLeft_buf; const auto cornerRadius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length cornerRadius_buf__u_bottomRight_buf = {}; - cornerRadius_buf__u_bottomRight_buf.tag = cornerRadius_buf__u_bottomRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_bottomRight_buf_runtimeType)) + 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)) { cornerRadius_buf__u_bottomRight_buf.value = valueDeserializer.readLength(); } @@ -82308,24 +82303,24 @@ class Deserializer : public DeserializerBase { value.cornerRadius = cornerRadius_buf; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.width = width_buf; const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length height_buf = {}; - height_buf.tag = height_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.height = height_buf; const auto borderWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth_buf = {}; - borderWidth_buf.tag = borderWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf_runtimeType)) + 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_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth_buf_ = {}; @@ -82339,32 +82334,32 @@ class Deserializer : public DeserializerBase { Ark_EdgeWidths borderWidth_buf__u = {}; const auto borderWidth_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_top_buf = {}; - borderWidth_buf__u_top_buf.tag = borderWidth_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) + 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)) { borderWidth_buf__u_top_buf.value = valueDeserializer.readLength(); } borderWidth_buf__u.top = borderWidth_buf__u_top_buf; const auto borderWidth_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_right_buf = {}; - borderWidth_buf__u_right_buf.tag = borderWidth_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) + 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)) { borderWidth_buf__u_right_buf.value = valueDeserializer.readLength(); } borderWidth_buf__u.right = borderWidth_buf__u_right_buf; const auto borderWidth_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_bottom_buf = {}; - borderWidth_buf__u_bottom_buf.tag = borderWidth_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) + 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)) { borderWidth_buf__u_bottom_buf.value = valueDeserializer.readLength(); } borderWidth_buf__u.bottom = borderWidth_buf__u_bottom_buf; const auto borderWidth_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_left_buf = {}; - borderWidth_buf__u_left_buf.tag = borderWidth_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) + 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)) { borderWidth_buf__u_left_buf.value = valueDeserializer.readLength(); } @@ -82383,8 +82378,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf_runtimeType)) + 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 borderColor_buf__selector = valueDeserializer.readInt8(); Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor_buf_ = {}; @@ -82420,8 +82415,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) + 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_ = {}; @@ -82450,8 +82445,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) + 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_ = {}; @@ -82480,8 +82475,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) + 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_ = {}; @@ -82510,8 +82505,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) + 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_ = {}; @@ -82552,8 +82547,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf_runtimeType)) + 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 borderStyle_buf__selector = valueDeserializer.readInt8(); Ark_Union_BorderStyle_EdgeStyles borderStyle_buf_ = {}; @@ -82567,32 +82562,32 @@ class Deserializer : public DeserializerBase { Ark_EdgeStyles borderStyle_buf__u = {}; const auto borderStyle_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_top_buf = {}; - borderStyle_buf__u_top_buf.tag = borderStyle_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_top_buf_runtimeType)) + borderStyle_buf__u_top_buf.tag = borderStyle_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_top_buf_runtimeType)) { borderStyle_buf__u_top_buf.value = static_cast(valueDeserializer.readInt32()); } borderStyle_buf__u.top = borderStyle_buf__u_top_buf; const auto borderStyle_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_right_buf = {}; - borderStyle_buf__u_right_buf.tag = borderStyle_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_right_buf_runtimeType)) + borderStyle_buf__u_right_buf.tag = borderStyle_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_right_buf_runtimeType)) { borderStyle_buf__u_right_buf.value = static_cast(valueDeserializer.readInt32()); } borderStyle_buf__u.right = borderStyle_buf__u_right_buf; const auto borderStyle_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_bottom_buf = {}; - borderStyle_buf__u_bottom_buf.tag = borderStyle_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_bottom_buf_runtimeType)) + borderStyle_buf__u_bottom_buf.tag = borderStyle_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_bottom_buf_runtimeType)) { borderStyle_buf__u_bottom_buf.value = static_cast(valueDeserializer.readInt32()); } borderStyle_buf__u.bottom = borderStyle_buf__u_bottom_buf; const auto borderStyle_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_left_buf = {}; - borderStyle_buf__u_left_buf.tag = borderStyle_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_left_buf_runtimeType)) + borderStyle_buf__u_left_buf.tag = borderStyle_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_left_buf_runtimeType)) { borderStyle_buf__u_left_buf.value = static_cast(valueDeserializer.readInt32()); } @@ -82607,8 +82602,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (shadow_buf_runtimeType)) + 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 shadow_buf__selector = valueDeserializer.readInt8(); Ark_Union_ShadowOptions_ShadowStyle shadow_buf_ = {}; @@ -82629,24 +82624,24 @@ class Deserializer : public DeserializerBase { value.shadow = shadow_buf; const auto textStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TextStyle_alert_dialog textStyle_buf = {}; - textStyle_buf.tag = textStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (textStyle_buf_runtimeType)) + textStyle_buf.tag = textStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textStyle_buf_runtimeType)) { textStyle_buf.value = valueDeserializer.readTextStyle_alert_dialog(); } value.textStyle = textStyle_buf; const auto enableHoverMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableHoverMode_buf = {}; - enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) + enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) { enableHoverMode_buf.value = valueDeserializer.readBoolean(); } value.enableHoverMode = enableHoverMode_buf; const auto hoverModeArea_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_HoverModeAreaType hoverModeArea_buf = {}; - hoverModeArea_buf.tag = hoverModeArea_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (hoverModeArea_buf_runtimeType)) + hoverModeArea_buf.tag = hoverModeArea_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hoverModeArea_buf_runtimeType)) { hoverModeArea_buf.value = static_cast(valueDeserializer.readInt32()); } @@ -82661,8 +82656,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto title_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr title_buf = {}; - title_buf.tag = title_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (title_buf_runtimeType)) + 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_ResourceStr title_buf_ = {}; @@ -82683,8 +82678,8 @@ class Deserializer : public DeserializerBase { value.title = title_buf; const auto subtitle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr subtitle_buf = {}; - subtitle_buf.tag = subtitle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (subtitle_buf_runtimeType)) + 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 subtitle_buf__selector = valueDeserializer.readInt8(); Ark_ResourceStr subtitle_buf_ = {}; @@ -82720,32 +82715,32 @@ class Deserializer : public DeserializerBase { value.message = static_cast(message_buf); const auto autoCancel_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean autoCancel_buf = {}; - autoCancel_buf.tag = autoCancel_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (autoCancel_buf_runtimeType)) + autoCancel_buf.tag = autoCancel_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (autoCancel_buf_runtimeType)) { autoCancel_buf.value = valueDeserializer.readBoolean(); } value.autoCancel = autoCancel_buf; const auto cancel_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_VoidCallback cancel_buf = {}; - cancel_buf.tag = cancel_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cancel_buf_runtimeType)) + cancel_buf.tag = cancel_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (cancel_buf_runtimeType)) { cancel_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; } value.cancel = cancel_buf; const auto alignment_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_DialogAlignment alignment_buf = {}; - alignment_buf.tag = alignment_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (alignment_buf_runtimeType)) + alignment_buf.tag = alignment_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (alignment_buf_runtimeType)) { alignment_buf.value = static_cast(valueDeserializer.readInt32()); } value.alignment = alignment_buf; const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Offset offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + 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_ = {}; offset_buf_.dx = valueDeserializer.readLength(); @@ -82755,40 +82750,40 @@ class Deserializer : public DeserializerBase { value.offset = offset_buf; const auto gridCount_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number gridCount_buf = {}; - gridCount_buf.tag = gridCount_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (gridCount_buf_runtimeType)) + gridCount_buf.tag = gridCount_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (gridCount_buf_runtimeType)) { gridCount_buf.value = static_cast(valueDeserializer.readNumber()); } value.gridCount = gridCount_buf; const auto maskRect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Rectangle maskRect_buf = {}; - maskRect_buf.tag = maskRect_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (maskRect_buf_runtimeType)) + maskRect_buf.tag = maskRect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (maskRect_buf_runtimeType)) { maskRect_buf.value = valueDeserializer.readRectangle(); } value.maskRect = maskRect_buf; const auto showInSubWindow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean showInSubWindow_buf = {}; - showInSubWindow_buf.tag = showInSubWindow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (showInSubWindow_buf_runtimeType)) + 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 isModal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean isModal_buf = {}; - isModal_buf.tag = isModal_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (isModal_buf_runtimeType)) + isModal_buf.tag = isModal_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isModal_buf_runtimeType)) { isModal_buf.value = valueDeserializer.readBoolean(); } value.isModal = isModal_buf; const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + 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_ = {}; @@ -82817,32 +82812,32 @@ class Deserializer : public DeserializerBase { value.backgroundColor = backgroundColor_buf; const auto backgroundBlurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BlurStyle backgroundBlurStyle_buf = {}; - backgroundBlurStyle_buf.tag = backgroundBlurStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + 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 onWillDismiss_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_DismissDialogAction_Void onWillDismiss_buf = {}; - onWillDismiss_buf.tag = onWillDismiss_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillDismiss_buf_runtimeType)) + 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_DismissDialogAction_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DismissDialogAction_Void))))}; } value.onWillDismiss = onWillDismiss_buf; const auto transition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TransitionEffect transition_buf = {}; - transition_buf.tag = transition_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (transition_buf_runtimeType)) + 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 cornerRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses cornerRadius_buf = {}; - cornerRadius_buf.tag = cornerRadius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf_runtimeType)) + cornerRadius_buf.tag = cornerRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf_runtimeType)) { const Ark_Int8 cornerRadius_buf__selector = valueDeserializer.readInt8(); Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses cornerRadius_buf_ = {}; @@ -82856,32 +82851,32 @@ class Deserializer : public DeserializerBase { Ark_BorderRadiuses cornerRadius_buf__u = {}; const auto cornerRadius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length cornerRadius_buf__u_topLeft_buf = {}; - cornerRadius_buf__u_topLeft_buf.tag = cornerRadius_buf__u_topLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_topLeft_buf_runtimeType)) + 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)) { cornerRadius_buf__u_topLeft_buf.value = valueDeserializer.readLength(); } cornerRadius_buf__u.topLeft = cornerRadius_buf__u_topLeft_buf; const auto cornerRadius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length cornerRadius_buf__u_topRight_buf = {}; - cornerRadius_buf__u_topRight_buf.tag = cornerRadius_buf__u_topRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_topRight_buf_runtimeType)) + 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)) { cornerRadius_buf__u_topRight_buf.value = valueDeserializer.readLength(); } cornerRadius_buf__u.topRight = cornerRadius_buf__u_topRight_buf; const auto cornerRadius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length cornerRadius_buf__u_bottomLeft_buf = {}; - cornerRadius_buf__u_bottomLeft_buf.tag = cornerRadius_buf__u_bottomLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_bottomLeft_buf_runtimeType)) + 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)) { cornerRadius_buf__u_bottomLeft_buf.value = valueDeserializer.readLength(); } cornerRadius_buf__u.bottomLeft = cornerRadius_buf__u_bottomLeft_buf; const auto cornerRadius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length cornerRadius_buf__u_bottomRight_buf = {}; - cornerRadius_buf__u_bottomRight_buf.tag = cornerRadius_buf__u_bottomRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_bottomRight_buf_runtimeType)) + 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)) { cornerRadius_buf__u_bottomRight_buf.value = valueDeserializer.readLength(); } @@ -82900,24 +82895,24 @@ class Deserializer : public DeserializerBase { value.cornerRadius = cornerRadius_buf; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.width = width_buf; const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length height_buf = {}; - height_buf.tag = height_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.height = height_buf; const auto borderWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth_buf = {}; - borderWidth_buf.tag = borderWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf_runtimeType)) + 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_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth_buf_ = {}; @@ -82931,32 +82926,32 @@ class Deserializer : public DeserializerBase { Ark_EdgeWidths borderWidth_buf__u = {}; const auto borderWidth_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_top_buf = {}; - borderWidth_buf__u_top_buf.tag = borderWidth_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) + 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)) { borderWidth_buf__u_top_buf.value = valueDeserializer.readLength(); } borderWidth_buf__u.top = borderWidth_buf__u_top_buf; const auto borderWidth_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_right_buf = {}; - borderWidth_buf__u_right_buf.tag = borderWidth_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) + 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)) { borderWidth_buf__u_right_buf.value = valueDeserializer.readLength(); } borderWidth_buf__u.right = borderWidth_buf__u_right_buf; const auto borderWidth_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_bottom_buf = {}; - borderWidth_buf__u_bottom_buf.tag = borderWidth_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) + 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)) { borderWidth_buf__u_bottom_buf.value = valueDeserializer.readLength(); } borderWidth_buf__u.bottom = borderWidth_buf__u_bottom_buf; const auto borderWidth_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_left_buf = {}; - borderWidth_buf__u_left_buf.tag = borderWidth_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) + 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)) { borderWidth_buf__u_left_buf.value = valueDeserializer.readLength(); } @@ -82975,8 +82970,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf_runtimeType)) + 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 borderColor_buf__selector = valueDeserializer.readInt8(); Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor_buf_ = {}; @@ -83012,8 +83007,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) + 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_ = {}; @@ -83042,8 +83037,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) + 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_ = {}; @@ -83072,8 +83067,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) + 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_ = {}; @@ -83102,8 +83097,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) + 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_ = {}; @@ -83144,8 +83139,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf_runtimeType)) + 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 borderStyle_buf__selector = valueDeserializer.readInt8(); Ark_Union_BorderStyle_EdgeStyles borderStyle_buf_ = {}; @@ -83159,32 +83154,32 @@ class Deserializer : public DeserializerBase { Ark_EdgeStyles borderStyle_buf__u = {}; const auto borderStyle_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_top_buf = {}; - borderStyle_buf__u_top_buf.tag = borderStyle_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_top_buf_runtimeType)) + borderStyle_buf__u_top_buf.tag = borderStyle_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_top_buf_runtimeType)) { borderStyle_buf__u_top_buf.value = static_cast(valueDeserializer.readInt32()); } borderStyle_buf__u.top = borderStyle_buf__u_top_buf; const auto borderStyle_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_right_buf = {}; - borderStyle_buf__u_right_buf.tag = borderStyle_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_right_buf_runtimeType)) + borderStyle_buf__u_right_buf.tag = borderStyle_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_right_buf_runtimeType)) { borderStyle_buf__u_right_buf.value = static_cast(valueDeserializer.readInt32()); } borderStyle_buf__u.right = borderStyle_buf__u_right_buf; const auto borderStyle_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_bottom_buf = {}; - borderStyle_buf__u_bottom_buf.tag = borderStyle_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_bottom_buf_runtimeType)) + borderStyle_buf__u_bottom_buf.tag = borderStyle_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_bottom_buf_runtimeType)) { borderStyle_buf__u_bottom_buf.value = static_cast(valueDeserializer.readInt32()); } borderStyle_buf__u.bottom = borderStyle_buf__u_bottom_buf; const auto borderStyle_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_left_buf = {}; - borderStyle_buf__u_left_buf.tag = borderStyle_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_left_buf_runtimeType)) + borderStyle_buf__u_left_buf.tag = borderStyle_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_left_buf_runtimeType)) { borderStyle_buf__u_left_buf.value = static_cast(valueDeserializer.readInt32()); } @@ -83199,8 +83194,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (shadow_buf_runtimeType)) + 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 shadow_buf__selector = valueDeserializer.readInt8(); Ark_Union_ShadowOptions_ShadowStyle shadow_buf_ = {}; @@ -83221,32 +83216,32 @@ class Deserializer : public DeserializerBase { value.shadow = shadow_buf; const auto textStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TextStyle_alert_dialog textStyle_buf = {}; - textStyle_buf.tag = textStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (textStyle_buf_runtimeType)) + textStyle_buf.tag = textStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (textStyle_buf_runtimeType)) { textStyle_buf.value = valueDeserializer.readTextStyle_alert_dialog(); } value.textStyle = textStyle_buf; const auto enableHoverMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableHoverMode_buf = {}; - enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) + enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) { enableHoverMode_buf.value = valueDeserializer.readBoolean(); } value.enableHoverMode = enableHoverMode_buf; const auto hoverModeArea_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_HoverModeAreaType hoverModeArea_buf = {}; - hoverModeArea_buf.tag = hoverModeArea_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (hoverModeArea_buf_runtimeType)) + hoverModeArea_buf.tag = hoverModeArea_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hoverModeArea_buf_runtimeType)) { hoverModeArea_buf.value = static_cast(valueDeserializer.readInt32()); } value.hoverModeArea = hoverModeArea_buf; const auto confirm_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_AlertDialogButtonBaseOptions confirm_buf = {}; - confirm_buf.tag = confirm_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (confirm_buf_runtimeType)) + confirm_buf.tag = confirm_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (confirm_buf_runtimeType)) { confirm_buf.value = valueDeserializer.readAlertDialogButtonBaseOptions(); } @@ -83274,8 +83269,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (subtitle_buf_runtimeType)) + 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 subtitle_buf__selector = valueDeserializer.readInt8(); Ark_ResourceStr subtitle_buf_ = {}; @@ -83311,16 +83306,16 @@ class Deserializer : public DeserializerBase { value.message = static_cast(message_buf); const auto confirm_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ActionSheetButtonOptions confirm_buf = {}; - confirm_buf.tag = confirm_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (confirm_buf_runtimeType)) + confirm_buf.tag = confirm_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (confirm_buf_runtimeType)) { confirm_buf.value = valueDeserializer.readActionSheetButtonOptions(); } value.confirm = confirm_buf; const auto cancel_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_VoidCallback cancel_buf = {}; - cancel_buf.tag = cancel_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cancel_buf_runtimeType)) + cancel_buf.tag = cancel_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (cancel_buf_runtimeType)) { cancel_buf.value = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; } @@ -83335,56 +83330,56 @@ class Deserializer : public DeserializerBase { value.sheets = sheets_buf; const auto autoCancel_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean autoCancel_buf = {}; - autoCancel_buf.tag = autoCancel_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (autoCancel_buf_runtimeType)) + autoCancel_buf.tag = autoCancel_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (autoCancel_buf_runtimeType)) { autoCancel_buf.value = valueDeserializer.readBoolean(); } value.autoCancel = autoCancel_buf; const auto alignment_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_DialogAlignment alignment_buf = {}; - alignment_buf.tag = alignment_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (alignment_buf_runtimeType)) + alignment_buf.tag = alignment_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (alignment_buf_runtimeType)) { alignment_buf.value = static_cast(valueDeserializer.readInt32()); } value.alignment = alignment_buf; const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ActionSheetOffset offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + 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 = valueDeserializer.readActionSheetOffset(); } value.offset = offset_buf; const auto maskRect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Rectangle maskRect_buf = {}; - maskRect_buf.tag = maskRect_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (maskRect_buf_runtimeType)) + maskRect_buf.tag = maskRect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (maskRect_buf_runtimeType)) { maskRect_buf.value = valueDeserializer.readRectangle(); } value.maskRect = maskRect_buf; const auto showInSubWindow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean showInSubWindow_buf = {}; - showInSubWindow_buf.tag = showInSubWindow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (showInSubWindow_buf_runtimeType)) + 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 isModal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean isModal_buf = {}; - isModal_buf.tag = isModal_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (isModal_buf_runtimeType)) + isModal_buf.tag = isModal_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isModal_buf_runtimeType)) { isModal_buf.value = valueDeserializer.readBoolean(); } value.isModal = isModal_buf; const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + 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_ = {}; @@ -83413,32 +83408,32 @@ class Deserializer : public DeserializerBase { value.backgroundColor = backgroundColor_buf; const auto backgroundBlurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BlurStyle backgroundBlurStyle_buf = {}; - backgroundBlurStyle_buf.tag = backgroundBlurStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + 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 onWillDismiss_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_DismissDialogAction_Void onWillDismiss_buf = {}; - onWillDismiss_buf.tag = onWillDismiss_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillDismiss_buf_runtimeType)) + 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_DismissDialogAction_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DismissDialogAction_Void))))}; } value.onWillDismiss = onWillDismiss_buf; const auto transition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TransitionEffect transition_buf = {}; - transition_buf.tag = transition_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (transition_buf_runtimeType)) + 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 cornerRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses cornerRadius_buf = {}; - cornerRadius_buf.tag = cornerRadius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf_runtimeType)) + cornerRadius_buf.tag = cornerRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf_runtimeType)) { const Ark_Int8 cornerRadius_buf__selector = valueDeserializer.readInt8(); Ark_Union_Dimension_BorderRadiuses_LocalizedBorderRadiuses cornerRadius_buf_ = {}; @@ -83452,32 +83447,32 @@ class Deserializer : public DeserializerBase { Ark_BorderRadiuses cornerRadius_buf__u = {}; const auto cornerRadius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length cornerRadius_buf__u_topLeft_buf = {}; - cornerRadius_buf__u_topLeft_buf.tag = cornerRadius_buf__u_topLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_topLeft_buf_runtimeType)) + 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)) { cornerRadius_buf__u_topLeft_buf.value = valueDeserializer.readLength(); } cornerRadius_buf__u.topLeft = cornerRadius_buf__u_topLeft_buf; const auto cornerRadius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length cornerRadius_buf__u_topRight_buf = {}; - cornerRadius_buf__u_topRight_buf.tag = cornerRadius_buf__u_topRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_topRight_buf_runtimeType)) + 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)) { cornerRadius_buf__u_topRight_buf.value = valueDeserializer.readLength(); } cornerRadius_buf__u.topRight = cornerRadius_buf__u_topRight_buf; const auto cornerRadius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length cornerRadius_buf__u_bottomLeft_buf = {}; - cornerRadius_buf__u_bottomLeft_buf.tag = cornerRadius_buf__u_bottomLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_bottomLeft_buf_runtimeType)) + 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)) { cornerRadius_buf__u_bottomLeft_buf.value = valueDeserializer.readLength(); } cornerRadius_buf__u.bottomLeft = cornerRadius_buf__u_bottomLeft_buf; const auto cornerRadius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length cornerRadius_buf__u_bottomRight_buf = {}; - cornerRadius_buf__u_bottomRight_buf.tag = cornerRadius_buf__u_bottomRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_bottomRight_buf_runtimeType)) + 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)) { cornerRadius_buf__u_bottomRight_buf.value = valueDeserializer.readLength(); } @@ -83496,24 +83491,24 @@ class Deserializer : public DeserializerBase { value.cornerRadius = cornerRadius_buf; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.width = width_buf; const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length height_buf = {}; - height_buf.tag = height_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.height = height_buf; const auto borderWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth_buf = {}; - borderWidth_buf.tag = borderWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf_runtimeType)) + 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_Dimension_EdgeWidths_LocalizedEdgeWidths borderWidth_buf_ = {}; @@ -83527,32 +83522,32 @@ class Deserializer : public DeserializerBase { Ark_EdgeWidths borderWidth_buf__u = {}; const auto borderWidth_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_top_buf = {}; - borderWidth_buf__u_top_buf.tag = borderWidth_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) + 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)) { borderWidth_buf__u_top_buf.value = valueDeserializer.readLength(); } borderWidth_buf__u.top = borderWidth_buf__u_top_buf; const auto borderWidth_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_right_buf = {}; - borderWidth_buf__u_right_buf.tag = borderWidth_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) + 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)) { borderWidth_buf__u_right_buf.value = valueDeserializer.readLength(); } borderWidth_buf__u.right = borderWidth_buf__u_right_buf; const auto borderWidth_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_bottom_buf = {}; - borderWidth_buf__u_bottom_buf.tag = borderWidth_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) + 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)) { borderWidth_buf__u_bottom_buf.value = valueDeserializer.readLength(); } borderWidth_buf__u.bottom = borderWidth_buf__u_bottom_buf; const auto borderWidth_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_left_buf = {}; - borderWidth_buf__u_left_buf.tag = borderWidth_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) + 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)) { borderWidth_buf__u_left_buf.value = valueDeserializer.readLength(); } @@ -83571,8 +83566,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf_runtimeType)) + 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 borderColor_buf__selector = valueDeserializer.readInt8(); Ark_Union_ResourceColor_EdgeColors_LocalizedEdgeColors borderColor_buf_ = {}; @@ -83608,8 +83603,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) + 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_ = {}; @@ -83638,8 +83633,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) + 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_ = {}; @@ -83668,8 +83663,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) + 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_ = {}; @@ -83698,8 +83693,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) + 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_ = {}; @@ -83740,8 +83735,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf_runtimeType)) + 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 borderStyle_buf__selector = valueDeserializer.readInt8(); Ark_Union_BorderStyle_EdgeStyles borderStyle_buf_ = {}; @@ -83755,32 +83750,32 @@ class Deserializer : public DeserializerBase { Ark_EdgeStyles borderStyle_buf__u = {}; const auto borderStyle_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_top_buf = {}; - borderStyle_buf__u_top_buf.tag = borderStyle_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_top_buf_runtimeType)) + borderStyle_buf__u_top_buf.tag = borderStyle_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_top_buf_runtimeType)) { borderStyle_buf__u_top_buf.value = static_cast(valueDeserializer.readInt32()); } borderStyle_buf__u.top = borderStyle_buf__u_top_buf; const auto borderStyle_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_right_buf = {}; - borderStyle_buf__u_right_buf.tag = borderStyle_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_right_buf_runtimeType)) + borderStyle_buf__u_right_buf.tag = borderStyle_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_right_buf_runtimeType)) { borderStyle_buf__u_right_buf.value = static_cast(valueDeserializer.readInt32()); } borderStyle_buf__u.right = borderStyle_buf__u_right_buf; const auto borderStyle_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_bottom_buf = {}; - borderStyle_buf__u_bottom_buf.tag = borderStyle_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_bottom_buf_runtimeType)) + borderStyle_buf__u_bottom_buf.tag = borderStyle_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_bottom_buf_runtimeType)) { borderStyle_buf__u_bottom_buf.value = static_cast(valueDeserializer.readInt32()); } borderStyle_buf__u.bottom = borderStyle_buf__u_bottom_buf; const auto borderStyle_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_left_buf = {}; - borderStyle_buf__u_left_buf.tag = borderStyle_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_left_buf_runtimeType)) + borderStyle_buf__u_left_buf.tag = borderStyle_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_left_buf_runtimeType)) { borderStyle_buf__u_left_buf.value = static_cast(valueDeserializer.readInt32()); } @@ -83795,8 +83790,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (shadow_buf_runtimeType)) + 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 shadow_buf__selector = valueDeserializer.readInt8(); Ark_Union_ShadowOptions_ShadowStyle shadow_buf_ = {}; @@ -83817,16 +83812,16 @@ class Deserializer : public DeserializerBase { value.shadow = shadow_buf; const auto enableHoverMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableHoverMode_buf = {}; - enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) + enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) { enableHoverMode_buf.value = valueDeserializer.readBoolean(); } value.enableHoverMode = enableHoverMode_buf; const auto hoverModeArea_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_HoverModeAreaType hoverModeArea_buf = {}; - hoverModeArea_buf.tag = hoverModeArea_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (hoverModeArea_buf_runtimeType)) + hoverModeArea_buf.tag = hoverModeArea_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hoverModeArea_buf_runtimeType)) { hoverModeArea_buf.value = static_cast(valueDeserializer.readInt32()); } @@ -83835,49 +83830,9 @@ class Deserializer : public DeserializerBase { } Ark_ClickEvent readClickEvent() { - Ark_ClickEvent value = {}; Deserializer& valueDeserializer = *this; - value.target = valueDeserializer.readEventTarget(); - value.timestamp = static_cast(valueDeserializer.readNumber()); - value.source = static_cast(valueDeserializer.readInt32()); - const auto axisHorizontal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number axisHorizontal_buf = {}; - axisHorizontal_buf.tag = axisHorizontal_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.axisHorizontal = axisHorizontal_buf; - const auto axisVertical_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number axisVertical_buf = {}; - axisVertical_buf.tag = axisVertical_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.axisVertical = axisVertical_buf; - value.pressure = static_cast(valueDeserializer.readNumber()); - value.tiltX = static_cast(valueDeserializer.readNumber()); - value.tiltY = static_cast(valueDeserializer.readNumber()); - value.sourceTool = static_cast(valueDeserializer.readInt32()); - const auto deviceId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number deviceId_buf = {}; - deviceId_buf.tag = deviceId_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.deviceId = deviceId_buf; - 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()); - value.preventDefault = {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_NativePointer ptr = valueDeserializer.readPointer(); + return { ptr }; } Ark_WithThemeOptions readWithThemeOptions() { @@ -83885,16 +83840,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto theme_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_CustomTheme theme_buf = {}; - theme_buf.tag = theme_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (theme_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (colorMode_buf_runtimeType)) + 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()); } @@ -83937,16 +83892,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number start_buf = {}; - start_buf.tag = start_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + 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 length_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number length_buf = {}; - length_buf.tag = length_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (length_buf_runtimeType)) + length_buf.tag = length_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (length_buf_runtimeType)) { length_buf.value = static_cast(valueDeserializer.readNumber()); } @@ -84026,24 +83981,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto isTransferringCaller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean isTransferringCaller_buf = {}; - isTransferringCaller_buf.tag = isTransferringCaller_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (isTransferringCaller_buf_runtimeType)) + isTransferringCaller_buf.tag = isTransferringCaller_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isTransferringCaller_buf_runtimeType)) { isTransferringCaller_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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (placeholder_buf_runtimeType)) + placeholder_buf.tag = placeholder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (placeholder_buf_runtimeType)) { placeholder_buf.value = valueDeserializer.readComponentContent(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (areaChangePlaceholder_buf_runtimeType)) + areaChangePlaceholder_buf.tag = areaChangePlaceholder_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (areaChangePlaceholder_buf_runtimeType)) { const Ark_Int32 areaChangePlaceholder_buf__size = valueDeserializer.readInt32(); Map_String_ComponentContent areaChangePlaceholder_buf_ = {}; @@ -84059,8 +84014,8 @@ class Deserializer : public DeserializerBase { value.areaChangePlaceholder = areaChangePlaceholder_buf; const auto dpiFollowStrategy_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_DpiFollowStrategy dpiFollowStrategy_buf = {}; - dpiFollowStrategy_buf.tag = dpiFollowStrategy_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dpiFollowStrategy_buf_runtimeType)) + 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()); } @@ -84079,32 +84034,32 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto footer_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_CustomNodeBuilder footer_buf = {}; - footer_buf.tag = footer_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (footer_buf_runtimeType)) + 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 scroller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Scroller scroller_buf = {}; - scroller_buf.tag = scroller_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (scroller_buf_runtimeType)) + 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; const auto sections_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_WaterFlowSections sections_buf = {}; - sections_buf.tag = sections_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (sections_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (layoutMode_buf_runtimeType)) + 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()); } @@ -84127,40 +84082,40 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number left_buf = {}; - left_buf.tag = left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (icons_buf_runtimeType)) + 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(); } @@ -84175,8 +84130,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (imageAIOptions_buf_runtimeType)) + 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(); } @@ -84205,16 +84160,16 @@ class Deserializer : public DeserializerBase { value.useSystemKeyboard = valueDeserializer.readBoolean(); const auto enterKeyType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number enterKeyType_buf = {}; - enterKeyType_buf.tag = enterKeyType_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enterKeyType_buf_runtimeType)) + enterKeyType_buf.tag = enterKeyType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enterKeyType_buf_runtimeType)) { enterKeyType_buf.value = static_cast(valueDeserializer.readNumber()); } value.enterKeyType = enterKeyType_buf; const auto customKeyboard_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_CustomNodeBuilder customKeyboard_buf = {}; - customKeyboard_buf.tag = customKeyboard_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (customKeyboard_buf_runtimeType)) + customKeyboard_buf.tag = customKeyboard_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (customKeyboard_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))))}; } @@ -84259,8 +84214,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (startIcon_buf_runtimeType)) + 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 startIcon_buf__selector = valueDeserializer.readInt8(); Ark_ResourceStr startIcon_buf_ = {}; @@ -84305,24 +84260,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto embedId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String embedId_buf = {}; - embedId_buf.tag = embedId_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (embedId_buf_runtimeType)) + embedId_buf.tag = embedId_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (embedId_buf_runtimeType)) { embedId_buf.value = static_cast(valueDeserializer.readString()); } value.embedId = embedId_buf; const auto touchEvent_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TouchEvent touchEvent_buf = {}; - touchEvent_buf.tag = touchEvent_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (touchEvent_buf_runtimeType)) + touchEvent_buf.tag = touchEvent_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (touchEvent_buf_runtimeType)) { - touchEvent_buf.value = valueDeserializer.readTouchEvent(); + touchEvent_buf.value = static_cast(valueDeserializer.readTouchEvent()); } value.touchEvent = touchEvent_buf; const auto result_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_EventResult result_buf = {}; - result_buf.tag = result_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (result_buf_runtimeType)) + result_buf.tag = result_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (result_buf_runtimeType)) { result_buf.value = static_cast(valueDeserializer.readEventResult()); } @@ -84343,32 +84298,32 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto status_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_NativeEmbedStatus status_buf = {}; - status_buf.tag = status_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (status_buf_runtimeType)) + 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; const auto surfaceId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String surfaceId_buf = {}; - surfaceId_buf.tag = surfaceId_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (surfaceId_buf_runtimeType)) + surfaceId_buf.tag = surfaceId_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (surfaceId_buf_runtimeType)) { surfaceId_buf.value = static_cast(valueDeserializer.readString()); } value.surfaceId = surfaceId_buf; const auto embedId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String embedId_buf = {}; - embedId_buf.tag = embedId_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (embedId_buf_runtimeType)) + embedId_buf.tag = embedId_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (embedId_buf_runtimeType)) { embedId_buf.value = static_cast(valueDeserializer.readString()); } value.embedId = embedId_buf; const auto info_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_NativeEmbedInfo info_buf = {}; - info_buf.tag = info_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (info_buf_runtimeType)) + info_buf.tag = info_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (info_buf_runtimeType)) { info_buf.value = valueDeserializer.readNativeEmbedInfo(); } @@ -84430,48 +84385,48 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto navigationStartTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number navigationStartTime_buf = {}; - navigationStartTime_buf.tag = navigationStartTime_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (navigationStartTime_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (largestImagePaintTime_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (largestTextPaintTime_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (imageBPP_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (largestImageLoadStartTime_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (largestImageLoadEndTime_buf_runtimeType)) + 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()); } @@ -84484,16 +84439,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto navigationStartTime_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number navigationStartTime_buf = {}; - navigationStartTime_buf.tag = navigationStartTime_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (navigationStartTime_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (firstMeaningfulPaintTime_buf_runtimeType)) + 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()); } @@ -84600,8 +84555,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (certChainData_buf_runtimeType)) + certChainData_buf.tag = certChainData_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (certChainData_buf_runtimeType)) { const Ark_Int32 certChainData_buf__length = valueDeserializer.readInt32(); Array_Buffer certChainData_buf_ = {}; @@ -84685,16 +84640,16 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (videoWidth_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (videoHeight_buf_runtimeType)) + 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()); } @@ -84844,16 +84799,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto resumeInterval_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number resumeInterval_buf = {}; - resumeInterval_buf.tag = resumeInterval_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (resumeInterval_buf_runtimeType)) + resumeInterval_buf.tag = resumeInterval_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (resumeInterval_buf_runtimeType)) { resumeInterval_buf.value = static_cast(valueDeserializer.readNumber()); } value.resumeInterval = resumeInterval_buf; const auto audioExclusive_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean audioExclusive_buf = {}; - audioExclusive_buf.tag = audioExclusive_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (audioExclusive_buf_runtimeType)) + audioExclusive_buf.tag = audioExclusive_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (audioExclusive_buf_runtimeType)) { audioExclusive_buf.value = valueDeserializer.readBoolean(); } @@ -84864,7 +84819,7 @@ class Deserializer : public DeserializerBase { { Ark_JavaScriptProxy value = {}; Deserializer& valueDeserializer = *this; - value.object = static_cast(valueDeserializer.readCustomObject("Object")); + value.object_ = static_cast(valueDeserializer.readCustomObject("Object")); value.name = static_cast(valueDeserializer.readString()); const Ark_Int32 methodList_buf_length = valueDeserializer.readInt32(); Array_String methodList_buf = {}; @@ -84891,8 +84846,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (asyncMethodList_buf_runtimeType)) + 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_ = {}; @@ -84906,8 +84861,8 @@ class Deserializer : public DeserializerBase { value.asyncMethodList = asyncMethodList_buf; const auto permission_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String permission_buf = {}; - permission_buf.tag = permission_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (permission_buf_runtimeType)) + permission_buf.tag = permission_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (permission_buf_runtimeType)) { permission_buf.value = static_cast(valueDeserializer.readString()); } @@ -84950,24 +84905,24 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (renderMode_buf_runtimeType)) + renderMode_buf.tag = renderMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (renderMode_buf_runtimeType)) { renderMode_buf.value = static_cast(valueDeserializer.readInt32()); } value.renderMode = renderMode_buf; const auto incognitoMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean incognitoMode_buf = {}; - incognitoMode_buf.tag = incognitoMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (incognitoMode_buf_runtimeType)) + incognitoMode_buf.tag = incognitoMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (incognitoMode_buf_runtimeType)) { incognitoMode_buf.value = valueDeserializer.readBoolean(); } value.incognitoMode = incognitoMode_buf; const auto sharedRenderProcessToken_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String sharedRenderProcessToken_buf = {}; - sharedRenderProcessToken_buf.tag = sharedRenderProcessToken_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (sharedRenderProcessToken_buf_runtimeType)) + sharedRenderProcessToken_buf.tag = sharedRenderProcessToken_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (sharedRenderProcessToken_buf_runtimeType)) { sharedRenderProcessToken_buf.value = static_cast(valueDeserializer.readString()); } @@ -85009,8 +84964,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto src_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_String_Resource src_buf = {}; - src_buf.tag = src_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (src_buf_runtimeType)) + 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 src_buf__selector = valueDeserializer.readInt8(); Ark_Union_String_Resource src_buf_ = {}; @@ -85031,8 +84986,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (currentProgressRate_buf_runtimeType)) + 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 currentProgressRate_buf__selector = valueDeserializer.readInt8(); Ark_Union_Number_String_PlaybackSpeed currentProgressRate_buf_ = {}; @@ -85057,8 +85012,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (previewUri_buf_runtimeType)) + 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 previewUri_buf__selector = valueDeserializer.readInt8(); Ark_Union_String_PixelMap_Resource previewUri_buf_ = {}; @@ -85083,16 +85038,16 @@ class Deserializer : public DeserializerBase { value.previewUri = previewUri_buf; const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_VideoController controller_buf = {}; - controller_buf.tag = controller_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) + 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.readVideoController()); } value.controller = controller_buf; const auto imageAIOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ImageAIOptions imageAIOptions_buf = {}; - imageAIOptions_buf.tag = imageAIOptions_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (imageAIOptions_buf_runtimeType)) + 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(); } @@ -85105,8 +85060,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto pointRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_Resource pointRadius_buf = {}; - pointRadius_buf.tag = pointRadius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (pointRadius_buf_runtimeType)) + 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_ = {}; @@ -85127,8 +85082,8 @@ class Deserializer : public DeserializerBase { value.pointRadius = pointRadius_buf; const auto unselectedColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor unselectedColor_buf = {}; - unselectedColor_buf.tag = unselectedColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (unselectedColor_buf_runtimeType)) + 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 unselectedColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor unselectedColor_buf_ = {}; @@ -85157,8 +85112,8 @@ class Deserializer : public DeserializerBase { value.unselectedColor = unselectedColor_buf; const auto pointColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor pointColor_buf = {}; - pointColor_buf.tag = pointColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (pointColor_buf_runtimeType)) + 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 pointColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor pointColor_buf_ = {}; @@ -85187,8 +85142,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (trackBorderRadius_buf_runtimeType)) + 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 trackBorderRadius_buf__selector = valueDeserializer.readInt8(); Ark_Union_Number_Resource trackBorderRadius_buf_ = {}; @@ -85216,8 +85171,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (isOn_buf_runtimeType)) + 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(); } @@ -85239,16 +85194,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto selected_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Date selected_buf = {}; - selected_buf.tag = selected_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) + 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 format_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TimePickerFormat format_buf = {}; - format_buf.tag = format_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (format_buf_runtimeType)) + format_buf.tag = format_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (format_buf_runtimeType)) { format_buf.value = static_cast(valueDeserializer.readInt32()); } @@ -85261,24 +85216,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto isCountDown_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean isCountDown_buf = {}; - isCountDown_buf.tag = isCountDown_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (isCountDown_buf_runtimeType)) + 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.isCountDown = isCountDown_buf; const auto count_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number count_buf = {}; - count_buf.tag = count_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (count_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) + 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()); } @@ -85356,8 +85311,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (children_buf_runtimeType)) + 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_ = {}; @@ -85392,8 +85347,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) + 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_ = {}; @@ -85482,8 +85437,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) + 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 value_buf__selector = valueDeserializer.readInt8(); Ark_Union_String_Array_String value_buf_ = {}; @@ -85511,8 +85466,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) + 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 selected_buf__selector = valueDeserializer.readInt8(); Ark_Union_Number_Array_Number selected_buf_ = {}; @@ -85546,8 +85501,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto onIconSrc_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_String_Resource onIconSrc_buf = {}; - onIconSrc_buf.tag = onIconSrc_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onIconSrc_buf_runtimeType)) + 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 onIconSrc_buf__selector = valueDeserializer.readInt8(); Ark_Union_String_Resource onIconSrc_buf_ = {}; @@ -85568,8 +85523,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offIconSrc_buf_runtimeType)) + 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 offIconSrc_buf__selector = valueDeserializer.readInt8(); Ark_Union_String_Resource offIconSrc_buf_ = {}; @@ -85596,8 +85551,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto placeholder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr placeholder_buf = {}; - placeholder_buf.tag = placeholder_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (placeholder_buf_runtimeType)) + 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_ = {}; @@ -85618,8 +85573,8 @@ class Deserializer : public DeserializerBase { value.placeholder = placeholder_buf; const auto text_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr text_buf = {}; - text_buf.tag = text_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) + 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_ = {}; @@ -85640,8 +85595,8 @@ class Deserializer : public DeserializerBase { value.text = text_buf; const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TextInputController controller_buf = {}; - controller_buf.tag = controller_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) + 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()); } @@ -85654,16 +85609,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto timeZoneOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number timeZoneOffset_buf = {}; - timeZoneOffset_buf.tag = timeZoneOffset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (timeZoneOffset_buf_runtimeType)) + timeZoneOffset_buf.tag = timeZoneOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (timeZoneOffset_buf_runtimeType)) { timeZoneOffset_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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) + 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.readTextClockController()); } @@ -85676,8 +85631,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto placeholder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr placeholder_buf = {}; - placeholder_buf.tag = placeholder_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (placeholder_buf_runtimeType)) + 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_ = {}; @@ -85698,8 +85653,8 @@ class Deserializer : public DeserializerBase { value.placeholder = placeholder_buf; const auto text_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr text_buf = {}; - text_buf.tag = text_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) + 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_ = {}; @@ -85720,8 +85675,8 @@ class Deserializer : public DeserializerBase { value.text = text_buf; const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TextAreaController controller_buf = {}; - controller_buf.tag = controller_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) + 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()); } @@ -85754,40 +85709,40 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto sm_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number sm_buf = {}; - sm_buf.tag = sm_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (sm_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (md_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (lg_buf_runtimeType)) + 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 margin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length margin_buf = {}; - margin_buf.tag = margin_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (margin_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.margin = margin_buf; const auto gutter_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length gutter_buf = {}; - gutter_buf.tag = gutter_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (gutter_buf_runtimeType)) + gutter_buf.tag = gutter_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (gutter_buf_runtimeType)) { gutter_buf.value = valueDeserializer.readLength(); } @@ -85809,24 +85764,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto barPosition_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BarPosition barPosition_buf = {}; - barPosition_buf.tag = barPosition_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (barPosition_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (index_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) + 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()); } @@ -85845,8 +85800,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto timeout_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number timeout_buf = {}; - timeout_buf.tag = timeout_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (timeout_buf_runtimeType)) + timeout_buf.tag = timeout_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (timeout_buf_runtimeType)) { timeout_buf.value = static_cast(valueDeserializer.readNumber()); } @@ -85881,8 +85836,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto alignContent_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Alignment alignContent_buf = {}; - alignContent_buf.tag = alignContent_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (alignContent_buf_runtimeType)) + 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()); } @@ -85895,16 +85850,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto from_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number from_buf = {}; - from_buf.tag = from_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (from_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (to_buf_runtimeType)) + 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()); } @@ -85918,8 +85873,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (image_buf_runtimeType)) + 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 image_buf__selector = valueDeserializer.readInt8(); Ark_ResourceStr image_buf_ = {}; @@ -85940,8 +85895,8 @@ class Deserializer : public DeserializerBase { value.image = image_buf; const auto shape_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Type_SliderBlockStyle_shape shape_buf = {}; - shape_buf.tag = shape_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (shape_buf_runtimeType)) + 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 shape_buf__selector = valueDeserializer.readInt8(); Ark_Type_SliderBlockStyle_shape shape_buf_ = {}; @@ -85976,56 +85931,56 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto value_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number value_buf = {}; - value_buf.tag = value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (min_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (max_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (step_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (reverse_buf_runtimeType)) + 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(); } @@ -86038,8 +85993,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto x_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_String x_buf = {}; - x_buf.tag = x_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (x_buf_runtimeType)) + 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_ = {}; @@ -86060,8 +86015,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (y_buf_runtimeType)) + 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_ = {}; @@ -86082,8 +86037,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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_ = {}; @@ -86104,8 +86059,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + 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_ = {}; @@ -86147,8 +86102,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + 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_ = {}; @@ -86169,8 +86124,8 @@ class Deserializer : public DeserializerBase { value.icon = icon_buf; const auto symbolIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_SymbolGlyphModifier symbolIcon_buf = {}; - symbolIcon_buf.tag = symbolIcon_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (symbolIcon_buf_runtimeType)) + 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(); } @@ -86201,8 +86156,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + 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_ = {}; @@ -86231,8 +86186,8 @@ class Deserializer : public DeserializerBase { value.color = color_buf; const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_TextDecorationStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + 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()); } @@ -86253,16 +86208,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.width = width_buf; const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + 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_ = {}; @@ -86297,16 +86252,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto value_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String value_buf = {}; - value_buf.tag = value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) + 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.value = value_buf; const auto placeholder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr placeholder_buf = {}; - placeholder_buf.tag = placeholder_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (placeholder_buf_runtimeType)) + 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_ = {}; @@ -86327,16 +86282,16 @@ class Deserializer : public DeserializerBase { value.placeholder = placeholder_buf; const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String icon_buf = {}; - icon_buf.tag = icon_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + 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()); } value.icon = icon_buf; const auto controller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_SearchController controller_buf = {}; - controller_buf.tag = controller_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (controller_buf_runtimeType)) + 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()); } @@ -86350,16 +86305,16 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) + 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 state_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BarState state_buf = {}; - state_buf.tag = state_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (state_buf_runtimeType)) + 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()); } @@ -86372,16 +86327,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto xOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length xOffset_buf = {}; - xOffset_buf.tag = xOffset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (xOffset_buf_runtimeType)) + xOffset_buf.tag = xOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (xOffset_buf_runtimeType)) { xOffset_buf.value = valueDeserializer.readLength(); } value.xOffset = xOffset_buf; const auto yOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length yOffset_buf = {}; - yOffset_buf.tag = yOffset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (yOffset_buf_runtimeType)) + yOffset_buf.tag = yOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (yOffset_buf_runtimeType)) { yOffset_buf.value = valueDeserializer.readLength(); } @@ -86395,8 +86350,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (snapPagination_buf_runtimeType)) + snapPagination_buf.tag = snapPagination_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (snapPagination_buf_runtimeType)) { const Ark_Int8 snapPagination_buf__selector = valueDeserializer.readInt8(); Ark_Union_Dimension_Array_Dimension snapPagination_buf_ = {}; @@ -86424,16 +86379,16 @@ class Deserializer : public DeserializerBase { value.snapPagination = snapPagination_buf; const auto enableSnapToStart_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableSnapToStart_buf = {}; - enableSnapToStart_buf.tag = enableSnapToStart_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableSnapToStart_buf_runtimeType)) + enableSnapToStart_buf.tag = enableSnapToStart_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableSnapToStart_buf_runtimeType)) { enableSnapToStart_buf.value = valueDeserializer.readBoolean(); } value.enableSnapToStart = enableSnapToStart_buf; const auto enableSnapToEnd_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableSnapToEnd_buf = {}; - enableSnapToEnd_buf.tag = enableSnapToEnd_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableSnapToEnd_buf_runtimeType)) + enableSnapToEnd_buf.tag = enableSnapToEnd_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableSnapToEnd_buf_runtimeType)) { enableSnapToEnd_buf.value = valueDeserializer.readBoolean(); } @@ -86453,24 +86408,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_SaveIconStyle icon_buf = {}; - icon_buf.tag = icon_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + 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_SaveDescription text_buf = {}; - text_buf.tag = text_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (buttonType_buf_runtimeType)) + 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()); } @@ -86483,8 +86438,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_String_Number space_buf = {}; - space_buf.tag = space_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) + 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_ = {}; @@ -86536,8 +86491,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto preventDefault_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void preventDefault_buf = {}; - preventDefault_buf.tag = preventDefault_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (preventDefault_buf_runtimeType)) + 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))))}; } @@ -86550,8 +86505,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto preventDefault_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void preventDefault_buf = {}; - preventDefault_buf.tag = preventDefault_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (preventDefault_buf_runtimeType)) + 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))))}; } @@ -86591,10 +86546,9 @@ class Deserializer : public DeserializerBase { } Ark_SubmitEvent readSubmitEvent() { - Ark_SubmitEvent value = {}; Deserializer& valueDeserializer = *this; - value.text = static_cast(valueDeserializer.readString()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return { ptr }; } Ark_TextDataDetectorConfig readTextDataDetectorConfig() { @@ -86610,16 +86564,16 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onDetectResultUpdate_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + 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_ = {}; @@ -86648,8 +86602,8 @@ class Deserializer : public DeserializerBase { value.color = color_buf; const auto decoration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_DecorationStyleInterface decoration_buf = {}; - decoration_buf.tag = decoration_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (decoration_buf_runtimeType)) + 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(); } @@ -86662,8 +86616,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto preventDefault_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void preventDefault_buf = {}; - preventDefault_buf.tag = preventDefault_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (preventDefault_buf_runtimeType)) + 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))))}; } @@ -86709,8 +86663,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (previewText_buf_runtimeType)) + 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()); } @@ -86757,8 +86711,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (previewText_buf_runtimeType)) + 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()); } @@ -86767,59 +86721,9 @@ class Deserializer : public DeserializerBase { } Ark_GestureEvent readGestureEvent() { - Ark_GestureEvent value = {}; Deserializer& valueDeserializer = *this; - value.target = valueDeserializer.readEventTarget(); - value.timestamp = static_cast(valueDeserializer.readNumber()); - value.source = static_cast(valueDeserializer.readInt32()); - const auto axisHorizontal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number axisHorizontal_buf = {}; - axisHorizontal_buf.tag = axisHorizontal_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.axisHorizontal = axisHorizontal_buf; - const auto axisVertical_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number axisVertical_buf = {}; - axisVertical_buf.tag = axisVertical_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.axisVertical = axisVertical_buf; - value.pressure = static_cast(valueDeserializer.readNumber()); - value.tiltX = static_cast(valueDeserializer.readNumber()); - value.tiltY = static_cast(valueDeserializer.readNumber()); - value.sourceTool = static_cast(valueDeserializer.readInt32()); - const auto deviceId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number deviceId_buf = {}; - deviceId_buf.tag = deviceId_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.deviceId = deviceId_buf; - value.repeat = valueDeserializer.readBoolean(); - const Ark_Int32 fingerList_buf_length = valueDeserializer.readInt32(); - Array_FingerInfo fingerList_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&fingerList_buf, fingerList_buf_length); - for (int fingerList_buf_i = 0; fingerList_buf_i < fingerList_buf_length; fingerList_buf_i++) { - fingerList_buf.array[fingerList_buf_i] = valueDeserializer.readFingerInfo(); - } - value.fingerList = fingerList_buf; - value.offsetX = static_cast(valueDeserializer.readNumber()); - value.offsetY = static_cast(valueDeserializer.readNumber()); - value.angle = static_cast(valueDeserializer.readNumber()); - value.speed = static_cast(valueDeserializer.readNumber()); - value.scale = static_cast(valueDeserializer.readNumber()); - value.pinchCenterX = static_cast(valueDeserializer.readNumber()); - value.pinchCenterY = static_cast(valueDeserializer.readNumber()); - value.velocityX = static_cast(valueDeserializer.readNumber()); - value.velocityY = static_cast(valueDeserializer.readNumber()); - value.velocity = static_cast(valueDeserializer.readNumber()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return { ptr }; } Ark_LocalizedBarrierStyle readLocalizedBarrierStyle() { @@ -86869,8 +86773,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + 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 offset_buf__selector = valueDeserializer.readInt8(); Ark_Union_Number_String offset_buf_ = {}; @@ -86891,8 +86795,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (friction_buf_runtimeType)) + 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_ = {}; @@ -86913,8 +86817,8 @@ class Deserializer : public DeserializerBase { value.friction = friction_buf; const auto promptText_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr promptText_buf = {}; - promptText_buf.tag = promptText_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (promptText_buf_runtimeType)) + 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 promptText_buf__selector = valueDeserializer.readInt8(); Ark_ResourceStr promptText_buf_ = {}; @@ -86935,16 +86839,16 @@ class Deserializer : public DeserializerBase { value.promptText = promptText_buf; const auto builder_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_CustomNodeBuilder builder_buf = {}; - builder_buf.tag = builder_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (builder_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (refreshingContent_buf_runtimeType)) + 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 = valueDeserializer.readComponentContent(); } @@ -86959,8 +86863,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (secondaryUri_buf_runtimeType)) + 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()); } @@ -86974,8 +86878,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (indicator_buf_runtimeType)) + 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(); } @@ -86988,8 +86892,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto checkedBackgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor checkedBackgroundColor_buf = {}; - checkedBackgroundColor_buf.tag = checkedBackgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (checkedBackgroundColor_buf_runtimeType)) + 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 checkedBackgroundColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor checkedBackgroundColor_buf_ = {}; @@ -87018,8 +86922,8 @@ class Deserializer : public DeserializerBase { value.checkedBackgroundColor = checkedBackgroundColor_buf; const auto uncheckedBorderColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor uncheckedBorderColor_buf = {}; - uncheckedBorderColor_buf.tag = uncheckedBorderColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (uncheckedBorderColor_buf_runtimeType)) + 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 uncheckedBorderColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor uncheckedBorderColor_buf_ = {}; @@ -87048,8 +86952,8 @@ class Deserializer : public DeserializerBase { value.uncheckedBorderColor = uncheckedBorderColor_buf; const auto indicatorColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor indicatorColor_buf = {}; - indicatorColor_buf.tag = indicatorColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (indicatorColor_buf_runtimeType)) + 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 indicatorColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor indicatorColor_buf_ = {}; @@ -87086,16 +86990,16 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (indicatorType_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (indicatorBuilder_buf_runtimeType)) + 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))))}; } @@ -87109,24 +87013,24 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (total_buf_runtimeType)) + 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.total = total_buf; const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ProgressStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + 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 type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ProgressType type_buf = {}; - type_buf.tag = type_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + 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()); } @@ -87139,8 +87043,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_String_Number width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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_ = {}; @@ -87161,8 +87065,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + 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_ = {}; @@ -87183,14 +87087,22 @@ class Deserializer : public DeserializerBase { value.height = height_buf; return value; } + Ark_Point readPoint() + { + Ark_Point value = {}; + Deserializer& valueDeserializer = *this; + value.x = static_cast(valueDeserializer.readNumber()); + value.y = static_cast(valueDeserializer.readNumber()); + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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_ = {}; @@ -87211,8 +87123,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + 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_ = {}; @@ -87246,7 +87158,7 @@ class Deserializer : public DeserializerBase { Ark_PluginComponentOptions value = {}; Deserializer& valueDeserializer = *this; value.template_ = valueDeserializer.readPluginComponentTemplate(); - value.data = static_cast(valueDeserializer.readCustomObject("Any")); + value.data = static_cast(valueDeserializer.readString()); return value; } Ark_PatternLockController readPatternLockController() @@ -87261,8 +87173,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_String width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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_ = {}; @@ -87283,8 +87195,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + 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_ = {}; @@ -87305,8 +87217,8 @@ class Deserializer : public DeserializerBase { value.height = height_buf; const auto commands_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String commands_buf = {}; - commands_buf.tag = commands_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (commands_buf_runtimeType)) + 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()); } @@ -87319,24 +87231,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PasteIconStyle icon_buf = {}; - icon_buf.tag = icon_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (buttonType_buf_runtimeType)) + 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()); } @@ -87355,8 +87267,8 @@ class Deserializer : public DeserializerBase { value.name = static_cast(valueDeserializer.readString()); const auto param_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_CustomObject param_buf = {}; - param_buf.tag = param_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (param_buf_runtimeType)) + 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.readCustomObject("Any")); } @@ -87384,8 +87296,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + 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_ = {}; @@ -87406,32 +87318,32 @@ class Deserializer : public DeserializerBase { value.icon = icon_buf; const auto symbolIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_SymbolGlyphModifier symbolIcon_buf = {}; - symbolIcon_buf.tag = symbolIcon_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (symbolIcon_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (action_buf_runtimeType)) + 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; const auto status_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ToolbarItemStatus status_buf = {}; - status_buf.tag = status_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (status_buf_runtimeType)) + 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; const auto activeIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr activeIcon_buf = {}; - activeIcon_buf.tag = activeIcon_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (activeIcon_buf_runtimeType)) + 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 activeIcon_buf__selector = valueDeserializer.readInt8(); Ark_ResourceStr activeIcon_buf_ = {}; @@ -87452,8 +87364,8 @@ class Deserializer : public DeserializerBase { value.activeIcon = activeIcon_buf; const auto activeSymbolIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_SymbolGlyphModifier activeSymbolIcon_buf = {}; - activeSymbolIcon_buf.tag = activeSymbolIcon_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (activeSymbolIcon_buf_runtimeType)) + 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(); } @@ -87481,8 +87393,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + 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_ = {}; @@ -87503,24 +87415,24 @@ class Deserializer : public DeserializerBase { value.icon = icon_buf; const auto symbolIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_SymbolGlyphModifier symbolIcon_buf = {}; - symbolIcon_buf.tag = symbolIcon_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (symbolIcon_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (isEnabled_buf_runtimeType)) + 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(); } value.isEnabled = isEnabled_buf; const auto action_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void action_buf = {}; - action_buf.tag = action_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (action_buf_runtimeType)) + 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))))}; } @@ -87541,8 +87453,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto header_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_ResourceStr_CustomBuilder header_buf = {}; - header_buf.tag = header_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (header_buf_runtimeType)) + 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_ = {}; @@ -87577,8 +87489,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (footer_buf_runtimeType)) + 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_ = {}; @@ -87620,24 +87532,24 @@ class Deserializer : public DeserializerBase { value.start = valueDeserializer.readBoolean(); const auto step_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number step_buf = {}; - step_buf.tag = step_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (step_buf_runtimeType)) + 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 loop_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number loop_buf = {}; - loop_buf.tag = loop_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (loop_buf_runtimeType)) + loop_buf.tag = loop_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (loop_buf_runtimeType)) { loop_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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fromStart_buf_runtimeType)) + fromStart_buf.tag = fromStart_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fromStart_buf_runtimeType)) { fromStart_buf.value = valueDeserializer.readBoolean(); } @@ -87651,24 +87563,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LocationIconStyle icon_buf = {}; - icon_buf.tag = icon_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (text_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (buttonType_buf_runtimeType)) + 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()); } @@ -87681,40 +87593,40 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto header_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_CustomNodeBuilder header_buf = {}; - header_buf.tag = header_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (header_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (headerComponent_buf_runtimeType)) + 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 = 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (footer_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (footerComponent_buf_runtimeType)) + 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 = 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) + 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_ = {}; @@ -87735,8 +87647,8 @@ class Deserializer : public DeserializerBase { value.space = space_buf; const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ListItemGroupStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + 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()); } @@ -87749,8 +87661,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_CustomBuilder_SwipeActionItem start_buf = {}; - start_buf.tag = start_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + 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 start_buf__selector = valueDeserializer.readInt8(); Ark_Union_CustomBuilder_SwipeActionItem start_buf_ = {}; @@ -87771,8 +87683,8 @@ class Deserializer : public DeserializerBase { value.start = start_buf; const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_CustomBuilder_SwipeActionItem end_buf = {}; - end_buf.tag = end_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + 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 end_buf__selector = valueDeserializer.readInt8(); Ark_Union_CustomBuilder_SwipeActionItem end_buf_ = {}; @@ -87793,16 +87705,16 @@ class Deserializer : public DeserializerBase { value.end = end_buf; const auto edgeEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_SwipeEdgeEffect edgeEffect_buf = {}; - edgeEffect_buf.tag = edgeEffect_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (edgeEffect_buf_runtimeType)) + 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 onOffsetChange_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Number_Void onOffsetChange_buf = {}; - onOffsetChange_buf.tag = onOffsetChange_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onOffsetChange_buf_runtimeType)) + onOffsetChange_buf.tag = onOffsetChange_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (onOffsetChange_buf_runtimeType)) { onOffsetChange_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))))}; } @@ -87815,8 +87727,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ListItemStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + 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()); } @@ -87830,16 +87742,16 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (itemGroupArea_buf_runtimeType)) + 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()); } value.itemGroupArea = itemGroupArea_buf; const auto itemIndexInGroup_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number itemIndexInGroup_buf = {}; - itemIndexInGroup_buf.tag = itemIndexInGroup_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (itemIndexInGroup_buf_runtimeType)) + itemIndexInGroup_buf.tag = itemIndexInGroup_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (itemIndexInGroup_buf_runtimeType)) { itemIndexInGroup_buf.value = static_cast(valueDeserializer.readNumber()); } @@ -87860,40 +87772,40 @@ class Deserializer : public DeserializerBase { value.maxSpace = valueDeserializer.readLength(); const auto conductivity_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number conductivity_buf = {}; - conductivity_buf.tag = conductivity_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (conductivity_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (intensity_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (edgeEffect_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (stiffness_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (damping_buf_runtimeType)) + 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()); } @@ -87906,16 +87818,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto initialIndex_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number initialIndex_buf = {}; - initialIndex_buf.tag = initialIndex_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (initialIndex_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) + 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_ = {}; @@ -87936,8 +87848,8 @@ class Deserializer : public DeserializerBase { value.space = space_buf; const auto scroller_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Scroller scroller_buf = {}; - scroller_buf.tag = scroller_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (scroller_buf_runtimeType)) + 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()); } @@ -87950,8 +87862,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_String_Number width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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_ = {}; @@ -87972,8 +87884,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + 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_ = {}; @@ -88034,8 +87946,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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_ = {}; @@ -88056,8 +87968,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + 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_ = {}; @@ -88078,8 +87990,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + 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_Number_String top_buf_ = {}; @@ -88100,8 +88012,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) + 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_Number_String left_buf_ = {}; @@ -88122,8 +88034,8 @@ class Deserializer : public DeserializerBase { value.left = left_buf; const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number duration_buf = {}; - duration_buf.tag = duration_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) + 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()); } @@ -88160,8 +88072,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto gutter_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Length_GutterOption gutter_buf = {}; - gutter_buf.tag = gutter_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (gutter_buf_runtimeType)) + 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_Length_GutterOption gutter_buf_ = {}; @@ -88182,8 +88094,8 @@ class Deserializer : public DeserializerBase { value.gutter = gutter_buf; const auto columns_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_GridRowColumnOption columns_buf = {}; - columns_buf.tag = columns_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (columns_buf_runtimeType)) + 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_GridRowColumnOption columns_buf_ = {}; @@ -88204,16 +88116,16 @@ class Deserializer : public DeserializerBase { value.columns = columns_buf; const auto breakpoints_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BreakPoints breakpoints_buf = {}; - breakpoints_buf.tag = breakpoints_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (breakpoints_buf_runtimeType)) + breakpoints_buf.tag = breakpoints_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (breakpoints_buf_runtimeType)) { breakpoints_buf.value = valueDeserializer.readBreakPoints(); } value.breakpoints = breakpoints_buf; const auto direction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_GridRowDirection direction_buf = {}; - direction_buf.tag = direction_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) + 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()); } @@ -88226,8 +88138,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto columns_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_String columns_buf = {}; - columns_buf.tag = columns_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (columns_buf_runtimeType)) + 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_ = {}; @@ -88248,16 +88160,16 @@ class Deserializer : public DeserializerBase { value.columns = columns_buf; const auto sizeType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_SizeType sizeType_buf = {}; - sizeType_buf.tag = sizeType_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (sizeType_buf_runtimeType)) + sizeType_buf.tag = sizeType_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (sizeType_buf_runtimeType)) { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (gutter_buf_runtimeType)) + 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_ = {}; @@ -88278,8 +88190,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (margin_buf_runtimeType)) + 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_ = {}; @@ -88306,8 +88218,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto span_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_GridColColumnOption span_buf = {}; - span_buf.tag = span_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (span_buf_runtimeType)) + 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 span_buf__selector = valueDeserializer.readInt8(); Ark_Union_Number_GridColColumnOption span_buf_ = {}; @@ -88328,8 +88240,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + 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 offset_buf__selector = valueDeserializer.readInt8(); Ark_Union_Number_GridColColumnOption offset_buf_ = {}; @@ -88350,8 +88262,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (order_buf_runtimeType)) + 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 order_buf__selector = valueDeserializer.readInt8(); Ark_Union_Number_GridColColumnOption order_buf_ = {}; @@ -88378,8 +88290,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_GridItemStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + 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()); } @@ -88412,8 +88324,8 @@ class Deserializer : public DeserializerBase { value.regularSize = regularSize_buf; const auto irregularIndexes_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Array_Number irregularIndexes_buf = {}; - irregularIndexes_buf.tag = irregularIndexes_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (irregularIndexes_buf_runtimeType)) + 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_ = {}; @@ -88427,16 +88339,16 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onGetIrregularSizeByIndex_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onGetRectByIndex_buf_runtimeType)) + 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))))}; } @@ -88449,8 +88361,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto icon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceStr icon_buf = {}; - icon_buf.tag = icon_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + 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_ = {}; @@ -88471,8 +88383,8 @@ class Deserializer : public DeserializerBase { value.icon = icon_buf; const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length space_buf = {}; - space_buf.tag = space_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) + 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.readLength(); } @@ -88485,8 +88397,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_Resource radius_buf = {}; - radius_buf.tag = radius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) + 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_ = {}; @@ -88507,8 +88419,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offsetX_buf_runtimeType)) + 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 offsetX_buf__selector = valueDeserializer.readInt8(); Ark_Union_Number_Resource offsetX_buf_ = {}; @@ -88529,8 +88441,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offsetY_buf_runtimeType)) + 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 offsetY_buf__selector = valueDeserializer.readInt8(); Ark_Union_Number_Resource offsetY_buf_ = {}; @@ -88558,16 +88470,16 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (min_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (max_buf_runtimeType)) + 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()); } @@ -88581,40 +88493,40 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (moduleName_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (bundleName_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (abilityName_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (uri_buf_runtimeType)) + 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_CustomObject params_buf = {}; - params_buf.tag = params_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (params_buf_runtimeType)) + 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.readCustomObject("Object")); } @@ -88654,40 +88566,40 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dimension_buf_runtimeType)) + dimension_buf.tag = dimension_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dimension_buf_runtimeType)) { dimension_buf.value = static_cast(valueDeserializer.readInt32()); } value.dimension = dimension_buf; const auto temporary_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean temporary_buf = {}; - temporary_buf.tag = temporary_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (temporary_buf_runtimeType)) + temporary_buf.tag = temporary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (temporary_buf_runtimeType)) { temporary_buf.value = valueDeserializer.readBoolean(); } value.temporary = temporary_buf; const auto want_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Want want_buf = {}; - want_buf.tag = want_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (want_buf_runtimeType)) + 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; const auto renderingMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_FormRenderingMode renderingMode_buf = {}; - renderingMode_buf.tag = renderingMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (renderingMode_buf_runtimeType)) + renderingMode_buf.tag = renderingMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (renderingMode_buf_runtimeType)) { renderingMode_buf.value = static_cast(valueDeserializer.readInt32()); } value.renderingMode = renderingMode_buf; const auto shape_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_FormShape shape_buf = {}; - shape_buf.tag = shape_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (shape_buf_runtimeType)) + 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.readInt32()); } @@ -88717,8 +88629,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto upperItems_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Array_String upperItems_buf = {}; - upperItems_buf.tag = upperItems_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (upperItems_buf_runtimeType)) + 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_ = {}; @@ -88738,48 +88650,48 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto direction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_FlexDirection direction_buf = {}; - direction_buf.tag = direction_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (wrap_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (justifyContent_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (alignItems_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (alignContent_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) + 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(); } @@ -88793,8 +88705,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (want_buf_runtimeType)) + 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(); } @@ -88807,8 +88719,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_String_Number width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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_ = {}; @@ -88829,8 +88741,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + 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_ = {}; @@ -88857,24 +88769,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto year_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number year_buf = {}; - year_buf.tag = year_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (year_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (month_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (day_buf_runtimeType)) + 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()); } @@ -88887,24 +88799,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Date start_buf = {}; - start_buf.tag = start_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) + 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(); } @@ -88917,8 +88829,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_Resource radius_buf = {}; - radius_buf.tag = radius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) + 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_ = {}; @@ -88939,8 +88851,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offsetX_buf_runtimeType)) + 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 offsetX_buf__selector = valueDeserializer.readInt8(); Ark_Union_Number_Resource offsetX_buf_ = {}; @@ -88961,8 +88873,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offsetY_buf_runtimeType)) + 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 offsetY_buf__selector = valueDeserializer.readInt8(); Ark_Union_Number_Resource offsetY_buf_ = {}; @@ -88983,8 +88895,8 @@ class Deserializer : public DeserializerBase { value.offsetY = offsetY_buf; const auto colors_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Array_Union_ResourceColor_LinearGradient_data_panel colors_buf = {}; - colors_buf.tag = colors_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (colors_buf_runtimeType)) + colors_buf.tag = colors_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (colors_buf_runtimeType)) { const Ark_Int32 colors_buf__length = valueDeserializer.readInt32(); Array_Union_ResourceColor_LinearGradient_data_panel colors_buf_ = {}; @@ -89048,16 +88960,16 @@ class Deserializer : public DeserializerBase { value.values = values_buf; const auto max_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number max_buf = {}; - max_buf.tag = max_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (max_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + 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()); } @@ -89071,32 +88983,32 @@ class Deserializer : public DeserializerBase { value.builder = static_cast(valueDeserializer.readCustomObject("Any")); const auto cancel_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_Void cancel_buf = {}; - cancel_buf.tag = cancel_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cancel_buf_runtimeType)) + cancel_buf.tag = cancel_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (cancel_buf_runtimeType)) { cancel_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.cancel = cancel_buf; const auto autoCancel_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean autoCancel_buf = {}; - autoCancel_buf.tag = autoCancel_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (autoCancel_buf_runtimeType)) + autoCancel_buf.tag = autoCancel_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (autoCancel_buf_runtimeType)) { autoCancel_buf.value = valueDeserializer.readBoolean(); } value.autoCancel = autoCancel_buf; const auto alignment_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_DialogAlignment alignment_buf = {}; - alignment_buf.tag = alignment_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (alignment_buf_runtimeType)) + alignment_buf.tag = alignment_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (alignment_buf_runtimeType)) { alignment_buf.value = static_cast(valueDeserializer.readInt32()); } value.alignment = alignment_buf; const auto offset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Offset offset_buf = {}; - offset_buf.tag = offset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_buf_runtimeType)) + 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_ = {}; offset_buf_.dx = valueDeserializer.readLength(); @@ -89106,24 +89018,24 @@ class Deserializer : public DeserializerBase { value.offset = offset_buf; const auto customStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean customStyle_buf = {}; - customStyle_buf.tag = customStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (customStyle_buf_runtimeType)) + customStyle_buf.tag = customStyle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (customStyle_buf_runtimeType)) { customStyle_buf.value = valueDeserializer.readBoolean(); } value.customStyle = customStyle_buf; const auto gridCount_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number gridCount_buf = {}; - gridCount_buf.tag = gridCount_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (gridCount_buf_runtimeType)) + gridCount_buf.tag = gridCount_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (gridCount_buf_runtimeType)) { gridCount_buf.value = static_cast(valueDeserializer.readNumber()); } value.gridCount = gridCount_buf; const auto maskColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor maskColor_buf = {}; - maskColor_buf.tag = maskColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (maskColor_buf_runtimeType)) + 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_ = {}; @@ -89152,40 +89064,40 @@ class Deserializer : public DeserializerBase { value.maskColor = maskColor_buf; const auto maskRect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Rectangle maskRect_buf = {}; - maskRect_buf.tag = maskRect_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (maskRect_buf_runtimeType)) + maskRect_buf.tag = maskRect_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (maskRect_buf_runtimeType)) { maskRect_buf.value = valueDeserializer.readRectangle(); } value.maskRect = maskRect_buf; const auto openAnimation_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_AnimateParam openAnimation_buf = {}; - openAnimation_buf.tag = openAnimation_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (openAnimation_buf_runtimeType)) + openAnimation_buf.tag = openAnimation_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (openAnimation_buf_runtimeType)) { openAnimation_buf.value = valueDeserializer.readAnimateParam(); } value.openAnimation = openAnimation_buf; const auto closeAnimation_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_AnimateParam closeAnimation_buf = {}; - closeAnimation_buf.tag = closeAnimation_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (closeAnimation_buf_runtimeType)) + closeAnimation_buf.tag = closeAnimation_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (closeAnimation_buf_runtimeType)) { closeAnimation_buf.value = valueDeserializer.readAnimateParam(); } value.closeAnimation = closeAnimation_buf; const auto showInSubWindow_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean showInSubWindow_buf = {}; - showInSubWindow_buf.tag = showInSubWindow_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (showInSubWindow_buf_runtimeType)) + 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 backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + 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_ = {}; @@ -89214,8 +89126,8 @@ class Deserializer : public DeserializerBase { value.backgroundColor = backgroundColor_buf; const auto cornerRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Dimension_BorderRadiuses cornerRadius_buf = {}; - cornerRadius_buf.tag = cornerRadius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf_runtimeType)) + cornerRadius_buf.tag = cornerRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (cornerRadius_buf_runtimeType)) { const Ark_Int8 cornerRadius_buf__selector = valueDeserializer.readInt8(); Ark_Union_Dimension_BorderRadiuses cornerRadius_buf_ = {}; @@ -89229,32 +89141,32 @@ class Deserializer : public DeserializerBase { Ark_BorderRadiuses cornerRadius_buf__u = {}; const auto cornerRadius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length cornerRadius_buf__u_topLeft_buf = {}; - cornerRadius_buf__u_topLeft_buf.tag = cornerRadius_buf__u_topLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_topLeft_buf_runtimeType)) + 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)) { cornerRadius_buf__u_topLeft_buf.value = valueDeserializer.readLength(); } cornerRadius_buf__u.topLeft = cornerRadius_buf__u_topLeft_buf; const auto cornerRadius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length cornerRadius_buf__u_topRight_buf = {}; - cornerRadius_buf__u_topRight_buf.tag = cornerRadius_buf__u_topRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_topRight_buf_runtimeType)) + 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)) { cornerRadius_buf__u_topRight_buf.value = valueDeserializer.readLength(); } cornerRadius_buf__u.topRight = cornerRadius_buf__u_topRight_buf; const auto cornerRadius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length cornerRadius_buf__u_bottomLeft_buf = {}; - cornerRadius_buf__u_bottomLeft_buf.tag = cornerRadius_buf__u_bottomLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_bottomLeft_buf_runtimeType)) + 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)) { cornerRadius_buf__u_bottomLeft_buf.value = valueDeserializer.readLength(); } cornerRadius_buf__u.bottomLeft = cornerRadius_buf__u_bottomLeft_buf; const auto cornerRadius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length cornerRadius_buf__u_bottomRight_buf = {}; - cornerRadius_buf__u_bottomRight_buf.tag = cornerRadius_buf__u_bottomRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (cornerRadius_buf__u_bottomRight_buf_runtimeType)) + 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)) { cornerRadius_buf__u_bottomRight_buf.value = valueDeserializer.readLength(); } @@ -89269,40 +89181,40 @@ class Deserializer : public DeserializerBase { value.cornerRadius = cornerRadius_buf; const auto isModal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean isModal_buf = {}; - isModal_buf.tag = isModal_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (isModal_buf_runtimeType)) + isModal_buf.tag = isModal_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (isModal_buf_runtimeType)) { isModal_buf.value = valueDeserializer.readBoolean(); } value.isModal = isModal_buf; const auto onWillDismiss_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Callback_DismissDialogAction_Void onWillDismiss_buf = {}; - onWillDismiss_buf.tag = onWillDismiss_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onWillDismiss_buf_runtimeType)) + 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_DismissDialogAction_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_DismissDialogAction_Void))))}; } value.onWillDismiss = onWillDismiss_buf; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.width = width_buf; const auto height_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length height_buf = {}; - height_buf.tag = height_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.height = height_buf; const auto borderWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Dimension_EdgeWidths borderWidth_buf = {}; - borderWidth_buf.tag = borderWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf_runtimeType)) + 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_Dimension_EdgeWidths borderWidth_buf_ = {}; @@ -89316,32 +89228,32 @@ class Deserializer : public DeserializerBase { Ark_EdgeWidths borderWidth_buf__u = {}; const auto borderWidth_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_top_buf = {}; - borderWidth_buf__u_top_buf.tag = borderWidth_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_top_buf_runtimeType)) + 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)) { borderWidth_buf__u_top_buf.value = valueDeserializer.readLength(); } borderWidth_buf__u.top = borderWidth_buf__u_top_buf; const auto borderWidth_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_right_buf = {}; - borderWidth_buf__u_right_buf.tag = borderWidth_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_right_buf_runtimeType)) + 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)) { borderWidth_buf__u_right_buf.value = valueDeserializer.readLength(); } borderWidth_buf__u.right = borderWidth_buf__u_right_buf; const auto borderWidth_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_bottom_buf = {}; - borderWidth_buf__u_bottom_buf.tag = borderWidth_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_bottom_buf_runtimeType)) + 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)) { borderWidth_buf__u_bottom_buf.value = valueDeserializer.readLength(); } borderWidth_buf__u.bottom = borderWidth_buf__u_bottom_buf; const auto borderWidth_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length borderWidth_buf__u_left_buf = {}; - borderWidth_buf__u_left_buf.tag = borderWidth_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderWidth_buf__u_left_buf_runtimeType)) + 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)) { borderWidth_buf__u_left_buf.value = valueDeserializer.readLength(); } @@ -89356,8 +89268,8 @@ class Deserializer : public DeserializerBase { value.borderWidth = borderWidth_buf; const auto borderColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_ResourceColor_EdgeColors borderColor_buf = {}; - borderColor_buf.tag = borderColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf_runtimeType)) + 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 borderColor_buf__selector = valueDeserializer.readInt8(); Ark_Union_ResourceColor_EdgeColors borderColor_buf_ = {}; @@ -89393,8 +89305,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_top_buf_runtimeType)) + 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_ = {}; @@ -89423,8 +89335,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_right_buf_runtimeType)) + 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_ = {}; @@ -89453,8 +89365,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_bottom_buf_runtimeType)) + 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_ = {}; @@ -89483,8 +89395,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderColor_buf__u_left_buf_runtimeType)) + 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_ = {}; @@ -89521,8 +89433,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf_runtimeType)) + 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 borderStyle_buf__selector = valueDeserializer.readInt8(); Ark_Union_BorderStyle_EdgeStyles borderStyle_buf_ = {}; @@ -89536,32 +89448,32 @@ class Deserializer : public DeserializerBase { Ark_EdgeStyles borderStyle_buf__u = {}; const auto borderStyle_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_top_buf = {}; - borderStyle_buf__u_top_buf.tag = borderStyle_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_top_buf_runtimeType)) + borderStyle_buf__u_top_buf.tag = borderStyle_buf__u_top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_top_buf_runtimeType)) { borderStyle_buf__u_top_buf.value = static_cast(valueDeserializer.readInt32()); } borderStyle_buf__u.top = borderStyle_buf__u_top_buf; const auto borderStyle_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_right_buf = {}; - borderStyle_buf__u_right_buf.tag = borderStyle_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_right_buf_runtimeType)) + borderStyle_buf__u_right_buf.tag = borderStyle_buf__u_right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_right_buf_runtimeType)) { borderStyle_buf__u_right_buf.value = static_cast(valueDeserializer.readInt32()); } borderStyle_buf__u.right = borderStyle_buf__u_right_buf; const auto borderStyle_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_bottom_buf = {}; - borderStyle_buf__u_bottom_buf.tag = borderStyle_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_bottom_buf_runtimeType)) + borderStyle_buf__u_bottom_buf.tag = borderStyle_buf__u_bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_bottom_buf_runtimeType)) { borderStyle_buf__u_bottom_buf.value = static_cast(valueDeserializer.readInt32()); } borderStyle_buf__u.bottom = borderStyle_buf__u_bottom_buf; const auto borderStyle_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle borderStyle_buf__u_left_buf = {}; - borderStyle_buf__u_left_buf.tag = borderStyle_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (borderStyle_buf__u_left_buf_runtimeType)) + borderStyle_buf__u_left_buf.tag = borderStyle_buf__u_left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (borderStyle_buf__u_left_buf_runtimeType)) { borderStyle_buf__u_left_buf.value = static_cast(valueDeserializer.readInt32()); } @@ -89576,8 +89488,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (shadow_buf_runtimeType)) + 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 shadow_buf__selector = valueDeserializer.readInt8(); Ark_Union_ShadowOptions_ShadowStyle shadow_buf_ = {}; @@ -89598,32 +89510,32 @@ class Deserializer : public DeserializerBase { value.shadow = shadow_buf; const auto backgroundBlurStyle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BlurStyle backgroundBlurStyle_buf = {}; - backgroundBlurStyle_buf.tag = backgroundBlurStyle_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundBlurStyle_buf_runtimeType)) + 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 keyboardAvoidMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_KeyboardAvoidMode keyboardAvoidMode_buf = {}; - keyboardAvoidMode_buf.tag = keyboardAvoidMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (keyboardAvoidMode_buf_runtimeType)) + keyboardAvoidMode_buf.tag = keyboardAvoidMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (keyboardAvoidMode_buf_runtimeType)) { keyboardAvoidMode_buf.value = static_cast(valueDeserializer.readInt32()); } value.keyboardAvoidMode = keyboardAvoidMode_buf; const auto enableHoverMode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enableHoverMode_buf = {}; - enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) + enableHoverMode_buf.tag = enableHoverMode_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (enableHoverMode_buf_runtimeType)) { enableHoverMode_buf.value = valueDeserializer.readBoolean(); } value.enableHoverMode = enableHoverMode_buf; const auto hoverModeArea_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_HoverModeAreaType hoverModeArea_buf = {}; - hoverModeArea_buf.tag = hoverModeArea_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (hoverModeArea_buf_runtimeType)) + hoverModeArea_buf.tag = hoverModeArea_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (hoverModeArea_buf_runtimeType)) { hoverModeArea_buf.value = static_cast(valueDeserializer.readInt32()); } @@ -89636,8 +89548,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto scene_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_ResourceStr_Scene scene_buf = {}; - scene_buf.tag = scene_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (scene_buf_runtimeType)) + scene_buf.tag = scene_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scene_buf_runtimeType)) { const Ark_Int8 scene_buf__selector = valueDeserializer.readInt8(); Ark_Union_ResourceStr_Scene scene_buf_ = {}; @@ -89672,8 +89584,8 @@ class Deserializer : public DeserializerBase { value.scene = scene_buf; const auto modelType_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ModelType modelType_buf = {}; - modelType_buf.tag = modelType_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (modelType_buf_runtimeType)) + 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()); } @@ -89739,8 +89651,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + 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_ = {}; @@ -89761,16 +89673,16 @@ class Deserializer : public DeserializerBase { value.icon = icon_buf; const auto symbolIcon_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_SymbolGlyphModifier symbolIcon_buf = {}; - symbolIcon_buf.tag = symbolIcon_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (symbolIcon_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enabled_buf_runtimeType)) + 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(); } @@ -89807,48 +89719,9 @@ class Deserializer : public DeserializerBase { } Ark_BaseGestureEvent readBaseGestureEvent() { - Ark_BaseGestureEvent value = {}; Deserializer& valueDeserializer = *this; - value.target = valueDeserializer.readEventTarget(); - value.timestamp = static_cast(valueDeserializer.readNumber()); - value.source = static_cast(valueDeserializer.readInt32()); - const auto axisHorizontal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number axisHorizontal_buf = {}; - axisHorizontal_buf.tag = axisHorizontal_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.axisHorizontal = axisHorizontal_buf; - const auto axisVertical_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number axisVertical_buf = {}; - axisVertical_buf.tag = axisVertical_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.axisVertical = axisVertical_buf; - value.pressure = static_cast(valueDeserializer.readNumber()); - value.tiltX = static_cast(valueDeserializer.readNumber()); - value.tiltY = static_cast(valueDeserializer.readNumber()); - value.sourceTool = static_cast(valueDeserializer.readInt32()); - const auto deviceId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number deviceId_buf = {}; - deviceId_buf.tag = deviceId_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.deviceId = deviceId_buf; - const Ark_Int32 fingerList_buf_length = valueDeserializer.readInt32(); - Array_FingerInfo fingerList_buf = {}; - valueDeserializer.resizeArray::type, - std::decay::type>(&fingerList_buf, fingerList_buf_length); - for (int fingerList_buf_i = 0; fingerList_buf_i < fingerList_buf_length; fingerList_buf_i++) { - fingerList_buf.array[fingerList_buf_i] = valueDeserializer.readFingerInfo(); - } - value.fingerList = fingerList_buf; - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return { ptr }; } Ark_GestureInfo readGestureInfo() { @@ -89856,8 +89729,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto tag_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String tag_buf = {}; - tag_buf.tag = tag_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (tag_buf_runtimeType)) + 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()); } @@ -89886,32 +89759,32 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length top_buf = {}; - top_buf.tag = top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + 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.readLength(); } value.top = top_buf; const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length bottom_buf = {}; - bottom_buf.tag = bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + 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.readLength(); } value.bottom = bottom_buf; const auto left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length left_buf = {}; - left_buf.tag = left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } value.left = left_buf; const auto right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length right_buf = {}; - right_buf.tag = right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } @@ -89924,48 +89797,48 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto normal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_CustomObject normal_buf = {}; - normal_buf.tag = normal_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (normal_buf_runtimeType)) + 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.readCustomObject("Any")); } value.normal = normal_buf; const auto pressed_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_CustomObject pressed_buf = {}; - pressed_buf.tag = pressed_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (pressed_buf_runtimeType)) + 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.readCustomObject("Any")); } value.pressed = pressed_buf; const auto disabled_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_CustomObject disabled_buf = {}; - disabled_buf.tag = disabled_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (disabled_buf_runtimeType)) + 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.readCustomObject("Any")); } value.disabled = disabled_buf; const auto focused_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_CustomObject focused_buf = {}; - focused_buf.tag = focused_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (focused_buf_runtimeType)) + 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.readCustomObject("Any")); } value.focused = focused_buf; const auto clicked_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_CustomObject clicked_buf = {}; - clicked_buf.tag = clicked_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (clicked_buf_runtimeType)) + 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.readCustomObject("Any")); } value.clicked = clicked_buf; const auto selected_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_CustomObject selected_buf = {}; - selected_buf.tag = selected_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) + 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 = static_cast(valueDeserializer.readCustomObject("Object")); } @@ -89981,11 +89854,9 @@ class Deserializer : public DeserializerBase { } Ark_DragEvent readDragEvent() { - Ark_DragEvent value = {}; Deserializer& valueDeserializer = *this; - value.dragBehavior = static_cast(valueDeserializer.readInt32()); - value.useCustomDropAnimation = valueDeserializer.readBoolean(); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return { ptr }; } Ark_LocalizedAlignRuleOptions readLocalizedAlignRuleOptions() { @@ -89993,56 +89864,56 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LocalizedHorizontalAlignParam start_buf = {}; - start_buf.tag = start_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (middle_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (center_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (bias_buf_runtimeType)) + 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(); } @@ -90055,8 +89926,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) + left_buf.tag = left_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (left_buf_runtimeType)) { Ark_Literal_String_anchor_HorizontalAlign_align left_buf_ = {}; left_buf_.anchor = static_cast(valueDeserializer.readString()); @@ -90066,8 +89937,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) + right_buf.tag = right_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (right_buf_runtimeType)) { Ark_Literal_String_anchor_HorizontalAlign_align right_buf_ = {}; right_buf_.anchor = static_cast(valueDeserializer.readString()); @@ -90077,8 +89948,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (middle_buf_runtimeType)) + middle_buf.tag = middle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (middle_buf_runtimeType)) { Ark_Literal_String_anchor_HorizontalAlign_align middle_buf_ = {}; middle_buf_.anchor = static_cast(valueDeserializer.readString()); @@ -90088,8 +89959,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + top_buf.tag = top_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) { Ark_Literal_String_anchor_VerticalAlign_align top_buf_ = {}; top_buf_.anchor = static_cast(valueDeserializer.readString()); @@ -90099,8 +89970,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + bottom_buf.tag = bottom_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) { Ark_Literal_String_anchor_VerticalAlign_align bottom_buf_ = {}; bottom_buf_.anchor = static_cast(valueDeserializer.readString()); @@ -90110,8 +89981,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (center_buf_runtimeType)) + center_buf.tag = center_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (center_buf_runtimeType)) { Ark_Literal_String_anchor_VerticalAlign_align center_buf_ = {}; center_buf_.anchor = static_cast(valueDeserializer.readString()); @@ -90121,8 +89992,8 @@ class Deserializer : public DeserializerBase { value.center = center_buf; const auto bias_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Bias bias_buf = {}; - bias_buf.tag = bias_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (bias_buf_runtimeType)) + 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(); } @@ -90143,24 +90014,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto margin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_LengthMetrics margin_buf = {}; - margin_buf.tag = margin_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (margin_buf_runtimeType)) + 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 = 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (strokeColor_buf_runtimeType)) + 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 = 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) + 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 = valueDeserializer.readLengthMetrics(); } @@ -90169,172 +90040,27 @@ class Deserializer : public DeserializerBase { } Ark_KeyEvent readKeyEvent() { - Ark_KeyEvent value = {}; - Deserializer& valueDeserializer = *this; - value.type = static_cast(valueDeserializer.readInt32()); - value.keyCode = static_cast(valueDeserializer.readNumber()); - value.keyText = static_cast(valueDeserializer.readString()); - value.keySource = static_cast(valueDeserializer.readInt32()); - value.deviceId = static_cast(valueDeserializer.readNumber()); - value.metaKey = static_cast(valueDeserializer.readNumber()); - value.timestamp = static_cast(valueDeserializer.readNumber()); - value.stopPropagation = {valueDeserializer.readCallbackResource(), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(valueDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))}; - value.intentionCode = valueDeserializer.readIntentionCode(); - const auto unicode_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number unicode_buf = {}; - unicode_buf.tag = unicode_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (unicode_buf_runtimeType)) - { - unicode_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.unicode = unicode_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()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return { ptr }; } Ark_MouseEvent readMouseEvent() { - Ark_MouseEvent value = {}; Deserializer& valueDeserializer = *this; - value.target = valueDeserializer.readEventTarget(); - value.timestamp = static_cast(valueDeserializer.readNumber()); - value.source = static_cast(valueDeserializer.readInt32()); - const auto axisHorizontal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number axisHorizontal_buf = {}; - axisHorizontal_buf.tag = axisHorizontal_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.axisHorizontal = axisHorizontal_buf; - const auto axisVertical_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number axisVertical_buf = {}; - axisVertical_buf.tag = axisVertical_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.axisVertical = axisVertical_buf; - value.pressure = static_cast(valueDeserializer.readNumber()); - value.tiltX = static_cast(valueDeserializer.readNumber()); - value.tiltY = static_cast(valueDeserializer.readNumber()); - value.sourceTool = static_cast(valueDeserializer.readInt32()); - const auto deviceId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number deviceId_buf = {}; - deviceId_buf.tag = deviceId_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.deviceId = deviceId_buf; - value.button = static_cast(valueDeserializer.readInt32()); - value.action = static_cast(valueDeserializer.readInt32()); - 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()); - 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_NativePointer ptr = valueDeserializer.readPointer(); + return { ptr }; } Ark_AccessibilityHoverEvent readAccessibilityHoverEvent() { - Ark_AccessibilityHoverEvent value = {}; Deserializer& valueDeserializer = *this; - value.target = valueDeserializer.readEventTarget(); - value.timestamp = static_cast(valueDeserializer.readNumber()); - value.source = static_cast(valueDeserializer.readInt32()); - const auto axisHorizontal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number axisHorizontal_buf = {}; - axisHorizontal_buf.tag = axisHorizontal_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.axisHorizontal = axisHorizontal_buf; - const auto axisVertical_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number axisVertical_buf = {}; - axisVertical_buf.tag = axisVertical_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.axisVertical = axisVertical_buf; - value.pressure = static_cast(valueDeserializer.readNumber()); - value.tiltX = static_cast(valueDeserializer.readNumber()); - value.tiltY = static_cast(valueDeserializer.readNumber()); - value.sourceTool = static_cast(valueDeserializer.readInt32()); - const auto deviceId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number deviceId_buf = {}; - deviceId_buf.tag = deviceId_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.deviceId = deviceId_buf; - value.type = static_cast(valueDeserializer.readInt32()); - value.x = static_cast(valueDeserializer.readNumber()); - value.y = 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()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return { ptr }; } Ark_HoverEvent readHoverEvent() { - Ark_HoverEvent value = {}; Deserializer& valueDeserializer = *this; - value.target = valueDeserializer.readEventTarget(); - value.timestamp = static_cast(valueDeserializer.readNumber()); - value.source = static_cast(valueDeserializer.readInt32()); - const auto axisHorizontal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number axisHorizontal_buf = {}; - axisHorizontal_buf.tag = axisHorizontal_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (axisHorizontal_buf_runtimeType)) - { - axisHorizontal_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.axisHorizontal = axisHorizontal_buf; - const auto axisVertical_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number axisVertical_buf = {}; - axisVertical_buf.tag = axisVertical_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (axisVertical_buf_runtimeType)) - { - axisVertical_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.axisVertical = axisVertical_buf; - value.pressure = static_cast(valueDeserializer.readNumber()); - value.tiltX = static_cast(valueDeserializer.readNumber()); - value.tiltY = static_cast(valueDeserializer.readNumber()); - value.sourceTool = static_cast(valueDeserializer.readInt32()); - const auto deviceId_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number deviceId_buf = {}; - deviceId_buf.tag = deviceId_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (deviceId_buf_runtimeType)) - { - deviceId_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.deviceId = deviceId_buf; - 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_NativePointer ptr = valueDeserializer.readPointer(); + return { ptr }; } Ark_OutlineOptions readOutlineOptions() { @@ -90342,8 +90068,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_EdgeOutlineWidths_Dimension width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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_EdgeOutlineWidths_Dimension width_buf_ = {}; @@ -90353,32 +90079,32 @@ class Deserializer : public DeserializerBase { Ark_EdgeOutlineWidths width_buf__u = {}; const auto width_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf__u_top_buf = {}; - width_buf__u_top_buf.tag = width_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf__u_top_buf_runtimeType)) + 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)) { width_buf__u_top_buf.value = valueDeserializer.readLength(); } width_buf__u.top = width_buf__u_top_buf; const auto width_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf__u_right_buf = {}; - width_buf__u_right_buf.tag = width_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf__u_right_buf_runtimeType)) + 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)) { width_buf__u_right_buf.value = valueDeserializer.readLength(); } width_buf__u.right = width_buf__u_right_buf; const auto width_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf__u_bottom_buf = {}; - width_buf__u_bottom_buf.tag = width_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf__u_bottom_buf_runtimeType)) + 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)) { width_buf__u_bottom_buf.value = valueDeserializer.readLength(); } width_buf__u.bottom = width_buf__u_bottom_buf; const auto width_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf__u_left_buf = {}; - width_buf__u_left_buf.tag = width_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf__u_left_buf_runtimeType)) + 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)) { width_buf__u_left_buf.value = valueDeserializer.readLength(); } @@ -90397,8 +90123,8 @@ class Deserializer : public DeserializerBase { value.width = width_buf; const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_EdgeColors_ResourceColor_LocalizedEdgeColors color_buf = {}; - color_buf.tag = color_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + 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_EdgeColors_ResourceColor_LocalizedEdgeColors color_buf_ = {}; @@ -90408,8 +90134,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf__u_top_buf_runtimeType)) + 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_ = {}; @@ -90438,8 +90164,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf__u_right_buf_runtimeType)) + 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_ = {}; @@ -90468,8 +90194,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf__u_bottom_buf_runtimeType)) + 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_ = {}; @@ -90498,8 +90224,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf__u_left_buf_runtimeType)) + 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_ = {}; @@ -90566,8 +90292,8 @@ class Deserializer : public DeserializerBase { value.color = color_buf; const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_OutlineRadiuses_Dimension radius_buf = {}; - radius_buf.tag = radius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) + 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_OutlineRadiuses_Dimension radius_buf_ = {}; @@ -90577,32 +90303,32 @@ class Deserializer : public DeserializerBase { Ark_OutlineRadiuses radius_buf__u = {}; const auto radius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length radius_buf__u_topLeft_buf = {}; - radius_buf__u_topLeft_buf.tag = radius_buf__u_topLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf__u_topLeft_buf_runtimeType)) + 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)) { radius_buf__u_topLeft_buf.value = valueDeserializer.readLength(); } radius_buf__u.topLeft = radius_buf__u_topLeft_buf; const auto radius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length radius_buf__u_topRight_buf = {}; - radius_buf__u_topRight_buf.tag = radius_buf__u_topRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf__u_topRight_buf_runtimeType)) + 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)) { radius_buf__u_topRight_buf.value = valueDeserializer.readLength(); } radius_buf__u.topRight = radius_buf__u_topRight_buf; const auto radius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length radius_buf__u_bottomLeft_buf = {}; - radius_buf__u_bottomLeft_buf.tag = radius_buf__u_bottomLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf__u_bottomLeft_buf_runtimeType)) + 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)) { radius_buf__u_bottomLeft_buf.value = valueDeserializer.readLength(); } radius_buf__u.bottomLeft = radius_buf__u_bottomLeft_buf; const auto radius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length radius_buf__u_bottomRight_buf = {}; - radius_buf__u_bottomRight_buf.tag = radius_buf__u_bottomRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf__u_bottomRight_buf_runtimeType)) + 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)) { radius_buf__u_bottomRight_buf.value = valueDeserializer.readLength(); } @@ -90621,8 +90347,8 @@ class Deserializer : public DeserializerBase { value.radius = radius_buf; const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_EdgeOutlineStyles_OutlineStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + 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 style_buf__selector = valueDeserializer.readInt8(); Ark_Union_EdgeOutlineStyles_OutlineStyle style_buf_ = {}; @@ -90632,32 +90358,32 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf__u_top_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf__u_right_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf__u_bottom_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf__u_left_buf_runtimeType)) + 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()); } @@ -90682,8 +90408,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto slice_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths slice_buf = {}; - slice_buf.tag = slice_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (slice_buf_runtimeType)) + slice_buf.tag = slice_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (slice_buf_runtimeType)) { const Ark_Int8 slice_buf__selector = valueDeserializer.readInt8(); Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths slice_buf_ = {}; @@ -90697,32 +90423,32 @@ class Deserializer : public DeserializerBase { Ark_EdgeWidths slice_buf__u = {}; const auto slice_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length slice_buf__u_top_buf = {}; - slice_buf__u_top_buf.tag = slice_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (slice_buf__u_top_buf_runtimeType)) + 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)) { slice_buf__u_top_buf.value = valueDeserializer.readLength(); } slice_buf__u.top = slice_buf__u_top_buf; const auto slice_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length slice_buf__u_right_buf = {}; - slice_buf__u_right_buf.tag = slice_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (slice_buf__u_right_buf_runtimeType)) + 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)) { slice_buf__u_right_buf.value = valueDeserializer.readLength(); } slice_buf__u.right = slice_buf__u_right_buf; const auto slice_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length slice_buf__u_bottom_buf = {}; - slice_buf__u_bottom_buf.tag = slice_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (slice_buf__u_bottom_buf_runtimeType)) + 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)) { slice_buf__u_bottom_buf.value = valueDeserializer.readLength(); } slice_buf__u.bottom = slice_buf__u_bottom_buf; const auto slice_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length slice_buf__u_left_buf = {}; - slice_buf__u_left_buf.tag = slice_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (slice_buf__u_left_buf_runtimeType)) + 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)) { slice_buf__u_left_buf.value = valueDeserializer.readLength(); } @@ -90741,16 +90467,16 @@ class Deserializer : public DeserializerBase { value.slice = slice_buf; const auto repeat_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_RepeatMode repeat_buf = {}; - repeat_buf.tag = repeat_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (repeat_buf_runtimeType)) + 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; const auto source_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_String_Resource_LinearGradient_common source_buf = {}; - source_buf.tag = source_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (source_buf_runtimeType)) + source_buf.tag = source_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (source_buf_runtimeType)) { const Ark_Int8 source_buf__selector = valueDeserializer.readInt8(); Ark_Union_String_Resource_LinearGradient_common source_buf_ = {}; @@ -90775,8 +90501,8 @@ class Deserializer : public DeserializerBase { value.source = source_buf; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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_Length_EdgeWidths_LocalizedEdgeWidths width_buf_ = {}; @@ -90790,32 +90516,32 @@ class Deserializer : public DeserializerBase { Ark_EdgeWidths width_buf__u = {}; const auto width_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf__u_top_buf = {}; - width_buf__u_top_buf.tag = width_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf__u_top_buf_runtimeType)) + 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)) { width_buf__u_top_buf.value = valueDeserializer.readLength(); } width_buf__u.top = width_buf__u_top_buf; const auto width_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf__u_right_buf = {}; - width_buf__u_right_buf.tag = width_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf__u_right_buf_runtimeType)) + 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)) { width_buf__u_right_buf.value = valueDeserializer.readLength(); } width_buf__u.right = width_buf__u_right_buf; const auto width_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf__u_bottom_buf = {}; - width_buf__u_bottom_buf.tag = width_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf__u_bottom_buf_runtimeType)) + 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)) { width_buf__u_bottom_buf.value = valueDeserializer.readLength(); } width_buf__u.bottom = width_buf__u_bottom_buf; const auto width_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf__u_left_buf = {}; - width_buf__u_left_buf.tag = width_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf__u_left_buf_runtimeType)) + 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)) { width_buf__u_left_buf.value = valueDeserializer.readLength(); } @@ -90834,8 +90560,8 @@ class Deserializer : public DeserializerBase { value.width = width_buf; const auto outset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Length_EdgeWidths_LocalizedEdgeWidths outset_buf = {}; - outset_buf.tag = outset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (outset_buf_runtimeType)) + outset_buf.tag = outset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (outset_buf_runtimeType)) { const Ark_Int8 outset_buf__selector = valueDeserializer.readInt8(); Ark_Union_Length_EdgeWidths_LocalizedEdgeWidths outset_buf_ = {}; @@ -90849,32 +90575,32 @@ class Deserializer : public DeserializerBase { Ark_EdgeWidths outset_buf__u = {}; const auto outset_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length outset_buf__u_top_buf = {}; - outset_buf__u_top_buf.tag = outset_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (outset_buf__u_top_buf_runtimeType)) + 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)) { outset_buf__u_top_buf.value = valueDeserializer.readLength(); } outset_buf__u.top = outset_buf__u_top_buf; const auto outset_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length outset_buf__u_right_buf = {}; - outset_buf__u_right_buf.tag = outset_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (outset_buf__u_right_buf_runtimeType)) + 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)) { outset_buf__u_right_buf.value = valueDeserializer.readLength(); } outset_buf__u.right = outset_buf__u_right_buf; const auto outset_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length outset_buf__u_bottom_buf = {}; - outset_buf__u_bottom_buf.tag = outset_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (outset_buf__u_bottom_buf_runtimeType)) + 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)) { outset_buf__u_bottom_buf.value = valueDeserializer.readLength(); } outset_buf__u.bottom = outset_buf__u_bottom_buf; const auto outset_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length outset_buf__u_left_buf = {}; - outset_buf__u_left_buf.tag = outset_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (outset_buf__u_left_buf_runtimeType)) + 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)) { outset_buf__u_left_buf.value = valueDeserializer.readLength(); } @@ -90893,8 +90619,8 @@ class Deserializer : public DeserializerBase { value.outset = outset_buf; const auto fill_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean fill_buf = {}; - fill_buf.tag = fill_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fill_buf_runtimeType)) + 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(); } @@ -90907,8 +90633,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_EdgeWidths_Length_LocalizedEdgeWidths width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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_EdgeWidths_Length_LocalizedEdgeWidths width_buf_ = {}; @@ -90918,32 +90644,32 @@ class Deserializer : public DeserializerBase { Ark_EdgeWidths width_buf__u = {}; const auto width_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf__u_top_buf = {}; - width_buf__u_top_buf.tag = width_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf__u_top_buf_runtimeType)) + 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)) { width_buf__u_top_buf.value = valueDeserializer.readLength(); } width_buf__u.top = width_buf__u_top_buf; const auto width_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf__u_right_buf = {}; - width_buf__u_right_buf.tag = width_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf__u_right_buf_runtimeType)) + 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)) { width_buf__u_right_buf.value = valueDeserializer.readLength(); } width_buf__u.right = width_buf__u_right_buf; const auto width_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf__u_bottom_buf = {}; - width_buf__u_bottom_buf.tag = width_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf__u_bottom_buf_runtimeType)) + 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)) { width_buf__u_bottom_buf.value = valueDeserializer.readLength(); } width_buf__u.bottom = width_buf__u_bottom_buf; const auto width_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length width_buf__u_left_buf = {}; - width_buf__u_left_buf.tag = width_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf__u_left_buf_runtimeType)) + 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)) { width_buf__u_left_buf.value = valueDeserializer.readLength(); } @@ -90966,8 +90692,8 @@ class Deserializer : public DeserializerBase { value.width = width_buf; const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_EdgeColors_ResourceColor_LocalizedEdgeColors color_buf = {}; - color_buf.tag = color_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + 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_EdgeColors_ResourceColor_LocalizedEdgeColors color_buf_ = {}; @@ -90977,8 +90703,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf__u_top_buf_runtimeType)) + 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_ = {}; @@ -91007,8 +90733,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf__u_right_buf_runtimeType)) + 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_ = {}; @@ -91037,8 +90763,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf__u_bottom_buf_runtimeType)) + 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_ = {}; @@ -91067,8 +90793,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf__u_left_buf_runtimeType)) + 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_ = {}; @@ -91135,8 +90861,8 @@ class Deserializer : public DeserializerBase { value.color = color_buf; const auto radius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_BorderRadiuses_Length_LocalizedBorderRadiuses radius_buf = {}; - radius_buf.tag = radius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf_runtimeType)) + 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_BorderRadiuses_Length_LocalizedBorderRadiuses radius_buf_ = {}; @@ -91146,32 +90872,32 @@ class Deserializer : public DeserializerBase { Ark_BorderRadiuses radius_buf__u = {}; const auto radius_buf__u_topLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length radius_buf__u_topLeft_buf = {}; - radius_buf__u_topLeft_buf.tag = radius_buf__u_topLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf__u_topLeft_buf_runtimeType)) + 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)) { radius_buf__u_topLeft_buf.value = valueDeserializer.readLength(); } radius_buf__u.topLeft = radius_buf__u_topLeft_buf; const auto radius_buf__u_topRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length radius_buf__u_topRight_buf = {}; - radius_buf__u_topRight_buf.tag = radius_buf__u_topRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf__u_topRight_buf_runtimeType)) + 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)) { radius_buf__u_topRight_buf.value = valueDeserializer.readLength(); } radius_buf__u.topRight = radius_buf__u_topRight_buf; const auto radius_buf__u_bottomLeft_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length radius_buf__u_bottomLeft_buf = {}; - radius_buf__u_bottomLeft_buf.tag = radius_buf__u_bottomLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf__u_bottomLeft_buf_runtimeType)) + 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)) { radius_buf__u_bottomLeft_buf.value = valueDeserializer.readLength(); } radius_buf__u.bottomLeft = radius_buf__u_bottomLeft_buf; const auto radius_buf__u_bottomRight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length radius_buf__u_bottomRight_buf = {}; - radius_buf__u_bottomRight_buf.tag = radius_buf__u_bottomRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (radius_buf__u_bottomRight_buf_runtimeType)) + 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)) { radius_buf__u_bottomRight_buf.value = valueDeserializer.readLength(); } @@ -91194,8 +90920,8 @@ class Deserializer : public DeserializerBase { value.radius = radius_buf; const auto style_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_EdgeStyles_BorderStyle style_buf = {}; - style_buf.tag = style_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + 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 style_buf__selector = valueDeserializer.readInt8(); Ark_Union_EdgeStyles_BorderStyle style_buf_ = {}; @@ -91205,32 +90931,32 @@ class Deserializer : public DeserializerBase { Ark_EdgeStyles style_buf__u = {}; const auto style_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BorderStyle style_buf__u_top_buf = {}; - style_buf__u_top_buf.tag = style_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf__u_top_buf_runtimeType)) + 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_BorderStyle style_buf__u_right_buf = {}; - style_buf__u_right_buf.tag = style_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf__u_right_buf_runtimeType)) + 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_BorderStyle style_buf__u_bottom_buf = {}; - style_buf__u_bottom_buf.tag = style_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf__u_bottom_buf_runtimeType)) + 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_BorderStyle style_buf__u_left_buf = {}; - style_buf__u_left_buf.tag = style_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf__u_left_buf_runtimeType)) + 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()); } @@ -91249,8 +90975,8 @@ class Deserializer : public DeserializerBase { value.style = style_buf; const auto dashGap_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths dashGap_buf = {}; - dashGap_buf.tag = dashGap_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dashGap_buf_runtimeType)) + dashGap_buf.tag = dashGap_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dashGap_buf_runtimeType)) { const Ark_Int8 dashGap_buf__selector = valueDeserializer.readInt8(); Ark_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths dashGap_buf_ = {}; @@ -91260,32 +90986,32 @@ class Deserializer : public DeserializerBase { Ark_EdgeWidths dashGap_buf__u = {}; const auto dashGap_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length dashGap_buf__u_top_buf = {}; - dashGap_buf__u_top_buf.tag = dashGap_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dashGap_buf__u_top_buf_runtimeType)) + 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)) { dashGap_buf__u_top_buf.value = valueDeserializer.readLength(); } dashGap_buf__u.top = dashGap_buf__u_top_buf; const auto dashGap_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length dashGap_buf__u_right_buf = {}; - dashGap_buf__u_right_buf.tag = dashGap_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dashGap_buf__u_right_buf_runtimeType)) + 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)) { dashGap_buf__u_right_buf.value = valueDeserializer.readLength(); } dashGap_buf__u.right = dashGap_buf__u_right_buf; const auto dashGap_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length dashGap_buf__u_bottom_buf = {}; - dashGap_buf__u_bottom_buf.tag = dashGap_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dashGap_buf__u_bottom_buf_runtimeType)) + 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)) { dashGap_buf__u_bottom_buf.value = valueDeserializer.readLength(); } dashGap_buf__u.bottom = dashGap_buf__u_bottom_buf; const auto dashGap_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length dashGap_buf__u_left_buf = {}; - dashGap_buf__u_left_buf.tag = dashGap_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dashGap_buf__u_left_buf_runtimeType)) + 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)) { dashGap_buf__u_left_buf.value = valueDeserializer.readLength(); } @@ -91308,8 +91034,8 @@ class Deserializer : public DeserializerBase { value.dashGap = dashGap_buf; const auto dashWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths dashWidth_buf = {}; - dashWidth_buf.tag = dashWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dashWidth_buf_runtimeType)) + dashWidth_buf.tag = dashWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (dashWidth_buf_runtimeType)) { const Ark_Int8 dashWidth_buf__selector = valueDeserializer.readInt8(); Ark_Union_EdgeWidths_LengthMetrics_LocalizedEdgeWidths dashWidth_buf_ = {}; @@ -91319,32 +91045,32 @@ class Deserializer : public DeserializerBase { Ark_EdgeWidths dashWidth_buf__u = {}; const auto dashWidth_buf__u_top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length dashWidth_buf__u_top_buf = {}; - dashWidth_buf__u_top_buf.tag = dashWidth_buf__u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dashWidth_buf__u_top_buf_runtimeType)) + 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)) { dashWidth_buf__u_top_buf.value = valueDeserializer.readLength(); } dashWidth_buf__u.top = dashWidth_buf__u_top_buf; const auto dashWidth_buf__u_right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length dashWidth_buf__u_right_buf = {}; - dashWidth_buf__u_right_buf.tag = dashWidth_buf__u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dashWidth_buf__u_right_buf_runtimeType)) + 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)) { dashWidth_buf__u_right_buf.value = valueDeserializer.readLength(); } dashWidth_buf__u.right = dashWidth_buf__u_right_buf; const auto dashWidth_buf__u_bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length dashWidth_buf__u_bottom_buf = {}; - dashWidth_buf__u_bottom_buf.tag = dashWidth_buf__u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dashWidth_buf__u_bottom_buf_runtimeType)) + 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)) { dashWidth_buf__u_bottom_buf.value = valueDeserializer.readLength(); } dashWidth_buf__u.bottom = dashWidth_buf__u_bottom_buf; const auto dashWidth_buf__u_left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length dashWidth_buf__u_left_buf = {}; - dashWidth_buf__u_left_buf.tag = dashWidth_buf__u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dashWidth_buf__u_left_buf_runtimeType)) + 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)) { dashWidth_buf__u_left_buf.value = valueDeserializer.readLength(); } @@ -91394,38 +91120,38 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto slice_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_EdgeWidths slice_buf = {}; - slice_buf.tag = slice_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (slice_buf_runtimeType)) + 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_Length slice_buf__top_buf = {}; - slice_buf__top_buf.tag = slice_buf__top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (slice_buf__top_buf_runtimeType)) + 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)) { slice_buf__top_buf.value = valueDeserializer.readLength(); } slice_buf_.top = slice_buf__top_buf; const auto slice_buf__right_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length slice_buf__right_buf = {}; - slice_buf__right_buf.tag = slice_buf__right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (slice_buf__right_buf_runtimeType)) + 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)) { slice_buf__right_buf.value = valueDeserializer.readLength(); } slice_buf_.right = slice_buf__right_buf; const auto slice_buf__bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length slice_buf__bottom_buf = {}; - slice_buf__bottom_buf.tag = slice_buf__bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (slice_buf__bottom_buf_runtimeType)) + 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)) { slice_buf__bottom_buf.value = valueDeserializer.readLength(); } slice_buf_.bottom = slice_buf__bottom_buf; const auto slice_buf__left_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length slice_buf__left_buf = {}; - slice_buf__left_buf.tag = slice_buf__left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (slice_buf__left_buf_runtimeType)) + 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)) { slice_buf__left_buf.value = valueDeserializer.readLength(); } @@ -91435,8 +91161,8 @@ class Deserializer : public DeserializerBase { value.slice = slice_buf; const auto lattice_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_DrawingLattice lattice_buf = {}; - lattice_buf.tag = lattice_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (lattice_buf_runtimeType)) + 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 = valueDeserializer.readDrawingLattice(); } @@ -91450,24 +91176,24 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (saturation_buf_runtimeType)) + 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()); } value.saturation = saturation_buf; const auto brightness_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number brightness_buf = {}; - brightness_buf.tag = brightness_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (brightness_buf_runtimeType)) + brightness_buf.tag = brightness_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (brightness_buf_runtimeType)) { brightness_buf.value = static_cast(valueDeserializer.readNumber()); } value.brightness = brightness_buf; const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor color_buf = {}; - color_buf.tag = color_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (color_buf_runtimeType)) + 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_ = {}; @@ -91496,32 +91222,32 @@ class Deserializer : public DeserializerBase { value.color = color_buf; const auto adaptiveColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_AdaptiveColor adaptiveColor_buf = {}; - adaptiveColor_buf.tag = adaptiveColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (adaptiveColor_buf_runtimeType)) + 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 blurOptions_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_BlurOptions blurOptions_buf = {}; - blurOptions_buf.tag = blurOptions_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (blurOptions_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (policy_buf_runtimeType)) + 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()); } value.policy = policy_buf; const auto inactiveColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor inactiveColor_buf = {}; - inactiveColor_buf.tag = inactiveColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (inactiveColor_buf_runtimeType)) + 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_ = {}; @@ -91556,32 +91282,32 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PixelRoundCalcPolicy start_buf = {}; - start_buf.tag = start_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (start_buf_runtimeType)) + 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.readInt32()); } value.start = start_buf; const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PixelRoundCalcPolicy top_buf = {}; - top_buf.tag = top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (top_buf_runtimeType)) + 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 end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PixelRoundCalcPolicy end_buf = {}; - end_buf.tag = end_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (end_buf_runtimeType)) + 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.readInt32()); } value.end = end_buf; const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_PixelRoundCalcPolicy bottom_buf = {}; - bottom_buf.tag = bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (bottom_buf_runtimeType)) + 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()); } @@ -91594,16 +91320,16 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto horizontal_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number horizontal_buf = {}; - horizontal_buf.tag = horizontal_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (horizontal_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (vertical_buf_runtimeType)) + 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()); } @@ -91617,8 +91343,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (id_buf_runtimeType)) + 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()); } @@ -91645,62 +91371,78 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto minWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length minWidth_buf = {}; - minWidth_buf.tag = minWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (minWidth_buf_runtimeType)) + minWidth_buf.tag = minWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (minWidth_buf_runtimeType)) { minWidth_buf.value = valueDeserializer.readLength(); } value.minWidth = minWidth_buf; const auto maxWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length maxWidth_buf = {}; - maxWidth_buf.tag = maxWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (maxWidth_buf_runtimeType)) + maxWidth_buf.tag = maxWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (maxWidth_buf_runtimeType)) { maxWidth_buf.value = valueDeserializer.readLength(); } value.maxWidth = maxWidth_buf; const auto minHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length minHeight_buf = {}; - minHeight_buf.tag = minHeight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (minHeight_buf_runtimeType)) + minHeight_buf.tag = minHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (minHeight_buf_runtimeType)) { minHeight_buf.value = valueDeserializer.readLength(); } value.minHeight = minHeight_buf; const auto maxHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length maxHeight_buf = {}; - maxHeight_buf.tag = maxHeight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (maxHeight_buf_runtimeType)) + maxHeight_buf.tag = maxHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (maxHeight_buf_runtimeType)) { maxHeight_buf.value = valueDeserializer.readLength(); } value.maxHeight = maxHeight_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()); + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (lightSource_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (illuminated_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (bloom_buf_runtimeType)) + 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()); } @@ -91713,8 +91455,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto space_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_String_Number space_buf = {}; - space_buf.tag = space_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (space_buf_runtimeType)) + 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_ = {}; @@ -91741,8 +91483,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto width_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_String_Number width_buf = {}; - width_buf.tag = width_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (width_buf_runtimeType)) + 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_ = {}; @@ -91763,8 +91505,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (height_buf_runtimeType)) + 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_ = {}; @@ -91806,8 +91548,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto group_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String group_buf = {}; - group_buf.tag = group_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (group_buf_runtimeType)) + 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()); } @@ -91820,8 +91562,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto strokeColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor strokeColor_buf = {}; - strokeColor_buf.tag = strokeColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (strokeColor_buf_runtimeType)) + 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 strokeColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor strokeColor_buf_ = {}; @@ -91850,16 +91592,16 @@ class Deserializer : public DeserializerBase { value.strokeColor = strokeColor_buf; const auto size_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length size_buf = {}; - size_buf.tag = size_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) + size_buf.tag = size_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (size_buf_runtimeType)) { size_buf.value = valueDeserializer.readLength(); } value.size = size_buf; const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Length strokeWidth_buf = {}; - strokeWidth_buf.tag = strokeWidth_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (strokeWidth_buf_runtimeType)) + 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 = valueDeserializer.readLength(); } @@ -91872,24 +91614,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto name_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_String name_buf = {}; - name_buf.tag = name_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (name_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (group_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (indicatorBuilder_buf_runtimeType)) + 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))))}; } @@ -91902,8 +91644,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto antialias_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean antialias_buf = {}; - antialias_buf.tag = antialias_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (antialias_buf_runtimeType)) + antialias_buf.tag = antialias_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (antialias_buf_runtimeType)) { antialias_buf.value = valueDeserializer.readBoolean(); } @@ -91923,8 +91665,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto hintRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_Number_Resource hintRadius_buf = {}; - hintRadius_buf.tag = hintRadius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (hintRadius_buf_runtimeType)) + 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_ = {}; @@ -91945,8 +91687,8 @@ class Deserializer : public DeserializerBase { value.hintRadius = hintRadius_buf; const auto selected_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Date selected_buf = {}; - selected_buf.tag = selected_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (selected_buf_runtimeType)) + 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(); } @@ -91979,8 +91721,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto workDayMarkColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor workDayMarkColor_buf = {}; - workDayMarkColor_buf.tag = workDayMarkColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (workDayMarkColor_buf_runtimeType)) + workDayMarkColor_buf.tag = workDayMarkColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (workDayMarkColor_buf_runtimeType)) { const Ark_Int8 workDayMarkColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor workDayMarkColor_buf_ = {}; @@ -92009,8 +91751,8 @@ class Deserializer : public DeserializerBase { value.workDayMarkColor = workDayMarkColor_buf; const auto offDayMarkColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor offDayMarkColor_buf = {}; - offDayMarkColor_buf.tag = offDayMarkColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offDayMarkColor_buf_runtimeType)) + offDayMarkColor_buf.tag = offDayMarkColor_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (offDayMarkColor_buf_runtimeType)) { const Ark_Int8 offDayMarkColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor offDayMarkColor_buf_ = {}; @@ -92039,40 +91781,40 @@ class Deserializer : public DeserializerBase { value.offDayMarkColor = offDayMarkColor_buf; const auto workDayMarkSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number workDayMarkSize_buf = {}; - workDayMarkSize_buf.tag = workDayMarkSize_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (workDayMarkSize_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offDayMarkSize_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (workStateWidth_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (workStateHorizontalMovingDistance_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (workStateVerticalMovingDistance_buf_runtimeType)) + 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()); } @@ -92085,8 +91827,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto weekColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor weekColor_buf = {}; - weekColor_buf.tag = weekColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (weekColor_buf_runtimeType)) + 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 weekColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor weekColor_buf_ = {}; @@ -92115,8 +91857,8 @@ class Deserializer : public DeserializerBase { value.weekColor = weekColor_buf; const auto weekendDayColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor weekendDayColor_buf = {}; - weekendDayColor_buf.tag = weekendDayColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (weekendDayColor_buf_runtimeType)) + 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 weekendDayColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor weekendDayColor_buf_ = {}; @@ -92145,8 +91887,8 @@ class Deserializer : public DeserializerBase { value.weekendDayColor = weekendDayColor_buf; const auto weekendLunarColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor weekendLunarColor_buf = {}; - weekendLunarColor_buf.tag = weekendLunarColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (weekendLunarColor_buf_runtimeType)) + 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 weekendLunarColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor weekendLunarColor_buf_ = {}; @@ -92175,32 +91917,32 @@ class Deserializer : public DeserializerBase { value.weekendLunarColor = weekendLunarColor_buf; const auto weekFontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number weekFontSize_buf = {}; - weekFontSize_buf.tag = weekFontSize_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (weekFontSize_buf_runtimeType)) + weekFontSize_buf.tag = weekFontSize_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (weekFontSize_buf_runtimeType)) { weekFontSize_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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (weekHeight_buf_runtimeType)) + weekHeight_buf.tag = weekHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (weekHeight_buf_runtimeType)) { weekHeight_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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (weekWidth_buf_runtimeType)) + weekWidth_buf.tag = weekWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (weekWidth_buf_runtimeType)) { weekWidth_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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (weekAndDayRowSpace_buf_runtimeType)) + weekAndDayRowSpace_buf.tag = weekAndDayRowSpace_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (weekAndDayRowSpace_buf_runtimeType)) { weekAndDayRowSpace_buf.value = static_cast(valueDeserializer.readNumber()); } @@ -92213,8 +91955,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto focusedDayColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor focusedDayColor_buf = {}; - focusedDayColor_buf.tag = focusedDayColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (focusedDayColor_buf_runtimeType)) + 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_ = {}; @@ -92243,8 +91985,8 @@ class Deserializer : public DeserializerBase { value.focusedDayColor = focusedDayColor_buf; const auto focusedLunarColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor focusedLunarColor_buf = {}; - focusedLunarColor_buf.tag = focusedLunarColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (focusedLunarColor_buf_runtimeType)) + 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 focusedLunarColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor focusedLunarColor_buf_ = {}; @@ -92273,8 +92015,8 @@ class Deserializer : public DeserializerBase { value.focusedLunarColor = focusedLunarColor_buf; const auto focusedAreaBackgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor focusedAreaBackgroundColor_buf = {}; - focusedAreaBackgroundColor_buf.tag = focusedAreaBackgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (focusedAreaBackgroundColor_buf_runtimeType)) + 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_ = {}; @@ -92303,8 +92045,8 @@ class Deserializer : public DeserializerBase { value.focusedAreaBackgroundColor = focusedAreaBackgroundColor_buf; const auto focusedAreaRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number focusedAreaRadius_buf = {}; - focusedAreaRadius_buf.tag = focusedAreaRadius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (focusedAreaRadius_buf_runtimeType)) + focusedAreaRadius_buf.tag = focusedAreaRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (focusedAreaRadius_buf_runtimeType)) { focusedAreaRadius_buf.value = static_cast(valueDeserializer.readNumber()); } @@ -92317,8 +92059,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto nonCurrentMonthDayColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor nonCurrentMonthDayColor_buf = {}; - nonCurrentMonthDayColor_buf.tag = nonCurrentMonthDayColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (nonCurrentMonthDayColor_buf_runtimeType)) + 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 nonCurrentMonthDayColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor nonCurrentMonthDayColor_buf_ = {}; @@ -92347,8 +92089,8 @@ class Deserializer : public DeserializerBase { value.nonCurrentMonthDayColor = nonCurrentMonthDayColor_buf; const auto nonCurrentMonthLunarColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor nonCurrentMonthLunarColor_buf = {}; - nonCurrentMonthLunarColor_buf.tag = nonCurrentMonthLunarColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (nonCurrentMonthLunarColor_buf_runtimeType)) + 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 nonCurrentMonthLunarColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor nonCurrentMonthLunarColor_buf_ = {}; @@ -92377,8 +92119,8 @@ class Deserializer : public DeserializerBase { value.nonCurrentMonthLunarColor = nonCurrentMonthLunarColor_buf; const auto nonCurrentMonthWorkDayMarkColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor nonCurrentMonthWorkDayMarkColor_buf = {}; - nonCurrentMonthWorkDayMarkColor_buf.tag = nonCurrentMonthWorkDayMarkColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (nonCurrentMonthWorkDayMarkColor_buf_runtimeType)) + 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 nonCurrentMonthWorkDayMarkColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor nonCurrentMonthWorkDayMarkColor_buf_ = {}; @@ -92407,8 +92149,8 @@ class Deserializer : public DeserializerBase { value.nonCurrentMonthWorkDayMarkColor = nonCurrentMonthWorkDayMarkColor_buf; const auto nonCurrentMonthOffDayMarkColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor nonCurrentMonthOffDayMarkColor_buf = {}; - nonCurrentMonthOffDayMarkColor_buf.tag = nonCurrentMonthOffDayMarkColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (nonCurrentMonthOffDayMarkColor_buf_runtimeType)) + 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 nonCurrentMonthOffDayMarkColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor nonCurrentMonthOffDayMarkColor_buf_ = {}; @@ -92443,8 +92185,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto dayColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor dayColor_buf = {}; - dayColor_buf.tag = dayColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dayColor_buf_runtimeType)) + 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_ = {}; @@ -92473,8 +92215,8 @@ class Deserializer : public DeserializerBase { value.dayColor = dayColor_buf; const auto lunarColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor lunarColor_buf = {}; - lunarColor_buf.tag = lunarColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (lunarColor_buf_runtimeType)) + 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 lunarColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor lunarColor_buf_ = {}; @@ -92503,8 +92245,8 @@ class Deserializer : public DeserializerBase { value.lunarColor = lunarColor_buf; const auto markLunarColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor markLunarColor_buf = {}; - markLunarColor_buf.tag = markLunarColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (markLunarColor_buf_runtimeType)) + 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 markLunarColor_buf__selector = valueDeserializer.readInt8(); Ark_ResourceColor markLunarColor_buf_ = {}; @@ -92533,160 +92275,160 @@ class Deserializer : public DeserializerBase { value.markLunarColor = markLunarColor_buf; const auto dayFontSize_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number dayFontSize_buf = {}; - dayFontSize_buf.tag = dayFontSize_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dayFontSize_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (lunarDayFontSize_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dayHeight_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dayWidth_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (gregorianCalendarHeight_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dayYAxisOffset_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (lunarDayYAxisOffset_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (underscoreXAxisOffset_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (underscoreYAxisOffset_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (scheduleMarkerXAxisOffset_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (scheduleMarkerYAxisOffset_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (colSpace_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dailyFiveRowSpace_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (dailySixRowSpace_buf_runtimeType)) + 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()); } value.dailySixRowSpace = dailySixRowSpace_buf; const auto lunarHeight_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number lunarHeight_buf = {}; - lunarHeight_buf.tag = lunarHeight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (lunarHeight_buf_runtimeType)) + lunarHeight_buf.tag = lunarHeight_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (lunarHeight_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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (underscoreWidth_buf_runtimeType)) + underscoreWidth_buf.tag = underscoreWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (underscoreWidth_buf_runtimeType)) { underscoreWidth_buf.value = static_cast(valueDeserializer.readNumber()); } value.underscoreWidth = underscoreWidth_buf; const auto underscoreLength_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number underscoreLength_buf = {}; - underscoreLength_buf.tag = underscoreLength_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (underscoreLength_buf_runtimeType)) + underscoreLength_buf.tag = underscoreLength_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (underscoreLength_buf_runtimeType)) { underscoreLength_buf.value = static_cast(valueDeserializer.readNumber()); } value.underscoreLength = underscoreLength_buf; const auto scheduleMarkerRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number scheduleMarkerRadius_buf = {}; - scheduleMarkerRadius_buf.tag = scheduleMarkerRadius_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (scheduleMarkerRadius_buf_runtimeType)) + scheduleMarkerRadius_buf.tag = scheduleMarkerRadius_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scheduleMarkerRadius_buf_runtimeType)) { scheduleMarkerRadius_buf.value = static_cast(valueDeserializer.readNumber()); } value.scheduleMarkerRadius = scheduleMarkerRadius_buf; const auto boundaryRowOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number boundaryRowOffset_buf = {}; - boundaryRowOffset_buf.tag = boundaryRowOffset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (boundaryRowOffset_buf_runtimeType)) + boundaryRowOffset_buf.tag = boundaryRowOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (boundaryRowOffset_buf_runtimeType)) { boundaryRowOffset_buf.value = static_cast(valueDeserializer.readNumber()); } value.boundaryRowOffset = boundaryRowOffset_buf; const auto boundaryColOffset_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number boundaryColOffset_buf = {}; - boundaryColOffset_buf.tag = boundaryColOffset_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (boundaryColOffset_buf_runtimeType)) + boundaryColOffset_buf.tag = boundaryColOffset_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (boundaryColOffset_buf_runtimeType)) { boundaryColOffset_buf.value = static_cast(valueDeserializer.readNumber()); } @@ -92716,40 +92458,40 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto type_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ButtonType type_buf = {}; - type_buf.tag = type_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (type_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (stateEffect_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (buttonStyle_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (controlSize_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (role_buf_runtimeType)) + 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()); } @@ -92762,8 +92504,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto position_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_BadgePosition_Position position_buf = {}; - position_buf.tag = position_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (position_buf_runtimeType)) + position_buf.tag = position_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (position_buf_runtimeType)) { const Ark_Int8 position_buf__selector = valueDeserializer.readInt8(); Ark_Union_BadgePosition_Position position_buf_ = {}; @@ -92792,8 +92534,8 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto position_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Union_BadgePosition_Position position_buf = {}; - position_buf.tag = position_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (position_buf_runtimeType)) + position_buf.tag = position_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (position_buf_runtimeType)) { const Ark_Int8 position_buf__selector = valueDeserializer.readInt8(); Ark_Union_BadgePosition_Position position_buf_ = {}; @@ -92816,8 +92558,8 @@ class Deserializer : public DeserializerBase { value.count = static_cast(valueDeserializer.readNumber()); const auto maxCount_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Number maxCount_buf = {}; - maxCount_buf.tag = maxCount_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (maxCount_buf_runtimeType)) + maxCount_buf.tag = maxCount_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (maxCount_buf_runtimeType)) { maxCount_buf.value = static_cast(valueDeserializer.readNumber()); } @@ -92845,24 +92587,24 @@ class Deserializer : public DeserializerBase { Deserializer& valueDeserializer = *this; const auto enabled_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean enabled_buf = {}; - enabled_buf.tag = enabled_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enabled_buf_runtimeType)) + 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(); } value.enabled = enabled_buf; const auto defaultFocus_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_Boolean defaultFocus_buf = {}; - defaultFocus_buf.tag = defaultFocus_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (defaultFocus_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_buf_runtimeType)) + 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()); } @@ -92884,8 +92626,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fontColor_buf_runtimeType)) + 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_ = {}; @@ -92914,8 +92656,8 @@ class Deserializer : public DeserializerBase { value.fontColor = fontColor_buf; const auto backgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); Opt_ResourceColor backgroundColor_buf = {}; - backgroundColor_buf.tag = backgroundColor_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (backgroundColor_buf_runtimeType)) + 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_ = {}; @@ -92945,8 +92687,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (primary_buf_runtimeType)) + primary_buf.tag = primary_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (primary_buf_runtimeType)) { primary_buf.value = valueDeserializer.readBoolean(); } @@ -92982,8 +92724,8 @@ class Deserializer : public DeserializerBase { 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (icon_buf_runtimeType)) + 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_ = {}; diff --git a/arkoala/framework/native/src/generated/all_events.cc b/arkoala/framework/native/src/generated/all_events.cc index 0cf5e2c70..019af0056 100644 --- a/arkoala/framework/native/src/generated/all_events.cc +++ b/arkoala/framework/native/src/generated/all_events.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -696,10 +696,10 @@ namespace Generated { _eventBufferSerializer.writeInt32(KindCommonMethod_onDragStart); _eventBufferSerializer.writeInt32(nodeId); _eventBufferSerializer.writeDragEvent(event); - Ark_Int32 extraParams_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 extraParams_type = INTEROP_RUNTIME_UNDEFINED; extraParams_type = runtimeType(extraParams); _eventBufferSerializer.writeInt8(extraParams_type); - if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (extraParams_type)) { const auto extraParams_value = extraParams.value; _eventBufferSerializer.writeString(extraParams_value); } @@ -714,10 +714,10 @@ namespace Generated { _eventBufferSerializer.writeInt32(KindCommonMethod_onDragEnter); _eventBufferSerializer.writeInt32(nodeId); _eventBufferSerializer.writeDragEvent(event); - Ark_Int32 extraParams_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 extraParams_type = INTEROP_RUNTIME_UNDEFINED; extraParams_type = runtimeType(extraParams); _eventBufferSerializer.writeInt8(extraParams_type); - if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (extraParams_type)) { const auto extraParams_value = extraParams.value; _eventBufferSerializer.writeString(extraParams_value); } @@ -732,10 +732,10 @@ namespace Generated { _eventBufferSerializer.writeInt32(KindCommonMethod_onDragMove); _eventBufferSerializer.writeInt32(nodeId); _eventBufferSerializer.writeDragEvent(event); - Ark_Int32 extraParams_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 extraParams_type = INTEROP_RUNTIME_UNDEFINED; extraParams_type = runtimeType(extraParams); _eventBufferSerializer.writeInt8(extraParams_type); - if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (extraParams_type)) { const auto extraParams_value = extraParams.value; _eventBufferSerializer.writeString(extraParams_value); } @@ -750,10 +750,10 @@ namespace Generated { _eventBufferSerializer.writeInt32(KindCommonMethod_onDragLeave); _eventBufferSerializer.writeInt32(nodeId); _eventBufferSerializer.writeDragEvent(event); - Ark_Int32 extraParams_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 extraParams_type = INTEROP_RUNTIME_UNDEFINED; extraParams_type = runtimeType(extraParams); _eventBufferSerializer.writeInt8(extraParams_type); - if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (extraParams_type)) { const auto extraParams_value = extraParams.value; _eventBufferSerializer.writeString(extraParams_value); } @@ -768,10 +768,10 @@ namespace Generated { _eventBufferSerializer.writeInt32(KindCommonMethod_onDrop); _eventBufferSerializer.writeInt32(nodeId); _eventBufferSerializer.writeDragEvent(event); - Ark_Int32 extraParams_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 extraParams_type = INTEROP_RUNTIME_UNDEFINED; extraParams_type = runtimeType(extraParams); _eventBufferSerializer.writeInt8(extraParams_type); - if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (extraParams_type)) { const auto extraParams_value = extraParams.value; _eventBufferSerializer.writeString(extraParams_value); } @@ -786,10 +786,10 @@ namespace Generated { _eventBufferSerializer.writeInt32(KindCommonMethod_onDragEnd); _eventBufferSerializer.writeInt32(nodeId); _eventBufferSerializer.writeDragEvent(event); - Ark_Int32 extraParams_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 extraParams_type = INTEROP_RUNTIME_UNDEFINED; extraParams_type = runtimeType(extraParams); _eventBufferSerializer.writeInt8(extraParams_type); - if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (extraParams_type)) { const auto extraParams_value = extraParams.value; _eventBufferSerializer.writeString(extraParams_value); } @@ -962,15 +962,15 @@ namespace Generated { } namespace ScrollableCommonMethod { void onScrollImpl(Ark_Int32 nodeId, - const Ark_Number scrollOffset, - const Ark_ScrollState scrollState) + const Ark_Number first, + const Ark_Number last) { EventBuffer _eventBuffer; Serializer _eventBufferSerializer(_eventBuffer.buffer); _eventBufferSerializer.writeInt32(KindScrollableCommonMethod_onScroll); _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeNumber(scrollOffset); - _eventBufferSerializer.writeInt32(static_cast(scrollState)); + _eventBufferSerializer.writeNumber(first); + _eventBufferSerializer.writeNumber(last); sendEvent(&_eventBuffer); } void onReachStartImpl(Ark_Int32 nodeId) @@ -1233,15 +1233,15 @@ namespace Generated { sendEvent(&_eventBuffer); } void onScrollImpl(Ark_Int32 nodeId, - const Ark_Number scrollOffset, - const Ark_ScrollState scrollState) + const Ark_Number first, + const Ark_Number last) { EventBuffer _eventBuffer; Serializer _eventBufferSerializer(_eventBuffer.buffer); _eventBufferSerializer.writeInt32(KindGrid_onScroll); _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeNumber(scrollOffset); - _eventBufferSerializer.writeInt32(static_cast(scrollState)); + _eventBufferSerializer.writeNumber(first); + _eventBufferSerializer.writeNumber(last); sendEvent(&_eventBuffer); } void onReachStartImpl(Ark_Int32 nodeId) @@ -1321,10 +1321,10 @@ namespace Generated { Serializer _eventBufferSerializer(_eventBuffer.buffer); _eventBufferSerializer.writeInt32(KindImage_onComplete); _eventBufferSerializer.writeInt32(nodeId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); _eventBufferSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; const auto event_value_width = event_value.width; _eventBufferSerializer.writeNumber(event_value_width); @@ -1432,15 +1432,15 @@ namespace Generated { } namespace List { void onScrollImpl(Ark_Int32 nodeId, - const Ark_Number scrollOffset, - const Ark_ScrollState scrollState) + const Ark_Number first, + const Ark_Number last) { EventBuffer _eventBuffer; Serializer _eventBufferSerializer(_eventBuffer.buffer); _eventBufferSerializer.writeInt32(KindList_onScroll); _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeNumber(scrollOffset); - _eventBufferSerializer.writeInt32(static_cast(scrollState)); + _eventBufferSerializer.writeNumber(first); + _eventBufferSerializer.writeNumber(last); sendEvent(&_eventBuffer); } void onScrollIndexImpl(Ark_Int32 nodeId, @@ -1968,10 +1968,10 @@ namespace Generated { Serializer _eventBufferSerializer(_eventBuffer.buffer); _eventBufferSerializer.writeInt32(KindRichEditor_onPaste); _eventBufferSerializer.writeInt32(nodeId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); _eventBufferSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; _eventBufferSerializer.writePasteEvent(event_value); } @@ -2092,15 +2092,15 @@ namespace Generated { } namespace Scroll { void onScrollImpl(Ark_Int32 nodeId, - const Ark_Number scrollOffset, - const Ark_ScrollState scrollState) + const Ark_Number first, + const Ark_Number last) { EventBuffer _eventBuffer; Serializer _eventBufferSerializer(_eventBuffer.buffer); _eventBufferSerializer.writeInt32(KindScroll_onScroll); _eventBufferSerializer.writeInt32(nodeId); - _eventBufferSerializer.writeNumber(scrollOffset); - _eventBufferSerializer.writeInt32(static_cast(scrollState)); + _eventBufferSerializer.writeNumber(first); + _eventBufferSerializer.writeNumber(last); sendEvent(&_eventBuffer); } void onScrollEdgeImpl(Ark_Int32 nodeId, @@ -2180,10 +2180,10 @@ namespace Generated { _eventBufferSerializer.writeInt32(KindSearch_onSubmit1); _eventBufferSerializer.writeInt32(nodeId); _eventBufferSerializer.writeString(searchContent); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); _eventBufferSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; _eventBufferSerializer.writeSubmitEvent(event_value); } @@ -2198,10 +2198,10 @@ namespace Generated { _eventBufferSerializer.writeInt32(KindSearch_onChange); _eventBufferSerializer.writeInt32(nodeId); _eventBufferSerializer.writeString(value); - Ark_Int32 previewText_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 previewText_type = INTEROP_RUNTIME_UNDEFINED; previewText_type = runtimeType(previewText); _eventBufferSerializer.writeInt8(previewText_type); - if ((ARK_RUNTIME_UNDEFINED) != (previewText_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (previewText_type)) { const auto previewText_value = previewText.value; _eventBufferSerializer.writePreviewText(previewText_value); } @@ -2626,10 +2626,10 @@ namespace Generated { _eventBufferSerializer.writeInt32(KindTextArea_onSubmit1); _eventBufferSerializer.writeInt32(nodeId); _eventBufferSerializer.writeInt32(static_cast(enterKeyType)); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); _eventBufferSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; _eventBufferSerializer.writeSubmitEvent(event_value); } @@ -2644,10 +2644,10 @@ namespace Generated { _eventBufferSerializer.writeInt32(KindTextArea_onChange); _eventBufferSerializer.writeInt32(nodeId); _eventBufferSerializer.writeString(value); - Ark_Int32 previewText_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 previewText_type = INTEROP_RUNTIME_UNDEFINED; previewText_type = runtimeType(previewText); _eventBufferSerializer.writeInt8(previewText_type); - if ((ARK_RUNTIME_UNDEFINED) != (previewText_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (previewText_type)) { const auto previewText_value = previewText.value; _eventBufferSerializer.writePreviewText(previewText_value); } @@ -2822,10 +2822,10 @@ namespace Generated { _eventBufferSerializer.writeInt32(KindTextInput_onChange); _eventBufferSerializer.writeInt32(nodeId); _eventBufferSerializer.writeString(value); - Ark_Int32 previewText_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 previewText_type = INTEROP_RUNTIME_UNDEFINED; previewText_type = runtimeType(previewText); _eventBufferSerializer.writeInt8(previewText_type); - if ((ARK_RUNTIME_UNDEFINED) != (previewText_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (previewText_type)) { const auto previewText_value = previewText.value; _eventBufferSerializer.writePreviewText(previewText_value); } @@ -2983,14 +2983,14 @@ namespace Generated { Serializer _eventBufferSerializer(_eventBuffer.buffer); _eventBufferSerializer.writeInt32(KindTextPicker_onChange); _eventBufferSerializer.writeInt32(nodeId); - Ark_Int32 value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_type = INTEROP_RUNTIME_UNDEFINED; value_type = value.selector; if (((value_type == 0))) { _eventBufferSerializer.writeInt8(0); const auto value_0 = value.value0; _eventBufferSerializer.writeString(value_0); } - else if (((value_type == 0))) { + else if (((value_type == 1))) { _eventBufferSerializer.writeInt8(1); const auto value_1 = value.value1; _eventBufferSerializer.writeInt32(value_1.length); @@ -2999,14 +2999,14 @@ namespace Generated { _eventBufferSerializer.writeString(value_1_element); } } - Ark_Int32 index_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 index_type = INTEROP_RUNTIME_UNDEFINED; index_type = index.selector; if (((index_type == 0))) { _eventBufferSerializer.writeInt8(0); const auto index_0 = index.value0; _eventBufferSerializer.writeNumber(index_0); } - else if (((index_type == 0))) { + else if (((index_type == 1))) { _eventBufferSerializer.writeInt8(1); const auto index_1 = index.value1; _eventBufferSerializer.writeInt32(index_1.length); @@ -3312,20 +3312,20 @@ namespace Generated { Serializer _eventBufferSerializer(_eventBuffer.buffer); _eventBufferSerializer.writeInt32(KindWeb_onUrlLoadIntercept); _eventBufferSerializer.writeInt32(nodeId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); _eventBufferSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; const auto event_value_data = event_value.data; - Ark_Int32 event_value_data_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_value_data_type = INTEROP_RUNTIME_UNDEFINED; event_value_data_type = event_value_data.selector; if (((event_value_data_type == 0))) { _eventBufferSerializer.writeInt8(0); const auto event_value_data_0 = event_value_data.value0; _eventBufferSerializer.writeString(event_value_data_0); } - else if (((event_value_data_type == 0))) { + else if (((event_value_data_type == 1))) { _eventBufferSerializer.writeInt8(1); const auto event_value_data_1 = event_value_data.value1; _eventBufferSerializer.writeWebResourceRequest(event_value_data_1); @@ -3340,10 +3340,10 @@ namespace Generated { Serializer _eventBufferSerializer(_eventBuffer.buffer); _eventBufferSerializer.writeInt32(KindWeb_onSslErrorReceive); _eventBufferSerializer.writeInt32(nodeId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); _eventBufferSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; const auto event_value_handler = event_value.handler; _eventBufferSerializer.writeFunction(event_value_handler); @@ -3369,10 +3369,10 @@ namespace Generated { Serializer _eventBufferSerializer(_eventBuffer.buffer); _eventBufferSerializer.writeInt32(KindWeb_onRenderExited1); _eventBufferSerializer.writeInt32(nodeId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); _eventBufferSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; const auto event_value_detail = event_value.detail; _eventBufferSerializer.writeCustomObject("Object", event_value_detail); @@ -3390,19 +3390,19 @@ namespace Generated { sendEvent(&_eventBuffer); } void onFileSelectorShowImpl(Ark_Int32 nodeId, - const Opt_Literal_Function_callback_Object_fileSelector event) + const Opt_Literal_Function_callback__Object_fileSelector event) { EventBuffer _eventBuffer; Serializer _eventBufferSerializer(_eventBuffer.buffer); _eventBufferSerializer.writeInt32(KindWeb_onFileSelectorShow); _eventBufferSerializer.writeInt32(nodeId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); _eventBufferSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; - const auto event_value_callback = event_value.callback; - _eventBufferSerializer.writeFunction(event_value_callback); + const auto event_value_callback_ = event_value.callback_; + _eventBufferSerializer.writeFunction(event_value_callback_); const auto event_value_fileSelector = event_value.fileSelector; _eventBufferSerializer.writeCustomObject("Object", event_value_fileSelector); } @@ -3825,10 +3825,10 @@ namespace Generated { Serializer _eventBufferSerializer(_eventBuffer.buffer); _eventBufferSerializer.writeInt32(KindXComponent_onLoad); _eventBufferSerializer.writeInt32(nodeId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); _eventBufferSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; _eventBufferSerializer.writeCustomObject("Object", event_value); } @@ -3918,10 +3918,10 @@ namespace Generated { const auto parameter_code = parameter.code; _eventBufferSerializer.writeNumber(parameter_code); const auto parameter_want = parameter.want; - Ark_Int32 parameter_want_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 parameter_want_type = INTEROP_RUNTIME_UNDEFINED; parameter_want_type = runtimeType(parameter_want); _eventBufferSerializer.writeInt8(parameter_want_type); - if ((ARK_RUNTIME_UNDEFINED) != (parameter_want_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (parameter_want_type)) { const auto parameter_want_value = parameter_want.value; _eventBufferSerializer.writeWant(parameter_want_value); } diff --git a/arkoala/framework/native/src/generated/arkoala_api_generated.h b/arkoala/framework/native/src/generated/arkoala_api_generated.h index 1dcff8320..320f15298 100644 --- a/arkoala/framework/native/src/generated/arkoala_api_generated.h +++ b/arkoala/framework/native/src/generated/arkoala_api_generated.h @@ -13,6 +13,135 @@ * See the License for the specific language governing permissions and * limitations under the License. */ +#ifndef _INTEROP_TYPES_H_ +#define _INTEROP_TYPES_H_ + +#include + +typedef enum InteropTag +{ + INTEROP_TAG_UNDEFINED = 101, + INTEROP_TAG_INT32 = 102, + INTEROP_TAG_FLOAT32 = 103, + INTEROP_TAG_STRING = 104, + INTEROP_TAG_LENGTH = 105, + INTEROP_TAG_RESOURCE = 106, + INTEROP_TAG_OBJECT = 107, +} InteropTag; + +typedef enum InteropRuntimeType +{ + INTEROP_RUNTIME_UNEXPECTED = -1, + INTEROP_RUNTIME_NUMBER = 1, + INTEROP_RUNTIME_STRING = 2, + INTEROP_RUNTIME_OBJECT = 3, + INTEROP_RUNTIME_BOOLEAN = 4, + INTEROP_RUNTIME_UNDEFINED = 5, + INTEROP_RUNTIME_BIGINT = 6, + INTEROP_RUNTIME_FUNCTION = 7, + INTEROP_RUNTIME_SYMBOL = 8, + INTEROP_RUNTIME_MATERIALIZED = 9, +} InteropRuntimeType; + +typedef float InteropFloat32; +typedef double InteropFloat64; +typedef int32_t InteropInt32; +typedef unsigned int InteropUInt32; // TODO: update unsigned int +typedef int64_t InteropInt64; +typedef int8_t InteropInt8; +typedef uint8_t InteropUInt8; +typedef int64_t InteropDate; +typedef int8_t InteropBoolean; +typedef const char* InteropCharPtr; +typedef void* InteropNativePointer; + +struct _InteropVMContext; +typedef struct _InteropVMContext* InteropVMContext; +struct _InteropPipelineContext; +typedef struct _InteropPipelineContext* InteropPipelineContext; +struct _InteropVMObject; +typedef struct _InteropVMObject* InteropVMObject; +struct _InteropNode; +typedef struct _InteropNode* InteropNodeHandle; +typedef struct InteropDeferred { + void* handler; + void* context; + void (*resolve)(struct InteropDeferred* thiz, uint8_t* data, int32_t length); + void (*reject)(struct InteropDeferred* thiz, const char* message); +} InteropDeferred; + +// Binary layout of InteropString must match that of KStringPtrImpl. +typedef struct InteropString { + const char* chars; + InteropInt32 length; +} InteropString; + +typedef struct InteropEmpty { + InteropInt32 dummy; // Empty structs are forbidden in C. +} InteropEmpty; + +typedef struct InteropNumber { + InteropInt8 tag; + union { + InteropFloat32 f32; + InteropInt32 i32; + }; +} InteropNumber; + +// Binary layout of InteropLength must match that of KLength. +typedef struct InteropLength +{ + InteropInt8 type; + InteropFloat32 value; + InteropInt32 unit; + InteropInt32 resource; +} InteropLength; + +typedef struct InteropCustomObject { + char kind[20]; + InteropInt32 id; + // Data of custom object. + union { + InteropInt32 ints[4]; + InteropFloat32 floats[4]; + void* pointers[4]; + InteropString string; + }; +} InteropCustomObject; + +typedef struct InteropUndefined { + InteropInt32 dummy; // Empty structs are forbidden in C. +} InteropUndefined; + +typedef struct InteropVoid { + InteropInt32 dummy; // Empty structs are forbidden in C. +} InteropVoid; + +typedef struct InteropFunction { + InteropInt32 id; +} InteropFunction; +typedef InteropFunction InteropCallback; +typedef InteropFunction InteropErrorCallback; + +typedef struct InteropMaterialized { + InteropNativePointer ptr; +} InteropMaterialized; + +typedef struct InteropCallbackResource { + InteropInt32 resourceId; + void (*hold)(InteropInt32 resourceId); + void (*release)(InteropInt32 resourceId); +} InteropCallbackResource; + +typedef struct InteropBuffer { + InteropCallbackResource resource; + InteropNativePointer data; + InteropInt64 length; +} InteropBuffer; + +#endif // _INTEROP_TYPES_H_ + + #ifndef GENERATED_FOUNDATION_ACE_FRAMEWORKS_CORE_INTERFACES_ARKOALA_API_H #define GENERATED_FOUNDATION_ACE_FRAMEWORKS_CORE_INTERFACES_ARKOALA_API_H @@ -40,136 +169,36 @@ extern "C" { #endif -typedef enum Ark_Tag -{ - ARK_TAG_UNDEFINED = 101, - ARK_TAG_INT32 = 102, - ARK_TAG_FLOAT32 = 103, - ARK_TAG_STRING = 104, - ARK_TAG_LENGTH = 105, - ARK_TAG_RESOURCE = 106, - ARK_TAG_OBJECT = 107, -} Ark_Tag; - -typedef enum Ark_RuntimeType -{ - ARK_RUNTIME_UNEXPECTED = -1, - ARK_RUNTIME_NUMBER = 1, - ARK_RUNTIME_STRING = 2, - ARK_RUNTIME_OBJECT = 3, - ARK_RUNTIME_BOOLEAN = 4, - ARK_RUNTIME_UNDEFINED = 5, - ARK_RUNTIME_BIGINT = 6, - ARK_RUNTIME_FUNCTION = 7, - ARK_RUNTIME_SYMBOL = 8, - ARK_RUNTIME_MATERIALIZED = 9, -} Ark_RuntimeType; - -typedef float Ark_Float32; -typedef double Ark_Float64; -typedef int32_t Ark_Int32; -typedef unsigned int Ark_UInt32; // TODO: update unsigned int -typedef int64_t Ark_Int64; -typedef int8_t Ark_Int8; -typedef uint8_t Ark_UInt8; -typedef int64_t Ark_Date; -typedef int8_t Ark_Boolean; -typedef const char* Ark_CharPtr; -typedef void* Ark_NativePointer; - -struct _Ark_VMContext; -typedef struct _Ark_VMContext* Ark_VMContext; -struct _Ark_PipelineContext; -typedef struct _Ark_PipelineContext* Ark_PipelineContext; -struct _Ark_VMObject; -typedef struct _Ark_VMObject* Ark_VMObject; -struct _Ark_Node; -typedef struct _Ark_Node* Ark_NodeHandle; -struct _Ark_Canvas; -typedef struct _Ark_Canvas* Ark_CanvasHandle; -typedef struct Ark_Deferred { - void* handler; - void* context; - void (*resolve)(struct Ark_Deferred* thiz, uint8_t* data, int32_t length); - void (*reject)(struct Ark_Deferred* thiz, const char* message); -} Ark_Deferred; - -enum Ark_APINodeFlags { - GENERATED_CUSTOM_NONE = 0, - GENERATED_CUSTOM_MEASURE = 1 << 0, - GENERATED_CUSTOM_LAYOUT = 1 << 1, - GENERATED_CUSTOM_DRAW = 1 << 2, - GENERATED_CUSTOM_FOREGROUND_DRAW = 1 << 3, - GENERATED_CUSTOM_OVERLAY_DRAW = 1 << 4, -}; -enum Ark_APICustomOp { - GENERATED_MEASURE = 1, - GENERATED_LAYOUT = 2, - GENERATED_DRAW = 3 -}; -struct Ark_ObjectHandleOpaque; -typedef struct Ark_ObjectHandleOpaque* Ark_ObjectHandle; - -// Binary layout of Ark_String must match that of KStringPtrImpl. -typedef struct Ark_String { - const char* chars; - Ark_Int32 length; -} Ark_String; - -typedef struct Ark_Empty { - Ark_Int32 dummy; // Empty structs are forbidden in C. -} Ark_Empty; - -typedef struct Ark_Number { - Ark_Int8 tag; - union { - Ark_Float32 f32; - Ark_Int32 i32; - }; -} Ark_Number; - -// Binary layout of Ark_Length must match that of KLength. -typedef struct Ark_Length -{ - Ark_Int8 type; - Ark_Float32 value; - Ark_Int32 unit; - Ark_Int32 resource; -} Ark_Length; - -typedef struct Ark_CustomObject { - char kind[20]; - Ark_Int32 id; - // Data of custom object. - union { - Ark_Int32 ints[4]; - Ark_Float32 floats[4]; - void* pointers[4]; - Ark_String string; - }; -} Ark_CustomObject; - -typedef struct Ark_Undefined { - Ark_Int32 dummy; // Empty structs are forbidden in C. -} Ark_Undefined; - -typedef struct Ark_Void { - Ark_Int32 dummy; // Empty structs are forbidden in C. -} Ark_Void; - -typedef struct Ark_Function { - Ark_Int32 id; -} Ark_Function; -typedef Ark_Function Ark_Callback; -typedef Ark_Function Ark_ErrorCallback; - -typedef struct Ark_Materialized { - Ark_NativePointer ptr; -} Ark_Materialized; +typedef InteropTag Ark_Tag; +typedef InteropRuntimeType Ark_RuntimeType; + +typedef InteropFloat32 Ark_Float32; +typedef InteropFloat64 Ark_Float64; +typedef InteropInt32 Ark_Int32; +typedef InteropUInt32 Ark_UInt32; +typedef InteropInt64 Ark_Int64; +typedef InteropInt8 Ark_Int8; +typedef InteropBoolean Ark_Boolean; +typedef InteropCharPtr Ark_CharPtr; +typedef InteropNativePointer Ark_NativePointer; +typedef InteropString Ark_String; +typedef InteropCallbackResource Ark_CallbackResource; +typedef InteropNumber Ark_Number; +typedef InteropMaterialized Ark_Materialized; +typedef InteropCustomObject Ark_CustomObject; +typedef InteropUndefined Ark_Undefined; +typedef InteropVMContext Ark_VMContext; +typedef InteropBuffer Ark_Buffer; +typedef InteropLength Ark_Length; +typedef InteropNodeHandle Ark_NodeHandle; +typedef InteropPipelineContext Ark_PipelineContext; +typedef InteropCustomObject Ark_CustomObject; +typedef InteropDate Ark_Date; +typedef InteropFunction Ark_Function; // TODO: generate! typedef struct Opt_Ark_Callback { - enum Ark_Tag tag; + Ark_Tag tag; Ark_CustomObject value; } Opt_Ark_Callback; @@ -182,17 +211,23 @@ enum GENERATED_Ark_APIVariantKind { GENERATED_COUNT = GENERIC_SERVICE + 1 }; -typedef struct Ark_CallbackResource { - Ark_Int32 resourceId; - void (*hold)(Ark_Int32 resourceId); - void (*release)(Ark_Int32 resourceId); -} Ark_CallbackResource; +enum Ark_APINodeFlags { + GENERATED_CUSTOM_NONE = 0, + GENERATED_CUSTOM_MEASURE = 1 << 0, + GENERATED_CUSTOM_LAYOUT = 1 << 1, + GENERATED_CUSTOM_DRAW = 1 << 2, + GENERATED_CUSTOM_FOREGROUND_DRAW = 1 << 3, + GENERATED_CUSTOM_OVERLAY_DRAW = 1 << 4, +}; +enum Ark_APICustomOp { + GENERATED_MEASURE = 1, + GENERATED_LAYOUT = 2, + GENERATED_DRAW = 3 +}; + +struct _Ark_Canvas; +typedef struct _Ark_Canvas* Ark_CanvasHandle; -typedef struct Ark_Buffer { - Ark_CallbackResource resource; - Ark_NativePointer data; - Ark_Int64 length; -} Ark_Buffer; typedef struct Array_String Array_String; @@ -335,8 +370,8 @@ typedef struct Callback_GestureEvent_Void Callback_GestureEvent_Void; typedef struct Opt_Callback_GestureEvent_Void Opt_Callback_GestureEvent_Void; typedef struct Callback_ClickEvent_Void Callback_ClickEvent_Void; typedef struct Opt_Callback_ClickEvent_Void Opt_Callback_ClickEvent_Void; -typedef struct Array_CustomObject Array_CustomObject; -typedef struct Opt_Array_CustomObject Opt_Array_CustomObject; +typedef struct Array_Union_Number_String Array_Union_Number_String; +typedef struct Opt_Array_Union_Number_String Opt_Array_Union_Number_String; typedef struct Callback_PopInfo_Void Callback_PopInfo_Void; typedef struct Opt_Callback_PopInfo_Void Opt_Callback_PopInfo_Void; typedef struct Callback_SwipeActionState_Void Callback_SwipeActionState_Void; @@ -497,8 +532,8 @@ typedef struct Ark_RichEditorTextStyle Ark_RichEditorTextStyle; typedef struct Opt_RichEditorTextStyle Opt_RichEditorTextStyle; typedef struct Ark_RichEditorGesture Ark_RichEditorGesture; typedef struct Opt_RichEditorGesture Opt_RichEditorGesture; -typedef struct Ark_Union_Number_String_Array_Any Ark_Union_Number_String_Array_Any; -typedef struct Opt_Union_Number_String_Array_Any Opt_Union_Number_String_Array_Any; +typedef struct Ark_Union_Number_String_Array_Union_Number_String Ark_Union_Number_String_Array_Union_Number_String; +typedef struct Opt_Union_Number_String_Array_Union_Number_String Opt_Union_Number_String_Array_Union_Number_String; typedef struct Ark_Union_String_Number_Resource Ark_Union_String_Number_Resource; typedef struct Opt_Union_String_Number_Resource Opt_Union_String_Number_Resource; typedef Ark_Materialized Ark_NavPathStack; @@ -693,7 +728,7 @@ 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 Ark_Materialized Ark_EventResult; typedef struct Opt_EventResult Opt_EventResult; -typedef struct Ark_TouchEvent Ark_TouchEvent; +typedef Ark_Materialized Ark_TouchEvent; typedef struct Opt_TouchEvent Opt_TouchEvent; typedef struct Ark_NativeEmbedInfo Ark_NativeEmbedInfo; typedef struct Opt_NativeEmbedInfo Opt_NativeEmbedInfo; @@ -741,14 +776,14 @@ typedef Ark_Materialized Ark_JsGeolocation; typedef struct Opt_JsGeolocation Opt_JsGeolocation; typedef struct Ark_Union_WebController_WebviewController Ark_Union_WebController_WebviewController; typedef struct Opt_Union_WebController_WebviewController Opt_Union_WebController_WebviewController; -typedef struct Ark_Literal_Object_object_String_name_Array_String_methodList Ark_Literal_Object_object_String_name_Array_String_methodList; -typedef struct Opt_Literal_Object_object_String_name_Array_String_methodList Opt_Literal_Object_object_String_name_Array_String_methodList; +typedef struct Ark_Literal_Object_object__String_name_Array_String_methodList Ark_Literal_Object_object__String_name_Array_String_methodList; +typedef struct Opt_Literal_Object_object__String_name_Array_String_methodList Opt_Literal_Object_object__String_name_Array_String_methodList; typedef struct Ark_Literal_Union_String_Resource_url_Array_Header_headers Ark_Literal_Union_String_Resource_url_Array_Header_headers; typedef struct Opt_Literal_Union_String_Resource_url_Array_Header_headers Opt_Literal_Union_String_Resource_url_Array_Header_headers; typedef struct Ark_Literal_String_baseUrl_data_encoding_historyUrl_mimeType Ark_Literal_String_baseUrl_data_encoding_historyUrl_mimeType; typedef struct Opt_Literal_String_baseUrl_data_encoding_historyUrl_mimeType Opt_Literal_String_baseUrl_data_encoding_historyUrl_mimeType; -typedef struct Ark_Literal_String_script_Callback_String_Void_callback Ark_Literal_String_script_Callback_String_Void_callback; -typedef struct Opt_Literal_String_script_Callback_String_Void_callback Opt_Literal_String_script_Callback_String_Void_callback; +typedef struct Ark_Literal_String_script_Callback_String_Void_callback_ Ark_Literal_String_script_Callback_String_Void_callback_; +typedef struct Opt_Literal_String_script_Callback_String_Void_callback_ Opt_Literal_String_script_Callback_String_Void_callback_; typedef struct Ark_ScreenCaptureConfig Ark_ScreenCaptureConfig; typedef struct Opt_ScreenCaptureConfig Opt_ScreenCaptureConfig; typedef Ark_Materialized Ark_VideoController; @@ -831,6 +866,8 @@ typedef struct Ark_EdgeEffectOptions Ark_EdgeEffectOptions; typedef struct Opt_EdgeEffectOptions Opt_EdgeEffectOptions; 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 ScrollOnScrollCallback ScrollOnScrollCallback; +typedef struct Opt_ScrollOnScrollCallback Opt_ScrollOnScrollCallback; typedef struct ScrollOnWillScrollCallback ScrollOnWillScrollCallback; typedef struct Opt_ScrollOnWillScrollCallback Opt_ScrollOnWillScrollCallback; typedef struct Ark_ScrollToIndexOptions Ark_ScrollToIndexOptions; @@ -985,6 +1022,20 @@ typedef struct Ark_Union_ResourceStr_Scene Ark_Union_ResourceStr_Scene; typedef struct Opt_Union_ResourceStr_Scene Opt_Union_ResourceStr_Scene; typedef struct Ark_UIGestureEvent Ark_UIGestureEvent; typedef struct Opt_UIGestureEvent Opt_UIGestureEvent; +typedef struct VisibleAreaChangeCallback VisibleAreaChangeCallback; +typedef struct Opt_VisibleAreaChangeCallback Opt_VisibleAreaChangeCallback; +typedef struct Ark_VisibleAreaEventOptions Ark_VisibleAreaEventOptions; +typedef struct Opt_VisibleAreaEventOptions Opt_VisibleAreaEventOptions; +typedef struct SizeChangeCallback SizeChangeCallback; +typedef struct Opt_SizeChangeCallback Opt_SizeChangeCallback; +typedef struct Callback_MouseEvent_Void Callback_MouseEvent_Void; +typedef struct Opt_Callback_MouseEvent_Void Opt_Callback_MouseEvent_Void; +typedef struct HoverCallback HoverCallback; +typedef struct Opt_HoverCallback Opt_HoverCallback; +typedef struct Callback_KeyEvent_Void Callback_KeyEvent_Void; +typedef struct Opt_Callback_KeyEvent_Void Opt_Callback_KeyEvent_Void; +typedef struct Callback_TouchEvent_Void Callback_TouchEvent_Void; +typedef struct Opt_Callback_TouchEvent_Void Opt_Callback_TouchEvent_Void; typedef struct OnMoveHandler OnMoveHandler; typedef struct Opt_OnMoveHandler Opt_OnMoveHandler; typedef struct Ark_FadingEdgeOptions Ark_FadingEdgeOptions; @@ -995,8 +1046,6 @@ typedef struct GestureRecognizerJudgeBeginCallback GestureRecognizerJudgeBeginCa typedef struct Opt_GestureRecognizerJudgeBeginCallback Opt_GestureRecognizerJudgeBeginCallback; typedef struct Ark_AccessibilityOptions Ark_AccessibilityOptions; typedef struct Opt_AccessibilityOptions Opt_AccessibilityOptions; -typedef struct VisibleAreaChangeCallback VisibleAreaChangeCallback; -typedef struct Opt_VisibleAreaChangeCallback Opt_VisibleAreaChangeCallback; typedef struct Ark_SheetOptions Ark_SheetOptions; typedef struct Opt_SheetOptions Opt_SheetOptions; typedef struct Ark_ContentCoverOptions Ark_ContentCoverOptions; @@ -1095,6 +1144,8 @@ typedef struct Array_Rectangle Array_Rectangle; typedef struct Opt_Array_Rectangle Opt_Array_Rectangle; typedef Ark_Materialized Ark_DrawModifier; typedef struct Opt_DrawModifier Opt_DrawModifier; +typedef Ark_Materialized Ark_UnifiedData; +typedef struct Opt_UnifiedData Opt_UnifiedData; typedef struct Ark_Literal_TransitionEffect_appear_disappear Ark_Literal_TransitionEffect_appear_disappear; typedef struct Opt_Literal_TransitionEffect_appear_disappear Opt_Literal_TransitionEffect_appear_disappear; typedef struct Ark_ColumnSplitDividerStyle Ark_ColumnSplitDividerStyle; @@ -1137,7 +1188,7 @@ typedef struct Ark_AlertDialogParamWithConfirm Ark_AlertDialogParamWithConfirm; typedef struct Opt_AlertDialogParamWithConfirm Opt_AlertDialogParamWithConfirm; typedef struct Ark_ActionSheetOptions Ark_ActionSheetOptions; typedef struct Opt_ActionSheetOptions Opt_ActionSheetOptions; -typedef struct Ark_ClickEvent Ark_ClickEvent; +typedef Ark_Materialized Ark_ClickEvent; typedef struct Opt_ClickEvent Opt_ClickEvent; typedef struct Callback_RangeUpdate Callback_RangeUpdate; typedef struct Opt_Callback_RangeUpdate Opt_Callback_RangeUpdate; @@ -1149,8 +1200,6 @@ typedef struct Type_NavigationAttribute_customNavContentTransition_delegate Type typedef struct Opt_Type_NavigationAttribute_customNavContentTransition_delegate Opt_Type_NavigationAttribute_customNavContentTransition_delegate; typedef struct SliderTriggerChangeCallback SliderTriggerChangeCallback; typedef struct Opt_SliderTriggerChangeCallback Opt_SliderTriggerChangeCallback; -typedef struct ScrollOnScrollCallback ScrollOnScrollCallback; -typedef struct Opt_ScrollOnScrollCallback Opt_ScrollOnScrollCallback; typedef struct PageTransitionCallback PageTransitionCallback; typedef struct Opt_PageTransitionCallback Opt_PageTransitionCallback; typedef struct OnScrollCallback OnScrollCallback; @@ -1159,8 +1208,6 @@ typedef struct Ark_IsolatedOptions Ark_IsolatedOptions; typedef struct Opt_IsolatedOptions Opt_IsolatedOptions; typedef struct IsolatedComponentInterface IsolatedComponentInterface; typedef struct Opt_IsolatedComponentInterface Opt_IsolatedComponentInterface; -typedef struct HoverCallback HoverCallback; -typedef struct Opt_HoverCallback Opt_HoverCallback; typedef struct Ark_WithThemeAttribute Ark_WithThemeAttribute; typedef struct Opt_WithThemeAttribute Opt_WithThemeAttribute; typedef struct Callback_WithThemeAttribute_Void Callback_WithThemeAttribute_Void; @@ -1213,10 +1260,10 @@ typedef struct Callback_GestureRecognizer_Void Callback_GestureRecognizer_Void; typedef struct Opt_Callback_GestureRecognizer_Void Opt_Callback_GestureRecognizer_Void; typedef struct Callback_GestureJudgeResult_Void Callback_GestureJudgeResult_Void; typedef struct Opt_Callback_GestureJudgeResult_Void Opt_Callback_GestureJudgeResult_Void; +typedef struct Callback_CustomBuilder_Void Callback_CustomBuilder_Void; +typedef struct Opt_Callback_CustomBuilder_Void Opt_Callback_CustomBuilder_Void; typedef struct Callback_ComputedBarAttribute_Void Callback_ComputedBarAttribute_Void; typedef struct Opt_Callback_ComputedBarAttribute_Void Opt_Callback_ComputedBarAttribute_Void; -typedef struct Callback_Callback_Any_Void Callback_Callback_Any_Void; -typedef struct Opt_Callback_Callback_Any_Void Opt_Callback_Callback_Any_Void; typedef struct Callback_Array_String_Void Callback_Array_String_Void; typedef struct Opt_Callback_Array_String_Void Opt_Callback_Array_String_Void; typedef struct ButtonTriggerClickCallback ButtonTriggerClickCallback; @@ -1407,10 +1454,10 @@ typedef struct Ark_OnResourceLoadEvent Ark_OnResourceLoadEvent; typedef struct Opt_OnResourceLoadEvent Opt_OnResourceLoadEvent; typedef struct Callback_OnResourceLoadEvent_Void Callback_OnResourceLoadEvent_Void; typedef struct Opt_Callback_OnResourceLoadEvent_Void Opt_Callback_OnResourceLoadEvent_Void; -typedef struct Ark_Literal_Function_callback_Object_fileSelector Ark_Literal_Function_callback_Object_fileSelector; -typedef struct Opt_Literal_Function_callback_Object_fileSelector Opt_Literal_Function_callback_Object_fileSelector; -typedef struct Callback_Literal_Function_callback_Object_fileSelector_Void Callback_Literal_Function_callback_Object_fileSelector_Void; -typedef struct Opt_Callback_Literal_Function_callback_Object_fileSelector_Void Opt_Callback_Literal_Function_callback_Object_fileSelector_Void; +typedef struct Ark_Literal_Function_callback__Object_fileSelector Ark_Literal_Function_callback__Object_fileSelector; +typedef struct Opt_Literal_Function_callback__Object_fileSelector Opt_Literal_Function_callback__Object_fileSelector; +typedef struct Type_WebAttribute_onFileSelectorShow_callback Type_WebAttribute_onFileSelectorShow_callback; +typedef struct Opt_Type_WebAttribute_onFileSelectorShow_callback Opt_Type_WebAttribute_onFileSelectorShow_callback; typedef struct Ark_Literal_Object_detail Ark_Literal_Object_detail; typedef struct Opt_Literal_Object_detail Opt_Literal_Object_detail; typedef struct Callback_Literal_Object_detail_Boolean Callback_Literal_Object_detail_Boolean; @@ -1707,7 +1754,7 @@ typedef struct Ark_RichEditorChangeValue Ark_RichEditorChangeValue; typedef struct Opt_RichEditorChangeValue Opt_RichEditorChangeValue; typedef struct Callback_RichEditorChangeValue_Boolean Callback_RichEditorChangeValue_Boolean; typedef struct Opt_Callback_RichEditorChangeValue_Boolean Opt_Callback_RichEditorChangeValue_Boolean; -typedef struct Ark_SubmitEvent Ark_SubmitEvent; +typedef Ark_Materialized Ark_SubmitEvent; typedef struct Opt_SubmitEvent Opt_SubmitEvent; typedef struct SubmitCallback SubmitCallback; typedef struct Opt_SubmitCallback Opt_SubmitCallback; @@ -1743,7 +1790,7 @@ typedef struct Ark_Type_RichEditorController_updateSpanStyle_value Ark_Type_Rich typedef struct Opt_Type_RichEditorController_updateSpanStyle_value Opt_Type_RichEditorController_updateSpanStyle_value; typedef struct Ark_Union_PixelMap_ResourceStr Ark_Union_PixelMap_ResourceStr; typedef struct Opt_Union_PixelMap_ResourceStr Opt_Union_PixelMap_ResourceStr; -typedef struct Ark_GestureEvent Ark_GestureEvent; +typedef Ark_Materialized Ark_GestureEvent; typedef struct Opt_GestureEvent Opt_GestureEvent; typedef struct Ark_LocalizedBarrierStyle Ark_LocalizedBarrierStyle; typedef struct Opt_LocalizedBarrierStyle Opt_LocalizedBarrierStyle; @@ -1775,8 +1822,12 @@ typedef struct Ark_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions typedef struct Opt_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions Opt_Union_LinearStyleOptions_RingStyleOptions_CapsuleStyleOptions_ProgressStyleOptions; typedef struct Ark_ProgressOptions Ark_ProgressOptions; typedef struct Opt_ProgressOptions Opt_ProgressOptions; +typedef struct Array_Point Array_Point; +typedef struct Opt_Array_Point Opt_Array_Point; typedef struct Ark_PolylineOptions Ark_PolylineOptions; typedef struct Opt_PolylineOptions Opt_PolylineOptions; +typedef struct Ark_Point Ark_Point; +typedef struct Opt_Point Opt_Point; typedef struct Ark_PolygonOptions Ark_PolygonOptions; typedef struct Opt_PolygonOptions Opt_PolygonOptions; typedef struct Ark_PluginErrorData Ark_PluginErrorData; @@ -1921,14 +1972,10 @@ typedef struct Callback_ItemDragInfo_Number_Number_Void Callback_ItemDragInfo_Nu typedef struct Opt_Callback_ItemDragInfo_Number_Number_Void Opt_Callback_ItemDragInfo_Number_Number_Void; typedef struct Callback_ItemDragInfo_Void Callback_ItemDragInfo_Void; typedef struct Opt_Callback_ItemDragInfo_Void Opt_Callback_ItemDragInfo_Void; -typedef struct Callback_Any Callback_Any; -typedef struct Opt_Callback_Any Opt_Callback_Any; typedef struct Ark_ItemDragInfo Ark_ItemDragInfo; typedef struct Opt_ItemDragInfo Opt_ItemDragInfo; -typedef struct Callback_ItemDragInfo_Number_Callback_Any Callback_ItemDragInfo_Number_Callback_Any; -typedef struct Opt_Callback_ItemDragInfo_Number_Callback_Any Opt_Callback_ItemDragInfo_Number_Callback_Any; -typedef struct Callback_Number_Number_Void Callback_Number_Number_Void; -typedef struct Opt_Callback_Number_Number_Void Opt_Callback_Number_Number_Void; +typedef struct Callback_ItemDragInfo_Number_CustomBuilder Callback_ItemDragInfo_Number_CustomBuilder; +typedef struct Opt_Callback_ItemDragInfo_Number_CustomBuilder Opt_Callback_ItemDragInfo_Number_CustomBuilder; typedef struct Ark_ComputedBarAttribute Ark_ComputedBarAttribute; typedef struct Opt_ComputedBarAttribute Opt_ComputedBarAttribute; typedef struct Callback_Number_Number_ComputedBarAttribute Callback_Number_Number_ComputedBarAttribute; @@ -1995,12 +2042,14 @@ typedef struct Ark_CustomDialogControllerOptions Ark_CustomDialogControllerOptio typedef struct Opt_CustomDialogControllerOptions Opt_CustomDialogControllerOptions; typedef struct Ark_SceneOptions Ark_SceneOptions; typedef struct Opt_SceneOptions Opt_SceneOptions; +typedef struct Array_CustomObject Array_CustomObject; +typedef struct Opt_Array_CustomObject Opt_Array_CustomObject; typedef struct Ark_Union_ContentClipMode_RectShape Ark_Union_ContentClipMode_RectShape; typedef struct Opt_Union_ContentClipMode_RectShape Opt_Union_ContentClipMode_RectShape; typedef struct Ark_OffsetResult Ark_OffsetResult; typedef struct Opt_OffsetResult Opt_OffsetResult; -typedef struct Callback_Number_ScrollState_Void Callback_Number_ScrollState_Void; -typedef struct Opt_Callback_Number_ScrollState_Void Opt_Callback_Number_ScrollState_Void; +typedef struct Callback_Number_Number_Void Callback_Number_Number_Void; +typedef struct Opt_Callback_Number_Number_Void Opt_Callback_Number_Number_Void; typedef struct Array_ModifierKey Array_ModifierKey; typedef struct Opt_Array_ModifierKey Opt_Array_ModifierKey; typedef struct Ark_Union_String_FunctionKey Ark_Union_String_FunctionKey; @@ -2033,8 +2082,6 @@ typedef struct Array_SafeAreaEdge Array_SafeAreaEdge; typedef struct Opt_Array_SafeAreaEdge Opt_Array_SafeAreaEdge; typedef struct Array_SafeAreaType Array_SafeAreaType; typedef struct Opt_Array_SafeAreaType Opt_Array_SafeAreaType; -typedef struct SizeChangeCallback SizeChangeCallback; -typedef struct Opt_SizeChangeCallback Opt_SizeChangeCallback; typedef struct Callback_TouchEvent_HitTestMode Callback_TouchEvent_HitTestMode; typedef struct Opt_Callback_TouchEvent_HitTestMode Opt_Callback_TouchEvent_HitTestMode; typedef struct Array_GestureRecognizer Array_GestureRecognizer; @@ -2045,7 +2092,7 @@ typedef Ark_Materialized Ark_GestureRecognizer; typedef struct Opt_GestureRecognizer Opt_GestureRecognizer; typedef struct Ark_FingerInfo Ark_FingerInfo; typedef struct Opt_FingerInfo Opt_FingerInfo; -typedef struct Ark_BaseGestureEvent Ark_BaseGestureEvent; +typedef Ark_Materialized Ark_BaseGestureEvent; typedef struct Opt_BaseGestureEvent Opt_BaseGestureEvent; typedef struct Ark_GestureInfo Ark_GestureInfo; typedef struct Opt_GestureInfo Opt_GestureInfo; @@ -2085,7 +2132,7 @@ typedef struct Callback_DragEvent_String_Void Callback_DragEvent_String_Void; typedef struct Opt_Callback_DragEvent_String_Void Opt_Callback_DragEvent_String_Void; typedef struct Ark_Union_CustomBuilder_DragItemInfo Ark_Union_CustomBuilder_DragItemInfo; typedef struct Opt_Union_CustomBuilder_DragItemInfo Opt_Union_CustomBuilder_DragItemInfo; -typedef struct Ark_DragEvent Ark_DragEvent; +typedef Ark_Materialized Ark_DragEvent; typedef struct Opt_DragEvent Opt_DragEvent; typedef struct Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo; typedef struct Opt_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo Opt_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo; @@ -2111,23 +2158,15 @@ typedef struct Ark_FocusBoxStyle Ark_FocusBoxStyle; typedef struct Opt_FocusBoxStyle Opt_FocusBoxStyle; typedef struct Callback_KeyEvent_Boolean Callback_KeyEvent_Boolean; typedef struct Opt_Callback_KeyEvent_Boolean Opt_Callback_KeyEvent_Boolean; -typedef struct Ark_KeyEvent Ark_KeyEvent; +typedef Ark_Materialized Ark_KeyEvent; typedef struct Opt_KeyEvent Opt_KeyEvent; -typedef struct Callback_KeyEvent_Void Callback_KeyEvent_Void; -typedef struct Opt_Callback_KeyEvent_Void Opt_Callback_KeyEvent_Void; -typedef struct Ark_TouchObject Ark_TouchObject; -typedef struct Opt_TouchObject Opt_TouchObject; -typedef struct Callback_TouchEvent_Void Callback_TouchEvent_Void; -typedef struct Opt_Callback_TouchEvent_Void Opt_Callback_TouchEvent_Void; -typedef struct Ark_MouseEvent Ark_MouseEvent; +typedef Ark_Materialized Ark_MouseEvent; typedef struct Opt_MouseEvent Opt_MouseEvent; -typedef struct Callback_MouseEvent_Void Callback_MouseEvent_Void; -typedef struct Opt_Callback_MouseEvent_Void Opt_Callback_MouseEvent_Void; -typedef struct Ark_AccessibilityHoverEvent Ark_AccessibilityHoverEvent; +typedef Ark_Materialized Ark_AccessibilityHoverEvent; typedef struct Opt_AccessibilityHoverEvent Opt_AccessibilityHoverEvent; typedef struct AccessibilityCallback AccessibilityCallback; typedef struct Opt_AccessibilityCallback Opt_AccessibilityCallback; -typedef struct Ark_HoverEvent Ark_HoverEvent; +typedef Ark_Materialized Ark_HoverEvent; typedef struct Opt_HoverEvent Opt_HoverEvent; typedef struct Callback_Boolean_HoverEvent_Void Callback_Boolean_HoverEvent_Void; typedef struct Opt_Callback_Boolean_HoverEvent_Void Opt_Callback_Boolean_HoverEvent_Void; @@ -2183,6 +2222,8 @@ typedef struct Ark_ConstraintSizeOptions Ark_ConstraintSizeOptions; typedef struct Opt_ConstraintSizeOptions Opt_ConstraintSizeOptions; 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_TouchObject Ark_TouchObject; +typedef struct Opt_TouchObject Opt_TouchObject; typedef struct Ark_TransitionEffects Ark_TransitionEffects; typedef struct Opt_TransitionEffects Opt_TransitionEffects; typedef struct Ark_PointLightStyle Ark_PointLightStyle; @@ -4006,6 +4047,17 @@ typedef struct Opt_TouchTestStrategy { Ark_Tag tag; Ark_TouchTestStrategy value; } Opt_TouchTestStrategy; +typedef enum Ark_DragResult { + ARK_DRAG_RESULT_DRAG_SUCCESSFUL = 0, + ARK_DRAG_RESULT_DRAG_FAILED = 1, + ARK_DRAG_RESULT_DRAG_CANCELED = 2, + ARK_DRAG_RESULT_DROP_ENABLED = 3, + ARK_DRAG_RESULT_DROP_DISABLED = 4, +} Ark_DragResult; +typedef struct Opt_DragResult { + Ark_Tag tag; + Ark_DragResult value; +} Opt_DragResult; typedef enum Ark_TransitionEdge { ARK_TRANSITION_EDGE_TOP = 0, ARK_TRANSITION_EDGE_BOTTOM = 1, @@ -4064,24 +4116,6 @@ typedef struct Opt_IndexerAlign { Ark_Tag tag; Ark_IndexerAlign value; } Opt_IndexerAlign; -typedef enum Ark_RouteType { - ARK_ROUTE_TYPE_NONE = 0, - ARK_ROUTE_TYPE_PUSH = 1, - ARK_ROUTE_TYPE_POP = 2, -} Ark_RouteType; -typedef struct Opt_RouteType { - Ark_Tag tag; - Ark_RouteType value; -} Opt_RouteType; -typedef enum Ark_NavigationTitleMode { - ARK_NAVIGATION_TITLE_MODE_FREE = 0, - ARK_NAVIGATION_TITLE_MODE_FULL = 1, - ARK_NAVIGATION_TITLE_MODE_MINI = 2, -} Ark_NavigationTitleMode; -typedef struct Opt_NavigationTitleMode { - Ark_Tag tag; - Ark_NavigationTitleMode value; -} Opt_NavigationTitleMode; typedef enum Ark_SideBarPosition { ARK_SIDE_BAR_POSITION_START = 0, ARK_SIDE_BAR_POSITION_END = 1, @@ -4117,6 +4151,56 @@ typedef struct Opt_ViewportFit { Ark_Tag tag; Ark_ViewportFit value; } Opt_ViewportFit; +typedef enum Ark_ContextMenuEditStateFlags { + ARK_CONTEXT_MENU_EDIT_STATE_FLAGS_NONE = 0, + ARK_CONTEXT_MENU_EDIT_STATE_FLAGS_CAN_CUT = 1, + ARK_CONTEXT_MENU_EDIT_STATE_FLAGS_CAN_COPY = 2, + ARK_CONTEXT_MENU_EDIT_STATE_FLAGS_CAN_PASTE = 4, + ARK_CONTEXT_MENU_EDIT_STATE_FLAGS_CAN_SELECT_ALL = 8, +} Ark_ContextMenuEditStateFlags; +typedef struct Opt_ContextMenuEditStateFlags { + Ark_Tag tag; + Ark_ContextMenuEditStateFlags value; +} Opt_ContextMenuEditStateFlags; +typedef enum Ark_ContextMenuInputFieldType { + ARK_CONTEXT_MENU_INPUT_FIELD_TYPE_NONE = 0, + ARK_CONTEXT_MENU_INPUT_FIELD_TYPE_PLAIN_TEXT = 1, + ARK_CONTEXT_MENU_INPUT_FIELD_TYPE_PASSWORD = 2, + ARK_CONTEXT_MENU_INPUT_FIELD_TYPE_NUMBER = 3, + ARK_CONTEXT_MENU_INPUT_FIELD_TYPE_TELEPHONE = 4, + ARK_CONTEXT_MENU_INPUT_FIELD_TYPE_OTHER = 5, +} Ark_ContextMenuInputFieldType; +typedef struct Opt_ContextMenuInputFieldType { + Ark_Tag tag; + Ark_ContextMenuInputFieldType value; +} Opt_ContextMenuInputFieldType; +typedef enum Ark_ContextMenuMediaType { + ARK_CONTEXT_MENU_MEDIA_TYPE_NONE = 0, + ARK_CONTEXT_MENU_MEDIA_TYPE_IMAGE = 1, +} Ark_ContextMenuMediaType; +typedef struct Opt_ContextMenuMediaType { + Ark_Tag tag; + Ark_ContextMenuMediaType value; +} Opt_ContextMenuMediaType; +typedef enum Ark_ContextMenuSourceType { + ARK_CONTEXT_MENU_SOURCE_TYPE_NONE = 0, + ARK_CONTEXT_MENU_SOURCE_TYPE_MOUSE = 1, + ARK_CONTEXT_MENU_SOURCE_TYPE_LONG_PRESS = 2, +} Ark_ContextMenuSourceType; +typedef struct Opt_ContextMenuSourceType { + Ark_Tag tag; + Ark_ContextMenuSourceType value; +} Opt_ContextMenuSourceType; +typedef enum Ark_ProtectedResourceType { + ARK_PROTECTED_RESOURCE_TYPE_MIDI_SYSEX, + ARK_PROTECTED_RESOURCE_TYPE_VIDEO_CAPTURE, + ARK_PROTECTED_RESOURCE_TYPE_AUDIO_CAPTURE, + ARK_PROTECTED_RESOURCE_TYPE_SENSOR, +} Ark_ProtectedResourceType; +typedef struct Opt_ProtectedResourceType { + Ark_Tag tag; + Ark_ProtectedResourceType value; +} Opt_ProtectedResourceType; typedef enum Ark_WebLayoutMode { ARK_WEB_LAYOUT_MODE_NONE = 0, ARK_WEB_LAYOUT_MODE_FIT_CONTENT = 1, @@ -4125,6 +4209,16 @@ typedef struct Opt_WebLayoutMode { Ark_Tag tag; Ark_WebLayoutMode value; } Opt_WebLayoutMode; +typedef enum Ark_FileSelectorMode { + ARK_FILE_SELECTOR_MODE_FILE_OPEN_MODE = 0, + ARK_FILE_SELECTOR_MODE_FILE_OPEN_MULTIPLE_MODE = 1, + ARK_FILE_SELECTOR_MODE_FILE_OPEN_FOLDER_MODE = 2, + ARK_FILE_SELECTOR_MODE_FILE_SAVE_MODE = 3, +} Ark_FileSelectorMode; +typedef struct Opt_FileSelectorMode { + Ark_Tag tag; + Ark_FileSelectorMode value; +} Opt_FileSelectorMode; typedef enum Ark_ThreatType { ARK_THREAT_TYPE_THREAT_ILLEGAL = 0, ARK_THREAT_TYPE_THREAT_FRAUD = 1, @@ -4135,14 +4229,6 @@ typedef struct Opt_ThreatType { Ark_Tag tag; Ark_ThreatType value; } Opt_ThreatType; -typedef enum Ark_OverScrollMode { - ARK_OVER_SCROLL_MODE_NEVER = 0, - ARK_OVER_SCROLL_MODE_ALWAYS = 1, -} Ark_OverScrollMode; -typedef struct Opt_OverScrollMode { - Ark_Tag tag; - Ark_OverScrollMode value; -} Opt_OverScrollMode; typedef enum Ark_WebDarkMode { ARK_WEB_DARK_MODE_OFF = 0, ARK_WEB_DARK_MODE_ON = 1, @@ -4152,6 +4238,14 @@ typedef struct Opt_WebDarkMode { Ark_Tag tag; Ark_WebDarkMode value; } Opt_WebDarkMode; +typedef enum Ark_OverScrollMode { + ARK_OVER_SCROLL_MODE_NEVER = 0, + ARK_OVER_SCROLL_MODE_ALWAYS = 1, +} Ark_OverScrollMode; +typedef struct Opt_OverScrollMode { + Ark_Tag tag; + Ark_OverScrollMode value; +} Opt_OverScrollMode; typedef enum Ark_CacheMode { ARK_CACHE_MODE_DEFAULT = 0, ARK_CACHE_MODE_NONE = 1, @@ -4162,6 +4256,20 @@ typedef struct Opt_CacheMode { Ark_Tag tag; Ark_CacheMode value; } Opt_CacheMode; +typedef enum Ark_HitTestType { + ARK_HIT_TEST_TYPE_EDIT_TEXT = 0, + ARK_HIT_TEST_TYPE_EMAIL = 1, + ARK_HIT_TEST_TYPE_HTTP_ANCHOR = 2, + ARK_HIT_TEST_TYPE_HTTP_ANCHOR_IMG = 3, + ARK_HIT_TEST_TYPE_IMG = 4, + ARK_HIT_TEST_TYPE_MAP = 5, + ARK_HIT_TEST_TYPE_PHONE = 6, + ARK_HIT_TEST_TYPE_UNKNOWN = 7, +} Ark_HitTestType; +typedef struct Opt_HitTestType { + Ark_Tag tag; + Ark_HitTestType value; +} Opt_HitTestType; typedef enum Ark_MixedMode { ARK_MIXED_MODE_ALL = 0, ARK_MIXED_MODE_COMPATIBLE = 1, @@ -4238,24 +4346,30 @@ typedef struct Opt_TextAreaType { Ark_Tag tag; Ark_TextAreaType value; } Opt_TextAreaType; -typedef enum Ark_TextSelectableMode { - ARK_TEXT_SELECTABLE_MODE_SELECTABLE_UNFOCUSABLE = 0, - ARK_TEXT_SELECTABLE_MODE_SELECTABLE_FOCUSABLE = 1, - ARK_TEXT_SELECTABLE_MODE_UNSELECTABLE = 2, -} Ark_TextSelectableMode; -typedef struct Opt_TextSelectableMode { - Ark_Tag tag; - Ark_TextSelectableMode value; -} Opt_TextSelectableMode; -typedef enum Ark_EllipsisMode { - ARK_ELLIPSIS_MODE_START = 0, - ARK_ELLIPSIS_MODE_CENTER = 1, - ARK_ELLIPSIS_MODE_END = 2, -} Ark_EllipsisMode; -typedef struct Opt_EllipsisMode { - Ark_Tag tag; - Ark_EllipsisMode value; -} Opt_EllipsisMode; +typedef enum Ark_EffectFillStyle { + ARK_EFFECT_FILL_STYLE_CUMULATIVE = 0, + ARK_EFFECT_FILL_STYLE_ITERATIVE = 1, +} Ark_EffectFillStyle; +typedef struct Opt_EffectFillStyle { + Ark_Tag tag; + Ark_EffectFillStyle value; +} Opt_EffectFillStyle; +typedef enum Ark_EffectScope { + ARK_EFFECT_SCOPE_LAYER = 0, + ARK_EFFECT_SCOPE_WHOLE = 1, +} Ark_EffectScope; +typedef struct Opt_EffectScope { + Ark_Tag tag; + Ark_EffectScope value; +} Opt_EffectScope; +typedef enum Ark_EffectDirection { + ARK_EFFECT_DIRECTION_DOWN = 0, + ARK_EFFECT_DIRECTION_UP = 1, +} Ark_EffectDirection; +typedef struct Opt_EffectDirection { + Ark_Tag tag; + Ark_EffectDirection value; +} Opt_EffectDirection; typedef enum Ark_SwiperNestedScrollMode { ARK_SWIPER_NESTED_SCROLL_MODE_SELF_ONLY = 0, ARK_SWIPER_NESTED_SCROLL_MODE_SELF_FIRST = 1, @@ -4284,15 +4398,23 @@ typedef struct Opt_ItemState { Ark_Tag tag; Ark_ItemState value; } Opt_ItemState; -typedef enum Ark_TextCase { - ARK_TEXT_CASE_NORMAL = 0, - ARK_TEXT_CASE_LOWER_CASE = 1, - ARK_TEXT_CASE_UPPER_CASE = 2, -} Ark_TextCase; -typedef struct Opt_TextCase { - Ark_Tag tag; - Ark_TextCase value; -} Opt_TextCase; +typedef enum Ark_LayoutDirection { + ARK_LAYOUT_DIRECTION_LTR = 0, + ARK_LAYOUT_DIRECTION_RTL = 1, + ARK_LAYOUT_DIRECTION_AUTO = 2, +} Ark_LayoutDirection; +typedef struct Opt_LayoutDirection { + Ark_Tag tag; + Ark_LayoutDirection value; +} Opt_LayoutDirection; +typedef enum Ark_ColorMode { + ARK_COLOR_MODE_LIGHT = 0, + ARK_COLOR_MODE_DARK = 1, +} Ark_ColorMode; +typedef struct Opt_ColorMode { + Ark_Tag tag; + Ark_ColorMode value; +} Opt_ColorMode; typedef enum Ark_SliderInteraction { ARK_SLIDER_INTERACTION_SLIDE_AND_CLICK = 0, ARK_SLIDER_INTERACTION_SLIDE_ONLY = 1, @@ -4401,6 +4523,49 @@ typedef struct Opt_PasteButtonOnClickResult { Ark_Tag tag; Ark_PasteButtonOnClickResult value; } Opt_PasteButtonOnClickResult; +typedef enum Ark_DisturbanceFieldShape { + ARK_DISTURBANCE_FIELD_SHAPE_RECT = 0, + ARK_DISTURBANCE_FIELD_SHAPE_CIRCLE = 1, + ARK_DISTURBANCE_FIELD_SHAPE_ELLIPSE = 2, +} Ark_DisturbanceFieldShape; +typedef struct Opt_DisturbanceFieldShape { + Ark_Tag tag; + Ark_DisturbanceFieldShape value; +} Opt_DisturbanceFieldShape; +typedef enum Ark_ParticleUpdater { + ARK_PARTICLE_UPDATER_NONE, + ARK_PARTICLE_UPDATER_RANDOM, + ARK_PARTICLE_UPDATER_CURVE, +} Ark_ParticleUpdater; +typedef struct Opt_ParticleUpdater { + Ark_Tag tag; + Ark_ParticleUpdater value; +} Opt_ParticleUpdater; +typedef enum Ark_DistributionType { + ARK_DISTRIBUTION_TYPE_UNIFORM = 0, + ARK_DISTRIBUTION_TYPE_GAUSSIAN = 1, +} Ark_DistributionType; +typedef struct Opt_DistributionType { + Ark_Tag tag; + Ark_DistributionType value; +} Opt_DistributionType; +typedef enum Ark_ParticleEmitterShape { + ARK_PARTICLE_EMITTER_SHAPE_RECTANGLE, + ARK_PARTICLE_EMITTER_SHAPE_CIRCLE, + ARK_PARTICLE_EMITTER_SHAPE_ELLIPSE, +} Ark_ParticleEmitterShape; +typedef struct Opt_ParticleEmitterShape { + Ark_Tag tag; + Ark_ParticleEmitterShape value; +} Opt_ParticleEmitterShape; +typedef enum Ark_ParticleType { + ARK_PARTICLE_TYPE_POINT, + ARK_PARTICLE_TYPE_IMAGE, +} Ark_ParticleType; +typedef struct Opt_ParticleType { + Ark_Tag tag; + Ark_ParticleType value; +} Opt_ParticleType; typedef enum Ark_PanelType { ARK_PANEL_TYPE_MINIBAR = 0, ARK_PANEL_TYPE_FOLDABLE = 1, @@ -4420,15 +4585,27 @@ typedef struct Opt_PanelMode { Ark_Tag tag; Ark_PanelMode value; } Opt_PanelMode; -typedef enum Ark_NavigationMode { - ARK_NAVIGATION_MODE_STACK = 0, - ARK_NAVIGATION_MODE_SPLIT = 1, - ARK_NAVIGATION_MODE_AUTO = 2, -} Ark_NavigationMode; -typedef struct Opt_NavigationMode { +typedef enum Ark_SlideEffect { + ARK_SLIDE_EFFECT_LEFT = 0, + ARK_SLIDE_EFFECT_RIGHT = 1, + ARK_SLIDE_EFFECT_TOP = 2, + ARK_SLIDE_EFFECT_BOTTOM = 3, + ARK_SLIDE_EFFECT_START = 5, + ARK_SLIDE_EFFECT_END = 6, +} Ark_SlideEffect; +typedef struct Opt_SlideEffect { + Ark_Tag tag; + Ark_SlideEffect value; +} Opt_SlideEffect; +typedef enum Ark_RouteType { + ARK_ROUTE_TYPE_NONE = 0, + ARK_ROUTE_TYPE_PUSH = 1, + ARK_ROUTE_TYPE_POP = 2, +} Ark_RouteType; +typedef struct Opt_RouteType { Ark_Tag tag; - Ark_NavigationMode value; -} Opt_NavigationMode; + Ark_RouteType value; +} Opt_RouteType; typedef enum Ark_NavigationOperation { ARK_NAVIGATION_OPERATION_PUSH = 1, ARK_NAVIGATION_OPERATION_POP = 2, @@ -4438,6 +4615,32 @@ typedef struct Opt_NavigationOperation { Ark_Tag tag; Ark_NavigationOperation value; } Opt_NavigationOperation; +typedef enum Ark_NavigationTitleMode { + ARK_NAVIGATION_TITLE_MODE_FREE = 0, + ARK_NAVIGATION_TITLE_MODE_FULL = 1, + ARK_NAVIGATION_TITLE_MODE_MINI = 2, +} Ark_NavigationTitleMode; +typedef struct Opt_NavigationTitleMode { + Ark_Tag tag; + Ark_NavigationTitleMode value; +} Opt_NavigationTitleMode; +typedef enum Ark_NavBarPosition { + ARK_NAV_BAR_POSITION_START = 0, + ARK_NAV_BAR_POSITION_END = 1, +} Ark_NavBarPosition; +typedef struct Opt_NavBarPosition { + Ark_Tag tag; + Ark_NavBarPosition value; +} Opt_NavBarPosition; +typedef enum Ark_NavigationMode { + ARK_NAVIGATION_MODE_STACK = 0, + ARK_NAVIGATION_MODE_SPLIT = 1, + ARK_NAVIGATION_MODE_AUTO = 2, +} Ark_NavigationMode; +typedef struct Opt_NavigationMode { + Ark_Tag tag; + Ark_NavigationMode value; +} Opt_NavigationMode; typedef enum Ark_NavRouteMode { ARK_NAV_ROUTE_MODE_PUSH_WITH_RECREATE = 0, ARK_NAV_ROUTE_MODE_PUSH = 1, @@ -4447,21 +4650,6 @@ typedef struct Opt_NavRouteMode { Ark_Tag tag; Ark_NavRouteMode value; } Opt_NavRouteMode; -typedef enum Ark_LayoutSafeAreaEdge { - ARK_LAYOUT_SAFE_AREA_EDGE_TOP = 0, - ARK_LAYOUT_SAFE_AREA_EDGE_BOTTOM = 1, -} Ark_LayoutSafeAreaEdge; -typedef struct Opt_LayoutSafeAreaEdge { - Ark_Tag tag; - Ark_LayoutSafeAreaEdge value; -} Opt_LayoutSafeAreaEdge; -typedef enum Ark_LayoutSafeAreaType { - ARK_LAYOUT_SAFE_AREA_TYPE_SYSTEM = 0, -} Ark_LayoutSafeAreaType; -typedef struct Opt_LayoutSafeAreaType { - Ark_Tag tag; - Ark_LayoutSafeAreaType value; -} Opt_LayoutSafeAreaType; typedef enum Ark_NavigationSystemTransitionType { ARK_NAVIGATION_SYSTEM_TRANSITION_TYPE_DEFAULT = 0, ARK_NAVIGATION_SYSTEM_TRANSITION_TYPE_NONE = 1, @@ -4481,14 +4669,6 @@ typedef struct Opt_SubMenuExpandingMode { Ark_Tag tag; Ark_SubMenuExpandingMode value; } Opt_SubMenuExpandingMode; -typedef enum Ark_MarqueeUpdateStrategy { - ARK_MARQUEE_UPDATE_STRATEGY_DEFAULT = 0, - ARK_MARQUEE_UPDATE_STRATEGY_PRESERVE_POSITION = 1, -} Ark_MarqueeUpdateStrategy; -typedef struct Opt_MarqueeUpdateStrategy { - Ark_Tag tag; - Ark_MarqueeUpdateStrategy value; -} Opt_MarqueeUpdateStrategy; typedef enum Ark_LocationButtonOnClickResult { ARK_LOCATION_BUTTON_ON_CLICK_RESULT_SUCCESS = 0, ARK_LOCATION_BUTTON_ON_CLICK_RESULT_TEMPORARY_AUTHORIZATION_FAILED = 1, @@ -4497,6 +4677,15 @@ typedef struct Opt_LocationButtonOnClickResult { Ark_Tag tag; Ark_LocationButtonOnClickResult value; } Opt_LocationButtonOnClickResult; +typedef enum Ark_LoadingProgressStyle { + ARK_LOADING_PROGRESS_STYLE_DEFAULT = 0, + ARK_LOADING_PROGRESS_STYLE_CIRCULAR = 1, + ARK_LOADING_PROGRESS_STYLE_ORBITAL = 2, +} Ark_LoadingProgressStyle; +typedef struct Opt_LoadingProgressStyle { + Ark_Tag tag; + Ark_LoadingProgressStyle value; +} Opt_LoadingProgressStyle; typedef enum Ark_SwipeActionState { ARK_SWIPE_ACTION_STATE_COLLAPSED = 0, ARK_SWIPE_ACTION_STATE_EXPANDED = 1, @@ -4533,16 +4722,18 @@ typedef struct Opt_ListItemAlign { Ark_Tag tag; Ark_ListItemAlign value; } Opt_ListItemAlign; -typedef enum Ark_CopyOptions { - ARK_COPY_OPTIONS_NONE = 0, - ARK_COPY_OPTIONS_IN_APP = 1, - ARK_COPY_OPTIONS_LOCAL_DEVICE = 2, - ARK_COPY_OPTIONS_CROSS_DEVICE = 3, -} Ark_CopyOptions; -typedef struct Opt_CopyOptions { - Ark_Tag tag; - Ark_CopyOptions value; -} Opt_CopyOptions; +typedef enum Ark_DataOperationType { + ARK_DATA_OPERATION_TYPE_ADD, + ARK_DATA_OPERATION_TYPE_DELETE, + ARK_DATA_OPERATION_TYPE_EXCHANGE, + ARK_DATA_OPERATION_TYPE_MOVE, + ARK_DATA_OPERATION_TYPE_CHANGE, + ARK_DATA_OPERATION_TYPE_RELOAD, +} Ark_DataOperationType; +typedef struct Opt_DataOperationType { + Ark_Tag tag; + Ark_DataOperationType value; +} Opt_DataOperationType; typedef enum Ark_ImageInterpolation { ARK_IMAGE_INTERPOLATION_NONE = 0, ARK_IMAGE_INTERPOLATION_LOW = 1, @@ -4580,6 +4771,131 @@ typedef struct Opt_GridDirection { Ark_Tag tag; Ark_GridDirection value; } Opt_GridDirection; +typedef enum Ark_GestureRecognizerState { + ARK_GESTURE_RECOGNIZER_STATE_READY = 0, + ARK_GESTURE_RECOGNIZER_STATE_DETECTING = 1, + ARK_GESTURE_RECOGNIZER_STATE_PENDING = 2, + ARK_GESTURE_RECOGNIZER_STATE_BLOCKED = 3, + ARK_GESTURE_RECOGNIZER_STATE_SUCCESSFUL = 4, + ARK_GESTURE_RECOGNIZER_STATE_FAILED = 5, +} Ark_GestureRecognizerState; +typedef struct Opt_GestureRecognizerState { + Ark_Tag tag; + Ark_GestureRecognizerState value; +} Opt_GestureRecognizerState; +typedef enum Ark_GesturePriority { + ARK_GESTURE_PRIORITY_NORMAL = 0, + ARK_GESTURE_PRIORITY_PRIORITY = 1, +} Ark_GesturePriority; +typedef struct Opt_GesturePriority { + Ark_Tag tag; + Ark_GesturePriority value; +} Opt_GesturePriority; +typedef enum Ark_GestureMode { + ARK_GESTURE_MODE_SEQUENCE = 0, + ARK_GESTURE_MODE_PARALLEL = 1, + ARK_GESTURE_MODE_EXCLUSIVE = 2, +} Ark_GestureMode; +typedef struct Opt_GestureMode { + Ark_Tag tag; + Ark_GestureMode value; +} Opt_GestureMode; +typedef enum Ark_SwipeDirection { + ARK_SWIPE_DIRECTION_NONE = 0, + ARK_SWIPE_DIRECTION_HORIZONTAL = 1, + ARK_SWIPE_DIRECTION_VERTICAL = 2, + ARK_SWIPE_DIRECTION_ALL = 3, +} Ark_SwipeDirection; +typedef struct Opt_SwipeDirection { + Ark_Tag tag; + Ark_SwipeDirection value; +} Opt_SwipeDirection; +typedef enum Ark_HeightBreakpoint { + ARK_HEIGHT_BREAKPOINT_HEIGHT_SM = 0, + ARK_HEIGHT_BREAKPOINT_HEIGHT_MD = 1, + ARK_HEIGHT_BREAKPOINT_HEIGHT_LG = 2, +} Ark_HeightBreakpoint; +typedef struct Opt_HeightBreakpoint { + Ark_Tag tag; + Ark_HeightBreakpoint value; +} Opt_HeightBreakpoint; +typedef enum Ark_WidthBreakpoint { + ARK_WIDTH_BREAKPOINT_WIDTH_XS = 0, + ARK_WIDTH_BREAKPOINT_WIDTH_SM = 1, + ARK_WIDTH_BREAKPOINT_WIDTH_MD = 2, + ARK_WIDTH_BREAKPOINT_WIDTH_LG = 3, + ARK_WIDTH_BREAKPOINT_WIDTH_XL = 4, +} Ark_WidthBreakpoint; +typedef struct Opt_WidthBreakpoint { + Ark_Tag tag; + Ark_WidthBreakpoint value; +} Opt_WidthBreakpoint; +typedef enum Ark_TextSelectableMode { + ARK_TEXT_SELECTABLE_MODE_SELECTABLE_UNFOCUSABLE = 0, + ARK_TEXT_SELECTABLE_MODE_SELECTABLE_FOCUSABLE = 1, + ARK_TEXT_SELECTABLE_MODE_UNSELECTABLE = 2, +} Ark_TextSelectableMode; +typedef struct Opt_TextSelectableMode { + Ark_Tag tag; + Ark_TextSelectableMode value; +} Opt_TextSelectableMode; +typedef enum Ark_MarqueeUpdateStrategy { + ARK_MARQUEE_UPDATE_STRATEGY_DEFAULT = 0, + ARK_MARQUEE_UPDATE_STRATEGY_PRESERVE_POSITION = 1, +} Ark_MarqueeUpdateStrategy; +typedef struct Opt_MarqueeUpdateStrategy { + Ark_Tag tag; + Ark_MarqueeUpdateStrategy value; +} Opt_MarqueeUpdateStrategy; +typedef enum Ark_EllipsisMode { + ARK_ELLIPSIS_MODE_START = 0, + ARK_ELLIPSIS_MODE_CENTER = 1, + ARK_ELLIPSIS_MODE_END = 2, +} Ark_EllipsisMode; +typedef struct Opt_EllipsisMode { + Ark_Tag tag; + Ark_EllipsisMode value; +} Opt_EllipsisMode; +typedef enum Ark_CopyOptions { + ARK_COPY_OPTIONS_NONE = 0, + ARK_COPY_OPTIONS_IN_APP = 1, + ARK_COPY_OPTIONS_LOCAL_DEVICE = 2, + ARK_COPY_OPTIONS_CROSS_DEVICE = 3, +} Ark_CopyOptions; +typedef struct Opt_CopyOptions { + Ark_Tag tag; + Ark_CopyOptions value; +} Opt_CopyOptions; +typedef enum Ark_TextCase { + ARK_TEXT_CASE_NORMAL = 0, + ARK_TEXT_CASE_LOWER_CASE = 1, + ARK_TEXT_CASE_UPPER_CASE = 2, +} Ark_TextCase; +typedef struct Opt_TextCase { + Ark_Tag tag; + Ark_TextCase value; +} Opt_TextCase; +typedef enum Ark_RelateType { + ARK_RELATE_TYPE_FILL = 0, + ARK_RELATE_TYPE_FIT = 1, +} Ark_RelateType; +typedef struct Opt_RelateType { + Ark_Tag tag; + Ark_RelateType value; +} Opt_RelateType; +typedef enum Ark_Week { + ARK_WEEK_MON = 0, + ARK_WEEK_TUE = 1, + ARK_WEEK_WED = 2, + ARK_WEEK_THUR = 3, + ARK_WEEK_FRI = 4, + ARK_WEEK_SAT = 5, + ARK_WEEK_SUN = 6, +} Ark_Week; +typedef struct Opt_Week { + Ark_Tag tag; + Ark_Week value; +} Opt_Week; typedef enum Ark_EmbeddedType { ARK_EMBEDDED_TYPE_EMBEDDED_UI_EXTENSION = 0, } Ark_EmbeddedType; @@ -4637,25 +4953,6 @@ typedef struct Opt_ModifierKey { Ark_Tag tag; Ark_ModifierKey value; } Opt_ModifierKey; -typedef enum Ark_SafeAreaEdge { - ARK_SAFE_AREA_EDGE_TOP = 0, - ARK_SAFE_AREA_EDGE_BOTTOM = 1, - ARK_SAFE_AREA_EDGE_START = 2, - ARK_SAFE_AREA_EDGE_END = 3, -} Ark_SafeAreaEdge; -typedef struct Opt_SafeAreaEdge { - Ark_Tag tag; - Ark_SafeAreaEdge value; -} Opt_SafeAreaEdge; -typedef enum Ark_SafeAreaType { - ARK_SAFE_AREA_TYPE_SYSTEM = 0, - ARK_SAFE_AREA_TYPE_CUTOUT = 1, - ARK_SAFE_AREA_TYPE_KEYBOARD = 2, -} Ark_SafeAreaType; -typedef struct Opt_SafeAreaType { - Ark_Tag tag; - Ark_SafeAreaType value; -} Opt_SafeAreaType; typedef enum Ark_GestureJudgeResult { ARK_GESTURE_JUDGE_RESULT_CONTINUE = 0, ARK_GESTURE_JUDGE_RESULT_REJECT = 1, @@ -4693,19 +4990,6 @@ typedef struct Opt_ObscuredReasons { Ark_Tag tag; Ark_ObscuredReasons value; } Opt_ObscuredReasons; -typedef enum Ark_PreDragStatus { - ARK_PRE_DRAG_STATUS_ACTION_DETECTING_STATUS = 0, - ARK_PRE_DRAG_STATUS_READY_TO_TRIGGER_DRAG_ACTION = 1, - ARK_PRE_DRAG_STATUS_PREVIEW_LIFT_STARTED = 2, - ARK_PRE_DRAG_STATUS_PREVIEW_LIFT_FINISHED = 3, - 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_PreDragStatus; -typedef struct Opt_PreDragStatus { - Ark_Tag tag; - Ark_PreDragStatus value; -} Opt_PreDragStatus; typedef enum Ark_Direction { ARK_DIRECTION_LTR = 0, ARK_DIRECTION_RTL = 1, @@ -4744,6 +5028,53 @@ typedef struct Opt_HitTestMode { Ark_Tag tag; Ark_HitTestMode value; } Opt_HitTestMode; +typedef enum Ark_LayoutSafeAreaEdge { + ARK_LAYOUT_SAFE_AREA_EDGE_TOP = 0, + ARK_LAYOUT_SAFE_AREA_EDGE_BOTTOM = 1, +} Ark_LayoutSafeAreaEdge; +typedef struct Opt_LayoutSafeAreaEdge { + Ark_Tag tag; + Ark_LayoutSafeAreaEdge value; +} Opt_LayoutSafeAreaEdge; +typedef enum Ark_LayoutSafeAreaType { + ARK_LAYOUT_SAFE_AREA_TYPE_SYSTEM = 0, +} Ark_LayoutSafeAreaType; +typedef struct Opt_LayoutSafeAreaType { + Ark_Tag tag; + Ark_LayoutSafeAreaType value; +} Opt_LayoutSafeAreaType; +typedef enum Ark_SafeAreaEdge { + ARK_SAFE_AREA_EDGE_TOP = 0, + ARK_SAFE_AREA_EDGE_BOTTOM = 1, + ARK_SAFE_AREA_EDGE_START = 2, + ARK_SAFE_AREA_EDGE_END = 3, +} Ark_SafeAreaEdge; +typedef struct Opt_SafeAreaEdge { + Ark_Tag tag; + Ark_SafeAreaEdge value; +} Opt_SafeAreaEdge; +typedef enum Ark_SafeAreaType { + ARK_SAFE_AREA_TYPE_SYSTEM = 0, + ARK_SAFE_AREA_TYPE_CUTOUT = 1, + ARK_SAFE_AREA_TYPE_KEYBOARD = 2, +} Ark_SafeAreaType; +typedef struct Opt_SafeAreaType { + Ark_Tag tag; + Ark_SafeAreaType value; +} Opt_SafeAreaType; +typedef enum Ark_PreDragStatus { + ARK_PRE_DRAG_STATUS_ACTION_DETECTING_STATUS = 0, + ARK_PRE_DRAG_STATUS_READY_TO_TRIGGER_DRAG_ACTION = 1, + ARK_PRE_DRAG_STATUS_PREVIEW_LIFT_STARTED = 2, + ARK_PRE_DRAG_STATUS_PREVIEW_LIFT_FINISHED = 3, + 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_PreDragStatus; +typedef struct Opt_PreDragStatus { + Ark_Tag tag; + Ark_PreDragStatus value; +} Opt_PreDragStatus; typedef enum Ark_CheckBoxShape { ARK_CHECK_BOX_SHAPE_CIRCLE = 0, ARK_CHECK_BOX_SHAPE_ROUNDED_SQUARE = 1, @@ -5450,14 +5781,14 @@ typedef struct Opt_Callback_ClickEvent_Void { Ark_Tag tag; Callback_ClickEvent_Void value; } Opt_Callback_ClickEvent_Void; -typedef struct Array_CustomObject { - Ark_CustomObject* array; +typedef struct Array_Union_Number_String { + Ark_Union_Number_String* array; Ark_Int32 length; -} Array_CustomObject; -typedef struct Opt_Array_CustomObject { +} Array_Union_Number_String; +typedef struct Opt_Array_Union_Number_String { Ark_Tag tag; - Array_CustomObject value; -} Opt_Array_CustomObject; + Array_Union_Number_String value; +} Opt_Array_Union_Number_String; typedef struct Callback_PopInfo_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_PopInfo parameter); @@ -6206,18 +6537,18 @@ typedef struct Opt_RichEditorGesture { Ark_Tag tag; Ark_RichEditorGesture value; } Opt_RichEditorGesture; -typedef struct Ark_Union_Number_String_Array_Any { +typedef struct Ark_Union_Number_String_Array_Union_Number_String { Ark_Int32 selector; union { Ark_Number value0; Ark_String value1; - Array_CustomObject value2; + Array_Union_Number_String value2; }; -} Ark_Union_Number_String_Array_Any; -typedef struct Opt_Union_Number_String_Array_Any { +} Ark_Union_Number_String_Array_Union_Number_String; +typedef struct Opt_Union_Number_String_Array_Union_Number_String { Ark_Tag tag; - Ark_Union_Number_String_Array_Any value; -} Opt_Union_Number_String_Array_Any; + Ark_Union_Number_String_Array_Union_Number_String value; +} Opt_Union_Number_String_Array_Union_Number_String; typedef struct Ark_Union_String_Number_Resource { Ark_Int32 selector; union { @@ -7108,23 +7439,6 @@ typedef struct Opt_EventResult { Ark_Tag tag; Ark_EventResult value; } Opt_EventResult; -typedef struct Ark_TouchEvent { - Ark_EventTarget target; - Ark_Number timestamp; - Ark_SourceType source; - Opt_Number axisHorizontal; - Opt_Number axisVertical; - Ark_Number pressure; - Ark_Number tiltX; - Ark_Number tiltY; - Ark_SourceTool sourceTool; - Opt_Number deviceId; - Ark_TouchType type; - Array_TouchObject touches; - Array_TouchObject changedTouches; - Callback_Void stopPropagation; - Callback_Void preventDefault; -} Ark_TouchEvent; typedef struct Opt_TouchEvent { Ark_Tag tag; Ark_TouchEvent value; @@ -7264,15 +7578,15 @@ typedef struct Opt_Union_WebController_WebviewController { Ark_Tag tag; Ark_Union_WebController_WebviewController value; } Opt_Union_WebController_WebviewController; -typedef struct Ark_Literal_Object_object_String_name_Array_String_methodList { - Ark_CustomObject object; +typedef struct Ark_Literal_Object_object__String_name_Array_String_methodList { + Ark_CustomObject object_; Ark_String name; Array_String methodList; -} Ark_Literal_Object_object_String_name_Array_String_methodList; -typedef struct Opt_Literal_Object_object_String_name_Array_String_methodList { +} Ark_Literal_Object_object__String_name_Array_String_methodList; +typedef struct Opt_Literal_Object_object__String_name_Array_String_methodList { Ark_Tag tag; - Ark_Literal_Object_object_String_name_Array_String_methodList value; -} Opt_Literal_Object_object_String_name_Array_String_methodList; + Ark_Literal_Object_object__String_name_Array_String_methodList value; +} Opt_Literal_Object_object__String_name_Array_String_methodList; typedef struct Ark_Literal_Union_String_Resource_url_Array_Header_headers { Ark_Union_String_Resource url; Opt_Array_Header headers; @@ -7292,14 +7606,14 @@ typedef struct Opt_Literal_String_baseUrl_data_encoding_historyUrl_mimeType { Ark_Tag tag; Ark_Literal_String_baseUrl_data_encoding_historyUrl_mimeType value; } Opt_Literal_String_baseUrl_data_encoding_historyUrl_mimeType; -typedef struct Ark_Literal_String_script_Callback_String_Void_callback { +typedef struct Ark_Literal_String_script_Callback_String_Void_callback_ { Ark_String script; - Opt_Callback_String_Void callback; -} Ark_Literal_String_script_Callback_String_Void_callback; -typedef struct Opt_Literal_String_script_Callback_String_Void_callback { + Opt_Callback_String_Void callback_; +} Ark_Literal_String_script_Callback_String_Void_callback_; +typedef struct Opt_Literal_String_script_Callback_String_Void_callback_ { Ark_Tag tag; - Ark_Literal_String_script_Callback_String_Void_callback value; -} Opt_Literal_String_script_Callback_String_Void_callback; + Ark_Literal_String_script_Callback_String_Void_callback_ value; +} Opt_Literal_String_script_Callback_String_Void_callback_; typedef struct Ark_ScreenCaptureConfig { Ark_WebCaptureMode captureMode; } Ark_ScreenCaptureConfig; @@ -7698,6 +8012,15 @@ typedef struct Opt_Union_Dimension_Array_Dimension { Ark_Tag tag; Ark_Union_Dimension_Array_Dimension value; } Opt_Union_Dimension_Array_Dimension; +typedef struct ScrollOnScrollCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Number xOffset, const Ark_Number yOffset, Ark_ScrollState scrollState); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number xOffset, const Ark_Number yOffset, Ark_ScrollState scrollState); +} ScrollOnScrollCallback; +typedef struct Opt_ScrollOnScrollCallback { + Ark_Tag tag; + ScrollOnScrollCallback value; +} Opt_ScrollOnScrollCallback; typedef struct ScrollOnWillScrollCallback { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_Number xOffset, const Ark_Number yOffset, Ark_ScrollState scrollState, Ark_ScrollSource scrollSource, const Callback_OffsetResult_Void continuation); @@ -7945,7 +8268,7 @@ typedef struct Opt_RoundedRectOptions { typedef struct Ark_RectOptions { Opt_Union_Number_String width; Opt_Union_Number_String height; - Opt_Union_Number_String_Array_Any radius; + Opt_Union_Number_String_Array_Union_Number_String radius; } Ark_RectOptions; typedef struct Opt_RectOptions { Ark_Tag tag; @@ -8399,15 +8722,77 @@ typedef struct Ark_Union_ResourceStr_Scene { } Ark_Union_ResourceStr_Scene; typedef struct Opt_Union_ResourceStr_Scene { Ark_Tag tag; - Ark_Union_ResourceStr_Scene value; -} Opt_Union_ResourceStr_Scene; -typedef struct Ark_UIGestureEvent { - void *handle; -} Ark_UIGestureEvent; -typedef struct Opt_UIGestureEvent { + Ark_Union_ResourceStr_Scene value; +} Opt_Union_ResourceStr_Scene; +typedef struct Ark_UIGestureEvent { + void *handle; +} Ark_UIGestureEvent; +typedef struct Opt_UIGestureEvent { + Ark_Tag tag; + Ark_UIGestureEvent value; +} Opt_UIGestureEvent; +typedef struct VisibleAreaChangeCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Boolean isExpanding, const Ark_Number currentRatio); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Boolean isExpanding, const Ark_Number currentRatio); +} VisibleAreaChangeCallback; +typedef struct Opt_VisibleAreaChangeCallback { + Ark_Tag tag; + VisibleAreaChangeCallback value; +} Opt_VisibleAreaChangeCallback; +typedef struct Ark_VisibleAreaEventOptions { + Array_Number ratios; + Opt_Number expectedUpdateInterval; +} Ark_VisibleAreaEventOptions; +typedef struct Opt_VisibleAreaEventOptions { + Ark_Tag tag; + Ark_VisibleAreaEventOptions value; +} Opt_VisibleAreaEventOptions; +typedef struct SizeChangeCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_SizeOptions oldValue, const Ark_SizeOptions newValue); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_SizeOptions oldValue, const Ark_SizeOptions newValue); +} SizeChangeCallback; +typedef struct Opt_SizeChangeCallback { + Ark_Tag tag; + SizeChangeCallback value; +} Opt_SizeChangeCallback; +typedef struct Callback_MouseEvent_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_MouseEvent event); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_MouseEvent event); +} Callback_MouseEvent_Void; +typedef struct Opt_Callback_MouseEvent_Void { + Ark_Tag tag; + Callback_MouseEvent_Void value; +} Opt_Callback_MouseEvent_Void; +typedef struct HoverCallback { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_Boolean isHover, const Ark_HoverEvent event); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Boolean isHover, const Ark_HoverEvent event); +} HoverCallback; +typedef struct Opt_HoverCallback { + Ark_Tag tag; + HoverCallback value; +} Opt_HoverCallback; +typedef struct Callback_KeyEvent_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_KeyEvent event); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_KeyEvent event); +} Callback_KeyEvent_Void; +typedef struct Opt_Callback_KeyEvent_Void { Ark_Tag tag; - Ark_UIGestureEvent value; -} Opt_UIGestureEvent; + Callback_KeyEvent_Void value; +} Opt_Callback_KeyEvent_Void; +typedef struct Callback_TouchEvent_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_TouchEvent event); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_TouchEvent event); +} Callback_TouchEvent_Void; +typedef struct Opt_Callback_TouchEvent_Void { + Ark_Tag tag; + Callback_TouchEvent_Void value; +} Opt_Callback_TouchEvent_Void; typedef struct OnMoveHandler { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_Number from, const Ark_Number to); @@ -8447,15 +8832,6 @@ typedef struct Opt_AccessibilityOptions { Ark_Tag tag; Ark_AccessibilityOptions value; } Opt_AccessibilityOptions; -typedef struct VisibleAreaChangeCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_Boolean isExpanding, const Ark_Number currentRatio); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Boolean isExpanding, const Ark_Number currentRatio); -} VisibleAreaChangeCallback; -typedef struct Opt_VisibleAreaChangeCallback { - Ark_Tag tag; - VisibleAreaChangeCallback value; -} Opt_VisibleAreaChangeCallback; typedef struct Ark_SheetOptions { Opt_ResourceColor backgroundColor; Opt_Callback_Void onAppear; @@ -8998,6 +9374,10 @@ typedef struct Opt_DrawModifier { Ark_Tag tag; Ark_DrawModifier value; } Opt_DrawModifier; +typedef struct Opt_UnifiedData { + Ark_Tag tag; + Ark_UnifiedData value; +} Opt_UnifiedData; typedef struct Ark_Literal_TransitionEffect_appear_disappear { Ark_TransitionEffect appear; Ark_TransitionEffect disappear; @@ -9272,27 +9652,6 @@ typedef struct Opt_ActionSheetOptions { Ark_Tag tag; Ark_ActionSheetOptions value; } Opt_ActionSheetOptions; -typedef struct Ark_ClickEvent { - Ark_EventTarget target; - Ark_Number timestamp; - Ark_SourceType source; - Opt_Number axisHorizontal; - Opt_Number axisVertical; - Ark_Number pressure; - Ark_Number tiltX; - Ark_Number tiltY; - Ark_SourceTool sourceTool; - Opt_Number deviceId; - Ark_Number displayX; - Ark_Number displayY; - Ark_Number windowX; - Ark_Number windowY; - Ark_Number screenX; - Ark_Number screenY; - Ark_Number x; - Ark_Number y; - Callback_Void preventDefault; -} Ark_ClickEvent; typedef struct Opt_ClickEvent { Ark_Tag tag; Ark_ClickEvent value; @@ -9341,15 +9700,6 @@ typedef struct Opt_SliderTriggerChangeCallback { Ark_Tag tag; SliderTriggerChangeCallback value; } Opt_SliderTriggerChangeCallback; -typedef struct ScrollOnScrollCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_Number xOffset, const Ark_Number yOffset, Ark_ScrollState scrollState); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number xOffset, const Ark_Number yOffset, Ark_ScrollState scrollState); -} ScrollOnScrollCallback; -typedef struct Opt_ScrollOnScrollCallback { - Ark_Tag tag; - ScrollOnScrollCallback value; -} Opt_ScrollOnScrollCallback; typedef struct PageTransitionCallback { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, Ark_RouteType type, const Ark_Number progress); @@ -9385,15 +9735,6 @@ typedef struct Opt_IsolatedComponentInterface { Ark_Tag tag; IsolatedComponentInterface value; } Opt_IsolatedComponentInterface; -typedef struct HoverCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_Boolean isHover, const Ark_HoverEvent event); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Boolean isHover, const Ark_HoverEvent event); -} HoverCallback; -typedef struct Opt_HoverCallback { - Ark_Tag tag; - HoverCallback value; -} Opt_HoverCallback; typedef struct Ark_WithThemeAttribute { void *handle; } Ark_WithThemeAttribute; @@ -9619,6 +9960,15 @@ typedef struct Opt_Callback_GestureJudgeResult_Void { Ark_Tag tag; Callback_GestureJudgeResult_Void value; } Opt_Callback_GestureJudgeResult_Void; +typedef struct Callback_CustomBuilder_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const CustomNodeBuilder value); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const CustomNodeBuilder value); +} Callback_CustomBuilder_Void; +typedef struct Opt_Callback_CustomBuilder_Void { + Ark_Tag tag; + Callback_CustomBuilder_Void value; +} Opt_Callback_CustomBuilder_Void; typedef struct Callback_ComputedBarAttribute_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_ComputedBarAttribute value); @@ -9628,15 +9978,6 @@ typedef struct Opt_Callback_ComputedBarAttribute_Void { Ark_Tag tag; Callback_ComputedBarAttribute_Void value; } Opt_Callback_ComputedBarAttribute_Void; -typedef struct Callback_Callback_Any_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Callback_Any value); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Callback_Any value); -} Callback_Callback_Any_Void; -typedef struct Opt_Callback_Callback_Any_Void { - Ark_Tag tag; - Callback_Callback_Any_Void value; -} Opt_Callback_Callback_Any_Void; typedef struct Callback_Array_String_Void { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Array_String value); @@ -10467,23 +10808,23 @@ typedef struct Opt_Callback_OnResourceLoadEvent_Void { Ark_Tag tag; Callback_OnResourceLoadEvent_Void value; } Opt_Callback_OnResourceLoadEvent_Void; -typedef struct Ark_Literal_Function_callback_Object_fileSelector { - Ark_Function callback; +typedef struct Ark_Literal_Function_callback__Object_fileSelector { + Ark_Function callback_; Ark_CustomObject fileSelector; -} Ark_Literal_Function_callback_Object_fileSelector; -typedef struct Opt_Literal_Function_callback_Object_fileSelector { +} Ark_Literal_Function_callback__Object_fileSelector; +typedef struct Opt_Literal_Function_callback__Object_fileSelector { Ark_Tag tag; - Ark_Literal_Function_callback_Object_fileSelector value; -} Opt_Literal_Function_callback_Object_fileSelector; -typedef struct Callback_Literal_Function_callback_Object_fileSelector_Void { + Ark_Literal_Function_callback__Object_fileSelector value; +} Opt_Literal_Function_callback__Object_fileSelector; +typedef struct Type_WebAttribute_onFileSelectorShow_callback { Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Opt_Literal_Function_callback_Object_fileSelector event); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Opt_Literal_Function_callback_Object_fileSelector event); -} Callback_Literal_Function_callback_Object_fileSelector_Void; -typedef struct Opt_Callback_Literal_Function_callback_Object_fileSelector_Void { + void (*call)(const Ark_Int32 resourceId, const Opt_Literal_Function_callback__Object_fileSelector event); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Opt_Literal_Function_callback__Object_fileSelector event); +} Type_WebAttribute_onFileSelectorShow_callback; +typedef struct Opt_Type_WebAttribute_onFileSelectorShow_callback { Ark_Tag tag; - Callback_Literal_Function_callback_Object_fileSelector_Void value; -} Opt_Callback_Literal_Function_callback_Object_fileSelector_Void; + Type_WebAttribute_onFileSelectorShow_callback value; +} Opt_Type_WebAttribute_onFileSelectorShow_callback; typedef struct Ark_Literal_Object_detail { Ark_CustomObject detail; } Ark_Literal_Object_detail; @@ -10816,7 +11157,7 @@ typedef struct Opt_WebMediaOptions { Ark_WebMediaOptions value; } Opt_WebMediaOptions; typedef struct Ark_JavaScriptProxy { - Ark_CustomObject object; + Ark_CustomObject object_; Ark_String name; Array_String methodList; Ark_Union_WebController_WebviewController controller; @@ -11783,9 +12124,6 @@ typedef struct Opt_Callback_RichEditorChangeValue_Boolean { Ark_Tag tag; Callback_RichEditorChangeValue_Boolean value; } Opt_Callback_RichEditorChangeValue_Boolean; -typedef struct Ark_SubmitEvent { - Ark_String text; -} Ark_SubmitEvent; typedef struct Opt_SubmitEvent { Ark_Tag tag; Ark_SubmitEvent value; @@ -11949,30 +12287,6 @@ typedef struct Opt_Union_PixelMap_ResourceStr { Ark_Tag tag; Ark_Union_PixelMap_ResourceStr value; } Opt_Union_PixelMap_ResourceStr; -typedef struct Ark_GestureEvent { - Ark_EventTarget target; - Ark_Number timestamp; - Ark_SourceType source; - Opt_Number axisHorizontal; - Opt_Number axisVertical; - Ark_Number pressure; - Ark_Number tiltX; - Ark_Number tiltY; - Ark_SourceTool sourceTool; - Opt_Number deviceId; - Ark_Boolean repeat; - Array_FingerInfo fingerList; - Ark_Number offsetX; - Ark_Number offsetY; - Ark_Number angle; - Ark_Number speed; - Ark_Number scale; - Ark_Number pinchCenterX; - Ark_Number pinchCenterY; - Ark_Number velocityX; - Ark_Number velocityY; - Ark_Number velocity; -} Ark_GestureEvent; typedef struct Opt_GestureEvent { Ark_Tag tag; Ark_GestureEvent value; @@ -12119,6 +12433,14 @@ typedef struct Opt_ProgressOptions { Ark_Tag tag; Ark_ProgressOptions value; } Opt_ProgressOptions; +typedef struct Array_Point { + Ark_Point* array; + Ark_Int32 length; +} Array_Point; +typedef struct Opt_Array_Point { + Ark_Tag tag; + Array_Point value; +} Opt_Array_Point; typedef struct Ark_PolylineOptions { Opt_Union_String_Number width; Opt_Union_String_Number height; @@ -12127,6 +12449,14 @@ typedef struct Opt_PolylineOptions { Ark_Tag tag; Ark_PolylineOptions value; } Opt_PolylineOptions; +typedef struct Ark_Point { + Ark_Number x; + Ark_Number y; +} Ark_Point; +typedef struct Opt_Point { + Ark_Tag tag; + Ark_Point value; +} Opt_Point; typedef struct Ark_PolygonOptions { Opt_Union_String_Number width; Opt_Union_String_Number height; @@ -12154,7 +12484,7 @@ typedef struct Opt_PluginErrorCallback { } Opt_PluginErrorCallback; typedef struct Ark_PluginComponentOptions { Ark_PluginComponentTemplate template_; - Ark_CustomObject data; + Ark_String data; } Ark_PluginComponentOptions; typedef struct Opt_PluginComponentOptions { Ark_Tag tag; @@ -12820,15 +13150,6 @@ typedef struct Opt_Callback_ItemDragInfo_Void { Ark_Tag tag; Callback_ItemDragInfo_Void value; } Opt_Callback_ItemDragInfo_Void; -typedef struct Callback_Any { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Callback_Any_Void continuation); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Callback_Any_Void continuation); -} Callback_Any; -typedef struct Opt_Callback_Any { - Ark_Tag tag; - Callback_Any value; -} Opt_Callback_Any; typedef struct Ark_ItemDragInfo { Ark_Number x; Ark_Number y; @@ -12837,24 +13158,15 @@ typedef struct Opt_ItemDragInfo { Ark_Tag tag; Ark_ItemDragInfo value; } Opt_ItemDragInfo; -typedef struct Callback_ItemDragInfo_Number_Callback_Any { +typedef struct Callback_ItemDragInfo_Number_CustomBuilder { Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_ItemDragInfo event, const Ark_Number itemIndex, const Callback_Callback_Any_Void continuation); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_ItemDragInfo event, const Ark_Number itemIndex, const Callback_Callback_Any_Void continuation); -} Callback_ItemDragInfo_Number_Callback_Any; -typedef struct Opt_Callback_ItemDragInfo_Number_Callback_Any { - Ark_Tag tag; - Callback_ItemDragInfo_Number_Callback_Any value; -} Opt_Callback_ItemDragInfo_Number_Callback_Any; -typedef struct Callback_Number_Number_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last); -} Callback_Number_Number_Void; -typedef struct Opt_Callback_Number_Number_Void { + void (*call)(const Ark_Int32 resourceId, const Ark_ItemDragInfo event, const Ark_Number itemIndex, const Callback_CustomBuilder_Void continuation); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_ItemDragInfo event, const Ark_Number itemIndex, const Callback_CustomBuilder_Void continuation); +} Callback_ItemDragInfo_Number_CustomBuilder; +typedef struct Opt_Callback_ItemDragInfo_Number_CustomBuilder { Ark_Tag tag; - Callback_Number_Number_Void value; -} Opt_Callback_Number_Number_Void; + Callback_ItemDragInfo_Number_CustomBuilder value; +} Opt_Callback_ItemDragInfo_Number_CustomBuilder; typedef struct Ark_ComputedBarAttribute { Ark_Number totalOffset; Ark_Number totalLength; @@ -13185,6 +13497,14 @@ typedef struct Opt_SceneOptions { Ark_Tag tag; Ark_SceneOptions value; } Opt_SceneOptions; +typedef struct Array_CustomObject { + Ark_CustomObject* array; + Ark_Int32 length; +} Array_CustomObject; +typedef struct Opt_Array_CustomObject { + Ark_Tag tag; + Array_CustomObject value; +} Opt_Array_CustomObject; typedef struct Ark_Union_ContentClipMode_RectShape { Ark_Int32 selector; union { @@ -13204,15 +13524,15 @@ typedef struct Opt_OffsetResult { Ark_Tag tag; Ark_OffsetResult value; } Opt_OffsetResult; -typedef struct Callback_Number_ScrollState_Void { +typedef struct Callback_Number_Number_Void { Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_Number scrollOffset, Ark_ScrollState scrollState); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number scrollOffset, Ark_ScrollState scrollState); -} Callback_Number_ScrollState_Void; -typedef struct Opt_Callback_Number_ScrollState_Void { + void (*call)(const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_Number first, const Ark_Number last); +} Callback_Number_Number_Void; +typedef struct Opt_Callback_Number_Number_Void { Ark_Tag tag; - Callback_Number_ScrollState_Void value; -} Opt_Callback_Number_ScrollState_Void; + Callback_Number_Number_Void value; +} Opt_Callback_Number_Number_Void; typedef struct Array_ModifierKey { Ark_ModifierKey* array; Ark_Int32 length; @@ -13357,15 +13677,6 @@ typedef struct Opt_Array_SafeAreaType { Ark_Tag tag; Array_SafeAreaType value; } Opt_Array_SafeAreaType; -typedef struct SizeChangeCallback { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_SizeOptions oldValue, const Ark_SizeOptions newValue); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_SizeOptions oldValue, const Ark_SizeOptions newValue); -} SizeChangeCallback; -typedef struct Opt_SizeChangeCallback { - Ark_Tag tag; - SizeChangeCallback value; -} Opt_SizeChangeCallback; typedef struct Callback_TouchEvent_HitTestMode { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_TouchEvent parameter, const Callback_HitTestMode_Void continuation); @@ -13409,19 +13720,6 @@ typedef struct Opt_FingerInfo { Ark_Tag tag; Ark_FingerInfo value; } Opt_FingerInfo; -typedef struct Ark_BaseGestureEvent { - Ark_EventTarget target; - Ark_Number timestamp; - Ark_SourceType source; - Opt_Number axisHorizontal; - Opt_Number axisVertical; - Ark_Number pressure; - Ark_Number tiltX; - Ark_Number tiltY; - Ark_SourceTool sourceTool; - Opt_Number deviceId; - Array_FingerInfo fingerList; -} Ark_BaseGestureEvent; typedef struct Opt_BaseGestureEvent { Ark_Tag tag; Ark_BaseGestureEvent value; @@ -13615,10 +13913,6 @@ typedef struct Opt_Union_CustomBuilder_DragItemInfo { Ark_Tag tag; Ark_Union_CustomBuilder_DragItemInfo value; } Opt_Union_CustomBuilder_DragItemInfo; -typedef struct Ark_DragEvent { - Ark_DragBehavior dragBehavior; - Ark_Boolean useCustomDropAnimation; -} Ark_DragEvent; typedef struct Opt_DragEvent { Ark_Tag tag; Ark_DragEvent value; @@ -13748,111 +14042,14 @@ typedef struct Opt_Callback_KeyEvent_Boolean { Ark_Tag tag; Callback_KeyEvent_Boolean value; } Opt_Callback_KeyEvent_Boolean; -typedef struct Ark_KeyEvent { - Ark_KeyType type; - Ark_Number keyCode; - Ark_String keyText; - Ark_KeySource keySource; - Ark_Number deviceId; - Ark_Number metaKey; - Ark_Number timestamp; - Callback_Void stopPropagation; - Ark_IntentionCode intentionCode; - Opt_Number unicode; -} Ark_KeyEvent; typedef struct Opt_KeyEvent { Ark_Tag tag; Ark_KeyEvent value; } Opt_KeyEvent; -typedef struct Callback_KeyEvent_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_KeyEvent event); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_KeyEvent event); -} Callback_KeyEvent_Void; -typedef struct Opt_Callback_KeyEvent_Void { - Ark_Tag tag; - Callback_KeyEvent_Void value; -} Opt_Callback_KeyEvent_Void; -typedef struct Ark_TouchObject { - Ark_TouchType type; - Ark_Number id; - Ark_Number displayX; - Ark_Number displayY; - Ark_Number windowX; - Ark_Number windowY; - Ark_Number screenX; - Ark_Number screenY; - Ark_Number x; - Ark_Number y; -} Ark_TouchObject; -typedef struct Opt_TouchObject { - Ark_Tag tag; - Ark_TouchObject value; -} Opt_TouchObject; -typedef struct Callback_TouchEvent_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_TouchEvent event); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_TouchEvent event); -} Callback_TouchEvent_Void; -typedef struct Opt_Callback_TouchEvent_Void { - Ark_Tag tag; - Callback_TouchEvent_Void value; -} Opt_Callback_TouchEvent_Void; -typedef struct Ark_MouseEvent { - Ark_EventTarget target; - Ark_Number timestamp; - Ark_SourceType source; - Opt_Number axisHorizontal; - Opt_Number axisVertical; - Ark_Number pressure; - Ark_Number tiltX; - Ark_Number tiltY; - Ark_SourceTool sourceTool; - Opt_Number deviceId; - Ark_MouseButton button; - Ark_MouseAction action; - Ark_Number displayX; - Ark_Number displayY; - Ark_Number windowX; - Ark_Number windowY; - Ark_Number screenX; - Ark_Number screenY; - Ark_Number x; - Ark_Number y; - Callback_Void stopPropagation; -} Ark_MouseEvent; typedef struct Opt_MouseEvent { Ark_Tag tag; Ark_MouseEvent value; } Opt_MouseEvent; -typedef struct Callback_MouseEvent_Void { - Ark_CallbackResource resource; - void (*call)(const Ark_Int32 resourceId, const Ark_MouseEvent event); - void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_MouseEvent event); -} Callback_MouseEvent_Void; -typedef struct Opt_Callback_MouseEvent_Void { - Ark_Tag tag; - Callback_MouseEvent_Void value; -} Opt_Callback_MouseEvent_Void; -typedef struct Ark_AccessibilityHoverEvent { - Ark_EventTarget target; - Ark_Number timestamp; - Ark_SourceType source; - Opt_Number axisHorizontal; - Opt_Number axisVertical; - Ark_Number pressure; - Ark_Number tiltX; - Ark_Number tiltY; - Ark_SourceTool sourceTool; - Opt_Number deviceId; - Ark_AccessibilityHoverType type; - Ark_Number x; - Ark_Number y; - Ark_Number displayX; - Ark_Number displayY; - Ark_Number windowX; - Ark_Number windowY; -} Ark_AccessibilityHoverEvent; typedef struct Opt_AccessibilityHoverEvent { Ark_Tag tag; Ark_AccessibilityHoverEvent value; @@ -13866,19 +14063,6 @@ typedef struct Opt_AccessibilityCallback { Ark_Tag tag; AccessibilityCallback value; } Opt_AccessibilityCallback; -typedef struct Ark_HoverEvent { - Ark_EventTarget target; - Ark_Number timestamp; - Ark_SourceType source; - Opt_Number axisHorizontal; - Opt_Number axisVertical; - Ark_Number pressure; - Ark_Number tiltX; - Ark_Number tiltY; - Ark_SourceTool sourceTool; - Opt_Number deviceId; - Callback_Void stopPropagation; -} Ark_HoverEvent; typedef struct Opt_HoverEvent { Ark_Tag tag; Ark_HoverEvent value; @@ -14157,6 +14341,22 @@ typedef struct Opt_Union_Array_Rectangle_Rectangle { Ark_Tag tag; Ark_Union_Array_Rectangle_Rectangle value; } Opt_Union_Array_Rectangle_Rectangle; +typedef struct Ark_TouchObject { + Ark_TouchType type; + Ark_Number id; + Ark_Number displayX; + Ark_Number displayY; + Ark_Number windowX; + Ark_Number windowY; + Ark_Number screenX; + Ark_Number screenY; + Ark_Number x; + Ark_Number y; +} Ark_TouchObject; +typedef struct Opt_TouchObject { + Ark_Tag tag; + Ark_TouchObject value; +} Opt_TouchObject; typedef struct Ark_TransitionEffects { Ark_Undefined identity; Ark_Number opacity; @@ -15178,7 +15378,7 @@ typedef struct GENERATED_ArkUICommonMethodModifier { void (*setOnGestureRecognizerJudgeBegin0)(Ark_NativePointer node, const GestureRecognizerJudgeBeginCallback* value); void (*setOnGestureRecognizerJudgeBegin1)(Ark_NativePointer node, - const GestureRecognizerJudgeBeginCallback* callback, + const GestureRecognizerJudgeBeginCallback* callback_, Ark_Boolean exposeInnerGesture); void (*setShouldBuiltInRecognizerParallelWith)(Ark_NativePointer node, const ShouldBuiltInRecognizerParallelWithCallback* value); @@ -15316,7 +15516,7 @@ typedef struct GENERATED_ArkUICommonShapeMethodModifier { void (*setAntiAlias)(Ark_NativePointer node, Ark_Boolean value); void (*setStrokeDashArray)(Ark_NativePointer node, - const Array_CustomObject* value); + const Array_Length* value); } GENERATED_ArkUICommonShapeMethodModifier; typedef struct GENERATED_ArkUICommonModifier { @@ -15341,11 +15541,11 @@ typedef struct GENERATED_ArkUIScrollableCommonMethodModifier { void (*setFriction)(Ark_NativePointer node, const Ark_Union_Number_Resource* value); void (*setOnScroll)(Ark_NativePointer node, - const Callback_Number_ScrollState_Void* value); + const Callback_Number_Number_Void* value); void (*setOnWillScroll)(Ark_NativePointer node, const Opt_ScrollOnWillScrollCallback* value); void (*setOnDidScroll)(Ark_NativePointer node, - const Opt_ScrollOnWillScrollCallback* value); + const Opt_ScrollOnScrollCallback* value); void (*setOnReachStart)(Ark_NativePointer node, const Callback_Void* value); void (*setOnReachEnd)(Ark_NativePointer node, @@ -15624,7 +15824,7 @@ typedef struct GENERATED_ArkUIGridModifier { void (*setSupportAnimation)(Ark_NativePointer node, Ark_Boolean value); void (*setOnItemDragStart)(Ark_NativePointer node, - const Callback_ItemDragInfo_Number_Callback_Any* value); + const Callback_ItemDragInfo_Number_CustomBuilder* value); void (*setOnItemDragEnter)(Ark_NativePointer node, const Callback_ItemDragInfo_Void* value); void (*setOnItemDragMove)(Ark_NativePointer node, @@ -15642,7 +15842,7 @@ typedef struct GENERATED_ArkUIGridModifier { void (*setAlignItems)(Ark_NativePointer node, const Opt_GridItemAlignment* value); void (*setOnScroll)(Ark_NativePointer node, - const Callback_Number_ScrollState_Void* value); + const Callback_Number_Number_Void* value); void (*setOnReachStart)(Ark_NativePointer node, const Callback_Void* value); void (*setOnReachEnd)(Ark_NativePointer node, @@ -15841,9 +16041,9 @@ typedef struct GENERATED_ArkUILineModifier { void (*setLineOptions)(Ark_NativePointer node, const Opt_LineOptions* options); void (*setStartPoint)(Ark_NativePointer node, - const Array_CustomObject* value); + const Array_Length* value); void (*setEndPoint)(Ark_NativePointer node, - const Array_CustomObject* value); + const Array_Length* value); } GENERATED_ArkUILineModifier; typedef struct GENERATED_ArkUIListModifier { @@ -15891,7 +16091,7 @@ typedef struct GENERATED_ArkUIListModifier { void (*setMaintainVisibleContentPosition)(Ark_NativePointer node, Ark_Boolean value); void (*setOnScroll)(Ark_NativePointer node, - const Callback_Number_ScrollState_Void* value); + const Callback_Number_Number_Void* value); void (*setOnScrollIndex)(Ark_NativePointer node, const Callback_Number_Number_Number_Void* value); void (*setOnScrollVisibleContentChange)(Ark_NativePointer node, @@ -15909,7 +16109,7 @@ typedef struct GENERATED_ArkUIListModifier { void (*setOnItemMove)(Ark_NativePointer node, const Callback_Number_Number_Boolean* value); void (*setOnItemDragStart)(Ark_NativePointer node, - const Callback_ItemDragInfo_Number_Callback_Any* value); + const Callback_ItemDragInfo_Number_CustomBuilder* value); void (*setOnItemDragEnter)(Ark_NativePointer node, const Callback_ItemDragInfo_Void* value); void (*setOnItemDragMove)(Ark_NativePointer node, @@ -16246,7 +16446,7 @@ typedef struct GENERATED_ArkUIPolygonModifier { void (*setPolygonOptions)(Ark_NativePointer node, const Opt_PolygonOptions* options); void (*setPoints)(Ark_NativePointer node, - const Array_CustomObject* value); + const Array_Point* value); } GENERATED_ArkUIPolygonModifier; typedef struct GENERATED_ArkUIPolylineModifier { @@ -16255,7 +16455,7 @@ typedef struct GENERATED_ArkUIPolylineModifier { void (*setPolylineOptions)(Ark_NativePointer node, const Opt_PolylineOptions* options); void (*setPoints)(Ark_NativePointer node, - const Array_CustomObject* value); + const Array_Point* value); } GENERATED_ArkUIPolylineModifier; typedef struct GENERATED_ArkUIProgressModifier { @@ -16330,7 +16530,7 @@ typedef struct GENERATED_ArkUIRectModifier { void (*setRadiusHeight)(Ark_NativePointer node, const Ark_Union_Number_String* value); void (*setRadius)(Ark_NativePointer node, - const Ark_Union_Number_String_Array_Any* value); + const Ark_Union_Number_String_Array_Union_Number_String* value); } GENERATED_ArkUIRectModifier; typedef struct GENERATED_ArkUIRefreshModifier { @@ -16502,19 +16702,19 @@ typedef struct GENERATED_ArkUIScrollModifier { void (*setScrollable)(Ark_NativePointer node, Ark_ScrollDirection value); void (*setOnScroll)(Ark_NativePointer node, - const Callback_Number_ScrollState_Void* value); + const Callback_Number_Number_Void* value); void (*setOnWillScroll)(Ark_NativePointer node, const Opt_ScrollOnWillScrollCallback* value); void (*setOnDidScroll)(Ark_NativePointer node, - const Opt_ScrollOnWillScrollCallback* value); + const Opt_ScrollOnScrollCallback* value); void (*setOnScrollEdge)(Ark_NativePointer node, const OnScrollEdgeCallback* value); void (*setOnScrollStart)(Ark_NativePointer node, - const Callback_Void* value); + const VoidCallback* value); void (*setOnScrollEnd)(Ark_NativePointer node, const Callback_Void* value); void (*setOnScrollStop)(Ark_NativePointer node, - const Callback_Void* value); + const VoidCallback* value); void (*setScrollBar)(Ark_NativePointer node, Ark_BarState value); void (*setScrollBarColor)(Ark_NativePointer node, @@ -16757,7 +16957,7 @@ typedef struct GENERATED_ArkUIShapeModifier { void (*setStrokeDashOffset)(Ark_NativePointer node, const Ark_Union_Number_String* value); void (*setStrokeDashArray)(Ark_NativePointer node, - const Array_CustomObject* value); + const Array_Length* value); void (*setStrokeLineCap)(Ark_NativePointer node, Ark_LineCapStyle value); void (*setStrokeLineJoin)(Ark_NativePointer node, @@ -16773,7 +16973,7 @@ typedef struct GENERATED_ArkUIShapeModifier { void (*setAntiAlias)(Ark_NativePointer node, Ark_Boolean value); void (*setMesh)(Ark_NativePointer node, - const Array_CustomObject* value, + const Array_Number* value, const Ark_Number* column, const Ark_Number* row); } GENERATED_ArkUIShapeModifier; @@ -17721,7 +17921,7 @@ typedef struct GENERATED_ArkUIWebModifier { void (*setOnShowFileSelector)(Ark_NativePointer node, const Callback_OnShowFileSelectorEvent_Boolean* value); void (*setOnFileSelectorShow)(Ark_NativePointer node, - const Callback_Literal_Function_callback_Object_fileSelector_Void* value); + const Type_WebAttribute_onFileSelectorShow_callback* value); void (*setOnResourceLoad)(Ark_NativePointer node, const Callback_OnResourceLoadEvent_Void* value); void (*setOnFullScreenExit)(Ark_NativePointer node, @@ -18029,7 +18229,7 @@ typedef struct GENERATED_ArkUIUnifiedDataAccessor { Ark_NativePointer (*ctor)(); Ark_NativePointer (*getFinalizer)(); Ark_Boolean (*hasType)(UnifiedDataPeer* peer, - const Ark_String* type); + const Ark_String* UnifiedData_type); void (*getTypes)(UnifiedDataPeer* peer); } GENERATED_ArkUIUnifiedDataAccessor; @@ -18046,6 +18246,7 @@ typedef struct GENERATED_ArkUILazyForEachOpsAccessor { const Callback_RangeUpdate* updater); void (*SetCurrentIndex)(Ark_NativePointer node, Ark_Int32 index); + void (*Prepare)(Ark_NativePointer node); } GENERATED_ArkUILazyForEachOpsAccessor; typedef struct DrawingCanvasPeer DrawingCanvasPeer; @@ -18455,19 +18656,19 @@ typedef struct GENERATED_ArkUICanvasRenderingContext2DAccessor { Ark_NativePointer (*getFinalizer)(); void (*toDataURL)(CanvasRenderingContext2DPeer* peer, const Opt_String* type, - const Opt_CustomObject* quality); + const Opt_Number* quality); void (*startImageAnalyzer)(CanvasRenderingContext2DPeer* peer, const Ark_ImageAnalyzerConfig* config, const Callback_Opt_Array_String_Void* outputArgumentForReturningPromise); void (*stopImageAnalyzer)(CanvasRenderingContext2DPeer* peer); void (*onOnAttach)(CanvasRenderingContext2DPeer* peer, - const Callback_Void* callback); + const Callback_Void* callback_); void (*offOnAttach)(CanvasRenderingContext2DPeer* peer, - const Opt_Callback_Void* callback); + const Opt_Callback_Void* callback_); void (*onOnDetach)(CanvasRenderingContext2DPeer* peer, - const Callback_Void* callback); + const Callback_Void* callback_); void (*offOnDetach)(CanvasRenderingContext2DPeer* peer, - const Opt_Callback_Void* callback); + const Opt_Callback_Void* callback_); Ark_Int32 (*getHeight)(CanvasRenderingContext2DPeer* peer); Ark_Int32 (*getWidth)(CanvasRenderingContext2DPeer* peer); } GENERATED_ArkUICanvasRenderingContext2DAccessor; @@ -18522,6 +18723,172 @@ typedef struct GENERATED_ArkUITransitionEffectAccessor { const Ark_TransitionEffect* transitionEffect); } GENERATED_ArkUITransitionEffectAccessor; +typedef struct BaseEventPeer BaseEventPeer; +typedef struct GENERATED_ArkUIBaseEventAccessor { + void (*destroyPeer)(BaseEventPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_Boolean (*getModifierKeyState)(BaseEventPeer* peer, + const Array_String* keys); + void (*setTarget)(BaseEventPeer* peer, + const Ark_EventTarget* target); + Ark_Int32 (*getTimestamp)(BaseEventPeer* peer); + void (*setTimestamp)(BaseEventPeer* peer, + const Ark_Number* timestamp); + Ark_NativePointer (*getSource)(BaseEventPeer* peer); + void (*setSource)(BaseEventPeer* peer, + Ark_SourceType source); + Ark_Int32 (*getAxisHorizontal)(BaseEventPeer* peer); + void (*setAxisHorizontal)(BaseEventPeer* peer, + const Ark_Number* axisHorizontal); + Ark_Int32 (*getAxisVertical)(BaseEventPeer* peer); + void (*setAxisVertical)(BaseEventPeer* peer, + const Ark_Number* axisVertical); + Ark_Int32 (*getPressure)(BaseEventPeer* peer); + void (*setPressure)(BaseEventPeer* peer, + const Ark_Number* pressure); + Ark_Int32 (*getTiltX)(BaseEventPeer* peer); + void (*setTiltX)(BaseEventPeer* peer, + const Ark_Number* tiltX); + Ark_Int32 (*getTiltY)(BaseEventPeer* peer); + void (*setTiltY)(BaseEventPeer* peer, + const Ark_Number* tiltY); + Ark_NativePointer (*getSourceTool)(BaseEventPeer* peer); + void (*setSourceTool)(BaseEventPeer* peer, + Ark_SourceTool sourceTool); + Ark_Int32 (*getDeviceId)(BaseEventPeer* peer); + void (*setDeviceId)(BaseEventPeer* peer, + const Ark_Number* deviceId); +} GENERATED_ArkUIBaseEventAccessor; + +typedef struct ClickEventPeer ClickEventPeer; +typedef struct GENERATED_ArkUIClickEventAccessor { + void (*destroyPeer)(ClickEventPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_Int32 (*getDisplayX)(ClickEventPeer* peer); + void (*setDisplayX)(ClickEventPeer* peer, + const Ark_Number* displayX); + Ark_Int32 (*getDisplayY)(ClickEventPeer* peer); + void (*setDisplayY)(ClickEventPeer* peer, + const Ark_Number* displayY); + Ark_Int32 (*getWindowX)(ClickEventPeer* peer); + void (*setWindowX)(ClickEventPeer* peer, + const Ark_Number* windowX); + Ark_Int32 (*getWindowY)(ClickEventPeer* peer); + void (*setWindowY)(ClickEventPeer* peer, + const Ark_Number* windowY); + Ark_Int32 (*getScreenX)(ClickEventPeer* peer); + void (*setScreenX)(ClickEventPeer* peer, + const Ark_Number* screenX); + Ark_Int32 (*getScreenY)(ClickEventPeer* peer); + void (*setScreenY)(ClickEventPeer* peer, + const Ark_Number* screenY); + Ark_Int32 (*getX)(ClickEventPeer* peer); + void (*setX)(ClickEventPeer* peer, + const Ark_Number* x); + Ark_Int32 (*getY)(ClickEventPeer* peer); + void (*setY)(ClickEventPeer* peer, + const Ark_Number* y); + void (*setPreventDefault)(ClickEventPeer* peer, + const Callback_Void* preventDefault); +} GENERATED_ArkUIClickEventAccessor; + +typedef struct HoverEventPeer HoverEventPeer; +typedef struct GENERATED_ArkUIHoverEventAccessor { + void (*destroyPeer)(HoverEventPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + void (*setStopPropagation)(HoverEventPeer* peer, + const Callback_Void* stopPropagation); +} GENERATED_ArkUIHoverEventAccessor; + +typedef struct MouseEventPeer MouseEventPeer; +typedef struct GENERATED_ArkUIMouseEventAccessor { + void (*destroyPeer)(MouseEventPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_NativePointer (*getButton)(MouseEventPeer* peer); + void (*setButton)(MouseEventPeer* peer, + Ark_MouseButton button); + Ark_NativePointer (*getAction)(MouseEventPeer* peer); + void (*setAction)(MouseEventPeer* peer, + Ark_MouseAction action); + Ark_Int32 (*getDisplayX)(MouseEventPeer* peer); + void (*setDisplayX)(MouseEventPeer* peer, + const Ark_Number* displayX); + Ark_Int32 (*getDisplayY)(MouseEventPeer* peer); + void (*setDisplayY)(MouseEventPeer* peer, + const Ark_Number* displayY); + Ark_Int32 (*getWindowX)(MouseEventPeer* peer); + void (*setWindowX)(MouseEventPeer* peer, + const Ark_Number* windowX); + Ark_Int32 (*getWindowY)(MouseEventPeer* peer); + void (*setWindowY)(MouseEventPeer* peer, + const Ark_Number* windowY); + Ark_Int32 (*getScreenX)(MouseEventPeer* peer); + void (*setScreenX)(MouseEventPeer* peer, + const Ark_Number* screenX); + Ark_Int32 (*getScreenY)(MouseEventPeer* peer); + void (*setScreenY)(MouseEventPeer* peer, + const Ark_Number* screenY); + Ark_Int32 (*getX)(MouseEventPeer* peer); + void (*setX)(MouseEventPeer* peer, + const Ark_Number* x); + Ark_Int32 (*getY)(MouseEventPeer* peer); + void (*setY)(MouseEventPeer* peer, + const Ark_Number* y); + void (*setStopPropagation)(MouseEventPeer* peer, + const Callback_Void* stopPropagation); +} GENERATED_ArkUIMouseEventAccessor; + +typedef struct AccessibilityHoverEventPeer AccessibilityHoverEventPeer; +typedef struct GENERATED_ArkUIAccessibilityHoverEventAccessor { + void (*destroyPeer)(AccessibilityHoverEventPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_NativePointer (*getType)(AccessibilityHoverEventPeer* peer); + void (*setType)(AccessibilityHoverEventPeer* peer, + Ark_AccessibilityHoverType type); + Ark_Int32 (*getX)(AccessibilityHoverEventPeer* peer); + void (*setX)(AccessibilityHoverEventPeer* peer, + const Ark_Number* x); + Ark_Int32 (*getY)(AccessibilityHoverEventPeer* peer); + void (*setY)(AccessibilityHoverEventPeer* peer, + const Ark_Number* y); + Ark_Int32 (*getDisplayX)(AccessibilityHoverEventPeer* peer); + void (*setDisplayX)(AccessibilityHoverEventPeer* peer, + const Ark_Number* displayX); + Ark_Int32 (*getDisplayY)(AccessibilityHoverEventPeer* peer); + void (*setDisplayY)(AccessibilityHoverEventPeer* peer, + const Ark_Number* displayY); + Ark_Int32 (*getWindowX)(AccessibilityHoverEventPeer* peer); + void (*setWindowX)(AccessibilityHoverEventPeer* peer, + const Ark_Number* windowX); + Ark_Int32 (*getWindowY)(AccessibilityHoverEventPeer* peer); + void (*setWindowY)(AccessibilityHoverEventPeer* peer, + const Ark_Number* windowY); +} GENERATED_ArkUIAccessibilityHoverEventAccessor; + +typedef struct TouchEventPeer TouchEventPeer; +typedef struct GENERATED_ArkUITouchEventAccessor { + void (*destroyPeer)(TouchEventPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + void (*getHistoricalPoints)(TouchEventPeer* peer); + Ark_NativePointer (*getType)(TouchEventPeer* peer); + void (*setType)(TouchEventPeer* peer, + Ark_TouchType type); + void (*setTouches)(TouchEventPeer* peer, + const Array_TouchObject* touches); + void (*setChangedTouches)(TouchEventPeer* peer, + const Array_TouchObject* changedTouches); + void (*setStopPropagation)(TouchEventPeer* peer, + const Callback_Void* stopPropagation); + void (*setPreventDefault)(TouchEventPeer* peer, + const Callback_Void* preventDefault); +} GENERATED_ArkUITouchEventAccessor; + typedef struct PixelMapMockPeer PixelMapMockPeer; typedef struct GENERATED_ArkUIPixelMapMockAccessor { void (*destroyPeer)(PixelMapMockPeer* peer); @@ -18530,6 +18897,75 @@ typedef struct GENERATED_ArkUIPixelMapMockAccessor { void (*release)(PixelMapMockPeer* peer); } GENERATED_ArkUIPixelMapMockAccessor; +typedef struct DragEventPeer DragEventPeer; +typedef struct GENERATED_ArkUIDragEventAccessor { + void (*destroyPeer)(DragEventPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_Int32 (*getDisplayX)(DragEventPeer* peer); + Ark_Int32 (*getDisplayY)(DragEventPeer* peer); + Ark_Int32 (*getWindowX)(DragEventPeer* peer); + Ark_Int32 (*getWindowY)(DragEventPeer* peer); + Ark_Int32 (*getX)(DragEventPeer* peer); + Ark_Int32 (*getY)(DragEventPeer* peer); + void (*setData)(DragEventPeer* peer, + const Ark_UnifiedData* unifiedData); + Ark_NativePointer (*getData)(DragEventPeer* peer); + Ark_NativePointer (*getSummary)(DragEventPeer* peer); + void (*setResult)(DragEventPeer* peer, + Ark_DragResult dragResult); + Ark_NativePointer (*getResult)(DragEventPeer* peer); + Ark_NativePointer (*getPreviewRect)(DragEventPeer* peer); + Ark_Int32 (*getVelocityX)(DragEventPeer* peer); + Ark_Int32 (*getVelocityY)(DragEventPeer* peer); + Ark_Int32 (*getVelocity)(DragEventPeer* peer); + Ark_Boolean (*getModifierKeyState)(DragEventPeer* peer, + const Array_String* keys); + Ark_NativePointer (*getDragBehavior)(DragEventPeer* peer); + void (*setDragBehavior)(DragEventPeer* peer, + Ark_DragBehavior dragBehavior); + Ark_Boolean (*getUseCustomDropAnimation)(DragEventPeer* peer); + void (*setUseCustomDropAnimation)(DragEventPeer* peer, + Ark_Boolean useCustomDropAnimation); +} GENERATED_ArkUIDragEventAccessor; + +typedef struct KeyEventPeer KeyEventPeer; +typedef struct GENERATED_ArkUIKeyEventAccessor { + void (*destroyPeer)(KeyEventPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_Boolean (*getModifierKeyState)(KeyEventPeer* peer, + const Array_String* keys); + Ark_NativePointer (*getType)(KeyEventPeer* peer); + void (*setType)(KeyEventPeer* peer, + Ark_KeyType type); + Ark_Int32 (*getKeyCode)(KeyEventPeer* peer); + void (*setKeyCode)(KeyEventPeer* peer, + const Ark_Number* keyCode); + void (*getKeyText)(KeyEventPeer* peer); + void (*setKeyText)(KeyEventPeer* peer, + const Ark_String* keyText); + Ark_NativePointer (*getKeySource)(KeyEventPeer* peer); + void (*setKeySource)(KeyEventPeer* peer, + Ark_KeySource keySource); + Ark_Int32 (*getDeviceId)(KeyEventPeer* peer); + void (*setDeviceId)(KeyEventPeer* peer, + const Ark_Number* deviceId); + Ark_Int32 (*getMetaKey)(KeyEventPeer* peer); + void (*setMetaKey)(KeyEventPeer* peer, + const Ark_Number* metaKey); + Ark_Int32 (*getTimestamp)(KeyEventPeer* peer); + void (*setTimestamp)(KeyEventPeer* peer, + const Ark_Number* timestamp); + void (*setStopPropagation)(KeyEventPeer* peer, + const Callback_Void* stopPropagation); + void (*setIntentionCode)(KeyEventPeer* peer, + const Ark_IntentionCode* intentionCode); + Ark_Int32 (*getUnicode)(KeyEventPeer* peer); + void (*setUnicode)(KeyEventPeer* peer, + const Ark_Number* unicode); +} GENERATED_ArkUIKeyEventAccessor; + typedef struct ProgressMaskPeer ProgressMaskPeer; typedef struct GENERATED_ArkUIProgressMaskAccessor { void (*destroyPeer)(ProgressMaskPeer* peer); @@ -18590,6 +19026,36 @@ typedef struct GENERATED_ArkUIChildrenMainSizeAccessor { const Ark_Number* childDefaultSize); } GENERATED_ArkUIChildrenMainSizeAccessor; +typedef struct UICommonEventPeer UICommonEventPeer; +typedef struct GENERATED_ArkUIUICommonEventAccessor { + void (*destroyPeer)(UICommonEventPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + void (*setOnClick)(UICommonEventPeer* peer, + const Opt_Callback_ClickEvent_Void* callback_); + void (*setOnTouch)(UICommonEventPeer* peer, + const Opt_Callback_TouchEvent_Void* callback_); + void (*setOnAppear)(UICommonEventPeer* peer, + const Opt_Callback_Void* callback_); + void (*setOnDisappear)(UICommonEventPeer* peer, + const Opt_Callback_Void* callback_); + void (*setOnKeyEvent)(UICommonEventPeer* peer, + const Opt_Callback_KeyEvent_Void* callback_); + void (*setOnFocus)(UICommonEventPeer* peer, + const Opt_Callback_Void* callback_); + void (*setOnBlur)(UICommonEventPeer* peer, + const Opt_Callback_Void* callback_); + void (*setOnHover)(UICommonEventPeer* peer, + const Opt_HoverCallback* callback_); + void (*setOnMouse)(UICommonEventPeer* peer, + const Opt_Callback_MouseEvent_Void* callback_); + void (*setOnSizeChange)(UICommonEventPeer* peer, + const Opt_SizeChangeCallback* callback_); + void (*setOnVisibleAreaApproximateChange)(UICommonEventPeer* peer, + const Ark_VisibleAreaEventOptions* options, + const Opt_VisibleAreaChangeCallback* event); +} GENERATED_ArkUIUICommonEventAccessor; + typedef struct GestureModifierPeer GestureModifierPeer; typedef struct GENERATED_ArkUIGestureModifierAccessor { void (*destroyPeer)(GestureModifierPeer* peer); @@ -18599,6 +19065,32 @@ typedef struct GENERATED_ArkUIGestureModifierAccessor { const Ark_UIGestureEvent* event); } GENERATED_ArkUIGestureModifierAccessor; +typedef struct GlobalScope_commonPeer GlobalScope_commonPeer; +typedef struct GENERATED_ArkUIGlobalScope_commonAccessor { + void (*destroyPeer)(GlobalScope_commonPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_NativePointer (*getContext)(const Opt_CustomObject* component); + void (*postCardAction)(const Ark_CustomObject* component, + const Ark_CustomObject* action); + Ark_NativePointer (*dollar_r)(const Ark_String* value, + const Array_CustomObject* params); + Ark_NativePointer (*dollar_rawfile)(const Ark_String* value); + void (*animateTo)(const Ark_AnimateParam* value, + const Callback_Void* event); + void (*animateToImmediately)(const Ark_AnimateParam* value, + const Callback_Void* event); + Ark_Int32 (*vp2px)(const Ark_Number* value); + Ark_Int32 (*px2vp)(const Ark_Number* value); + Ark_Int32 (*fp2px)(const Ark_Number* value); + Ark_Int32 (*px2fp)(const Ark_Number* value); + Ark_Int32 (*lpx2px)(const Ark_Number* value); + Ark_Int32 (*px2lpx)(const Ark_Number* value); + Ark_Boolean (*requestFocus)(const Ark_String* value); + void (*setCursor)(Ark_PointerStyle value); + void (*restoreDefault)(); +} GENERATED_ArkUIGlobalScope_commonAccessor; + typedef struct ContextMenuPeer ContextMenuPeer; typedef struct GENERATED_ArkUIContextMenuAccessor { void (*destroyPeer)(ContextMenuPeer* peer); @@ -18624,6 +19116,135 @@ typedef struct GENERATED_ArkUIDatePickerDialogAccessor { void (*show)(const Opt_DatePickerDialogOptions* options); } GENERATED_ArkUIDatePickerDialogAccessor; +typedef struct BaseGestureEventPeer BaseGestureEventPeer; +typedef struct GENERATED_ArkUIBaseGestureEventAccessor { + void (*destroyPeer)(BaseGestureEventPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + void (*setFingerList)(BaseGestureEventPeer* peer, + const Array_FingerInfo* fingerList); +} GENERATED_ArkUIBaseGestureEventAccessor; + +typedef struct TapGestureEventPeer TapGestureEventPeer; +typedef struct GENERATED_ArkUITapGestureEventAccessor { + void (*destroyPeer)(TapGestureEventPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); +} GENERATED_ArkUITapGestureEventAccessor; + +typedef struct LongPressGestureEventPeer LongPressGestureEventPeer; +typedef struct GENERATED_ArkUILongPressGestureEventAccessor { + void (*destroyPeer)(LongPressGestureEventPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_Boolean (*getRepeat)(LongPressGestureEventPeer* peer); + void (*setRepeat)(LongPressGestureEventPeer* peer, + Ark_Boolean repeat); +} GENERATED_ArkUILongPressGestureEventAccessor; + +typedef struct PanGestureEventPeer PanGestureEventPeer; +typedef struct GENERATED_ArkUIPanGestureEventAccessor { + void (*destroyPeer)(PanGestureEventPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_Int32 (*getOffsetX)(PanGestureEventPeer* peer); + void (*setOffsetX)(PanGestureEventPeer* peer, + const Ark_Number* offsetX); + Ark_Int32 (*getOffsetY)(PanGestureEventPeer* peer); + void (*setOffsetY)(PanGestureEventPeer* peer, + const Ark_Number* offsetY); + Ark_Int32 (*getVelocityX)(PanGestureEventPeer* peer); + void (*setVelocityX)(PanGestureEventPeer* peer, + const Ark_Number* velocityX); + Ark_Int32 (*getVelocityY)(PanGestureEventPeer* peer); + void (*setVelocityY)(PanGestureEventPeer* peer, + const Ark_Number* velocityY); + Ark_Int32 (*getVelocity)(PanGestureEventPeer* peer); + void (*setVelocity)(PanGestureEventPeer* peer, + const Ark_Number* velocity); +} GENERATED_ArkUIPanGestureEventAccessor; + +typedef struct PinchGestureEventPeer PinchGestureEventPeer; +typedef struct GENERATED_ArkUIPinchGestureEventAccessor { + void (*destroyPeer)(PinchGestureEventPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_Int32 (*getScale)(PinchGestureEventPeer* peer); + void (*setScale)(PinchGestureEventPeer* peer, + const Ark_Number* scale); + Ark_Int32 (*getPinchCenterX)(PinchGestureEventPeer* peer); + void (*setPinchCenterX)(PinchGestureEventPeer* peer, + const Ark_Number* pinchCenterX); + Ark_Int32 (*getPinchCenterY)(PinchGestureEventPeer* peer); + void (*setPinchCenterY)(PinchGestureEventPeer* peer, + const Ark_Number* pinchCenterY); +} GENERATED_ArkUIPinchGestureEventAccessor; + +typedef struct RotationGestureEventPeer RotationGestureEventPeer; +typedef struct GENERATED_ArkUIRotationGestureEventAccessor { + void (*destroyPeer)(RotationGestureEventPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_Int32 (*getAngle)(RotationGestureEventPeer* peer); + void (*setAngle)(RotationGestureEventPeer* peer, + const Ark_Number* angle); +} GENERATED_ArkUIRotationGestureEventAccessor; + +typedef struct SwipeGestureEventPeer SwipeGestureEventPeer; +typedef struct GENERATED_ArkUISwipeGestureEventAccessor { + void (*destroyPeer)(SwipeGestureEventPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_Int32 (*getAngle)(SwipeGestureEventPeer* peer); + void (*setAngle)(SwipeGestureEventPeer* peer, + const Ark_Number* angle); + Ark_Int32 (*getSpeed)(SwipeGestureEventPeer* peer); + void (*setSpeed)(SwipeGestureEventPeer* peer, + const Ark_Number* speed); +} GENERATED_ArkUISwipeGestureEventAccessor; + +typedef struct GestureEventPeer GestureEventPeer; +typedef struct GENERATED_ArkUIGestureEventAccessor { + void (*destroyPeer)(GestureEventPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_Boolean (*getRepeat)(GestureEventPeer* peer); + void (*setRepeat)(GestureEventPeer* peer, + Ark_Boolean repeat); + void (*setFingerList)(GestureEventPeer* peer, + const Array_FingerInfo* fingerList); + Ark_Int32 (*getOffsetX)(GestureEventPeer* peer); + void (*setOffsetX)(GestureEventPeer* peer, + const Ark_Number* offsetX); + Ark_Int32 (*getOffsetY)(GestureEventPeer* peer); + void (*setOffsetY)(GestureEventPeer* peer, + const Ark_Number* offsetY); + Ark_Int32 (*getAngle)(GestureEventPeer* peer); + void (*setAngle)(GestureEventPeer* peer, + const Ark_Number* angle); + Ark_Int32 (*getSpeed)(GestureEventPeer* peer); + void (*setSpeed)(GestureEventPeer* peer, + const Ark_Number* speed); + Ark_Int32 (*getScale)(GestureEventPeer* peer); + void (*setScale)(GestureEventPeer* peer, + const Ark_Number* scale); + Ark_Int32 (*getPinchCenterX)(GestureEventPeer* peer); + void (*setPinchCenterX)(GestureEventPeer* peer, + const Ark_Number* pinchCenterX); + Ark_Int32 (*getPinchCenterY)(GestureEventPeer* peer); + void (*setPinchCenterY)(GestureEventPeer* peer, + const Ark_Number* pinchCenterY); + Ark_Int32 (*getVelocityX)(GestureEventPeer* peer); + void (*setVelocityX)(GestureEventPeer* peer, + const Ark_Number* velocityX); + Ark_Int32 (*getVelocityY)(GestureEventPeer* peer); + void (*setVelocityY)(GestureEventPeer* peer, + const Ark_Number* velocityY); + Ark_Int32 (*getVelocity)(GestureEventPeer* peer); + void (*setVelocity)(GestureEventPeer* peer, + const Ark_Number* velocity); +} GENERATED_ArkUIGestureEventAccessor; + typedef struct PanGestureOptionsPeer PanGestureOptionsPeer; typedef struct GENERATED_ArkUIPanGestureOptionsAccessor { void (*destroyPeer)(PanGestureOptionsPeer* peer); @@ -19020,7 +19641,7 @@ typedef struct GENERATED_ArkUISwiperControllerAccessor { const Ark_Number* index, const Opt_Boolean* useAnimation); void (*finishAnimation)(SwiperControllerPeer* peer, - const Opt_VoidCallback* callback); + const Opt_VoidCallback* callback_); } GENERATED_ArkUISwiperControllerAccessor; typedef struct SwiperContentTransitionProxyPeer SwiperContentTransitionProxyPeer; @@ -19194,6 +19815,17 @@ typedef struct GENERATED_ArkUIEditMenuOptionsAccessor { const Ark_TextRange* range); } GENERATED_ArkUIEditMenuOptionsAccessor; +typedef struct SubmitEventPeer SubmitEventPeer; +typedef struct GENERATED_ArkUISubmitEventAccessor { + void (*destroyPeer)(SubmitEventPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + void (*keepEditableState)(SubmitEventPeer* peer); + void (*getText)(SubmitEventPeer* peer); + void (*setText)(SubmitEventPeer* peer, + const Ark_String* text); +} GENERATED_ArkUISubmitEventAccessor; + typedef struct TextInputControllerPeer TextInputControllerPeer; typedef struct GENERATED_ArkUITextInputControllerAccessor { void (*destroyPeer)(TextInputControllerPeer* peer); @@ -19523,7 +20155,7 @@ typedef struct GENERATED_ArkUIWebControllerAccessor { const Ark_Number* factor); void (*clearHistory)(WebControllerPeer* peer); void (*runJavaScript)(WebControllerPeer* peer, - const Ark_Literal_String_script_Callback_String_Void_callback* options); + const Ark_Literal_String_script_Callback_String_Void_callback_* options); void (*loadData)(WebControllerPeer* peer, const Ark_Literal_String_baseUrl_data_encoding_historyUrl_mimeType* options); void (*loadUrl)(WebControllerPeer* peer, @@ -19531,7 +20163,7 @@ typedef struct GENERATED_ArkUIWebControllerAccessor { void (*refresh)(WebControllerPeer* peer); void (*stop)(WebControllerPeer* peer); void (*registerJavaScriptProxy)(WebControllerPeer* peer, - const Ark_Literal_Object_object_String_name_Array_String_methodList* options); + const Ark_Literal_Object_object__String_name_Array_String_methodList* options); void (*deleteJavaScriptRegister)(WebControllerPeer* peer, const Ark_String* name); Ark_NativePointer (*getHitTest)(WebControllerPeer* peer); @@ -19601,13 +20233,13 @@ typedef struct GENERATED_ArkUIUIExtensionProxyAccessor { Ark_NativePointer (*sendSync)(UIExtensionProxyPeer* peer, const Map_String_CustomObject* data); void (*onAsyncReceiverRegister)(UIExtensionProxyPeer* peer, - const Callback_UIExtensionProxy_Void* callback); + const Callback_UIExtensionProxy_Void* callback_); void (*onSyncReceiverRegister)(UIExtensionProxyPeer* peer, - const Callback_UIExtensionProxy_Void* callback); + const Callback_UIExtensionProxy_Void* callback_); void (*offAsyncReceiverRegister)(UIExtensionProxyPeer* peer, - const Opt_Callback_UIExtensionProxy_Void* callback); + const Opt_Callback_UIExtensionProxy_Void* callback_); void (*offSyncReceiverRegister)(UIExtensionProxyPeer* peer, - const Opt_Callback_UIExtensionProxy_Void* callback); + const Opt_Callback_UIExtensionProxy_Void* callback_); } GENERATED_ArkUIUIExtensionProxyAccessor; typedef struct StyledStringPeer StyledStringPeer; @@ -19700,6 +20332,18 @@ typedef struct GENERATED_ArkUILinearIndicatorControllerAccessor { void (*stop)(LinearIndicatorControllerPeer* peer); } GENERATED_ArkUILinearIndicatorControllerAccessor; +typedef struct GlobalScope_inspectorPeer GlobalScope_inspectorPeer; +typedef struct GENERATED_ArkUIGlobalScope_inspectorAccessor { + void (*destroyPeer)(GlobalScope_inspectorPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_NativePointer (*getInspectorNodes)(); + Ark_NativePointer (*getInspectorNodeById)(const Ark_Number* id); + void (*registerVsyncCallback)(const Callback_String_Void* callback_); + void (*unregisterVsyncCallback)(); + void (*setAppBgColor)(const Ark_String* value); +} GENERATED_ArkUIGlobalScope_inspectorAccessor; + typedef struct GENERATED_ArkUIAbilityComponentEventsReceiver { void (*onConnect)(Ark_Int32 nodeId); void (*onDisconnect)(Ark_Int32 nodeId); @@ -19835,8 +20479,8 @@ typedef struct GENERATED_ArkUICommonMethodEventsReceiver { typedef struct GENERATED_ArkUIScrollableCommonMethodEventsReceiver { void (*onScroll)(Ark_Int32 nodeId, - const Ark_Number scrollOffset, - const Ark_ScrollState scrollState); + const Ark_Number first, + const Ark_Number last); void (*onReachStart)(Ark_Int32 nodeId); void (*onReachEnd)(Ark_Int32 nodeId); void (*onScrollStart)(Ark_Int32 nodeId); @@ -19908,8 +20552,8 @@ typedef struct GENERATED_ArkUIGridEventsReceiver { const Ark_Number insertIndex, const Ark_Boolean isSuccess); void (*onScroll)(Ark_Int32 nodeId, - const Ark_Number scrollOffset, - const Ark_ScrollState scrollState); + const Ark_Number first, + const Ark_Number last); void (*onReachStart)(Ark_Int32 nodeId); void (*onReachEnd)(Ark_Int32 nodeId); void (*onScrollStart)(Ark_Int32 nodeId); @@ -19954,8 +20598,8 @@ typedef struct GENERATED_ArkUIImageSpanEventsReceiver { typedef struct GENERATED_ArkUIListEventsReceiver { void (*onScroll)(Ark_Int32 nodeId, - const Ark_Number scrollOffset, - const Ark_ScrollState scrollState); + const Ark_Number first, + const Ark_Number last); void (*onScrollIndex)(Ark_Int32 nodeId, const Ark_Number start, const Ark_Number end, @@ -20127,8 +20771,8 @@ typedef struct GENERATED_ArkUISaveButtonEventsReceiver { typedef struct GENERATED_ArkUIScrollEventsReceiver { void (*onScroll)(Ark_Int32 nodeId, - const Ark_Number scrollOffset, - const Ark_ScrollState scrollState); + const Ark_Number first, + const Ark_Number last); void (*onScrollEdge)(Ark_Int32 nodeId, const Ark_Edge side); void (*onScrollStart)(Ark_Int32 nodeId); @@ -20426,7 +21070,7 @@ typedef struct GENERATED_ArkUIWebEventsReceiver { void (*onShowFileSelector)(Ark_Int32 nodeId, const Ark_OnShowFileSelectorEvent parameter); void (*onFileSelectorShow)(Ark_Int32 nodeId, - const Opt_Literal_Function_callback_Object_fileSelector event); + const Opt_Literal_Function_callback__Object_fileSelector event); void (*onResourceLoad)(Ark_Int32 nodeId, const Ark_OnResourceLoadEvent parameter); void (*onFullScreenExit)(Ark_Int32 nodeId); @@ -20687,16 +21331,34 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIICurveAccessor* (*getICurveAccessor)(); const GENERATED_ArkUIDrawModifierAccessor* (*getDrawModifierAccessor)(); const GENERATED_ArkUITransitionEffectAccessor* (*getTransitionEffectAccessor)(); + const GENERATED_ArkUIBaseEventAccessor* (*getBaseEventAccessor)(); + const GENERATED_ArkUIClickEventAccessor* (*getClickEventAccessor)(); + const GENERATED_ArkUIHoverEventAccessor* (*getHoverEventAccessor)(); + const GENERATED_ArkUIMouseEventAccessor* (*getMouseEventAccessor)(); + const GENERATED_ArkUIAccessibilityHoverEventAccessor* (*getAccessibilityHoverEventAccessor)(); + const GENERATED_ArkUITouchEventAccessor* (*getTouchEventAccessor)(); const GENERATED_ArkUIPixelMapMockAccessor* (*getPixelMapMockAccessor)(); + const GENERATED_ArkUIDragEventAccessor* (*getDragEventAccessor)(); + const GENERATED_ArkUIKeyEventAccessor* (*getKeyEventAccessor)(); const GENERATED_ArkUIProgressMaskAccessor* (*getProgressMaskAccessor)(); const GENERATED_ArkUIViewAccessor* (*getViewAccessor)(); const GENERATED_ArkUITextContentControllerBaseAccessor* (*getTextContentControllerBaseAccessor)(); const GENERATED_ArkUIDynamicNodeAccessor* (*getDynamicNodeAccessor)(); const GENERATED_ArkUIChildrenMainSizeAccessor* (*getChildrenMainSizeAccessor)(); + const GENERATED_ArkUIUICommonEventAccessor* (*getUICommonEventAccessor)(); const GENERATED_ArkUIGestureModifierAccessor* (*getGestureModifierAccessor)(); + const GENERATED_ArkUIGlobalScope_commonAccessor* (*getGlobalScope_commonAccessor)(); const GENERATED_ArkUIContextMenuAccessor* (*getContextMenuAccessor)(); const GENERATED_ArkUICustomDialogControllerAccessor* (*getCustomDialogControllerAccessor)(); const GENERATED_ArkUIDatePickerDialogAccessor* (*getDatePickerDialogAccessor)(); + const GENERATED_ArkUIBaseGestureEventAccessor* (*getBaseGestureEventAccessor)(); + const GENERATED_ArkUITapGestureEventAccessor* (*getTapGestureEventAccessor)(); + const GENERATED_ArkUILongPressGestureEventAccessor* (*getLongPressGestureEventAccessor)(); + const GENERATED_ArkUIPanGestureEventAccessor* (*getPanGestureEventAccessor)(); + const GENERATED_ArkUIPinchGestureEventAccessor* (*getPinchGestureEventAccessor)(); + const GENERATED_ArkUIRotationGestureEventAccessor* (*getRotationGestureEventAccessor)(); + const GENERATED_ArkUISwipeGestureEventAccessor* (*getSwipeGestureEventAccessor)(); + const GENERATED_ArkUIGestureEventAccessor* (*getGestureEventAccessor)(); const GENERATED_ArkUIPanGestureOptionsAccessor* (*getPanGestureOptionsAccessor)(); const GENERATED_ArkUIScrollableTargetInfoAccessor* (*getScrollableTargetInfoAccessor)(); const GENERATED_ArkUIEventTargetInfoAccessor* (*getEventTargetInfoAccessor)(); @@ -20728,6 +21390,7 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUILayoutManagerAccessor* (*getLayoutManagerAccessor)(); const GENERATED_ArkUITextMenuItemIdAccessor* (*getTextMenuItemIdAccessor)(); const GENERATED_ArkUIEditMenuOptionsAccessor* (*getEditMenuOptionsAccessor)(); + const GENERATED_ArkUISubmitEventAccessor* (*getSubmitEventAccessor)(); const GENERATED_ArkUITextInputControllerAccessor* (*getTextInputControllerAccessor)(); const GENERATED_ArkUITextPickerDialogAccessor* (*getTextPickerDialogAccessor)(); const GENERATED_ArkUITextTimerControllerAccessor* (*getTextTimerControllerAccessor)(); @@ -20762,6 +21425,7 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIMutableStyledStringAccessor* (*getMutableStyledStringAccessor)(); const GENERATED_ArkUICustomSpanAccessor* (*getCustomSpanAccessor)(); const GENERATED_ArkUILinearIndicatorControllerAccessor* (*getLinearIndicatorControllerAccessor)(); + const GENERATED_ArkUIGlobalScope_inspectorAccessor* (*getGlobalScope_inspectorAccessor)(); } GENERATED_ArkUIAccessors; typedef struct GENERATED_ArkUIGraphicsAPI { diff --git a/arkoala/framework/native/src/generated/bridge_custom.cc b/arkoala/framework/native/src/generated/bridge_custom.cc index ab84e18a4..098825091 100644 --- a/arkoala/framework/native/src/generated/bridge_custom.cc +++ b/arkoala/framework/native/src/generated/bridge_custom.cc @@ -476,7 +476,6 @@ KVMObjectHandle impl_LoadUserView(KVMContext vm, const KStringPtr& viewClass, co } return nullptr; } - ets_method viewClassCtor = env->Getp_method(viewClassClass, "", "Lstd/core/String;:V"); if (!viewClassCtor) { fprintf(stderr, "Cannot find user class ctor\n"); diff --git a/arkoala/framework/native/src/generated/bridge_generated.cc b/arkoala/framework/native/src/generated/bridge_generated.cc index 24cf774d1..99c186a2d 100644 --- a/arkoala/framework/native/src/generated/bridge_generated.cc +++ b/arkoala/framework/native/src/generated/bridge_generated.cc @@ -19,6 +19,7 @@ #include "common-interop.h" #include "arkoala_api_generated.h" #include "Serializers.h" +#include "callbacks.h" #include "events.h" const GENERATED_ArkUIAnyAPI* GetAnyImpl(int kind, int version, std::string* result = nullptr); @@ -429,7 +430,7 @@ KOALA_INTEROP_V3(AlphabetIndexerAttribute_onPopupSelect, Ark_NativePointer, uint void impl_AlphabetIndexerAttribute_selected(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getAlphabetIndexerModifier()->setSelected(self, (const Ark_Number*)&value); + GetNodeModifiers()->getAlphabetIndexerModifier()->setSelected(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(AlphabetIndexerAttribute_selected, Ark_NativePointer, KInteropNumber) @@ -449,13 +450,13 @@ KOALA_INTEROP_V2(AlphabetIndexerAttribute_autoCollapse, Ark_NativePointer, Ark_B void impl_AlphabetIndexerAttribute_popupItemBorderRadius(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupItemBorderRadius(self, (const Ark_Number*)&value); + GetNodeModifiers()->getAlphabetIndexerModifier()->setPopupItemBorderRadius(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(AlphabetIndexerAttribute_popupItemBorderRadius, Ark_NativePointer, KInteropNumber) void impl_AlphabetIndexerAttribute_itemBorderRadius(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getAlphabetIndexerModifier()->setItemBorderRadius(self, (const Ark_Number*)&value); + GetNodeModifiers()->getAlphabetIndexerModifier()->setItemBorderRadius(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(AlphabetIndexerAttribute_itemBorderRadius, Ark_NativePointer, KInteropNumber) @@ -506,8 +507,8 @@ void impl_AlphabetIndexerAttribute_alignStyle(Ark_NativePointer thisPtr, Ark_Int Deserializer thisDeserializer(thisArray, thisLength); const auto offset_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Length offset_value_buf = {}; - offset_value_buf.tag = offset_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_value_buf_runtimeType)) + 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.readLength(); } @@ -523,7 +524,7 @@ KOALA_INTEROP_2(Animator_construct, Ark_NativePointer, Ark_Int32, Ark_Int32) void impl_AnimatorInterface_setAnimatorOptions(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getAnimatorModifier()->setAnimatorOptions(self, (const Ark_String*)&value); + GetNodeModifiers()->getAnimatorModifier()->setAnimatorOptions(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(AnimatorInterface_setAnimatorOptions, Ark_NativePointer, KStringPtr) @@ -535,7 +536,7 @@ KOALA_INTEROP_V2(AnimatorAttribute_state, Ark_NativePointer, Ark_Int32) void impl_AnimatorAttribute_duration(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getAnimatorModifier()->setDuration(self, (const Ark_Number*)&value); + GetNodeModifiers()->getAnimatorModifier()->setDuration(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(AnimatorAttribute_duration, Ark_NativePointer, KInteropNumber) @@ -547,7 +548,7 @@ KOALA_INTEROP_V2(AnimatorAttribute_curve, Ark_NativePointer, Ark_Int32) void impl_AnimatorAttribute_delay(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getAnimatorModifier()->setDelay(self, (const Ark_Number*)&value); + GetNodeModifiers()->getAnimatorModifier()->setDelay(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(AnimatorAttribute_delay, Ark_NativePointer, KInteropNumber) @@ -559,7 +560,7 @@ KOALA_INTEROP_V2(AnimatorAttribute_fillMode, Ark_NativePointer, Ark_Int32) void impl_AnimatorAttribute_iterations(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getAnimatorModifier()->setIterations(self, (const Ark_Number*)&value); + GetNodeModifiers()->getAnimatorModifier()->setIterations(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(AnimatorAttribute_iterations, Ark_NativePointer, KInteropNumber) @@ -674,8 +675,8 @@ void impl_BlankInterface_setBlankOptions(Ark_NativePointer thisPtr, uint8_t* thi Deserializer thisDeserializer(thisArray, thisLength); const auto min_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Union_Number_String min_value_buf = {}; - min_value_buf.tag = min_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (min_value_buf_runtimeType)) + min_value_buf.tag = min_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (min_value_buf_runtimeType)) { const Ark_Int8 min_value_buf__selector = thisDeserializer.readInt8(); Ark_Union_Number_String min_value_buf_ = {}; @@ -767,8 +768,8 @@ void impl_ButtonInterface_setButtonOptions2(Ark_NativePointer thisPtr, uint8_t* Ark_ResourceStr label_value = static_cast(label_value_buf);; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_ButtonOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readButtonOptions(); } @@ -932,8 +933,8 @@ void impl_CalendarInterface_setCalendarOptions(Ark_NativePointer thisPtr, uint8_ value_value_buf.nextData = thisDeserializer.readMonthData(); const auto value_value_buf_controller_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_CalendarController value_value_buf_controller_buf = {}; - value_value_buf_controller_buf.tag = value_value_buf_controller_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_controller_buf_runtimeType)) + 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.readCalendarController()); } @@ -963,13 +964,13 @@ KOALA_INTEROP_V2(CalendarAttribute_needSlide, Ark_NativePointer, Ark_Boolean) void impl_CalendarAttribute_startOfWeek(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCalendarModifier()->setStartOfWeek(self, (const Ark_Number*)&value); + GetNodeModifiers()->getCalendarModifier()->setStartOfWeek(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(CalendarAttribute_startOfWeek, Ark_NativePointer, KInteropNumber) void impl_CalendarAttribute_offDays(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCalendarModifier()->setOffDays(self, (const Ark_Number*)&value); + GetNodeModifiers()->getCalendarModifier()->setOffDays(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(CalendarAttribute_offDays, Ark_NativePointer, KInteropNumber) @@ -1045,8 +1046,8 @@ void impl_CalendarPickerInterface_setCalendarPickerOptions(Ark_NativePointer thi Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_CalendarOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readCalendarOptions(); } @@ -1076,8 +1077,8 @@ void impl_CalendarPickerAttribute_edgeAlign(Ark_NativePointer thisPtr, Ark_Int32 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_value_buf_runtimeType)) + 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_ = {}; offset_value_buf_.dx = thisDeserializer.readLength(); @@ -1099,8 +1100,8 @@ void impl_CanvasInterface_setCanvasOptions0(Ark_NativePointer thisPtr, uint8_t* 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (context_value_buf_runtimeType)) + 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_ = {}; @@ -1170,8 +1171,8 @@ void impl_CheckboxInterface_setCheckboxOptions(Ark_NativePointer thisPtr, uint8_ 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -1286,8 +1287,8 @@ void impl_CheckboxGroupInterface_setCheckboxGroupOptions(Ark_NativePointer thisP 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -1394,8 +1395,8 @@ void impl_CircleInterface_setCircleOptions(Ark_NativePointer thisPtr, uint8_t* t 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -1414,8 +1415,8 @@ void impl_ColumnInterface_setColumnOptions(Ark_NativePointer thisPtr, uint8_t* t Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_ColumnOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -1449,8 +1450,8 @@ void impl_ColumnAttribute_reverse(Ark_NativePointer thisPtr, uint8_t* thisArray, 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -1481,8 +1482,8 @@ void impl_ColumnSplitAttribute_divider(Ark_NativePointer thisPtr, uint8_t* thisA 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -1513,8 +1514,8 @@ void impl_CommonMethod_drawModifier(Ark_NativePointer thisPtr, uint8_t* thisArra 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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()); } @@ -1658,32 +1659,32 @@ void impl_CommonMethod_padding(Ark_NativePointer thisPtr, uint8_t* thisArray, in 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } @@ -1717,32 +1718,32 @@ void impl_CommonMethod_safeAreaPadding(Ark_NativePointer thisPtr, uint8_t* thisA 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } @@ -1776,32 +1777,32 @@ void impl_CommonMethod_margin(Ark_NativePointer thisPtr, uint8_t* thisArray, int 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } @@ -2007,32 +2008,32 @@ void impl_CommonMethod_borderStyle(Ark_NativePointer thisPtr, uint8_t* thisArray Ark_EdgeStyles value_value_buf_u = {}; const auto value_value_buf_u_top_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_BorderStyle value_value_buf_u_top_buf = {}; - value_value_buf_u_top_buf.tag = value_value_buf_u_top_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) + 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_BorderStyle value_value_buf_u_right_buf = {}; - value_value_buf_u_right_buf.tag = value_value_buf_u_right_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) + 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_BorderStyle value_value_buf_u_bottom_buf = {}; - value_value_buf_u_bottom_buf.tag = value_value_buf_u_bottom_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) + 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_BorderStyle value_value_buf_u_left_buf = {}; - value_value_buf_u_left_buf.tag = value_value_buf_u_left_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) + 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()); } @@ -2062,32 +2063,32 @@ void impl_CommonMethod_borderWidth(Ark_NativePointer thisPtr, uint8_t* thisArray Ark_EdgeWidths 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } @@ -2143,8 +2144,8 @@ void impl_CommonMethod_borderColor(Ark_NativePointer thisPtr, uint8_t* thisArray 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) + 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_ = {}; @@ -2173,8 +2174,8 @@ void impl_CommonMethod_borderColor(Ark_NativePointer thisPtr, uint8_t* thisArray 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) + 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_ = {}; @@ -2203,8 +2204,8 @@ void impl_CommonMethod_borderColor(Ark_NativePointer thisPtr, uint8_t* thisArray 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) + 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_ = {}; @@ -2233,8 +2234,8 @@ void impl_CommonMethod_borderColor(Ark_NativePointer thisPtr, uint8_t* thisArray 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) + 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_ = {}; @@ -2290,32 +2291,32 @@ void impl_CommonMethod_borderRadius(Ark_NativePointer thisPtr, uint8_t* thisArra Ark_BorderRadiuses value_value_buf_u = {}; const auto value_value_buf_u_topLeft_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Length value_value_buf_u_topLeft_buf = {}; - value_value_buf_u_topLeft_buf.tag = value_value_buf_u_topLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_topLeft_buf_runtimeType)) + 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)) { value_value_buf_u_topLeft_buf.value = thisDeserializer.readLength(); } 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_Length value_value_buf_u_topRight_buf = {}; - value_value_buf_u_topRight_buf.tag = value_value_buf_u_topRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_topRight_buf_runtimeType)) + 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)) { value_value_buf_u_topRight_buf.value = thisDeserializer.readLength(); } 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_Length value_value_buf_u_bottomLeft_buf = {}; - value_value_buf_u_bottomLeft_buf.tag = value_value_buf_u_bottomLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_bottomLeft_buf_runtimeType)) + 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)) { value_value_buf_u_bottomLeft_buf.value = thisDeserializer.readLength(); } 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_Length value_value_buf_u_bottomRight_buf = {}; - value_value_buf_u_bottomRight_buf.tag = value_value_buf_u_bottomRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_bottomRight_buf_runtimeType)) + 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)) { value_value_buf_u_bottomRight_buf.value = thisDeserializer.readLength(); } @@ -2365,32 +2366,32 @@ void impl_CommonMethod_outlineStyle(Ark_NativePointer thisPtr, uint8_t* thisArra 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) + 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()); } @@ -2420,32 +2421,32 @@ void impl_CommonMethod_outlineWidth(Ark_NativePointer thisPtr, uint8_t* thisArra Ark_EdgeOutlineWidths 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } @@ -2497,8 +2498,8 @@ void impl_CommonMethod_outlineColor(Ark_NativePointer thisPtr, uint8_t* thisArra 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) + 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_ = {}; @@ -2527,8 +2528,8 @@ void impl_CommonMethod_outlineColor(Ark_NativePointer thisPtr, uint8_t* thisArra 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) + 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_ = {}; @@ -2557,8 +2558,8 @@ void impl_CommonMethod_outlineColor(Ark_NativePointer thisPtr, uint8_t* thisArra 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) + 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_ = {}; @@ -2587,8 +2588,8 @@ void impl_CommonMethod_outlineColor(Ark_NativePointer thisPtr, uint8_t* thisArra 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) + 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_ = {}; @@ -2644,32 +2645,32 @@ void impl_CommonMethod_outlineRadius(Ark_NativePointer thisPtr, uint8_t* thisArr Ark_OutlineRadiuses value_value_buf_u = {}; const auto value_value_buf_u_topLeft_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Length value_value_buf_u_topLeft_buf = {}; - value_value_buf_u_topLeft_buf.tag = value_value_buf_u_topLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_topLeft_buf_runtimeType)) + 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)) { value_value_buf_u_topLeft_buf.value = thisDeserializer.readLength(); } 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_Length value_value_buf_u_topRight_buf = {}; - value_value_buf_u_topRight_buf.tag = value_value_buf_u_topRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_topRight_buf_runtimeType)) + 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)) { value_value_buf_u_topRight_buf.value = thisDeserializer.readLength(); } 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_Length value_value_buf_u_bottomLeft_buf = {}; - value_value_buf_u_bottomLeft_buf.tag = value_value_buf_u_bottomLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_bottomLeft_buf_runtimeType)) + 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)) { value_value_buf_u_bottomLeft_buf.value = thisDeserializer.readLength(); } 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_Length value_value_buf_u_bottomRight_buf = {}; - value_value_buf_u_bottomRight_buf.tag = value_value_buf_u_bottomRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_bottomRight_buf_runtimeType)) + 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)) { value_value_buf_u_bottomRight_buf.value = thisDeserializer.readLength(); } @@ -2740,7 +2741,7 @@ void impl_CommonMethod_onClick1(Ark_NativePointer thisPtr, uint8_t* thisArray, i 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()->setOnClick1(self, (const Callback_ClickEvent_Void*)&event_value, (const Ark_Number*) (&distanceThreshold)); } KOALA_INTEROP_V4(CommonMethod_onClick1, Ark_NativePointer, uint8_t*, int32_t, KInteropNumber) @@ -2822,7 +2823,7 @@ KOALA_INTEROP_V3(CommonMethod_onBlur, Ark_NativePointer, uint8_t*, 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); + GetNodeModifiers()->getCommonMethodModifier()->setTabIndex(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(CommonMethod_tabIndex, Ark_NativePointer, KInteropNumber) @@ -2888,8 +2889,8 @@ void impl_CommonMethod_transition1(Ark_NativePointer thisPtr, uint8_t* thisArray Ark_TransitionEffect effect_value = static_cast(thisDeserializer.readTransitionEffect());; const auto onFinish_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_TransitionFinishCallback onFinish_value_buf = {}; - onFinish_value_buf.tag = onFinish_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (onFinish_value_buf_runtimeType)) + 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))))}; } @@ -2908,19 +2909,19 @@ KOALA_INTEROP_V3(CommonMethod_motionBlur, Ark_NativePointer, uint8_t*, 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); + GetNodeModifiers()->getCommonMethodModifier()->setBrightness(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_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); + GetNodeModifiers()->getCommonMethodModifier()->setContrast(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_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); + GetNodeModifiers()->getCommonMethodModifier()->setGrayscale(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(CommonMethod_grayscale, Ark_NativePointer, KInteropNumber) @@ -2952,13 +2953,13 @@ KOALA_INTEROP_V3(CommonMethod_colorBlend, Ark_NativePointer, uint8_t*, 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); + GetNodeModifiers()->getCommonMethodModifier()->setSaturate(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_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); + GetNodeModifiers()->getCommonMethodModifier()->setSepia(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(CommonMethod_sepia, Ark_NativePointer, KInteropNumber) @@ -3054,13 +3055,13 @@ KOALA_INTEROP_V3(CommonMethod_scale, Ark_NativePointer, uint8_t*, 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); + GetNodeModifiers()->getCommonMethodModifier()->setGridSpan(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_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); + GetNodeModifiers()->getCommonMethodModifier()->setGridOffset(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(CommonMethod_gridOffset, Ark_NativePointer, KInteropNumber) @@ -3128,13 +3129,13 @@ KOALA_INTEROP_V2(CommonMethod_visibility, Ark_NativePointer, Ark_Int32) void impl_CommonMethod_flexGrow(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setFlexGrow(self, (const Ark_Number*)&value); + GetNodeModifiers()->getCommonMethodModifier()->setFlexGrow(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(CommonMethod_flexGrow, Ark_NativePointer, KInteropNumber) void impl_CommonMethod_flexShrink(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setFlexShrink(self, (const Ark_Number*)&value); + GetNodeModifiers()->getCommonMethodModifier()->setFlexShrink(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(CommonMethod_flexShrink, Ark_NativePointer, KInteropNumber) @@ -3168,13 +3169,13 @@ KOALA_INTEROP_V2(CommonMethod_alignSelf, Ark_NativePointer, Ark_Int32) void impl_CommonMethod_displayPriority(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setDisplayPriority(self, (const Ark_Number*)&value); + GetNodeModifiers()->getCommonMethodModifier()->setDisplayPriority(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(CommonMethod_displayPriority, Ark_NativePointer, KInteropNumber) void impl_CommonMethod_zIndex(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setZIndex(self, (const Ark_Number*)&value); + GetNodeModifiers()->getCommonMethodModifier()->setZIndex(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(CommonMethod_zIndex, Ark_NativePointer, KInteropNumber) @@ -3276,8 +3277,8 @@ void impl_CommonMethod_useSizeType(Ark_NativePointer thisPtr, uint8_t* thisArray Ark_Literal_Union_Number_Literal_Number_offset_span_lg_md_sm_xs value_value_buf = {}; const auto value_value_buf_xs_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Union_Number_Literal_Number_offset_span value_value_buf_xs_buf = {}; - value_value_buf_xs_buf.tag = value_value_buf_xs_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_xs_buf_runtimeType)) + value_value_buf_xs_buf.tag = value_value_buf_xs_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_xs_buf_runtimeType)) { const Ark_Int8 value_value_buf_xs_buf__selector = thisDeserializer.readInt8(); Ark_Union_Number_Literal_Number_offset_span value_value_buf_xs_buf_ = {}; @@ -3301,8 +3302,8 @@ void impl_CommonMethod_useSizeType(Ark_NativePointer thisPtr, uint8_t* thisArray value_value_buf.xs = value_value_buf_xs_buf; const auto value_value_buf_sm_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Union_Number_Literal_Number_offset_span value_value_buf_sm_buf = {}; - value_value_buf_sm_buf.tag = value_value_buf_sm_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_sm_buf_runtimeType)) + value_value_buf_sm_buf.tag = value_value_buf_sm_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_sm_buf_runtimeType)) { const Ark_Int8 value_value_buf_sm_buf__selector = thisDeserializer.readInt8(); Ark_Union_Number_Literal_Number_offset_span value_value_buf_sm_buf_ = {}; @@ -3326,8 +3327,8 @@ void impl_CommonMethod_useSizeType(Ark_NativePointer thisPtr, uint8_t* thisArray value_value_buf.sm = value_value_buf_sm_buf; const auto value_value_buf_md_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Union_Number_Literal_Number_offset_span value_value_buf_md_buf = {}; - value_value_buf_md_buf.tag = value_value_buf_md_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_md_buf_runtimeType)) + value_value_buf_md_buf.tag = value_value_buf_md_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_md_buf_runtimeType)) { const Ark_Int8 value_value_buf_md_buf__selector = thisDeserializer.readInt8(); Ark_Union_Number_Literal_Number_offset_span value_value_buf_md_buf_ = {}; @@ -3351,8 +3352,8 @@ void impl_CommonMethod_useSizeType(Ark_NativePointer thisPtr, uint8_t* thisArray value_value_buf.md = value_value_buf_md_buf; const auto value_value_buf_lg_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Union_Number_Literal_Number_offset_span value_value_buf_lg_buf = {}; - value_value_buf_lg_buf.tag = value_value_buf_lg_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_lg_buf_runtimeType)) + value_value_buf_lg_buf.tag = value_value_buf_lg_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf_lg_buf_runtimeType)) { const Ark_Int8 value_value_buf_lg_buf__selector = thisDeserializer.readInt8(); Ark_Union_Number_Literal_Number_offset_span value_value_buf_lg_buf_ = {}; @@ -3397,7 +3398,7 @@ KOALA_INTEROP_V3(CommonMethod_alignRules1, Ark_NativePointer, uint8_t*, int32_t) void impl_CommonMethod_aspectRatio(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setAspectRatio(self, (const Ark_Number*)&value); + GetNodeModifiers()->getCommonMethodModifier()->setAspectRatio(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(CommonMethod_aspectRatio, Ark_NativePointer, KInteropNumber) @@ -3406,8 +3407,8 @@ void impl_CommonMethod_clickEffect(Ark_NativePointer thisPtr, uint8_t* thisArray 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -3469,8 +3470,8 @@ void impl_CommonMethod_allowDrop(Ark_NativePointer thisPtr, uint8_t* thisArray, Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Array_UniformDataType value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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_Int32 value_value_buf__length = thisDeserializer.readInt32(); Array_UniformDataType value_value_buf_ = {}; @@ -3532,8 +3533,8 @@ void impl_CommonMethod_linearGradient(Ark_NativePointer thisPtr, uint8_t* thisAr 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_angle_buf_runtimeType)) + 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 Ark_Int8 value_value_buf_angle_buf__selector = thisDeserializer.readInt8(); Ark_Union_Number_String value_value_buf_angle_buf_ = {}; @@ -3554,8 +3555,8 @@ void impl_CommonMethod_linearGradient(Ark_NativePointer thisPtr, uint8_t* thisAr 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_direction_buf_runtimeType)) + 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)) { value_value_buf_direction_buf.value = static_cast(thisDeserializer.readInt32()); } @@ -3595,8 +3596,8 @@ void impl_CommonMethod_linearGradient(Ark_NativePointer thisPtr, uint8_t* thisAr 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_repeating_buf_runtimeType)) + 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(); } @@ -3616,8 +3617,8 @@ void impl_CommonMethod_sweepGradient(Ark_NativePointer thisPtr, uint8_t* thisArr 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_start_buf_runtimeType)) + 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_ = {}; @@ -3638,8 +3639,8 @@ void impl_CommonMethod_sweepGradient(Ark_NativePointer thisPtr, uint8_t* thisArr 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_end_buf_runtimeType)) + 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_ = {}; @@ -3660,8 +3661,8 @@ void impl_CommonMethod_sweepGradient(Ark_NativePointer thisPtr, uint8_t* thisArr 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_rotation_buf_runtimeType)) + 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_ = {}; @@ -3715,8 +3716,8 @@ void impl_CommonMethod_sweepGradient(Ark_NativePointer thisPtr, uint8_t* thisArr 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_repeating_buf_runtimeType)) + 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(); } @@ -3784,8 +3785,8 @@ void impl_CommonMethod_radialGradient(Ark_NativePointer thisPtr, uint8_t* thisAr 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_repeating_buf_runtimeType)) + 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(); } @@ -3969,19 +3970,19 @@ KOALA_INTEROP_V3(CommonMethod_maskShape, Ark_NativePointer, uint8_t*, 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); + GetNodeModifiers()->getCommonMethodModifier()->setKey(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(CommonMethod_key, Ark_NativePointer, KStringPtr) void impl_CommonMethod_id(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setId(self, (const Ark_String*)&value); + GetNodeModifiers()->getCommonMethodModifier()->setId(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(CommonMethod_id, Ark_NativePointer, KStringPtr) void impl_CommonMethod_geometryTransition0(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setGeometryTransition0(self, (const Ark_String*)&value); + GetNodeModifiers()->getCommonMethodModifier()->setGeometryTransition0(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(CommonMethod_geometryTransition0, Ark_NativePointer, KStringPtr) @@ -3990,13 +3991,13 @@ void impl_CommonMethod_geometryTransition1(Ark_NativePointer thisPtr, const KStr Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_GeometryTransitionOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readGeometryTransitionOptions(); } Opt_GeometryTransitionOptions options_value = options_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setGeometryTransition1(self, (const Ark_String*)&id, (const Opt_GeometryTransitionOptions*)&options_value); + GetNodeModifiers()->getCommonMethodModifier()->setGeometryTransition1(self, (const Ark_String*) (&id), (const Opt_GeometryTransitionOptions*)&options_value); } KOALA_INTEROP_V4(CommonMethod_geometryTransition1, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) @@ -4010,19 +4011,19 @@ KOALA_INTEROP_V3(CommonMethod_stateStyles, Ark_NativePointer, uint8_t*, int32_t) void impl_CommonMethod_restoreId(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setRestoreId(self, (const Ark_Number*)&value); + GetNodeModifiers()->getCommonMethodModifier()->setRestoreId(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(CommonMethod_restoreId, Ark_NativePointer, KInteropNumber) void impl_CommonMethod_sphericalEffect(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setSphericalEffect(self, (const Ark_Number*)&value); + GetNodeModifiers()->getCommonMethodModifier()->setSphericalEffect(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(CommonMethod_sphericalEffect, Ark_NativePointer, KInteropNumber) void impl_CommonMethod_lightUpEffect(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setLightUpEffect(self, (const Ark_Number*)&value); + GetNodeModifiers()->getCommonMethodModifier()->setLightUpEffect(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(CommonMethod_lightUpEffect, Ark_NativePointer, KInteropNumber) @@ -4050,7 +4051,7 @@ KOALA_INTEROP_V4(CommonMethod_accessibilityGroup1, Ark_NativePointer, Ark_Boolea void impl_CommonMethod_accessibilityText0(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityText0(self, (const Ark_String*)&value); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityText0(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(CommonMethod_accessibilityText0, Ark_NativePointer, KStringPtr) @@ -4064,13 +4065,13 @@ KOALA_INTEROP_V3(CommonMethod_accessibilityText1, Ark_NativePointer, uint8_t*, i void impl_CommonMethod_accessibilityTextHint(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityTextHint(self, (const Ark_String*)&value); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityTextHint(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(CommonMethod_accessibilityTextHint, Ark_NativePointer, KStringPtr) void impl_CommonMethod_accessibilityDescription0(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityDescription0(self, (const Ark_String*)&value); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityDescription0(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(CommonMethod_accessibilityDescription0, Ark_NativePointer, KStringPtr) @@ -4084,7 +4085,7 @@ KOALA_INTEROP_V3(CommonMethod_accessibilityDescription1, Ark_NativePointer, uint void impl_CommonMethod_accessibilityLevel(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityLevel(self, (const Ark_String*)&value); + GetNodeModifiers()->getCommonMethodModifier()->setAccessibilityLevel(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(CommonMethod_accessibilityLevel, Ark_NativePointer, KStringPtr) @@ -4125,7 +4126,7 @@ KOALA_INTEROP_V3(CommonMethod_obscured, Ark_NativePointer, uint8_t*, int32_t) void impl_CommonMethod_reuseId(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getCommonMethodModifier()->setReuseId(self, (const Ark_String*)&value); + GetNodeModifiers()->getCommonMethodModifier()->setReuseId(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(CommonMethod_reuseId, Ark_NativePointer, KStringPtr) @@ -4170,8 +4171,8 @@ KOALA_INTEROP_V3(CommonMethod_onGestureRecognizerJudgeBegin0, Ark_NativePointer, void impl_CommonMethod_onGestureRecognizerJudgeBegin1(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength, Ark_Boolean exposeInnerGesture) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - GestureRecognizerJudgeBeginCallback callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_GestureRecognizerJudgeBeginCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_GestureRecognizerJudgeBeginCallback))))};; - GetNodeModifiers()->getCommonMethodModifier()->setOnGestureRecognizerJudgeBegin1(self, (const GestureRecognizerJudgeBeginCallback*)&callback_value, exposeInnerGesture); + GestureRecognizerJudgeBeginCallback callback__value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_GestureRecognizerJudgeBeginCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_GestureRecognizerJudgeBeginCallback))))};; + GetNodeModifiers()->getCommonMethodModifier()->setOnGestureRecognizerJudgeBegin1(self, (const GestureRecognizerJudgeBeginCallback*)&callback__value, exposeInnerGesture); } KOALA_INTEROP_V4(CommonMethod_onGestureRecognizerJudgeBegin1, Ark_NativePointer, uint8_t*, int32_t, Ark_Boolean) @@ -4210,13 +4211,13 @@ void impl_CommonMethod_customProperty(Ark_NativePointer thisPtr, const KStringPt Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_CustomObject value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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.readCustomObject("Object")); } Opt_CustomObject value_value = value_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setCustomProperty(self, (const Ark_String*)&name, (const Opt_CustomObject*)&value_value); + GetNodeModifiers()->getCommonMethodModifier()->setCustomProperty(self, (const Ark_String*) (&name), (const Opt_CustomObject*)&value_value); } KOALA_INTEROP_V4(CommonMethod_customProperty, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) @@ -4225,8 +4226,8 @@ void impl_CommonMethod_expandSafeArea(Ark_NativePointer thisPtr, uint8_t* thisAr Deserializer thisDeserializer(thisArray, thisLength); const auto types_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Array_SafeAreaType types_value_buf = {}; - types_value_buf.tag = types_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (types_value_buf_runtimeType)) + 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_SafeAreaType types_value_buf_ = {}; @@ -4240,8 +4241,8 @@ void impl_CommonMethod_expandSafeArea(Ark_NativePointer thisPtr, uint8_t* thisAr Opt_Array_SafeAreaType types_value = types_value_buf;; const auto edges_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Array_SafeAreaEdge edges_value_buf = {}; - edges_value_buf.tag = edges_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (edges_value_buf_runtimeType)) + 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_SafeAreaEdge edges_value_buf_ = {}; @@ -4263,14 +4264,14 @@ void impl_CommonMethod_background(Ark_NativePointer thisPtr, uint8_t* thisArray, 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_Literal_Alignment_align options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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_Literal_Alignment_align options_value_buf_ = {}; const auto options_value_buf__align_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Alignment options_value_buf__align_buf = {}; - options_value_buf__align_buf.tag = options_value_buf__align_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf__align_buf_runtimeType)) + options_value_buf__align_buf.tag = options_value_buf__align_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf__align_buf_runtimeType)) { options_value_buf__align_buf.value = static_cast(thisDeserializer.readInt32()); } @@ -4316,8 +4317,8 @@ void impl_CommonMethod_backgroundImage(Ark_NativePointer thisPtr, uint8_t* thisA Ark_Union_ResourceStr_PixelMap src_value = static_cast(src_value_buf);; const auto repeat_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_ImageRepeat repeat_value_buf = {}; - repeat_value_buf.tag = repeat_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (repeat_value_buf_runtimeType)) + repeat_value_buf.tag = repeat_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (repeat_value_buf_runtimeType)) { repeat_value_buf.value = static_cast(thisDeserializer.readInt32()); } @@ -4331,8 +4332,8 @@ void impl_CommonMethod_backgroundBlurStyle(Ark_NativePointer thisPtr, Ark_Int32 Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_BackgroundBlurStyleOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readBackgroundBlurStyleOptions(); } @@ -4346,8 +4347,8 @@ void impl_CommonMethod_foregroundBlurStyle(Ark_NativePointer thisPtr, Ark_Int32 Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_ForegroundBlurStyleOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -4361,13 +4362,13 @@ void impl_CommonMethod_focusScopeId0(Ark_NativePointer thisPtr, const KStringPtr 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (isGroup_value_buf_runtimeType)) + 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(); } Opt_Boolean isGroup_value = isGroup_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setFocusScopeId0(self, (const Ark_String*)&id, (const Opt_Boolean*)&isGroup_value); + GetNodeModifiers()->getCommonMethodModifier()->setFocusScopeId0(self, (const Ark_String*) (&id), (const Opt_Boolean*)&isGroup_value); } KOALA_INTEROP_V4(CommonMethod_focusScopeId0, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) @@ -4376,21 +4377,21 @@ void impl_CommonMethod_focusScopeId1(Ark_NativePointer thisPtr, const KStringPtr 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (isGroup_value_buf_runtimeType)) + 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(); } Opt_Boolean isGroup_value = isGroup_value_buf;; const auto arrowStepOut_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean arrowStepOut_value_buf = {}; - arrowStepOut_value_buf.tag = arrowStepOut_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (arrowStepOut_value_buf_runtimeType)) + arrowStepOut_value_buf.tag = arrowStepOut_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (arrowStepOut_value_buf_runtimeType)) { arrowStepOut_value_buf.value = thisDeserializer.readBoolean(); } Opt_Boolean arrowStepOut_value = arrowStepOut_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setFocusScopeId1(self, (const Ark_String*)&id, (const Opt_Boolean*)&isGroup_value, (const Opt_Boolean*)&arrowStepOut_value); + GetNodeModifiers()->getCommonMethodModifier()->setFocusScopeId1(self, (const Ark_String*) (&id), (const Opt_Boolean*)&isGroup_value, (const Opt_Boolean*)&arrowStepOut_value); } KOALA_INTEROP_V4(CommonMethod_focusScopeId1, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) @@ -4399,13 +4400,13 @@ void impl_CommonMethod_focusScopePriority(Ark_NativePointer thisPtr, const KStri Deserializer thisDeserializer(thisArray, thisLength); const auto priority_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_FocusPriority priority_value_buf = {}; - priority_value_buf.tag = priority_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (priority_value_buf_runtimeType)) + priority_value_buf.tag = priority_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (priority_value_buf_runtimeType)) { priority_value_buf.value = static_cast(thisDeserializer.readInt32()); } Opt_FocusPriority priority_value = priority_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setFocusScopePriority(self, (const Ark_String*)&scopeId, (const Opt_FocusPriority*)&priority_value); + GetNodeModifiers()->getCommonMethodModifier()->setFocusScopePriority(self, (const Ark_String*) (&scopeId), (const Opt_FocusPriority*)&priority_value); } KOALA_INTEROP_V4(CommonMethod_focusScopePriority, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) @@ -4414,8 +4415,8 @@ void impl_CommonMethod_gesture(Ark_NativePointer thisPtr, Ark_Int32 gesture, uin Deserializer thisDeserializer(thisArray, thisLength); const auto mask_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_GestureMask mask_value_buf = {}; - mask_value_buf.tag = mask_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (mask_value_buf_runtimeType)) + mask_value_buf.tag = mask_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (mask_value_buf_runtimeType)) { mask_value_buf.value = static_cast(thisDeserializer.readInt32()); } @@ -4429,8 +4430,8 @@ void impl_CommonMethod_priorityGesture(Ark_NativePointer thisPtr, Ark_Int32 gest Deserializer thisDeserializer(thisArray, thisLength); const auto mask_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_GestureMask mask_value_buf = {}; - mask_value_buf.tag = mask_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (mask_value_buf_runtimeType)) + mask_value_buf.tag = mask_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (mask_value_buf_runtimeType)) { mask_value_buf.value = static_cast(thisDeserializer.readInt32()); } @@ -4444,8 +4445,8 @@ void impl_CommonMethod_parallelGesture(Ark_NativePointer thisPtr, Ark_Int32 gest Deserializer thisDeserializer(thisArray, thisLength); const auto mask_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_GestureMask mask_value_buf = {}; - mask_value_buf.tag = mask_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (mask_value_buf_runtimeType)) + mask_value_buf.tag = mask_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (mask_value_buf_runtimeType)) { mask_value_buf.value = static_cast(thisDeserializer.readInt32()); } @@ -4459,13 +4460,13 @@ void impl_CommonMethod_blur(Ark_NativePointer thisPtr, KInteropNumber value, uin 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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()->setBlur(self, (const Ark_Number*)&value, (const Opt_BlurOptions*)&options_value); + GetNodeModifiers()->getCommonMethodModifier()->setBlur(self, (const Ark_Number*) (&value), (const Opt_BlurOptions*)&options_value); } KOALA_INTEROP_V4(CommonMethod_blur, Ark_NativePointer, KInteropNumber, uint8_t*, int32_t) @@ -4473,7 +4474,7 @@ void impl_CommonMethod_linearGradientBlur(Ark_NativePointer thisPtr, KInteropNum 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()->setLinearGradientBlur(self, (const Ark_Number*) (&value), (const Ark_LinearGradientBlurOptions*)&options_value); } KOALA_INTEROP_V4(CommonMethod_linearGradientBlur, Ark_NativePointer, KInteropNumber, uint8_t*, int32_t) @@ -4488,13 +4489,13 @@ void impl_CommonMethod_backdropBlur(Ark_NativePointer thisPtr, KInteropNumber va 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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()->setBackdropBlur(self, (const Ark_Number*)&value, (const Opt_BlurOptions*)&options_value); + GetNodeModifiers()->getCommonMethodModifier()->setBackdropBlur(self, (const Ark_Number*) (&value), (const Opt_BlurOptions*)&options_value); } KOALA_INTEROP_V4(CommonMethod_backdropBlur, Ark_NativePointer, KInteropNumber, uint8_t*, int32_t) @@ -4503,13 +4504,13 @@ void impl_CommonMethod_sharedTransition(Ark_NativePointer thisPtr, const KString Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_sharedTransitionOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readsharedTransitionOptions(); } Opt_sharedTransitionOptions options_value = options_value_buf;; - GetNodeModifiers()->getCommonMethodModifier()->setSharedTransition(self, (const Ark_String*)&id, (const Opt_sharedTransitionOptions*)&options_value); + GetNodeModifiers()->getCommonMethodModifier()->setSharedTransition(self, (const Ark_String*) (&id), (const Opt_sharedTransitionOptions*)&options_value); } KOALA_INTEROP_V4(CommonMethod_sharedTransition, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) @@ -4525,8 +4526,8 @@ void impl_CommonMethod_dragPreviewOptions(Ark_NativePointer thisPtr, uint8_t* th Ark_DragPreviewOptions value_value = thisDeserializer.readDragPreviewOptions();; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_DragInteractionOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readDragInteractionOptions(); } @@ -4559,8 +4560,8 @@ void impl_CommonMethod_overlay(Ark_NativePointer thisPtr, uint8_t* thisArray, in Ark_Union_String_CustomBuilder_ComponentContent value_value = static_cast(value_value_buf);; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_OverlayOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readOverlayOptions(); } @@ -4574,8 +4575,8 @@ void impl_CommonMethod_blendMode(Ark_NativePointer thisPtr, Ark_Int32 value, uin 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (type_value_buf_runtimeType)) + 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()); } @@ -4604,8 +4605,8 @@ void impl_CommonMethod_advancedBlendMode(Ark_NativePointer thisPtr, uint8_t* thi Ark_Union_BlendMode_Blender effect_value = static_cast(effect_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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (type_value_buf_runtimeType)) + 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()); } @@ -4663,8 +4664,8 @@ void impl_CommonMethod_bindMenu0(Ark_NativePointer thisPtr, uint8_t* thisArray, Ark_Union_Array_MenuElement_CustomBuilder content_value = static_cast(content_value_buf);; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_MenuOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readMenuOptions(); } @@ -4700,8 +4701,8 @@ void impl_CommonMethod_bindMenu1(Ark_NativePointer thisPtr, Ark_Boolean isShow, Ark_Union_Array_MenuElement_CustomBuilder content_value = static_cast(content_value_buf);; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_MenuOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readMenuOptions(); } @@ -4716,8 +4717,8 @@ void impl_CommonMethod_bindContextMenu0(Ark_NativePointer thisPtr, uint8_t* this 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_ContextMenuOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readContextMenuOptions(); } @@ -4732,8 +4733,8 @@ void impl_CommonMethod_bindContextMenu1(Ark_NativePointer thisPtr, Ark_Boolean i 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_ContextMenuOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readContextMenuOptions(); } @@ -4747,8 +4748,8 @@ void impl_CommonMethod_bindContentCover0(Ark_NativePointer thisPtr, uint8_t* thi 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (isShow_value_buf_runtimeType)) + 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(); } @@ -4756,8 +4757,8 @@ void impl_CommonMethod_bindContentCover0(Ark_NativePointer thisPtr, uint8_t* thi 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 = {}; - type_value_buf.tag = type_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (type_value_buf_runtimeType)) + 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()); } @@ -4771,8 +4772,8 @@ void impl_CommonMethod_bindContentCover1(Ark_NativePointer thisPtr, uint8_t* thi 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (isShow_value_buf_runtimeType)) + 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(); } @@ -4780,8 +4781,8 @@ void impl_CommonMethod_bindContentCover1(Ark_NativePointer thisPtr, uint8_t* thi 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 = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readContentCoverOptions(); } @@ -4795,8 +4796,8 @@ void impl_CommonMethod_bindSheet(Ark_NativePointer thisPtr, uint8_t* thisArray, 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (isShow_value_buf_runtimeType)) + 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(); } @@ -4804,8 +4805,8 @@ void impl_CommonMethod_bindSheet(Ark_NativePointer thisPtr, uint8_t* thisArray, 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 = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readSheetOptions(); } @@ -4858,8 +4859,8 @@ void impl_CommonMethod_keyboardShortcut(Ark_NativePointer thisPtr, uint8_t* this Array_ModifierKey keys_value = keys_value_buf;; const auto action_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Callback_Void action_value_buf = {}; - action_value_buf.tag = action_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (action_value_buf_runtimeType)) + action_value_buf.tag = action_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (action_value_buf_runtimeType)) { action_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))))}; } @@ -5057,14 +5058,14 @@ void impl_CommonShapeMethod_strokeDashArray(Ark_NativePointer thisPtr, uint8_t* Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_CustomObject 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++) { - value_value_buf.array[value_value_buf_i] = static_cast(thisDeserializer.readCustomObject("Any")); + value_value_buf.array[value_value_buf_i] = thisDeserializer.readLength(); } - Array_CustomObject value_value = value_value_buf;; - GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeDashArray(self, (const Array_CustomObject*)&value_value); + Array_Length value_value = value_value_buf;; + GetNodeModifiers()->getCommonShapeMethodModifier()->setStrokeDashArray(self, (const Array_Length*)&value_value); } KOALA_INTEROP_V3(CommonShapeMethod_strokeDashArray, Ark_NativePointer, uint8_t*, int32_t) @@ -5177,8 +5178,8 @@ KOALA_INTEROP_V3(ScrollableCommonMethod_friction, Ark_NativePointer, uint8_t*, i void impl_ScrollableCommonMethod_onScroll(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_ScrollState_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_ScrollState_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_ScrollState_Void))))};; - GetNodeModifiers()->getScrollableCommonMethodModifier()->setOnScroll(self, (const Callback_Number_ScrollState_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()->getScrollableCommonMethodModifier()->setOnScroll(self, (const Callback_Number_Number_Void*)&value_value); } KOALA_INTEROP_V3(ScrollableCommonMethod_onScroll, Ark_NativePointer, uint8_t*, int32_t) @@ -5187,8 +5188,8 @@ void impl_ScrollableCommonMethod_onWillScroll(Ark_NativePointer thisPtr, uint8_t 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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))))}; } @@ -5201,14 +5202,14 @@ void impl_ScrollableCommonMethod_onDidScroll(Ark_NativePointer thisPtr, uint8_t* 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + Opt_ScrollOnScrollCallback 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))))}; + value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ScrollOnScrollCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ScrollOnScrollCallback))))}; } - Opt_ScrollOnWillScrollCallback value_value = value_value_buf;; - GetNodeModifiers()->getScrollableCommonMethodModifier()->setOnDidScroll(self, (const Opt_ScrollOnWillScrollCallback*)&value_value); + Opt_ScrollOnScrollCallback value_value = value_value_buf;; + GetNodeModifiers()->getScrollableCommonMethodModifier()->setOnDidScroll(self, (const Opt_ScrollOnScrollCallback*)&value_value); } KOALA_INTEROP_V3(ScrollableCommonMethod_onDidScroll, Ark_NativePointer, uint8_t*, int32_t) @@ -5246,7 +5247,7 @@ KOALA_INTEROP_V3(ScrollableCommonMethod_onScrollStop, Ark_NativePointer, uint8_t void impl_ScrollableCommonMethod_flingSpeedLimit(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getScrollableCommonMethodModifier()->setFlingSpeedLimit(self, (const Ark_Number*)&value); + GetNodeModifiers()->getScrollableCommonMethodModifier()->setFlingSpeedLimit(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(ScrollableCommonMethod_flingSpeedLimit, Ark_NativePointer, KInteropNumber) @@ -5277,8 +5278,8 @@ void impl_ScrollableCommonMethod_edgeEffect(Ark_NativePointer thisPtr, Ark_Int32 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -5292,16 +5293,16 @@ void impl_ScrollableCommonMethod_fadingEdge(Ark_NativePointer thisPtr, uint8_t* Deserializer thisDeserializer(thisArray, thisLength); const auto enabled_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean enabled_value_buf = {}; - enabled_value_buf.tag = enabled_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (enabled_value_buf_runtimeType)) + 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 options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_FadingEdgeOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readFadingEdgeOptions(); } @@ -5320,8 +5321,8 @@ void impl_Component3DInterface_setComponent3DOptions(Ark_NativePointer 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (sceneOptions_value_buf_runtimeType)) + 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(); } @@ -5635,8 +5636,8 @@ void impl_DatePickerInterface_setDatePickerOptions(Ark_NativePointer thisPtr, ui 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -5787,8 +5788,8 @@ void impl_EllipseInterface_setEllipseOptions(Ark_NativePointer thisPtr, uint8_t* 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readEllipseOptions(); } @@ -5836,8 +5837,8 @@ void impl_FlexInterface_setFlexOptions(Ark_NativePointer thisPtr, uint8_t* thisA Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_FlexOptions value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -5875,8 +5876,8 @@ void impl_FolderStackInterface_setFolderStackOptions(Ark_NativePointer thisPtr, Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_FolderStackOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -5942,7 +5943,7 @@ KOALA_INTEROP_V3(FormComponentAttribute_size, Ark_NativePointer, uint8_t*, int32 void impl_FormComponentAttribute_moduleName(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getFormComponentModifier()->setModuleName(self, (const Ark_String*)&value); + GetNodeModifiers()->getFormComponentModifier()->setModuleName(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(FormComponentAttribute_moduleName, Ark_NativePointer, KStringPtr) @@ -6032,19 +6033,19 @@ KOALA_INTEROP_V3(GaugeInterface_setGaugeOptions, Ark_NativePointer, uint8_t*, in void impl_GaugeAttribute_value(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGaugeModifier()->setValue(self, (const Ark_Number*)&value); + GetNodeModifiers()->getGaugeModifier()->setValue(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_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); + GetNodeModifiers()->getGaugeModifier()->setStartAngle(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_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); + GetNodeModifiers()->getGaugeModifier()->setEndAngle(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(GaugeAttribute_endAngle, Ark_NativePointer, KInteropNumber) @@ -6177,8 +6178,8 @@ void impl_GaugeAttribute_privacySensitive(Ark_NativePointer thisPtr, uint8_t* th 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -6205,16 +6206,16 @@ void impl_GridInterface_setGridOptions(Ark_NativePointer thisPtr, uint8_t* thisA 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (scroller_value_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (layoutOptions_value_buf_runtimeType)) + 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(); } @@ -6225,13 +6226,13 @@ KOALA_INTEROP_V3(GridInterface_setGridOptions, Ark_NativePointer, uint8_t*, int3 void impl_GridAttribute_columnsTemplate(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridModifier()->setColumnsTemplate(self, (const Ark_String*)&value); + 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); + GetNodeModifiers()->getGridModifier()->setRowsTemplate(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(GridAttribute_rowsTemplate, Ark_NativePointer, KStringPtr) @@ -6319,13 +6320,13 @@ KOALA_INTEROP_V3(GridAttribute_onScrollIndex, Ark_NativePointer, uint8_t*, int32 void impl_GridAttribute_cachedCount0(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridModifier()->setCachedCount0(self, (const Ark_Number*)&value); + GetNodeModifiers()->getGridModifier()->setCachedCount0(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_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); + GetNodeModifiers()->getGridModifier()->setCachedCount1(self, (const Ark_Number*) (&count), show); } KOALA_INTEROP_V3(GridAttribute_cachedCount1, Ark_NativePointer, KInteropNumber, Ark_Boolean) @@ -6343,19 +6344,19 @@ KOALA_INTEROP_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); + GetNodeModifiers()->getGridModifier()->setMaxCount(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(GridAttribute_maxCount, Ark_NativePointer, KInteropNumber) void impl_GridAttribute_minCount(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridModifier()->setMinCount(self, (const Ark_Number*)&value); + GetNodeModifiers()->getGridModifier()->setMinCount(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(GridAttribute_minCount, Ark_NativePointer, KInteropNumber) void impl_GridAttribute_cellLength(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridModifier()->setCellLength(self, (const Ark_Number*)&value); + GetNodeModifiers()->getGridModifier()->setCellLength(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(GridAttribute_cellLength, Ark_NativePointer, KInteropNumber) @@ -6374,8 +6375,8 @@ KOALA_INTEROP_V2(GridAttribute_supportAnimation, Ark_NativePointer, Ark_Boolean) void impl_GridAttribute_onItemDragStart(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_ItemDragInfo_Number_Callback_Any value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Number_Callback_Any)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Number_Callback_Any))))};; - GetNodeModifiers()->getGridModifier()->setOnItemDragStart(self, (const Callback_ItemDragInfo_Number_Callback_Any*)&value_value); + Callback_ItemDragInfo_Number_CustomBuilder value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Number_CustomBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Number_CustomBuilder))))};; + GetNodeModifiers()->getGridModifier()->setOnItemDragStart(self, (const Callback_ItemDragInfo_Number_CustomBuilder*)&value_value); } KOALA_INTEROP_V3(GridAttribute_onItemDragStart, Ark_NativePointer, uint8_t*, int32_t) @@ -6452,8 +6453,8 @@ void impl_GridAttribute_alignItems(Ark_NativePointer thisPtr, uint8_t* thisArray 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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()); } @@ -6465,8 +6466,8 @@ KOALA_INTEROP_V3(GridAttribute_alignItems, Ark_NativePointer, uint8_t*, int32_t) void impl_GridAttribute_onScroll(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_ScrollState_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_ScrollState_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_ScrollState_Void))))};; - GetNodeModifiers()->getGridModifier()->setOnScroll(self, (const Callback_Number_ScrollState_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()->getGridModifier()->setOnScroll(self, (const Callback_Number_Number_Void*)&value_value); } KOALA_INTEROP_V3(GridAttribute_onScroll, Ark_NativePointer, uint8_t*, int32_t) @@ -6515,8 +6516,8 @@ void impl_GridAttribute_edgeEffect(Ark_NativePointer thisPtr, Ark_Int32 value, u 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -6535,8 +6536,8 @@ void impl_GridItemInterface_setGridItemOptions(Ark_NativePointer thisPtr, uint8_ Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_GridItemOptions value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -6547,25 +6548,25 @@ KOALA_INTEROP_V3(GridItemInterface_setGridItemOptions, Ark_NativePointer, uint8_ void impl_GridItemAttribute_rowStart(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridItemModifier()->setRowStart(self, (const Ark_Number*)&value); + GetNodeModifiers()->getGridItemModifier()->setRowStart(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(GridItemAttribute_rowStart, Ark_NativePointer, KInteropNumber) void impl_GridItemAttribute_rowEnd(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridItemModifier()->setRowEnd(self, (const Ark_Number*)&value); + GetNodeModifiers()->getGridItemModifier()->setRowEnd(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(GridItemAttribute_rowEnd, Ark_NativePointer, KInteropNumber) void impl_GridItemAttribute_columnStart(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridItemModifier()->setColumnStart(self, (const Ark_Number*)&value); + GetNodeModifiers()->getGridItemModifier()->setColumnStart(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(GridItemAttribute_columnStart, Ark_NativePointer, KInteropNumber) void impl_GridItemAttribute_columnEnd(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getGridItemModifier()->setColumnEnd(self, (const Ark_Number*)&value); + GetNodeModifiers()->getGridItemModifier()->setColumnEnd(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(GridItemAttribute_columnEnd, Ark_NativePointer, KInteropNumber) @@ -6605,8 +6606,8 @@ void impl_GridColInterface_setGridColOptions(Ark_NativePointer thisPtr, uint8_t* 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (option_value_buf_runtimeType)) + 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(); } @@ -6691,8 +6692,8 @@ void impl_GridContainerInterface_setGridContainerOptions(Ark_NativePointer thisP 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -6711,8 +6712,8 @@ void impl_GridRowInterface_setGridRowOptions(Ark_NativePointer thisPtr, uint8_t* 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (option_value_buf_runtimeType)) + 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(); } @@ -6760,8 +6761,8 @@ void impl_HyperlinkInterface_setHyperlinkOptions(Ark_NativePointer thisPtr, uint 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (content_value_buf_runtimeType)) + 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_ = {}; @@ -7106,7 +7107,7 @@ KOALA_INTEROP_V3(ImageAttribute_pointLight, Ark_NativePointer, uint8_t*, 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); + GetNodeModifiers()->getImageModifier()->setEdgeAntialiasing(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(ImageAttribute_edgeAntialiasing, Ark_NativePointer, KInteropNumber) @@ -7204,7 +7205,7 @@ KOALA_INTEROP_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); + GetNodeModifiers()->getImageAnimatorModifier()->setDuration(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(ImageAnimatorAttribute_duration, Ark_NativePointer, KInteropNumber) @@ -7222,7 +7223,7 @@ KOALA_INTEROP_V2(ImageAnimatorAttribute_fixedSize, Ark_NativePointer, Ark_Boolea void impl_ImageAnimatorAttribute_preDecode(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getImageAnimatorModifier()->setPreDecode(self, (const Ark_Number*)&value); + GetNodeModifiers()->getImageAnimatorModifier()->setPreDecode(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(ImageAnimatorAttribute_preDecode, Ark_NativePointer, KInteropNumber) @@ -7234,7 +7235,7 @@ KOALA_INTEROP_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); + GetNodeModifiers()->getImageAnimatorModifier()->setIterations(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(ImageAnimatorAttribute_iterations, Ark_NativePointer, KInteropNumber) @@ -7387,8 +7388,8 @@ void impl_LineInterface_setLineOptions(Ark_NativePointer thisPtr, uint8_t* thisA 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -7401,14 +7402,14 @@ void impl_LineAttribute_startPoint(Ark_NativePointer thisPtr, uint8_t* thisArray Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_CustomObject 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++) { - value_value_buf.array[value_value_buf_i] = static_cast(thisDeserializer.readCustomObject("Any")); + value_value_buf.array[value_value_buf_i] = thisDeserializer.readLength(); } - Array_CustomObject value_value = value_value_buf;; - GetNodeModifiers()->getLineModifier()->setStartPoint(self, (const Array_CustomObject*)&value_value); + Array_Length value_value = value_value_buf;; + GetNodeModifiers()->getLineModifier()->setStartPoint(self, (const Array_Length*)&value_value); } KOALA_INTEROP_V3(LineAttribute_startPoint, Ark_NativePointer, uint8_t*, int32_t) @@ -7416,14 +7417,14 @@ void impl_LineAttribute_endPoint(Ark_NativePointer thisPtr, uint8_t* thisArray, Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_CustomObject 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++) { - value_value_buf.array[value_value_buf_i] = static_cast(thisDeserializer.readCustomObject("Any")); + value_value_buf.array[value_value_buf_i] = thisDeserializer.readLength(); } - Array_CustomObject value_value = value_value_buf;; - GetNodeModifiers()->getLineModifier()->setEndPoint(self, (const Array_CustomObject*)&value_value); + Array_Length value_value = value_value_buf;; + GetNodeModifiers()->getLineModifier()->setEndPoint(self, (const Array_Length*)&value_value); } KOALA_INTEROP_V3(LineAttribute_endPoint, Ark_NativePointer, uint8_t*, int32_t) @@ -7437,8 +7438,8 @@ void impl_ListInterface_setListOptions(Ark_NativePointer thisPtr, uint8_t* thisA 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readListOptions(); } @@ -7467,13 +7468,13 @@ KOALA_INTEROP_V2(ListAttribute_scrollBar, Ark_NativePointer, Ark_Int32) void impl_ListAttribute_contentStartOffset(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListModifier()->setContentStartOffset(self, (const Ark_Number*)&value); + GetNodeModifiers()->getListModifier()->setContentStartOffset(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(ListAttribute_contentStartOffset, Ark_NativePointer, KInteropNumber) void impl_ListAttribute_contentEndOffset(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getListModifier()->setContentEndOffset(self, (const Ark_Number*)&value); + GetNodeModifiers()->getListModifier()->setContentEndOffset(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(ListAttribute_contentEndOffset, Ark_NativePointer, KInteropNumber) @@ -7482,8 +7483,8 @@ void impl_ListAttribute_divider(Ark_NativePointer thisPtr, uint8_t* thisArray, i 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -7506,13 +7507,13 @@ KOALA_INTEROP_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); + GetNodeModifiers()->getListModifier()->setCachedCount0(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_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); + GetNodeModifiers()->getListModifier()->setCachedCount1(self, (const Ark_Number*) (&count), show); } KOALA_INTEROP_V3(ListAttribute_cachedCount1, Ark_NativePointer, KInteropNumber, Ark_Boolean) @@ -7595,8 +7596,8 @@ KOALA_INTEROP_V2(ListAttribute_maintainVisibleContentPosition, Ark_NativePointer void impl_ListAttribute_onScroll(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_ScrollState_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_ScrollState_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_ScrollState_Void))))};; - GetNodeModifiers()->getListModifier()->setOnScroll(self, (const Callback_Number_ScrollState_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()->getListModifier()->setOnScroll(self, (const Callback_Number_Number_Void*)&value_value); } KOALA_INTEROP_V3(ListAttribute_onScroll, Ark_NativePointer, uint8_t*, int32_t) @@ -7667,8 +7668,8 @@ KOALA_INTEROP_V3(ListAttribute_onItemMove, Ark_NativePointer, uint8_t*, int32_t) void impl_ListAttribute_onItemDragStart(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_ItemDragInfo_Number_Callback_Any value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Number_Callback_Any)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Number_Callback_Any))))};; - GetNodeModifiers()->getListModifier()->setOnItemDragStart(self, (const Callback_ItemDragInfo_Number_Callback_Any*)&value_value); + Callback_ItemDragInfo_Number_CustomBuilder value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_ItemDragInfo_Number_CustomBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_ItemDragInfo_Number_CustomBuilder))))};; + GetNodeModifiers()->getListModifier()->setOnItemDragStart(self, (const Callback_ItemDragInfo_Number_CustomBuilder*)&value_value); } KOALA_INTEROP_V3(ListAttribute_onItemDragStart, Ark_NativePointer, uint8_t*, int32_t) @@ -7735,8 +7736,8 @@ void impl_ListAttribute_lanes(Ark_NativePointer thisPtr, uint8_t* thisArray, int Ark_Union_Number_LengthConstrain value_value = static_cast(value_value_buf);; const auto gutter_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Length gutter_value_buf = {}; - gutter_value_buf.tag = gutter_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (gutter_value_buf_runtimeType)) + 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)) { gutter_value_buf.value = thisDeserializer.readLength(); } @@ -7750,8 +7751,8 @@ void impl_ListAttribute_edgeEffect(Ark_NativePointer thisPtr, Ark_Int32 value, u 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -7770,8 +7771,8 @@ void impl_ListItemInterface_setListItemOptions0(Ark_NativePointer thisPtr, uint8 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -7785,8 +7786,8 @@ void impl_ListItemInterface_setListItemOptions1(Ark_NativePointer thisPtr, uint8 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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()); } @@ -7861,8 +7862,8 @@ void impl_ListItemGroupInterface_setListItemGroupOptions(Ark_NativePointer thisP 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -7876,8 +7877,8 @@ void impl_ListItemGroupAttribute_divider(Ark_NativePointer thisPtr, uint8_t* thi 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -8228,32 +8229,32 @@ void impl_MenuAttribute_radius(Ark_NativePointer thisPtr, uint8_t* thisArray, in Ark_BorderRadiuses value_value_buf_u = {}; const auto value_value_buf_u_topLeft_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Length value_value_buf_u_topLeft_buf = {}; - value_value_buf_u_topLeft_buf.tag = value_value_buf_u_topLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_topLeft_buf_runtimeType)) + 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)) { value_value_buf_u_topLeft_buf.value = thisDeserializer.readLength(); } 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_Length value_value_buf_u_topRight_buf = {}; - value_value_buf_u_topRight_buf.tag = value_value_buf_u_topRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_topRight_buf_runtimeType)) + 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)) { value_value_buf_u_topRight_buf.value = thisDeserializer.readLength(); } 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_Length value_value_buf_u_bottomLeft_buf = {}; - value_value_buf_u_bottomLeft_buf.tag = value_value_buf_u_bottomLeft_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_bottomLeft_buf_runtimeType)) + 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)) { value_value_buf_u_bottomLeft_buf.value = thisDeserializer.readLength(); } 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_Length value_value_buf_u_bottomRight_buf = {}; - value_value_buf_u_bottomRight_buf.tag = value_value_buf_u_bottomRight_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_bottomRight_buf_runtimeType)) + 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)) { value_value_buf_u_bottomRight_buf.value = thisDeserializer.readLength(); } @@ -8273,8 +8274,8 @@ void impl_MenuAttribute_menuItemDivider(Ark_NativePointer thisPtr, uint8_t* this 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -8288,8 +8289,8 @@ void impl_MenuAttribute_menuItemGroupDivider(Ark_NativePointer thisPtr, uint8_t* 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -8314,8 +8315,8 @@ void impl_MenuItemInterface_setMenuItemOptions(Ark_NativePointer thisPtr, uint8_ 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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_ = {}; @@ -8478,8 +8479,8 @@ void impl_MenuItemGroupInterface_setMenuItemGroupOptions(Ark_NativePointer thisP 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -8655,8 +8656,8 @@ void impl_NavDestinationAttribute_systemBarStyle(Ark_NativePointer thisPtr, uint 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -8670,8 +8671,8 @@ void impl_NavDestinationAttribute_recoverable(Ark_NativePointer thisPtr, uint8_t 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -8718,8 +8719,8 @@ void impl_NavDestinationAttribute_title(Ark_NativePointer thisPtr, uint8_t* this 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -8755,8 +8756,8 @@ void impl_NavDestinationAttribute_toolbarConfiguration(Ark_NativePointer thisPtr 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -8770,8 +8771,8 @@ void impl_NavDestinationAttribute_hideToolBar(Ark_NativePointer thisPtr, Ark_Boo 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + 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(); } @@ -8785,8 +8786,8 @@ void impl_NavDestinationAttribute_ignoreLayoutSafeArea(Ark_NativePointer 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (types_value_buf_runtimeType)) + 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_ = {}; @@ -8800,8 +8801,8 @@ void impl_NavDestinationAttribute_ignoreLayoutSafeArea(Ark_NativePointer thisPtr 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (edges_value_buf_runtimeType)) + 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_ = {}; @@ -8860,15 +8861,15 @@ void impl_NavigatorInterface_setNavigatorOptions0(Ark_NativePointer thisPtr, uin Deserializer thisDeserializer(thisArray, thisLength); 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf__type_buf_runtimeType)) + 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()); } @@ -8900,7 +8901,7 @@ KOALA_INTEROP_V2(NavigatorAttribute_type, Ark_NativePointer, Ark_Int32) void impl_NavigatorAttribute_target(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getNavigatorModifier()->setTarget(self, (const Ark_String*)&value); + GetNodeModifiers()->getNavigatorModifier()->setTarget(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(NavigatorAttribute_target, Ark_NativePointer, KStringPtr) @@ -9137,8 +9138,8 @@ void impl_PathInterface_setPathOptions(Ark_NativePointer thisPtr, uint8_t* thisA 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -9149,7 +9150,7 @@ KOALA_INTEROP_V3(PathInterface_setPathOptions, Ark_NativePointer, uint8_t*, int3 void impl_PathAttribute_commands(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getPathModifier()->setCommands(self, (const Ark_String*)&value); + GetNodeModifiers()->getPathModifier()->setCommands(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(PathAttribute_commands, Ark_NativePointer, KStringPtr) @@ -9163,8 +9164,8 @@ void impl_PatternLockInterface_setPatternLockOptions(Ark_NativePointer 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (controller_value_buf_runtimeType)) + 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()); } @@ -9384,8 +9385,8 @@ void impl_PatternLockAttribute_activateCircleStyle(Ark_NativePointer thisPtr, ui 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -9433,8 +9434,8 @@ void impl_PolygonInterface_setPolygonOptions(Ark_NativePointer thisPtr, uint8_t* 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -9447,14 +9448,14 @@ void impl_PolygonAttribute_points(Ark_NativePointer thisPtr, uint8_t* thisArray, Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_CustomObject value_value_buf = {}; + Array_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] = static_cast(thisDeserializer.readCustomObject("Any")); + value_value_buf.array[value_value_buf_i] = thisDeserializer.readPoint(); } - Array_CustomObject value_value = value_value_buf;; - GetNodeModifiers()->getPolygonModifier()->setPoints(self, (const Array_CustomObject*)&value_value); + Array_Point value_value = value_value_buf;; + GetNodeModifiers()->getPolygonModifier()->setPoints(self, (const Array_Point*)&value_value); } KOALA_INTEROP_V3(PolygonAttribute_points, Ark_NativePointer, uint8_t*, int32_t) @@ -9468,8 +9469,8 @@ void impl_PolylineInterface_setPolylineOptions(Ark_NativePointer thisPtr, uint8_ 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -9482,14 +9483,14 @@ void impl_PolylineAttribute_points(Ark_NativePointer thisPtr, uint8_t* thisArray Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_CustomObject value_value_buf = {}; + Array_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] = static_cast(thisDeserializer.readCustomObject("Any")); + value_value_buf.array[value_value_buf_i] = thisDeserializer.readPoint(); } - Array_CustomObject value_value = value_value_buf;; - GetNodeModifiers()->getPolylineModifier()->setPoints(self, (const Array_CustomObject*)&value_value); + Array_Point value_value = value_value_buf;; + GetNodeModifiers()->getPolylineModifier()->setPoints(self, (const Array_Point*)&value_value); } KOALA_INTEROP_V3(PolylineAttribute_points, Ark_NativePointer, uint8_t*, int32_t) @@ -9508,7 +9509,7 @@ KOALA_INTEROP_V3(ProgressInterface_setProgressOptions, Ark_NativePointer, uint8_ void impl_ProgressAttribute_value(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getProgressModifier()->setValue(self, (const Ark_Number*)&value); + GetNodeModifiers()->getProgressModifier()->setValue(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(ProgressAttribute_value, Ark_NativePointer, KInteropNumber) @@ -9591,8 +9592,8 @@ void impl_ProgressAttribute_privacySensitive(Ark_NativePointer thisPtr, uint8_t* 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -9616,7 +9617,7 @@ KOALA_INTEROP_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); + GetNodeModifiers()->getQRCodeModifier()->setQRCodeOptions(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(QRCodeInterface_setQRCodeOptions, Ark_NativePointer, KStringPtr) @@ -9734,8 +9735,8 @@ void impl_RadioAttribute_radioStyle(Ark_NativePointer thisPtr, uint8_t* thisArra 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -9762,8 +9763,8 @@ void impl_RatingInterface_setRatingOptions(Ark_NativePointer thisPtr, uint8_t* t 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readRatingOptions(); } @@ -9774,13 +9775,13 @@ KOALA_INTEROP_V3(RatingInterface_setRatingOptions, Ark_NativePointer, uint8_t*, void impl_RatingAttribute_stars(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRatingModifier()->setStars(self, (const Ark_Number*)&value); + GetNodeModifiers()->getRatingModifier()->setStars(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_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); + GetNodeModifiers()->getRatingModifier()->setStepSize(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(RatingAttribute_stepSize, Ark_NativePointer, KInteropNumber) @@ -9818,8 +9819,8 @@ void impl_RectInterface_setRectOptions(Ark_NativePointer thisPtr, uint8_t* thisA 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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_ = {}; @@ -9890,7 +9891,7 @@ void impl_RectAttribute_radius(Ark_NativePointer thisPtr, uint8_t* thisArray, in Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int8 value_value_buf_selector = thisDeserializer.readInt8(); - Ark_Union_Number_String_Array_Any 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; @@ -9903,19 +9904,33 @@ void impl_RectAttribute_radius(Ark_NativePointer thisPtr, uint8_t* thisArray, in else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; const Ark_Int32 value_value_buf_u_length = thisDeserializer.readInt32(); - Array_CustomObject value_value_buf_u = {}; + 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++) { - value_value_buf_u.array[value_value_buf_u_i] = static_cast(thisDeserializer.readCustomObject("Any")); + 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 { + throw "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 { throw "One of the branches for value_value_buf has to be chosen through deserialisation."; } - Ark_Union_Number_String_Array_Any value_value = static_cast(value_value_buf);; - GetNodeModifiers()->getRectModifier()->setRadius(self, (const Ark_Union_Number_String_Array_Any*)&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_V3(RectAttribute_radius, Ark_NativePointer, uint8_t*, int32_t) @@ -9950,7 +9965,7 @@ KOALA_INTEROP_V3(RefreshAttribute_onRefreshing, Ark_NativePointer, uint8_t*, int void impl_RefreshAttribute_refreshOffset(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getRefreshModifier()->setRefreshOffset(self, (const Ark_Number*)&value); + GetNodeModifiers()->getRefreshModifier()->setRefreshOffset(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(RefreshAttribute_refreshOffset, Ark_NativePointer, KInteropNumber) @@ -9973,8 +9988,8 @@ void impl_RefreshAttribute_pullDownRatio(Ark_NativePointer thisPtr, uint8_t* thi 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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()); } @@ -10319,8 +10334,8 @@ void impl_RichEditorAttribute_bindSelectionMenu(Ark_NativePointer thisPtr, Ark_I 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -10335,8 +10350,8 @@ void impl_RichEditorAttribute_customKeyboard(Ark_NativePointer thisPtr, uint8_t* 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -10365,8 +10380,8 @@ void impl_RichEditorAttribute_placeholder(Ark_NativePointer thisPtr, uint8_t* th 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (style_value_buf_runtimeType)) + 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(); } @@ -10382,7 +10397,7 @@ KOALA_INTEROP_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); - GetNodeModifiers()->getRichTextModifier()->setRichTextOptions(self, (const Ark_String*)&content); + GetNodeModifiers()->getRichTextModifier()->setRichTextOptions(self, (const Ark_String*) (&content)); } KOALA_INTEROP_V2(RichTextInterface_setRichTextOptions, Ark_NativePointer, KStringPtr) @@ -10425,8 +10440,8 @@ void impl_RowInterface_setRowOptions(Ark_NativePointer thisPtr, uint8_t* thisArr 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -10460,8 +10475,8 @@ void impl_RowAttribute_reverse(Ark_NativePointer thisPtr, uint8_t* thisArray, in 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -10521,7 +10536,7 @@ KOALA_INTEROP_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); + GetNodeModifiers()->getScreenModifier()->setScreenOptions(self, (const Ark_Number*) (&screenId)); } KOALA_INTEROP_V2(ScreenInterface_setScreenOptions, Ark_NativePointer, KInteropNumber) @@ -10535,8 +10550,8 @@ void impl_ScrollInterface_setScrollOptions(Ark_NativePointer thisPtr, uint8_t* t 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (scroller_value_buf_runtimeType)) + 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()); } @@ -10554,8 +10569,8 @@ KOALA_INTEROP_V2(ScrollAttribute_scrollable, Ark_NativePointer, Ark_Int32) void impl_ScrollAttribute_onScroll(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Number_ScrollState_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Number_ScrollState_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Number_ScrollState_Void))))};; - GetNodeModifiers()->getScrollModifier()->setOnScroll(self, (const Callback_Number_ScrollState_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()->getScrollModifier()->setOnScroll(self, (const Callback_Number_Number_Void*)&value_value); } KOALA_INTEROP_V3(ScrollAttribute_onScroll, Ark_NativePointer, uint8_t*, int32_t) @@ -10564,8 +10579,8 @@ void impl_ScrollAttribute_onWillScroll(Ark_NativePointer thisPtr, uint8_t* thisA 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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))))}; } @@ -10578,14 +10593,14 @@ void impl_ScrollAttribute_onDidScroll(Ark_NativePointer thisPtr, uint8_t* thisAr 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + Opt_ScrollOnScrollCallback 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))))}; + value_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_ScrollOnScrollCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_ScrollOnScrollCallback))))}; } - Opt_ScrollOnWillScrollCallback value_value = value_value_buf;; - GetNodeModifiers()->getScrollModifier()->setOnDidScroll(self, (const Opt_ScrollOnWillScrollCallback*)&value_value); + Opt_ScrollOnScrollCallback value_value = value_value_buf;; + GetNodeModifiers()->getScrollModifier()->setOnDidScroll(self, (const Opt_ScrollOnScrollCallback*)&value_value); } KOALA_INTEROP_V3(ScrollAttribute_onDidScroll, Ark_NativePointer, uint8_t*, int32_t) @@ -10600,8 +10615,8 @@ KOALA_INTEROP_V3(ScrollAttribute_onScrollEdge, Ark_NativePointer, uint8_t*, int3 void impl_ScrollAttribute_onScrollStart(Ark_NativePointer thisPtr, uint8_t* 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()->setOnScrollStart(self, (const Callback_Void*)&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()->setOnScrollStart(self, (const VoidCallback*)&value_value); } KOALA_INTEROP_V3(ScrollAttribute_onScrollStart, Ark_NativePointer, uint8_t*, int32_t) @@ -10616,8 +10631,8 @@ KOALA_INTEROP_V3(ScrollAttribute_onScrollEnd, Ark_NativePointer, uint8_t*, int32 void impl_ScrollAttribute_onScrollStop(Ark_NativePointer thisPtr, uint8_t* 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()->setOnScrollStop(self, (const Callback_Void*)&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_V3(ScrollAttribute_onScrollStop, Ark_NativePointer, uint8_t*, int32_t) @@ -10746,8 +10761,8 @@ void impl_ScrollAttribute_edgeEffect(Ark_NativePointer thisPtr, Ark_Int32 edgeEf 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -10774,8 +10789,8 @@ void impl_ScrollBarAttribute_enableNestedScroll(Ark_NativePointer thisPtr, uint8 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -10794,8 +10809,8 @@ void impl_SearchInterface_setSearchOptions(Ark_NativePointer thisPtr, uint8_t* t 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -10965,8 +10980,8 @@ void impl_SearchAttribute_placeholderFont(Ark_NativePointer thisPtr, uint8_t* th 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -10980,8 +10995,8 @@ void impl_SearchAttribute_textFont(Ark_NativePointer thisPtr, uint8_t* thisArray 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -11068,7 +11083,7 @@ KOALA_INTEROP_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); + GetNodeModifiers()->getSearchModifier()->setMaxLength(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(SearchAttribute_maxLength, Ark_NativePointer, KInteropNumber) @@ -11210,7 +11225,7 @@ KOALA_INTEROP_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); + GetNodeModifiers()->getSearchModifier()->setFontFeature(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(SearchAttribute_fontFeature, Ark_NativePointer, KStringPtr) @@ -11271,13 +11286,13 @@ void impl_SearchAttribute_searchButton(Ark_NativePointer thisPtr, const KStringP 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (option_value_buf_runtimeType)) + 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); + GetNodeModifiers()->getSearchModifier()->setSearchButton(self, (const Ark_String*) (&value), (const Opt_SearchButtonOptions*)&option_value); } KOALA_INTEROP_V4(SearchAttribute_searchButton, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) @@ -11301,8 +11316,8 @@ void impl_SearchAttribute_inputFilter(Ark_NativePointer thisPtr, uint8_t* thisAr 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (error_value_buf_runtimeType)) + 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))))}; } @@ -11317,8 +11332,8 @@ void impl_SearchAttribute_customKeyboard(Ark_NativePointer thisPtr, uint8_t* thi 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -11595,32 +11610,32 @@ void impl_SecurityComponentMethod_padding(Ark_NativePointer thisPtr, uint8_t* th 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_top_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_right_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_bottom_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_u_left_buf_runtimeType)) + 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 = thisDeserializer.readLength(); } @@ -11647,7 +11662,7 @@ KOALA_INTEROP_V2(SecurityComponentMethod_textIconSpace, Ark_NativePointer, KLeng void impl_SecurityComponentMethod_key(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSecurityComponentMethodModifier()->setKey(self, (const Ark_String*)&value); + GetNodeModifiers()->getSecurityComponentMethodModifier()->setKey(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(SecurityComponentMethod_key, Ark_NativePointer, KStringPtr) @@ -12020,8 +12035,8 @@ void impl_SelectAttribute_divider(Ark_NativePointer thisPtr, uint8_t* thisArray, 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -12035,8 +12050,8 @@ void impl_SelectAttribute_menuAlign(Ark_NativePointer thisPtr, Ark_Int32 alignTy 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (offset_value_buf_runtimeType)) + 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_ = {}; offset_value_buf_.dx = thisDeserializer.readLength(); @@ -12161,14 +12176,14 @@ void impl_ShapeAttribute_strokeDashArray(Ark_NativePointer thisPtr, uint8_t* thi Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_CustomObject 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++) { - value_value_buf.array[value_value_buf_i] = static_cast(thisDeserializer.readCustomObject("Any")); + value_value_buf.array[value_value_buf_i] = thisDeserializer.readLength(); } - Array_CustomObject value_value = value_value_buf;; - GetNodeModifiers()->getShapeModifier()->setStrokeDashArray(self, (const Array_CustomObject*)&value_value); + Array_Length value_value = value_value_buf;; + GetNodeModifiers()->getShapeModifier()->setStrokeDashArray(self, (const Array_Length*)&value_value); } KOALA_INTEROP_V3(ShapeAttribute_strokeDashArray, Ark_NativePointer, uint8_t*, int32_t) @@ -12290,14 +12305,14 @@ void impl_ShapeAttribute_mesh(Ark_NativePointer thisPtr, uint8_t* thisArray, int Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); const Ark_Int32 value_value_buf_length = thisDeserializer.readInt32(); - Array_CustomObject value_value_buf = {}; + 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.readCustomObject("Any")); + value_value_buf.array[value_value_buf_i] = static_cast(thisDeserializer.readNumber()); } - Array_CustomObject value_value = value_value_buf;; - GetNodeModifiers()->getShapeModifier()->setMesh(self, (const Array_CustomObject*)&value_value, (const Ark_Number*)&column, (const Ark_Number*)&row); + 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_V5(ShapeAttribute_mesh, Ark_NativePointer, uint8_t*, int32_t, KInteropNumber, KInteropNumber) @@ -12311,8 +12326,8 @@ void impl_SliderInterface_setSliderOptions(Ark_NativePointer thisPtr, uint8_t* t 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -12427,13 +12442,13 @@ KOALA_INTEROP_V3(SliderAttribute_selectedColor, Ark_NativePointer, uint8_t*, int void impl_SliderAttribute_minLabel(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSliderModifier()->setMinLabel(self, (const Ark_String*)&value); + GetNodeModifiers()->getSliderModifier()->setMinLabel(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(SliderAttribute_minLabel, Ark_NativePointer, KStringPtr) void impl_SliderAttribute_maxLabel(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSliderModifier()->setMaxLabel(self, (const Ark_String*)&value); + GetNodeModifiers()->getSliderModifier()->setMaxLabel(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(SliderAttribute_maxLabel, Ark_NativePointer, KStringPtr) @@ -12565,7 +12580,7 @@ KOALA_INTEROP_V2(SliderAttribute_sliderInteractionMode, Ark_NativePointer, Ark_I void impl_SliderAttribute_minResponsiveDistance(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSliderModifier()->setMinResponsiveDistance(self, (const Ark_Number*)&value); + GetNodeModifiers()->getSliderModifier()->setMinResponsiveDistance(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(SliderAttribute_minResponsiveDistance, Ark_NativePointer, KInteropNumber) @@ -12590,8 +12605,8 @@ void impl_SliderAttribute_showTips(Ark_NativePointer thisPtr, Ark_Boolean value, 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (content_value_buf_runtimeType)) + 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_ = {}; @@ -12861,8 +12876,8 @@ void impl_StackInterface_setStackOptions(Ark_NativePointer thisPtr, uint8_t* thi 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -12895,14 +12910,14 @@ void impl_StepperInterface_setStepperOptions(Ark_NativePointer thisPtr, uint8_t* 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf__index_buf_runtimeType)) + 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()); } @@ -12967,13 +12982,13 @@ KOALA_INTEROP_V1(StepperItemInterface_setStepperItemOptions, Ark_NativePointer) void impl_StepperItemAttribute_prevLabel(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getStepperItemModifier()->setPrevLabel(self, (const Ark_String*)&value); + GetNodeModifiers()->getStepperItemModifier()->setPrevLabel(self, (const Ark_String*) (&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()->getStepperItemModifier()->setNextLabel(self, (const Ark_String*)&value); + GetNodeModifiers()->getStepperItemModifier()->setNextLabel(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(StepperItemAttribute_nextLabel, Ark_NativePointer, KStringPtr) @@ -12982,8 +12997,8 @@ void impl_StepperItemAttribute_status(Ark_NativePointer thisPtr, uint8_t* thisAr 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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()); } @@ -13002,8 +13017,8 @@ void impl_SwiperInterface_setSwiperOptions(Ark_NativePointer thisPtr, uint8_t* t 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (controller_value_buf_runtimeType)) + 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()); } @@ -13014,7 +13029,7 @@ KOALA_INTEROP_V3(SwiperInterface_setSwiperOptions, Ark_NativePointer, uint8_t*, void impl_SwiperAttribute_index(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSwiperModifier()->setIndex(self, (const Ark_Number*)&value); + GetNodeModifiers()->getSwiperModifier()->setIndex(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(SwiperAttribute_index, Ark_NativePointer, KInteropNumber) @@ -13026,7 +13041,7 @@ KOALA_INTEROP_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); + GetNodeModifiers()->getSwiperModifier()->setInterval(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(SwiperAttribute_interval, Ark_NativePointer, KInteropNumber) @@ -13072,7 +13087,7 @@ KOALA_INTEROP_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); + GetNodeModifiers()->getSwiperModifier()->setDuration(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(SwiperAttribute_duration, Ark_NativePointer, KInteropNumber) @@ -13112,7 +13127,7 @@ KOALA_INTEROP_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); + GetNodeModifiers()->getSwiperModifier()->setCachedCount(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(SwiperAttribute_cachedCount, Ark_NativePointer, KInteropNumber) @@ -13167,8 +13182,8 @@ void impl_SwiperAttribute_indicatorStyle(Ark_NativePointer thisPtr, uint8_t* thi 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -13249,8 +13264,8 @@ void impl_SwiperAttribute_displayArrow(Ark_NativePointer thisPtr, uint8_t* thisA 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (isHoverShow_value_buf_runtimeType)) + 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)) { isHoverShow_value_buf.value = thisDeserializer.readBoolean(); } @@ -13283,8 +13298,8 @@ void impl_SwiperAttribute_displayCount(Ark_NativePointer thisPtr, uint8_t* thisA 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (swipeByGroup_value_buf_runtimeType)) + 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(); } @@ -13298,8 +13313,8 @@ void impl_SwiperAttribute_prevMargin(Ark_NativePointer thisPtr, const KLength& v Deserializer thisDeserializer(thisArray, thisLength); const auto ignoreBlank_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean ignoreBlank_value_buf = {}; - ignoreBlank_value_buf.tag = ignoreBlank_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (ignoreBlank_value_buf_runtimeType)) + 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(); } @@ -13313,8 +13328,8 @@ void impl_SwiperAttribute_nextMargin(Ark_NativePointer thisPtr, const KLength& v Deserializer thisDeserializer(thisArray, thisLength); const auto ignoreBlank_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean ignoreBlank_value_buf = {}; - ignoreBlank_value_buf.tag = ignoreBlank_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (ignoreBlank_value_buf_runtimeType)) + 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(); } @@ -13333,8 +13348,8 @@ void impl_IndicatorComponentInterface_setIndicatorComponentOptions(Ark_NativePoi 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (controller_value_buf_runtimeType)) + 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()); } @@ -13345,13 +13360,13 @@ KOALA_INTEROP_V3(IndicatorComponentInterface_setIndicatorComponentOptions, Ark_N void impl_IndicatorComponentAttribute_initialIndex(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getIndicatorComponentModifier()->setInitialIndex(self, (const Ark_Number*)&value); + GetNodeModifiers()->getIndicatorComponentModifier()->setInitialIndex(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_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); + GetNodeModifiers()->getIndicatorComponentModifier()->setCount(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(IndicatorComponentAttribute_count, Ark_NativePointer, KInteropNumber) @@ -13407,8 +13422,8 @@ void impl_SymbolGlyphInterface_setSymbolGlyphOptions(Ark_NativePointer thisPtr, Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Resource value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -13524,8 +13539,8 @@ void impl_SymbolGlyphAttribute_symbolEffect0(Ark_NativePointer thisPtr, uint8_t* Ark_SymbolEffect symbolEffect_value = thisDeserializer.readSymbolEffect();; const auto isActive_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean isActive_value_buf = {}; - isActive_value_buf.tag = isActive_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (isActive_value_buf_runtimeType)) + 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(); } @@ -13540,8 +13555,8 @@ void impl_SymbolGlyphAttribute_symbolEffect1(Ark_NativePointer thisPtr, uint8_t* Ark_SymbolEffect symbolEffect_value = thisDeserializer.readSymbolEffect();; const auto triggerValue_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Number triggerValue_value_buf = {}; - triggerValue_value_buf.tag = triggerValue_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (triggerValue_value_buf_runtimeType)) + 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()); } @@ -13674,8 +13689,8 @@ void impl_TabsInterface_setTabsOptions(Ark_NativePointer thisPtr, uint8_t* thisA 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -13713,8 +13728,8 @@ void impl_TabsAttribute_barMode1(Ark_NativePointer thisPtr, Ark_Int32 value, uin 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -13737,7 +13752,7 @@ KOALA_INTEROP_V2(TabsAttribute_barHeight, Ark_NativePointer, KLength) void impl_TabsAttribute_animationDuration(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTabsModifier()->setAnimationDuration(self, (const Ark_Number*)&value); + GetNodeModifiers()->getTabsModifier()->setAnimationDuration(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(TabsAttribute_animationDuration, Ark_NativePointer, KInteropNumber) @@ -13746,8 +13761,8 @@ void impl_TabsAttribute_animationMode(Ark_NativePointer thisPtr, uint8_t* thisAr Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_AnimationMode value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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()); } @@ -13761,8 +13776,8 @@ void impl_TabsAttribute_edgeEffect(Ark_NativePointer thisPtr, uint8_t* thisArray Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_EdgeEffect value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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()); } @@ -13822,8 +13837,8 @@ void impl_TabsAttribute_divider(Ark_NativePointer thisPtr, uint8_t* thisArray, i 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -14011,8 +14026,8 @@ void impl_TextInterface_setTextOptions(Ark_NativePointer thisPtr, uint8_t* thisA 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (content_value_buf_runtimeType)) + 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_ = {}; @@ -14033,8 +14048,8 @@ void impl_TextInterface_setTextOptions(Ark_NativePointer thisPtr, uint8_t* thisA 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -14057,8 +14072,8 @@ void impl_TextAttribute_font1(Ark_NativePointer thisPtr, uint8_t* thisArray, int 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -14275,8 +14290,8 @@ void impl_TextAttribute_fontWeight1(Ark_NativePointer thisPtr, uint8_t* thisArra 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -14357,7 +14372,7 @@ KOALA_INTEROP_V3(TextAttribute_fontFamily, Ark_NativePointer, uint8_t*, int32_t) void impl_TextAttribute_maxLines(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextModifier()->setMaxLines(self, (const Ark_Number*)&value); + GetNodeModifiers()->getTextModifier()->setMaxLines(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(TextAttribute_maxLines, Ark_NativePointer, KInteropNumber) @@ -14582,7 +14597,7 @@ KOALA_INTEROP_V3(TextAttribute_onTextSelectionChange, Ark_NativePointer, uint8_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); + GetNodeModifiers()->getTextModifier()->setFontFeature(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(TextAttribute_fontFeature, Ark_NativePointer, KStringPtr) @@ -14620,7 +14635,7 @@ KOALA_INTEROP_V2(TextAttribute_enableHapticFeedback, Ark_NativePointer, Ark_Bool 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); + GetNodeModifiers()->getTextModifier()->setSelection(self, (const Ark_Number*) (&selectionStart), (const Ark_Number*) (&selectionEnd)); } KOALA_INTEROP_V3(TextAttribute_selection, Ark_NativePointer, KInteropNumber, KInteropNumber) @@ -14630,8 +14645,8 @@ void impl_TextAttribute_bindSelectionMenu(Ark_NativePointer thisPtr, Ark_Int32 s 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -14650,8 +14665,8 @@ void impl_TextAreaInterface_setTextAreaOptions(Ark_NativePointer thisPtr, uint8_ 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -14966,7 +14981,7 @@ KOALA_INTEROP_V2(TextAreaAttribute_enableKeyboardOnFocus, Ark_NativePointer, Ark void impl_TextAreaAttribute_maxLength(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setMaxLength(self, (const Ark_Number*)&value); + GetNodeModifiers()->getTextAreaModifier()->setMaxLength(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(TextAreaAttribute_maxLength, Ark_NativePointer, KInteropNumber) @@ -15048,7 +15063,7 @@ KOALA_INTEROP_V2(TextAreaAttribute_heightAdaptivePolicy, Ark_NativePointer, Ark_ void impl_TextAreaAttribute_maxLines(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setMaxLines(self, (const Ark_Number*)&value); + GetNodeModifiers()->getTextAreaModifier()->setMaxLines(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(TextAreaAttribute_maxLines, Ark_NativePointer, KInteropNumber) @@ -15152,7 +15167,7 @@ KOALA_INTEROP_V2(TextAreaAttribute_contentType, Ark_NativePointer, Ark_Int32) void impl_TextAreaAttribute_fontFeature(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextAreaModifier()->setFontFeature(self, (const Ark_String*)&value); + GetNodeModifiers()->getTextAreaModifier()->setFontFeature(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(TextAreaAttribute_fontFeature, Ark_NativePointer, KStringPtr) @@ -15228,8 +15243,8 @@ void impl_TextAreaAttribute_inputFilter(Ark_NativePointer thisPtr, uint8_t* this 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (error_value_buf_runtimeType)) + 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))))}; } @@ -15243,8 +15258,8 @@ void impl_TextAreaAttribute_showCounter(Ark_NativePointer thisPtr, Ark_Boolean v 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -15259,8 +15274,8 @@ void impl_TextAreaAttribute_customKeyboard(Ark_NativePointer thisPtr, uint8_t* t 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -15279,8 +15294,8 @@ void impl_TextClockInterface_setTextClockOptions(Ark_NativePointer thisPtr, uint 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -15291,7 +15306,7 @@ KOALA_INTEROP_V3(TextClockInterface_setTextClockOptions, Ark_NativePointer, uint void impl_TextClockAttribute_format(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextClockModifier()->setFormat(self, (const Ark_String*)&value); + GetNodeModifiers()->getTextClockModifier()->setFormat(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(TextClockAttribute_format, Ark_NativePointer, KStringPtr) @@ -15424,7 +15439,7 @@ KOALA_INTEROP_V3(TextClockAttribute_textShadow, Ark_NativePointer, uint8_t*, int void impl_TextClockAttribute_fontFeature(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextClockModifier()->setFontFeature(self, (const Ark_String*)&value); + GetNodeModifiers()->getTextClockModifier()->setFontFeature(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(TextClockAttribute_fontFeature, Ark_NativePointer, KStringPtr) @@ -15441,8 +15456,8 @@ void impl_TextClockAttribute_dateTimeOptions(Ark_NativePointer thisPtr, uint8_t* 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -15461,8 +15476,8 @@ void impl_TextInputInterface_setTextInputOptions(Ark_NativePointer thisPtr, uint Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_TextInputOptions value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -15530,8 +15545,8 @@ void impl_TextInputAttribute_placeholderFont(Ark_NativePointer thisPtr, uint8_t* 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -15626,7 +15641,7 @@ KOALA_INTEROP_V3(TextInputAttribute_onContentScroll, Ark_NativePointer, uint8_t* void impl_TextInputAttribute_maxLength(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setMaxLength(self, (const Ark_Number*)&value); + GetNodeModifiers()->getTextInputModifier()->setMaxLength(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(TextInputAttribute_maxLength, Ark_NativePointer, KInteropNumber) @@ -15824,7 +15839,7 @@ KOALA_INTEROP_V3(TextInputAttribute_selectedBackgroundColor, Ark_NativePointer, void impl_TextInputAttribute_caretPosition(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setCaretPosition(self, (const Ark_Number*)&value); + GetNodeModifiers()->getTextInputModifier()->setCaretPosition(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(TextInputAttribute_caretPosition, Ark_NativePointer, KInteropNumber) @@ -15847,8 +15862,8 @@ void impl_TextInputAttribute_showError(Ark_NativePointer thisPtr, uint8_t* thisA 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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_ = {}; @@ -15890,8 +15905,8 @@ void impl_TextInputAttribute_underlineColor(Ark_NativePointer thisPtr, uint8_t* Deserializer thisDeserializer(thisArray, thisLength); 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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_ = {}; @@ -15950,7 +15965,7 @@ KOALA_INTEROP_V2(TextInputAttribute_barState, Ark_NativePointer, Ark_Int32) void impl_TextInputAttribute_maxLines(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setMaxLines(self, (const Ark_Number*)&value); + GetNodeModifiers()->getTextInputModifier()->setMaxLines(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(TextInputAttribute_maxLines, Ark_NativePointer, KInteropNumber) @@ -16114,13 +16129,13 @@ KOALA_INTEROP_V3(TextInputAttribute_lineHeight, Ark_NativePointer, uint8_t*, int void impl_TextInputAttribute_passwordRules(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextInputModifier()->setPasswordRules(self, (const Ark_String*)&value); + 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()->getTextInputModifier()->setFontFeature(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(TextInputAttribute_fontFeature, Ark_NativePointer, KStringPtr) @@ -16210,8 +16225,8 @@ void impl_TextInputAttribute_inputFilter(Ark_NativePointer thisPtr, uint8_t* thi 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (error_value_buf_runtimeType)) + 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))))}; } @@ -16226,8 +16241,8 @@ void impl_TextInputAttribute_customKeyboard(Ark_NativePointer thisPtr, uint8_t* 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -16241,8 +16256,8 @@ void impl_TextInputAttribute_showCounter(Ark_NativePointer thisPtr, Ark_Boolean 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -16261,8 +16276,8 @@ void impl_TextPickerInterface_setTextPickerOptions(Ark_NativePointer thisPtr, ui 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -16381,8 +16396,8 @@ void impl_TextPickerAttribute_divider(Ark_NativePointer thisPtr, uint8_t* thisAr 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -16407,8 +16422,8 @@ void impl_TextTimerInterface_setTextTimerOptions(Ark_NativePointer thisPtr, uint 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -16419,7 +16434,7 @@ KOALA_INTEROP_V3(TextTimerInterface_setTextTimerOptions, Ark_NativePointer, uint void impl_TextTimerAttribute_format(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getTextTimerModifier()->setFormat(self, (const Ark_String*)&value); + GetNodeModifiers()->getTextTimerModifier()->setFormat(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(TextTimerAttribute_format, Ark_NativePointer, KStringPtr) @@ -16568,8 +16583,8 @@ void impl_TimePickerInterface_setTimePickerOptions(Ark_NativePointer thisPtr, ui 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -16997,13 +17012,13 @@ KOALA_INTEROP_V2(WebAttribute_overScrollMode, 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); + GetNodeModifiers()->getWebModifier()->setTextZoomAtio(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_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); + GetNodeModifiers()->getWebModifier()->setTextZoomRatio(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(WebAttribute_textZoomRatio, Ark_NativePointer, KInteropNumber) @@ -17015,13 +17030,13 @@ KOALA_INTEROP_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); + GetNodeModifiers()->getWebModifier()->setInitialScale(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_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); + GetNodeModifiers()->getWebModifier()->setUserAgent(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(WebAttribute_userAgent, Ark_NativePointer, KStringPtr) @@ -17202,8 +17217,8 @@ KOALA_INTEROP_V3(WebAttribute_onShowFileSelector, Ark_NativePointer, uint8_t*, i void impl_WebAttribute_onFileSelectorShow(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Literal_Function_callback_Object_fileSelector_Void value_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Literal_Function_callback_Object_fileSelector_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Literal_Function_callback_Object_fileSelector_Void))))};; - GetNodeModifiers()->getWebModifier()->setOnFileSelectorShow(self, (const Callback_Literal_Function_callback_Object_fileSelector_Void*)&value_value); + 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_V3(WebAttribute_onFileSelectorShow, Ark_NativePointer, uint8_t*, int32_t) @@ -17365,67 +17380,67 @@ KOALA_INTEROP_V3(WebAttribute_onInterceptKeyEvent, Ark_NativePointer, uint8_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); + 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); + 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); + 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); + 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); + 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); + 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); + GetNodeModifiers()->getWebModifier()->setDefaultFixedFontSize(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_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); + GetNodeModifiers()->getWebModifier()->setDefaultFontSize(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_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); + GetNodeModifiers()->getWebModifier()->setMinFontSize(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_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); + GetNodeModifiers()->getWebModifier()->setMinLogicalFontSize(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_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); + GetNodeModifiers()->getWebModifier()->setDefaultTextEncodingFormat(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(WebAttribute_defaultTextEncodingFormat, Ark_NativePointer, KStringPtr) @@ -17776,7 +17791,7 @@ KOALA_INTEROP_V2(WebAttribute_enableHapticFeedback, Ark_NativePointer, Ark_Boole 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); + GetNodeModifiers()->getWebModifier()->setRegisterNativeEmbedRule(self, (const Ark_String*) (&tag), (const Ark_String*) (&type)); } KOALA_INTEROP_V3(WebAttribute_registerNativeEmbedRule, Ark_NativePointer, KStringPtr, KStringPtr) @@ -17786,8 +17801,8 @@ void impl_WebAttribute_bindSelectionMenu(Ark_NativePointer thisPtr, Ark_Int32 el 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -17803,7 +17818,7 @@ KOALA_INTEROP_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); + GetNodeModifiers()->getWindowSceneModifier()->setWindowSceneOptions(self, (const Ark_Number*) (&persistentId)); } KOALA_INTEROP_V2(WindowSceneInterface_setWindowSceneOptions, Ark_NativePointer, KInteropNumber) @@ -17811,7 +17826,7 @@ void impl_WindowSceneAttribute_attractionEffect(Ark_NativePointer thisPtr, uint8 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); + GetNodeModifiers()->getWindowSceneModifier()->setAttractionEffect(self, (const Ark_Position*)&destination_value, (const Ark_Number*) (&fraction)); } KOALA_INTEROP_V4(WindowSceneAttribute_attractionEffect, Ark_NativePointer, uint8_t*, int32_t, KInteropNumber) @@ -17828,16 +17843,16 @@ void impl_XComponentInterface_setXComponentOptions0(Ark_NativePointer thisPtr, u 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_libraryname_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_controller_buf_runtimeType)) + 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()); } @@ -17855,16 +17870,16 @@ void impl_XComponentInterface_setXComponentOptions1(Ark_NativePointer thisPtr, u 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_libraryname_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_controller_buf_runtimeType)) + 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()); } @@ -17920,8 +17935,8 @@ void impl_SideBarContainerInterface_setSideBarContainerOptions(Ark_NativePointer 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (type_value_buf_runtimeType)) + 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()); } @@ -17960,7 +17975,7 @@ KOALA_INTEROP_V3(SideBarContainerAttribute_onChange, Ark_NativePointer, uint8_t* void impl_SideBarContainerAttribute_sideBarWidth0(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSideBarContainerModifier()->setSideBarWidth0(self, (const Ark_Number*)&value); + GetNodeModifiers()->getSideBarContainerModifier()->setSideBarWidth0(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(SideBarContainerAttribute_sideBarWidth0, Ark_NativePointer, KInteropNumber) @@ -17972,7 +17987,7 @@ KOALA_INTEROP_V2(SideBarContainerAttribute_sideBarWidth1, Ark_NativePointer, KLe void impl_SideBarContainerAttribute_minSideBarWidth0(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSideBarContainerModifier()->setMinSideBarWidth0(self, (const Ark_Number*)&value); + GetNodeModifiers()->getSideBarContainerModifier()->setMinSideBarWidth0(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(SideBarContainerAttribute_minSideBarWidth0, Ark_NativePointer, KInteropNumber) @@ -17984,7 +17999,7 @@ KOALA_INTEROP_V2(SideBarContainerAttribute_minSideBarWidth1, Ark_NativePointer, void impl_SideBarContainerAttribute_maxSideBarWidth0(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getSideBarContainerModifier()->setMaxSideBarWidth0(self, (const Ark_Number*)&value); + GetNodeModifiers()->getSideBarContainerModifier()->setMaxSideBarWidth0(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(SideBarContainerAttribute_maxSideBarWidth0, Ark_NativePointer, KInteropNumber) @@ -18011,8 +18026,8 @@ void impl_SideBarContainerAttribute_divider(Ark_NativePointer thisPtr, uint8_t* 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -18050,8 +18065,8 @@ void impl_WaterFlowInterface_setWaterFlowOptions(Ark_NativePointer thisPtr, uint 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -18062,7 +18077,7 @@ KOALA_INTEROP_V3(WaterFlowInterface_setWaterFlowOptions, Ark_NativePointer, uint void impl_WaterFlowAttribute_columnsTemplate(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWaterFlowModifier()->setColumnsTemplate(self, (const Ark_String*)&value); + GetNodeModifiers()->getWaterFlowModifier()->setColumnsTemplate(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(WaterFlowAttribute_columnsTemplate, Ark_NativePointer, KStringPtr) @@ -18076,7 +18091,7 @@ KOALA_INTEROP_V3(WaterFlowAttribute_itemConstraintSize, Ark_NativePointer, uint8 void impl_WaterFlowAttribute_rowsTemplate(Ark_NativePointer thisPtr, const KStringPtr& value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWaterFlowModifier()->setRowsTemplate(self, (const Ark_String*)&value); + GetNodeModifiers()->getWaterFlowModifier()->setRowsTemplate(self, (const Ark_String*) (&value)); } KOALA_INTEROP_V2(WaterFlowAttribute_rowsTemplate, Ark_NativePointer, KStringPtr) @@ -18136,13 +18151,13 @@ KOALA_INTEROP_V3(WaterFlowAttribute_friction, Ark_NativePointer, uint8_t*, int32 void impl_WaterFlowAttribute_cachedCount0(Ark_NativePointer thisPtr, KInteropNumber value) { Ark_NodeHandle self = reinterpret_cast(thisPtr); - GetNodeModifiers()->getWaterFlowModifier()->setCachedCount0(self, (const Ark_Number*)&value); + GetNodeModifiers()->getWaterFlowModifier()->setCachedCount0(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_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); + GetNodeModifiers()->getWaterFlowModifier()->setCachedCount1(self, (const Ark_Number*) (&count), show); } KOALA_INTEROP_V3(WaterFlowAttribute_cachedCount1, Ark_NativePointer, KInteropNumber, Ark_Boolean) @@ -18189,8 +18204,8 @@ void impl_UIExtensionComponentInterface_setUIExtensionComponentOptions(Ark_Nativ 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -18257,16 +18272,16 @@ void impl_LinearIndicatorInterface_setLinearIndicatorOptions(Ark_NativePointer t 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (count_value_buf_runtimeType)) + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (controller_value_buf_runtimeType)) + 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()); } @@ -18280,8 +18295,8 @@ void impl_LinearIndicatorAttribute_indicatorStyle(Ark_NativePointer thisPtr, uin 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -18295,8 +18310,8 @@ void impl_LinearIndicatorAttribute_indicatorLoop(Ark_NativePointer thisPtr, uint 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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(); } @@ -18310,8 +18325,8 @@ void impl_LinearIndicatorAttribute_onChange(Ark_NativePointer thisPtr, uint8_t* 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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))))}; } @@ -18333,9 +18348,9 @@ Ark_NativePointer impl_UnifiedData_getFinalizer() { } KOALA_INTEROP_0(UnifiedData_getFinalizer, Ark_NativePointer) -Ark_Boolean impl_UnifiedData_hasType(Ark_NativePointer thisPtr, const KStringPtr& type) { +Ark_Boolean impl_UnifiedData_hasType(Ark_NativePointer thisPtr, const KStringPtr& UnifiedData_type) { UnifiedDataPeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getUnifiedDataAccessor()->hasType(self, (const Ark_String*)&type); + return GetAccessors()->getUnifiedDataAccessor()->hasType(self, (const Ark_String*) (&UnifiedData_type)); } KOALA_INTEROP_2(UnifiedData_hasType, Ark_Boolean, Ark_NativePointer, KStringPtr) @@ -18372,6 +18387,11 @@ void impl_LazyForEachOps_SetCurrentIndex(Ark_NativePointer node, Ark_Int32 index } KOALA_INTEROP_V2(LazyForEachOps_SetCurrentIndex, Ark_NativePointer, Ark_Int32) +void impl_LazyForEachOps_Prepare(Ark_NativePointer node) { + GetAccessors()->getLazyForEachOpsAccessor()->Prepare(node); +} +KOALA_INTEROP_V1(LazyForEachOps_Prepare, Ark_NativePointer) + Ark_NativePointer impl_DrawingCanvas_ctor(uint8_t* thisArray, int32_t thisLength) { Deserializer thisDeserializer(thisArray, thisLength); Ark_PixelMap pixelmap_value = static_cast(thisDeserializer.readPixelMap());; @@ -18386,7 +18406,7 @@ KOALA_INTEROP_0(DrawingCanvas_getFinalizer, Ark_NativePointer) void impl_DrawingCanvas_drawRect(Ark_NativePointer thisPtr, KInteropNumber left, KInteropNumber top, KInteropNumber right, KInteropNumber bottom) { DrawingCanvasPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getDrawingCanvasAccessor()->drawRect(self, (const Ark_Number*)&left, (const Ark_Number*)&top, (const Ark_Number*)&right, (const Ark_Number*)&bottom); + GetAccessors()->getDrawingCanvasAccessor()->drawRect(self, (const Ark_Number*) (&left), (const Ark_Number*) (&top), (const Ark_Number*) (&right), (const Ark_Number*) (&bottom)); } KOALA_INTEROP_V5(DrawingCanvas_drawRect, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber) @@ -18441,7 +18461,7 @@ KOALA_INTEROP_V1(FrameNode_clearChildren, Ark_NativePointer) Ark_NativePointer impl_FrameNode_getChild(Ark_NativePointer thisPtr, KInteropNumber index) { FrameNodePeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getFrameNodeAccessor()->getChild(self, (const Ark_Number*)&index); + return GetAccessors()->getFrameNodeAccessor()->getChild(self, (const Ark_Number*) (&index)); } KOALA_INTEROP_2(FrameNode_getChild, Ark_NativePointer, Ark_NativePointer, KInteropNumber) @@ -18543,13 +18563,13 @@ KOALA_INTEROP_0(EventEmulator_getFinalizer, Ark_NativePointer) void impl_EventEmulator_emitClickEvent(Ark_NativePointer node, uint8_t* thisArray, int32_t thisLength) { Deserializer thisDeserializer(thisArray, thisLength); - Ark_ClickEvent event_value = thisDeserializer.readClickEvent();; + Ark_ClickEvent event_value = static_cast(thisDeserializer.readClickEvent());; GetAccessors()->getEventEmulatorAccessor()->emitClickEvent(node, (const Ark_ClickEvent*)&event_value); } KOALA_INTEROP_V3(EventEmulator_emitClickEvent, Ark_NativePointer, uint8_t*, int32_t) void impl_EventEmulator_emitTextInputEvent(Ark_NativePointer node, const KStringPtr& text) { - GetAccessors()->getEventEmulatorAccessor()->emitTextInputEvent(node, (const Ark_String*)&text); + GetAccessors()->getEventEmulatorAccessor()->emitTextInputEvent(node, (const Ark_String*) (&text)); } KOALA_INTEROP_V2(EventEmulator_emitTextInputEvent, Ark_NativePointer, KStringPtr) @@ -18647,8 +18667,8 @@ void impl_CalendarPickerDialog_show(uint8_t* 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -18669,7 +18689,7 @@ KOALA_INTEROP_0(CanvasGradient_getFinalizer, Ark_NativePointer) void impl_CanvasGradient_addColorStop(Ark_NativePointer thisPtr, KInteropNumber offset, const KStringPtr& color) { CanvasGradientPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasGradientAccessor()->addColorStop(self, (const Ark_Number*)&offset, (const Ark_String*)&color); + GetAccessors()->getCanvasGradientAccessor()->addColorStop(self, (const Ark_Number*) (&offset), (const Ark_String*) (&color)); } KOALA_INTEROP_V3(CanvasGradient_addColorStop, Ark_NativePointer, KInteropNumber, KStringPtr) @@ -18688,25 +18708,25 @@ void impl_CanvasPath_arc(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNu Deserializer thisDeserializer(thisArray, thisLength); const auto counterclockwise_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean counterclockwise_value_buf = {}; - counterclockwise_value_buf.tag = counterclockwise_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (counterclockwise_value_buf_runtimeType)) + counterclockwise_value_buf.tag = counterclockwise_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (counterclockwise_value_buf_runtimeType)) { counterclockwise_value_buf.value = thisDeserializer.readBoolean(); } Opt_Boolean counterclockwise_value = counterclockwise_value_buf;; - GetAccessors()->getCanvasPathAccessor()->arc(self, (const Ark_Number*)&x, (const Ark_Number*)&y, (const Ark_Number*)&radius, (const Ark_Number*)&startAngle, (const Ark_Number*)&endAngle, (const Opt_Boolean*)&counterclockwise_value); + GetAccessors()->getCanvasPathAccessor()->arc(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y), (const Ark_Number*) (&radius), (const Ark_Number*) (&startAngle), (const Ark_Number*) (&endAngle), (const Opt_Boolean*)&counterclockwise_value); } KOALA_INTEROP_V8(CanvasPath_arc, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, uint8_t*, int32_t) void impl_CanvasPath_arcTo(Ark_NativePointer thisPtr, KInteropNumber x1, KInteropNumber y1, KInteropNumber x2, KInteropNumber y2, KInteropNumber radius) { CanvasPathPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasPathAccessor()->arcTo(self, (const Ark_Number*)&x1, (const Ark_Number*)&y1, (const Ark_Number*)&x2, (const Ark_Number*)&y2, (const Ark_Number*)&radius); + GetAccessors()->getCanvasPathAccessor()->arcTo(self, (const Ark_Number*) (&x1), (const Ark_Number*) (&y1), (const Ark_Number*) (&x2), (const Ark_Number*) (&y2), (const Ark_Number*) (&radius)); } KOALA_INTEROP_V6(CanvasPath_arcTo, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber) void impl_CanvasPath_bezierCurveTo(Ark_NativePointer thisPtr, KInteropNumber cp1x, KInteropNumber cp1y, KInteropNumber cp2x, KInteropNumber cp2y, KInteropNumber x, KInteropNumber y) { CanvasPathPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasPathAccessor()->bezierCurveTo(self, (const Ark_Number*)&cp1x, (const Ark_Number*)&cp1y, (const Ark_Number*)&cp2x, (const Ark_Number*)&cp2y, (const Ark_Number*)&x, (const Ark_Number*)&y); + GetAccessors()->getCanvasPathAccessor()->bezierCurveTo(self, (const Ark_Number*) (&cp1x), (const Ark_Number*) (&cp1y), (const Ark_Number*) (&cp2x), (const Ark_Number*) (&cp2y), (const Ark_Number*) (&x), (const Ark_Number*) (&y)); } KOALA_INTEROP_V7(CanvasPath_bezierCurveTo, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber) @@ -18721,37 +18741,37 @@ void impl_CanvasPath_ellipse(Ark_NativePointer thisPtr, KInteropNumber x, KInter Deserializer thisDeserializer(thisArray, thisLength); const auto counterclockwise_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean counterclockwise_value_buf = {}; - counterclockwise_value_buf.tag = counterclockwise_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (counterclockwise_value_buf_runtimeType)) + counterclockwise_value_buf.tag = counterclockwise_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (counterclockwise_value_buf_runtimeType)) { counterclockwise_value_buf.value = thisDeserializer.readBoolean(); } Opt_Boolean counterclockwise_value = counterclockwise_value_buf;; - GetAccessors()->getCanvasPathAccessor()->ellipse(self, (const Ark_Number*)&x, (const Ark_Number*)&y, (const Ark_Number*)&radiusX, (const Ark_Number*)&radiusY, (const Ark_Number*)&rotation, (const Ark_Number*)&startAngle, (const Ark_Number*)&endAngle, (const Opt_Boolean*)&counterclockwise_value); + GetAccessors()->getCanvasPathAccessor()->ellipse(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y), (const Ark_Number*) (&radiusX), (const Ark_Number*) (&radiusY), (const Ark_Number*) (&rotation), (const Ark_Number*) (&startAngle), (const Ark_Number*) (&endAngle), (const Opt_Boolean*)&counterclockwise_value); } KOALA_INTEROP_V10(CanvasPath_ellipse, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, uint8_t*, int32_t) void impl_CanvasPath_lineTo(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y) { CanvasPathPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasPathAccessor()->lineTo(self, (const Ark_Number*)&x, (const Ark_Number*)&y); + GetAccessors()->getCanvasPathAccessor()->lineTo(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y)); } KOALA_INTEROP_V3(CanvasPath_lineTo, Ark_NativePointer, KInteropNumber, KInteropNumber) void impl_CanvasPath_moveTo(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y) { CanvasPathPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasPathAccessor()->moveTo(self, (const Ark_Number*)&x, (const Ark_Number*)&y); + GetAccessors()->getCanvasPathAccessor()->moveTo(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y)); } KOALA_INTEROP_V3(CanvasPath_moveTo, Ark_NativePointer, KInteropNumber, KInteropNumber) void impl_CanvasPath_quadraticCurveTo(Ark_NativePointer thisPtr, KInteropNumber cpx, KInteropNumber cpy, KInteropNumber x, KInteropNumber y) { CanvasPathPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasPathAccessor()->quadraticCurveTo(self, (const Ark_Number*)&cpx, (const Ark_Number*)&cpy, (const Ark_Number*)&x, (const Ark_Number*)&y); + GetAccessors()->getCanvasPathAccessor()->quadraticCurveTo(self, (const Ark_Number*) (&cpx), (const Ark_Number*) (&cpy), (const Ark_Number*) (&x), (const Ark_Number*) (&y)); } KOALA_INTEROP_V5(CanvasPath_quadraticCurveTo, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber) void impl_CanvasPath_rect(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y, KInteropNumber w, KInteropNumber h) { CanvasPathPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasPathAccessor()->rect(self, (const Ark_Number*)&x, (const Ark_Number*)&y, (const Ark_Number*)&w, (const Ark_Number*)&h); + GetAccessors()->getCanvasPathAccessor()->rect(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y), (const Ark_Number*) (&w), (const Ark_Number*) (&h)); } KOALA_INTEROP_V5(CanvasPath_rect, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber) @@ -18771,8 +18791,8 @@ void impl_Path2D_addPath(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t Ark_Path2D path_value = static_cast(thisDeserializer.readPath2D());; const auto transform_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Matrix2D transform_value_buf = {}; - transform_value_buf.tag = transform_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (transform_value_buf_runtimeType)) + transform_value_buf.tag = transform_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (transform_value_buf_runtimeType)) { transform_value_buf.value = static_cast(thisDeserializer.readMatrix2D()); } @@ -18796,8 +18816,8 @@ void impl_CanvasPattern_setTransform(Ark_NativePointer thisPtr, uint8_t* thisArr Deserializer thisDeserializer(thisArray, thisLength); const auto transform_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Matrix2D transform_value_buf = {}; - transform_value_buf.tag = transform_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (transform_value_buf_runtimeType)) + transform_value_buf.tag = transform_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (transform_value_buf_runtimeType)) { transform_value_buf.value = static_cast(thisDeserializer.readMatrix2D()); } @@ -18807,7 +18827,7 @@ void impl_CanvasPattern_setTransform(Ark_NativePointer thisPtr, uint8_t* thisArr KOALA_INTEROP_V3(CanvasPattern_setTransform, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_ImageBitmap_ctor(const KStringPtr& src) { - return GetAccessors()->getImageBitmapAccessor()->ctor((const Ark_String*)&src); + return GetAccessors()->getImageBitmapAccessor()->ctor((const Ark_String*) (&src)); } KOALA_INTEROP_1(ImageBitmap_ctor, Ark_NativePointer, KStringPtr) @@ -18862,7 +18882,7 @@ void impl_CanvasRenderer_drawImage0(Ark_NativePointer thisPtr, uint8_t* thisArra throw "One of the branches for image_value_buf has to be chosen through deserialisation."; } Ark_Union_ImageBitmap_PixelMap image_value = static_cast(image_value_buf);; - GetAccessors()->getCanvasRendererAccessor()->drawImage0(self, (const Ark_Union_ImageBitmap_PixelMap*)&image_value, (const Ark_Number*)&dx, (const Ark_Number*)&dy); + GetAccessors()->getCanvasRendererAccessor()->drawImage0(self, (const Ark_Union_ImageBitmap_PixelMap*)&image_value, (const Ark_Number*) (&dx), (const Ark_Number*) (&dy)); } KOALA_INTEROP_V5(CanvasRenderer_drawImage0, Ark_NativePointer, uint8_t*, int32_t, KInteropNumber, KInteropNumber) @@ -18884,7 +18904,7 @@ void impl_CanvasRenderer_drawImage1(Ark_NativePointer thisPtr, uint8_t* thisArra throw "One of the branches for image_value_buf has to be chosen through deserialisation."; } Ark_Union_ImageBitmap_PixelMap image_value = static_cast(image_value_buf);; - GetAccessors()->getCanvasRendererAccessor()->drawImage1(self, (const Ark_Union_ImageBitmap_PixelMap*)&image_value, (const Ark_Number*)&dx, (const Ark_Number*)&dy, (const Ark_Number*)&dw, (const Ark_Number*)&dh); + GetAccessors()->getCanvasRendererAccessor()->drawImage1(self, (const Ark_Union_ImageBitmap_PixelMap*)&image_value, (const Ark_Number*) (&dx), (const Ark_Number*) (&dy), (const Ark_Number*) (&dw), (const Ark_Number*) (&dh)); } KOALA_INTEROP_V7(CanvasRenderer_drawImage1, Ark_NativePointer, uint8_t*, int32_t, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber) @@ -18906,7 +18926,7 @@ void impl_CanvasRenderer_drawImage2(Ark_NativePointer thisPtr, uint8_t* thisArra throw "One of the branches for image_value_buf has to be chosen through deserialisation."; } Ark_Union_ImageBitmap_PixelMap image_value = static_cast(image_value_buf);; - GetAccessors()->getCanvasRendererAccessor()->drawImage2(self, (const Ark_Union_ImageBitmap_PixelMap*)&image_value, (const Ark_Number*)&sx, (const Ark_Number*)&sy, (const Ark_Number*)&sw, (const Ark_Number*)&sh, (const Ark_Number*)&dx, (const Ark_Number*)&dy, (const Ark_Number*)&dw, (const Ark_Number*)&dh); + GetAccessors()->getCanvasRendererAccessor()->drawImage2(self, (const Ark_Union_ImageBitmap_PixelMap*)&image_value, (const Ark_Number*) (&sx), (const Ark_Number*) (&sy), (const Ark_Number*) (&sw), (const Ark_Number*) (&sh), (const Ark_Number*) (&dx), (const Ark_Number*) (&dy), (const Ark_Number*) (&dw), (const Ark_Number*) (&dh)); } KOALA_INTEROP_V11(CanvasRenderer_drawImage2, Ark_NativePointer, uint8_t*, int32_t, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber) @@ -18921,8 +18941,8 @@ void impl_CanvasRenderer_clip0(Ark_NativePointer thisPtr, uint8_t* thisArray, in Deserializer thisDeserializer(thisArray, thisLength); const auto fillRule_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_String fillRule_value_buf = {}; - fillRule_value_buf.tag = fillRule_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fillRule_value_buf_runtimeType)) + fillRule_value_buf.tag = fillRule_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fillRule_value_buf_runtimeType)) { fillRule_value_buf.value = static_cast(thisDeserializer.readString()); } @@ -18937,8 +18957,8 @@ void impl_CanvasRenderer_clip1(Ark_NativePointer thisPtr, uint8_t* thisArray, in Ark_Path2D path_value = static_cast(thisDeserializer.readPath2D());; const auto fillRule_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_String fillRule_value_buf = {}; - fillRule_value_buf.tag = fillRule_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fillRule_value_buf_runtimeType)) + fillRule_value_buf.tag = fillRule_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fillRule_value_buf_runtimeType)) { fillRule_value_buf.value = static_cast(thisDeserializer.readString()); } @@ -18952,8 +18972,8 @@ void impl_CanvasRenderer_fill0(Ark_NativePointer thisPtr, uint8_t* thisArray, in Deserializer thisDeserializer(thisArray, thisLength); const auto fillRule_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_String fillRule_value_buf = {}; - fillRule_value_buf.tag = fillRule_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fillRule_value_buf_runtimeType)) + fillRule_value_buf.tag = fillRule_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fillRule_value_buf_runtimeType)) { fillRule_value_buf.value = static_cast(thisDeserializer.readString()); } @@ -18968,8 +18988,8 @@ void impl_CanvasRenderer_fill1(Ark_NativePointer thisPtr, uint8_t* thisArray, in Ark_Path2D path_value = static_cast(thisDeserializer.readPath2D());; const auto fillRule_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_String fillRule_value_buf = {}; - fillRule_value_buf.tag = fillRule_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (fillRule_value_buf_runtimeType)) + fillRule_value_buf.tag = fillRule_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fillRule_value_buf_runtimeType)) { fillRule_value_buf.value = static_cast(thisDeserializer.readString()); } @@ -18994,7 +19014,7 @@ KOALA_INTEROP_V3(CanvasRenderer_stroke1, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_CanvasRenderer_createLinearGradient(Ark_NativePointer thisPtr, KInteropNumber x0, KInteropNumber y0, KInteropNumber x1, KInteropNumber y1) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->createLinearGradient(self, (const Ark_Number*)&x0, (const Ark_Number*)&y0, (const Ark_Number*)&x1, (const Ark_Number*)&y1); + return GetAccessors()->getCanvasRendererAccessor()->createLinearGradient(self, (const Ark_Number*) (&x0), (const Ark_Number*) (&y0), (const Ark_Number*) (&x1), (const Ark_Number*) (&y1)); } KOALA_INTEROP_5(CanvasRenderer_createLinearGradient, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber) @@ -19004,8 +19024,8 @@ Ark_NativePointer impl_CanvasRenderer_createPattern(Ark_NativePointer thisPtr, u Ark_ImageBitmap image_value = static_cast(thisDeserializer.readImageBitmap());; const auto repetition_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_String repetition_value_buf = {}; - repetition_value_buf.tag = repetition_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (repetition_value_buf_runtimeType)) + repetition_value_buf.tag = repetition_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (repetition_value_buf_runtimeType)) { repetition_value_buf.value = static_cast(thisDeserializer.readString()); } @@ -19016,19 +19036,19 @@ KOALA_INTEROP_3(CanvasRenderer_createPattern, Ark_NativePointer, Ark_NativePoint Ark_NativePointer impl_CanvasRenderer_createRadialGradient(Ark_NativePointer thisPtr, KInteropNumber x0, KInteropNumber y0, KInteropNumber r0, KInteropNumber x1, KInteropNumber y1, KInteropNumber r1) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->createRadialGradient(self, (const Ark_Number*)&x0, (const Ark_Number*)&y0, (const Ark_Number*)&r0, (const Ark_Number*)&x1, (const Ark_Number*)&y1, (const Ark_Number*)&r1); + return GetAccessors()->getCanvasRendererAccessor()->createRadialGradient(self, (const Ark_Number*) (&x0), (const Ark_Number*) (&y0), (const Ark_Number*) (&r0), (const Ark_Number*) (&x1), (const Ark_Number*) (&y1), (const Ark_Number*) (&r1)); } KOALA_INTEROP_7(CanvasRenderer_createRadialGradient, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber) Ark_NativePointer impl_CanvasRenderer_createConicGradient(Ark_NativePointer thisPtr, KInteropNumber startAngle, KInteropNumber x, KInteropNumber y) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->createConicGradient(self, (const Ark_Number*)&startAngle, (const Ark_Number*)&x, (const Ark_Number*)&y); + return GetAccessors()->getCanvasRendererAccessor()->createConicGradient(self, (const Ark_Number*) (&startAngle), (const Ark_Number*) (&x), (const Ark_Number*) (&y)); } KOALA_INTEROP_4(CanvasRenderer_createConicGradient, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber) Ark_NativePointer impl_CanvasRenderer_createImageData0(Ark_NativePointer thisPtr, KInteropNumber sw, KInteropNumber sh) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->createImageData0(self, (const Ark_Number*)&sw, (const Ark_Number*)&sh); + return GetAccessors()->getCanvasRendererAccessor()->createImageData0(self, (const Ark_Number*) (&sw), (const Ark_Number*) (&sh)); } KOALA_INTEROP_3(CanvasRenderer_createImageData0, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KInteropNumber) @@ -19042,13 +19062,13 @@ KOALA_INTEROP_3(CanvasRenderer_createImageData1, Ark_NativePointer, Ark_NativePo Ark_NativePointer impl_CanvasRenderer_getImageData(Ark_NativePointer thisPtr, KInteropNumber sx, KInteropNumber sy, KInteropNumber sw, KInteropNumber sh) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->getImageData(self, (const Ark_Number*)&sx, (const Ark_Number*)&sy, (const Ark_Number*)&sw, (const Ark_Number*)&sh); + return GetAccessors()->getCanvasRendererAccessor()->getImageData(self, (const Ark_Number*) (&sx), (const Ark_Number*) (&sy), (const Ark_Number*) (&sw), (const Ark_Number*) (&sh)); } KOALA_INTEROP_5(CanvasRenderer_getImageData, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber) Ark_NativePointer impl_CanvasRenderer_getPixelMap(Ark_NativePointer thisPtr, KInteropNumber sx, KInteropNumber sy, KInteropNumber sw, KInteropNumber sh) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->getPixelMap(self, (const Ark_Number*)&sx, (const Ark_Number*)&sy, (const Ark_Number*)&sw, (const Ark_Number*)&sh); + return GetAccessors()->getCanvasRendererAccessor()->getPixelMap(self, (const Ark_Number*) (&sx), (const Ark_Number*) (&sy), (const Ark_Number*) (&sw), (const Ark_Number*) (&sh)); } KOALA_INTEROP_5(CanvasRenderer_getPixelMap, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber) @@ -19211,19 +19231,19 @@ KOALA_INTEROP_V3(CanvasRenderer_setLineDash, Ark_NativePointer, uint8_t*, int32_ void impl_CanvasRenderer_clearRect(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y, KInteropNumber w, KInteropNumber h) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->clearRect(self, (const Ark_Number*)&x, (const Ark_Number*)&y, (const Ark_Number*)&w, (const Ark_Number*)&h); + GetAccessors()->getCanvasRendererAccessor()->clearRect(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y), (const Ark_Number*) (&w), (const Ark_Number*) (&h)); } KOALA_INTEROP_V5(CanvasRenderer_clearRect, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber) void impl_CanvasRenderer_fillRect(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y, KInteropNumber w, KInteropNumber h) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->fillRect(self, (const Ark_Number*)&x, (const Ark_Number*)&y, (const Ark_Number*)&w, (const Ark_Number*)&h); + GetAccessors()->getCanvasRendererAccessor()->fillRect(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y), (const Ark_Number*) (&w), (const Ark_Number*) (&h)); } KOALA_INTEROP_V5(CanvasRenderer_fillRect, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber) void impl_CanvasRenderer_strokeRect(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y, KInteropNumber w, KInteropNumber h) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->strokeRect(self, (const Ark_Number*)&x, (const Ark_Number*)&y, (const Ark_Number*)&w, (const Ark_Number*)&h); + GetAccessors()->getCanvasRendererAccessor()->strokeRect(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y), (const Ark_Number*) (&w), (const Ark_Number*) (&h)); } KOALA_INTEROP_V5(CanvasRenderer_strokeRect, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber) @@ -19244,19 +19264,19 @@ void impl_CanvasRenderer_fillText(Ark_NativePointer thisPtr, const KStringPtr& t Deserializer thisDeserializer(thisArray, thisLength); const auto maxWidth_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Number maxWidth_value_buf = {}; - maxWidth_value_buf.tag = maxWidth_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (maxWidth_value_buf_runtimeType)) + maxWidth_value_buf.tag = maxWidth_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (maxWidth_value_buf_runtimeType)) { maxWidth_value_buf.value = static_cast(thisDeserializer.readNumber()); } Opt_Number maxWidth_value = maxWidth_value_buf;; - GetAccessors()->getCanvasRendererAccessor()->fillText(self, (const Ark_String*)&text, (const Ark_Number*)&x, (const Ark_Number*)&y, (const Opt_Number*)&maxWidth_value); + GetAccessors()->getCanvasRendererAccessor()->fillText(self, (const Ark_String*) (&text), (const Ark_Number*) (&x), (const Ark_Number*) (&y), (const Opt_Number*)&maxWidth_value); } KOALA_INTEROP_V6(CanvasRenderer_fillText, Ark_NativePointer, KStringPtr, KInteropNumber, KInteropNumber, uint8_t*, int32_t) Ark_NativePointer impl_CanvasRenderer_measureText(Ark_NativePointer thisPtr, const KStringPtr& text) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getCanvasRendererAccessor()->measureText(self, (const Ark_String*)&text); + return GetAccessors()->getCanvasRendererAccessor()->measureText(self, (const Ark_String*) (&text)); } KOALA_INTEROP_2(CanvasRenderer_measureText, Ark_NativePointer, Ark_NativePointer, KStringPtr) @@ -19265,13 +19285,13 @@ void impl_CanvasRenderer_strokeText(Ark_NativePointer thisPtr, const KStringPtr& Deserializer thisDeserializer(thisArray, thisLength); const auto maxWidth_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Number maxWidth_value_buf = {}; - maxWidth_value_buf.tag = maxWidth_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (maxWidth_value_buf_runtimeType)) + maxWidth_value_buf.tag = maxWidth_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (maxWidth_value_buf_runtimeType)) { maxWidth_value_buf.value = static_cast(thisDeserializer.readNumber()); } Opt_Number maxWidth_value = maxWidth_value_buf;; - GetAccessors()->getCanvasRendererAccessor()->strokeText(self, (const Ark_String*)&text, (const Ark_Number*)&x, (const Ark_Number*)&y, (const Opt_Number*)&maxWidth_value); + GetAccessors()->getCanvasRendererAccessor()->strokeText(self, (const Ark_String*) (&text), (const Ark_Number*) (&x), (const Ark_Number*) (&y), (const Opt_Number*)&maxWidth_value); } KOALA_INTEROP_V6(CanvasRenderer_strokeText, Ark_NativePointer, KStringPtr, KInteropNumber, KInteropNumber, uint8_t*, int32_t) @@ -19289,19 +19309,19 @@ KOALA_INTEROP_V1(CanvasRenderer_resetTransform, Ark_NativePointer) void impl_CanvasRenderer_rotate(Ark_NativePointer thisPtr, KInteropNumber angle) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->rotate(self, (const Ark_Number*)&angle); + GetAccessors()->getCanvasRendererAccessor()->rotate(self, (const Ark_Number*) (&angle)); } KOALA_INTEROP_V2(CanvasRenderer_rotate, Ark_NativePointer, KInteropNumber) void impl_CanvasRenderer_scale(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->scale(self, (const Ark_Number*)&x, (const Ark_Number*)&y); + GetAccessors()->getCanvasRendererAccessor()->scale(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y)); } KOALA_INTEROP_V3(CanvasRenderer_scale, Ark_NativePointer, KInteropNumber, KInteropNumber) void impl_CanvasRenderer_setTransform0(Ark_NativePointer thisPtr, KInteropNumber a, KInteropNumber b, KInteropNumber c, KInteropNumber d, KInteropNumber e, KInteropNumber f) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setTransform0(self, (const Ark_Number*)&a, (const Ark_Number*)&b, (const Ark_Number*)&c, (const Ark_Number*)&d, (const Ark_Number*)&e, (const Ark_Number*)&f); + GetAccessors()->getCanvasRendererAccessor()->setTransform0(self, (const Ark_Number*) (&a), (const Ark_Number*) (&b), (const Ark_Number*) (&c), (const Ark_Number*) (&d), (const Ark_Number*) (&e), (const Ark_Number*) (&f)); } KOALA_INTEROP_V7(CanvasRenderer_setTransform0, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber) @@ -19310,8 +19330,8 @@ void impl_CanvasRenderer_setTransform1(Ark_NativePointer thisPtr, uint8_t* thisA Deserializer thisDeserializer(thisArray, thisLength); const auto transform_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Matrix2D transform_value_buf = {}; - transform_value_buf.tag = transform_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (transform_value_buf_runtimeType)) + transform_value_buf.tag = transform_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (transform_value_buf_runtimeType)) { transform_value_buf.value = static_cast(thisDeserializer.readMatrix2D()); } @@ -19322,13 +19342,13 @@ KOALA_INTEROP_V3(CanvasRenderer_setTransform1, Ark_NativePointer, uint8_t*, int3 void impl_CanvasRenderer_transform(Ark_NativePointer thisPtr, KInteropNumber a, KInteropNumber b, KInteropNumber c, KInteropNumber d, KInteropNumber e, KInteropNumber f) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->transform(self, (const Ark_Number*)&a, (const Ark_Number*)&b, (const Ark_Number*)&c, (const Ark_Number*)&d, (const Ark_Number*)&e, (const Ark_Number*)&f); + GetAccessors()->getCanvasRendererAccessor()->transform(self, (const Ark_Number*) (&a), (const Ark_Number*) (&b), (const Ark_Number*) (&c), (const Ark_Number*) (&d), (const Ark_Number*) (&e), (const Ark_Number*) (&f)); } KOALA_INTEROP_V7(CanvasRenderer_transform, Ark_NativePointer, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber, KInteropNumber) void impl_CanvasRenderer_translate(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->translate(self, (const Ark_Number*)&x, (const Ark_Number*)&y); + GetAccessors()->getCanvasRendererAccessor()->translate(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y)); } KOALA_INTEROP_V3(CanvasRenderer_translate, Ark_NativePointer, KInteropNumber, KInteropNumber) @@ -19337,8 +19357,8 @@ void impl_CanvasRenderer_setPixelMap(Ark_NativePointer thisPtr, uint8_t* thisArr Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_PixelMap value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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.readPixelMap()); } @@ -19381,7 +19401,7 @@ KOALA_INTEROP_1(CanvasRenderer_getGlobalAlpha, Ark_Int32, Ark_NativePointer) void impl_CanvasRenderer_setGlobalAlpha(Ark_NativePointer thisPtr, KInteropNumber globalAlpha) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setGlobalAlpha(self, (const Ark_Number*)&globalAlpha); + GetAccessors()->getCanvasRendererAccessor()->setGlobalAlpha(self, (const Ark_Number*) (&globalAlpha)); } KOALA_INTEROP_V2(CanvasRenderer_setGlobalAlpha, Ark_NativePointer, KInteropNumber) @@ -19393,7 +19413,7 @@ KOALA_INTEROP_V1(CanvasRenderer_getGlobalCompositeOperation, Ark_NativePointer) void impl_CanvasRenderer_setGlobalCompositeOperation(Ark_NativePointer thisPtr, const KStringPtr& globalCompositeOperation) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setGlobalCompositeOperation(self, (const Ark_String*)&globalCompositeOperation); + GetAccessors()->getCanvasRendererAccessor()->setGlobalCompositeOperation(self, (const Ark_String*) (&globalCompositeOperation)); } KOALA_INTEROP_V2(CanvasRenderer_setGlobalCompositeOperation, Ark_NativePointer, KStringPtr) @@ -19465,7 +19485,7 @@ KOALA_INTEROP_V1(CanvasRenderer_getFilter, Ark_NativePointer) void impl_CanvasRenderer_setFilter(Ark_NativePointer thisPtr, const KStringPtr& filter) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setFilter(self, (const Ark_String*)&filter); + GetAccessors()->getCanvasRendererAccessor()->setFilter(self, (const Ark_String*) (&filter)); } KOALA_INTEROP_V2(CanvasRenderer_setFilter, Ark_NativePointer, KStringPtr) @@ -19489,7 +19509,7 @@ KOALA_INTEROP_1(CanvasRenderer_getImageSmoothingQuality, Ark_NativePointer, Ark_ void impl_CanvasRenderer_setImageSmoothingQuality(Ark_NativePointer thisPtr, const KStringPtr& imageSmoothingQuality) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setImageSmoothingQuality(self, (const Ark_String*)&imageSmoothingQuality); + GetAccessors()->getCanvasRendererAccessor()->setImageSmoothingQuality(self, (const Ark_String*) (&imageSmoothingQuality)); } KOALA_INTEROP_V2(CanvasRenderer_setImageSmoothingQuality, Ark_NativePointer, KStringPtr) @@ -19501,7 +19521,7 @@ KOALA_INTEROP_1(CanvasRenderer_getLineCap, Ark_NativePointer, Ark_NativePointer) void impl_CanvasRenderer_setLineCap(Ark_NativePointer thisPtr, const KStringPtr& lineCap) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setLineCap(self, (const Ark_String*)&lineCap); + GetAccessors()->getCanvasRendererAccessor()->setLineCap(self, (const Ark_String*) (&lineCap)); } KOALA_INTEROP_V2(CanvasRenderer_setLineCap, Ark_NativePointer, KStringPtr) @@ -19513,7 +19533,7 @@ KOALA_INTEROP_1(CanvasRenderer_getLineDashOffset, Ark_Int32, Ark_NativePointer) void impl_CanvasRenderer_setLineDashOffset(Ark_NativePointer thisPtr, KInteropNumber lineDashOffset) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setLineDashOffset(self, (const Ark_Number*)&lineDashOffset); + GetAccessors()->getCanvasRendererAccessor()->setLineDashOffset(self, (const Ark_Number*) (&lineDashOffset)); } KOALA_INTEROP_V2(CanvasRenderer_setLineDashOffset, Ark_NativePointer, KInteropNumber) @@ -19525,7 +19545,7 @@ KOALA_INTEROP_1(CanvasRenderer_getLineJoin, Ark_NativePointer, Ark_NativePointer void impl_CanvasRenderer_setLineJoin(Ark_NativePointer thisPtr, const KStringPtr& lineJoin) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setLineJoin(self, (const Ark_String*)&lineJoin); + GetAccessors()->getCanvasRendererAccessor()->setLineJoin(self, (const Ark_String*) (&lineJoin)); } KOALA_INTEROP_V2(CanvasRenderer_setLineJoin, Ark_NativePointer, KStringPtr) @@ -19537,7 +19557,7 @@ KOALA_INTEROP_1(CanvasRenderer_getLineWidth, Ark_Int32, Ark_NativePointer) void impl_CanvasRenderer_setLineWidth(Ark_NativePointer thisPtr, KInteropNumber lineWidth) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setLineWidth(self, (const Ark_Number*)&lineWidth); + GetAccessors()->getCanvasRendererAccessor()->setLineWidth(self, (const Ark_Number*) (&lineWidth)); } KOALA_INTEROP_V2(CanvasRenderer_setLineWidth, Ark_NativePointer, KInteropNumber) @@ -19549,7 +19569,7 @@ KOALA_INTEROP_1(CanvasRenderer_getMiterLimit, Ark_Int32, Ark_NativePointer) void impl_CanvasRenderer_setMiterLimit(Ark_NativePointer thisPtr, KInteropNumber miterLimit) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setMiterLimit(self, (const Ark_Number*)&miterLimit); + GetAccessors()->getCanvasRendererAccessor()->setMiterLimit(self, (const Ark_Number*) (&miterLimit)); } KOALA_INTEROP_V2(CanvasRenderer_setMiterLimit, Ark_NativePointer, KInteropNumber) @@ -19561,7 +19581,7 @@ KOALA_INTEROP_1(CanvasRenderer_getShadowBlur, Ark_Int32, Ark_NativePointer) void impl_CanvasRenderer_setShadowBlur(Ark_NativePointer thisPtr, KInteropNumber shadowBlur) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setShadowBlur(self, (const Ark_Number*)&shadowBlur); + GetAccessors()->getCanvasRendererAccessor()->setShadowBlur(self, (const Ark_Number*) (&shadowBlur)); } KOALA_INTEROP_V2(CanvasRenderer_setShadowBlur, Ark_NativePointer, KInteropNumber) @@ -19573,7 +19593,7 @@ KOALA_INTEROP_V1(CanvasRenderer_getShadowColor, Ark_NativePointer) void impl_CanvasRenderer_setShadowColor(Ark_NativePointer thisPtr, const KStringPtr& shadowColor) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setShadowColor(self, (const Ark_String*)&shadowColor); + GetAccessors()->getCanvasRendererAccessor()->setShadowColor(self, (const Ark_String*) (&shadowColor)); } KOALA_INTEROP_V2(CanvasRenderer_setShadowColor, Ark_NativePointer, KStringPtr) @@ -19585,7 +19605,7 @@ KOALA_INTEROP_1(CanvasRenderer_getShadowOffsetX, Ark_Int32, Ark_NativePointer) void impl_CanvasRenderer_setShadowOffsetX(Ark_NativePointer thisPtr, KInteropNumber shadowOffsetX) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setShadowOffsetX(self, (const Ark_Number*)&shadowOffsetX); + GetAccessors()->getCanvasRendererAccessor()->setShadowOffsetX(self, (const Ark_Number*) (&shadowOffsetX)); } KOALA_INTEROP_V2(CanvasRenderer_setShadowOffsetX, Ark_NativePointer, KInteropNumber) @@ -19597,7 +19617,7 @@ KOALA_INTEROP_1(CanvasRenderer_getShadowOffsetY, Ark_Int32, Ark_NativePointer) void impl_CanvasRenderer_setShadowOffsetY(Ark_NativePointer thisPtr, KInteropNumber shadowOffsetY) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setShadowOffsetY(self, (const Ark_Number*)&shadowOffsetY); + GetAccessors()->getCanvasRendererAccessor()->setShadowOffsetY(self, (const Ark_Number*) (&shadowOffsetY)); } KOALA_INTEROP_V2(CanvasRenderer_setShadowOffsetY, Ark_NativePointer, KInteropNumber) @@ -19609,7 +19629,7 @@ KOALA_INTEROP_1(CanvasRenderer_getDirection, Ark_NativePointer, Ark_NativePointe void impl_CanvasRenderer_setDirection(Ark_NativePointer thisPtr, const KStringPtr& direction) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setDirection(self, (const Ark_String*)&direction); + GetAccessors()->getCanvasRendererAccessor()->setDirection(self, (const Ark_String*) (&direction)); } KOALA_INTEROP_V2(CanvasRenderer_setDirection, Ark_NativePointer, KStringPtr) @@ -19621,7 +19641,7 @@ KOALA_INTEROP_V1(CanvasRenderer_getFont, Ark_NativePointer) void impl_CanvasRenderer_setFont(Ark_NativePointer thisPtr, const KStringPtr& font) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setFont(self, (const Ark_String*)&font); + GetAccessors()->getCanvasRendererAccessor()->setFont(self, (const Ark_String*) (&font)); } KOALA_INTEROP_V2(CanvasRenderer_setFont, Ark_NativePointer, KStringPtr) @@ -19633,7 +19653,7 @@ KOALA_INTEROP_1(CanvasRenderer_getTextAlign, Ark_NativePointer, Ark_NativePointe void impl_CanvasRenderer_setTextAlign(Ark_NativePointer thisPtr, const KStringPtr& textAlign) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setTextAlign(self, (const Ark_String*)&textAlign); + GetAccessors()->getCanvasRendererAccessor()->setTextAlign(self, (const Ark_String*) (&textAlign)); } KOALA_INTEROP_V2(CanvasRenderer_setTextAlign, Ark_NativePointer, KStringPtr) @@ -19645,7 +19665,7 @@ KOALA_INTEROP_1(CanvasRenderer_getTextBaseline, Ark_NativePointer, Ark_NativePoi void impl_CanvasRenderer_setTextBaseline(Ark_NativePointer thisPtr, const KStringPtr& textBaseline) { CanvasRendererPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCanvasRendererAccessor()->setTextBaseline(self, (const Ark_String*)&textBaseline); + GetAccessors()->getCanvasRendererAccessor()->setTextBaseline(self, (const Ark_String*) (&textBaseline)); } KOALA_INTEROP_V2(CanvasRenderer_setTextBaseline, Ark_NativePointer, KStringPtr) @@ -19653,8 +19673,8 @@ Ark_NativePointer impl_CanvasRenderingContext2D_ctor(uint8_t* thisArray, int32_t Deserializer thisDeserializer(thisArray, thisLength); const auto settings_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_RenderingContextSettings settings_value_buf = {}; - settings_value_buf.tag = settings_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (settings_value_buf_runtimeType)) + settings_value_buf.tag = settings_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (settings_value_buf_runtimeType)) { settings_value_buf.value = thisDeserializer.readRenderingContextSettings(); } @@ -19673,21 +19693,21 @@ void impl_CanvasRenderingContext2D_toDataURL(Ark_NativePointer thisPtr, uint8_t* Deserializer thisDeserializer(thisArray, thisLength); const auto type_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_String type_value_buf = {}; - type_value_buf.tag = type_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (type_value_buf_runtimeType)) + 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.readString()); } Opt_String type_value = type_value_buf;; const auto quality_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_CustomObject quality_value_buf = {}; - quality_value_buf.tag = quality_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (quality_value_buf_runtimeType)) + Opt_Number quality_value_buf = {}; + quality_value_buf.tag = quality_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (quality_value_buf_runtimeType)) { - quality_value_buf.value = static_cast(thisDeserializer.readCustomObject("Any")); + quality_value_buf.value = static_cast(thisDeserializer.readNumber()); } - Opt_CustomObject quality_value = quality_value_buf;; - GetAccessors()->getCanvasRenderingContext2DAccessor()->toDataURL(self, (const Opt_String*)&type_value, (const Opt_CustomObject*)&quality_value); + Opt_Number quality_value = quality_value_buf;; + GetAccessors()->getCanvasRenderingContext2DAccessor()->toDataURL(self, (const Opt_String*)&type_value, (const Opt_Number*)&quality_value); } KOALA_INTEROP_V3(CanvasRenderingContext2D_toDataURL, Ark_NativePointer, uint8_t*, int32_t) @@ -19709,46 +19729,46 @@ KOALA_INTEROP_V1(CanvasRenderingContext2D_stopImageAnalyzer, Ark_NativePointer) void impl_CanvasRenderingContext2D_onOnAttach(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { CanvasRenderingContext2DPeer* self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetAccessors()->getCanvasRenderingContext2DAccessor()->onOnAttach(self, (const Callback_Void*)&callback_value); + Callback_Void callback__value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetAccessors()->getCanvasRenderingContext2DAccessor()->onOnAttach(self, (const Callback_Void*)&callback__value); } KOALA_INTEROP_V3(CanvasRenderingContext2D_onOnAttach, Ark_NativePointer, uint8_t*, int32_t) void impl_CanvasRenderingContext2D_offOnAttach(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { CanvasRenderingContext2DPeer* 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (callback_value_buf_runtimeType)) + 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))))}; + 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()->getCanvasRenderingContext2DAccessor()->offOnAttach(self, (const Opt_Callback_Void*)&callback_value); + Opt_Callback_Void callback__value = callback__value_buf;; + GetAccessors()->getCanvasRenderingContext2DAccessor()->offOnAttach(self, (const Opt_Callback_Void*)&callback__value); } KOALA_INTEROP_V3(CanvasRenderingContext2D_offOnAttach, Ark_NativePointer, uint8_t*, int32_t) void impl_CanvasRenderingContext2D_onOnDetach(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { CanvasRenderingContext2DPeer* self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - GetAccessors()->getCanvasRenderingContext2DAccessor()->onOnDetach(self, (const Callback_Void*)&callback_value); + Callback_Void callback__value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + GetAccessors()->getCanvasRenderingContext2DAccessor()->onOnDetach(self, (const Callback_Void*)&callback__value); } KOALA_INTEROP_V3(CanvasRenderingContext2D_onOnDetach, Ark_NativePointer, uint8_t*, int32_t) void impl_CanvasRenderingContext2D_offOnDetach(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { CanvasRenderingContext2DPeer* 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (callback_value_buf_runtimeType)) + 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))))}; + 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()->getCanvasRenderingContext2DAccessor()->offOnDetach(self, (const Opt_Callback_Void*)&callback_value); + Opt_Callback_Void callback__value = callback__value_buf;; + GetAccessors()->getCanvasRenderingContext2DAccessor()->offOnDetach(self, (const Opt_Callback_Void*)&callback__value); } KOALA_INTEROP_V3(CanvasRenderingContext2D_offOnDetach, Ark_NativePointer, uint8_t*, int32_t) @@ -19768,8 +19788,8 @@ Ark_NativePointer impl_DrawingRenderingContext_ctor(uint8_t* thisArray, int32_t Deserializer thisDeserializer(thisArray, thisLength); const auto unit_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_LengthMetricsUnit unit_value_buf = {}; - unit_value_buf.tag = unit_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (unit_value_buf_runtimeType)) + unit_value_buf.tag = unit_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (unit_value_buf_runtimeType)) { unit_value_buf.value = thisDeserializer.readLengthMetricsUnit(); } @@ -19801,7 +19821,7 @@ KOALA_INTEROP_0(ICurve_getFinalizer, Ark_NativePointer) Ark_Int32 impl_ICurve_interpolate(Ark_NativePointer thisPtr, KInteropNumber fraction) { ICurvePeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getICurveAccessor()->interpolate(self, (const Ark_Number*)&fraction); + return GetAccessors()->getICurveAccessor()->interpolate(self, (const Ark_Number*) (&fraction)); } KOALA_INTEROP_2(ICurve_interpolate, Ark_Int32, Ark_NativePointer, KInteropNumber) @@ -19860,7 +19880,7 @@ Ark_NativePointer impl_TransitionEffect_ctor(const KStringPtr& type, uint8_t* th 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); + return GetAccessors()->getTransitionEffectAccessor()->ctor((const Ark_String*) (&type), (const Ark_TransitionEffects*)&effect_value); } KOALA_INTEROP_3(TransitionEffect_ctor, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) @@ -19891,7 +19911,7 @@ Ark_NativePointer impl_TransitionEffect_scale(uint8_t* thisArray, int32_t thisLe KOALA_INTEROP_2(TransitionEffect_scale, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_TransitionEffect_opacity(KInteropNumber alpha) { - return GetAccessors()->getTransitionEffectAccessor()->opacity((const Ark_Number*)&alpha); + return GetAccessors()->getTransitionEffectAccessor()->opacity((const Ark_Number*) (&alpha)); } KOALA_INTEROP_1(TransitionEffect_opacity, Ark_NativePointer, KInteropNumber) @@ -19924,336 +19944,1867 @@ Ark_NativePointer impl_TransitionEffect_combine(Ark_NativePointer thisPtr, uint8 } KOALA_INTEROP_3(TransitionEffect_combine, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_PixelMapMock_ctor() { - return GetAccessors()->getPixelMapMockAccessor()->ctor(); +Ark_NativePointer impl_BaseEvent_ctor() { + return GetAccessors()->getBaseEventAccessor()->ctor(); } -KOALA_INTEROP_0(PixelMapMock_ctor, Ark_NativePointer) +KOALA_INTEROP_0(BaseEvent_ctor, Ark_NativePointer) -Ark_NativePointer impl_PixelMapMock_getFinalizer() { - return GetAccessors()->getPixelMapMockAccessor()->getFinalizer(); +Ark_NativePointer impl_BaseEvent_getFinalizer() { + return GetAccessors()->getBaseEventAccessor()->getFinalizer(); } -KOALA_INTEROP_0(PixelMapMock_getFinalizer, Ark_NativePointer) +KOALA_INTEROP_0(BaseEvent_getFinalizer, Ark_NativePointer) -void impl_PixelMapMock_release(Ark_NativePointer thisPtr) { - PixelMapMockPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getPixelMapMockAccessor()->release(self); +Ark_Boolean impl_BaseEvent_getModifierKeyState(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + BaseEventPeer* 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(self, (const Array_String*)&keys_value); } -KOALA_INTEROP_V1(PixelMapMock_release, Ark_NativePointer) +KOALA_INTEROP_3(BaseEvent_getModifierKeyState, Ark_Boolean, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_ProgressMask_ctor(KInteropNumber value, KInteropNumber total, uint8_t* thisArray, int32_t thisLength) { +void impl_BaseEvent_setTarget(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + BaseEventPeer* 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()); - } - 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 { - throw "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); + Ark_EventTarget target_value = thisDeserializer.readEventTarget();; + GetAccessors()->getBaseEventAccessor()->setTarget(self, (const Ark_EventTarget*)&target_value); } -KOALA_INTEROP_4(ProgressMask_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber, uint8_t*, int32_t) +KOALA_INTEROP_V3(BaseEvent_setTarget, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_ProgressMask_getFinalizer() { - return GetAccessors()->getProgressMaskAccessor()->getFinalizer(); +Ark_Int32 impl_BaseEvent_getTimestamp(Ark_NativePointer thisPtr) { + BaseEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getTimestamp(self); } -KOALA_INTEROP_0(ProgressMask_getFinalizer, Ark_NativePointer) +KOALA_INTEROP_1(BaseEvent_getTimestamp, Ark_Int32, Ark_NativePointer) -void impl_ProgressMask_updateProgress(Ark_NativePointer thisPtr, KInteropNumber value) { - ProgressMaskPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getProgressMaskAccessor()->updateProgress(self, (const Ark_Number*)&value); +void impl_BaseEvent_setTimestamp(Ark_NativePointer thisPtr, KInteropNumber timestamp) { + BaseEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setTimestamp(self, (const Ark_Number*) (×tamp)); } -KOALA_INTEROP_V2(ProgressMask_updateProgress, Ark_NativePointer, KInteropNumber) +KOALA_INTEROP_V2(BaseEvent_setTimestamp, Ark_NativePointer, KInteropNumber) -void impl_ProgressMask_updateColor(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - ProgressMaskPeer* 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 { - throw "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); +Ark_NativePointer impl_BaseEvent_getSource(Ark_NativePointer thisPtr) { + BaseEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getSource(self); } -KOALA_INTEROP_V3(ProgressMask_updateColor, Ark_NativePointer, uint8_t*, int32_t) +KOALA_INTEROP_1(BaseEvent_getSource, Ark_NativePointer, Ark_NativePointer) -void impl_ProgressMask_enableBreathingAnimation(Ark_NativePointer thisPtr, Ark_Boolean value) { - ProgressMaskPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getProgressMaskAccessor()->enableBreathingAnimation(self, value); +void impl_BaseEvent_setSource(Ark_NativePointer thisPtr, Ark_Int32 source) { + BaseEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setSource(self, static_cast(source)); } -KOALA_INTEROP_V2(ProgressMask_enableBreathingAnimation, Ark_NativePointer, Ark_Boolean) +KOALA_INTEROP_V2(BaseEvent_setSource, Ark_NativePointer, Ark_Int32) -Ark_NativePointer impl_View_ctor() { - return GetAccessors()->getViewAccessor()->ctor(); +Ark_Int32 impl_BaseEvent_getAxisHorizontal(Ark_NativePointer thisPtr) { + BaseEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getAxisHorizontal(self); } -KOALA_INTEROP_0(View_ctor, Ark_NativePointer) +KOALA_INTEROP_1(BaseEvent_getAxisHorizontal, Ark_Int32, Ark_NativePointer) -Ark_NativePointer impl_View_getFinalizer() { - return GetAccessors()->getViewAccessor()->getFinalizer(); +void impl_BaseEvent_setAxisHorizontal(Ark_NativePointer thisPtr, KInteropNumber axisHorizontal) { + BaseEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setAxisHorizontal(self, (const Ark_Number*) (&axisHorizontal)); } -KOALA_INTEROP_0(View_getFinalizer, Ark_NativePointer) +KOALA_INTEROP_V2(BaseEvent_setAxisHorizontal, Ark_NativePointer, KInteropNumber) -void impl_View_create(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - ViewPeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_CustomObject value_value = static_cast(thisDeserializer.readCustomObject("Any"));; - GetAccessors()->getViewAccessor()->create(self, (const Ark_CustomObject*)&value_value); +Ark_Int32 impl_BaseEvent_getAxisVertical(Ark_NativePointer thisPtr) { + BaseEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getAxisVertical(self); } -KOALA_INTEROP_V3(View_create, Ark_NativePointer, uint8_t*, int32_t) +KOALA_INTEROP_1(BaseEvent_getAxisVertical, Ark_Int32, Ark_NativePointer) -Ark_NativePointer impl_TextContentControllerBase_ctor() { - return GetAccessors()->getTextContentControllerBaseAccessor()->ctor(); +void impl_BaseEvent_setAxisVertical(Ark_NativePointer thisPtr, KInteropNumber axisVertical) { + BaseEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setAxisVertical(self, (const Ark_Number*) (&axisVertical)); } -KOALA_INTEROP_0(TextContentControllerBase_ctor, Ark_NativePointer) +KOALA_INTEROP_V2(BaseEvent_setAxisVertical, Ark_NativePointer, KInteropNumber) -Ark_NativePointer impl_TextContentControllerBase_getFinalizer() { - return GetAccessors()->getTextContentControllerBaseAccessor()->getFinalizer(); +Ark_Int32 impl_BaseEvent_getPressure(Ark_NativePointer thisPtr) { + BaseEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getPressure(self); } -KOALA_INTEROP_0(TextContentControllerBase_getFinalizer, Ark_NativePointer) +KOALA_INTEROP_1(BaseEvent_getPressure, Ark_Int32, Ark_NativePointer) -Ark_NativePointer impl_TextContentControllerBase_getCaretOffset(Ark_NativePointer thisPtr) { - TextContentControllerBasePeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getTextContentControllerBaseAccessor()->getCaretOffset(self); +void impl_BaseEvent_setPressure(Ark_NativePointer thisPtr, KInteropNumber pressure) { + BaseEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setPressure(self, (const Ark_Number*) (&pressure)); } -KOALA_INTEROP_1(TextContentControllerBase_getCaretOffset, Ark_NativePointer, Ark_NativePointer) +KOALA_INTEROP_V2(BaseEvent_setPressure, Ark_NativePointer, KInteropNumber) -Ark_NativePointer impl_TextContentControllerBase_getTextContentRect(Ark_NativePointer thisPtr) { - TextContentControllerBasePeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getTextContentControllerBaseAccessor()->getTextContentRect(self); +Ark_Int32 impl_BaseEvent_getTiltX(Ark_NativePointer thisPtr) { + BaseEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getTiltX(self); } -KOALA_INTEROP_1(TextContentControllerBase_getTextContentRect, Ark_NativePointer, Ark_NativePointer) +KOALA_INTEROP_1(BaseEvent_getTiltX, Ark_Int32, Ark_NativePointer) -Ark_Int32 impl_TextContentControllerBase_getTextContentLineCount(Ark_NativePointer thisPtr) { - TextContentControllerBasePeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getTextContentControllerBaseAccessor()->getTextContentLineCount(self); +void impl_BaseEvent_setTiltX(Ark_NativePointer thisPtr, KInteropNumber tiltX) { + BaseEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setTiltX(self, (const Ark_Number*) (&tiltX)); } -KOALA_INTEROP_1(TextContentControllerBase_getTextContentLineCount, Ark_Int32, Ark_NativePointer) +KOALA_INTEROP_V2(BaseEvent_setTiltX, Ark_NativePointer, KInteropNumber) -Ark_NativePointer impl_DynamicNode_ctor() { - return GetAccessors()->getDynamicNodeAccessor()->ctor(); +Ark_Int32 impl_BaseEvent_getTiltY(Ark_NativePointer thisPtr) { + BaseEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getTiltY(self); } -KOALA_INTEROP_0(DynamicNode_ctor, Ark_NativePointer) +KOALA_INTEROP_1(BaseEvent_getTiltY, Ark_Int32, Ark_NativePointer) -Ark_NativePointer impl_DynamicNode_getFinalizer() { - return GetAccessors()->getDynamicNodeAccessor()->getFinalizer(); +void impl_BaseEvent_setTiltY(Ark_NativePointer thisPtr, KInteropNumber tiltY) { + BaseEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setTiltY(self, (const Ark_Number*) (&tiltY)); } -KOALA_INTEROP_0(DynamicNode_getFinalizer, Ark_NativePointer) +KOALA_INTEROP_V2(BaseEvent_setTiltY, Ark_NativePointer, KInteropNumber) -void impl_DynamicNode_onMove(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - DynamicNodePeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const auto handler_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_OnMoveHandler handler_value_buf = {}; - handler_value_buf.tag = handler_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (handler_value_buf_runtimeType)) - { - handler_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnMoveHandler)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnMoveHandler))))}; - } - Opt_OnMoveHandler handler_value = handler_value_buf;; - GetAccessors()->getDynamicNodeAccessor()->onMove(self, (const Opt_OnMoveHandler*)&handler_value); +Ark_NativePointer impl_BaseEvent_getSourceTool(Ark_NativePointer thisPtr) { + BaseEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getSourceTool(self); } -KOALA_INTEROP_V3(DynamicNode_onMove, Ark_NativePointer, uint8_t*, int32_t) +KOALA_INTEROP_1(BaseEvent_getSourceTool, Ark_NativePointer, Ark_NativePointer) -Ark_NativePointer impl_ChildrenMainSize_ctor(KInteropNumber childDefaultSize) { - return GetAccessors()->getChildrenMainSizeAccessor()->ctor((const Ark_Number*)&childDefaultSize); +void impl_BaseEvent_setSourceTool(Ark_NativePointer thisPtr, Ark_Int32 sourceTool) { + BaseEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setSourceTool(self, static_cast(sourceTool)); } -KOALA_INTEROP_1(ChildrenMainSize_ctor, Ark_NativePointer, KInteropNumber) +KOALA_INTEROP_V2(BaseEvent_setSourceTool, Ark_NativePointer, Ark_Int32) -Ark_NativePointer impl_ChildrenMainSize_getFinalizer() { - return GetAccessors()->getChildrenMainSizeAccessor()->getFinalizer(); +Ark_Int32 impl_BaseEvent_getDeviceId(Ark_NativePointer thisPtr) { + BaseEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getBaseEventAccessor()->getDeviceId(self); } -KOALA_INTEROP_0(ChildrenMainSize_getFinalizer, Ark_NativePointer) +KOALA_INTEROP_1(BaseEvent_getDeviceId, Ark_Int32, Ark_NativePointer) -void impl_ChildrenMainSize_splice(Ark_NativePointer thisPtr, KInteropNumber start, uint8_t* thisArray, int32_t thisLength) { - ChildrenMainSizePeer* 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_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(self, (const Ark_Number*)&start, (const Opt_Number*)&deleteCount_value, (const Opt_Array_Number*)&childrenSize_value); +void impl_BaseEvent_setDeviceId(Ark_NativePointer thisPtr, KInteropNumber deviceId) { + BaseEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getBaseEventAccessor()->setDeviceId(self, (const Ark_Number*) (&deviceId)); } -KOALA_INTEROP_V4(ChildrenMainSize_splice, Ark_NativePointer, KInteropNumber, uint8_t*, int32_t) +KOALA_INTEROP_V2(BaseEvent_setDeviceId, Ark_NativePointer, KInteropNumber) -void impl_ChildrenMainSize_update(Ark_NativePointer thisPtr, KInteropNumber index, KInteropNumber childSize) { - ChildrenMainSizePeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getChildrenMainSizeAccessor()->update(self, (const Ark_Number*)&index, (const Ark_Number*)&childSize); +Ark_NativePointer impl_ClickEvent_ctor() { + return GetAccessors()->getClickEventAccessor()->ctor(); } -KOALA_INTEROP_V3(ChildrenMainSize_update, Ark_NativePointer, KInteropNumber, KInteropNumber) +KOALA_INTEROP_0(ClickEvent_ctor, Ark_NativePointer) -Ark_Int32 impl_ChildrenMainSize_getChildDefaultSize(Ark_NativePointer thisPtr) { - ChildrenMainSizePeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getChildrenMainSizeAccessor()->getChildDefaultSize(self); +Ark_NativePointer impl_ClickEvent_getFinalizer() { + return GetAccessors()->getClickEventAccessor()->getFinalizer(); } -KOALA_INTEROP_1(ChildrenMainSize_getChildDefaultSize, Ark_Int32, Ark_NativePointer) +KOALA_INTEROP_0(ClickEvent_getFinalizer, Ark_NativePointer) -void impl_ChildrenMainSize_setChildDefaultSize(Ark_NativePointer thisPtr, KInteropNumber childDefaultSize) { - ChildrenMainSizePeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getChildrenMainSizeAccessor()->setChildDefaultSize(self, (const Ark_Number*)&childDefaultSize); +Ark_Int32 impl_ClickEvent_getDisplayX(Ark_NativePointer thisPtr) { + ClickEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getDisplayX(self); } -KOALA_INTEROP_V2(ChildrenMainSize_setChildDefaultSize, Ark_NativePointer, KInteropNumber) +KOALA_INTEROP_1(ClickEvent_getDisplayX, Ark_Int32, Ark_NativePointer) -Ark_NativePointer impl_GestureModifier_ctor() { - return GetAccessors()->getGestureModifierAccessor()->ctor(); +void impl_ClickEvent_setDisplayX(Ark_NativePointer thisPtr, KInteropNumber displayX) { + ClickEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setDisplayX(self, (const Ark_Number*) (&displayX)); } -KOALA_INTEROP_0(GestureModifier_ctor, Ark_NativePointer) +KOALA_INTEROP_V2(ClickEvent_setDisplayX, Ark_NativePointer, KInteropNumber) -Ark_NativePointer impl_GestureModifier_getFinalizer() { - return GetAccessors()->getGestureModifierAccessor()->getFinalizer(); +Ark_Int32 impl_ClickEvent_getDisplayY(Ark_NativePointer thisPtr) { + ClickEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getDisplayY(self); } -KOALA_INTEROP_0(GestureModifier_getFinalizer, Ark_NativePointer) +KOALA_INTEROP_1(ClickEvent_getDisplayY, Ark_Int32, Ark_NativePointer) -void impl_GestureModifier_applyGesture(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - GestureModifierPeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Ark_UIGestureEvent event_value = thisDeserializer.readUIGestureEvent();; - GetAccessors()->getGestureModifierAccessor()->applyGesture(self, (const Ark_UIGestureEvent*)&event_value); +void impl_ClickEvent_setDisplayY(Ark_NativePointer thisPtr, KInteropNumber displayY) { + ClickEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setDisplayY(self, (const Ark_Number*) (&displayY)); } -KOALA_INTEROP_V3(GestureModifier_applyGesture, Ark_NativePointer, uint8_t*, int32_t) +KOALA_INTEROP_V2(ClickEvent_setDisplayY, Ark_NativePointer, KInteropNumber) -Ark_NativePointer impl_ContextMenu_ctor() { - return GetAccessors()->getContextMenuAccessor()->ctor(); +Ark_Int32 impl_ClickEvent_getWindowX(Ark_NativePointer thisPtr) { + ClickEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getWindowX(self); } -KOALA_INTEROP_0(ContextMenu_ctor, Ark_NativePointer) +KOALA_INTEROP_1(ClickEvent_getWindowX, Ark_Int32, Ark_NativePointer) -Ark_NativePointer impl_ContextMenu_getFinalizer() { - return GetAccessors()->getContextMenuAccessor()->getFinalizer(); +void impl_ClickEvent_setWindowX(Ark_NativePointer thisPtr, KInteropNumber windowX) { + ClickEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setWindowX(self, (const Ark_Number*) (&windowX)); } -KOALA_INTEROP_0(ContextMenu_getFinalizer, Ark_NativePointer) +KOALA_INTEROP_V2(ClickEvent_setWindowX, Ark_NativePointer, KInteropNumber) -void impl_ContextMenu_close() { - GetAccessors()->getContextMenuAccessor()->close(); +Ark_Int32 impl_ClickEvent_getWindowY(Ark_NativePointer thisPtr) { + ClickEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getWindowY(self); } -KOALA_INTEROP_V0(ContextMenu_close) +KOALA_INTEROP_1(ClickEvent_getWindowY, Ark_Int32, Ark_NativePointer) -Ark_NativePointer impl_CustomDialogController_ctor(uint8_t* thisArray, int32_t thisLength) { - Deserializer thisDeserializer(thisArray, thisLength); - Ark_CustomDialogControllerOptions value_value = thisDeserializer.readCustomDialogControllerOptions();; - return GetAccessors()->getCustomDialogControllerAccessor()->ctor((const Ark_CustomDialogControllerOptions*)&value_value); +void impl_ClickEvent_setWindowY(Ark_NativePointer thisPtr, KInteropNumber windowY) { + ClickEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setWindowY(self, (const Ark_Number*) (&windowY)); } -KOALA_INTEROP_2(CustomDialogController_ctor, Ark_NativePointer, uint8_t*, int32_t) +KOALA_INTEROP_V2(ClickEvent_setWindowY, Ark_NativePointer, KInteropNumber) -Ark_NativePointer impl_CustomDialogController_getFinalizer() { - return GetAccessors()->getCustomDialogControllerAccessor()->getFinalizer(); +Ark_Int32 impl_ClickEvent_getScreenX(Ark_NativePointer thisPtr) { + ClickEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getScreenX(self); } -KOALA_INTEROP_0(CustomDialogController_getFinalizer, Ark_NativePointer) +KOALA_INTEROP_1(ClickEvent_getScreenX, Ark_Int32, Ark_NativePointer) -void impl_CustomDialogController_open(Ark_NativePointer thisPtr) { - CustomDialogControllerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCustomDialogControllerAccessor()->open(self); +void impl_ClickEvent_setScreenX(Ark_NativePointer thisPtr, KInteropNumber screenX) { + ClickEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setScreenX(self, (const Ark_Number*) (&screenX)); } -KOALA_INTEROP_V1(CustomDialogController_open, Ark_NativePointer) +KOALA_INTEROP_V2(ClickEvent_setScreenX, Ark_NativePointer, KInteropNumber) -void impl_CustomDialogController_close(Ark_NativePointer thisPtr) { - CustomDialogControllerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getCustomDialogControllerAccessor()->close(self); +Ark_Int32 impl_ClickEvent_getScreenY(Ark_NativePointer thisPtr) { + ClickEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getScreenY(self); } -KOALA_INTEROP_V1(CustomDialogController_close, Ark_NativePointer) +KOALA_INTEROP_1(ClickEvent_getScreenY, Ark_Int32, Ark_NativePointer) -Ark_NativePointer impl_DatePickerDialog_ctor() { - return GetAccessors()->getDatePickerDialogAccessor()->ctor(); +void impl_ClickEvent_setScreenY(Ark_NativePointer thisPtr, KInteropNumber screenY) { + ClickEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setScreenY(self, (const Ark_Number*) (&screenY)); } -KOALA_INTEROP_0(DatePickerDialog_ctor, Ark_NativePointer) +KOALA_INTEROP_V2(ClickEvent_setScreenY, Ark_NativePointer, KInteropNumber) -Ark_NativePointer impl_DatePickerDialog_getFinalizer() { - return GetAccessors()->getDatePickerDialogAccessor()->getFinalizer(); +Ark_Int32 impl_ClickEvent_getX(Ark_NativePointer thisPtr) { + ClickEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getX(self); } -KOALA_INTEROP_0(DatePickerDialog_getFinalizer, Ark_NativePointer) +KOALA_INTEROP_1(ClickEvent_getX, Ark_Int32, Ark_NativePointer) -void impl_DatePickerDialog_show(uint8_t* thisArray, int32_t thisLength) { +void impl_ClickEvent_setX(Ark_NativePointer thisPtr, KInteropNumber x) { + ClickEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setX(self, (const Ark_Number*) (&x)); +} +KOALA_INTEROP_V2(ClickEvent_setX, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_ClickEvent_getY(Ark_NativePointer thisPtr) { + ClickEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getClickEventAccessor()->getY(self); +} +KOALA_INTEROP_1(ClickEvent_getY, Ark_Int32, Ark_NativePointer) + +void impl_ClickEvent_setY(Ark_NativePointer thisPtr, KInteropNumber y) { + ClickEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getClickEventAccessor()->setY(self, (const Ark_Number*) (&y)); +} +KOALA_INTEROP_V2(ClickEvent_setY, Ark_NativePointer, KInteropNumber) + +void impl_ClickEvent_setPreventDefault(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + ClickEventPeer* self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_DatePickerDialogOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) - { - options_value_buf.value = thisDeserializer.readDatePickerDialogOptions(); - } - Opt_DatePickerDialogOptions options_value = options_value_buf;; - GetAccessors()->getDatePickerDialogAccessor()->show((const Opt_DatePickerDialogOptions*)&options_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_V2(DatePickerDialog_show, uint8_t*, int32_t) +KOALA_INTEROP_V3(ClickEvent_setPreventDefault, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_PanGestureOptions_ctor(uint8_t* thisArray, int32_t thisLength) { +Ark_NativePointer impl_HoverEvent_ctor() { + return GetAccessors()->getHoverEventAccessor()->ctor(); +} +KOALA_INTEROP_0(HoverEvent_ctor, Ark_NativePointer) + +Ark_NativePointer impl_HoverEvent_getFinalizer() { + return GetAccessors()->getHoverEventAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(HoverEvent_getFinalizer, Ark_NativePointer) + +void impl_HoverEvent_setStopPropagation(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + HoverEventPeer* self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Literal_Number_distance_fingers_PanDirection_direction value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) - { - Ark_Literal_Number_distance_fingers_PanDirection_direction value_value_buf_ = {}; - const auto value_value_buf__fingers_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Number value_value_buf__fingers_buf = {}; - value_value_buf__fingers_buf.tag = value_value_buf__fingers_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf__fingers_buf_runtimeType)) + 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_V3(HoverEvent_setStopPropagation, Ark_NativePointer, uint8_t*, int32_t) + +Ark_NativePointer impl_MouseEvent_ctor() { + return GetAccessors()->getMouseEventAccessor()->ctor(); +} +KOALA_INTEROP_0(MouseEvent_ctor, Ark_NativePointer) + +Ark_NativePointer impl_MouseEvent_getFinalizer() { + return GetAccessors()->getMouseEventAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(MouseEvent_getFinalizer, Ark_NativePointer) + +Ark_NativePointer impl_MouseEvent_getButton(Ark_NativePointer thisPtr) { + MouseEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getButton(self); +} +KOALA_INTEROP_1(MouseEvent_getButton, Ark_NativePointer, Ark_NativePointer) + +void impl_MouseEvent_setButton(Ark_NativePointer thisPtr, Ark_Int32 button) { + MouseEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setButton(self, static_cast(button)); +} +KOALA_INTEROP_V2(MouseEvent_setButton, Ark_NativePointer, Ark_Int32) + +Ark_NativePointer impl_MouseEvent_getAction(Ark_NativePointer thisPtr) { + MouseEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getAction(self); +} +KOALA_INTEROP_1(MouseEvent_getAction, Ark_NativePointer, Ark_NativePointer) + +void impl_MouseEvent_setAction(Ark_NativePointer thisPtr, Ark_Int32 action) { + MouseEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setAction(self, static_cast(action)); +} +KOALA_INTEROP_V2(MouseEvent_setAction, Ark_NativePointer, Ark_Int32) + +Ark_Int32 impl_MouseEvent_getDisplayX(Ark_NativePointer thisPtr) { + MouseEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getDisplayX(self); +} +KOALA_INTEROP_1(MouseEvent_getDisplayX, Ark_Int32, Ark_NativePointer) + +void impl_MouseEvent_setDisplayX(Ark_NativePointer thisPtr, KInteropNumber displayX) { + MouseEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setDisplayX(self, (const Ark_Number*) (&displayX)); +} +KOALA_INTEROP_V2(MouseEvent_setDisplayX, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_MouseEvent_getDisplayY(Ark_NativePointer thisPtr) { + MouseEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getDisplayY(self); +} +KOALA_INTEROP_1(MouseEvent_getDisplayY, Ark_Int32, Ark_NativePointer) + +void impl_MouseEvent_setDisplayY(Ark_NativePointer thisPtr, KInteropNumber displayY) { + MouseEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setDisplayY(self, (const Ark_Number*) (&displayY)); +} +KOALA_INTEROP_V2(MouseEvent_setDisplayY, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_MouseEvent_getWindowX(Ark_NativePointer thisPtr) { + MouseEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getWindowX(self); +} +KOALA_INTEROP_1(MouseEvent_getWindowX, Ark_Int32, Ark_NativePointer) + +void impl_MouseEvent_setWindowX(Ark_NativePointer thisPtr, KInteropNumber windowX) { + MouseEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setWindowX(self, (const Ark_Number*) (&windowX)); +} +KOALA_INTEROP_V2(MouseEvent_setWindowX, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_MouseEvent_getWindowY(Ark_NativePointer thisPtr) { + MouseEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getWindowY(self); +} +KOALA_INTEROP_1(MouseEvent_getWindowY, Ark_Int32, Ark_NativePointer) + +void impl_MouseEvent_setWindowY(Ark_NativePointer thisPtr, KInteropNumber windowY) { + MouseEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setWindowY(self, (const Ark_Number*) (&windowY)); +} +KOALA_INTEROP_V2(MouseEvent_setWindowY, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_MouseEvent_getScreenX(Ark_NativePointer thisPtr) { + MouseEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getScreenX(self); +} +KOALA_INTEROP_1(MouseEvent_getScreenX, Ark_Int32, Ark_NativePointer) + +void impl_MouseEvent_setScreenX(Ark_NativePointer thisPtr, KInteropNumber screenX) { + MouseEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setScreenX(self, (const Ark_Number*) (&screenX)); +} +KOALA_INTEROP_V2(MouseEvent_setScreenX, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_MouseEvent_getScreenY(Ark_NativePointer thisPtr) { + MouseEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getScreenY(self); +} +KOALA_INTEROP_1(MouseEvent_getScreenY, Ark_Int32, Ark_NativePointer) + +void impl_MouseEvent_setScreenY(Ark_NativePointer thisPtr, KInteropNumber screenY) { + MouseEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setScreenY(self, (const Ark_Number*) (&screenY)); +} +KOALA_INTEROP_V2(MouseEvent_setScreenY, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_MouseEvent_getX(Ark_NativePointer thisPtr) { + MouseEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getX(self); +} +KOALA_INTEROP_1(MouseEvent_getX, Ark_Int32, Ark_NativePointer) + +void impl_MouseEvent_setX(Ark_NativePointer thisPtr, KInteropNumber x) { + MouseEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setX(self, (const Ark_Number*) (&x)); +} +KOALA_INTEROP_V2(MouseEvent_setX, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_MouseEvent_getY(Ark_NativePointer thisPtr) { + MouseEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getMouseEventAccessor()->getY(self); +} +KOALA_INTEROP_1(MouseEvent_getY, Ark_Int32, Ark_NativePointer) + +void impl_MouseEvent_setY(Ark_NativePointer thisPtr, KInteropNumber y) { + MouseEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getMouseEventAccessor()->setY(self, (const Ark_Number*) (&y)); +} +KOALA_INTEROP_V2(MouseEvent_setY, Ark_NativePointer, KInteropNumber) + +void impl_MouseEvent_setStopPropagation(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + MouseEventPeer* 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_V3(MouseEvent_setStopPropagation, Ark_NativePointer, uint8_t*, int32_t) + +Ark_NativePointer impl_AccessibilityHoverEvent_ctor() { + return GetAccessors()->getAccessibilityHoverEventAccessor()->ctor(); +} +KOALA_INTEROP_0(AccessibilityHoverEvent_ctor, Ark_NativePointer) + +Ark_NativePointer impl_AccessibilityHoverEvent_getFinalizer() { + return GetAccessors()->getAccessibilityHoverEventAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(AccessibilityHoverEvent_getFinalizer, Ark_NativePointer) + +Ark_NativePointer impl_AccessibilityHoverEvent_getType(Ark_NativePointer thisPtr) { + AccessibilityHoverEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getType(self); +} +KOALA_INTEROP_1(AccessibilityHoverEvent_getType, Ark_NativePointer, Ark_NativePointer) + +void impl_AccessibilityHoverEvent_setType(Ark_NativePointer thisPtr, Ark_Int32 type) { + AccessibilityHoverEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setType(self, static_cast(type)); +} +KOALA_INTEROP_V2(AccessibilityHoverEvent_setType, Ark_NativePointer, Ark_Int32) + +Ark_Int32 impl_AccessibilityHoverEvent_getX(Ark_NativePointer thisPtr) { + AccessibilityHoverEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getX(self); +} +KOALA_INTEROP_1(AccessibilityHoverEvent_getX, Ark_Int32, Ark_NativePointer) + +void impl_AccessibilityHoverEvent_setX(Ark_NativePointer thisPtr, KInteropNumber x) { + AccessibilityHoverEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setX(self, (const Ark_Number*) (&x)); +} +KOALA_INTEROP_V2(AccessibilityHoverEvent_setX, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_AccessibilityHoverEvent_getY(Ark_NativePointer thisPtr) { + AccessibilityHoverEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getY(self); +} +KOALA_INTEROP_1(AccessibilityHoverEvent_getY, Ark_Int32, Ark_NativePointer) + +void impl_AccessibilityHoverEvent_setY(Ark_NativePointer thisPtr, KInteropNumber y) { + AccessibilityHoverEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setY(self, (const Ark_Number*) (&y)); +} +KOALA_INTEROP_V2(AccessibilityHoverEvent_setY, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_AccessibilityHoverEvent_getDisplayX(Ark_NativePointer thisPtr) { + AccessibilityHoverEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getDisplayX(self); +} +KOALA_INTEROP_1(AccessibilityHoverEvent_getDisplayX, Ark_Int32, Ark_NativePointer) + +void impl_AccessibilityHoverEvent_setDisplayX(Ark_NativePointer thisPtr, KInteropNumber displayX) { + AccessibilityHoverEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setDisplayX(self, (const Ark_Number*) (&displayX)); +} +KOALA_INTEROP_V2(AccessibilityHoverEvent_setDisplayX, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_AccessibilityHoverEvent_getDisplayY(Ark_NativePointer thisPtr) { + AccessibilityHoverEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getDisplayY(self); +} +KOALA_INTEROP_1(AccessibilityHoverEvent_getDisplayY, Ark_Int32, Ark_NativePointer) + +void impl_AccessibilityHoverEvent_setDisplayY(Ark_NativePointer thisPtr, KInteropNumber displayY) { + AccessibilityHoverEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setDisplayY(self, (const Ark_Number*) (&displayY)); +} +KOALA_INTEROP_V2(AccessibilityHoverEvent_setDisplayY, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_AccessibilityHoverEvent_getWindowX(Ark_NativePointer thisPtr) { + AccessibilityHoverEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getWindowX(self); +} +KOALA_INTEROP_1(AccessibilityHoverEvent_getWindowX, Ark_Int32, Ark_NativePointer) + +void impl_AccessibilityHoverEvent_setWindowX(Ark_NativePointer thisPtr, KInteropNumber windowX) { + AccessibilityHoverEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setWindowX(self, (const Ark_Number*) (&windowX)); +} +KOALA_INTEROP_V2(AccessibilityHoverEvent_setWindowX, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_AccessibilityHoverEvent_getWindowY(Ark_NativePointer thisPtr) { + AccessibilityHoverEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getAccessibilityHoverEventAccessor()->getWindowY(self); +} +KOALA_INTEROP_1(AccessibilityHoverEvent_getWindowY, Ark_Int32, Ark_NativePointer) + +void impl_AccessibilityHoverEvent_setWindowY(Ark_NativePointer thisPtr, KInteropNumber windowY) { + AccessibilityHoverEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getAccessibilityHoverEventAccessor()->setWindowY(self, (const Ark_Number*) (&windowY)); +} +KOALA_INTEROP_V2(AccessibilityHoverEvent_setWindowY, Ark_NativePointer, KInteropNumber) + +Ark_NativePointer impl_TouchEvent_ctor() { + return GetAccessors()->getTouchEventAccessor()->ctor(); +} +KOALA_INTEROP_0(TouchEvent_ctor, Ark_NativePointer) + +Ark_NativePointer impl_TouchEvent_getFinalizer() { + return GetAccessors()->getTouchEventAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(TouchEvent_getFinalizer, Ark_NativePointer) + +void impl_TouchEvent_getHistoricalPoints(Ark_NativePointer thisPtr) { + TouchEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getTouchEventAccessor()->getHistoricalPoints(self); +} +KOALA_INTEROP_V1(TouchEvent_getHistoricalPoints, Ark_NativePointer) + +Ark_NativePointer impl_TouchEvent_getType(Ark_NativePointer thisPtr) { + TouchEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getTouchEventAccessor()->getType(self); +} +KOALA_INTEROP_1(TouchEvent_getType, Ark_NativePointer, Ark_NativePointer) + +void impl_TouchEvent_setType(Ark_NativePointer thisPtr, Ark_Int32 type) { + TouchEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getTouchEventAccessor()->setType(self, static_cast(type)); +} +KOALA_INTEROP_V2(TouchEvent_setType, Ark_NativePointer, Ark_Int32) + +void impl_TouchEvent_setTouches(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + TouchEventPeer* 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_V3(TouchEvent_setTouches, Ark_NativePointer, uint8_t*, int32_t) + +void impl_TouchEvent_setChangedTouches(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + TouchEventPeer* 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_V3(TouchEvent_setChangedTouches, Ark_NativePointer, uint8_t*, int32_t) + +void impl_TouchEvent_setStopPropagation(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + TouchEventPeer* 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_V3(TouchEvent_setStopPropagation, Ark_NativePointer, uint8_t*, int32_t) + +void impl_TouchEvent_setPreventDefault(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + TouchEventPeer* 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()->getTouchEventAccessor()->setPreventDefault(self, (const Callback_Void*)&preventDefault_value); +} +KOALA_INTEROP_V3(TouchEvent_setPreventDefault, Ark_NativePointer, uint8_t*, int32_t) + +Ark_NativePointer impl_PixelMapMock_ctor() { + return GetAccessors()->getPixelMapMockAccessor()->ctor(); +} +KOALA_INTEROP_0(PixelMapMock_ctor, Ark_NativePointer) + +Ark_NativePointer impl_PixelMapMock_getFinalizer() { + return GetAccessors()->getPixelMapMockAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(PixelMapMock_getFinalizer, Ark_NativePointer) + +void impl_PixelMapMock_release(Ark_NativePointer thisPtr) { + PixelMapMockPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getPixelMapMockAccessor()->release(self); +} +KOALA_INTEROP_V1(PixelMapMock_release, Ark_NativePointer) + +Ark_NativePointer impl_DragEvent_ctor() { + return GetAccessors()->getDragEventAccessor()->ctor(); +} +KOALA_INTEROP_0(DragEvent_ctor, Ark_NativePointer) + +Ark_NativePointer impl_DragEvent_getFinalizer() { + return GetAccessors()->getDragEventAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(DragEvent_getFinalizer, Ark_NativePointer) + +Ark_Int32 impl_DragEvent_getDisplayX(Ark_NativePointer thisPtr) { + DragEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getDisplayX(self); +} +KOALA_INTEROP_1(DragEvent_getDisplayX, Ark_Int32, Ark_NativePointer) + +Ark_Int32 impl_DragEvent_getDisplayY(Ark_NativePointer thisPtr) { + DragEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getDisplayY(self); +} +KOALA_INTEROP_1(DragEvent_getDisplayY, Ark_Int32, Ark_NativePointer) + +Ark_Int32 impl_DragEvent_getWindowX(Ark_NativePointer thisPtr) { + DragEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getWindowX(self); +} +KOALA_INTEROP_1(DragEvent_getWindowX, Ark_Int32, Ark_NativePointer) + +Ark_Int32 impl_DragEvent_getWindowY(Ark_NativePointer thisPtr) { + DragEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getWindowY(self); +} +KOALA_INTEROP_1(DragEvent_getWindowY, Ark_Int32, Ark_NativePointer) + +Ark_Int32 impl_DragEvent_getX(Ark_NativePointer thisPtr) { + DragEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getX(self); +} +KOALA_INTEROP_1(DragEvent_getX, Ark_Int32, Ark_NativePointer) + +Ark_Int32 impl_DragEvent_getY(Ark_NativePointer thisPtr) { + DragEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getY(self); +} +KOALA_INTEROP_1(DragEvent_getY, Ark_Int32, Ark_NativePointer) + +void impl_DragEvent_setData(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + DragEventPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_UnifiedData unifiedData_value = static_cast(thisDeserializer.readUnifiedData());; + GetAccessors()->getDragEventAccessor()->setData(self, (const Ark_UnifiedData*)&unifiedData_value); +} +KOALA_INTEROP_V3(DragEvent_setData, Ark_NativePointer, uint8_t*, int32_t) + +Ark_NativePointer impl_DragEvent_getData(Ark_NativePointer thisPtr) { + DragEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getData(self); +} +KOALA_INTEROP_1(DragEvent_getData, Ark_NativePointer, Ark_NativePointer) + +Ark_NativePointer impl_DragEvent_getSummary(Ark_NativePointer thisPtr) { + DragEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getSummary(self); +} +KOALA_INTEROP_1(DragEvent_getSummary, Ark_NativePointer, Ark_NativePointer) + +void impl_DragEvent_setResult(Ark_NativePointer thisPtr, Ark_Int32 dragResult) { + DragEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getDragEventAccessor()->setResult(self, static_cast(dragResult)); +} +KOALA_INTEROP_V2(DragEvent_setResult, Ark_NativePointer, Ark_Int32) + +Ark_NativePointer impl_DragEvent_getResult(Ark_NativePointer thisPtr) { + DragEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getResult(self); +} +KOALA_INTEROP_1(DragEvent_getResult, Ark_NativePointer, Ark_NativePointer) + +Ark_NativePointer impl_DragEvent_getPreviewRect(Ark_NativePointer thisPtr) { + DragEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getPreviewRect(self); +} +KOALA_INTEROP_1(DragEvent_getPreviewRect, Ark_NativePointer, Ark_NativePointer) + +Ark_Int32 impl_DragEvent_getVelocityX(Ark_NativePointer thisPtr) { + DragEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getVelocityX(self); +} +KOALA_INTEROP_1(DragEvent_getVelocityX, Ark_Int32, Ark_NativePointer) + +Ark_Int32 impl_DragEvent_getVelocityY(Ark_NativePointer thisPtr) { + DragEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getVelocityY(self); +} +KOALA_INTEROP_1(DragEvent_getVelocityY, Ark_Int32, Ark_NativePointer) + +Ark_Int32 impl_DragEvent_getVelocity(Ark_NativePointer thisPtr) { + DragEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getVelocity(self); +} +KOALA_INTEROP_1(DragEvent_getVelocity, Ark_Int32, Ark_NativePointer) + +Ark_Boolean impl_DragEvent_getModifierKeyState(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + DragEventPeer* 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(self, (const Array_String*)&keys_value); +} +KOALA_INTEROP_3(DragEvent_getModifierKeyState, Ark_Boolean, Ark_NativePointer, uint8_t*, int32_t) + +Ark_NativePointer impl_DragEvent_getDragBehavior(Ark_NativePointer thisPtr) { + DragEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getDragBehavior(self); +} +KOALA_INTEROP_1(DragEvent_getDragBehavior, Ark_NativePointer, Ark_NativePointer) + +void impl_DragEvent_setDragBehavior(Ark_NativePointer thisPtr, Ark_Int32 dragBehavior) { + DragEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getDragEventAccessor()->setDragBehavior(self, static_cast(dragBehavior)); +} +KOALA_INTEROP_V2(DragEvent_setDragBehavior, Ark_NativePointer, Ark_Int32) + +Ark_Boolean impl_DragEvent_getUseCustomDropAnimation(Ark_NativePointer thisPtr) { + DragEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getDragEventAccessor()->getUseCustomDropAnimation(self); +} +KOALA_INTEROP_1(DragEvent_getUseCustomDropAnimation, Ark_Boolean, Ark_NativePointer) + +void impl_DragEvent_setUseCustomDropAnimation(Ark_NativePointer thisPtr, Ark_Boolean useCustomDropAnimation) { + DragEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getDragEventAccessor()->setUseCustomDropAnimation(self, useCustomDropAnimation); +} +KOALA_INTEROP_V2(DragEvent_setUseCustomDropAnimation, Ark_NativePointer, Ark_Boolean) + +Ark_NativePointer impl_KeyEvent_ctor() { + return GetAccessors()->getKeyEventAccessor()->ctor(); +} +KOALA_INTEROP_0(KeyEvent_ctor, Ark_NativePointer) + +Ark_NativePointer impl_KeyEvent_getFinalizer() { + return GetAccessors()->getKeyEventAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(KeyEvent_getFinalizer, Ark_NativePointer) + +Ark_Boolean impl_KeyEvent_getModifierKeyState(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + KeyEventPeer* 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(self, (const Array_String*)&keys_value); +} +KOALA_INTEROP_3(KeyEvent_getModifierKeyState, Ark_Boolean, Ark_NativePointer, uint8_t*, int32_t) + +Ark_NativePointer impl_KeyEvent_getType(Ark_NativePointer thisPtr) { + KeyEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getType(self); +} +KOALA_INTEROP_1(KeyEvent_getType, Ark_NativePointer, Ark_NativePointer) + +void impl_KeyEvent_setType(Ark_NativePointer thisPtr, Ark_Int32 type) { + KeyEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setType(self, static_cast(type)); +} +KOALA_INTEROP_V2(KeyEvent_setType, Ark_NativePointer, Ark_Int32) + +Ark_Int32 impl_KeyEvent_getKeyCode(Ark_NativePointer thisPtr) { + KeyEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getKeyCode(self); +} +KOALA_INTEROP_1(KeyEvent_getKeyCode, Ark_Int32, Ark_NativePointer) + +void impl_KeyEvent_setKeyCode(Ark_NativePointer thisPtr, KInteropNumber keyCode) { + KeyEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setKeyCode(self, (const Ark_Number*) (&keyCode)); +} +KOALA_INTEROP_V2(KeyEvent_setKeyCode, Ark_NativePointer, KInteropNumber) + +void impl_KeyEvent_getKeyText(Ark_NativePointer thisPtr) { + KeyEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->getKeyText(self); +} +KOALA_INTEROP_V1(KeyEvent_getKeyText, Ark_NativePointer) + +void impl_KeyEvent_setKeyText(Ark_NativePointer thisPtr, const KStringPtr& keyText) { + KeyEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setKeyText(self, (const Ark_String*) (&keyText)); +} +KOALA_INTEROP_V2(KeyEvent_setKeyText, Ark_NativePointer, KStringPtr) + +Ark_NativePointer impl_KeyEvent_getKeySource(Ark_NativePointer thisPtr) { + KeyEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getKeySource(self); +} +KOALA_INTEROP_1(KeyEvent_getKeySource, Ark_NativePointer, Ark_NativePointer) + +void impl_KeyEvent_setKeySource(Ark_NativePointer thisPtr, Ark_Int32 keySource) { + KeyEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setKeySource(self, static_cast(keySource)); +} +KOALA_INTEROP_V2(KeyEvent_setKeySource, Ark_NativePointer, Ark_Int32) + +Ark_Int32 impl_KeyEvent_getDeviceId(Ark_NativePointer thisPtr) { + KeyEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getDeviceId(self); +} +KOALA_INTEROP_1(KeyEvent_getDeviceId, Ark_Int32, Ark_NativePointer) + +void impl_KeyEvent_setDeviceId(Ark_NativePointer thisPtr, KInteropNumber deviceId) { + KeyEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setDeviceId(self, (const Ark_Number*) (&deviceId)); +} +KOALA_INTEROP_V2(KeyEvent_setDeviceId, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_KeyEvent_getMetaKey(Ark_NativePointer thisPtr) { + KeyEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getMetaKey(self); +} +KOALA_INTEROP_1(KeyEvent_getMetaKey, Ark_Int32, Ark_NativePointer) + +void impl_KeyEvent_setMetaKey(Ark_NativePointer thisPtr, KInteropNumber metaKey) { + KeyEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setMetaKey(self, (const Ark_Number*) (&metaKey)); +} +KOALA_INTEROP_V2(KeyEvent_setMetaKey, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_KeyEvent_getTimestamp(Ark_NativePointer thisPtr) { + KeyEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getTimestamp(self); +} +KOALA_INTEROP_1(KeyEvent_getTimestamp, Ark_Int32, Ark_NativePointer) + +void impl_KeyEvent_setTimestamp(Ark_NativePointer thisPtr, KInteropNumber timestamp) { + KeyEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setTimestamp(self, (const Ark_Number*) (×tamp)); +} +KOALA_INTEROP_V2(KeyEvent_setTimestamp, Ark_NativePointer, KInteropNumber) + +void impl_KeyEvent_setStopPropagation(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + KeyEventPeer* 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_V3(KeyEvent_setStopPropagation, Ark_NativePointer, uint8_t*, int32_t) + +void impl_KeyEvent_setIntentionCode(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + KeyEventPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_IntentionCode intentionCode_value = thisDeserializer.readIntentionCode();; + GetAccessors()->getKeyEventAccessor()->setIntentionCode(self, (const Ark_IntentionCode*)&intentionCode_value); +} +KOALA_INTEROP_V3(KeyEvent_setIntentionCode, Ark_NativePointer, uint8_t*, int32_t) + +Ark_Int32 impl_KeyEvent_getUnicode(Ark_NativePointer thisPtr) { + KeyEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getKeyEventAccessor()->getUnicode(self); +} +KOALA_INTEROP_1(KeyEvent_getUnicode, Ark_Int32, Ark_NativePointer) + +void impl_KeyEvent_setUnicode(Ark_NativePointer thisPtr, KInteropNumber unicode) { + KeyEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getKeyEventAccessor()->setUnicode(self, (const Ark_Number*) (&unicode)); +} +KOALA_INTEROP_V2(KeyEvent_setUnicode, Ark_NativePointer, KInteropNumber) + +Ark_NativePointer impl_ProgressMask_ctor(KInteropNumber value, KInteropNumber total, uint8_t* thisArray, int32_t thisLength) { + 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()); + } + 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 { + throw "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_4(ProgressMask_ctor, Ark_NativePointer, KInteropNumber, KInteropNumber, uint8_t*, int32_t) + +Ark_NativePointer impl_ProgressMask_getFinalizer() { + return GetAccessors()->getProgressMaskAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(ProgressMask_getFinalizer, Ark_NativePointer) + +void impl_ProgressMask_updateProgress(Ark_NativePointer thisPtr, KInteropNumber value) { + ProgressMaskPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getProgressMaskAccessor()->updateProgress(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_V2(ProgressMask_updateProgress, Ark_NativePointer, KInteropNumber) + +void impl_ProgressMask_updateColor(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + ProgressMaskPeer* 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 { + throw "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_V3(ProgressMask_updateColor, Ark_NativePointer, uint8_t*, int32_t) + +void impl_ProgressMask_enableBreathingAnimation(Ark_NativePointer thisPtr, Ark_Boolean value) { + ProgressMaskPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getProgressMaskAccessor()->enableBreathingAnimation(self, value); +} +KOALA_INTEROP_V2(ProgressMask_enableBreathingAnimation, Ark_NativePointer, Ark_Boolean) + +Ark_NativePointer impl_View_ctor() { + return GetAccessors()->getViewAccessor()->ctor(); +} +KOALA_INTEROP_0(View_ctor, Ark_NativePointer) + +Ark_NativePointer impl_View_getFinalizer() { + return GetAccessors()->getViewAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(View_getFinalizer, Ark_NativePointer) + +void impl_View_create(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + ViewPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_CustomObject value_value = static_cast(thisDeserializer.readCustomObject("Any"));; + GetAccessors()->getViewAccessor()->create(self, (const Ark_CustomObject*)&value_value); +} +KOALA_INTEROP_V3(View_create, Ark_NativePointer, uint8_t*, int32_t) + +Ark_NativePointer impl_TextContentControllerBase_ctor() { + return GetAccessors()->getTextContentControllerBaseAccessor()->ctor(); +} +KOALA_INTEROP_0(TextContentControllerBase_ctor, Ark_NativePointer) + +Ark_NativePointer impl_TextContentControllerBase_getFinalizer() { + return GetAccessors()->getTextContentControllerBaseAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(TextContentControllerBase_getFinalizer, Ark_NativePointer) + +Ark_NativePointer impl_TextContentControllerBase_getCaretOffset(Ark_NativePointer thisPtr) { + TextContentControllerBasePeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getTextContentControllerBaseAccessor()->getCaretOffset(self); +} +KOALA_INTEROP_1(TextContentControllerBase_getCaretOffset, Ark_NativePointer, Ark_NativePointer) + +Ark_NativePointer impl_TextContentControllerBase_getTextContentRect(Ark_NativePointer thisPtr) { + TextContentControllerBasePeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getTextContentControllerBaseAccessor()->getTextContentRect(self); +} +KOALA_INTEROP_1(TextContentControllerBase_getTextContentRect, Ark_NativePointer, Ark_NativePointer) + +Ark_Int32 impl_TextContentControllerBase_getTextContentLineCount(Ark_NativePointer thisPtr) { + TextContentControllerBasePeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getTextContentControllerBaseAccessor()->getTextContentLineCount(self); +} +KOALA_INTEROP_1(TextContentControllerBase_getTextContentLineCount, Ark_Int32, Ark_NativePointer) + +Ark_NativePointer impl_DynamicNode_ctor() { + return GetAccessors()->getDynamicNodeAccessor()->ctor(); +} +KOALA_INTEROP_0(DynamicNode_ctor, Ark_NativePointer) + +Ark_NativePointer impl_DynamicNode_getFinalizer() { + return GetAccessors()->getDynamicNodeAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(DynamicNode_getFinalizer, Ark_NativePointer) + +void impl_DynamicNode_onMove(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + DynamicNodePeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const auto handler_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_OnMoveHandler handler_value_buf = {}; + handler_value_buf.tag = handler_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (handler_value_buf_runtimeType)) + { + handler_value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_OnMoveHandler)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_OnMoveHandler))))}; + } + Opt_OnMoveHandler handler_value = handler_value_buf;; + GetAccessors()->getDynamicNodeAccessor()->onMove(self, (const Opt_OnMoveHandler*)&handler_value); +} +KOALA_INTEROP_V3(DynamicNode_onMove, Ark_NativePointer, uint8_t*, int32_t) + +Ark_NativePointer impl_ChildrenMainSize_ctor(KInteropNumber childDefaultSize) { + return GetAccessors()->getChildrenMainSizeAccessor()->ctor((const Ark_Number*) (&childDefaultSize)); +} +KOALA_INTEROP_1(ChildrenMainSize_ctor, Ark_NativePointer, KInteropNumber) + +Ark_NativePointer impl_ChildrenMainSize_getFinalizer() { + return GetAccessors()->getChildrenMainSizeAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(ChildrenMainSize_getFinalizer, Ark_NativePointer) + +void impl_ChildrenMainSize_splice(Ark_NativePointer thisPtr, KInteropNumber start, uint8_t* thisArray, int32_t thisLength) { + ChildrenMainSizePeer* 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(self, (const Ark_Number*) (&start), (const Opt_Number*)&deleteCount_value, (const Opt_Array_Number*)&childrenSize_value); +} +KOALA_INTEROP_V4(ChildrenMainSize_splice, Ark_NativePointer, KInteropNumber, uint8_t*, int32_t) + +void impl_ChildrenMainSize_update(Ark_NativePointer thisPtr, KInteropNumber index, KInteropNumber childSize) { + ChildrenMainSizePeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getChildrenMainSizeAccessor()->update(self, (const Ark_Number*) (&index), (const Ark_Number*) (&childSize)); +} +KOALA_INTEROP_V3(ChildrenMainSize_update, Ark_NativePointer, KInteropNumber, KInteropNumber) + +Ark_Int32 impl_ChildrenMainSize_getChildDefaultSize(Ark_NativePointer thisPtr) { + ChildrenMainSizePeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getChildrenMainSizeAccessor()->getChildDefaultSize(self); +} +KOALA_INTEROP_1(ChildrenMainSize_getChildDefaultSize, Ark_Int32, Ark_NativePointer) + +void impl_ChildrenMainSize_setChildDefaultSize(Ark_NativePointer thisPtr, KInteropNumber childDefaultSize) { + ChildrenMainSizePeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getChildrenMainSizeAccessor()->setChildDefaultSize(self, (const Ark_Number*) (&childDefaultSize)); +} +KOALA_INTEROP_V2(ChildrenMainSize_setChildDefaultSize, Ark_NativePointer, KInteropNumber) + +Ark_NativePointer impl_UICommonEvent_ctor() { + return GetAccessors()->getUICommonEventAccessor()->ctor(); +} +KOALA_INTEROP_0(UICommonEvent_ctor, Ark_NativePointer) + +Ark_NativePointer impl_UICommonEvent_getFinalizer() { + return GetAccessors()->getUICommonEventAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(UICommonEvent_getFinalizer, Ark_NativePointer) + +void impl_UICommonEvent_setOnClick(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + UICommonEventPeer* 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_V3(UICommonEvent_setOnClick, Ark_NativePointer, uint8_t*, int32_t) + +void impl_UICommonEvent_setOnTouch(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + UICommonEventPeer* 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)) + { + 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_V3(UICommonEvent_setOnTouch, Ark_NativePointer, uint8_t*, int32_t) + +void impl_UICommonEvent_setOnAppear(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + UICommonEventPeer* 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_V3(UICommonEvent_setOnAppear, Ark_NativePointer, uint8_t*, int32_t) + +void impl_UICommonEvent_setOnDisappear(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + UICommonEventPeer* 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_V3(UICommonEvent_setOnDisappear, Ark_NativePointer, uint8_t*, int32_t) + +void impl_UICommonEvent_setOnKeyEvent(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + UICommonEventPeer* 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))))}; + } + Opt_Callback_KeyEvent_Void callback__value = callback__value_buf;; + GetAccessors()->getUICommonEventAccessor()->setOnKeyEvent(self, (const Opt_Callback_KeyEvent_Void*)&callback__value); +} +KOALA_INTEROP_V3(UICommonEvent_setOnKeyEvent, Ark_NativePointer, uint8_t*, int32_t) + +void impl_UICommonEvent_setOnFocus(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + UICommonEventPeer* 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_V3(UICommonEvent_setOnFocus, Ark_NativePointer, uint8_t*, int32_t) + +void impl_UICommonEvent_setOnBlur(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + UICommonEventPeer* 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()->setOnBlur(self, (const Opt_Callback_Void*)&callback__value); +} +KOALA_INTEROP_V3(UICommonEvent_setOnBlur, Ark_NativePointer, uint8_t*, int32_t) + +void impl_UICommonEvent_setOnHover(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + UICommonEventPeer* 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))))}; + } + Opt_HoverCallback callback__value = callback__value_buf;; + GetAccessors()->getUICommonEventAccessor()->setOnHover(self, (const Opt_HoverCallback*)&callback__value); +} +KOALA_INTEROP_V3(UICommonEvent_setOnHover, Ark_NativePointer, uint8_t*, int32_t) + +void impl_UICommonEvent_setOnMouse(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + UICommonEventPeer* 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))))}; + } + Opt_Callback_MouseEvent_Void callback__value = callback__value_buf;; + GetAccessors()->getUICommonEventAccessor()->setOnMouse(self, (const Opt_Callback_MouseEvent_Void*)&callback__value); +} +KOALA_INTEROP_V3(UICommonEvent_setOnMouse, Ark_NativePointer, uint8_t*, int32_t) + +void impl_UICommonEvent_setOnSizeChange(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + UICommonEventPeer* 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); +} +KOALA_INTEROP_V3(UICommonEvent_setOnSizeChange, Ark_NativePointer, uint8_t*, int32_t) + +void impl_UICommonEvent_setOnVisibleAreaApproximateChange(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + UICommonEventPeer* 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_V3(UICommonEvent_setOnVisibleAreaApproximateChange, Ark_NativePointer, uint8_t*, int32_t) + +Ark_NativePointer impl_GestureModifier_ctor() { + return GetAccessors()->getGestureModifierAccessor()->ctor(); +} +KOALA_INTEROP_0(GestureModifier_ctor, Ark_NativePointer) + +Ark_NativePointer impl_GestureModifier_getFinalizer() { + return GetAccessors()->getGestureModifierAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(GestureModifier_getFinalizer, Ark_NativePointer) + +void impl_GestureModifier_applyGesture(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + GestureModifierPeer* 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_V3(GestureModifier_applyGesture, Ark_NativePointer, uint8_t*, int32_t) + +Ark_NativePointer impl_GlobalScope_common_ctor() { + return GetAccessors()->getGlobalScope_commonAccessor()->ctor(); +} +KOALA_INTEROP_0(GlobalScope_common_ctor, Ark_NativePointer) + +Ark_NativePointer impl_GlobalScope_common_getFinalizer() { + return GetAccessors()->getGlobalScope_commonAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(GlobalScope_common_getFinalizer, Ark_NativePointer) + +Ark_NativePointer impl_GlobalScope_common_getContext(uint8_t* thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + const auto component_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_CustomObject component_value_buf = {}; + component_value_buf.tag = component_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (component_value_buf_runtimeType)) + { + component_value_buf.value = static_cast(thisDeserializer.readCustomObject("Object")); + } + Opt_CustomObject component_value = component_value_buf;; + return GetAccessors()->getGlobalScope_commonAccessor()->getContext((const Opt_CustomObject*)&component_value); +} +KOALA_INTEROP_2(GlobalScope_common_getContext, Ark_NativePointer, uint8_t*, int32_t) + +void impl_GlobalScope_common_postCardAction(uint8_t* thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + Ark_CustomObject component_value = static_cast(thisDeserializer.readCustomObject("Object"));; + Ark_CustomObject action_value = static_cast(thisDeserializer.readCustomObject("Object"));; + GetAccessors()->getGlobalScope_commonAccessor()->postCardAction((const Ark_CustomObject*)&component_value, (const Ark_CustomObject*)&action_value); +} +KOALA_INTEROP_V2(GlobalScope_common_postCardAction, uint8_t*, int32_t) + +Ark_NativePointer impl_GlobalScope_common_dollar_r(const KStringPtr& value, uint8_t* thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 params_value_buf_length = thisDeserializer.readInt32(); + Array_CustomObject params_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(¶ms_value_buf, params_value_buf_length); + for (int params_value_buf_i = 0; params_value_buf_i < params_value_buf_length; params_value_buf_i++) { + params_value_buf.array[params_value_buf_i] = static_cast(thisDeserializer.readCustomObject("Any")); + } + Array_CustomObject params_value = params_value_buf;; + return GetAccessors()->getGlobalScope_commonAccessor()->dollar_r((const Ark_String*) (&value), (const Array_CustomObject*)¶ms_value); +} +KOALA_INTEROP_3(GlobalScope_common_dollar_r, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) + +Ark_NativePointer impl_GlobalScope_common_dollar_rawfile(const KStringPtr& value) { + return GetAccessors()->getGlobalScope_commonAccessor()->dollar_rawfile((const Ark_String*) (&value)); +} +KOALA_INTEROP_1(GlobalScope_common_dollar_rawfile, Ark_NativePointer, KStringPtr) + +void impl_GlobalScope_common_animateTo(uint8_t* thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + Ark_AnimateParam value_value = thisDeserializer.readAnimateParam();; + 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))))};; + GetAccessors()->getGlobalScope_commonAccessor()->animateTo((const Ark_AnimateParam*)&value_value, (const Callback_Void*)&event_value); +} +KOALA_INTEROP_V2(GlobalScope_common_animateTo, uint8_t*, int32_t) + +void impl_GlobalScope_common_animateToImmediately(uint8_t* thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + Ark_AnimateParam value_value = thisDeserializer.readAnimateParam();; + 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))))};; + GetAccessors()->getGlobalScope_commonAccessor()->animateToImmediately((const Ark_AnimateParam*)&value_value, (const Callback_Void*)&event_value); +} +KOALA_INTEROP_V2(GlobalScope_common_animateToImmediately, uint8_t*, int32_t) + +Ark_Int32 impl_GlobalScope_common_vp2px(KInteropNumber value) { + return GetAccessors()->getGlobalScope_commonAccessor()->vp2px((const Ark_Number*) (&value)); +} +KOALA_INTEROP_1(GlobalScope_common_vp2px, Ark_Int32, KInteropNumber) + +Ark_Int32 impl_GlobalScope_common_px2vp(KInteropNumber value) { + return GetAccessors()->getGlobalScope_commonAccessor()->px2vp((const Ark_Number*) (&value)); +} +KOALA_INTEROP_1(GlobalScope_common_px2vp, Ark_Int32, KInteropNumber) + +Ark_Int32 impl_GlobalScope_common_fp2px(KInteropNumber value) { + return GetAccessors()->getGlobalScope_commonAccessor()->fp2px((const Ark_Number*) (&value)); +} +KOALA_INTEROP_1(GlobalScope_common_fp2px, Ark_Int32, KInteropNumber) + +Ark_Int32 impl_GlobalScope_common_px2fp(KInteropNumber value) { + return GetAccessors()->getGlobalScope_commonAccessor()->px2fp((const Ark_Number*) (&value)); +} +KOALA_INTEROP_1(GlobalScope_common_px2fp, Ark_Int32, KInteropNumber) + +Ark_Int32 impl_GlobalScope_common_lpx2px(KInteropNumber value) { + return GetAccessors()->getGlobalScope_commonAccessor()->lpx2px((const Ark_Number*) (&value)); +} +KOALA_INTEROP_1(GlobalScope_common_lpx2px, Ark_Int32, KInteropNumber) + +Ark_Int32 impl_GlobalScope_common_px2lpx(KInteropNumber value) { + return GetAccessors()->getGlobalScope_commonAccessor()->px2lpx((const Ark_Number*) (&value)); +} +KOALA_INTEROP_1(GlobalScope_common_px2lpx, Ark_Int32, KInteropNumber) + +Ark_Boolean impl_GlobalScope_common_requestFocus(const KStringPtr& value) { + return GetAccessors()->getGlobalScope_commonAccessor()->requestFocus((const Ark_String*) (&value)); +} +KOALA_INTEROP_1(GlobalScope_common_requestFocus, Ark_Boolean, KStringPtr) + +void impl_GlobalScope_common_setCursor(Ark_Int32 value) { + GetAccessors()->getGlobalScope_commonAccessor()->setCursor(static_cast(value)); +} +KOALA_INTEROP_V1(GlobalScope_common_setCursor, Ark_Int32) + +void impl_GlobalScope_common_restoreDefault() { + GetAccessors()->getGlobalScope_commonAccessor()->restoreDefault(); +} +KOALA_INTEROP_V0(GlobalScope_common_restoreDefault) + +Ark_NativePointer impl_ContextMenu_ctor() { + return GetAccessors()->getContextMenuAccessor()->ctor(); +} +KOALA_INTEROP_0(ContextMenu_ctor, Ark_NativePointer) + +Ark_NativePointer impl_ContextMenu_getFinalizer() { + return GetAccessors()->getContextMenuAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(ContextMenu_getFinalizer, Ark_NativePointer) + +void impl_ContextMenu_close() { + GetAccessors()->getContextMenuAccessor()->close(); +} +KOALA_INTEROP_V0(ContextMenu_close) + +Ark_NativePointer impl_CustomDialogController_ctor(uint8_t* thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + Ark_CustomDialogControllerOptions value_value = thisDeserializer.readCustomDialogControllerOptions();; + return GetAccessors()->getCustomDialogControllerAccessor()->ctor((const Ark_CustomDialogControllerOptions*)&value_value); +} +KOALA_INTEROP_2(CustomDialogController_ctor, Ark_NativePointer, uint8_t*, int32_t) + +Ark_NativePointer impl_CustomDialogController_getFinalizer() { + return GetAccessors()->getCustomDialogControllerAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(CustomDialogController_getFinalizer, Ark_NativePointer) + +void impl_CustomDialogController_open(Ark_NativePointer thisPtr) { + CustomDialogControllerPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getCustomDialogControllerAccessor()->open(self); +} +KOALA_INTEROP_V1(CustomDialogController_open, Ark_NativePointer) + +void impl_CustomDialogController_close(Ark_NativePointer thisPtr) { + CustomDialogControllerPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getCustomDialogControllerAccessor()->close(self); +} +KOALA_INTEROP_V1(CustomDialogController_close, Ark_NativePointer) + +Ark_NativePointer impl_DatePickerDialog_ctor() { + return GetAccessors()->getDatePickerDialogAccessor()->ctor(); +} +KOALA_INTEROP_0(DatePickerDialog_ctor, Ark_NativePointer) + +Ark_NativePointer impl_DatePickerDialog_getFinalizer() { + return GetAccessors()->getDatePickerDialogAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(DatePickerDialog_getFinalizer, Ark_NativePointer) + +void impl_DatePickerDialog_show(uint8_t* thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_DatePickerDialogOptions 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.readDatePickerDialogOptions(); + } + Opt_DatePickerDialogOptions options_value = options_value_buf;; + GetAccessors()->getDatePickerDialogAccessor()->show((const Opt_DatePickerDialogOptions*)&options_value); +} +KOALA_INTEROP_V2(DatePickerDialog_show, uint8_t*, int32_t) + +Ark_NativePointer impl_BaseGestureEvent_ctor() { + return GetAccessors()->getBaseGestureEventAccessor()->ctor(); +} +KOALA_INTEROP_0(BaseGestureEvent_ctor, Ark_NativePointer) + +Ark_NativePointer impl_BaseGestureEvent_getFinalizer() { + return GetAccessors()->getBaseGestureEventAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(BaseGestureEvent_getFinalizer, Ark_NativePointer) + +void impl_BaseGestureEvent_setFingerList(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + BaseGestureEventPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 fingerList_value_buf_length = thisDeserializer.readInt32(); + Array_FingerInfo fingerList_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&fingerList_value_buf, fingerList_value_buf_length); + for (int fingerList_value_buf_i = 0; fingerList_value_buf_i < fingerList_value_buf_length; fingerList_value_buf_i++) { + fingerList_value_buf.array[fingerList_value_buf_i] = thisDeserializer.readFingerInfo(); + } + Array_FingerInfo fingerList_value = fingerList_value_buf;; + GetAccessors()->getBaseGestureEventAccessor()->setFingerList(self, (const Array_FingerInfo*)&fingerList_value); +} +KOALA_INTEROP_V3(BaseGestureEvent_setFingerList, Ark_NativePointer, uint8_t*, int32_t) + +Ark_NativePointer impl_TapGestureEvent_ctor() { + return GetAccessors()->getTapGestureEventAccessor()->ctor(); +} +KOALA_INTEROP_0(TapGestureEvent_ctor, Ark_NativePointer) + +Ark_NativePointer impl_TapGestureEvent_getFinalizer() { + return GetAccessors()->getTapGestureEventAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(TapGestureEvent_getFinalizer, Ark_NativePointer) + +Ark_NativePointer impl_LongPressGestureEvent_ctor() { + return GetAccessors()->getLongPressGestureEventAccessor()->ctor(); +} +KOALA_INTEROP_0(LongPressGestureEvent_ctor, Ark_NativePointer) + +Ark_NativePointer impl_LongPressGestureEvent_getFinalizer() { + return GetAccessors()->getLongPressGestureEventAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(LongPressGestureEvent_getFinalizer, Ark_NativePointer) + +Ark_Boolean impl_LongPressGestureEvent_getRepeat(Ark_NativePointer thisPtr) { + LongPressGestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getLongPressGestureEventAccessor()->getRepeat(self); +} +KOALA_INTEROP_1(LongPressGestureEvent_getRepeat, Ark_Boolean, Ark_NativePointer) + +void impl_LongPressGestureEvent_setRepeat(Ark_NativePointer thisPtr, Ark_Boolean repeat) { + LongPressGestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getLongPressGestureEventAccessor()->setRepeat(self, repeat); +} +KOALA_INTEROP_V2(LongPressGestureEvent_setRepeat, Ark_NativePointer, Ark_Boolean) + +Ark_NativePointer impl_PanGestureEvent_ctor() { + return GetAccessors()->getPanGestureEventAccessor()->ctor(); +} +KOALA_INTEROP_0(PanGestureEvent_ctor, Ark_NativePointer) + +Ark_NativePointer impl_PanGestureEvent_getFinalizer() { + return GetAccessors()->getPanGestureEventAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(PanGestureEvent_getFinalizer, Ark_NativePointer) + +Ark_Int32 impl_PanGestureEvent_getOffsetX(Ark_NativePointer thisPtr) { + PanGestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getPanGestureEventAccessor()->getOffsetX(self); +} +KOALA_INTEROP_1(PanGestureEvent_getOffsetX, Ark_Int32, Ark_NativePointer) + +void impl_PanGestureEvent_setOffsetX(Ark_NativePointer thisPtr, KInteropNumber offsetX) { + PanGestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getPanGestureEventAccessor()->setOffsetX(self, (const Ark_Number*) (&offsetX)); +} +KOALA_INTEROP_V2(PanGestureEvent_setOffsetX, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_PanGestureEvent_getOffsetY(Ark_NativePointer thisPtr) { + PanGestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getPanGestureEventAccessor()->getOffsetY(self); +} +KOALA_INTEROP_1(PanGestureEvent_getOffsetY, Ark_Int32, Ark_NativePointer) + +void impl_PanGestureEvent_setOffsetY(Ark_NativePointer thisPtr, KInteropNumber offsetY) { + PanGestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getPanGestureEventAccessor()->setOffsetY(self, (const Ark_Number*) (&offsetY)); +} +KOALA_INTEROP_V2(PanGestureEvent_setOffsetY, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_PanGestureEvent_getVelocityX(Ark_NativePointer thisPtr) { + PanGestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getPanGestureEventAccessor()->getVelocityX(self); +} +KOALA_INTEROP_1(PanGestureEvent_getVelocityX, Ark_Int32, Ark_NativePointer) + +void impl_PanGestureEvent_setVelocityX(Ark_NativePointer thisPtr, KInteropNumber velocityX) { + PanGestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getPanGestureEventAccessor()->setVelocityX(self, (const Ark_Number*) (&velocityX)); +} +KOALA_INTEROP_V2(PanGestureEvent_setVelocityX, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_PanGestureEvent_getVelocityY(Ark_NativePointer thisPtr) { + PanGestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getPanGestureEventAccessor()->getVelocityY(self); +} +KOALA_INTEROP_1(PanGestureEvent_getVelocityY, Ark_Int32, Ark_NativePointer) + +void impl_PanGestureEvent_setVelocityY(Ark_NativePointer thisPtr, KInteropNumber velocityY) { + PanGestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getPanGestureEventAccessor()->setVelocityY(self, (const Ark_Number*) (&velocityY)); +} +KOALA_INTEROP_V2(PanGestureEvent_setVelocityY, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_PanGestureEvent_getVelocity(Ark_NativePointer thisPtr) { + PanGestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getPanGestureEventAccessor()->getVelocity(self); +} +KOALA_INTEROP_1(PanGestureEvent_getVelocity, Ark_Int32, Ark_NativePointer) + +void impl_PanGestureEvent_setVelocity(Ark_NativePointer thisPtr, KInteropNumber velocity) { + PanGestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getPanGestureEventAccessor()->setVelocity(self, (const Ark_Number*) (&velocity)); +} +KOALA_INTEROP_V2(PanGestureEvent_setVelocity, Ark_NativePointer, KInteropNumber) + +Ark_NativePointer impl_PinchGestureEvent_ctor() { + return GetAccessors()->getPinchGestureEventAccessor()->ctor(); +} +KOALA_INTEROP_0(PinchGestureEvent_ctor, Ark_NativePointer) + +Ark_NativePointer impl_PinchGestureEvent_getFinalizer() { + return GetAccessors()->getPinchGestureEventAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(PinchGestureEvent_getFinalizer, Ark_NativePointer) + +Ark_Int32 impl_PinchGestureEvent_getScale(Ark_NativePointer thisPtr) { + PinchGestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getPinchGestureEventAccessor()->getScale(self); +} +KOALA_INTEROP_1(PinchGestureEvent_getScale, Ark_Int32, Ark_NativePointer) + +void impl_PinchGestureEvent_setScale(Ark_NativePointer thisPtr, KInteropNumber scale) { + PinchGestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getPinchGestureEventAccessor()->setScale(self, (const Ark_Number*) (&scale)); +} +KOALA_INTEROP_V2(PinchGestureEvent_setScale, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_PinchGestureEvent_getPinchCenterX(Ark_NativePointer thisPtr) { + PinchGestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getPinchGestureEventAccessor()->getPinchCenterX(self); +} +KOALA_INTEROP_1(PinchGestureEvent_getPinchCenterX, Ark_Int32, Ark_NativePointer) + +void impl_PinchGestureEvent_setPinchCenterX(Ark_NativePointer thisPtr, KInteropNumber pinchCenterX) { + PinchGestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getPinchGestureEventAccessor()->setPinchCenterX(self, (const Ark_Number*) (&pinchCenterX)); +} +KOALA_INTEROP_V2(PinchGestureEvent_setPinchCenterX, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_PinchGestureEvent_getPinchCenterY(Ark_NativePointer thisPtr) { + PinchGestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getPinchGestureEventAccessor()->getPinchCenterY(self); +} +KOALA_INTEROP_1(PinchGestureEvent_getPinchCenterY, Ark_Int32, Ark_NativePointer) + +void impl_PinchGestureEvent_setPinchCenterY(Ark_NativePointer thisPtr, KInteropNumber pinchCenterY) { + PinchGestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getPinchGestureEventAccessor()->setPinchCenterY(self, (const Ark_Number*) (&pinchCenterY)); +} +KOALA_INTEROP_V2(PinchGestureEvent_setPinchCenterY, Ark_NativePointer, KInteropNumber) + +Ark_NativePointer impl_RotationGestureEvent_ctor() { + return GetAccessors()->getRotationGestureEventAccessor()->ctor(); +} +KOALA_INTEROP_0(RotationGestureEvent_ctor, Ark_NativePointer) + +Ark_NativePointer impl_RotationGestureEvent_getFinalizer() { + return GetAccessors()->getRotationGestureEventAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(RotationGestureEvent_getFinalizer, Ark_NativePointer) + +Ark_Int32 impl_RotationGestureEvent_getAngle(Ark_NativePointer thisPtr) { + RotationGestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getRotationGestureEventAccessor()->getAngle(self); +} +KOALA_INTEROP_1(RotationGestureEvent_getAngle, Ark_Int32, Ark_NativePointer) + +void impl_RotationGestureEvent_setAngle(Ark_NativePointer thisPtr, KInteropNumber angle) { + RotationGestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getRotationGestureEventAccessor()->setAngle(self, (const Ark_Number*) (&angle)); +} +KOALA_INTEROP_V2(RotationGestureEvent_setAngle, Ark_NativePointer, KInteropNumber) + +Ark_NativePointer impl_SwipeGestureEvent_ctor() { + return GetAccessors()->getSwipeGestureEventAccessor()->ctor(); +} +KOALA_INTEROP_0(SwipeGestureEvent_ctor, Ark_NativePointer) + +Ark_NativePointer impl_SwipeGestureEvent_getFinalizer() { + return GetAccessors()->getSwipeGestureEventAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(SwipeGestureEvent_getFinalizer, Ark_NativePointer) + +Ark_Int32 impl_SwipeGestureEvent_getAngle(Ark_NativePointer thisPtr) { + SwipeGestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getSwipeGestureEventAccessor()->getAngle(self); +} +KOALA_INTEROP_1(SwipeGestureEvent_getAngle, Ark_Int32, Ark_NativePointer) + +void impl_SwipeGestureEvent_setAngle(Ark_NativePointer thisPtr, KInteropNumber angle) { + SwipeGestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getSwipeGestureEventAccessor()->setAngle(self, (const Ark_Number*) (&angle)); +} +KOALA_INTEROP_V2(SwipeGestureEvent_setAngle, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_SwipeGestureEvent_getSpeed(Ark_NativePointer thisPtr) { + SwipeGestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getSwipeGestureEventAccessor()->getSpeed(self); +} +KOALA_INTEROP_1(SwipeGestureEvent_getSpeed, Ark_Int32, Ark_NativePointer) + +void impl_SwipeGestureEvent_setSpeed(Ark_NativePointer thisPtr, KInteropNumber speed) { + SwipeGestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getSwipeGestureEventAccessor()->setSpeed(self, (const Ark_Number*) (&speed)); +} +KOALA_INTEROP_V2(SwipeGestureEvent_setSpeed, Ark_NativePointer, KInteropNumber) + +Ark_NativePointer impl_GestureEvent_ctor() { + return GetAccessors()->getGestureEventAccessor()->ctor(); +} +KOALA_INTEROP_0(GestureEvent_ctor, Ark_NativePointer) + +Ark_NativePointer impl_GestureEvent_getFinalizer() { + return GetAccessors()->getGestureEventAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(GestureEvent_getFinalizer, Ark_NativePointer) + +Ark_Boolean impl_GestureEvent_getRepeat(Ark_NativePointer thisPtr) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getRepeat(self); +} +KOALA_INTEROP_1(GestureEvent_getRepeat, Ark_Boolean, Ark_NativePointer) + +void impl_GestureEvent_setRepeat(Ark_NativePointer thisPtr, Ark_Boolean repeat) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setRepeat(self, repeat); +} +KOALA_INTEROP_V2(GestureEvent_setRepeat, Ark_NativePointer, Ark_Boolean) + +void impl_GestureEvent_setFingerList(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 fingerList_value_buf_length = thisDeserializer.readInt32(); + Array_FingerInfo fingerList_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&fingerList_value_buf, fingerList_value_buf_length); + for (int fingerList_value_buf_i = 0; fingerList_value_buf_i < fingerList_value_buf_length; fingerList_value_buf_i++) { + fingerList_value_buf.array[fingerList_value_buf_i] = thisDeserializer.readFingerInfo(); + } + Array_FingerInfo fingerList_value = fingerList_value_buf;; + GetAccessors()->getGestureEventAccessor()->setFingerList(self, (const Array_FingerInfo*)&fingerList_value); +} +KOALA_INTEROP_V3(GestureEvent_setFingerList, Ark_NativePointer, uint8_t*, int32_t) + +Ark_Int32 impl_GestureEvent_getOffsetX(Ark_NativePointer thisPtr) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getOffsetX(self); +} +KOALA_INTEROP_1(GestureEvent_getOffsetX, Ark_Int32, Ark_NativePointer) + +void impl_GestureEvent_setOffsetX(Ark_NativePointer thisPtr, KInteropNumber offsetX) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setOffsetX(self, (const Ark_Number*) (&offsetX)); +} +KOALA_INTEROP_V2(GestureEvent_setOffsetX, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_GestureEvent_getOffsetY(Ark_NativePointer thisPtr) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getOffsetY(self); +} +KOALA_INTEROP_1(GestureEvent_getOffsetY, Ark_Int32, Ark_NativePointer) + +void impl_GestureEvent_setOffsetY(Ark_NativePointer thisPtr, KInteropNumber offsetY) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setOffsetY(self, (const Ark_Number*) (&offsetY)); +} +KOALA_INTEROP_V2(GestureEvent_setOffsetY, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_GestureEvent_getAngle(Ark_NativePointer thisPtr) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getAngle(self); +} +KOALA_INTEROP_1(GestureEvent_getAngle, Ark_Int32, Ark_NativePointer) + +void impl_GestureEvent_setAngle(Ark_NativePointer thisPtr, KInteropNumber angle) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setAngle(self, (const Ark_Number*) (&angle)); +} +KOALA_INTEROP_V2(GestureEvent_setAngle, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_GestureEvent_getSpeed(Ark_NativePointer thisPtr) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getSpeed(self); +} +KOALA_INTEROP_1(GestureEvent_getSpeed, Ark_Int32, Ark_NativePointer) + +void impl_GestureEvent_setSpeed(Ark_NativePointer thisPtr, KInteropNumber speed) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setSpeed(self, (const Ark_Number*) (&speed)); +} +KOALA_INTEROP_V2(GestureEvent_setSpeed, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_GestureEvent_getScale(Ark_NativePointer thisPtr) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getScale(self); +} +KOALA_INTEROP_1(GestureEvent_getScale, Ark_Int32, Ark_NativePointer) + +void impl_GestureEvent_setScale(Ark_NativePointer thisPtr, KInteropNumber scale) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setScale(self, (const Ark_Number*) (&scale)); +} +KOALA_INTEROP_V2(GestureEvent_setScale, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_GestureEvent_getPinchCenterX(Ark_NativePointer thisPtr) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getPinchCenterX(self); +} +KOALA_INTEROP_1(GestureEvent_getPinchCenterX, Ark_Int32, Ark_NativePointer) + +void impl_GestureEvent_setPinchCenterX(Ark_NativePointer thisPtr, KInteropNumber pinchCenterX) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setPinchCenterX(self, (const Ark_Number*) (&pinchCenterX)); +} +KOALA_INTEROP_V2(GestureEvent_setPinchCenterX, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_GestureEvent_getPinchCenterY(Ark_NativePointer thisPtr) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getPinchCenterY(self); +} +KOALA_INTEROP_1(GestureEvent_getPinchCenterY, Ark_Int32, Ark_NativePointer) + +void impl_GestureEvent_setPinchCenterY(Ark_NativePointer thisPtr, KInteropNumber pinchCenterY) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setPinchCenterY(self, (const Ark_Number*) (&pinchCenterY)); +} +KOALA_INTEROP_V2(GestureEvent_setPinchCenterY, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_GestureEvent_getVelocityX(Ark_NativePointer thisPtr) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getVelocityX(self); +} +KOALA_INTEROP_1(GestureEvent_getVelocityX, Ark_Int32, Ark_NativePointer) + +void impl_GestureEvent_setVelocityX(Ark_NativePointer thisPtr, KInteropNumber velocityX) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setVelocityX(self, (const Ark_Number*) (&velocityX)); +} +KOALA_INTEROP_V2(GestureEvent_setVelocityX, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_GestureEvent_getVelocityY(Ark_NativePointer thisPtr) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getVelocityY(self); +} +KOALA_INTEROP_1(GestureEvent_getVelocityY, Ark_Int32, Ark_NativePointer) + +void impl_GestureEvent_setVelocityY(Ark_NativePointer thisPtr, KInteropNumber velocityY) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setVelocityY(self, (const Ark_Number*) (&velocityY)); +} +KOALA_INTEROP_V2(GestureEvent_setVelocityY, Ark_NativePointer, KInteropNumber) + +Ark_Int32 impl_GestureEvent_getVelocity(Ark_NativePointer thisPtr) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getGestureEventAccessor()->getVelocity(self); +} +KOALA_INTEROP_1(GestureEvent_getVelocity, Ark_Int32, Ark_NativePointer) + +void impl_GestureEvent_setVelocity(Ark_NativePointer thisPtr, KInteropNumber velocity) { + GestureEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureEventAccessor()->setVelocity(self, (const Ark_Number*) (&velocity)); +} +KOALA_INTEROP_V2(GestureEvent_setVelocity, Ark_NativePointer, KInteropNumber) + +Ark_NativePointer impl_PanGestureOptions_ctor(uint8_t* thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Literal_Number_distance_fingers_PanDirection_direction 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_distance_fingers_PanDirection_direction value_value_buf_ = {}; + const auto value_value_buf__fingers_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Number value_value_buf__fingers_buf = {}; + value_value_buf__fingers_buf.tag = value_value_buf__fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__fingers_buf_runtimeType)) { value_value_buf__fingers_buf.value = static_cast(thisDeserializer.readNumber()); } value_value_buf_.fingers = value_value_buf__fingers_buf; const auto value_value_buf__direction_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_PanDirection value_value_buf__direction_buf = {}; - value_value_buf__direction_buf.tag = value_value_buf__direction_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf__direction_buf_runtimeType)) + 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)) { value_value_buf__direction_buf.value = static_cast(thisDeserializer.readInt32()); } value_value_buf_.direction = value_value_buf__direction_buf; const auto value_value_buf__distance_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Number value_value_buf__distance_buf = {}; - value_value_buf__distance_buf.tag = value_value_buf__distance_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf__distance_buf_runtimeType)) + value_value_buf__distance_buf.tag = value_value_buf__distance_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (value_value_buf__distance_buf_runtimeType)) { value_value_buf__distance_buf.value = static_cast(thisDeserializer.readNumber()); } @@ -20278,13 +21829,13 @@ KOALA_INTEROP_V2(PanGestureOptions_setDirection, Ark_NativePointer, Ark_Int32) void impl_PanGestureOptions_setDistance(Ark_NativePointer thisPtr, KInteropNumber value) { PanGestureOptionsPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getPanGestureOptionsAccessor()->setDistance(self, (const Ark_Number*)&value); + GetAccessors()->getPanGestureOptionsAccessor()->setDistance(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(PanGestureOptions_setDistance, Ark_NativePointer, KInteropNumber) void impl_PanGestureOptions_setFingers(Ark_NativePointer thisPtr, KInteropNumber value) { PanGestureOptionsPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getPanGestureOptionsAccessor()->setFingers(self, (const Ark_Number*)&value); + GetAccessors()->getPanGestureOptionsAccessor()->setFingers(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(PanGestureOptions_setFingers, Ark_NativePointer, KInteropNumber) @@ -20434,7 +21985,7 @@ KOALA_INTEROP_0(ListScroller_getFinalizer, Ark_NativePointer) Ark_NativePointer impl_ListScroller_getItemRectInGroup(Ark_NativePointer thisPtr, KInteropNumber index, KInteropNumber indexInGroup) { ListScrollerPeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getListScrollerAccessor()->getItemRectInGroup(self, (const Ark_Number*)&index, (const Ark_Number*)&indexInGroup); + return GetAccessors()->getListScrollerAccessor()->getItemRectInGroup(self, (const Ark_Number*) (&index), (const Ark_Number*) (&indexInGroup)); } KOALA_INTEROP_3(ListScroller_getItemRectInGroup, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KInteropNumber) @@ -20443,21 +21994,21 @@ void impl_ListScroller_scrollToItemInGroup(Ark_NativePointer thisPtr, KInteropNu Deserializer thisDeserializer(thisArray, thisLength); const auto smooth_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean smooth_value_buf = {}; - smooth_value_buf.tag = smooth_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (smooth_value_buf_runtimeType)) + smooth_value_buf.tag = smooth_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (smooth_value_buf_runtimeType)) { smooth_value_buf.value = thisDeserializer.readBoolean(); } Opt_Boolean smooth_value = smooth_value_buf;; const auto align_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_ScrollAlign align_value_buf = {}; - align_value_buf.tag = align_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (align_value_buf_runtimeType)) + align_value_buf.tag = align_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (align_value_buf_runtimeType)) { align_value_buf.value = static_cast(thisDeserializer.readInt32()); } Opt_ScrollAlign align_value = align_value_buf;; - GetAccessors()->getListScrollerAccessor()->scrollToItemInGroup(self, (const Ark_Number*)&index, (const Ark_Number*)&indexInGroup, (const Opt_Boolean*)&smooth_value, (const Opt_ScrollAlign*)&align_value); + GetAccessors()->getListScrollerAccessor()->scrollToItemInGroup(self, (const Ark_Number*) (&index), (const Ark_Number*) (&indexInGroup), (const Opt_Boolean*)&smooth_value, (const Opt_ScrollAlign*)&align_value); } KOALA_INTEROP_V5(ListScroller_scrollToItemInGroup, Ark_NativePointer, KInteropNumber, KInteropNumber, uint8_t*, int32_t) @@ -20466,8 +22017,8 @@ void impl_ListScroller_closeAllSwipeActions(Ark_NativePointer thisPtr, uint8_t* Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_CloseSwipeActionOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readCloseSwipeActionOptions(); } @@ -20478,7 +22029,7 @@ KOALA_INTEROP_V3(ListScroller_closeAllSwipeActions, Ark_NativePointer, uint8_t*, Ark_NativePointer impl_ListScroller_getVisibleListContentInfo(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y) { ListScrollerPeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getListScrollerAccessor()->getVisibleListContentInfo(self, (const Ark_Number*)&x, (const Ark_Number*)&y); + return GetAccessors()->getListScrollerAccessor()->getVisibleListContentInfo(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y)); } KOALA_INTEROP_3(ListScroller_getVisibleListContentInfo, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KInteropNumber) @@ -20509,8 +22060,8 @@ Ark_NativePointer impl_Matrix2D_multiply(Ark_NativePointer thisPtr, uint8_t* thi Deserializer thisDeserializer(thisArray, thisLength); const auto other_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Matrix2D other_value_buf = {}; - other_value_buf.tag = other_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (other_value_buf_runtimeType)) + other_value_buf.tag = other_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (other_value_buf_runtimeType)) { other_value_buf.value = static_cast(thisDeserializer.readMatrix2D()); } @@ -20524,16 +22075,16 @@ Ark_NativePointer impl_Matrix2D_rotate0(Ark_NativePointer thisPtr, uint8_t* this Deserializer thisDeserializer(thisArray, thisLength); const auto rx_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Number rx_value_buf = {}; - rx_value_buf.tag = rx_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (rx_value_buf_runtimeType)) + rx_value_buf.tag = rx_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (rx_value_buf_runtimeType)) { rx_value_buf.value = static_cast(thisDeserializer.readNumber()); } Opt_Number rx_value = rx_value_buf;; const auto ry_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Number ry_value_buf = {}; - ry_value_buf.tag = ry_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (ry_value_buf_runtimeType)) + ry_value_buf.tag = ry_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (ry_value_buf_runtimeType)) { ry_value_buf.value = static_cast(thisDeserializer.readNumber()); } @@ -20547,21 +22098,21 @@ Ark_NativePointer impl_Matrix2D_rotate1(Ark_NativePointer thisPtr, KInteropNumbe Deserializer thisDeserializer(thisArray, thisLength); const auto rx_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Number rx_value_buf = {}; - rx_value_buf.tag = rx_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (rx_value_buf_runtimeType)) + rx_value_buf.tag = rx_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (rx_value_buf_runtimeType)) { rx_value_buf.value = static_cast(thisDeserializer.readNumber()); } Opt_Number rx_value = rx_value_buf;; const auto ry_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Number ry_value_buf = {}; - ry_value_buf.tag = ry_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (ry_value_buf_runtimeType)) + ry_value_buf.tag = ry_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (ry_value_buf_runtimeType)) { ry_value_buf.value = static_cast(thisDeserializer.readNumber()); } Opt_Number ry_value = ry_value_buf;; - return GetAccessors()->getMatrix2DAccessor()->rotate1(self, (const Ark_Number*)°ree, (const Opt_Number*)&rx_value, (const Opt_Number*)&ry_value); + return GetAccessors()->getMatrix2DAccessor()->rotate1(self, (const Ark_Number*) (°ree), (const Opt_Number*)&rx_value, (const Opt_Number*)&ry_value); } KOALA_INTEROP_4(Matrix2D_rotate1, Ark_NativePointer, Ark_NativePointer, KInteropNumber, uint8_t*, int32_t) @@ -20570,16 +22121,16 @@ Ark_NativePointer impl_Matrix2D_translate(Ark_NativePointer thisPtr, uint8_t* th Deserializer thisDeserializer(thisArray, thisLength); const auto tx_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Number tx_value_buf = {}; - tx_value_buf.tag = tx_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (tx_value_buf_runtimeType)) + tx_value_buf.tag = tx_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (tx_value_buf_runtimeType)) { tx_value_buf.value = static_cast(thisDeserializer.readNumber()); } Opt_Number tx_value = tx_value_buf;; const auto ty_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Number ty_value_buf = {}; - ty_value_buf.tag = ty_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (ty_value_buf_runtimeType)) + ty_value_buf.tag = ty_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (ty_value_buf_runtimeType)) { ty_value_buf.value = static_cast(thisDeserializer.readNumber()); } @@ -20593,16 +22144,16 @@ Ark_NativePointer impl_Matrix2D_scale(Ark_NativePointer thisPtr, uint8_t* thisAr Deserializer thisDeserializer(thisArray, thisLength); const auto sx_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Number sx_value_buf = {}; - sx_value_buf.tag = sx_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (sx_value_buf_runtimeType)) + sx_value_buf.tag = sx_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (sx_value_buf_runtimeType)) { sx_value_buf.value = static_cast(thisDeserializer.readNumber()); } Opt_Number sx_value = sx_value_buf;; const auto sy_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Number sy_value_buf = {}; - sy_value_buf.tag = sy_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (sy_value_buf_runtimeType)) + sy_value_buf.tag = sy_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (sy_value_buf_runtimeType)) { sy_value_buf.value = static_cast(thisDeserializer.readNumber()); } @@ -20619,7 +22170,7 @@ KOALA_INTEROP_1(Matrix2D_getScaleX, Ark_Int32, Ark_NativePointer) void impl_Matrix2D_setScaleX(Ark_NativePointer thisPtr, KInteropNumber scaleX) { Matrix2DPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getMatrix2DAccessor()->setScaleX(self, (const Ark_Number*)&scaleX); + GetAccessors()->getMatrix2DAccessor()->setScaleX(self, (const Ark_Number*) (&scaleX)); } KOALA_INTEROP_V2(Matrix2D_setScaleX, Ark_NativePointer, KInteropNumber) @@ -20631,7 +22182,7 @@ KOALA_INTEROP_1(Matrix2D_getRotateY, Ark_Int32, Ark_NativePointer) void impl_Matrix2D_setRotateY(Ark_NativePointer thisPtr, KInteropNumber rotateY) { Matrix2DPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getMatrix2DAccessor()->setRotateY(self, (const Ark_Number*)&rotateY); + GetAccessors()->getMatrix2DAccessor()->setRotateY(self, (const Ark_Number*) (&rotateY)); } KOALA_INTEROP_V2(Matrix2D_setRotateY, Ark_NativePointer, KInteropNumber) @@ -20643,7 +22194,7 @@ KOALA_INTEROP_1(Matrix2D_getRotateX, Ark_Int32, Ark_NativePointer) void impl_Matrix2D_setRotateX(Ark_NativePointer thisPtr, KInteropNumber rotateX) { Matrix2DPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getMatrix2DAccessor()->setRotateX(self, (const Ark_Number*)&rotateX); + GetAccessors()->getMatrix2DAccessor()->setRotateX(self, (const Ark_Number*) (&rotateX)); } KOALA_INTEROP_V2(Matrix2D_setRotateX, Ark_NativePointer, KInteropNumber) @@ -20655,7 +22206,7 @@ KOALA_INTEROP_1(Matrix2D_getScaleY, Ark_Int32, Ark_NativePointer) void impl_Matrix2D_setScaleY(Ark_NativePointer thisPtr, KInteropNumber scaleY) { Matrix2DPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getMatrix2DAccessor()->setScaleY(self, (const Ark_Number*)&scaleY); + GetAccessors()->getMatrix2DAccessor()->setScaleY(self, (const Ark_Number*) (&scaleY)); } KOALA_INTEROP_V2(Matrix2D_setScaleY, Ark_NativePointer, KInteropNumber) @@ -20667,7 +22218,7 @@ KOALA_INTEROP_1(Matrix2D_getTranslateX, Ark_Int32, Ark_NativePointer) void impl_Matrix2D_setTranslateX(Ark_NativePointer thisPtr, KInteropNumber translateX) { Matrix2DPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getMatrix2DAccessor()->setTranslateX(self, (const Ark_Number*)&translateX); + GetAccessors()->getMatrix2DAccessor()->setTranslateX(self, (const Ark_Number*) (&translateX)); } KOALA_INTEROP_V2(Matrix2D_setTranslateX, Ark_NativePointer, KInteropNumber) @@ -20679,7 +22230,7 @@ KOALA_INTEROP_1(Matrix2D_getTranslateY, Ark_Int32, Ark_NativePointer) void impl_Matrix2D_setTranslateY(Ark_NativePointer thisPtr, KInteropNumber translateY) { Matrix2DPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getMatrix2DAccessor()->setTranslateY(self, (const Ark_Number*)&translateY); + GetAccessors()->getMatrix2DAccessor()->setTranslateY(self, (const Ark_Number*) (&translateY)); } KOALA_INTEROP_V2(Matrix2D_setTranslateY, Ark_NativePointer, KInteropNumber) @@ -20723,7 +22274,7 @@ KOALA_INTEROP_V1(NavDestinationContext_getNavDestinationId, Ark_NativePointer) void impl_NavDestinationContext_setNavDestinationId(Ark_NativePointer thisPtr, const KStringPtr& navDestinationId) { NavDestinationContextPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getNavDestinationContextAccessor()->setNavDestinationId(self, (const Ark_String*)&navDestinationId); + GetAccessors()->getNavDestinationContextAccessor()->setNavDestinationId(self, (const Ark_String*) (&navDestinationId)); } KOALA_INTEROP_V2(NavDestinationContext_setNavDestinationId, Ark_NativePointer, KStringPtr) @@ -20743,8 +22294,8 @@ void impl_NavPathStack_pushPath0(Ark_NativePointer thisPtr, uint8_t* thisArray, Ark_NavPathInfo info_value = thisDeserializer.readNavPathInfo();; const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + 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(); } @@ -20759,8 +22310,8 @@ void impl_NavPathStack_pushPath1(Ark_NativePointer thisPtr, uint8_t* thisArray, Ark_NavPathInfo info_value = thisDeserializer.readNavPathInfo();; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_NavigationOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -20775,8 +22326,8 @@ void impl_NavPathStack_pushDestination0(Ark_NativePointer thisPtr, uint8_t* this Ark_NavPathInfo info_value = thisDeserializer.readNavPathInfo();; const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + 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(); } @@ -20792,8 +22343,8 @@ void impl_NavPathStack_pushDestination1(Ark_NativePointer thisPtr, uint8_t* this Ark_NavPathInfo info_value = thisDeserializer.readNavPathInfo();; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_NavigationOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -20809,13 +22360,13 @@ void impl_NavPathStack_pushPathByName0(Ark_NativePointer thisPtr, const KStringP Ark_CustomObject param_value = static_cast(thisDeserializer.readCustomObject("Any"));; const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + 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_CustomObject*)¶m_value, (const Opt_Boolean*)&animated_value); + GetAccessors()->getNavPathStackAccessor()->pushPathByName0(self, (const Ark_String*) (&name), (const Ark_CustomObject*)¶m_value, (const Opt_Boolean*)&animated_value); } KOALA_INTEROP_V4(NavPathStack_pushPathByName0, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) @@ -20826,13 +22377,13 @@ void impl_NavPathStack_pushPathByName1(Ark_NativePointer thisPtr, const KStringP 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + 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_CustomObject*)¶m_value, (const Callback_PopInfo_Void*)&onPop_value, (const Opt_Boolean*)&animated_value); + GetAccessors()->getNavPathStackAccessor()->pushPathByName1(self, (const Ark_String*) (&name), (const Ark_CustomObject*)¶m_value, (const Callback_PopInfo_Void*)&onPop_value, (const Opt_Boolean*)&animated_value); } KOALA_INTEROP_V4(NavPathStack_pushPathByName1, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) @@ -20842,14 +22393,14 @@ void impl_NavPathStack_pushDestinationByName0(Ark_NativePointer thisPtr, const K Ark_CustomObject param_value = static_cast(thisDeserializer.readCustomObject("Object"));; const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + 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(self, (const Ark_String*)&name, (const Ark_CustomObject*)¶m_value, (const Opt_Boolean*)&animated_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value); + GetAccessors()->getNavPathStackAccessor()->pushDestinationByName0(self, (const Ark_String*) (&name), (const Ark_CustomObject*)¶m_value, (const Opt_Boolean*)&animated_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value); } KOALA_INTEROP_V4(NavPathStack_pushDestinationByName0, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) @@ -20860,14 +22411,14 @@ void impl_NavPathStack_pushDestinationByName1(Ark_NativePointer thisPtr, const K 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + 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(self, (const Ark_String*)&name, (const Ark_CustomObject*)¶m_value, (const Callback_PopInfo_Void*)&onPop_value, (const Opt_Boolean*)&animated_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value); + GetAccessors()->getNavPathStackAccessor()->pushDestinationByName1(self, (const Ark_String*) (&name), (const Ark_CustomObject*)¶m_value, (const Callback_PopInfo_Void*)&onPop_value, (const Opt_Boolean*)&animated_value, (const Callback_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value); } KOALA_INTEROP_V4(NavPathStack_pushDestinationByName1, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) @@ -20877,8 +22428,8 @@ void impl_NavPathStack_replacePath0(Ark_NativePointer thisPtr, uint8_t* thisArra Ark_NavPathInfo info_value = thisDeserializer.readNavPathInfo();; const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + 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(); } @@ -20893,8 +22444,8 @@ void impl_NavPathStack_replacePath1(Ark_NativePointer thisPtr, uint8_t* thisArra Ark_NavPathInfo info_value = thisDeserializer.readNavPathInfo();; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_NavigationOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -20909,8 +22460,8 @@ void impl_NavPathStack_replaceDestination(Ark_NativePointer thisPtr, uint8_t* th Ark_NavPathInfo info_value = thisDeserializer.readNavPathInfo();; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_NavigationOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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(); } @@ -20926,13 +22477,13 @@ void impl_NavPathStack_replacePathByName(Ark_NativePointer thisPtr, const KStrin Ark_CustomObject param_value = static_cast(thisDeserializer.readCustomObject("Object"));; const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + 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_CustomObject*)¶m_value, (const Opt_Boolean*)&animated_value); + GetAccessors()->getNavPathStackAccessor()->replacePathByName(self, (const Ark_String*) (&name), (const Ark_CustomObject*)¶m_value, (const Opt_Boolean*)&animated_value); } KOALA_INTEROP_V4(NavPathStack_replacePathByName, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) @@ -20953,13 +22504,13 @@ KOALA_INTEROP_3(NavPathStack_removeByIndexes, Ark_Int32, Ark_NativePointer, uint Ark_Int32 impl_NavPathStack_removeByName(Ark_NativePointer thisPtr, const KStringPtr& name) { NavPathStackPeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getNavPathStackAccessor()->removeByName(self, (const Ark_String*)&name); + return GetAccessors()->getNavPathStackAccessor()->removeByName(self, (const Ark_String*) (&name)); } KOALA_INTEROP_2(NavPathStack_removeByName, Ark_Int32, Ark_NativePointer, KStringPtr) Ark_Boolean impl_NavPathStack_removeByNavDestinationId(Ark_NativePointer thisPtr, const KStringPtr& navDestinationId) { NavPathStackPeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getNavPathStackAccessor()->removeByNavDestinationId(self, (const Ark_String*)&navDestinationId); + return GetAccessors()->getNavPathStackAccessor()->removeByNavDestinationId(self, (const Ark_String*) (&navDestinationId)); } KOALA_INTEROP_2(NavPathStack_removeByNavDestinationId, Ark_Boolean, Ark_NativePointer, KStringPtr) @@ -20968,8 +22519,8 @@ Ark_NativePointer impl_NavPathStack_pop0(Ark_NativePointer thisPtr, uint8_t* thi 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + 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(); } @@ -20984,8 +22535,8 @@ Ark_NativePointer impl_NavPathStack_pop1(Ark_NativePointer thisPtr, uint8_t* thi Ark_CustomObject result_value = static_cast(thisDeserializer.readCustomObject("Object"));; const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + 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(); } @@ -20999,13 +22550,13 @@ Ark_Int32 impl_NavPathStack_popToName0(Ark_NativePointer thisPtr, const KStringP 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + 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); + return GetAccessors()->getNavPathStackAccessor()->popToName0(self, (const Ark_String*) (&name), (const Opt_Boolean*)&animated_value); } KOALA_INTEROP_4(NavPathStack_popToName0, Ark_Int32, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) @@ -21015,13 +22566,13 @@ Ark_Int32 impl_NavPathStack_popToName1(Ark_NativePointer thisPtr, const KStringP Ark_CustomObject result_value = static_cast(thisDeserializer.readCustomObject("Object"));; const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + 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_CustomObject*)&result_value, (const Opt_Boolean*)&animated_value); + return GetAccessors()->getNavPathStackAccessor()->popToName1(self, (const Ark_String*) (&name), (const Ark_CustomObject*)&result_value, (const Opt_Boolean*)&animated_value); } KOALA_INTEROP_4(NavPathStack_popToName1, Ark_Int32, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) @@ -21030,13 +22581,13 @@ void impl_NavPathStack_popToIndex0(Ark_NativePointer thisPtr, KInteropNumber ind 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + 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); + GetAccessors()->getNavPathStackAccessor()->popToIndex0(self, (const Ark_Number*) (&index), (const Opt_Boolean*)&animated_value); } KOALA_INTEROP_V4(NavPathStack_popToIndex0, Ark_NativePointer, KInteropNumber, uint8_t*, int32_t) @@ -21046,13 +22597,13 @@ void impl_NavPathStack_popToIndex1(Ark_NativePointer thisPtr, KInteropNumber ind Ark_CustomObject result_value = static_cast(thisDeserializer.readCustomObject("Object"));; const auto animated_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean animated_value_buf = {}; - animated_value_buf.tag = animated_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + 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_CustomObject*)&result_value, (const Opt_Boolean*)&animated_value); + GetAccessors()->getNavPathStackAccessor()->popToIndex1(self, (const Ark_Number*) (&index), (const Ark_CustomObject*)&result_value, (const Opt_Boolean*)&animated_value); } KOALA_INTEROP_V4(NavPathStack_popToIndex1, Ark_NativePointer, KInteropNumber, uint8_t*, int32_t) @@ -21061,13 +22612,13 @@ Ark_Int32 impl_NavPathStack_moveToTop(Ark_NativePointer thisPtr, const KStringPt 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + 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); + return GetAccessors()->getNavPathStackAccessor()->moveToTop(self, (const Ark_String*) (&name), (const Opt_Boolean*)&animated_value); } KOALA_INTEROP_4(NavPathStack_moveToTop, Ark_Int32, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) @@ -21076,13 +22627,13 @@ void impl_NavPathStack_moveIndexToTop(Ark_NativePointer thisPtr, KInteropNumber 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + 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); + GetAccessors()->getNavPathStackAccessor()->moveIndexToTop(self, (const Ark_Number*) (&index), (const Opt_Boolean*)&animated_value); } KOALA_INTEROP_V4(NavPathStack_moveIndexToTop, Ark_NativePointer, KInteropNumber, uint8_t*, int32_t) @@ -21091,8 +22642,8 @@ void impl_NavPathStack_clear(Ark_NativePointer thisPtr, uint8_t* thisArray, int3 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (animated_value_buf_runtimeType)) + 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(); } @@ -21109,19 +22660,19 @@ KOALA_INTEROP_V1(NavPathStack_getAllPathName, Ark_NativePointer) void impl_NavPathStack_getParamByIndex(Ark_NativePointer thisPtr, KInteropNumber index) { NavPathStackPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getNavPathStackAccessor()->getParamByIndex(self, (const Ark_Number*)&index); + GetAccessors()->getNavPathStackAccessor()->getParamByIndex(self, (const Ark_Number*) (&index)); } KOALA_INTEROP_V2(NavPathStack_getParamByIndex, Ark_NativePointer, KInteropNumber) void impl_NavPathStack_getParamByName(Ark_NativePointer thisPtr, const KStringPtr& name) { NavPathStackPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getNavPathStackAccessor()->getParamByName(self, (const Ark_String*)&name); + GetAccessors()->getNavPathStackAccessor()->getParamByName(self, (const Ark_String*) (&name)); } KOALA_INTEROP_V2(NavPathStack_getParamByName, Ark_NativePointer, KStringPtr) void impl_NavPathStack_getIndexByName(Ark_NativePointer thisPtr, const KStringPtr& name) { NavPathStackPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getNavPathStackAccessor()->getIndexByName(self, (const Ark_String*)&name); + GetAccessors()->getNavPathStackAccessor()->getIndexByName(self, (const Ark_String*) (&name)); } KOALA_INTEROP_V2(NavPathStack_getIndexByName, Ark_NativePointer, KStringPtr) @@ -21175,7 +22726,7 @@ KOALA_INTEROP_V1(NavigationTransitionProxy_cancelTransition, Ark_NativePointer) void impl_NavigationTransitionProxy_updateTransition(Ark_NativePointer thisPtr, KInteropNumber progress) { NavigationTransitionProxyPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getNavigationTransitionProxyAccessor()->updateTransition(self, (const Ark_Number*)&progress); + GetAccessors()->getNavigationTransitionProxyAccessor()->updateTransition(self, (const Ark_Number*) (&progress)); } KOALA_INTEROP_V2(NavigationTransitionProxy_updateTransition, Ark_NativePointer, KInteropNumber) @@ -21247,7 +22798,7 @@ KOALA_INTEROP_1(RichEditorBaseController_getCaretOffset, Ark_Int32, Ark_NativePo Ark_Boolean impl_RichEditorBaseController_setCaretOffset(Ark_NativePointer thisPtr, KInteropNumber offset) { RichEditorBaseControllerPeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getRichEditorBaseControllerAccessor()->setCaretOffset(self, (const Ark_Number*)&offset); + return GetAccessors()->getRichEditorBaseControllerAccessor()->setCaretOffset(self, (const Ark_Number*) (&offset)); } KOALA_INTEROP_2(RichEditorBaseController_setCaretOffset, Ark_Boolean, Ark_NativePointer, KInteropNumber) @@ -21276,13 +22827,13 @@ void impl_RichEditorBaseController_setSelection(Ark_NativePointer thisPtr, KInte Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_SelectionOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readSelectionOptions(); } Opt_SelectionOptions options_value = options_value_buf;; - GetAccessors()->getRichEditorBaseControllerAccessor()->setSelection(self, (const Ark_Number*)&selectionStart, (const Ark_Number*)&selectionEnd, (const Opt_SelectionOptions*)&options_value); + GetAccessors()->getRichEditorBaseControllerAccessor()->setSelection(self, (const Ark_Number*) (&selectionStart), (const Ark_Number*) (&selectionEnd), (const Opt_SelectionOptions*)&options_value); } KOALA_INTEROP_V5(RichEditorBaseController_setSelection, Ark_NativePointer, KInteropNumber, KInteropNumber, uint8_t*, int32_t) @@ -21325,13 +22876,13 @@ Ark_Int32 impl_RichEditorController_addTextSpan(Ark_NativePointer thisPtr, const Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_RichEditorTextSpanOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readRichEditorTextSpanOptions(); } Opt_RichEditorTextSpanOptions options_value = options_value_buf;; - return GetAccessors()->getRichEditorControllerAccessor()->addTextSpan(self, (const Ark_String*)&value, (const Opt_RichEditorTextSpanOptions*)&options_value); + return GetAccessors()->getRichEditorControllerAccessor()->addTextSpan(self, (const Ark_String*) (&value), (const Opt_RichEditorTextSpanOptions*)&options_value); } KOALA_INTEROP_4(RichEditorController_addTextSpan, Ark_Int32, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) @@ -21369,8 +22920,8 @@ Ark_Int32 impl_RichEditorController_addImageSpan(Ark_NativePointer thisPtr, uint Ark_Union_PixelMap_ResourceStr value_value = static_cast(value_value_buf);; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_RichEditorImageSpanOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readRichEditorImageSpanOptions(); } @@ -21385,8 +22936,8 @@ Ark_Int32 impl_RichEditorController_addBuilderSpan(Ark_NativePointer thisPtr, ui 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_RichEditorBuilderSpanOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readRichEditorBuilderSpanOptions(); } @@ -21401,8 +22952,8 @@ Ark_Int32 impl_RichEditorController_addSymbolSpan(Ark_NativePointer thisPtr, uin Ark_Resource value_value = thisDeserializer.readResource();; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_RichEditorSymbolSpanOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readRichEditorSymbolSpanOptions(); } @@ -21450,8 +23001,8 @@ void impl_RichEditorController_deleteSpans(Ark_NativePointer thisPtr, uint8_t* t Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_RichEditorRange value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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.readRichEditorRange(); } @@ -21465,8 +23016,8 @@ void impl_RichEditorController_getSpans(Ark_NativePointer thisPtr, uint8_t* this Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_RichEditorRange value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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.readRichEditorRange(); } @@ -21480,8 +23031,8 @@ void impl_RichEditorController_getParagraphs(Ark_NativePointer thisPtr, uint8_t* Deserializer thisDeserializer(thisArray, thisLength); const auto value_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_RichEditorRange value_value_buf = {}; - value_value_buf.tag = value_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_runtimeType)) + 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.readRichEditorRange(); } @@ -21573,8 +23124,8 @@ void impl_Scroller_scrollEdge(Ark_NativePointer thisPtr, Ark_Int32 value, uint8_ Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_ScrollEdgeOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readScrollEdgeOptions(); } @@ -21585,7 +23136,7 @@ KOALA_INTEROP_V4(Scroller_scrollEdge, Ark_NativePointer, Ark_Int32, uint8_t*, in void impl_Scroller_fling(Ark_NativePointer thisPtr, KInteropNumber velocity) { ScrollerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getScrollerAccessor()->fling(self, (const Ark_Number*)&velocity); + GetAccessors()->getScrollerAccessor()->fling(self, (const Ark_Number*) (&velocity)); } KOALA_INTEROP_V2(Scroller_fling, Ark_NativePointer, KInteropNumber) @@ -21604,8 +23155,8 @@ void impl_Scroller_scrollPage1(Ark_NativePointer thisPtr, uint8_t* thisArray, in value_value_buf.next = thisDeserializer.readBoolean(); const auto value_value_buf_direction_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Axis value_value_buf_direction_buf = {}; - value_value_buf_direction_buf.tag = value_value_buf_direction_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_value_buf_direction_buf_runtimeType)) + 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)) { value_value_buf_direction_buf.value = static_cast(thisDeserializer.readInt32()); } @@ -21626,29 +23177,29 @@ void impl_Scroller_scrollToIndex(Ark_NativePointer thisPtr, KInteropNumber value Deserializer thisDeserializer(thisArray, thisLength); const auto smooth_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean smooth_value_buf = {}; - smooth_value_buf.tag = smooth_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (smooth_value_buf_runtimeType)) + smooth_value_buf.tag = smooth_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (smooth_value_buf_runtimeType)) { smooth_value_buf.value = thisDeserializer.readBoolean(); } Opt_Boolean smooth_value = smooth_value_buf;; const auto align_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_ScrollAlign align_value_buf = {}; - align_value_buf.tag = align_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (align_value_buf_runtimeType)) + align_value_buf.tag = align_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (align_value_buf_runtimeType)) { align_value_buf.value = static_cast(thisDeserializer.readInt32()); } Opt_ScrollAlign align_value = align_value_buf;; const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_ScrollToIndexOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readScrollToIndexOptions(); } Opt_ScrollToIndexOptions options_value = options_value_buf;; - GetAccessors()->getScrollerAccessor()->scrollToIndex(self, (const Ark_Number*)&value, (const Opt_Boolean*)&smooth_value, (const Opt_ScrollAlign*)&align_value, (const Opt_ScrollToIndexOptions*)&options_value); + GetAccessors()->getScrollerAccessor()->scrollToIndex(self, (const Ark_Number*) (&value), (const Opt_Boolean*)&smooth_value, (const Opt_ScrollAlign*)&align_value, (const Opt_ScrollToIndexOptions*)&options_value); } KOALA_INTEROP_V4(Scroller_scrollToIndex, Ark_NativePointer, KInteropNumber, uint8_t*, int32_t) @@ -21666,13 +23217,13 @@ KOALA_INTEROP_1(Scroller_isAtEnd, Ark_Boolean, Ark_NativePointer) Ark_NativePointer impl_Scroller_getItemRect(Ark_NativePointer thisPtr, KInteropNumber index) { ScrollerPeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getScrollerAccessor()->getItemRect(self, (const Ark_Number*)&index); + return GetAccessors()->getScrollerAccessor()->getItemRect(self, (const Ark_Number*) (&index)); } KOALA_INTEROP_2(Scroller_getItemRect, Ark_NativePointer, Ark_NativePointer, KInteropNumber) Ark_Int32 impl_Scroller_getItemIndex(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y) { ScrollerPeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getScrollerAccessor()->getItemIndex(self, (const Ark_Number*)&x, (const Ark_Number*)&y); + return GetAccessors()->getScrollerAccessor()->getItemIndex(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y)); } KOALA_INTEROP_3(Scroller_getItemIndex, Ark_Int32, Ark_NativePointer, KInteropNumber, KInteropNumber) @@ -21688,7 +23239,7 @@ KOALA_INTEROP_0(SearchController_getFinalizer, Ark_NativePointer) void impl_SearchController_caretPosition(Ark_NativePointer thisPtr, KInteropNumber value) { SearchControllerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getSearchControllerAccessor()->caretPosition(self, (const Ark_Number*)&value); + GetAccessors()->getSearchControllerAccessor()->caretPosition(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(SearchController_caretPosition, Ark_NativePointer, KInteropNumber) @@ -21703,13 +23254,13 @@ void impl_SearchController_setTextSelection(Ark_NativePointer thisPtr, KInteropN Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_SelectionOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readSelectionOptions(); } Opt_SelectionOptions options_value = options_value_buf;; - GetAccessors()->getSearchControllerAccessor()->setTextSelection(self, (const Ark_Number*)&selectionStart, (const Ark_Number*)&selectionEnd, (const Opt_SelectionOptions*)&options_value); + GetAccessors()->getSearchControllerAccessor()->setTextSelection(self, (const Ark_Number*) (&selectionStart), (const Ark_Number*) (&selectionEnd), (const Opt_SelectionOptions*)&options_value); } KOALA_INTEROP_V5(SearchController_setTextSelection, Ark_NativePointer, KInteropNumber, KInteropNumber, uint8_t*, int32_t) @@ -21740,28 +23291,28 @@ void impl_SwiperController_changeIndex(Ark_NativePointer thisPtr, KInteropNumber Deserializer thisDeserializer(thisArray, thisLength); const auto useAnimation_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean useAnimation_value_buf = {}; - useAnimation_value_buf.tag = useAnimation_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (useAnimation_value_buf_runtimeType)) + useAnimation_value_buf.tag = useAnimation_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (useAnimation_value_buf_runtimeType)) { 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()->changeIndex(self, (const Ark_Number*) (&index), (const Opt_Boolean*)&useAnimation_value); } KOALA_INTEROP_V4(SwiperController_changeIndex, Ark_NativePointer, KInteropNumber, uint8_t*, int32_t) void impl_SwiperController_finishAnimation(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { SwiperControllerPeer* self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto callback_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_VoidCallback callback_value_buf = {}; - callback_value_buf.tag = callback_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (callback_value_buf_runtimeType)) + const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_VoidCallback 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_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; + callback__value_buf.value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_VoidCallback)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_VoidCallback))))}; } - Opt_VoidCallback callback_value = callback_value_buf;; - GetAccessors()->getSwiperControllerAccessor()->finishAnimation(self, (const Opt_VoidCallback*)&callback_value); + Opt_VoidCallback callback__value = callback__value_buf;; + GetAccessors()->getSwiperControllerAccessor()->finishAnimation(self, (const Opt_VoidCallback*)&callback__value); } KOALA_INTEROP_V3(SwiperController_finishAnimation, Ark_NativePointer, uint8_t*, int32_t) @@ -21789,7 +23340,7 @@ KOALA_INTEROP_1(SwiperContentTransitionProxy_getSelectedIndex, Ark_Int32, Ark_Na void impl_SwiperContentTransitionProxy_setSelectedIndex(Ark_NativePointer thisPtr, KInteropNumber selectedIndex) { SwiperContentTransitionProxyPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getSwiperContentTransitionProxyAccessor()->setSelectedIndex(self, (const Ark_Number*)&selectedIndex); + GetAccessors()->getSwiperContentTransitionProxyAccessor()->setSelectedIndex(self, (const Ark_Number*) (&selectedIndex)); } KOALA_INTEROP_V2(SwiperContentTransitionProxy_setSelectedIndex, Ark_NativePointer, KInteropNumber) @@ -21801,7 +23352,7 @@ KOALA_INTEROP_1(SwiperContentTransitionProxy_getIndex, Ark_Int32, Ark_NativePoin void impl_SwiperContentTransitionProxy_setIndex(Ark_NativePointer thisPtr, KInteropNumber index) { SwiperContentTransitionProxyPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getSwiperContentTransitionProxyAccessor()->setIndex(self, (const Ark_Number*)&index); + GetAccessors()->getSwiperContentTransitionProxyAccessor()->setIndex(self, (const Ark_Number*) (&index)); } KOALA_INTEROP_V2(SwiperContentTransitionProxy_setIndex, Ark_NativePointer, KInteropNumber) @@ -21813,7 +23364,7 @@ KOALA_INTEROP_1(SwiperContentTransitionProxy_getPosition, Ark_Int32, Ark_NativeP void impl_SwiperContentTransitionProxy_setPosition(Ark_NativePointer thisPtr, KInteropNumber position) { SwiperContentTransitionProxyPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getSwiperContentTransitionProxyAccessor()->setPosition(self, (const Ark_Number*)&position); + GetAccessors()->getSwiperContentTransitionProxyAccessor()->setPosition(self, (const Ark_Number*) (&position)); } KOALA_INTEROP_V2(SwiperContentTransitionProxy_setPosition, Ark_NativePointer, KInteropNumber) @@ -21825,7 +23376,7 @@ KOALA_INTEROP_1(SwiperContentTransitionProxy_getMainAxisLength, Ark_Int32, Ark_N void impl_SwiperContentTransitionProxy_setMainAxisLength(Ark_NativePointer thisPtr, KInteropNumber mainAxisLength) { SwiperContentTransitionProxyPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getSwiperContentTransitionProxyAccessor()->setMainAxisLength(self, (const Ark_Number*)&mainAxisLength); + GetAccessors()->getSwiperContentTransitionProxyAccessor()->setMainAxisLength(self, (const Ark_Number*) (&mainAxisLength)); } KOALA_INTEROP_V2(SwiperContentTransitionProxy_setMainAxisLength, Ark_NativePointer, KInteropNumber) @@ -21856,13 +23407,13 @@ void impl_IndicatorComponentController_changeIndex(Ark_NativePointer thisPtr, KI Deserializer thisDeserializer(thisArray, thisLength); const auto useAnimation_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Boolean useAnimation_value_buf = {}; - useAnimation_value_buf.tag = useAnimation_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (useAnimation_value_buf_runtimeType)) + useAnimation_value_buf.tag = useAnimation_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (useAnimation_value_buf_runtimeType)) { useAnimation_value_buf.value = thisDeserializer.readBoolean(); } Opt_Boolean useAnimation_value = useAnimation_value_buf;; - GetAccessors()->getIndicatorComponentControllerAccessor()->changeIndex(self, (const Ark_Number*)&index, (const Opt_Boolean*)&useAnimation_value); + GetAccessors()->getIndicatorComponentControllerAccessor()->changeIndex(self, (const Ark_Number*) (&index), (const Opt_Boolean*)&useAnimation_value); } KOALA_INTEROP_V4(IndicatorComponentController_changeIndex, Ark_NativePointer, KInteropNumber, uint8_t*, int32_t) @@ -21878,7 +23429,7 @@ KOALA_INTEROP_0(TabsController_getFinalizer, Ark_NativePointer) void impl_TabsController_changeIndex(Ark_NativePointer thisPtr, KInteropNumber value) { TabsControllerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getTabsControllerAccessor()->changeIndex(self, (const Ark_Number*)&value); + GetAccessors()->getTabsControllerAccessor()->changeIndex(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(TabsController_changeIndex, Ark_NativePointer, KInteropNumber) @@ -21887,8 +23438,8 @@ void impl_TabsController_preloadItems(Ark_NativePointer thisPtr, uint8_t* thisAr 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (indices_value_buf_runtimeType)) + 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_ = {}; @@ -21915,7 +23466,7 @@ KOALA_INTEROP_V3(TabsController_setTabBarTranslate, Ark_NativePointer, uint8_t*, void impl_TabsController_setTabBarOpacity(Ark_NativePointer thisPtr, KInteropNumber opacity) { TabsControllerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getTabsControllerAccessor()->setTabBarOpacity(self, (const Ark_Number*)&opacity); + GetAccessors()->getTabsControllerAccessor()->setTabBarOpacity(self, (const Ark_Number*) (&opacity)); } KOALA_INTEROP_V2(TabsController_setTabBarOpacity, Ark_NativePointer, KInteropNumber) @@ -21943,7 +23494,7 @@ KOALA_INTEROP_1(TabContentTransitionProxy_getFrom, Ark_Int32, Ark_NativePointer) void impl_TabContentTransitionProxy_setFrom(Ark_NativePointer thisPtr, KInteropNumber from) { TabContentTransitionProxyPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getTabContentTransitionProxyAccessor()->setFrom(self, (const Ark_Number*)&from); + GetAccessors()->getTabContentTransitionProxyAccessor()->setFrom(self, (const Ark_Number*) (&from)); } KOALA_INTEROP_V2(TabContentTransitionProxy_setFrom, Ark_NativePointer, KInteropNumber) @@ -21955,7 +23506,7 @@ KOALA_INTEROP_1(TabContentTransitionProxy_getTo, Ark_Int32, Ark_NativePointer) void impl_TabContentTransitionProxy_setTo(Ark_NativePointer thisPtr, KInteropNumber to) { TabContentTransitionProxyPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getTabContentTransitionProxyAccessor()->setTo(self, (const Ark_Number*)&to); + GetAccessors()->getTabContentTransitionProxyAccessor()->setTo(self, (const Ark_Number*) (&to)); } KOALA_INTEROP_V2(TabContentTransitionProxy_setTo, Ark_NativePointer, KInteropNumber) @@ -22001,7 +23552,7 @@ KOALA_INTEROP_0(TextAreaController_getFinalizer, Ark_NativePointer) void impl_TextAreaController_caretPosition(Ark_NativePointer thisPtr, KInteropNumber value) { TextAreaControllerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getTextAreaControllerAccessor()->caretPosition(self, (const Ark_Number*)&value); + GetAccessors()->getTextAreaControllerAccessor()->caretPosition(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(TextAreaController_caretPosition, Ark_NativePointer, KInteropNumber) @@ -22010,13 +23561,13 @@ void impl_TextAreaController_setTextSelection(Ark_NativePointer thisPtr, KIntero Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_SelectionOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readSelectionOptions(); } Opt_SelectionOptions options_value = options_value_buf;; - GetAccessors()->getTextAreaControllerAccessor()->setTextSelection(self, (const Ark_Number*)&selectionStart, (const Ark_Number*)&selectionEnd, (const Opt_SelectionOptions*)&options_value); + GetAccessors()->getTextAreaControllerAccessor()->setTextSelection(self, (const Ark_Number*) (&selectionStart), (const Ark_Number*) (&selectionEnd), (const Opt_SelectionOptions*)&options_value); } KOALA_INTEROP_V5(TextAreaController_setTextSelection, Ark_NativePointer, KInteropNumber, KInteropNumber, uint8_t*, int32_t) @@ -22063,13 +23614,13 @@ void impl_TextBaseController_setSelection(Ark_NativePointer thisPtr, KInteropNum Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_SelectionOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readSelectionOptions(); } Opt_SelectionOptions options_value = options_value_buf;; - GetAccessors()->getTextBaseControllerAccessor()->setSelection(self, (const Ark_Number*)&selectionStart, (const Ark_Number*)&selectionEnd, (const Opt_SelectionOptions*)&options_value); + GetAccessors()->getTextBaseControllerAccessor()->setSelection(self, (const Ark_Number*) (&selectionStart), (const Ark_Number*) (&selectionEnd), (const Opt_SelectionOptions*)&options_value); } KOALA_INTEROP_V5(TextBaseController_setSelection, Ark_NativePointer, KInteropNumber, KInteropNumber, uint8_t*, int32_t) @@ -22109,7 +23660,7 @@ KOALA_INTEROP_V1(TextEditControllerEx_stopEditing, Ark_NativePointer) Ark_Boolean impl_TextEditControllerEx_setCaretOffset(Ark_NativePointer thisPtr, KInteropNumber offset) { TextEditControllerExPeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getTextEditControllerExAccessor()->setCaretOffset(self, (const Ark_Number*)&offset); + return GetAccessors()->getTextEditControllerExAccessor()->setCaretOffset(self, (const Ark_Number*) (&offset)); } KOALA_INTEROP_2(TextEditControllerEx_setCaretOffset, Ark_Boolean, Ark_NativePointer, KInteropNumber) @@ -22167,13 +23718,13 @@ KOALA_INTEROP_1(LayoutManager_getLineCount, Ark_Int32, Ark_NativePointer) Ark_NativePointer impl_LayoutManager_getGlyphPositionAtCoordinate(Ark_NativePointer thisPtr, KInteropNumber x, KInteropNumber y) { LayoutManagerPeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getLayoutManagerAccessor()->getGlyphPositionAtCoordinate(self, (const Ark_Number*)&x, (const Ark_Number*)&y); + return GetAccessors()->getLayoutManagerAccessor()->getGlyphPositionAtCoordinate(self, (const Ark_Number*) (&x), (const Ark_Number*) (&y)); } KOALA_INTEROP_3(LayoutManager_getGlyphPositionAtCoordinate, Ark_NativePointer, Ark_NativePointer, KInteropNumber, KInteropNumber) Ark_NativePointer impl_LayoutManager_getLineMetrics(Ark_NativePointer thisPtr, KInteropNumber lineNumber) { LayoutManagerPeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getLayoutManagerAccessor()->getLineMetrics(self, (const Ark_Number*)&lineNumber); + return GetAccessors()->getLayoutManagerAccessor()->getLineMetrics(self, (const Ark_Number*) (&lineNumber)); } KOALA_INTEROP_2(LayoutManager_getLineMetrics, Ark_NativePointer, Ark_NativePointer, KInteropNumber) @@ -22258,6 +23809,34 @@ Ark_Boolean impl_EditMenuOptions_onMenuItemClick(Ark_NativePointer thisPtr, uint } KOALA_INTEROP_3(EditMenuOptions_onMenuItemClick, Ark_Boolean, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_SubmitEvent_ctor() { + return GetAccessors()->getSubmitEventAccessor()->ctor(); +} +KOALA_INTEROP_0(SubmitEvent_ctor, Ark_NativePointer) + +Ark_NativePointer impl_SubmitEvent_getFinalizer() { + return GetAccessors()->getSubmitEventAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(SubmitEvent_getFinalizer, Ark_NativePointer) + +void impl_SubmitEvent_keepEditableState(Ark_NativePointer thisPtr) { + SubmitEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getSubmitEventAccessor()->keepEditableState(self); +} +KOALA_INTEROP_V1(SubmitEvent_keepEditableState, Ark_NativePointer) + +void impl_SubmitEvent_getText(Ark_NativePointer thisPtr) { + SubmitEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getSubmitEventAccessor()->getText(self); +} +KOALA_INTEROP_V1(SubmitEvent_getText, Ark_NativePointer) + +void impl_SubmitEvent_setText(Ark_NativePointer thisPtr, const KStringPtr& text) { + SubmitEventPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getSubmitEventAccessor()->setText(self, (const Ark_String*) (&text)); +} +KOALA_INTEROP_V2(SubmitEvent_setText, Ark_NativePointer, KStringPtr) + Ark_NativePointer impl_TextInputController_ctor() { return GetAccessors()->getTextInputControllerAccessor()->ctor(); } @@ -22270,7 +23849,7 @@ KOALA_INTEROP_0(TextInputController_getFinalizer, Ark_NativePointer) void impl_TextInputController_caretPosition(Ark_NativePointer thisPtr, KInteropNumber value) { TextInputControllerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getTextInputControllerAccessor()->caretPosition(self, (const Ark_Number*)&value); + GetAccessors()->getTextInputControllerAccessor()->caretPosition(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(TextInputController_caretPosition, Ark_NativePointer, KInteropNumber) @@ -22279,13 +23858,13 @@ void impl_TextInputController_setTextSelection(Ark_NativePointer thisPtr, KInter Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_SelectionOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readSelectionOptions(); } Opt_SelectionOptions options_value = options_value_buf;; - GetAccessors()->getTextInputControllerAccessor()->setTextSelection(self, (const Ark_Number*)&selectionStart, (const Ark_Number*)&selectionEnd, (const Opt_SelectionOptions*)&options_value); + GetAccessors()->getTextInputControllerAccessor()->setTextSelection(self, (const Ark_Number*) (&selectionStart), (const Ark_Number*) (&selectionEnd), (const Opt_SelectionOptions*)&options_value); } KOALA_INTEROP_V5(TextInputController_setTextSelection, Ark_NativePointer, KInteropNumber, KInteropNumber, uint8_t*, int32_t) @@ -22309,8 +23888,8 @@ void impl_TextPickerDialog_show(uint8_t* thisArray, int32_t thisLength) { Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_TextPickerDialogOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readTextPickerDialogOptions(); } @@ -22361,8 +23940,8 @@ void impl_TimePickerDialog_show(uint8_t* thisArray, int32_t thisLength) { Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_TimePickerDialogOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readTimePickerDialogOptions(); } @@ -22401,7 +23980,7 @@ KOALA_INTEROP_V1(VideoController_stop, Ark_NativePointer) void impl_VideoController_setCurrentTime0(Ark_NativePointer thisPtr, KInteropNumber value) { VideoControllerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getVideoControllerAccessor()->setCurrentTime0(self, (const Ark_Number*)&value); + GetAccessors()->getVideoControllerAccessor()->setCurrentTime0(self, (const Ark_Number*) (&value)); } KOALA_INTEROP_V2(VideoController_setCurrentTime0, Ark_NativePointer, KInteropNumber) @@ -22419,7 +23998,7 @@ KOALA_INTEROP_V1(VideoController_exitFullscreen, Ark_NativePointer) void impl_VideoController_setCurrentTime1(Ark_NativePointer thisPtr, KInteropNumber value, Ark_Int32 seekMode) { VideoControllerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getVideoControllerAccessor()->setCurrentTime1(self, (const Ark_Number*)&value, static_cast(seekMode)); + GetAccessors()->getVideoControllerAccessor()->setCurrentTime1(self, (const Ark_Number*) (&value), static_cast(seekMode)); } KOALA_INTEROP_V3(VideoController_setCurrentTime1, Ark_NativePointer, KInteropNumber, Ark_Int32) @@ -22441,25 +24020,25 @@ KOALA_INTEROP_0(WebKeyboardController_getFinalizer, Ark_NativePointer) void impl_WebKeyboardController_insertText(Ark_NativePointer thisPtr, const KStringPtr& text) { WebKeyboardControllerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getWebKeyboardControllerAccessor()->insertText(self, (const Ark_String*)&text); + GetAccessors()->getWebKeyboardControllerAccessor()->insertText(self, (const Ark_String*) (&text)); } KOALA_INTEROP_V2(WebKeyboardController_insertText, Ark_NativePointer, KStringPtr) void impl_WebKeyboardController_deleteForward(Ark_NativePointer thisPtr, KInteropNumber length) { WebKeyboardControllerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getWebKeyboardControllerAccessor()->deleteForward(self, (const Ark_Number*)&length); + GetAccessors()->getWebKeyboardControllerAccessor()->deleteForward(self, (const Ark_Number*) (&length)); } KOALA_INTEROP_V2(WebKeyboardController_deleteForward, Ark_NativePointer, KInteropNumber) void impl_WebKeyboardController_deleteBackward(Ark_NativePointer thisPtr, KInteropNumber length) { WebKeyboardControllerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getWebKeyboardControllerAccessor()->deleteBackward(self, (const Ark_Number*)&length); + GetAccessors()->getWebKeyboardControllerAccessor()->deleteBackward(self, (const Ark_Number*) (&length)); } KOALA_INTEROP_V2(WebKeyboardController_deleteBackward, Ark_NativePointer, KInteropNumber) void impl_WebKeyboardController_sendFunctionKey(Ark_NativePointer thisPtr, KInteropNumber key) { WebKeyboardControllerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getWebKeyboardControllerAccessor()->sendFunctionKey(self, (const Ark_Number*)&key); + GetAccessors()->getWebKeyboardControllerAccessor()->sendFunctionKey(self, (const Ark_Number*) (&key)); } KOALA_INTEROP_V2(WebKeyboardController_sendFunctionKey, Ark_NativePointer, KInteropNumber) @@ -22543,7 +24122,7 @@ KOALA_INTEROP_V1(JsResult_handleConfirm, Ark_NativePointer) void impl_JsResult_handlePromptConfirm(Ark_NativePointer thisPtr, const KStringPtr& result) { JsResultPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getJsResultAccessor()->handlePromptConfirm(self, (const Ark_String*)&result); + GetAccessors()->getJsResultAccessor()->handlePromptConfirm(self, (const Ark_String*) (&result)); } KOALA_INTEROP_V2(JsResult_handlePromptConfirm, Ark_NativePointer, KStringPtr) @@ -22584,7 +24163,7 @@ KOALA_INTEROP_0(HttpAuthHandler_getFinalizer, Ark_NativePointer) Ark_Boolean impl_HttpAuthHandler_confirm(Ark_NativePointer thisPtr, const KStringPtr& userName, const KStringPtr& password) { HttpAuthHandlerPeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getHttpAuthHandlerAccessor()->confirm(self, (const Ark_String*)&userName, (const Ark_String*)&password); + return GetAccessors()->getHttpAuthHandlerAccessor()->confirm(self, (const Ark_String*) (&userName), (const Ark_String*) (&password)); } KOALA_INTEROP_3(HttpAuthHandler_confirm, Ark_Boolean, Ark_NativePointer, KStringPtr, KStringPtr) @@ -22634,13 +24213,13 @@ KOALA_INTEROP_0(ClientAuthenticationHandler_getFinalizer, Ark_NativePointer) void impl_ClientAuthenticationHandler_confirm0(Ark_NativePointer thisPtr, const KStringPtr& priKeyFile, const KStringPtr& certChainFile) { ClientAuthenticationHandlerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getClientAuthenticationHandlerAccessor()->confirm0(self, (const Ark_String*)&priKeyFile, (const Ark_String*)&certChainFile); + GetAccessors()->getClientAuthenticationHandlerAccessor()->confirm0(self, (const Ark_String*) (&priKeyFile), (const Ark_String*) (&certChainFile)); } KOALA_INTEROP_V3(ClientAuthenticationHandler_confirm0, Ark_NativePointer, KStringPtr, KStringPtr) void impl_ClientAuthenticationHandler_confirm1(Ark_NativePointer thisPtr, const KStringPtr& authUri) { ClientAuthenticationHandlerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getClientAuthenticationHandlerAccessor()->confirm1(self, (const Ark_String*)&authUri); + GetAccessors()->getClientAuthenticationHandlerAccessor()->confirm1(self, (const Ark_String*) (&authUri)); } KOALA_INTEROP_V2(ClientAuthenticationHandler_confirm1, Ark_NativePointer, KStringPtr) @@ -22910,7 +24489,7 @@ void impl_WebContextMenuResult_selectAll(Ark_NativePointer thisPtr) { KOALA_INTEROP_V1(WebContextMenuResult_selectAll, Ark_NativePointer) Ark_NativePointer impl_ConsoleMessage_ctor(const KStringPtr& message, const KStringPtr& sourceId, KInteropNumber lineNumber, Ark_Int32 messageLevel) { - return GetAccessors()->getConsoleMessageAccessor()->ctor((const Ark_String*)&message, (const Ark_String*)&sourceId, (const Ark_Number*)&lineNumber, static_cast(messageLevel)); + return GetAccessors()->getConsoleMessageAccessor()->ctor((const Ark_String*) (&message), (const Ark_String*) (&sourceId), (const Ark_Number*) (&lineNumber), static_cast(messageLevel)); } KOALA_INTEROP_4(ConsoleMessage_ctor, Ark_NativePointer, KStringPtr, KStringPtr, KInteropNumber, Ark_Int32) @@ -23073,19 +24652,19 @@ KOALA_INTEROP_V3(WebResourceResponse_setResponseData, Ark_NativePointer, uint8_t void impl_WebResourceResponse_setResponseEncoding(Ark_NativePointer thisPtr, const KStringPtr& encoding) { WebResourceResponsePeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getWebResourceResponseAccessor()->setResponseEncoding(self, (const Ark_String*)&encoding); + GetAccessors()->getWebResourceResponseAccessor()->setResponseEncoding(self, (const Ark_String*) (&encoding)); } KOALA_INTEROP_V2(WebResourceResponse_setResponseEncoding, Ark_NativePointer, KStringPtr) void impl_WebResourceResponse_setResponseMimeType(Ark_NativePointer thisPtr, const KStringPtr& mimeType) { WebResourceResponsePeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getWebResourceResponseAccessor()->setResponseMimeType(self, (const Ark_String*)&mimeType); + GetAccessors()->getWebResourceResponseAccessor()->setResponseMimeType(self, (const Ark_String*) (&mimeType)); } KOALA_INTEROP_V2(WebResourceResponse_setResponseMimeType, Ark_NativePointer, KStringPtr) void impl_WebResourceResponse_setReasonMessage(Ark_NativePointer thisPtr, const KStringPtr& reason) { WebResourceResponsePeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getWebResourceResponseAccessor()->setReasonMessage(self, (const Ark_String*)&reason); + GetAccessors()->getWebResourceResponseAccessor()->setReasonMessage(self, (const Ark_String*) (&reason)); } KOALA_INTEROP_V2(WebResourceResponse_setReasonMessage, Ark_NativePointer, KStringPtr) @@ -23106,7 +24685,7 @@ KOALA_INTEROP_V3(WebResourceResponse_setResponseHeader, Ark_NativePointer, uint8 void impl_WebResourceResponse_setResponseCode(Ark_NativePointer thisPtr, KInteropNumber code) { WebResourceResponsePeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getWebResourceResponseAccessor()->setResponseCode(self, (const Ark_Number*)&code); + GetAccessors()->getWebResourceResponseAccessor()->setResponseCode(self, (const Ark_Number*) (&code)); } KOALA_INTEROP_V2(WebResourceResponse_setResponseCode, Ark_NativePointer, KInteropNumber) @@ -23156,7 +24735,7 @@ KOALA_INTEROP_0(JsGeolocation_getFinalizer, Ark_NativePointer) void impl_JsGeolocation_invoke(Ark_NativePointer thisPtr, const KStringPtr& origin, Ark_Boolean allow, Ark_Boolean retain) { JsGeolocationPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getJsGeolocationAccessor()->invoke(self, (const Ark_String*)&origin, allow, retain); + GetAccessors()->getJsGeolocationAccessor()->invoke(self, (const Ark_String*) (&origin), allow, retain); } KOALA_INTEROP_V4(JsGeolocation_invoke, Ark_NativePointer, KStringPtr, Ark_Boolean, Ark_Boolean) @@ -23222,7 +24801,7 @@ KOALA_INTEROP_V1(WebController_onActive, Ark_NativePointer) void impl_WebController_zoom(Ark_NativePointer thisPtr, KInteropNumber factor) { WebControllerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getWebControllerAccessor()->zoom(self, (const Ark_Number*)&factor); + GetAccessors()->getWebControllerAccessor()->zoom(self, (const Ark_Number*) (&factor)); } KOALA_INTEROP_V2(WebController_zoom, Ark_NativePointer, KInteropNumber) @@ -23235,18 +24814,18 @@ KOALA_INTEROP_V1(WebController_clearHistory, Ark_NativePointer) void impl_WebController_runJavaScript(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { WebControllerPeer* self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Literal_String_script_Callback_String_Void_callback options_value_buf = {}; + Ark_Literal_String_script_Callback_String_Void_callback_ options_value_buf = {}; options_value_buf.script = static_cast(thisDeserializer.readString()); - const auto options_value_buf_callback_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_String_Void options_value_buf_callback_buf = {}; - options_value_buf_callback_buf.tag = options_value_buf_callback_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_callback_buf_runtimeType)) + const auto options_value_buf_callback__buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_String_Void options_value_buf_callback__buf = {}; + options_value_buf_callback__buf.tag = options_value_buf_callback__buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_callback__buf_runtimeType)) { - options_value_buf_callback_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))))}; + options_value_buf_callback__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))))}; } - options_value_buf.callback = options_value_buf_callback_buf; - Ark_Literal_String_script_Callback_String_Void_callback options_value = options_value_buf;; - GetAccessors()->getWebControllerAccessor()->runJavaScript(self, (const Ark_Literal_String_script_Callback_String_Void_callback*)&options_value); + options_value_buf.callback_ = options_value_buf_callback__buf; + Ark_Literal_String_script_Callback_String_Void_callback_ options_value = options_value_buf;; + GetAccessors()->getWebControllerAccessor()->runJavaScript(self, (const Ark_Literal_String_script_Callback_String_Void_callback_*)&options_value); } KOALA_INTEROP_V3(WebController_runJavaScript, Ark_NativePointer, uint8_t*, int32_t) @@ -23259,16 +24838,16 @@ void impl_WebController_loadData(Ark_NativePointer thisPtr, uint8_t* thisArray, options_value_buf.encoding = static_cast(thisDeserializer.readString()); const auto options_value_buf_baseUrl_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_String options_value_buf_baseUrl_buf = {}; - options_value_buf_baseUrl_buf.tag = options_value_buf_baseUrl_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_baseUrl_buf_runtimeType)) + options_value_buf_baseUrl_buf.tag = options_value_buf_baseUrl_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_baseUrl_buf_runtimeType)) { options_value_buf_baseUrl_buf.value = static_cast(thisDeserializer.readString()); } options_value_buf.baseUrl = options_value_buf_baseUrl_buf; const auto options_value_buf_historyUrl_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_String options_value_buf_historyUrl_buf = {}; - options_value_buf_historyUrl_buf.tag = options_value_buf_historyUrl_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_historyUrl_buf_runtimeType)) + options_value_buf_historyUrl_buf.tag = options_value_buf_historyUrl_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_historyUrl_buf_runtimeType)) { options_value_buf_historyUrl_buf.value = static_cast(thisDeserializer.readString()); } @@ -23299,8 +24878,8 @@ void impl_WebController_loadUrl(Ark_NativePointer thisPtr, uint8_t* thisArray, i options_value_buf.url = static_cast(options_value_buf_url_buf); const auto options_value_buf_headers_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Array_Header options_value_buf_headers_buf = {}; - options_value_buf_headers_buf.tag = options_value_buf_headers_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_headers_buf_runtimeType)) + options_value_buf_headers_buf.tag = options_value_buf_headers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (options_value_buf_headers_buf_runtimeType)) { const Ark_Int32 options_value_buf_headers_buf__length = thisDeserializer.readInt32(); Array_Header options_value_buf_headers_buf_ = {}; @@ -23332,8 +24911,8 @@ KOALA_INTEROP_V1(WebController_stop, Ark_NativePointer) void impl_WebController_registerJavaScriptProxy(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { WebControllerPeer* self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_Literal_Object_object_String_name_Array_String_methodList options_value_buf = {}; - options_value_buf.object = static_cast(thisDeserializer.readCustomObject("Object")); + Ark_Literal_Object_object__String_name_Array_String_methodList options_value_buf = {}; + options_value_buf.object_ = static_cast(thisDeserializer.readCustomObject("Object")); options_value_buf.name = static_cast(thisDeserializer.readString()); const Ark_Int32 options_value_buf_methodList_buf_length = thisDeserializer.readInt32(); Array_String options_value_buf_methodList_buf = {}; @@ -23343,14 +24922,14 @@ void impl_WebController_registerJavaScriptProxy(Ark_NativePointer thisPtr, uint8 options_value_buf_methodList_buf.array[options_value_buf_methodList_buf_i] = static_cast(thisDeserializer.readString()); } options_value_buf.methodList = options_value_buf_methodList_buf; - Ark_Literal_Object_object_String_name_Array_String_methodList options_value = options_value_buf;; - GetAccessors()->getWebControllerAccessor()->registerJavaScriptProxy(self, (const Ark_Literal_Object_object_String_name_Array_String_methodList*)&options_value); + Ark_Literal_Object_object__String_name_Array_String_methodList options_value = options_value_buf;; + GetAccessors()->getWebControllerAccessor()->registerJavaScriptProxy(self, (const Ark_Literal_Object_object__String_name_Array_String_methodList*)&options_value); } KOALA_INTEROP_V3(WebController_registerJavaScriptProxy, Ark_NativePointer, uint8_t*, int32_t) void impl_WebController_deleteJavaScriptRegister(Ark_NativePointer thisPtr, const KStringPtr& name) { WebControllerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getWebControllerAccessor()->deleteJavaScriptRegister(self, (const Ark_String*)&name); + GetAccessors()->getWebControllerAccessor()->deleteJavaScriptRegister(self, (const Ark_String*) (&name)); } KOALA_INTEROP_V2(WebController_deleteJavaScriptRegister, Ark_NativePointer, KStringPtr) @@ -23380,7 +24959,7 @@ KOALA_INTEROP_1(WebController_accessForward, Ark_Boolean, Ark_NativePointer) Ark_Boolean impl_WebController_accessStep(Ark_NativePointer thisPtr, KInteropNumber step) { WebControllerPeer* self = reinterpret_cast(thisPtr); - return GetAccessors()->getWebControllerAccessor()->accessStep(self, (const Ark_Number*)&step); + return GetAccessors()->getWebControllerAccessor()->accessStep(self, (const Ark_Number*) (&step)); } KOALA_INTEROP_2(WebController_accessStep, Ark_Boolean, Ark_NativePointer, KInteropNumber) @@ -23465,7 +25044,7 @@ KOALA_INTEROP_1(XComponentController_getXComponentSurfaceRotation, Ark_NativePoi void impl_XComponentController_onSurfaceCreated(Ark_NativePointer thisPtr, const KStringPtr& surfaceId) { XComponentControllerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getXComponentControllerAccessor()->onSurfaceCreated(self, (const Ark_String*)&surfaceId); + GetAccessors()->getXComponentControllerAccessor()->onSurfaceCreated(self, (const Ark_String*) (&surfaceId)); } KOALA_INTEROP_V2(XComponentController_onSurfaceCreated, Ark_NativePointer, KStringPtr) @@ -23473,13 +25052,13 @@ void impl_XComponentController_onSurfaceChanged(Ark_NativePointer thisPtr, const XComponentControllerPeer* self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Ark_SurfaceRect rect_value = thisDeserializer.readSurfaceRect();; - GetAccessors()->getXComponentControllerAccessor()->onSurfaceChanged(self, (const Ark_String*)&surfaceId, (const Ark_SurfaceRect*)&rect_value); + GetAccessors()->getXComponentControllerAccessor()->onSurfaceChanged(self, (const Ark_String*) (&surfaceId), (const Ark_SurfaceRect*)&rect_value); } KOALA_INTEROP_V4(XComponentController_onSurfaceChanged, Ark_NativePointer, KStringPtr, uint8_t*, int32_t) void impl_XComponentController_onSurfaceDestroyed(Ark_NativePointer thisPtr, const KStringPtr& surfaceId) { XComponentControllerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getXComponentControllerAccessor()->onSurfaceDestroyed(self, (const Ark_String*)&surfaceId); + GetAccessors()->getXComponentControllerAccessor()->onSurfaceDestroyed(self, (const Ark_String*) (&surfaceId)); } KOALA_INTEROP_V2(XComponentController_onSurfaceDestroyed, Ark_NativePointer, KStringPtr) @@ -23513,16 +25092,16 @@ Ark_Boolean impl_WaterFlowSections_splice(Ark_NativePointer thisPtr, KInteropNum 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (deleteCount_value_buf_runtimeType)) + 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 sections_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Array_SectionOptions sections_value_buf = {}; - sections_value_buf.tag = sections_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (sections_value_buf_runtimeType)) + sections_value_buf.tag = sections_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (sections_value_buf_runtimeType)) { const Ark_Int32 sections_value_buf__length = thisDeserializer.readInt32(); Array_SectionOptions sections_value_buf_ = {}; @@ -23534,7 +25113,7 @@ Ark_Boolean impl_WaterFlowSections_splice(Ark_NativePointer thisPtr, KInteropNum sections_value_buf.value = sections_value_buf_; } Opt_Array_SectionOptions sections_value = sections_value_buf;; - return GetAccessors()->getWaterFlowSectionsAccessor()->splice(self, (const Ark_Number*)&start, (const Opt_Number*)&deleteCount_value, (const Opt_Array_SectionOptions*)§ions_value); + return GetAccessors()->getWaterFlowSectionsAccessor()->splice(self, (const Ark_Number*) (&start), (const Opt_Number*)&deleteCount_value, (const Opt_Array_SectionOptions*)§ions_value); } KOALA_INTEROP_4(WaterFlowSections_splice, Ark_Boolean, Ark_NativePointer, KInteropNumber, uint8_t*, int32_t) @@ -23550,7 +25129,7 @@ Ark_Boolean impl_WaterFlowSections_update(Ark_NativePointer thisPtr, KInteropNum WaterFlowSectionsPeer* self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Ark_SectionOptions section_value = thisDeserializer.readSectionOptions();; - return GetAccessors()->getWaterFlowSectionsAccessor()->update(self, (const Ark_Number*)§ionIndex, (const Ark_SectionOptions*)§ion_value); + return GetAccessors()->getWaterFlowSectionsAccessor()->update(self, (const Ark_Number*) (§ionIndex), (const Ark_SectionOptions*)§ion_value); } KOALA_INTEROP_4(WaterFlowSections_update, Ark_Boolean, Ark_NativePointer, KInteropNumber, uint8_t*, int32_t) @@ -23613,46 +25192,46 @@ KOALA_INTEROP_3(UIExtensionProxy_sendSync, Ark_NativePointer, Ark_NativePointer, void impl_UIExtensionProxy_onAsyncReceiverRegister(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { UIExtensionProxyPeer* self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_UIExtensionProxy_Void callback_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))))};; - GetAccessors()->getUIExtensionProxyAccessor()->onAsyncReceiverRegister(self, (const Callback_UIExtensionProxy_Void*)&callback_value); + Callback_UIExtensionProxy_Void callback__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))))};; + GetAccessors()->getUIExtensionProxyAccessor()->onAsyncReceiverRegister(self, (const Callback_UIExtensionProxy_Void*)&callback__value); } KOALA_INTEROP_V3(UIExtensionProxy_onAsyncReceiverRegister, Ark_NativePointer, uint8_t*, int32_t) void impl_UIExtensionProxy_onSyncReceiverRegister(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { UIExtensionProxyPeer* self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Callback_UIExtensionProxy_Void callback_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))))};; - GetAccessors()->getUIExtensionProxyAccessor()->onSyncReceiverRegister(self, (const Callback_UIExtensionProxy_Void*)&callback_value); + Callback_UIExtensionProxy_Void callback__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))))};; + GetAccessors()->getUIExtensionProxyAccessor()->onSyncReceiverRegister(self, (const Callback_UIExtensionProxy_Void*)&callback__value); } KOALA_INTEROP_V3(UIExtensionProxy_onSyncReceiverRegister, Ark_NativePointer, uint8_t*, int32_t) void impl_UIExtensionProxy_offAsyncReceiverRegister(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { UIExtensionProxyPeer* self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto callback_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_UIExtensionProxy_Void callback_value_buf = {}; - callback_value_buf.tag = callback_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (callback_value_buf_runtimeType)) + const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_UIExtensionProxy_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_UIExtensionProxy_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_UIExtensionProxy_Void))))}; + callback__value_buf.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))))}; } - Opt_Callback_UIExtensionProxy_Void callback_value = callback_value_buf;; - GetAccessors()->getUIExtensionProxyAccessor()->offAsyncReceiverRegister(self, (const Opt_Callback_UIExtensionProxy_Void*)&callback_value); + Opt_Callback_UIExtensionProxy_Void callback__value = callback__value_buf;; + GetAccessors()->getUIExtensionProxyAccessor()->offAsyncReceiverRegister(self, (const Opt_Callback_UIExtensionProxy_Void*)&callback__value); } KOALA_INTEROP_V3(UIExtensionProxy_offAsyncReceiverRegister, Ark_NativePointer, uint8_t*, int32_t) void impl_UIExtensionProxy_offSyncReceiverRegister(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { UIExtensionProxyPeer* self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - const auto callback_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Callback_UIExtensionProxy_Void callback_value_buf = {}; - callback_value_buf.tag = callback_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (callback_value_buf_runtimeType)) + const auto callback__value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Callback_UIExtensionProxy_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_UIExtensionProxy_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_UIExtensionProxy_Void))))}; + callback__value_buf.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))))}; } - Opt_Callback_UIExtensionProxy_Void callback_value = callback_value_buf;; - GetAccessors()->getUIExtensionProxyAccessor()->offSyncReceiverRegister(self, (const Opt_Callback_UIExtensionProxy_Void*)&callback_value); + Opt_Callback_UIExtensionProxy_Void callback__value = callback__value_buf;; + GetAccessors()->getUIExtensionProxyAccessor()->offSyncReceiverRegister(self, (const Opt_Callback_UIExtensionProxy_Void*)&callback__value); } KOALA_INTEROP_V3(UIExtensionProxy_offSyncReceiverRegister, Ark_NativePointer, uint8_t*, int32_t) @@ -23679,8 +25258,8 @@ Ark_NativePointer impl_StyledString_ctor(uint8_t* thisArray, int32_t thisLength) Ark_Union_String_ImageAttachment_CustomSpan value_value = static_cast(value_value_buf);; const auto styles_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Array_StyleOptions styles_value_buf = {}; - styles_value_buf.tag = styles_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (styles_value_buf_runtimeType)) + styles_value_buf.tag = styles_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (styles_value_buf_runtimeType)) { const Ark_Int32 styles_value_buf__length = thisDeserializer.readInt32(); Array_StyleOptions styles_value_buf_ = {}; @@ -23712,13 +25291,13 @@ void impl_StyledString_getStyles(Ark_NativePointer thisPtr, KInteropNumber start Deserializer thisDeserializer(thisArray, thisLength); const auto styledKey_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_StyledStringKey styledKey_value_buf = {}; - styledKey_value_buf.tag = styledKey_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (styledKey_value_buf_runtimeType)) + styledKey_value_buf.tag = styledKey_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (styledKey_value_buf_runtimeType)) { styledKey_value_buf.value = static_cast(thisDeserializer.readInt32()); } Opt_StyledStringKey styledKey_value = styledKey_value_buf;; - GetAccessors()->getStyledStringAccessor()->getStyles(self, (const Ark_Number*)&start, (const Ark_Number*)&length, (const Opt_StyledStringKey*)&styledKey_value); + GetAccessors()->getStyledStringAccessor()->getStyles(self, (const Ark_Number*) (&start), (const Ark_Number*) (&length), (const Opt_StyledStringKey*)&styledKey_value); } KOALA_INTEROP_V5(StyledString_getStyles, Ark_NativePointer, KInteropNumber, KInteropNumber, uint8_t*, int32_t) @@ -23735,20 +25314,20 @@ Ark_NativePointer impl_StyledString_subStyledString(Ark_NativePointer thisPtr, K Deserializer thisDeserializer(thisArray, thisLength); const auto length_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Number length_value_buf = {}; - length_value_buf.tag = length_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (length_value_buf_runtimeType)) + length_value_buf.tag = length_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (length_value_buf_runtimeType)) { length_value_buf.value = static_cast(thisDeserializer.readNumber()); } Opt_Number length_value = length_value_buf;; - return GetAccessors()->getStyledStringAccessor()->subStyledString(self, (const Ark_Number*)&start, (const Opt_Number*)&length_value); + return GetAccessors()->getStyledStringAccessor()->subStyledString(self, (const Ark_Number*) (&start), (const Opt_Number*)&length_value); } KOALA_INTEROP_4(StyledString_subStyledString, Ark_NativePointer, Ark_NativePointer, KInteropNumber, uint8_t*, int32_t) void impl_StyledString_fromHtml(const KStringPtr& html, uint8_t* thisArray, int32_t thisLength) { Deserializer thisDeserializer(thisArray, thisLength); 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()->fromHtml((const Ark_String*)&html, (const Callback_Opt_StyledString_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value); + GetAccessors()->getStyledStringAccessor()->fromHtml((const Ark_String*) (&html), (const Callback_Opt_StyledString_Opt_Array_String_Void*)&outputArgumentForReturningPromise_value); } KOALA_INTEROP_V3(StyledString_fromHtml, KStringPtr, uint8_t*, int32_t) @@ -23792,19 +25371,19 @@ KOALA_INTEROP_0(MutableStyledString_getFinalizer, Ark_NativePointer) void impl_MutableStyledString_replaceString(Ark_NativePointer thisPtr, KInteropNumber start, KInteropNumber length, const KStringPtr& other) { MutableStyledStringPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getMutableStyledStringAccessor()->replaceString(self, (const Ark_Number*)&start, (const Ark_Number*)&length, (const Ark_String*)&other); + GetAccessors()->getMutableStyledStringAccessor()->replaceString(self, (const Ark_Number*) (&start), (const Ark_Number*) (&length), (const Ark_String*) (&other)); } KOALA_INTEROP_V4(MutableStyledString_replaceString, Ark_NativePointer, KInteropNumber, KInteropNumber, KStringPtr) void impl_MutableStyledString_insertString(Ark_NativePointer thisPtr, KInteropNumber start, const KStringPtr& other) { MutableStyledStringPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getMutableStyledStringAccessor()->insertString(self, (const Ark_Number*)&start, (const Ark_String*)&other); + GetAccessors()->getMutableStyledStringAccessor()->insertString(self, (const Ark_Number*) (&start), (const Ark_String*) (&other)); } KOALA_INTEROP_V3(MutableStyledString_insertString, Ark_NativePointer, KInteropNumber, KStringPtr) void impl_MutableStyledString_removeString(Ark_NativePointer thisPtr, KInteropNumber start, KInteropNumber length) { MutableStyledStringPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getMutableStyledStringAccessor()->removeString(self, (const Ark_Number*)&start, (const Ark_Number*)&length); + GetAccessors()->getMutableStyledStringAccessor()->removeString(self, (const Ark_Number*) (&start), (const Ark_Number*) (&length)); } KOALA_INTEROP_V3(MutableStyledString_removeString, Ark_NativePointer, KInteropNumber, KInteropNumber) @@ -23826,13 +25405,13 @@ KOALA_INTEROP_V3(MutableStyledString_setStyle, Ark_NativePointer, uint8_t*, int3 void impl_MutableStyledString_removeStyle(Ark_NativePointer thisPtr, KInteropNumber start, KInteropNumber length, Ark_Int32 styledKey) { MutableStyledStringPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getMutableStyledStringAccessor()->removeStyle(self, (const Ark_Number*)&start, (const Ark_Number*)&length, static_cast(styledKey)); + GetAccessors()->getMutableStyledStringAccessor()->removeStyle(self, (const Ark_Number*) (&start), (const Ark_Number*) (&length), static_cast(styledKey)); } KOALA_INTEROP_V4(MutableStyledString_removeStyle, Ark_NativePointer, KInteropNumber, KInteropNumber, Ark_Int32) void impl_MutableStyledString_removeStyles(Ark_NativePointer thisPtr, KInteropNumber start, KInteropNumber length) { MutableStyledStringPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getMutableStyledStringAccessor()->removeStyles(self, (const Ark_Number*)&start, (const Ark_Number*)&length); + GetAccessors()->getMutableStyledStringAccessor()->removeStyles(self, (const Ark_Number*) (&start), (const Ark_Number*) (&length)); } KOALA_INTEROP_V3(MutableStyledString_removeStyles, Ark_NativePointer, KInteropNumber, KInteropNumber) @@ -23846,7 +25425,7 @@ void impl_MutableStyledString_replaceStyledString(Ark_NativePointer thisPtr, KIn MutableStyledStringPeer* self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Ark_StyledString other_value = static_cast(thisDeserializer.readStyledString());; - GetAccessors()->getMutableStyledStringAccessor()->replaceStyledString(self, (const Ark_Number*)&start, (const Ark_Number*)&length, (const Ark_StyledString*)&other_value); + GetAccessors()->getMutableStyledStringAccessor()->replaceStyledString(self, (const Ark_Number*) (&start), (const Ark_Number*) (&length), (const Ark_StyledString*)&other_value); } KOALA_INTEROP_V5(MutableStyledString_replaceStyledString, Ark_NativePointer, KInteropNumber, KInteropNumber, uint8_t*, int32_t) @@ -23854,7 +25433,7 @@ void impl_MutableStyledString_insertStyledString(Ark_NativePointer thisPtr, KInt MutableStyledStringPeer* self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); Ark_StyledString other_value = static_cast(thisDeserializer.readStyledString());; - GetAccessors()->getMutableStyledStringAccessor()->insertStyledString(self, (const Ark_Number*)&start, (const Ark_StyledString*)&other_value); + GetAccessors()->getMutableStyledStringAccessor()->insertStyledString(self, (const Ark_Number*) (&start), (const Ark_StyledString*)&other_value); } KOALA_INTEROP_V4(MutableStyledString_insertStyledString, Ark_NativePointer, KInteropNumber, uint8_t*, int32_t) @@ -23911,7 +25490,7 @@ KOALA_INTEROP_0(LinearIndicatorController_getFinalizer, Ark_NativePointer) void impl_LinearIndicatorController_setProgress(Ark_NativePointer thisPtr, KInteropNumber index, KInteropNumber progress) { LinearIndicatorControllerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getLinearIndicatorControllerAccessor()->setProgress(self, (const Ark_Number*)&index, (const Ark_Number*)&progress); + GetAccessors()->getLinearIndicatorControllerAccessor()->setProgress(self, (const Ark_Number*) (&index), (const Ark_Number*) (&progress)); } KOALA_INTEROP_V3(LinearIndicatorController_setProgress, Ark_NativePointer, KInteropNumber, KInteropNumber) @@ -23920,8 +25499,8 @@ void impl_LinearIndicatorController_start(Ark_NativePointer thisPtr, uint8_t* th Deserializer thisDeserializer(thisArray, thisLength); const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_LinearIndicatorStartOptions options_value_buf = {}; - options_value_buf.tag = options_value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (options_value_buf_runtimeType)) + 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.readLinearIndicatorStartOptions(); } @@ -23941,4 +25520,41 @@ void impl_LinearIndicatorController_stop(Ark_NativePointer thisPtr) { GetAccessors()->getLinearIndicatorControllerAccessor()->stop(self); } KOALA_INTEROP_V1(LinearIndicatorController_stop, Ark_NativePointer) + +Ark_NativePointer impl_GlobalScope_inspector_ctor() { + return GetAccessors()->getGlobalScope_inspectorAccessor()->ctor(); +} +KOALA_INTEROP_0(GlobalScope_inspector_ctor, Ark_NativePointer) + +Ark_NativePointer impl_GlobalScope_inspector_getFinalizer() { + return GetAccessors()->getGlobalScope_inspectorAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(GlobalScope_inspector_getFinalizer, Ark_NativePointer) + +Ark_NativePointer impl_GlobalScope_inspector_getInspectorNodes() { + return GetAccessors()->getGlobalScope_inspectorAccessor()->getInspectorNodes(); +} +KOALA_INTEROP_0(GlobalScope_inspector_getInspectorNodes, Ark_NativePointer) + +Ark_NativePointer impl_GlobalScope_inspector_getInspectorNodeById(KInteropNumber id) { + return GetAccessors()->getGlobalScope_inspectorAccessor()->getInspectorNodeById((const Ark_Number*) (&id)); +} +KOALA_INTEROP_1(GlobalScope_inspector_getInspectorNodeById, Ark_NativePointer, KInteropNumber) + +void impl_GlobalScope_inspector_registerVsyncCallback(uint8_t* thisArray, int32_t thisLength) { + 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))))};; + GetAccessors()->getGlobalScope_inspectorAccessor()->registerVsyncCallback((const Callback_String_Void*)&callback__value); +} +KOALA_INTEROP_V2(GlobalScope_inspector_registerVsyncCallback, uint8_t*, int32_t) + +void impl_GlobalScope_inspector_unregisterVsyncCallback() { + GetAccessors()->getGlobalScope_inspectorAccessor()->unregisterVsyncCallback(); +} +KOALA_INTEROP_V0(GlobalScope_inspector_unregisterVsyncCallback) + +void impl_GlobalScope_inspector_setAppBgColor(const KStringPtr& value) { + GetAccessors()->getGlobalScope_inspectorAccessor()->setAppBgColor((const Ark_String*) (&value)); +} +KOALA_INTEROP_V1(GlobalScope_inspector_setAppBgColor, KStringPtr) \ No newline at end of file diff --git a/arkoala/framework/native/src/generated/callback_deserialize_call.cc b/arkoala/framework/native/src/generated/callback_deserialize_call.cc index 63e8cd414..187fc3f82 100644 --- a/arkoala/framework/native/src/generated/callback_deserialize_call.cc +++ b/arkoala/framework/native/src/generated/callback_deserialize_call.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -17,6 +17,7 @@ #include "arkoala_api_generated.h" #include "callback_kind.h" #include "Serializers.h" +#include "callbacks.h" #include "common-interop.h" void deserializeAndCallAccessibilityCallback(uint8_t* thisArray, Ark_Int32 thisLength) @@ -26,7 +27,7 @@ void deserializeAndCallAccessibilityCallback(uint8_t* thisArray, Ark_Int32 thisL const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); Ark_Boolean isHover = thisDeserializer.readBoolean(); - Ark_AccessibilityHoverEvent event = thisDeserializer.readAccessibilityHoverEvent(); + Ark_AccessibilityHoverEvent event = static_cast(thisDeserializer.readAccessibilityHoverEvent()); _call(_resourceId, isHover, event); } void deserializeAndCallSyncAccessibilityCallback(Ark_VMContext vmContext, uint8_t* thisArray, Ark_Int32 thisLength) @@ -36,7 +37,7 @@ void deserializeAndCallSyncAccessibilityCallback(Ark_VMContext vmContext, uint8_ thisDeserializer.readPointer(); const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); Ark_Boolean isHover = thisDeserializer.readBoolean(); - Ark_AccessibilityHoverEvent event = thisDeserializer.readAccessibilityHoverEvent(); + Ark_AccessibilityHoverEvent event = static_cast(thisDeserializer.readAccessibilityHoverEvent()); _callSync(vmContext, _resourceId, isHover, event); } void deserializeAndCallButtonTriggerClickCallback(uint8_t* thisArray, Ark_Int32 thisLength) @@ -59,24 +60,6 @@ void deserializeAndCallSyncButtonTriggerClickCallback(Ark_VMContext vmContext, u Ark_Number yPos = static_cast(thisDeserializer.readNumber()); _callSync(vmContext, _resourceId, xPos, yPos); } -void deserializeAndCallCallback_Any(uint8_t* 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_Any_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Any_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Any_Void))))}; - _call(_resourceId, _continuation); -} -void deserializeAndCallSyncCallback_Any(Ark_VMContext vmContext, uint8_t* 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_Any_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Any_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Any_Void))))}; - _callSync(vmContext, _resourceId, _continuation); -} void deserializeAndCallCallback_Any_Void(uint8_t* thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -238,7 +221,7 @@ void deserializeAndCallCallback_Boolean_HoverEvent_Void(uint8_t* thisArray, Ark_ const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); Ark_Boolean isHover = thisDeserializer.readBoolean(); - Ark_HoverEvent event = thisDeserializer.readHoverEvent(); + Ark_HoverEvent event = static_cast(thisDeserializer.readHoverEvent()); _call(_resourceId, isHover, event); } void deserializeAndCallSyncCallback_Boolean_HoverEvent_Void(Ark_VMContext vmContext, uint8_t* thisArray, Ark_Int32 thisLength) @@ -248,7 +231,7 @@ void deserializeAndCallSyncCallback_Boolean_HoverEvent_Void(Ark_VMContext vmCont thisDeserializer.readPointer(); const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); Ark_Boolean isHover = thisDeserializer.readBoolean(); - Ark_HoverEvent event = thisDeserializer.readHoverEvent(); + Ark_HoverEvent event = static_cast(thisDeserializer.readHoverEvent()); _callSync(vmContext, _resourceId, isHover, event); } void deserializeAndCallCallback_Boolean_Void(uint8_t* thisArray, Ark_Int32 thisLength) @@ -305,31 +288,13 @@ void deserializeAndCallSyncCallback_CalendarSelectedDate_Void(Ark_VMContext vmCo Ark_CalendarSelectedDate event = thisDeserializer.readCalendarSelectedDate(); _callSync(vmContext, _resourceId, event); } -void deserializeAndCallCallback_Callback_Any_Void(uint8_t* 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_Any value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Any)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Any))))}; - _call(_resourceId, value); -} -void deserializeAndCallSyncCallback_Callback_Any_Void(Ark_VMContext vmContext, uint8_t* 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_Any value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Any)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Any))))}; - _callSync(vmContext, _resourceId, value); -} void deserializeAndCallCallback_ClickEvent_LocationButtonOnClickResult_Void(uint8_t* 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 = thisDeserializer.readClickEvent(); + Ark_ClickEvent event = static_cast(thisDeserializer.readClickEvent()); Ark_LocationButtonOnClickResult result = static_cast(thisDeserializer.readInt32()); _call(_resourceId, event, result); } @@ -339,7 +304,7 @@ void deserializeAndCallSyncCallback_ClickEvent_LocationButtonOnClickResult_Void( const Ark_Int32 _resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); - Ark_ClickEvent event = thisDeserializer.readClickEvent(); + Ark_ClickEvent event = static_cast(thisDeserializer.readClickEvent()); Ark_LocationButtonOnClickResult result = static_cast(thisDeserializer.readInt32()); _callSync(vmContext, _resourceId, event, result); } @@ -349,7 +314,7 @@ void deserializeAndCallCallback_ClickEvent_PasteButtonOnClickResult_Void(uint8_t const Ark_Int32 _resourceId = thisDeserializer.readInt32(); const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); - Ark_ClickEvent event = thisDeserializer.readClickEvent(); + Ark_ClickEvent event = static_cast(thisDeserializer.readClickEvent()); Ark_PasteButtonOnClickResult result = static_cast(thisDeserializer.readInt32()); _call(_resourceId, event, result); } @@ -359,7 +324,7 @@ void deserializeAndCallSyncCallback_ClickEvent_PasteButtonOnClickResult_Void(Ark const Ark_Int32 _resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); - Ark_ClickEvent event = thisDeserializer.readClickEvent(); + Ark_ClickEvent event = static_cast(thisDeserializer.readClickEvent()); Ark_PasteButtonOnClickResult result = static_cast(thisDeserializer.readInt32()); _callSync(vmContext, _resourceId, event, result); } @@ -369,7 +334,7 @@ void deserializeAndCallCallback_ClickEvent_SaveButtonOnClickResult_Void(uint8_t* const Ark_Int32 _resourceId = thisDeserializer.readInt32(); const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); - Ark_ClickEvent event = thisDeserializer.readClickEvent(); + Ark_ClickEvent event = static_cast(thisDeserializer.readClickEvent()); Ark_SaveButtonOnClickResult result = static_cast(thisDeserializer.readInt32()); _call(_resourceId, event, result); } @@ -379,7 +344,7 @@ void deserializeAndCallSyncCallback_ClickEvent_SaveButtonOnClickResult_Void(Ark_ const Ark_Int32 _resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); - Ark_ClickEvent event = thisDeserializer.readClickEvent(); + Ark_ClickEvent event = static_cast(thisDeserializer.readClickEvent()); Ark_SaveButtonOnClickResult result = static_cast(thisDeserializer.readInt32()); _callSync(vmContext, _resourceId, event, result); } @@ -389,7 +354,7 @@ void deserializeAndCallCallback_ClickEvent_Void(uint8_t* thisArray, Ark_Int32 th const Ark_Int32 _resourceId = thisDeserializer.readInt32(); const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); - Ark_ClickEvent event = thisDeserializer.readClickEvent(); + Ark_ClickEvent event = static_cast(thisDeserializer.readClickEvent()); _call(_resourceId, event); } void deserializeAndCallSyncCallback_ClickEvent_Void(Ark_VMContext vmContext, uint8_t* thisArray, Ark_Int32 thisLength) @@ -398,7 +363,7 @@ void deserializeAndCallSyncCallback_ClickEvent_Void(Ark_VMContext vmContext, uin const Ark_Int32 _resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); - Ark_ClickEvent event = thisDeserializer.readClickEvent(); + Ark_ClickEvent event = static_cast(thisDeserializer.readClickEvent()); _callSync(vmContext, _resourceId, event); } void deserializeAndCallCallback_ComputedBarAttribute_Void(uint8_t* thisArray, Ark_Int32 thisLength) @@ -437,6 +402,24 @@ void deserializeAndCallSyncCallback_CopyEvent_Void(Ark_VMContext vmContext, uint Ark_CopyEvent parameter = thisDeserializer.readCopyEvent(); _callSync(vmContext, _resourceId, parameter); } +void deserializeAndCallCallback_CustomBuilder_Void(uint8_t* thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + const auto _call = reinterpret_cast(thisDeserializer.readPointer()); + thisDeserializer.readPointer(); + CustomNodeBuilder value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + _call(_resourceId, value); +} +void deserializeAndCallSyncCallback_CustomBuilder_Void(Ark_VMContext vmContext, uint8_t* thisArray, Ark_Int32 thisLength) +{ + Deserializer thisDeserializer = Deserializer(thisArray, thisLength); + const Ark_Int32 _resourceId = thisDeserializer.readInt32(); + thisDeserializer.readPointer(); + const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); + CustomNodeBuilder value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_CustomNodeBuilder)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_CustomNodeBuilder))))}; + _callSync(vmContext, _resourceId, value); +} void deserializeAndCallCallback_CutEvent_Void(uint8_t* thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -607,11 +590,11 @@ void deserializeAndCallCallback_DragEvent_String_Union_CustomBuilder_DragItemInf const Ark_Int32 _resourceId = thisDeserializer.readInt32(); const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); - Ark_DragEvent event = thisDeserializer.readDragEvent(); + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (extraParams_buf_runtimeType)) + 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()); } @@ -625,11 +608,11 @@ void deserializeAndCallSyncCallback_DragEvent_String_Union_CustomBuilder_DragIte const Ark_Int32 _resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); - Ark_DragEvent event = thisDeserializer.readDragEvent(); + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (extraParams_buf_runtimeType)) + 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()); } @@ -643,11 +626,11 @@ void deserializeAndCallCallback_DragEvent_String_Void(uint8_t* thisArray, Ark_In const Ark_Int32 _resourceId = thisDeserializer.readInt32(); const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); - Ark_DragEvent event = thisDeserializer.readDragEvent(); + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (extraParams_buf_runtimeType)) + 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()); } @@ -660,11 +643,11 @@ void deserializeAndCallSyncCallback_DragEvent_String_Void(Ark_VMContext vmContex const Ark_Int32 _resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); - Ark_DragEvent event = thisDeserializer.readDragEvent(); + 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 == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (extraParams_buf_runtimeType)) + 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()); } @@ -731,7 +714,7 @@ void deserializeAndCallCallback_GestureEvent_Void(uint8_t* thisArray, Ark_Int32 const Ark_Int32 _resourceId = thisDeserializer.readInt32(); const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); - Ark_GestureEvent event = thisDeserializer.readGestureEvent(); + Ark_GestureEvent event = static_cast(thisDeserializer.readGestureEvent()); _call(_resourceId, event); } void deserializeAndCallSyncCallback_GestureEvent_Void(Ark_VMContext vmContext, uint8_t* thisArray, Ark_Int32 thisLength) @@ -740,7 +723,7 @@ void deserializeAndCallSyncCallback_GestureEvent_Void(Ark_VMContext vmContext, u const Ark_Int32 _resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); - Ark_GestureEvent event = thisDeserializer.readGestureEvent(); + Ark_GestureEvent event = static_cast(thisDeserializer.readGestureEvent()); _callSync(vmContext, _resourceId, event); } void deserializeAndCallCallback_GestureInfo_BaseGestureEvent_GestureJudgeResult(uint8_t* thisArray, Ark_Int32 thisLength) @@ -750,7 +733,7 @@ void deserializeAndCallCallback_GestureInfo_BaseGestureEvent_GestureJudgeResult( const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); Ark_GestureInfo gestureInfo = thisDeserializer.readGestureInfo(); - Ark_BaseGestureEvent event = thisDeserializer.readBaseGestureEvent(); + Ark_BaseGestureEvent event = static_cast(thisDeserializer.readBaseGestureEvent()); Callback_GestureJudgeResult_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureJudgeResult_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureJudgeResult_Void))))}; _call(_resourceId, gestureInfo, event, _continuation); } @@ -761,7 +744,7 @@ void deserializeAndCallSyncCallback_GestureInfo_BaseGestureEvent_GestureJudgeRes thisDeserializer.readPointer(); const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); Ark_GestureInfo gestureInfo = thisDeserializer.readGestureInfo(); - Ark_BaseGestureEvent event = thisDeserializer.readBaseGestureEvent(); + Ark_BaseGestureEvent event = static_cast(thisDeserializer.readBaseGestureEvent()); Callback_GestureJudgeResult_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureJudgeResult_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureJudgeResult_Void))))}; _callSync(vmContext, _resourceId, gestureInfo, event, _continuation); } @@ -875,26 +858,26 @@ void deserializeAndCallSyncCallback_IsolatedComponentAttribute_Void(Ark_VMContex Ark_IsolatedComponentAttribute value = thisDeserializer.readIsolatedComponentAttribute(); _callSync(vmContext, _resourceId, value); } -void deserializeAndCallCallback_ItemDragInfo_Number_Callback_Any(uint8_t* thisArray, Ark_Int32 thisLength) +void deserializeAndCallCallback_ItemDragInfo_Number_CustomBuilder(uint8_t* 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(); Ark_ItemDragInfo event = thisDeserializer.readItemDragInfo(); Ark_Number itemIndex = static_cast(thisDeserializer.readNumber()); - Callback_Callback_Any_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Callback_Any_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Callback_Any_Void))))}; + 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))))}; _call(_resourceId, event, itemIndex, _continuation); } -void deserializeAndCallSyncCallback_ItemDragInfo_Number_Callback_Any(Ark_VMContext vmContext, uint8_t* thisArray, Ark_Int32 thisLength) +void deserializeAndCallSyncCallback_ItemDragInfo_Number_CustomBuilder(Ark_VMContext vmContext, uint8_t* 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_ItemDragInfo event = thisDeserializer.readItemDragInfo(); Ark_Number itemIndex = static_cast(thisDeserializer.readNumber()); - Callback_Callback_Any_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Callback_Any_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Callback_Any_Void))))}; + 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 deserializeAndCallCallback_ItemDragInfo_Number_Number_Boolean_Void(uint8_t* thisArray, Ark_Int32 thisLength) @@ -987,7 +970,7 @@ void deserializeAndCallCallback_KeyEvent_Boolean(uint8_t* thisArray, Ark_Int32 t const Ark_Int32 _resourceId = thisDeserializer.readInt32(); const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); - Ark_KeyEvent parameter = thisDeserializer.readKeyEvent(); + Ark_KeyEvent parameter = static_cast(thisDeserializer.readKeyEvent()); 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); } @@ -997,7 +980,7 @@ void deserializeAndCallSyncCallback_KeyEvent_Boolean(Ark_VMContext vmContext, ui const Ark_Int32 _resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); - Ark_KeyEvent parameter = thisDeserializer.readKeyEvent(); + Ark_KeyEvent parameter = static_cast(thisDeserializer.readKeyEvent()); 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); } @@ -1007,7 +990,7 @@ void deserializeAndCallCallback_KeyEvent_Void(uint8_t* thisArray, Ark_Int32 this const Ark_Int32 _resourceId = thisDeserializer.readInt32(); const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); - Ark_KeyEvent event = thisDeserializer.readKeyEvent(); + Ark_KeyEvent event = static_cast(thisDeserializer.readKeyEvent()); _call(_resourceId, event); } void deserializeAndCallSyncCallback_KeyEvent_Void(Ark_VMContext vmContext, uint8_t* thisArray, Ark_Int32 thisLength) @@ -1016,7 +999,7 @@ void deserializeAndCallSyncCallback_KeyEvent_Void(Ark_VMContext vmContext, uint8 const Ark_Int32 _resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); - Ark_KeyEvent event = thisDeserializer.readKeyEvent(); + Ark_KeyEvent event = static_cast(thisDeserializer.readKeyEvent()); _callSync(vmContext, _resourceId, event); } void deserializeAndCallCallback_Literal_Boolean_isVisible_Void(uint8_t* thisArray, Ark_Int32 thisLength) @@ -1041,44 +1024,6 @@ void deserializeAndCallSyncCallback_Literal_Boolean_isVisible_Void(Ark_VMContext Ark_Literal_Boolean_isVisible event = event_buf; _callSync(vmContext, _resourceId, event); } -void deserializeAndCallCallback_Literal_Function_callback_Object_fileSelector_Void(uint8_t* 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 event_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Literal_Function_callback_Object_fileSelector event_buf = {}; - event_buf.tag = event_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) - { - Ark_Literal_Function_callback_Object_fileSelector event_buf_ = {}; - event_buf_.callback = static_cast(thisDeserializer.readFunction()); - event_buf_.fileSelector = static_cast(thisDeserializer.readCustomObject("Object")); - event_buf.value = event_buf_; - } - Opt_Literal_Function_callback_Object_fileSelector event = event_buf; - _call(_resourceId, event); -} -void deserializeAndCallSyncCallback_Literal_Function_callback_Object_fileSelector_Void(Ark_VMContext vmContext, uint8_t* 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 event_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_Literal_Function_callback_Object_fileSelector event_buf = {}; - event_buf.tag = event_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) - { - Ark_Literal_Function_callback_Object_fileSelector event_buf_ = {}; - event_buf_.callback = static_cast(thisDeserializer.readFunction()); - event_buf_.fileSelector = static_cast(thisDeserializer.readCustomObject("Object")); - event_buf.value = event_buf_; - } - Opt_Literal_Function_callback_Object_fileSelector event = event_buf; - _callSync(vmContext, _resourceId, event); -} void deserializeAndCallCallback_Literal_Function_handler_Object_error_Void(uint8_t* thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -1087,8 +1032,8 @@ void deserializeAndCallCallback_Literal_Function_handler_Object_error_Void(uint8 thisDeserializer.readPointer(); const auto event_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Literal_Function_handler_Object_error event_buf = {}; - event_buf.tag = event_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) + event_buf.tag = event_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) { Ark_Literal_Function_handler_Object_error event_buf_ = {}; event_buf_.handler = static_cast(thisDeserializer.readFunction()); @@ -1106,8 +1051,8 @@ void deserializeAndCallSyncCallback_Literal_Function_handler_Object_error_Void(A const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); const auto event_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Literal_Function_handler_Object_error event_buf = {}; - event_buf.tag = event_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) + event_buf.tag = event_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) { Ark_Literal_Function_handler_Object_error event_buf_ = {}; event_buf_.handler = static_cast(thisDeserializer.readFunction()); @@ -1127,8 +1072,8 @@ void deserializeAndCallCallback_Literal_Number_code_Want_want_Void(uint8_t* this parameter_buf.code = static_cast(thisDeserializer.readNumber()); const auto parameter_buf_want_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Want parameter_buf_want_buf = {}; - parameter_buf_want_buf.tag = parameter_buf_want_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (parameter_buf_want_buf_runtimeType)) + parameter_buf_want_buf.tag = parameter_buf_want_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (parameter_buf_want_buf_runtimeType)) { parameter_buf_want_buf.value = thisDeserializer.readWant(); } @@ -1146,8 +1091,8 @@ void deserializeAndCallSyncCallback_Literal_Number_code_Want_want_Void(Ark_VMCon parameter_buf.code = static_cast(thisDeserializer.readNumber()); const auto parameter_buf_want_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Want parameter_buf_want_buf = {}; - parameter_buf_want_buf.tag = parameter_buf_want_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (parameter_buf_want_buf_runtimeType)) + parameter_buf_want_buf.tag = parameter_buf_want_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (parameter_buf_want_buf_runtimeType)) { parameter_buf_want_buf.value = thisDeserializer.readWant(); } @@ -1209,8 +1154,8 @@ void deserializeAndCallCallback_Literal_Object_detail_Boolean(uint8_t* thisArray thisDeserializer.readPointer(); const auto event_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Literal_Object_detail event_buf = {}; - event_buf.tag = event_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) + event_buf.tag = event_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) { Ark_Literal_Object_detail event_buf_ = {}; event_buf_.detail = static_cast(thisDeserializer.readCustomObject("Object")); @@ -1228,8 +1173,8 @@ void deserializeAndCallSyncCallback_Literal_Object_detail_Boolean(Ark_VMContext const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); const auto event_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Literal_Object_detail event_buf = {}; - event_buf.tag = event_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) + event_buf.tag = event_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) { Ark_Literal_Object_detail event_buf_ = {}; event_buf_.detail = static_cast(thisDeserializer.readCustomObject("Object")); @@ -1267,7 +1212,7 @@ void deserializeAndCallCallback_MouseEvent_Void(uint8_t* thisArray, Ark_Int32 th const Ark_Int32 _resourceId = thisDeserializer.readInt32(); const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); - Ark_MouseEvent event = thisDeserializer.readMouseEvent(); + Ark_MouseEvent event = static_cast(thisDeserializer.readMouseEvent()); _call(_resourceId, event); } void deserializeAndCallSyncCallback_MouseEvent_Void(Ark_VMContext vmContext, uint8_t* thisArray, Ark_Int32 thisLength) @@ -1276,7 +1221,7 @@ void deserializeAndCallSyncCallback_MouseEvent_Void(Ark_VMContext vmContext, uin const Ark_Int32 _resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); - Ark_MouseEvent event = thisDeserializer.readMouseEvent(); + Ark_MouseEvent event = static_cast(thisDeserializer.readMouseEvent()); _callSync(vmContext, _resourceId, event); } void deserializeAndCallCallback_NativeEmbedDataInfo_Void(uint8_t* thisArray, Ark_Int32 thisLength) @@ -1537,26 +1482,6 @@ void deserializeAndCallSyncCallback_Number_ScrollState_Literal_Number_offsetRema Callback_Literal_Number_offsetRemain_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Literal_Number_offsetRemain_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Literal_Number_offsetRemain_Void))))}; _callSync(vmContext, _resourceId, offset, state, _continuation); } -void deserializeAndCallCallback_Number_ScrollState_Void(uint8_t* 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 scrollOffset = static_cast(thisDeserializer.readNumber()); - Ark_ScrollState scrollState = static_cast(thisDeserializer.readInt32()); - _call(_resourceId, scrollOffset, scrollState); -} -void deserializeAndCallSyncCallback_Number_ScrollState_Void(Ark_VMContext vmContext, uint8_t* 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 scrollOffset = static_cast(thisDeserializer.readNumber()); - Ark_ScrollState scrollState = static_cast(thisDeserializer.readInt32()); - _callSync(vmContext, _resourceId, scrollOffset, scrollState); -} void deserializeAndCallCallback_Number_SliderChangeMode_Void(uint8_t* thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -2367,8 +2292,8 @@ void deserializeAndCallCallback_Opt_Array_String_Void(uint8_t* thisArray, Ark_In thisDeserializer.readPointer(); const auto error_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Array_String error_buf = {}; - error_buf.tag = error_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (error_buf_runtimeType)) + error_buf.tag = error_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (error_buf_runtimeType)) { const Ark_Int32 error_buf__length = thisDeserializer.readInt32(); Array_String error_buf_ = {}; @@ -2390,8 +2315,8 @@ void deserializeAndCallSyncCallback_Opt_Array_String_Void(Ark_VMContext vmContex const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); const auto error_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Array_String error_buf = {}; - error_buf.tag = error_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (error_buf_runtimeType)) + error_buf.tag = error_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (error_buf_runtimeType)) { const Ark_Int32 error_buf__length = thisDeserializer.readInt32(); Array_String error_buf_ = {}; @@ -2413,8 +2338,8 @@ void deserializeAndCallCallback_Opt_NavigationAnimatedTransition_Void(uint8_t* t thisDeserializer.readPointer(); const auto value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_NavigationAnimatedTransition value_buf = {}; - value_buf.tag = value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) + 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 = thisDeserializer.readNavigationAnimatedTransition(); } @@ -2429,8 +2354,8 @@ void deserializeAndCallSyncCallback_Opt_NavigationAnimatedTransition_Void(Ark_VM const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); const auto value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_NavigationAnimatedTransition value_buf = {}; - value_buf.tag = value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) + 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 = thisDeserializer.readNavigationAnimatedTransition(); } @@ -2445,16 +2370,16 @@ void deserializeAndCallCallback_Opt_StyledString_Opt_Array_String_Void(uint8_t* thisDeserializer.readPointer(); const auto value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_StyledString value_buf = {}; - value_buf.tag = value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) + 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(thisDeserializer.readStyledString()); } Opt_StyledString value = value_buf; const auto error_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Array_String error_buf = {}; - error_buf.tag = error_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (error_buf_runtimeType)) + error_buf.tag = error_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (error_buf_runtimeType)) { const Ark_Int32 error_buf__length = thisDeserializer.readInt32(); Array_String error_buf_ = {}; @@ -2476,16 +2401,16 @@ void deserializeAndCallSyncCallback_Opt_StyledString_Opt_Array_String_Void(Ark_V const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); const auto value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_StyledString value_buf = {}; - value_buf.tag = value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) + 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(thisDeserializer.readStyledString()); } Opt_StyledString value = value_buf; const auto error_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Array_String error_buf = {}; - error_buf.tag = error_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (error_buf_runtimeType)) + error_buf.tag = error_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (error_buf_runtimeType)) { const Ark_Int32 error_buf__length = thisDeserializer.readInt32(); Array_String error_buf_ = {}; @@ -2507,8 +2432,8 @@ void deserializeAndCallCallback_Opt_TabContentAnimatedTransition_Void(uint8_t* t thisDeserializer.readPointer(); const auto value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_TabContentAnimatedTransition value_buf = {}; - value_buf.tag = value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) + 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 = thisDeserializer.readTabContentAnimatedTransition(); } @@ -2523,8 +2448,8 @@ void deserializeAndCallSyncCallback_Opt_TabContentAnimatedTransition_Void(Ark_VM const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); const auto value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_TabContentAnimatedTransition value_buf = {}; - value_buf.tag = value_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (value_buf_runtimeType)) + 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 = thisDeserializer.readTabContentAnimatedTransition(); } @@ -3079,7 +3004,7 @@ void deserializeAndCallCallback_TouchEvent_HitTestMode(uint8_t* thisArray, Ark_I const Ark_Int32 _resourceId = thisDeserializer.readInt32(); const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); - Ark_TouchEvent parameter = thisDeserializer.readTouchEvent(); + Ark_TouchEvent parameter = static_cast(thisDeserializer.readTouchEvent()); Callback_HitTestMode_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_HitTestMode_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_HitTestMode_Void))))}; _call(_resourceId, parameter, _continuation); } @@ -3089,7 +3014,7 @@ void deserializeAndCallSyncCallback_TouchEvent_HitTestMode(Ark_VMContext vmConte const Ark_Int32 _resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); - Ark_TouchEvent parameter = thisDeserializer.readTouchEvent(); + Ark_TouchEvent parameter = static_cast(thisDeserializer.readTouchEvent()); Callback_HitTestMode_Void _continuation = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_HitTestMode_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_HitTestMode_Void))))}; _callSync(vmContext, _resourceId, parameter, _continuation); } @@ -3099,7 +3024,7 @@ void deserializeAndCallCallback_TouchEvent_Void(uint8_t* thisArray, Ark_Int32 th const Ark_Int32 _resourceId = thisDeserializer.readInt32(); const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); - Ark_TouchEvent event = thisDeserializer.readTouchEvent(); + Ark_TouchEvent event = static_cast(thisDeserializer.readTouchEvent()); _call(_resourceId, event); } void deserializeAndCallSyncCallback_TouchEvent_Void(Ark_VMContext vmContext, uint8_t* thisArray, Ark_Int32 thisLength) @@ -3108,7 +3033,7 @@ void deserializeAndCallSyncCallback_TouchEvent_Void(Ark_VMContext vmContext, uin const Ark_Int32 _resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); - Ark_TouchEvent event = thisDeserializer.readTouchEvent(); + Ark_TouchEvent event = static_cast(thisDeserializer.readTouchEvent()); _callSync(vmContext, _resourceId, event); } void deserializeAndCallCallback_TouchResult_Void(uint8_t* thisArray, Ark_Int32 thisLength) @@ -3189,8 +3114,8 @@ void deserializeAndCallCallback_Type_ImageAttribute_onComplete_callback_event_Vo thisDeserializer.readPointer(); const auto event_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Type_ImageAttribute_onComplete_callback_event event_buf = {}; - event_buf.tag = event_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) + event_buf.tag = event_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) { Ark_Type_ImageAttribute_onComplete_callback_event event_buf_ = {}; event_buf_.width = static_cast(thisDeserializer.readNumber()); @@ -3215,8 +3140,8 @@ void deserializeAndCallSyncCallback_Type_ImageAttribute_onComplete_callback_even const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); const auto event_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Type_ImageAttribute_onComplete_callback_event event_buf = {}; - event_buf.tag = event_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) + event_buf.tag = event_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) { Ark_Type_ImageAttribute_onComplete_callback_event event_buf_ = {}; event_buf_.width = static_cast(thisDeserializer.readNumber()); @@ -3420,8 +3345,8 @@ void deserializeAndCallEditableTextOnChangeCallback(uint8_t* thisArray, Ark_Int3 Ark_String value = static_cast(thisDeserializer.readString()); const auto previewText_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_PreviewText previewText_buf = {}; - previewText_buf.tag = previewText_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (previewText_buf_runtimeType)) + 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 = thisDeserializer.readPreviewText(); } @@ -3437,8 +3362,8 @@ void deserializeAndCallSyncEditableTextOnChangeCallback(Ark_VMContext vmContext, Ark_String value = static_cast(thisDeserializer.readString()); const auto previewText_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_PreviewText previewText_buf = {}; - previewText_buf.tag = previewText_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (previewText_buf_runtimeType)) + 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 = thisDeserializer.readPreviewText(); } @@ -3451,7 +3376,7 @@ void deserializeAndCallGestureRecognizerJudgeBeginCallback(uint8_t* thisArray, A const Ark_Int32 _resourceId = thisDeserializer.readInt32(); const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); - Ark_BaseGestureEvent event = thisDeserializer.readBaseGestureEvent(); + Ark_BaseGestureEvent event = static_cast(thisDeserializer.readBaseGestureEvent()); Ark_GestureRecognizer current = static_cast(thisDeserializer.readGestureRecognizer()); const Ark_Int32 recognizers_buf_length = thisDeserializer.readInt32(); Array_GestureRecognizer recognizers_buf = {}; @@ -3470,7 +3395,7 @@ void deserializeAndCallSyncGestureRecognizerJudgeBeginCallback(Ark_VMContext vmC const Ark_Int32 _resourceId = thisDeserializer.readInt32(); thisDeserializer.readPointer(); const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); - Ark_BaseGestureEvent event = thisDeserializer.readBaseGestureEvent(); + Ark_BaseGestureEvent event = static_cast(thisDeserializer.readBaseGestureEvent()); Ark_GestureRecognizer current = static_cast(thisDeserializer.readGestureRecognizer()); const Ark_Int32 recognizers_buf_length = thisDeserializer.readInt32(); Array_GestureRecognizer recognizers_buf = {}; @@ -3510,7 +3435,7 @@ void deserializeAndCallHoverCallback(uint8_t* thisArray, Ark_Int32 thisLength) const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); Ark_Boolean isHover = thisDeserializer.readBoolean(); - Ark_HoverEvent event = thisDeserializer.readHoverEvent(); + Ark_HoverEvent event = static_cast(thisDeserializer.readHoverEvent()); _call(_resourceId, isHover, event); } void deserializeAndCallSyncHoverCallback(Ark_VMContext vmContext, uint8_t* thisArray, Ark_Int32 thisLength) @@ -3520,7 +3445,7 @@ void deserializeAndCallSyncHoverCallback(Ark_VMContext vmContext, uint8_t* thisA thisDeserializer.readPointer(); const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); Ark_Boolean isHover = thisDeserializer.readBoolean(); - Ark_HoverEvent event = thisDeserializer.readHoverEvent(); + Ark_HoverEvent event = static_cast(thisDeserializer.readHoverEvent()); _callSync(vmContext, _resourceId, isHover, event); } void deserializeAndCallImageCompleteCallback(uint8_t* thisArray, Ark_Int32 thisLength) @@ -4037,8 +3962,8 @@ void deserializeAndCallOnNativeLoadCallback(uint8_t* thisArray, Ark_Int32 thisLe thisDeserializer.readPointer(); const auto event_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_CustomObject event_buf = {}; - event_buf.tag = event_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) + event_buf.tag = event_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) { event_buf.value = static_cast(thisDeserializer.readCustomObject("Object")); } @@ -4053,8 +3978,8 @@ void deserializeAndCallSyncOnNativeLoadCallback(Ark_VMContext vmContext, uint8_t const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); const auto event_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_CustomObject event_buf = {}; - event_buf.tag = event_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) + event_buf.tag = event_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) { event_buf.value = static_cast(thisDeserializer.readCustomObject("Object")); } @@ -4276,7 +4201,7 @@ void deserializeAndCallOnSubmitCallback(uint8_t* thisArray, Ark_Int32 thisLength const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); Ark_EnterKeyType enterKey = static_cast(thisDeserializer.readInt32()); - Ark_SubmitEvent event = thisDeserializer.readSubmitEvent(); + Ark_SubmitEvent event = static_cast(thisDeserializer.readSubmitEvent()); _call(_resourceId, enterKey, event); } void deserializeAndCallSyncOnSubmitCallback(Ark_VMContext vmContext, uint8_t* thisArray, Ark_Int32 thisLength) @@ -4286,7 +4211,7 @@ void deserializeAndCallSyncOnSubmitCallback(Ark_VMContext vmContext, uint8_t* th thisDeserializer.readPointer(); const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); Ark_EnterKeyType enterKey = static_cast(thisDeserializer.readInt32()); - Ark_SubmitEvent event = thisDeserializer.readSubmitEvent(); + Ark_SubmitEvent event = static_cast(thisDeserializer.readSubmitEvent()); _callSync(vmContext, _resourceId, enterKey, event); } void deserializeAndCallOnSwiperAnimationEndCallback(uint8_t* thisArray, Ark_Int32 thisLength) @@ -4501,8 +4426,8 @@ void deserializeAndCallPasteEventCallback(uint8_t* thisArray, Ark_Int32 thisLeng thisDeserializer.readPointer(); const auto event_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_PasteEvent event_buf = {}; - event_buf.tag = event_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) + event_buf.tag = event_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) { event_buf.value = thisDeserializer.readPasteEvent(); } @@ -4517,8 +4442,8 @@ void deserializeAndCallSyncPasteEventCallback(Ark_VMContext vmContext, uint8_t* const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); const auto event_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_PasteEvent event_buf = {}; - event_buf.tag = event_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) + event_buf.tag = event_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) { event_buf.value = thisDeserializer.readPasteEvent(); } @@ -4600,10 +4525,10 @@ void deserializeAndCallSearchSubmitCallback(uint8_t* thisArray, Ark_Int32 thisLe Ark_String searchContent = static_cast(thisDeserializer.readString()); const auto event_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_SubmitEvent event_buf = {}; - event_buf.tag = event_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) + event_buf.tag = event_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) { - event_buf.value = thisDeserializer.readSubmitEvent(); + event_buf.value = static_cast(thisDeserializer.readSubmitEvent()); } Opt_SubmitEvent event = event_buf; _call(_resourceId, searchContent, event); @@ -4617,10 +4542,10 @@ void deserializeAndCallSyncSearchSubmitCallback(Ark_VMContext vmContext, uint8_t Ark_String searchContent = static_cast(thisDeserializer.readString()); const auto event_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_SubmitEvent event_buf = {}; - event_buf.tag = event_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) + event_buf.tag = event_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) { - event_buf.value = thisDeserializer.readSubmitEvent(); + event_buf.value = static_cast(thisDeserializer.readSubmitEvent()); } Opt_SubmitEvent event = event_buf; _callSync(vmContext, _resourceId, searchContent, event); @@ -4708,7 +4633,7 @@ void deserializeAndCallSubmitCallback(uint8_t* thisArray, Ark_Int32 thisLength) const auto _call = reinterpret_cast(thisDeserializer.readPointer()); thisDeserializer.readPointer(); Ark_EnterKeyType enterKey = static_cast(thisDeserializer.readInt32()); - Ark_SubmitEvent event = thisDeserializer.readSubmitEvent(); + Ark_SubmitEvent event = static_cast(thisDeserializer.readSubmitEvent()); _call(_resourceId, enterKey, event); } void deserializeAndCallSyncSubmitCallback(Ark_VMContext vmContext, uint8_t* thisArray, Ark_Int32 thisLength) @@ -4718,7 +4643,7 @@ void deserializeAndCallSyncSubmitCallback(Ark_VMContext vmContext, uint8_t* this thisDeserializer.readPointer(); const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); Ark_EnterKeyType enterKey = static_cast(thisDeserializer.readInt32()); - Ark_SubmitEvent event = thisDeserializer.readSubmitEvent(); + Ark_SubmitEvent event = static_cast(thisDeserializer.readSubmitEvent()); _callSync(vmContext, _resourceId, enterKey, event); } void deserializeAndCallTabsCustomContentTransitionCallback(uint8_t* thisArray, Ark_Int32 thisLength) @@ -4752,10 +4677,10 @@ void deserializeAndCallTextAreaSubmitCallback(uint8_t* thisArray, Ark_Int32 this Ark_EnterKeyType enterKeyType = static_cast(thisDeserializer.readInt32()); const auto event_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_SubmitEvent event_buf = {}; - event_buf.tag = event_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) + event_buf.tag = event_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) { - event_buf.value = thisDeserializer.readSubmitEvent(); + event_buf.value = static_cast(thisDeserializer.readSubmitEvent()); } Opt_SubmitEvent event = event_buf; _call(_resourceId, enterKeyType, event); @@ -4769,10 +4694,10 @@ void deserializeAndCallSyncTextAreaSubmitCallback(Ark_VMContext vmContext, uint8 Ark_EnterKeyType enterKeyType = static_cast(thisDeserializer.readInt32()); const auto event_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_SubmitEvent event_buf = {}; - event_buf.tag = event_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) + event_buf.tag = event_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) { - event_buf.value = thisDeserializer.readSubmitEvent(); + event_buf.value = static_cast(thisDeserializer.readSubmitEvent()); } Opt_SubmitEvent event = event_buf; _callSync(vmContext, _resourceId, enterKeyType, event); @@ -4923,6 +4848,44 @@ void deserializeAndCallSyncType_TextPickerAttribute_onChange_callback(Ark_VMCont Ark_Union_Number_Array_Number index = static_cast(index_buf); _callSync(vmContext, _resourceId, value, index); } +void deserializeAndCallType_WebAttribute_onFileSelectorShow_callback(uint8_t* 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 event_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Literal_Function_callback__Object_fileSelector event_buf = {}; + event_buf.tag = event_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) + { + Ark_Literal_Function_callback__Object_fileSelector event_buf_ = {}; + event_buf_.callback_ = static_cast(thisDeserializer.readFunction()); + event_buf_.fileSelector = static_cast(thisDeserializer.readCustomObject("Object")); + event_buf.value = event_buf_; + } + Opt_Literal_Function_callback__Object_fileSelector event = event_buf; + _call(_resourceId, event); +} +void deserializeAndCallSyncType_WebAttribute_onFileSelectorShow_callback(Ark_VMContext vmContext, uint8_t* 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 event_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Literal_Function_callback__Object_fileSelector event_buf = {}; + event_buf.tag = event_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) + { + Ark_Literal_Function_callback__Object_fileSelector event_buf_ = {}; + event_buf_.callback_ = static_cast(thisDeserializer.readFunction()); + event_buf_.fileSelector = static_cast(thisDeserializer.readCustomObject("Object")); + event_buf.value = event_buf_; + } + Opt_Literal_Function_callback__Object_fileSelector event = event_buf; + _callSync(vmContext, _resourceId, event); +} void deserializeAndCallType_WebAttribute_onUrlLoadIntercept_callback(uint8_t* thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -4931,8 +4894,8 @@ void deserializeAndCallType_WebAttribute_onUrlLoadIntercept_callback(uint8_t* th thisDeserializer.readPointer(); const auto event_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Literal_Union_String_WebResourceRequest_data event_buf = {}; - event_buf.tag = event_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) + event_buf.tag = event_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) { Ark_Literal_Union_String_WebResourceRequest_data event_buf_ = {}; const Ark_Int8 event_buf__data_buf_selector = thisDeserializer.readInt8(); @@ -4964,8 +4927,8 @@ void deserializeAndCallSyncType_WebAttribute_onUrlLoadIntercept_callback(Ark_VMC const auto _callSync = reinterpret_cast(thisDeserializer.readPointer()); const auto event_buf_runtimeType = static_cast(thisDeserializer.readInt8()); Opt_Literal_Union_String_WebResourceRequest_data event_buf = {}; - event_buf.tag = event_buf_runtimeType == ARK_RUNTIME_UNDEFINED ? ARK_TAG_UNDEFINED : ARK_TAG_OBJECT; - if ((ARK_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) + event_buf.tag = event_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (event_buf_runtimeType)) { Ark_Literal_Union_String_WebResourceRequest_data event_buf_ = {}; const Ark_Int8 event_buf__data_buf_selector = thisDeserializer.readInt8(); @@ -5070,7 +5033,6 @@ void deserializeAndCallCallback(Ark_Int32 kind, uint8_t* thisArray, Ark_Int32 th switch (kind) { case 589030517/*Kind_AccessibilityCallback*/: return deserializeAndCallAccessibilityCallback(thisArray, thisLength); case -1964292933/*Kind_ButtonTriggerClickCallback*/: return deserializeAndCallButtonTriggerClickCallback(thisArray, thisLength); - case -2139018190/*Kind_Callback_Any*/: return deserializeAndCallCallback_Any(thisArray, thisLength); case 197193081/*Kind_Callback_Any_Void*/: return deserializeAndCallCallback_Any_Void(thisArray, thisLength); case -2024393616/*Kind_Callback_Area_Area_Void*/: return deserializeAndCallCallback_Area_Area_Void(thisArray, thisLength); case 582384234/*Kind_Callback_Array_Number_Void*/: return deserializeAndCallCallback_Array_Number_Void(thisArray, thisLength); @@ -5081,13 +5043,13 @@ void deserializeAndCallCallback(Ark_Int32 kind, uint8_t* thisArray, Ark_Int32 th case 313269291/*Kind_Callback_Boolean_Void*/: return deserializeAndCallCallback_Boolean_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 1931725935/*Kind_Callback_Callback_Any_Void*/: return deserializeAndCallCallback_Callback_Any_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 -721106019/*Kind_Callback_CustomBuilder_Void*/: return deserializeAndCallCallback_CustomBuilder_Void(thisArray, thisLength); case -1875695871/*Kind_Callback_CutEvent_Void*/: return deserializeAndCallCallback_CutEvent_Void(thisArray, thisLength); case 1405382363/*Kind_Callback_Date_Void*/: return deserializeAndCallCallback_Date_Void(thisArray, thisLength); case 1280920532/*Kind_Callback_DatePickerResult_Void*/: return deserializeAndCallCallback_DatePickerResult_Void(thisArray, thisLength); @@ -5110,7 +5072,7 @@ void deserializeAndCallCallback(Ark_Int32 kind, uint8_t* thisArray, Ark_Int32 th 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 719029905/*Kind_Callback_IsolatedComponentAttribute_Void*/: return deserializeAndCallCallback_IsolatedComponentAttribute_Void(thisArray, thisLength); - case 464274540/*Kind_Callback_ItemDragInfo_Number_Callback_Any*/: return deserializeAndCallCallback_ItemDragInfo_Number_Callback_Any(thisArray, thisLength); + case 2071721246/*Kind_Callback_ItemDragInfo_Number_CustomBuilder*/: return deserializeAndCallCallback_ItemDragInfo_Number_CustomBuilder(thisArray, thisLength); case -1627362945/*Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void*/: return deserializeAndCallCallback_ItemDragInfo_Number_Number_Boolean_Void(thisArray, thisLength); case -918805852/*Kind_Callback_ItemDragInfo_Number_Number_Void*/: return deserializeAndCallCallback_ItemDragInfo_Number_Number_Void(thisArray, thisLength); case 296908152/*Kind_Callback_ItemDragInfo_Number_Void*/: return deserializeAndCallCallback_ItemDragInfo_Number_Void(thisArray, thisLength); @@ -5118,7 +5080,6 @@ void deserializeAndCallCallback(Ark_Int32 kind, uint8_t* thisArray, Ark_Int32 th case -2061548092/*Kind_Callback_KeyEvent_Boolean*/: return deserializeAndCallCallback_KeyEvent_Boolean(thisArray, thisLength); case 707696468/*Kind_Callback_KeyEvent_Void*/: return deserializeAndCallCallback_KeyEvent_Void(thisArray, thisLength); case -1561407084/*Kind_Callback_Literal_Boolean_isVisible_Void*/: return deserializeAndCallCallback_Literal_Boolean_isVisible_Void(thisArray, thisLength); - case 1754134729/*Kind_Callback_Literal_Function_callback_Object_fileSelector_Void*/: return deserializeAndCallCallback_Literal_Function_callback_Object_fileSelector_Void(thisArray, thisLength); case 361012115/*Kind_Callback_Literal_Function_handler_Object_error_Void*/: return deserializeAndCallCallback_Literal_Function_handler_Object_error_Void(thisArray, thisLength); case -582934742/*Kind_Callback_Literal_Number_code_Want_want_Void*/: return deserializeAndCallCallback_Literal_Number_code_Want_want_Void(thisArray, thisLength); case 1321277443/*Kind_Callback_Literal_Number_errcode_String_msg_Void*/: return deserializeAndCallCallback_Literal_Number_errcode_String_msg_Void(thisArray, thisLength); @@ -5139,7 +5100,6 @@ void deserializeAndCallCallback(Ark_Int32 kind, uint8_t* thisArray, Ark_Int32 th case 1613628570/*Kind_Callback_Number_Number_PanelMode_Void*/: return deserializeAndCallCallback_Number_Number_PanelMode_Void(thisArray, thisLength); case 1894574320/*Kind_Callback_Number_Number_Void*/: return deserializeAndCallCallback_Number_Number_Void(thisArray, thisLength); case 2012829508/*Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain*/: return deserializeAndCallCallback_Number_ScrollState_Literal_Number_offsetRemain(thisArray, thisLength); - case -1844695159/*Kind_Callback_Number_ScrollState_Void*/: return deserializeAndCallCallback_Number_ScrollState_Void(thisArray, thisLength); case 88697971/*Kind_Callback_Number_SliderChangeMode_Void*/: return deserializeAndCallCallback_Number_SliderChangeMode_Void(thisArray, thisLength); case 794065478/*Kind_Callback_Number_String_Void*/: return deserializeAndCallCallback_Number_String_Void(thisArray, thisLength); case 1602877440/*Kind_Callback_Number_Tuple_Number_Number*/: return deserializeAndCallCallback_Number_Tuple_Number_Number(thisArray, thisLength); @@ -5295,6 +5255,7 @@ void deserializeAndCallCallback(Ark_Int32 kind, uint8_t* thisArray, Ark_Int32 th case -1878458553/*Kind_TransitionFinishCallback*/: return deserializeAndCallTransitionFinishCallback(thisArray, thisLength); case 1044833488/*Kind_Type_NavigationAttribute_customNavContentTransition_delegate*/: return deserializeAndCallType_NavigationAttribute_customNavContentTransition_delegate(thisArray, thisLength); case -1078223620/*Kind_Type_TextPickerAttribute_onChange_callback*/: return deserializeAndCallType_TextPickerAttribute_onChange_callback(thisArray, thisLength); + case 1962174977/*Kind_Type_WebAttribute_onFileSelectorShow_callback*/: return deserializeAndCallType_WebAttribute_onFileSelectorShow_callback(thisArray, thisLength); case -985284966/*Kind_Type_WebAttribute_onUrlLoadIntercept_callback*/: return deserializeAndCallType_WebAttribute_onUrlLoadIntercept_callback(thisArray, thisLength); case 541663396/*Kind_VisibleAreaChangeCallback*/: return deserializeAndCallVisibleAreaChangeCallback(thisArray, thisLength); case -2038961969/*Kind_VoidCallback*/: return deserializeAndCallVoidCallback(thisArray, thisLength); @@ -5308,7 +5269,6 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, uin switch (kind) { case 589030517/*Kind_AccessibilityCallback*/: return deserializeAndCallSyncAccessibilityCallback(vmContext, thisArray, thisLength); case -1964292933/*Kind_ButtonTriggerClickCallback*/: return deserializeAndCallSyncButtonTriggerClickCallback(vmContext, thisArray, thisLength); - case -2139018190/*Kind_Callback_Any*/: return deserializeAndCallSyncCallback_Any(vmContext, thisArray, thisLength); case 197193081/*Kind_Callback_Any_Void*/: return deserializeAndCallSyncCallback_Any_Void(vmContext, thisArray, thisLength); case -2024393616/*Kind_Callback_Area_Area_Void*/: return deserializeAndCallSyncCallback_Area_Area_Void(vmContext, thisArray, thisLength); case 582384234/*Kind_Callback_Array_Number_Void*/: return deserializeAndCallSyncCallback_Array_Number_Void(vmContext, thisArray, thisLength); @@ -5319,13 +5279,13 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, uin case 313269291/*Kind_Callback_Boolean_Void*/: return deserializeAndCallSyncCallback_Boolean_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 1931725935/*Kind_Callback_Callback_Any_Void*/: return deserializeAndCallSyncCallback_Callback_Any_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 -721106019/*Kind_Callback_CustomBuilder_Void*/: return deserializeAndCallSyncCallback_CustomBuilder_Void(vmContext, thisArray, thisLength); case -1875695871/*Kind_Callback_CutEvent_Void*/: return deserializeAndCallSyncCallback_CutEvent_Void(vmContext, thisArray, thisLength); case 1405382363/*Kind_Callback_Date_Void*/: return deserializeAndCallSyncCallback_Date_Void(vmContext, thisArray, thisLength); case 1280920532/*Kind_Callback_DatePickerResult_Void*/: return deserializeAndCallSyncCallback_DatePickerResult_Void(vmContext, thisArray, thisLength); @@ -5348,7 +5308,7 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, uin 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 719029905/*Kind_Callback_IsolatedComponentAttribute_Void*/: return deserializeAndCallSyncCallback_IsolatedComponentAttribute_Void(vmContext, thisArray, thisLength); - case 464274540/*Kind_Callback_ItemDragInfo_Number_Callback_Any*/: return deserializeAndCallSyncCallback_ItemDragInfo_Number_Callback_Any(vmContext, thisArray, thisLength); + case 2071721246/*Kind_Callback_ItemDragInfo_Number_CustomBuilder*/: return deserializeAndCallSyncCallback_ItemDragInfo_Number_CustomBuilder(vmContext, thisArray, thisLength); case -1627362945/*Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void*/: return deserializeAndCallSyncCallback_ItemDragInfo_Number_Number_Boolean_Void(vmContext, thisArray, thisLength); case -918805852/*Kind_Callback_ItemDragInfo_Number_Number_Void*/: return deserializeAndCallSyncCallback_ItemDragInfo_Number_Number_Void(vmContext, thisArray, thisLength); case 296908152/*Kind_Callback_ItemDragInfo_Number_Void*/: return deserializeAndCallSyncCallback_ItemDragInfo_Number_Void(vmContext, thisArray, thisLength); @@ -5356,7 +5316,6 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, uin case -2061548092/*Kind_Callback_KeyEvent_Boolean*/: return deserializeAndCallSyncCallback_KeyEvent_Boolean(vmContext, thisArray, thisLength); case 707696468/*Kind_Callback_KeyEvent_Void*/: return deserializeAndCallSyncCallback_KeyEvent_Void(vmContext, thisArray, thisLength); case -1561407084/*Kind_Callback_Literal_Boolean_isVisible_Void*/: return deserializeAndCallSyncCallback_Literal_Boolean_isVisible_Void(vmContext, thisArray, thisLength); - case 1754134729/*Kind_Callback_Literal_Function_callback_Object_fileSelector_Void*/: return deserializeAndCallSyncCallback_Literal_Function_callback_Object_fileSelector_Void(vmContext, thisArray, thisLength); case 361012115/*Kind_Callback_Literal_Function_handler_Object_error_Void*/: return deserializeAndCallSyncCallback_Literal_Function_handler_Object_error_Void(vmContext, thisArray, thisLength); case -582934742/*Kind_Callback_Literal_Number_code_Want_want_Void*/: return deserializeAndCallSyncCallback_Literal_Number_code_Want_want_Void(vmContext, thisArray, thisLength); case 1321277443/*Kind_Callback_Literal_Number_errcode_String_msg_Void*/: return deserializeAndCallSyncCallback_Literal_Number_errcode_String_msg_Void(vmContext, thisArray, thisLength); @@ -5377,7 +5336,6 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, uin case 1613628570/*Kind_Callback_Number_Number_PanelMode_Void*/: return deserializeAndCallSyncCallback_Number_Number_PanelMode_Void(vmContext, thisArray, thisLength); case 1894574320/*Kind_Callback_Number_Number_Void*/: return deserializeAndCallSyncCallback_Number_Number_Void(vmContext, thisArray, thisLength); case 2012829508/*Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain*/: return deserializeAndCallSyncCallback_Number_ScrollState_Literal_Number_offsetRemain(vmContext, thisArray, thisLength); - case -1844695159/*Kind_Callback_Number_ScrollState_Void*/: return deserializeAndCallSyncCallback_Number_ScrollState_Void(vmContext, thisArray, thisLength); case 88697971/*Kind_Callback_Number_SliderChangeMode_Void*/: return deserializeAndCallSyncCallback_Number_SliderChangeMode_Void(vmContext, thisArray, thisLength); case 794065478/*Kind_Callback_Number_String_Void*/: return deserializeAndCallSyncCallback_Number_String_Void(vmContext, thisArray, thisLength); case 1602877440/*Kind_Callback_Number_Tuple_Number_Number*/: return deserializeAndCallSyncCallback_Number_Tuple_Number_Number(vmContext, thisArray, thisLength); @@ -5533,6 +5491,7 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, uin case -1878458553/*Kind_TransitionFinishCallback*/: return deserializeAndCallSyncTransitionFinishCallback(vmContext, thisArray, thisLength); case 1044833488/*Kind_Type_NavigationAttribute_customNavContentTransition_delegate*/: return deserializeAndCallSyncType_NavigationAttribute_customNavContentTransition_delegate(vmContext, thisArray, thisLength); case -1078223620/*Kind_Type_TextPickerAttribute_onChange_callback*/: return deserializeAndCallSyncType_TextPickerAttribute_onChange_callback(vmContext, thisArray, thisLength); + case 1962174977/*Kind_Type_WebAttribute_onFileSelectorShow_callback*/: return deserializeAndCallSyncType_WebAttribute_onFileSelectorShow_callback(vmContext, thisArray, thisLength); case -985284966/*Kind_Type_WebAttribute_onUrlLoadIntercept_callback*/: return deserializeAndCallSyncType_WebAttribute_onUrlLoadIntercept_callback(vmContext, thisArray, thisLength); case 541663396/*Kind_VisibleAreaChangeCallback*/: return deserializeAndCallSyncVisibleAreaChangeCallback(vmContext, thisArray, thisLength); case -2038961969/*Kind_VoidCallback*/: return deserializeAndCallSyncVoidCallback(vmContext, thisArray, thisLength); diff --git a/arkoala/framework/native/src/generated/callback_kind.h b/arkoala/framework/native/src/generated/callback_kind.h index 02da0cb2b..e64ac16d9 100644 --- a/arkoala/framework/native/src/generated/callback_kind.h +++ b/arkoala/framework/native/src/generated/callback_kind.h @@ -5,7 +5,6 @@ typedef enum CallbackKind { Kind_AccessibilityCallback = 589030517, Kind_ButtonTriggerClickCallback = -1964292933, - Kind_Callback_Any = -2139018190, Kind_Callback_Any_Void = 197193081, Kind_Callback_Area_Area_Void = -2024393616, Kind_Callback_Array_Number_Void = 582384234, @@ -16,13 +15,13 @@ typedef enum CallbackKind { Kind_Callback_Boolean_Void = 313269291, Kind_Callback_CalendarRequestedData_Void = 1074619005, Kind_Callback_CalendarSelectedDate_Void = -289198976, - Kind_Callback_Callback_Any_Void = 1931725935, 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_CustomBuilder_Void = -721106019, Kind_Callback_CutEvent_Void = -1875695871, Kind_Callback_Date_Void = 1405382363, Kind_Callback_DatePickerResult_Void = 1280920532, @@ -45,7 +44,7 @@ typedef enum CallbackKind { Kind_Callback_InsertValue_Boolean = -383025085, Kind_Callback_InsertValue_Void = -1121207885, Kind_Callback_IsolatedComponentAttribute_Void = 719029905, - Kind_Callback_ItemDragInfo_Number_Callback_Any = 464274540, + Kind_Callback_ItemDragInfo_Number_CustomBuilder = 2071721246, Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void = -1627362945, Kind_Callback_ItemDragInfo_Number_Number_Void = -918805852, Kind_Callback_ItemDragInfo_Number_Void = 296908152, @@ -53,7 +52,6 @@ typedef enum CallbackKind { Kind_Callback_KeyEvent_Boolean = -2061548092, Kind_Callback_KeyEvent_Void = 707696468, Kind_Callback_Literal_Boolean_isVisible_Void = -1561407084, - Kind_Callback_Literal_Function_callback_Object_fileSelector_Void = 1754134729, Kind_Callback_Literal_Function_handler_Object_error_Void = 361012115, Kind_Callback_Literal_Number_code_Want_want_Void = -582934742, Kind_Callback_Literal_Number_errcode_String_msg_Void = 1321277443, @@ -74,7 +72,6 @@ typedef enum CallbackKind { Kind_Callback_Number_Number_PanelMode_Void = 1613628570, Kind_Callback_Number_Number_Void = 1894574320, Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain = 2012829508, - Kind_Callback_Number_ScrollState_Void = -1844695159, Kind_Callback_Number_SliderChangeMode_Void = 88697971, Kind_Callback_Number_String_Void = 794065478, Kind_Callback_Number_Tuple_Number_Number = 1602877440, @@ -230,6 +227,7 @@ typedef enum CallbackKind { Kind_TransitionFinishCallback = -1878458553, Kind_Type_NavigationAttribute_customNavContentTransition_delegate = 1044833488, Kind_Type_TextPickerAttribute_onChange_callback = -1078223620, + Kind_Type_WebAttribute_onFileSelectorShow_callback = 1962174977, Kind_Type_WebAttribute_onUrlLoadIntercept_callback = -985284966, Kind_VisibleAreaChangeCallback = 541663396, Kind_VoidCallback = -2038961969, diff --git a/arkoala/framework/native/src/generated/callback_managed_caller.cc b/arkoala/framework/native/src/generated/callback_managed_caller.cc index 32d2490c4..440dea5ce 100644 --- a/arkoala/framework/native/src/generated/callback_managed_caller.cc +++ b/arkoala/framework/native/src/generated/callback_managed_caller.cc @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -64,30 +64,6 @@ void callManagedButtonTriggerClickCallbackSync(Ark_VMContext vmContext, Ark_Int3 argsSerializer.writeNumber(yPos); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(__buffer), __buffer); } -void callManagedCallback_Any(Ark_Int32 resourceId, Callback_Any_Void continuation) -{ - CallbackBuffer __buffer = {{}, {}}; - const Ark_CallbackResource __callbackResource = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; - __buffer.resourceHolder.holdCallbackResource(&__callbackResource); - Serializer argsSerializer = Serializer(__buffer.buffer, &(__buffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_Any); - argsSerializer.writeInt32(resourceId); - argsSerializer.writeCallbackResource(continuation.resource); - argsSerializer.writePointer(reinterpret_cast(continuation.call)); - argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); - enqueueArkoalaCallback(&__buffer); -} -void callManagedCallback_AnySync(Ark_VMContext vmContext, Ark_Int32 resourceId, Callback_Any_Void continuation) -{ - uint8_t __buffer[60 * 4]; - Serializer argsSerializer = Serializer(__buffer, nullptr); - argsSerializer.writeInt32(Kind_Callback_Any); - 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 callManagedCallback_Any_Void(Ark_Int32 resourceId, Ark_CustomObject info) { CallbackBuffer __buffer = {{}, {}}; @@ -326,30 +302,6 @@ void callManagedCallback_CalendarSelectedDate_VoidSync(Ark_VMContext vmContext, argsSerializer.writeCalendarSelectedDate(event); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(__buffer), __buffer); } -void callManagedCallback_Callback_Any_Void(Ark_Int32 resourceId, Callback_Any value) -{ - CallbackBuffer __buffer = {{}, {}}; - const Ark_CallbackResource __callbackResource = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; - __buffer.resourceHolder.holdCallbackResource(&__callbackResource); - Serializer argsSerializer = Serializer(__buffer.buffer, &(__buffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_Callback_Any_Void); - argsSerializer.writeInt32(resourceId); - argsSerializer.writeCallbackResource(value.resource); - argsSerializer.writePointer(reinterpret_cast(value.call)); - argsSerializer.writePointer(reinterpret_cast(value.callSync)); - enqueueArkoalaCallback(&__buffer); -} -void callManagedCallback_Callback_Any_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Callback_Any value) -{ - uint8_t __buffer[60 * 4]; - Serializer argsSerializer = Serializer(__buffer, nullptr); - argsSerializer.writeInt32(Kind_Callback_Callback_Any_Void); - argsSerializer.writeInt32(resourceId); - argsSerializer.writeCallbackResource(value.resource); - argsSerializer.writePointer(reinterpret_cast(value.call)); - argsSerializer.writePointer(reinterpret_cast(value.callSync)); - KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(__buffer), __buffer); -} void callManagedCallback_ClickEvent_LocationButtonOnClickResult_Void(Ark_Int32 resourceId, Ark_ClickEvent event, Ark_LocationButtonOnClickResult result) { CallbackBuffer __buffer = {{}, {}}; @@ -476,6 +428,30 @@ void callManagedCallback_CopyEvent_VoidSync(Ark_VMContext vmContext, Ark_Int32 r argsSerializer.writeCopyEvent(parameter); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(__buffer), __buffer); } +void callManagedCallback_CustomBuilder_Void(Ark_Int32 resourceId, CustomNodeBuilder value) +{ + CallbackBuffer __buffer = {{}, {}}; + const Ark_CallbackResource __callbackResource = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + __buffer.resourceHolder.holdCallbackResource(&__callbackResource); + Serializer argsSerializer = Serializer(__buffer.buffer, &(__buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Callback_CustomBuilder_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeCallbackResource(value.resource); + argsSerializer.writePointer(reinterpret_cast(value.call)); + argsSerializer.writePointer(reinterpret_cast(value.callSync)); + enqueueArkoalaCallback(&__buffer); +} +void callManagedCallback_CustomBuilder_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, CustomNodeBuilder value) +{ + uint8_t __buffer[60 * 4]; + Serializer argsSerializer = Serializer(__buffer, nullptr); + argsSerializer.writeInt32(Kind_Callback_CustomBuilder_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writeCallbackResource(value.resource); + argsSerializer.writePointer(reinterpret_cast(value.call)); + argsSerializer.writePointer(reinterpret_cast(value.callSync)); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(__buffer), __buffer); +} void callManagedCallback_CutEvent_Void(Ark_Int32 resourceId, Ark_CutEvent parameter) { CallbackBuffer __buffer = {{}, {}}; @@ -671,10 +647,10 @@ void callManagedCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(Ark_I argsSerializer.writeInt32(Kind_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo); argsSerializer.writeInt32(resourceId); argsSerializer.writeDragEvent(event); - Ark_Int32 extraParams_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 extraParams_type = INTEROP_RUNTIME_UNDEFINED; extraParams_type = runtimeType(extraParams); argsSerializer.writeInt8(extraParams_type); - if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (extraParams_type)) { const auto extraParams_value = extraParams.value; argsSerializer.writeString(extraParams_value); } @@ -690,10 +666,10 @@ void callManagedCallback_DragEvent_String_Union_CustomBuilder_DragItemInfoSync(A argsSerializer.writeInt32(Kind_Callback_DragEvent_String_Union_CustomBuilder_DragItemInfo); argsSerializer.writeInt32(resourceId); argsSerializer.writeDragEvent(event); - Ark_Int32 extraParams_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 extraParams_type = INTEROP_RUNTIME_UNDEFINED; extraParams_type = runtimeType(extraParams); argsSerializer.writeInt8(extraParams_type); - if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (extraParams_type)) { const auto extraParams_value = extraParams.value; argsSerializer.writeString(extraParams_value); } @@ -711,10 +687,10 @@ void callManagedCallback_DragEvent_String_Void(Ark_Int32 resourceId, Ark_DragEve argsSerializer.writeInt32(Kind_Callback_DragEvent_String_Void); argsSerializer.writeInt32(resourceId); argsSerializer.writeDragEvent(event); - Ark_Int32 extraParams_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 extraParams_type = INTEROP_RUNTIME_UNDEFINED; extraParams_type = runtimeType(extraParams); argsSerializer.writeInt8(extraParams_type); - if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (extraParams_type)) { const auto extraParams_value = extraParams.value; argsSerializer.writeString(extraParams_value); } @@ -727,10 +703,10 @@ void callManagedCallback_DragEvent_String_VoidSync(Ark_VMContext vmContext, Ark_ argsSerializer.writeInt32(Kind_Callback_DragEvent_String_Void); argsSerializer.writeInt32(resourceId); argsSerializer.writeDragEvent(event); - Ark_Int32 extraParams_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 extraParams_type = INTEROP_RUNTIME_UNDEFINED; extraParams_type = runtimeType(extraParams); argsSerializer.writeInt8(extraParams_type); - if ((ARK_RUNTIME_UNDEFINED) != (extraParams_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (extraParams_type)) { const auto extraParams_value = extraParams.value; argsSerializer.writeString(extraParams_value); } @@ -970,13 +946,13 @@ void callManagedCallback_IsolatedComponentAttribute_VoidSync(Ark_VMContext vmCon argsSerializer.writeIsolatedComponentAttribute(value); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(__buffer), __buffer); } -void callManagedCallback_ItemDragInfo_Number_Callback_Any(Ark_Int32 resourceId, Ark_ItemDragInfo event, Ark_Number itemIndex, Callback_Callback_Any_Void continuation) +void callManagedCallback_ItemDragInfo_Number_CustomBuilder(Ark_Int32 resourceId, Ark_ItemDragInfo event, Ark_Number itemIndex, Callback_CustomBuilder_Void continuation) { CallbackBuffer __buffer = {{}, {}}; const Ark_CallbackResource __callbackResource = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; __buffer.resourceHolder.holdCallbackResource(&__callbackResource); Serializer argsSerializer = Serializer(__buffer.buffer, &(__buffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_ItemDragInfo_Number_Callback_Any); + argsSerializer.writeInt32(Kind_Callback_ItemDragInfo_Number_CustomBuilder); argsSerializer.writeInt32(resourceId); argsSerializer.writeItemDragInfo(event); argsSerializer.writeNumber(itemIndex); @@ -985,11 +961,11 @@ void callManagedCallback_ItemDragInfo_Number_Callback_Any(Ark_Int32 resourceId, argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); enqueueArkoalaCallback(&__buffer); } -void callManagedCallback_ItemDragInfo_Number_Callback_AnySync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_ItemDragInfo event, Ark_Number itemIndex, Callback_Callback_Any_Void continuation) +void callManagedCallback_ItemDragInfo_Number_CustomBuilderSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_ItemDragInfo event, Ark_Number itemIndex, Callback_CustomBuilder_Void continuation) { uint8_t __buffer[60 * 4]; Serializer argsSerializer = Serializer(__buffer, nullptr); - argsSerializer.writeInt32(Kind_Callback_ItemDragInfo_Number_Callback_Any); + argsSerializer.writeInt32(Kind_Callback_ItemDragInfo_Number_CustomBuilder); argsSerializer.writeInt32(resourceId); argsSerializer.writeItemDragInfo(event); argsSerializer.writeNumber(itemIndex); @@ -1158,44 +1134,6 @@ void callManagedCallback_Literal_Boolean_isVisible_VoidSync(Ark_VMContext vmCont argsSerializer.writeBoolean(event_isVisible); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(__buffer), __buffer); } -void callManagedCallback_Literal_Function_callback_Object_fileSelector_Void(Ark_Int32 resourceId, Opt_Literal_Function_callback_Object_fileSelector event) -{ - CallbackBuffer __buffer = {{}, {}}; - const Ark_CallbackResource __callbackResource = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; - __buffer.resourceHolder.holdCallbackResource(&__callbackResource); - Serializer argsSerializer = Serializer(__buffer.buffer, &(__buffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_Literal_Function_callback_Object_fileSelector_Void); - argsSerializer.writeInt32(resourceId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; - event_type = runtimeType(event); - argsSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { - const auto event_value = event.value; - const auto event_value_callback = event_value.callback; - argsSerializer.writeFunction(event_value_callback); - const auto event_value_fileSelector = event_value.fileSelector; - argsSerializer.writeCustomObject("Object", event_value_fileSelector); - } - enqueueArkoalaCallback(&__buffer); -} -void callManagedCallback_Literal_Function_callback_Object_fileSelector_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Opt_Literal_Function_callback_Object_fileSelector event) -{ - uint8_t __buffer[60 * 4]; - Serializer argsSerializer = Serializer(__buffer, nullptr); - argsSerializer.writeInt32(Kind_Callback_Literal_Function_callback_Object_fileSelector_Void); - argsSerializer.writeInt32(resourceId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; - event_type = runtimeType(event); - argsSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { - const auto event_value = event.value; - const auto event_value_callback = event_value.callback; - argsSerializer.writeFunction(event_value_callback); - const auto event_value_fileSelector = event_value.fileSelector; - argsSerializer.writeCustomObject("Object", event_value_fileSelector); - } - KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(__buffer), __buffer); -} void callManagedCallback_Literal_Function_handler_Object_error_Void(Ark_Int32 resourceId, Opt_Literal_Function_handler_Object_error event) { CallbackBuffer __buffer = {{}, {}}; @@ -1204,10 +1142,10 @@ void callManagedCallback_Literal_Function_handler_Object_error_Void(Ark_Int32 re Serializer argsSerializer = Serializer(__buffer.buffer, &(__buffer.resourceHolder)); argsSerializer.writeInt32(Kind_Callback_Literal_Function_handler_Object_error_Void); argsSerializer.writeInt32(resourceId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); argsSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; const auto event_value_handler = event_value.handler; argsSerializer.writeFunction(event_value_handler); @@ -1222,10 +1160,10 @@ void callManagedCallback_Literal_Function_handler_Object_error_VoidSync(Ark_VMCo Serializer argsSerializer = Serializer(__buffer, nullptr); argsSerializer.writeInt32(Kind_Callback_Literal_Function_handler_Object_error_Void); argsSerializer.writeInt32(resourceId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); argsSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; const auto event_value_handler = event_value.handler; argsSerializer.writeFunction(event_value_handler); @@ -1245,10 +1183,10 @@ void callManagedCallback_Literal_Number_code_Want_want_Void(Ark_Int32 resourceId const auto parameter_code = parameter.code; argsSerializer.writeNumber(parameter_code); const auto parameter_want = parameter.want; - Ark_Int32 parameter_want_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 parameter_want_type = INTEROP_RUNTIME_UNDEFINED; parameter_want_type = runtimeType(parameter_want); argsSerializer.writeInt8(parameter_want_type); - if ((ARK_RUNTIME_UNDEFINED) != (parameter_want_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (parameter_want_type)) { const auto parameter_want_value = parameter_want.value; argsSerializer.writeWant(parameter_want_value); } @@ -1263,10 +1201,10 @@ void callManagedCallback_Literal_Number_code_Want_want_VoidSync(Ark_VMContext vm const auto parameter_code = parameter.code; argsSerializer.writeNumber(parameter_code); const auto parameter_want = parameter.want; - Ark_Int32 parameter_want_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 parameter_want_type = INTEROP_RUNTIME_UNDEFINED; parameter_want_type = runtimeType(parameter_want); argsSerializer.writeInt8(parameter_want_type); - if ((ARK_RUNTIME_UNDEFINED) != (parameter_want_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (parameter_want_type)) { const auto parameter_want_value = parameter_want.value; argsSerializer.writeWant(parameter_want_value); } @@ -1328,10 +1266,10 @@ void callManagedCallback_Literal_Object_detail_Boolean(Ark_Int32 resourceId, Opt Serializer argsSerializer = Serializer(__buffer.buffer, &(__buffer.resourceHolder)); argsSerializer.writeInt32(Kind_Callback_Literal_Object_detail_Boolean); argsSerializer.writeInt32(resourceId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); argsSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; const auto event_value_detail = event_value.detail; argsSerializer.writeCustomObject("Object", event_value_detail); @@ -1347,10 +1285,10 @@ void callManagedCallback_Literal_Object_detail_BooleanSync(Ark_VMContext vmConte Serializer argsSerializer = Serializer(__buffer, nullptr); argsSerializer.writeInt32(Kind_Callback_Literal_Object_detail_Boolean); argsSerializer.writeInt32(resourceId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); argsSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; const auto event_value_detail = event_value.detail; argsSerializer.writeCustomObject("Object", event_value_detail); @@ -1702,28 +1640,6 @@ void callManagedCallback_Number_ScrollState_Literal_Number_offsetRemainSync(Ark_ argsSerializer.writePointer(reinterpret_cast(continuation.callSync)); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(__buffer), __buffer); } -void callManagedCallback_Number_ScrollState_Void(Ark_Int32 resourceId, Ark_Number scrollOffset, Ark_ScrollState scrollState) -{ - CallbackBuffer __buffer = {{}, {}}; - const Ark_CallbackResource __callbackResource = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; - __buffer.resourceHolder.holdCallbackResource(&__callbackResource); - Serializer argsSerializer = Serializer(__buffer.buffer, &(__buffer.resourceHolder)); - argsSerializer.writeInt32(Kind_Callback_Number_ScrollState_Void); - argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(scrollOffset); - argsSerializer.writeInt32(static_cast(scrollState)); - enqueueArkoalaCallback(&__buffer); -} -void callManagedCallback_Number_ScrollState_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_Number scrollOffset, Ark_ScrollState scrollState) -{ - uint8_t __buffer[60 * 4]; - Serializer argsSerializer = Serializer(__buffer, nullptr); - argsSerializer.writeInt32(Kind_Callback_Number_ScrollState_Void); - argsSerializer.writeInt32(resourceId); - argsSerializer.writeNumber(scrollOffset); - argsSerializer.writeInt32(static_cast(scrollState)); - KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(__buffer), __buffer); -} void callManagedCallback_Number_SliderChangeMode_Void(Ark_Int32 resourceId, Ark_Number value, Ark_SliderChangeMode mode) { CallbackBuffer __buffer = {{}, {}}; @@ -2668,10 +2584,10 @@ void callManagedCallback_Opt_Array_String_Void(Ark_Int32 resourceId, Opt_Array_S Serializer argsSerializer = Serializer(__buffer.buffer, &(__buffer.resourceHolder)); argsSerializer.writeInt32(Kind_Callback_Opt_Array_String_Void); argsSerializer.writeInt32(resourceId); - Ark_Int32 error_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 error_type = INTEROP_RUNTIME_UNDEFINED; error_type = runtimeType(error); argsSerializer.writeInt8(error_type); - if ((ARK_RUNTIME_UNDEFINED) != (error_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (error_type)) { const auto error_value = error.value; argsSerializer.writeInt32(error_value.length); for (int i = 0; i < error_value.length; i++) { @@ -2687,10 +2603,10 @@ void callManagedCallback_Opt_Array_String_VoidSync(Ark_VMContext vmContext, Ark_ Serializer argsSerializer = Serializer(__buffer, nullptr); argsSerializer.writeInt32(Kind_Callback_Opt_Array_String_Void); argsSerializer.writeInt32(resourceId); - Ark_Int32 error_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 error_type = INTEROP_RUNTIME_UNDEFINED; error_type = runtimeType(error); argsSerializer.writeInt8(error_type); - if ((ARK_RUNTIME_UNDEFINED) != (error_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (error_type)) { const auto error_value = error.value; argsSerializer.writeInt32(error_value.length); for (int i = 0; i < error_value.length; i++) { @@ -2708,10 +2624,10 @@ void callManagedCallback_Opt_NavigationAnimatedTransition_Void(Ark_Int32 resourc Serializer argsSerializer = Serializer(__buffer.buffer, &(__buffer.resourceHolder)); argsSerializer.writeInt32(Kind_Callback_Opt_NavigationAnimatedTransition_Void); argsSerializer.writeInt32(resourceId); - Ark_Int32 value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_type = INTEROP_RUNTIME_UNDEFINED; value_type = runtimeType(value); argsSerializer.writeInt8(value_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_type)) { const auto value_value = value.value; argsSerializer.writeNavigationAnimatedTransition(value_value); } @@ -2723,10 +2639,10 @@ void callManagedCallback_Opt_NavigationAnimatedTransition_VoidSync(Ark_VMContext Serializer argsSerializer = Serializer(__buffer, nullptr); argsSerializer.writeInt32(Kind_Callback_Opt_NavigationAnimatedTransition_Void); argsSerializer.writeInt32(resourceId); - Ark_Int32 value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_type = INTEROP_RUNTIME_UNDEFINED; value_type = runtimeType(value); argsSerializer.writeInt8(value_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_type)) { const auto value_value = value.value; argsSerializer.writeNavigationAnimatedTransition(value_value); } @@ -2740,17 +2656,17 @@ void callManagedCallback_Opt_StyledString_Opt_Array_String_Void(Ark_Int32 resour Serializer argsSerializer = Serializer(__buffer.buffer, &(__buffer.resourceHolder)); argsSerializer.writeInt32(Kind_Callback_Opt_StyledString_Opt_Array_String_Void); argsSerializer.writeInt32(resourceId); - Ark_Int32 value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_type = INTEROP_RUNTIME_UNDEFINED; value_type = runtimeType(value); argsSerializer.writeInt8(value_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_type)) { const auto value_value = value.value; argsSerializer.writeStyledString(value_value); } - Ark_Int32 error_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 error_type = INTEROP_RUNTIME_UNDEFINED; error_type = runtimeType(error); argsSerializer.writeInt8(error_type); - if ((ARK_RUNTIME_UNDEFINED) != (error_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (error_type)) { const auto error_value = error.value; argsSerializer.writeInt32(error_value.length); for (int i = 0; i < error_value.length; i++) { @@ -2766,17 +2682,17 @@ void callManagedCallback_Opt_StyledString_Opt_Array_String_VoidSync(Ark_VMContex Serializer argsSerializer = Serializer(__buffer, nullptr); argsSerializer.writeInt32(Kind_Callback_Opt_StyledString_Opt_Array_String_Void); argsSerializer.writeInt32(resourceId); - Ark_Int32 value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_type = INTEROP_RUNTIME_UNDEFINED; value_type = runtimeType(value); argsSerializer.writeInt8(value_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_type)) { const auto value_value = value.value; argsSerializer.writeStyledString(value_value); } - Ark_Int32 error_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 error_type = INTEROP_RUNTIME_UNDEFINED; error_type = runtimeType(error); argsSerializer.writeInt8(error_type); - if ((ARK_RUNTIME_UNDEFINED) != (error_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (error_type)) { const auto error_value = error.value; argsSerializer.writeInt32(error_value.length); for (int i = 0; i < error_value.length; i++) { @@ -2794,10 +2710,10 @@ void callManagedCallback_Opt_TabContentAnimatedTransition_Void(Ark_Int32 resourc Serializer argsSerializer = Serializer(__buffer.buffer, &(__buffer.resourceHolder)); argsSerializer.writeInt32(Kind_Callback_Opt_TabContentAnimatedTransition_Void); argsSerializer.writeInt32(resourceId); - Ark_Int32 value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_type = INTEROP_RUNTIME_UNDEFINED; value_type = runtimeType(value); argsSerializer.writeInt8(value_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_type)) { const auto value_value = value.value; argsSerializer.writeTabContentAnimatedTransition(value_value); } @@ -2809,10 +2725,10 @@ void callManagedCallback_Opt_TabContentAnimatedTransition_VoidSync(Ark_VMContext Serializer argsSerializer = Serializer(__buffer, nullptr); argsSerializer.writeInt32(Kind_Callback_Opt_TabContentAnimatedTransition_Void); argsSerializer.writeInt32(resourceId); - Ark_Int32 value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_type = INTEROP_RUNTIME_UNDEFINED; value_type = runtimeType(value); argsSerializer.writeInt8(value_type); - if ((ARK_RUNTIME_UNDEFINED) != (value_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (value_type)) { const auto value_value = value.value; argsSerializer.writeTabContentAnimatedTransition(value_value); } @@ -3572,10 +3488,10 @@ void callManagedCallback_Type_ImageAttribute_onComplete_callback_event_Void(Ark_ Serializer argsSerializer = Serializer(__buffer.buffer, &(__buffer.resourceHolder)); argsSerializer.writeInt32(Kind_Callback_Type_ImageAttribute_onComplete_callback_event_Void); argsSerializer.writeInt32(resourceId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); argsSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; const auto event_value_width = event_value.width; argsSerializer.writeNumber(event_value_width); @@ -3604,10 +3520,10 @@ void callManagedCallback_Type_ImageAttribute_onComplete_callback_event_VoidSync( Serializer argsSerializer = Serializer(__buffer, nullptr); argsSerializer.writeInt32(Kind_Callback_Type_ImageAttribute_onComplete_callback_event_Void); argsSerializer.writeInt32(resourceId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); argsSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; const auto event_value_width = event_value.width; argsSerializer.writeNumber(event_value_width); @@ -3658,7 +3574,7 @@ void callManagedCallback_Union_CustomBuilder_DragItemInfo_Void(Ark_Int32 resourc Serializer argsSerializer = Serializer(__buffer.buffer, &(__buffer.resourceHolder)); argsSerializer.writeInt32(Kind_Callback_Union_CustomBuilder_DragItemInfo_Void); argsSerializer.writeInt32(resourceId); - Ark_Int32 value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_type = INTEROP_RUNTIME_UNDEFINED; value_type = value.selector; if (((value_type == 0))) { argsSerializer.writeInt8(0); @@ -3667,7 +3583,7 @@ void callManagedCallback_Union_CustomBuilder_DragItemInfo_Void(Ark_Int32 resourc argsSerializer.writePointer(reinterpret_cast(value_0.call)); argsSerializer.writePointer(reinterpret_cast(value_0.callSync)); } - else if (((value_type == 0))) { + else if (((value_type == 1))) { argsSerializer.writeInt8(1); const auto value_1 = value.value1; argsSerializer.writeDragItemInfo(value_1); @@ -3680,7 +3596,7 @@ void callManagedCallback_Union_CustomBuilder_DragItemInfo_VoidSync(Ark_VMContext Serializer argsSerializer = Serializer(__buffer, nullptr); argsSerializer.writeInt32(Kind_Callback_Union_CustomBuilder_DragItemInfo_Void); argsSerializer.writeInt32(resourceId); - Ark_Int32 value_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 value_type = INTEROP_RUNTIME_UNDEFINED; value_type = value.selector; if (((value_type == 0))) { argsSerializer.writeInt8(0); @@ -3689,7 +3605,7 @@ void callManagedCallback_Union_CustomBuilder_DragItemInfo_VoidSync(Ark_VMContext argsSerializer.writePointer(reinterpret_cast(value_0.call)); argsSerializer.writePointer(reinterpret_cast(value_0.callSync)); } - else if (((value_type == 0))) { + else if (((value_type == 1))) { argsSerializer.writeInt8(1); const auto value_1 = value.value1; argsSerializer.writeDragItemInfo(value_1); @@ -3835,10 +3751,10 @@ void callManagedEditableTextOnChangeCallback(Ark_Int32 resourceId, Ark_String va argsSerializer.writeInt32(Kind_EditableTextOnChangeCallback); argsSerializer.writeInt32(resourceId); argsSerializer.writeString(value); - Ark_Int32 previewText_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 previewText_type = INTEROP_RUNTIME_UNDEFINED; previewText_type = runtimeType(previewText); argsSerializer.writeInt8(previewText_type); - if ((ARK_RUNTIME_UNDEFINED) != (previewText_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (previewText_type)) { const auto previewText_value = previewText.value; argsSerializer.writePreviewText(previewText_value); } @@ -3851,10 +3767,10 @@ void callManagedEditableTextOnChangeCallbackSync(Ark_VMContext vmContext, Ark_In argsSerializer.writeInt32(Kind_EditableTextOnChangeCallback); argsSerializer.writeInt32(resourceId); argsSerializer.writeString(value); - Ark_Int32 previewText_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 previewText_type = INTEROP_RUNTIME_UNDEFINED; previewText_type = runtimeType(previewText); argsSerializer.writeInt8(previewText_type); - if ((ARK_RUNTIME_UNDEFINED) != (previewText_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (previewText_type)) { const auto previewText_value = previewText.value; argsSerializer.writePreviewText(previewText_value); } @@ -4014,26 +3930,26 @@ void callManagedInterceptionShowCallback(Ark_Int32 resourceId, Ark_Union_NavDest Serializer argsSerializer = Serializer(__buffer.buffer, &(__buffer.resourceHolder)); argsSerializer.writeInt32(Kind_InterceptionShowCallback); argsSerializer.writeInt32(resourceId); - Ark_Int32 from_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 from_type = INTEROP_RUNTIME_UNDEFINED; from_type = from.selector; if (((from_type == 0))) { argsSerializer.writeInt8(0); const auto from_0 = from.value0; argsSerializer.writeNavDestinationContext(from_0); } - else if (((from_type == 0))) { + else if (((from_type == 1))) { argsSerializer.writeInt8(1); const auto from_1 = from.value1; argsSerializer.writeString(from_1); } - Ark_Int32 to_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 to_type = INTEROP_RUNTIME_UNDEFINED; to_type = to.selector; if (((to_type == 0))) { argsSerializer.writeInt8(0); const auto to_0 = to.value0; argsSerializer.writeNavDestinationContext(to_0); } - else if (((to_type == 0))) { + else if (((to_type == 1))) { argsSerializer.writeInt8(1); const auto to_1 = to.value1; argsSerializer.writeString(to_1); @@ -4048,26 +3964,26 @@ void callManagedInterceptionShowCallbackSync(Ark_VMContext vmContext, Ark_Int32 Serializer argsSerializer = Serializer(__buffer, nullptr); argsSerializer.writeInt32(Kind_InterceptionShowCallback); argsSerializer.writeInt32(resourceId); - Ark_Int32 from_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 from_type = INTEROP_RUNTIME_UNDEFINED; from_type = from.selector; if (((from_type == 0))) { argsSerializer.writeInt8(0); const auto from_0 = from.value0; argsSerializer.writeNavDestinationContext(from_0); } - else if (((from_type == 0))) { + else if (((from_type == 1))) { argsSerializer.writeInt8(1); const auto from_1 = from.value1; argsSerializer.writeString(from_1); } - Ark_Int32 to_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 to_type = INTEROP_RUNTIME_UNDEFINED; to_type = to.selector; if (((to_type == 0))) { argsSerializer.writeInt8(0); const auto to_0 = to.value0; argsSerializer.writeNavDestinationContext(to_0); } - else if (((to_type == 0))) { + else if (((to_type == 1))) { argsSerializer.writeInt8(1); const auto to_1 = to.value1; argsSerializer.writeString(to_1); @@ -4504,10 +4420,10 @@ void callManagedOnNativeLoadCallback(Ark_Int32 resourceId, Opt_CustomObject even Serializer argsSerializer = Serializer(__buffer.buffer, &(__buffer.resourceHolder)); argsSerializer.writeInt32(Kind_OnNativeLoadCallback); argsSerializer.writeInt32(resourceId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); argsSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; argsSerializer.writeCustomObject("Object", event_value); } @@ -4519,10 +4435,10 @@ void callManagedOnNativeLoadCallbackSync(Ark_VMContext vmContext, Ark_Int32 reso Serializer argsSerializer = Serializer(__buffer, nullptr); argsSerializer.writeInt32(Kind_OnNativeLoadCallback); argsSerializer.writeInt32(resourceId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); argsSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; argsSerializer.writeCustomObject("Object", event_value); } @@ -5024,10 +4940,10 @@ void callManagedPasteEventCallback(Ark_Int32 resourceId, Opt_PasteEvent event) Serializer argsSerializer = Serializer(__buffer.buffer, &(__buffer.resourceHolder)); argsSerializer.writeInt32(Kind_PasteEventCallback); argsSerializer.writeInt32(resourceId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); argsSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; argsSerializer.writePasteEvent(event_value); } @@ -5039,10 +4955,10 @@ void callManagedPasteEventCallbackSync(Ark_VMContext vmContext, Ark_Int32 resour Serializer argsSerializer = Serializer(__buffer, nullptr); argsSerializer.writeInt32(Kind_PasteEventCallback); argsSerializer.writeInt32(resourceId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); argsSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; argsSerializer.writePasteEvent(event_value); } @@ -5133,10 +5049,10 @@ void callManagedSearchSubmitCallback(Ark_Int32 resourceId, Ark_String searchCont argsSerializer.writeInt32(Kind_SearchSubmitCallback); argsSerializer.writeInt32(resourceId); argsSerializer.writeString(searchContent); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); argsSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; argsSerializer.writeSubmitEvent(event_value); } @@ -5149,10 +5065,10 @@ void callManagedSearchSubmitCallbackSync(Ark_VMContext vmContext, Ark_Int32 reso argsSerializer.writeInt32(Kind_SearchSubmitCallback); argsSerializer.writeInt32(resourceId); argsSerializer.writeString(searchContent); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); argsSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; argsSerializer.writeSubmitEvent(event_value); } @@ -5297,10 +5213,10 @@ void callManagedTextAreaSubmitCallback(Ark_Int32 resourceId, Ark_EnterKeyType en argsSerializer.writeInt32(Kind_TextAreaSubmitCallback); argsSerializer.writeInt32(resourceId); argsSerializer.writeInt32(static_cast(enterKeyType)); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); argsSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; argsSerializer.writeSubmitEvent(event_value); } @@ -5313,10 +5229,10 @@ void callManagedTextAreaSubmitCallbackSync(Ark_VMContext vmContext, Ark_Int32 re argsSerializer.writeInt32(Kind_TextAreaSubmitCallback); argsSerializer.writeInt32(resourceId); argsSerializer.writeInt32(static_cast(enterKeyType)); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); argsSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; argsSerializer.writeSubmitEvent(event_value); } @@ -5380,14 +5296,14 @@ void callManagedType_TextPickerAttribute_onChange_callback(Ark_Int32 resourceId, Serializer argsSerializer = Serializer(__buffer.buffer, &(__buffer.resourceHolder)); argsSerializer.writeInt32(Kind_Type_TextPickerAttribute_onChange_callback); argsSerializer.writeInt32(resourceId); - Ark_Int32 value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_type == 1))) { argsSerializer.writeInt8(1); const auto value_1 = value.value1; argsSerializer.writeInt32(value_1.length); @@ -5396,14 +5312,14 @@ void callManagedType_TextPickerAttribute_onChange_callback(Ark_Int32 resourceId, argsSerializer.writeString(value_1_element); } } - Ark_Int32 index_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((index_type == 1))) { argsSerializer.writeInt8(1); const auto index_1 = index.value1; argsSerializer.writeInt32(index_1.length); @@ -5420,14 +5336,14 @@ void callManagedType_TextPickerAttribute_onChange_callbackSync(Ark_VMContext vmC Serializer argsSerializer = Serializer(__buffer, nullptr); argsSerializer.writeInt32(Kind_Type_TextPickerAttribute_onChange_callback); argsSerializer.writeInt32(resourceId); - Ark_Int32 value_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((value_type == 1))) { argsSerializer.writeInt8(1); const auto value_1 = value.value1; argsSerializer.writeInt32(value_1.length); @@ -5436,14 +5352,14 @@ void callManagedType_TextPickerAttribute_onChange_callbackSync(Ark_VMContext vmC argsSerializer.writeString(value_1_element); } } - Ark_Int32 index_type = ARK_RUNTIME_UNDEFINED; + 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 == 0))) { + else if (((index_type == 1))) { argsSerializer.writeInt8(1); const auto index_1 = index.value1; argsSerializer.writeInt32(index_1.length); @@ -5454,6 +5370,44 @@ void callManagedType_TextPickerAttribute_onChange_callbackSync(Ark_VMContext vmC } KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(__buffer), __buffer); } +void callManagedType_WebAttribute_onFileSelectorShow_callback(Ark_Int32 resourceId, Opt_Literal_Function_callback__Object_fileSelector event) +{ + CallbackBuffer __buffer = {{}, {}}; + const Ark_CallbackResource __callbackResource = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + __buffer.resourceHolder.holdCallbackResource(&__callbackResource); + Serializer argsSerializer = Serializer(__buffer.buffer, &(__buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_Type_WebAttribute_onFileSelectorShow_callback); + 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; + const auto event_value_callback_ = event_value.callback_; + argsSerializer.writeFunction(event_value_callback_); + const auto event_value_fileSelector = event_value.fileSelector; + argsSerializer.writeCustomObject("Object", event_value_fileSelector); + } + enqueueArkoalaCallback(&__buffer); +} +void callManagedType_WebAttribute_onFileSelectorShow_callbackSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Opt_Literal_Function_callback__Object_fileSelector event) +{ + uint8_t __buffer[60 * 4]; + Serializer argsSerializer = Serializer(__buffer, nullptr); + argsSerializer.writeInt32(Kind_Type_WebAttribute_onFileSelectorShow_callback); + 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; + const auto event_value_callback_ = event_value.callback_; + argsSerializer.writeFunction(event_value_callback_); + const auto event_value_fileSelector = event_value.fileSelector; + argsSerializer.writeCustomObject("Object", event_value_fileSelector); + } + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(__buffer), __buffer); +} void callManagedType_WebAttribute_onUrlLoadIntercept_callback(Ark_Int32 resourceId, Opt_Literal_Union_String_WebResourceRequest_data event, Callback_Boolean_Void continuation) { CallbackBuffer __buffer = {{}, {}}; @@ -5462,20 +5416,20 @@ void callManagedType_WebAttribute_onUrlLoadIntercept_callback(Ark_Int32 resource Serializer argsSerializer = Serializer(__buffer.buffer, &(__buffer.resourceHolder)); argsSerializer.writeInt32(Kind_Type_WebAttribute_onUrlLoadIntercept_callback); argsSerializer.writeInt32(resourceId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); argsSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; const auto event_value_data = event_value.data; - Ark_Int32 event_value_data_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_value_data_type = INTEROP_RUNTIME_UNDEFINED; event_value_data_type = event_value_data.selector; if (((event_value_data_type == 0))) { argsSerializer.writeInt8(0); const auto event_value_data_0 = event_value_data.value0; argsSerializer.writeString(event_value_data_0); } - else if (((event_value_data_type == 0))) { + else if (((event_value_data_type == 1))) { argsSerializer.writeInt8(1); const auto event_value_data_1 = event_value_data.value1; argsSerializer.writeWebResourceRequest(event_value_data_1); @@ -5492,20 +5446,20 @@ void callManagedType_WebAttribute_onUrlLoadIntercept_callbackSync(Ark_VMContext Serializer argsSerializer = Serializer(__buffer, nullptr); argsSerializer.writeInt32(Kind_Type_WebAttribute_onUrlLoadIntercept_callback); argsSerializer.writeInt32(resourceId); - Ark_Int32 event_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_type = INTEROP_RUNTIME_UNDEFINED; event_type = runtimeType(event); argsSerializer.writeInt8(event_type); - if ((ARK_RUNTIME_UNDEFINED) != (event_type)) { + if ((INTEROP_RUNTIME_UNDEFINED) != (event_type)) { const auto event_value = event.value; const auto event_value_data = event_value.data; - Ark_Int32 event_value_data_type = ARK_RUNTIME_UNDEFINED; + Ark_Int32 event_value_data_type = INTEROP_RUNTIME_UNDEFINED; event_value_data_type = event_value_data.selector; if (((event_value_data_type == 0))) { argsSerializer.writeInt8(0); const auto event_value_data_0 = event_value_data.value0; argsSerializer.writeString(event_value_data_0); } - else if (((event_value_data_type == 0))) { + else if (((event_value_data_type == 1))) { argsSerializer.writeInt8(1); const auto event_value_data_1 = event_value_data.value1; argsSerializer.writeWebResourceRequest(event_value_data_1); @@ -5613,7 +5567,6 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) switch (kind) { case Kind_AccessibilityCallback: return reinterpret_cast(callManagedAccessibilityCallback); case Kind_ButtonTriggerClickCallback: return reinterpret_cast(callManagedButtonTriggerClickCallback); - case Kind_Callback_Any: return reinterpret_cast(callManagedCallback_Any); case Kind_Callback_Any_Void: return reinterpret_cast(callManagedCallback_Any_Void); case Kind_Callback_Area_Area_Void: return reinterpret_cast(callManagedCallback_Area_Area_Void); case Kind_Callback_Array_Number_Void: return reinterpret_cast(callManagedCallback_Array_Number_Void); @@ -5624,13 +5577,13 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_Callback_Boolean_Void: return reinterpret_cast(callManagedCallback_Boolean_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_Callback_Any_Void: return reinterpret_cast(callManagedCallback_Callback_Any_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_CustomBuilder_Void: return reinterpret_cast(callManagedCallback_CustomBuilder_Void); case Kind_Callback_CutEvent_Void: return reinterpret_cast(callManagedCallback_CutEvent_Void); case Kind_Callback_Date_Void: return reinterpret_cast(callManagedCallback_Date_Void); case Kind_Callback_DatePickerResult_Void: return reinterpret_cast(callManagedCallback_DatePickerResult_Void); @@ -5653,7 +5606,7 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) 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_IsolatedComponentAttribute_Void: return reinterpret_cast(callManagedCallback_IsolatedComponentAttribute_Void); - case Kind_Callback_ItemDragInfo_Number_Callback_Any: return reinterpret_cast(callManagedCallback_ItemDragInfo_Number_Callback_Any); + case Kind_Callback_ItemDragInfo_Number_CustomBuilder: return reinterpret_cast(callManagedCallback_ItemDragInfo_Number_CustomBuilder); case Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void: return reinterpret_cast(callManagedCallback_ItemDragInfo_Number_Number_Boolean_Void); case Kind_Callback_ItemDragInfo_Number_Number_Void: return reinterpret_cast(callManagedCallback_ItemDragInfo_Number_Number_Void); case Kind_Callback_ItemDragInfo_Number_Void: return reinterpret_cast(callManagedCallback_ItemDragInfo_Number_Void); @@ -5661,7 +5614,6 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_Callback_KeyEvent_Boolean: return reinterpret_cast(callManagedCallback_KeyEvent_Boolean); case Kind_Callback_KeyEvent_Void: return reinterpret_cast(callManagedCallback_KeyEvent_Void); case Kind_Callback_Literal_Boolean_isVisible_Void: return reinterpret_cast(callManagedCallback_Literal_Boolean_isVisible_Void); - case Kind_Callback_Literal_Function_callback_Object_fileSelector_Void: return reinterpret_cast(callManagedCallback_Literal_Function_callback_Object_fileSelector_Void); case Kind_Callback_Literal_Function_handler_Object_error_Void: return reinterpret_cast(callManagedCallback_Literal_Function_handler_Object_error_Void); case Kind_Callback_Literal_Number_code_Want_want_Void: return reinterpret_cast(callManagedCallback_Literal_Number_code_Want_want_Void); case Kind_Callback_Literal_Number_errcode_String_msg_Void: return reinterpret_cast(callManagedCallback_Literal_Number_errcode_String_msg_Void); @@ -5682,7 +5634,6 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_Callback_Number_Number_PanelMode_Void: return reinterpret_cast(callManagedCallback_Number_Number_PanelMode_Void); case Kind_Callback_Number_Number_Void: return reinterpret_cast(callManagedCallback_Number_Number_Void); case Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain: return reinterpret_cast(callManagedCallback_Number_ScrollState_Literal_Number_offsetRemain); - case Kind_Callback_Number_ScrollState_Void: return reinterpret_cast(callManagedCallback_Number_ScrollState_Void); case Kind_Callback_Number_SliderChangeMode_Void: return reinterpret_cast(callManagedCallback_Number_SliderChangeMode_Void); case Kind_Callback_Number_String_Void: return reinterpret_cast(callManagedCallback_Number_String_Void); case Kind_Callback_Number_Tuple_Number_Number: return reinterpret_cast(callManagedCallback_Number_Tuple_Number_Number); @@ -5838,6 +5789,7 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) case Kind_TransitionFinishCallback: return reinterpret_cast(callManagedTransitionFinishCallback); case Kind_Type_NavigationAttribute_customNavContentTransition_delegate: return reinterpret_cast(callManagedType_NavigationAttribute_customNavContentTransition_delegate); case Kind_Type_TextPickerAttribute_onChange_callback: return reinterpret_cast(callManagedType_TextPickerAttribute_onChange_callback); + case Kind_Type_WebAttribute_onFileSelectorShow_callback: return reinterpret_cast(callManagedType_WebAttribute_onFileSelectorShow_callback); case Kind_Type_WebAttribute_onUrlLoadIntercept_callback: return reinterpret_cast(callManagedType_WebAttribute_onUrlLoadIntercept_callback); case Kind_VisibleAreaChangeCallback: return reinterpret_cast(callManagedVisibleAreaChangeCallback); case Kind_VoidCallback: return reinterpret_cast(callManagedVoidCallback); @@ -5851,7 +5803,6 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) switch (kind) { case Kind_AccessibilityCallback: return reinterpret_cast(callManagedAccessibilityCallbackSync); case Kind_ButtonTriggerClickCallback: return reinterpret_cast(callManagedButtonTriggerClickCallbackSync); - case Kind_Callback_Any: return reinterpret_cast(callManagedCallback_AnySync); case Kind_Callback_Any_Void: return reinterpret_cast(callManagedCallback_Any_VoidSync); case Kind_Callback_Area_Area_Void: return reinterpret_cast(callManagedCallback_Area_Area_VoidSync); case Kind_Callback_Array_Number_Void: return reinterpret_cast(callManagedCallback_Array_Number_VoidSync); @@ -5862,13 +5813,13 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_Callback_Boolean_Void: return reinterpret_cast(callManagedCallback_Boolean_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_Callback_Any_Void: return reinterpret_cast(callManagedCallback_Callback_Any_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_CustomBuilder_Void: return reinterpret_cast(callManagedCallback_CustomBuilder_VoidSync); case Kind_Callback_CutEvent_Void: return reinterpret_cast(callManagedCallback_CutEvent_VoidSync); case Kind_Callback_Date_Void: return reinterpret_cast(callManagedCallback_Date_VoidSync); case Kind_Callback_DatePickerResult_Void: return reinterpret_cast(callManagedCallback_DatePickerResult_VoidSync); @@ -5891,7 +5842,7 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) 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_IsolatedComponentAttribute_Void: return reinterpret_cast(callManagedCallback_IsolatedComponentAttribute_VoidSync); - case Kind_Callback_ItemDragInfo_Number_Callback_Any: return reinterpret_cast(callManagedCallback_ItemDragInfo_Number_Callback_AnySync); + case Kind_Callback_ItemDragInfo_Number_CustomBuilder: return reinterpret_cast(callManagedCallback_ItemDragInfo_Number_CustomBuilderSync); case Kind_Callback_ItemDragInfo_Number_Number_Boolean_Void: return reinterpret_cast(callManagedCallback_ItemDragInfo_Number_Number_Boolean_VoidSync); case Kind_Callback_ItemDragInfo_Number_Number_Void: return reinterpret_cast(callManagedCallback_ItemDragInfo_Number_Number_VoidSync); case Kind_Callback_ItemDragInfo_Number_Void: return reinterpret_cast(callManagedCallback_ItemDragInfo_Number_VoidSync); @@ -5899,7 +5850,6 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_Callback_KeyEvent_Boolean: return reinterpret_cast(callManagedCallback_KeyEvent_BooleanSync); case Kind_Callback_KeyEvent_Void: return reinterpret_cast(callManagedCallback_KeyEvent_VoidSync); case Kind_Callback_Literal_Boolean_isVisible_Void: return reinterpret_cast(callManagedCallback_Literal_Boolean_isVisible_VoidSync); - case Kind_Callback_Literal_Function_callback_Object_fileSelector_Void: return reinterpret_cast(callManagedCallback_Literal_Function_callback_Object_fileSelector_VoidSync); case Kind_Callback_Literal_Function_handler_Object_error_Void: return reinterpret_cast(callManagedCallback_Literal_Function_handler_Object_error_VoidSync); case Kind_Callback_Literal_Number_code_Want_want_Void: return reinterpret_cast(callManagedCallback_Literal_Number_code_Want_want_VoidSync); case Kind_Callback_Literal_Number_errcode_String_msg_Void: return reinterpret_cast(callManagedCallback_Literal_Number_errcode_String_msg_VoidSync); @@ -5920,7 +5870,6 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_Callback_Number_Number_PanelMode_Void: return reinterpret_cast(callManagedCallback_Number_Number_PanelMode_VoidSync); case Kind_Callback_Number_Number_Void: return reinterpret_cast(callManagedCallback_Number_Number_VoidSync); case Kind_Callback_Number_ScrollState_Literal_Number_offsetRemain: return reinterpret_cast(callManagedCallback_Number_ScrollState_Literal_Number_offsetRemainSync); - case Kind_Callback_Number_ScrollState_Void: return reinterpret_cast(callManagedCallback_Number_ScrollState_VoidSync); case Kind_Callback_Number_SliderChangeMode_Void: return reinterpret_cast(callManagedCallback_Number_SliderChangeMode_VoidSync); case Kind_Callback_Number_String_Void: return reinterpret_cast(callManagedCallback_Number_String_VoidSync); case Kind_Callback_Number_Tuple_Number_Number: return reinterpret_cast(callManagedCallback_Number_Tuple_Number_NumberSync); @@ -6076,6 +6025,7 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) case Kind_TransitionFinishCallback: return reinterpret_cast(callManagedTransitionFinishCallbackSync); case Kind_Type_NavigationAttribute_customNavContentTransition_delegate: return reinterpret_cast(callManagedType_NavigationAttribute_customNavContentTransition_delegateSync); case Kind_Type_TextPickerAttribute_onChange_callback: return reinterpret_cast(callManagedType_TextPickerAttribute_onChange_callbackSync); + case Kind_Type_WebAttribute_onFileSelectorShow_callback: return reinterpret_cast(callManagedType_WebAttribute_onFileSelectorShow_callbackSync); case Kind_Type_WebAttribute_onUrlLoadIntercept_callback: return reinterpret_cast(callManagedType_WebAttribute_onUrlLoadIntercept_callbackSync); case Kind_VisibleAreaChangeCallback: return reinterpret_cast(callManagedVisibleAreaChangeCallbackSync); case Kind_VoidCallback: return reinterpret_cast(callManagedVoidCallbackSync); diff --git a/arkoala/framework/native/src/generated/dummy_impl.cc b/arkoala/framework/native/src/generated/dummy_impl.cc index 4a81af330..3649d3820 100644 --- a/arkoala/framework/native/src/generated/dummy_impl.cc +++ b/arkoala/framework/native/src/generated/dummy_impl.cc @@ -3785,13 +3785,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void OnGestureRecognizerJudgeBegin1Impl(Ark_NativePointer node, - const GestureRecognizerJudgeBeginCallback* callback, + const GestureRecognizerJudgeBeginCallback* callback_, Ark_Boolean exposeInnerGesture) { if (!needGroupedLog(1)) return; string out("onGestureRecognizerJudgeBegin("); - WriteToString(&out, callback); + WriteToString(&out, callback_); out.append(", "); WriteToString(&out, exposeInnerGesture); out.append(") \n"); @@ -4389,7 +4389,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void StrokeDashArrayImpl(Ark_NativePointer node, - const Array_CustomObject* value) + const Array_Length* value) { if (!needGroupedLog(1)) return; @@ -4501,7 +4501,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void OnScrollImpl(Ark_NativePointer node, - const Callback_Number_ScrollState_Void* value) + const Callback_Number_Number_Void* value) { if (!needGroupedLog(1)) return; @@ -4521,7 +4521,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void OnDidScrollImpl(Ark_NativePointer node, - const Opt_ScrollOnWillScrollCallback* value) + const Opt_ScrollOnScrollCallback* value) { if (!needGroupedLog(1)) return; @@ -5831,7 +5831,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void OnItemDragStartImpl(Ark_NativePointer node, - const Callback_ItemDragInfo_Number_Callback_Any* value) + const Callback_ItemDragInfo_Number_CustomBuilder* value) { if (!needGroupedLog(1)) return; @@ -5921,7 +5921,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void OnScrollImpl(Ark_NativePointer node, - const Callback_Number_ScrollState_Void* value) + const Callback_Number_Number_Void* value) { if (!needGroupedLog(1)) return; @@ -6866,7 +6866,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } // LineInterfaceModifier namespace LineAttributeModifier { void StartPointImpl(Ark_NativePointer node, - const Array_CustomObject* value) + const Array_Length* value) { if (!needGroupedLog(1)) return; @@ -6876,7 +6876,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void EndPointImpl(Ark_NativePointer node, - const Array_CustomObject* value) + const Array_Length* value) { if (!needGroupedLog(1)) return; @@ -7109,7 +7109,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void OnScrollImpl(Ark_NativePointer node, - const Callback_Number_ScrollState_Void* value) + const Callback_Number_Number_Void* value) { if (!needGroupedLog(1)) return; @@ -7199,7 +7199,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void OnItemDragStartImpl(Ark_NativePointer node, - const Callback_ItemDragInfo_Number_Callback_Any* value) + const Callback_ItemDragInfo_Number_CustomBuilder* value) { if (!needGroupedLog(1)) return; @@ -8790,7 +8790,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } // PolygonInterfaceModifier namespace PolygonAttributeModifier { void PointsImpl(Ark_NativePointer node, - const Array_CustomObject* value) + const Array_Point* value) { if (!needGroupedLog(1)) return; @@ -8830,7 +8830,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } // PolylineInterfaceModifier namespace PolylineAttributeModifier { void PointsImpl(Ark_NativePointer node, - const Array_CustomObject* value) + const Array_Point* value) { if (!needGroupedLog(1)) return; @@ -9180,7 +9180,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void RadiusImpl(Ark_NativePointer node, - const Ark_Union_Number_String_Array_Any* value) + const Ark_Union_Number_String_Array_Union_Number_String* value) { if (!needGroupedLog(1)) return; @@ -9985,7 +9985,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void OnScrollImpl(Ark_NativePointer node, - const Callback_Number_ScrollState_Void* value) + const Callback_Number_Number_Void* value) { if (!needGroupedLog(1)) return; @@ -10005,7 +10005,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void OnDidScrollImpl(Ark_NativePointer node, - const Opt_ScrollOnWillScrollCallback* value) + const Opt_ScrollOnScrollCallback* value) { if (!needGroupedLog(1)) return; @@ -10025,7 +10025,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void OnScrollStartImpl(Ark_NativePointer node, - const Callback_Void* value) + const VoidCallback* value) { if (!needGroupedLog(1)) return; @@ -10045,7 +10045,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void OnScrollStopImpl(Ark_NativePointer node, - const Callback_Void* value) + const VoidCallback* value) { if (!needGroupedLog(1)) return; @@ -11224,7 +11224,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void StrokeDashArrayImpl(Ark_NativePointer node, - const Array_CustomObject* value) + const Array_Length* value) { if (!needGroupedLog(1)) return; @@ -11304,7 +11304,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void MeshImpl(Ark_NativePointer node, - const Array_CustomObject* value, + const Array_Number* value, const Ark_Number* column, const Ark_Number* row) { @@ -15888,7 +15888,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void OnFileSelectorShowImpl(Ark_NativePointer node, - const Callback_Literal_Function_callback_Object_fileSelector_Void* value) + const Type_WebAttribute_onFileSelectorShow_callback* value) { if (!needGroupedLog(1)) return; @@ -19799,12 +19799,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { return fnPtr(dummyClassFinalizer); } Ark_Boolean HasTypeImpl(UnifiedDataPeer* peer, - const Ark_String* type) + const Ark_String* UnifiedData_type) { if (!needGroupedLog(1)) return 0; string out("hasType("); - WriteToString(&out, type); + WriteToString(&out, UnifiedData_type); out.append(") \n"); out.append("[return 0] \n"); appendGroupedLog(1, out); @@ -19852,8 +19852,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_NativePointer mark, Ark_Int32 direction) { - return NeedMoreElements(node, mark, direction); - if (!needGroupedLog(1)) return (void*) 300; string out("NeedMoreElements("); @@ -19871,8 +19869,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_Int32 totalCount, const Callback_RangeUpdate* updater) { - OnRangeUpdate(node, totalCount, updater); - return; if (!needGroupedLog(1)) return; string out("OnRangeUpdate("); @@ -19887,8 +19883,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { void SetCurrentIndexImpl(Ark_NativePointer node, Ark_Int32 index) { - SetCurrentIndex(node, index); - return; if (!needGroupedLog(1)) return; string out("SetCurrentIndex("); @@ -19898,6 +19892,15 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + void PrepareImpl(Ark_NativePointer node) + { + if (!needGroupedLog(1)) + return; + string out("Prepare("); + WriteToString(&out, node); + out.append(") \n"); + appendGroupedLog(1, out); + } } // LazyForEachOpsAccessor namespace DrawingCanvasAccessor { void DestroyPeerImpl(DrawingCanvasPeer* peer) @@ -21871,7 +21874,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } void ToDataURLImpl(CanvasRenderingContext2DPeer* peer, const Opt_String* type, - const Opt_CustomObject* quality) + const Opt_Number* quality) { if (!needGroupedLog(1)) return; @@ -21904,42 +21907,42 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void OnOnAttachImpl(CanvasRenderingContext2DPeer* peer, - const Callback_Void* callback) + const Callback_Void* callback_) { if (!needGroupedLog(1)) return; string out("onOnAttach("); - WriteToString(&out, callback); + WriteToString(&out, callback_); out.append(") \n"); appendGroupedLog(1, out); } void OffOnAttachImpl(CanvasRenderingContext2DPeer* peer, - const Opt_Callback_Void* callback) + const Opt_Callback_Void* callback_) { if (!needGroupedLog(1)) return; string out("offOnAttach("); - WriteToString(&out, callback); + WriteToString(&out, callback_); out.append(") \n"); appendGroupedLog(1, out); } void OnOnDetachImpl(CanvasRenderingContext2DPeer* peer, - const Callback_Void* callback) + const Callback_Void* callback_) { if (!needGroupedLog(1)) return; string out("onOnDetach("); - WriteToString(&out, callback); + WriteToString(&out, callback_); out.append(") \n"); appendGroupedLog(1, out); } void OffOnDetachImpl(CanvasRenderingContext2DPeer* peer, - const Opt_Callback_Void* callback) + const Opt_Callback_Void* callback_) { if (!needGroupedLog(1)) return; string out("offOnDetach("); - WriteToString(&out, callback); + WriteToString(&out, callback_); out.append(") \n"); appendGroupedLog(1, out); } @@ -22240,8 +22243,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { return 0; } } // TransitionEffectAccessor - namespace PixelMapMockAccessor { - void DestroyPeerImpl(PixelMapMockPeer* peer) + namespace BaseEventAccessor { + void DestroyPeerImpl(BaseEventPeer* peer) { if (!needGroupedLog(1)) return; @@ -22252,12 +22255,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { Ark_NativePointer CtorImpl() { if (!needGroupedLog(1)) - return (PixelMapMockPeer*) 100; - string out("new PixelMapMock("); + return (BaseEventPeer*) 100; + string out("new BaseEvent("); out.append(") \n"); - out.append("[return (PixelMapMockPeer*) 100] \n"); + out.append("[return (BaseEventPeer*) 100] \n"); appendGroupedLog(1, out); - return (PixelMapMockPeer*) 100; + return (BaseEventPeer*) 100; } Ark_NativePointer GetFinalizerImpl() { @@ -22269,224 +22272,211 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void ReleaseImpl(PixelMapMockPeer* peer) + Ark_Boolean GetModifierKeyStateImpl(BaseEventPeer* peer, + const Array_String* keys) { if (!needGroupedLog(1)) - return; - string out("release("); + return 0; + string out("getModifierKeyState("); + WriteToString(&out, keys); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - } // PixelMapMockAccessor - namespace ProgressMaskAccessor { - void DestroyPeerImpl(ProgressMaskPeer* peer) + void SetTargetImpl(BaseEventPeer* peer, + const Ark_EventTarget* target) { if (!needGroupedLog(1)) return; - string out("destroyPeer("); + string out("setTarget("); + WriteToString(&out, target); out.append(") \n"); appendGroupedLog(1, out); } - Ark_NativePointer CtorImpl(const Ark_Number* value, - const Ark_Number* total, - const Ark_ResourceColor* color) + Ark_Int32 GetTimestampImpl(BaseEventPeer* peer) { if (!needGroupedLog(1)) - return (ProgressMaskPeer*) 100; - string out("new ProgressMask("); - WriteToString(&out, value); - out.append(", "); - WriteToString(&out, total); - out.append(", "); - WriteToString(&out, color); + return 0; + string out("getTimestamp("); out.append(") \n"); - out.append("[return (ProgressMaskPeer*) 100] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return (ProgressMaskPeer*) 100; + return 0; } - Ark_NativePointer GetFinalizerImpl() + void SetTimestampImpl(BaseEventPeer* peer, + const Ark_Number* timestamp) { if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); + return; + string out("setTimestamp("); + WriteToString(&out, timestamp); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void UpdateProgressImpl(ProgressMaskPeer* peer, - const Ark_Number* value) + Ark_NativePointer GetSourceImpl(BaseEventPeer* peer) { if (!needGroupedLog(1)) - return; - string out("updateProgress("); - WriteToString(&out, value); + return 0; + string out("getSource("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - void UpdateColorImpl(ProgressMaskPeer* peer, - const Ark_ResourceColor* value) + void SetSourceImpl(BaseEventPeer* peer, + Ark_SourceType source) { if (!needGroupedLog(1)) return; - string out("updateColor("); - WriteToString(&out, value); + string out("setSource("); + WriteToString(&out, source); out.append(") \n"); appendGroupedLog(1, out); } - void EnableBreathingAnimationImpl(ProgressMaskPeer* peer, - Ark_Boolean value) + Ark_Int32 GetAxisHorizontalImpl(BaseEventPeer* peer) { if (!needGroupedLog(1)) - return; - string out("enableBreathingAnimation("); - WriteToString(&out, value); + return 0; + string out("getAxisHorizontal("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - } // ProgressMaskAccessor - namespace ViewAccessor { - void DestroyPeerImpl(ViewPeer* peer) + void SetAxisHorizontalImpl(BaseEventPeer* peer, + const Ark_Number* axisHorizontal) { if (!needGroupedLog(1)) return; - string out("destroyPeer("); + string out("setAxisHorizontal("); + WriteToString(&out, axisHorizontal); out.append(") \n"); appendGroupedLog(1, out); } - Ark_NativePointer CtorImpl() + Ark_Int32 GetAxisVerticalImpl(BaseEventPeer* peer) { if (!needGroupedLog(1)) - return (ViewPeer*) 100; - string out("new View("); + return 0; + string out("getAxisVertical("); out.append(") \n"); - out.append("[return (ViewPeer*) 100] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return (ViewPeer*) 100; + return 0; } - Ark_NativePointer GetFinalizerImpl() + void SetAxisVerticalImpl(BaseEventPeer* peer, + const Ark_Number* axisVertical) { if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); + return; + string out("setAxisVertical("); + WriteToString(&out, axisVertical); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void CreateImpl(ViewPeer* peer, - const Ark_CustomObject* value) + Ark_Int32 GetPressureImpl(BaseEventPeer* peer) { if (!needGroupedLog(1)) - return; - string out("create("); - WriteToString(&out, value); + return 0; + string out("getPressure("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - } // ViewAccessor - namespace TextContentControllerBaseAccessor { - void DestroyPeerImpl(TextContentControllerBasePeer* peer) + void SetPressureImpl(BaseEventPeer* peer, + const Ark_Number* pressure) { if (!needGroupedLog(1)) return; - string out("destroyPeer("); + string out("setPressure("); + WriteToString(&out, pressure); out.append(") \n"); appendGroupedLog(1, out); } - Ark_NativePointer CtorImpl() + Ark_Int32 GetTiltXImpl(BaseEventPeer* peer) { if (!needGroupedLog(1)) - return (TextContentControllerBasePeer*) 100; - string out("new TextContentControllerBase("); + return 0; + string out("getTiltX("); out.append(") \n"); - out.append("[return (TextContentControllerBasePeer*) 100] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return (TextContentControllerBasePeer*) 100; + return 0; } - Ark_NativePointer GetFinalizerImpl() + void SetTiltXImpl(BaseEventPeer* peer, + const Ark_Number* tiltX) { if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); + return; + string out("setTiltX("); + WriteToString(&out, tiltX); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_NativePointer GetCaretOffsetImpl(TextContentControllerBasePeer* peer) + Ark_Int32 GetTiltYImpl(BaseEventPeer* peer) { if (!needGroupedLog(1)) return 0; - string out("getCaretOffset("); + string out("getTiltY("); out.append(") \n"); out.append("[return 0] \n"); appendGroupedLog(1, out); return 0; } - Ark_NativePointer GetTextContentRectImpl(TextContentControllerBasePeer* peer) + void SetTiltYImpl(BaseEventPeer* peer, + const Ark_Number* tiltY) { if (!needGroupedLog(1)) - return 0; - string out("getTextContentRect("); + return; + string out("setTiltY("); + WriteToString(&out, tiltY); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_Int32 GetTextContentLineCountImpl(TextContentControllerBasePeer* peer) + Ark_NativePointer GetSourceToolImpl(BaseEventPeer* peer) { if (!needGroupedLog(1)) return 0; - string out("getTextContentLineCount("); + string out("getSourceTool("); out.append(") \n"); out.append("[return 0] \n"); appendGroupedLog(1, out); return 0; } - } // TextContentControllerBaseAccessor - namespace DynamicNodeAccessor { - void DestroyPeerImpl(DynamicNodePeer* peer) + void SetSourceToolImpl(BaseEventPeer* peer, + Ark_SourceTool sourceTool) { if (!needGroupedLog(1)) return; - string out("destroyPeer("); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_NativePointer CtorImpl() - { - if (!needGroupedLog(1)) - return (DynamicNodePeer*) 100; - string out("new DynamicNode("); + string out("setSourceTool("); + WriteToString(&out, sourceTool); out.append(") \n"); - out.append("[return (DynamicNodePeer*) 100] \n"); appendGroupedLog(1, out); - return (DynamicNodePeer*) 100; } - Ark_NativePointer GetFinalizerImpl() + Ark_Int32 GetDeviceIdImpl(BaseEventPeer* peer) { if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); + return 0; + string out("getDeviceId("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return 0; } - void OnMoveImpl(DynamicNodePeer* peer, - const Opt_OnMoveHandler* handler) + void SetDeviceIdImpl(BaseEventPeer* peer, + const Ark_Number* deviceId) { if (!needGroupedLog(1)) return; - string out("onMove("); - WriteToString(&out, handler); + string out("setDeviceId("); + WriteToString(&out, deviceId); out.append(") \n"); appendGroupedLog(1, out); } - } // DynamicNodeAccessor - namespace ChildrenMainSizeAccessor { - void DestroyPeerImpl(ChildrenMainSizePeer* peer) + } // BaseEventAccessor + namespace ClickEventAccessor { + void DestroyPeerImpl(ClickEventPeer* peer) { if (!needGroupedLog(1)) return; @@ -22494,16 +22484,15 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_NativePointer CtorImpl(const Ark_Number* childDefaultSize) + Ark_NativePointer CtorImpl() { if (!needGroupedLog(1)) - return (ChildrenMainSizePeer*) 100; - string out("new ChildrenMainSize("); - WriteToString(&out, childDefaultSize); + return (ClickEventPeer*) 100; + string out("new ClickEvent("); out.append(") \n"); - out.append("[return (ChildrenMainSizePeer*) 100] \n"); + out.append("[return (ClickEventPeer*) 100] \n"); appendGroupedLog(1, out); - return (ChildrenMainSizePeer*) 100; + return (ClickEventPeer*) 100; } Ark_NativePointer GetFinalizerImpl() { @@ -22515,220 +22504,2725 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void SpliceImpl(ChildrenMainSizePeer* peer, - const Ark_Number* start, - const Opt_Number* deleteCount, - const Opt_Array_Number* childrenSize) + Ark_Int32 GetDisplayXImpl(ClickEventPeer* peer) { if (!needGroupedLog(1)) - return; - string out("splice("); - WriteToString(&out, start); - out.append(", "); - WriteToString(&out, deleteCount); - out.append(", "); - WriteToString(&out, childrenSize); + return 0; + string out("getDisplayX("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - void UpdateImpl(ChildrenMainSizePeer* peer, - const Ark_Number* index, - const Ark_Number* childSize) + void SetDisplayXImpl(ClickEventPeer* peer, + const Ark_Number* displayX) { if (!needGroupedLog(1)) return; - string out("update("); - WriteToString(&out, index); - out.append(", "); - WriteToString(&out, childSize); + string out("setDisplayX("); + WriteToString(&out, displayX); out.append(") \n"); appendGroupedLog(1, out); } - Ark_Int32 GetChildDefaultSizeImpl(ChildrenMainSizePeer* peer) + Ark_Int32 GetDisplayYImpl(ClickEventPeer* peer) { if (!needGroupedLog(1)) return 0; - string out("getChildDefaultSize("); + string out("getDisplayY("); out.append(") \n"); out.append("[return 0] \n"); appendGroupedLog(1, out); return 0; } - void SetChildDefaultSizeImpl(ChildrenMainSizePeer* peer, - const Ark_Number* childDefaultSize) + void SetDisplayYImpl(ClickEventPeer* peer, + const Ark_Number* displayY) { if (!needGroupedLog(1)) return; - string out("setChildDefaultSize("); - WriteToString(&out, childDefaultSize); + string out("setDisplayY("); + WriteToString(&out, displayY); out.append(") \n"); appendGroupedLog(1, out); } - } // ChildrenMainSizeAccessor - namespace GestureModifierAccessor { - void DestroyPeerImpl(GestureModifierPeer* peer) + Ark_Int32 GetWindowXImpl(ClickEventPeer* peer) { if (!needGroupedLog(1)) - return; - string out("destroyPeer("); + return 0; + string out("getWindowX("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - Ark_NativePointer CtorImpl() + void SetWindowXImpl(ClickEventPeer* peer, + const Ark_Number* windowX) { if (!needGroupedLog(1)) - return (GestureModifierPeer*) 100; - string out("new GestureModifier("); + return; + string out("setWindowX("); + WriteToString(&out, windowX); out.append(") \n"); - out.append("[return (GestureModifierPeer*) 100] \n"); appendGroupedLog(1, out); - return (GestureModifierPeer*) 100; } - Ark_NativePointer GetFinalizerImpl() + Ark_Int32 GetWindowYImpl(ClickEventPeer* peer) { if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); + return 0; + string out("getWindowY("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return 0; } - void ApplyGestureImpl(GestureModifierPeer* peer, - const Ark_UIGestureEvent* event) + void SetWindowYImpl(ClickEventPeer* peer, + const Ark_Number* windowY) { if (!needGroupedLog(1)) return; - string out("applyGesture("); - WriteToString(&out, event); + string out("setWindowY("); + WriteToString(&out, windowY); out.append(") \n"); appendGroupedLog(1, out); } - } // GestureModifierAccessor - namespace ContextMenuAccessor { - void DestroyPeerImpl(ContextMenuPeer* peer) + Ark_Int32 GetScreenXImpl(ClickEventPeer* peer) { if (!needGroupedLog(1)) - return; - string out("destroyPeer("); + return 0; + string out("getScreenX("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - Ark_NativePointer CtorImpl() + void SetScreenXImpl(ClickEventPeer* peer, + const Ark_Number* screenX) { if (!needGroupedLog(1)) - return (ContextMenuPeer*) 100; - string out("new ContextMenu("); + return; + string out("setScreenX("); + WriteToString(&out, screenX); out.append(") \n"); - out.append("[return (ContextMenuPeer*) 100] \n"); appendGroupedLog(1, out); - return (ContextMenuPeer*) 100; } - Ark_NativePointer GetFinalizerImpl() + Ark_Int32 GetScreenYImpl(ClickEventPeer* peer) { if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); + return 0; + string out("getScreenY("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return 0; } - void CloseImpl() + void SetScreenYImpl(ClickEventPeer* peer, + const Ark_Number* screenY) { if (!needGroupedLog(1)) return; - string out("close("); + string out("setScreenY("); + WriteToString(&out, screenY); out.append(") \n"); appendGroupedLog(1, out); } - } // ContextMenuAccessor - namespace CustomDialogControllerAccessor { - void DestroyPeerImpl(CustomDialogControllerPeer* peer) + Ark_Int32 GetXImpl(ClickEventPeer* peer) { if (!needGroupedLog(1)) - return; - string out("destroyPeer("); + return 0; + string out("getX("); out.append(") \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); + return 0; } - Ark_NativePointer CtorImpl(const Ark_CustomDialogControllerOptions* value) + void SetXImpl(ClickEventPeer* peer, + const Ark_Number* x) { if (!needGroupedLog(1)) - return (CustomDialogControllerPeer*) 100; - string out("new CustomDialogController("); - WriteToString(&out, value); - out.append(") \n"); + return; + string out("setX("); + WriteToString(&out, x); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetYImpl(ClickEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getY("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetYImpl(ClickEventPeer* peer, + const Ark_Number* y) + { + if (!needGroupedLog(1)) + return; + string out("setY("); + WriteToString(&out, y); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetPreventDefaultImpl(ClickEventPeer* 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(HoverEventPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (HoverEventPeer*) 100; + string out("new HoverEvent("); + out.append(") \n"); + out.append("[return (HoverEventPeer*) 100] \n"); + appendGroupedLog(1, out); + return (HoverEventPeer*) 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 SetStopPropagationImpl(HoverEventPeer* peer, + const Callback_Void* stopPropagation) + { + if (!needGroupedLog(1)) + return; + string out("setStopPropagation("); + WriteToString(&out, stopPropagation); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // HoverEventAccessor + namespace MouseEventAccessor { + void DestroyPeerImpl(MouseEventPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (MouseEventPeer*) 100; + string out("new MouseEvent("); + out.append(") \n"); + out.append("[return (MouseEventPeer*) 100] \n"); + appendGroupedLog(1, out); + return (MouseEventPeer*) 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 GetButtonImpl(MouseEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getButton("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetButtonImpl(MouseEventPeer* peer, + Ark_MouseButton button) + { + if (!needGroupedLog(1)) + return; + string out("setButton("); + WriteToString(&out, button); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer GetActionImpl(MouseEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getAction("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetActionImpl(MouseEventPeer* peer, + Ark_MouseAction action) + { + if (!needGroupedLog(1)) + return; + string out("setAction("); + WriteToString(&out, action); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetDisplayXImpl(MouseEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getDisplayX("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetDisplayXImpl(MouseEventPeer* peer, + const Ark_Number* displayX) + { + if (!needGroupedLog(1)) + return; + string out("setDisplayX("); + WriteToString(&out, displayX); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetDisplayYImpl(MouseEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getDisplayY("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetDisplayYImpl(MouseEventPeer* peer, + const Ark_Number* displayY) + { + if (!needGroupedLog(1)) + return; + string out("setDisplayY("); + WriteToString(&out, displayY); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetWindowXImpl(MouseEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getWindowX("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetWindowXImpl(MouseEventPeer* peer, + const Ark_Number* windowX) + { + if (!needGroupedLog(1)) + return; + string out("setWindowX("); + WriteToString(&out, windowX); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetWindowYImpl(MouseEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getWindowY("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetWindowYImpl(MouseEventPeer* peer, + const Ark_Number* windowY) + { + if (!needGroupedLog(1)) + return; + string out("setWindowY("); + WriteToString(&out, windowY); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetScreenXImpl(MouseEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getScreenX("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetScreenXImpl(MouseEventPeer* peer, + const Ark_Number* screenX) + { + if (!needGroupedLog(1)) + return; + string out("setScreenX("); + WriteToString(&out, screenX); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetScreenYImpl(MouseEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getScreenY("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetScreenYImpl(MouseEventPeer* peer, + const Ark_Number* screenY) + { + if (!needGroupedLog(1)) + return; + string out("setScreenY("); + WriteToString(&out, screenY); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetXImpl(MouseEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getX("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetXImpl(MouseEventPeer* peer, + const Ark_Number* x) + { + if (!needGroupedLog(1)) + return; + string out("setX("); + WriteToString(&out, x); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetYImpl(MouseEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getY("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetYImpl(MouseEventPeer* peer, + const Ark_Number* y) + { + if (!needGroupedLog(1)) + return; + string out("setY("); + WriteToString(&out, y); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetStopPropagationImpl(MouseEventPeer* peer, + const Callback_Void* stopPropagation) + { + if (!needGroupedLog(1)) + return; + string out("setStopPropagation("); + WriteToString(&out, stopPropagation); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // MouseEventAccessor + namespace AccessibilityHoverEventAccessor { + void DestroyPeerImpl(AccessibilityHoverEventPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (AccessibilityHoverEventPeer*) 100; + string out("new AccessibilityHoverEvent("); + out.append(") \n"); + out.append("[return (AccessibilityHoverEventPeer*) 100] \n"); + appendGroupedLog(1, out); + return (AccessibilityHoverEventPeer*) 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 GetTypeImpl(AccessibilityHoverEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getType("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetTypeImpl(AccessibilityHoverEventPeer* peer, + Ark_AccessibilityHoverType type) + { + if (!needGroupedLog(1)) + return; + string out("setType("); + WriteToString(&out, type); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetXImpl(AccessibilityHoverEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getX("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetXImpl(AccessibilityHoverEventPeer* peer, + const Ark_Number* x) + { + if (!needGroupedLog(1)) + return; + string out("setX("); + WriteToString(&out, x); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetYImpl(AccessibilityHoverEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getY("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetYImpl(AccessibilityHoverEventPeer* peer, + const Ark_Number* y) + { + if (!needGroupedLog(1)) + return; + string out("setY("); + WriteToString(&out, y); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetDisplayXImpl(AccessibilityHoverEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getDisplayX("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetDisplayXImpl(AccessibilityHoverEventPeer* peer, + const Ark_Number* displayX) + { + if (!needGroupedLog(1)) + return; + string out("setDisplayX("); + WriteToString(&out, displayX); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetDisplayYImpl(AccessibilityHoverEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getDisplayY("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetDisplayYImpl(AccessibilityHoverEventPeer* peer, + const Ark_Number* displayY) + { + if (!needGroupedLog(1)) + return; + string out("setDisplayY("); + WriteToString(&out, displayY); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetWindowXImpl(AccessibilityHoverEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getWindowX("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetWindowXImpl(AccessibilityHoverEventPeer* peer, + const Ark_Number* windowX) + { + if (!needGroupedLog(1)) + return; + string out("setWindowX("); + WriteToString(&out, windowX); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetWindowYImpl(AccessibilityHoverEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getWindowY("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetWindowYImpl(AccessibilityHoverEventPeer* peer, + const Ark_Number* windowY) + { + if (!needGroupedLog(1)) + return; + string out("setWindowY("); + WriteToString(&out, windowY); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // AccessibilityHoverEventAccessor + namespace TouchEventAccessor { + void DestroyPeerImpl(TouchEventPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (TouchEventPeer*) 100; + string out("new TouchEvent("); + out.append(") \n"); + out.append("[return (TouchEventPeer*) 100] \n"); + appendGroupedLog(1, out); + return (TouchEventPeer*) 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 GetHistoricalPointsImpl(TouchEventPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("getHistoricalPoints("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer GetTypeImpl(TouchEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getType("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetTypeImpl(TouchEventPeer* peer, + Ark_TouchType type) + { + if (!needGroupedLog(1)) + return; + string out("setType("); + WriteToString(&out, type); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetTouchesImpl(TouchEventPeer* peer, + const Array_TouchObject* touches) + { + if (!needGroupedLog(1)) + return; + string out("setTouches("); + WriteToString(&out, touches); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetChangedTouchesImpl(TouchEventPeer* peer, + const Array_TouchObject* changedTouches) + { + if (!needGroupedLog(1)) + return; + string out("setChangedTouches("); + WriteToString(&out, changedTouches); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetStopPropagationImpl(TouchEventPeer* peer, + const Callback_Void* stopPropagation) + { + if (!needGroupedLog(1)) + return; + string out("setStopPropagation("); + WriteToString(&out, stopPropagation); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetPreventDefaultImpl(TouchEventPeer* peer, + const Callback_Void* preventDefault) + { + if (!needGroupedLog(1)) + return; + string out("setPreventDefault("); + WriteToString(&out, preventDefault); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // TouchEventAccessor + namespace PixelMapMockAccessor { + void DestroyPeerImpl(PixelMapMockPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (PixelMapMockPeer*) 100; + string out("new PixelMapMock("); + out.append(") \n"); + out.append("[return (PixelMapMockPeer*) 100] \n"); + appendGroupedLog(1, out); + return (PixelMapMockPeer*) 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(PixelMapMockPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("release("); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // PixelMapMockAccessor + namespace DragEventAccessor { + void DestroyPeerImpl(DragEventPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (DragEventPeer*) 100; + string out("new DragEvent("); + out.append(") \n"); + out.append("[return (DragEventPeer*) 100] \n"); + appendGroupedLog(1, out); + return (DragEventPeer*) 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_Int32 GetDisplayXImpl(DragEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getDisplayX("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_Int32 GetDisplayYImpl(DragEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getDisplayY("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_Int32 GetWindowXImpl(DragEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getWindowX("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_Int32 GetWindowYImpl(DragEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getWindowY("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_Int32 GetXImpl(DragEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getX("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_Int32 GetYImpl(DragEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getY("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetDataImpl(DragEventPeer* peer, + const Ark_UnifiedData* unifiedData) + { + if (!needGroupedLog(1)) + return; + string out("setData("); + WriteToString(&out, unifiedData); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer GetDataImpl(DragEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getData("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_NativePointer GetSummaryImpl(DragEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getSummary("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetResultImpl(DragEventPeer* peer, + Ark_DragResult dragResult) + { + if (!needGroupedLog(1)) + return; + string out("setResult("); + WriteToString(&out, dragResult); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer GetResultImpl(DragEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getResult("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_NativePointer GetPreviewRectImpl(DragEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getPreviewRect("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_Int32 GetVelocityXImpl(DragEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getVelocityX("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_Int32 GetVelocityYImpl(DragEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getVelocityY("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_Int32 GetVelocityImpl(DragEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getVelocity("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_Boolean GetModifierKeyStateImpl(DragEventPeer* 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_NativePointer GetDragBehaviorImpl(DragEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getDragBehavior("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetDragBehaviorImpl(DragEventPeer* peer, + Ark_DragBehavior dragBehavior) + { + if (!needGroupedLog(1)) + return; + string out("setDragBehavior("); + WriteToString(&out, dragBehavior); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Boolean GetUseCustomDropAnimationImpl(DragEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getUseCustomDropAnimation("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetUseCustomDropAnimationImpl(DragEventPeer* peer, + Ark_Boolean useCustomDropAnimation) + { + if (!needGroupedLog(1)) + return; + string out("setUseCustomDropAnimation("); + WriteToString(&out, useCustomDropAnimation); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // DragEventAccessor + namespace KeyEventAccessor { + void DestroyPeerImpl(KeyEventPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (KeyEventPeer*) 100; + string out("new KeyEvent("); + out.append(") \n"); + out.append("[return (KeyEventPeer*) 100] \n"); + appendGroupedLog(1, out); + return (KeyEventPeer*) 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 GetModifierKeyStateImpl(KeyEventPeer* 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_NativePointer GetTypeImpl(KeyEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getType("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetTypeImpl(KeyEventPeer* peer, + Ark_KeyType type) + { + if (!needGroupedLog(1)) + return; + string out("setType("); + WriteToString(&out, type); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetKeyCodeImpl(KeyEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getKeyCode("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetKeyCodeImpl(KeyEventPeer* peer, + const Ark_Number* keyCode) + { + if (!needGroupedLog(1)) + return; + string out("setKeyCode("); + WriteToString(&out, keyCode); + out.append(") \n"); + appendGroupedLog(1, out); + } + void GetKeyTextImpl(KeyEventPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("getKeyText("); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetKeyTextImpl(KeyEventPeer* peer, + const Ark_String* keyText) + { + if (!needGroupedLog(1)) + return; + string out("setKeyText("); + WriteToString(&out, keyText); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer GetKeySourceImpl(KeyEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getKeySource("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetKeySourceImpl(KeyEventPeer* peer, + Ark_KeySource keySource) + { + if (!needGroupedLog(1)) + return; + string out("setKeySource("); + WriteToString(&out, keySource); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetDeviceIdImpl(KeyEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getDeviceId("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetDeviceIdImpl(KeyEventPeer* peer, + const Ark_Number* deviceId) + { + if (!needGroupedLog(1)) + return; + string out("setDeviceId("); + WriteToString(&out, deviceId); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetMetaKeyImpl(KeyEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getMetaKey("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetMetaKeyImpl(KeyEventPeer* peer, + const Ark_Number* metaKey) + { + if (!needGroupedLog(1)) + return; + string out("setMetaKey("); + WriteToString(&out, metaKey); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetTimestampImpl(KeyEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getTimestamp("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetTimestampImpl(KeyEventPeer* peer, + const Ark_Number* timestamp) + { + if (!needGroupedLog(1)) + return; + string out("setTimestamp("); + WriteToString(&out, timestamp); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetStopPropagationImpl(KeyEventPeer* peer, + const Callback_Void* stopPropagation) + { + if (!needGroupedLog(1)) + return; + string out("setStopPropagation("); + WriteToString(&out, stopPropagation); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetIntentionCodeImpl(KeyEventPeer* peer, + const Ark_IntentionCode* intentionCode) + { + if (!needGroupedLog(1)) + return; + string out("setIntentionCode("); + WriteToString(&out, intentionCode); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetUnicodeImpl(KeyEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getUnicode("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetUnicodeImpl(KeyEventPeer* peer, + const Ark_Number* unicode) + { + if (!needGroupedLog(1)) + return; + string out("setUnicode("); + WriteToString(&out, unicode); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // KeyEventAccessor + namespace ProgressMaskAccessor { + void DestroyPeerImpl(ProgressMaskPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl(const Ark_Number* value, + const Ark_Number* total, + const Ark_ResourceColor* color) + { + if (!needGroupedLog(1)) + return (ProgressMaskPeer*) 100; + string out("new ProgressMask("); + WriteToString(&out, value); + out.append(", "); + WriteToString(&out, total); + out.append(", "); + WriteToString(&out, color); + out.append(") \n"); + out.append("[return (ProgressMaskPeer*) 100] \n"); + appendGroupedLog(1, out); + return (ProgressMaskPeer*) 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 UpdateProgressImpl(ProgressMaskPeer* peer, + const Ark_Number* value) + { + if (!needGroupedLog(1)) + return; + string out("updateProgress("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void UpdateColorImpl(ProgressMaskPeer* peer, + const Ark_ResourceColor* value) + { + if (!needGroupedLog(1)) + return; + string out("updateColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void EnableBreathingAnimationImpl(ProgressMaskPeer* peer, + Ark_Boolean value) + { + if (!needGroupedLog(1)) + return; + string out("enableBreathingAnimation("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // ProgressMaskAccessor + namespace ViewAccessor { + void DestroyPeerImpl(ViewPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (ViewPeer*) 100; + string out("new View("); + out.append(") \n"); + out.append("[return (ViewPeer*) 100] \n"); + appendGroupedLog(1, out); + return (ViewPeer*) 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 CreateImpl(ViewPeer* peer, + const Ark_CustomObject* value) + { + if (!needGroupedLog(1)) + return; + string out("create("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // ViewAccessor + namespace TextContentControllerBaseAccessor { + void DestroyPeerImpl(TextContentControllerBasePeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (TextContentControllerBasePeer*) 100; + string out("new TextContentControllerBase("); + out.append(") \n"); + out.append("[return (TextContentControllerBasePeer*) 100] \n"); + appendGroupedLog(1, out); + return (TextContentControllerBasePeer*) 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 GetCaretOffsetImpl(TextContentControllerBasePeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getCaretOffset("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_NativePointer GetTextContentRectImpl(TextContentControllerBasePeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getTextContentRect("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_Int32 GetTextContentLineCountImpl(TextContentControllerBasePeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getTextContentLineCount("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + } // TextContentControllerBaseAccessor + namespace DynamicNodeAccessor { + void DestroyPeerImpl(DynamicNodePeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (DynamicNodePeer*) 100; + string out("new DynamicNode("); + out.append(") \n"); + out.append("[return (DynamicNodePeer*) 100] \n"); + appendGroupedLog(1, out); + return (DynamicNodePeer*) 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 OnMoveImpl(DynamicNodePeer* peer, + const Opt_OnMoveHandler* handler) + { + if (!needGroupedLog(1)) + return; + string out("onMove("); + WriteToString(&out, handler); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // DynamicNodeAccessor + namespace ChildrenMainSizeAccessor { + void DestroyPeerImpl(ChildrenMainSizePeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl(const Ark_Number* childDefaultSize) + { + if (!needGroupedLog(1)) + return (ChildrenMainSizePeer*) 100; + string out("new ChildrenMainSize("); + WriteToString(&out, childDefaultSize); + out.append(") \n"); + out.append("[return (ChildrenMainSizePeer*) 100] \n"); + appendGroupedLog(1, out); + return (ChildrenMainSizePeer*) 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(ChildrenMainSizePeer* 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(ChildrenMainSizePeer* 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_Int32 GetChildDefaultSizeImpl(ChildrenMainSizePeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getChildDefaultSize("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetChildDefaultSizeImpl(ChildrenMainSizePeer* 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(UICommonEventPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (UICommonEventPeer*) 100; + string out("new UICommonEvent("); + out.append(") \n"); + out.append("[return (UICommonEventPeer*) 100] \n"); + appendGroupedLog(1, out); + return (UICommonEventPeer*) 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(UICommonEventPeer* 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(UICommonEventPeer* 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(UICommonEventPeer* peer, + const Opt_Callback_Void* callback_) + { + if (!needGroupedLog(1)) + return; + string out("setOnAppear("); + WriteToString(&out, callback_); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetOnDisappearImpl(UICommonEventPeer* peer, + const Opt_Callback_Void* callback_) + { + if (!needGroupedLog(1)) + return; + string out("setOnDisappear("); + WriteToString(&out, callback_); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetOnKeyEventImpl(UICommonEventPeer* 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(UICommonEventPeer* peer, + const Opt_Callback_Void* callback_) + { + if (!needGroupedLog(1)) + return; + string out("setOnFocus("); + WriteToString(&out, callback_); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetOnBlurImpl(UICommonEventPeer* peer, + const Opt_Callback_Void* callback_) + { + if (!needGroupedLog(1)) + return; + string out("setOnBlur("); + WriteToString(&out, callback_); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetOnHoverImpl(UICommonEventPeer* peer, + const Opt_HoverCallback* callback_) + { + if (!needGroupedLog(1)) + return; + string out("setOnHover("); + WriteToString(&out, callback_); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetOnMouseImpl(UICommonEventPeer* 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(UICommonEventPeer* peer, + const Opt_SizeChangeCallback* callback_) + { + if (!needGroupedLog(1)) + return; + string out("setOnSizeChange("); + WriteToString(&out, callback_); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetOnVisibleAreaApproximateChangeImpl(UICommonEventPeer* 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(GestureModifierPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (GestureModifierPeer*) 100; + string out("new GestureModifier("); + out.append(") \n"); + out.append("[return (GestureModifierPeer*) 100] \n"); + appendGroupedLog(1, out); + return (GestureModifierPeer*) 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(GestureModifierPeer* peer, + const Ark_UIGestureEvent* event) + { + if (!needGroupedLog(1)) + return; + string out("applyGesture("); + WriteToString(&out, event); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // GestureModifierAccessor + namespace GlobalScope_commonAccessor { + void DestroyPeerImpl(GlobalScope_commonPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (GlobalScope_commonPeer*) 100; + string out("new GlobalScope_common("); + out.append(") \n"); + out.append("[return (GlobalScope_commonPeer*) 100] \n"); + appendGroupedLog(1, out); + return (GlobalScope_commonPeer*) 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 GetContextImpl(const Opt_CustomObject* component) + { + if (!needGroupedLog(1)) + return (void*) 300; + string out("getContext("); + WriteToString(&out, component); + out.append(") \n"); + out.append("[return (void*) 300] \n"); + appendGroupedLog(1, out); + return (void*) 300; + } + void PostCardActionImpl(const Ark_CustomObject* component, + const Ark_CustomObject* action) + { + if (!needGroupedLog(1)) + return; + string out("postCardAction("); + WriteToString(&out, component); + out.append(", "); + WriteToString(&out, action); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer Dollar_rImpl(const Ark_String* value, + const Array_CustomObject* params) + { + if (!needGroupedLog(1)) + return (void*) 300; + string out("dollar_r("); + WriteToString(&out, value); + out.append(", "); + WriteToString(&out, params); + out.append(") \n"); + out.append("[return (void*) 300] \n"); + appendGroupedLog(1, out); + return (void*) 300; + } + Ark_NativePointer Dollar_rawfileImpl(const Ark_String* value) + { + if (!needGroupedLog(1)) + return (void*) 300; + string out("dollar_rawfile("); + WriteToString(&out, value); + out.append(") \n"); + out.append("[return (void*) 300] \n"); + appendGroupedLog(1, out); + return (void*) 300; + } + void AnimateToImpl(const Ark_AnimateParam* value, + const Callback_Void* event) + { + if (!needGroupedLog(1)) + return; + string out("animateTo("); + WriteToString(&out, value); + out.append(", "); + WriteToString(&out, event); + out.append(") \n"); + appendGroupedLog(1, out); + } + void AnimateToImmediatelyImpl(const Ark_AnimateParam* value, + const Callback_Void* event) + { + if (!needGroupedLog(1)) + return; + string out("animateToImmediately("); + WriteToString(&out, value); + out.append(", "); + WriteToString(&out, event); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 Vp2pxImpl(const Ark_Number* value) + { + if (!needGroupedLog(1)) + return 100; + string out("vp2px("); + WriteToString(&out, value); + out.append(") \n"); + out.append("[return 100] \n"); + appendGroupedLog(1, out); + return 100; + } + Ark_Int32 Px2vpImpl(const Ark_Number* value) + { + if (!needGroupedLog(1)) + return 100; + string out("px2vp("); + WriteToString(&out, value); + out.append(") \n"); + out.append("[return 100] \n"); + appendGroupedLog(1, out); + return 100; + } + Ark_Int32 Fp2pxImpl(const Ark_Number* value) + { + if (!needGroupedLog(1)) + return 100; + string out("fp2px("); + WriteToString(&out, value); + out.append(") \n"); + out.append("[return 100] \n"); + appendGroupedLog(1, out); + return 100; + } + Ark_Int32 Px2fpImpl(const Ark_Number* value) + { + if (!needGroupedLog(1)) + return 100; + string out("px2fp("); + WriteToString(&out, value); + out.append(") \n"); + out.append("[return 100] \n"); + appendGroupedLog(1, out); + return 100; + } + Ark_Int32 Lpx2pxImpl(const Ark_Number* value) + { + if (!needGroupedLog(1)) + return 100; + string out("lpx2px("); + WriteToString(&out, value); + out.append(") \n"); + out.append("[return 100] \n"); + appendGroupedLog(1, out); + return 100; + } + Ark_Int32 Px2lpxImpl(const Ark_Number* value) + { + if (!needGroupedLog(1)) + return 100; + string out("px2lpx("); + WriteToString(&out, value); + out.append(") \n"); + out.append("[return 100] \n"); + appendGroupedLog(1, out); + return 100; + } + Ark_Boolean RequestFocusImpl(const Ark_String* value) + { + if (!needGroupedLog(1)) + return 0; + string out("requestFocus("); + WriteToString(&out, value); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetCursorImpl(Ark_PointerStyle value) + { + if (!needGroupedLog(1)) + return; + string out("setCursor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void RestoreDefaultImpl() + { + if (!needGroupedLog(1)) + return; + string out("restoreDefault("); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // GlobalScope_commonAccessor + namespace ContextMenuAccessor { + void DestroyPeerImpl(ContextMenuPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (ContextMenuPeer*) 100; + string out("new ContextMenu("); + out.append(") \n"); + out.append("[return (ContextMenuPeer*) 100] \n"); + appendGroupedLog(1, out); + return (ContextMenuPeer*) 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 CloseImpl() + { + if (!needGroupedLog(1)) + return; + string out("close("); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // ContextMenuAccessor + namespace CustomDialogControllerAccessor { + void DestroyPeerImpl(CustomDialogControllerPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl(const Ark_CustomDialogControllerOptions* value) + { + if (!needGroupedLog(1)) + return (CustomDialogControllerPeer*) 100; + string out("new CustomDialogController("); + WriteToString(&out, value); + out.append(") \n"); out.append("[return (CustomDialogControllerPeer*) 100] \n"); appendGroupedLog(1, out); - return (CustomDialogControllerPeer*) 100; + return (CustomDialogControllerPeer*) 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 OpenImpl(CustomDialogControllerPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("open("); + out.append(") \n"); + appendGroupedLog(1, out); + } + void CloseImpl(CustomDialogControllerPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("close("); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // CustomDialogControllerAccessor + namespace DatePickerDialogAccessor { + void DestroyPeerImpl(DatePickerDialogPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (DatePickerDialogPeer*) 100; + string out("new DatePickerDialog("); + out.append(") \n"); + out.append("[return (DatePickerDialogPeer*) 100] \n"); + appendGroupedLog(1, out); + return (DatePickerDialogPeer*) 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 ShowImpl(const Opt_DatePickerDialogOptions* options) + { + if (!needGroupedLog(1)) + return; + string out("show("); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // DatePickerDialogAccessor + namespace BaseGestureEventAccessor { + void DestroyPeerImpl(BaseGestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (BaseGestureEventPeer*) 100; + string out("new BaseGestureEvent("); + out.append(") \n"); + out.append("[return (BaseGestureEventPeer*) 100] \n"); + appendGroupedLog(1, out); + return (BaseGestureEventPeer*) 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 SetFingerListImpl(BaseGestureEventPeer* peer, + const Array_FingerInfo* fingerList) + { + if (!needGroupedLog(1)) + return; + string out("setFingerList("); + WriteToString(&out, fingerList); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // BaseGestureEventAccessor + namespace TapGestureEventAccessor { + void DestroyPeerImpl(TapGestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (TapGestureEventPeer*) 100; + string out("new TapGestureEvent("); + out.append(") \n"); + out.append("[return (TapGestureEventPeer*) 100] \n"); + appendGroupedLog(1, out); + return (TapGestureEventPeer*) 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); + } + } // TapGestureEventAccessor + namespace LongPressGestureEventAccessor { + void DestroyPeerImpl(LongPressGestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (LongPressGestureEventPeer*) 100; + string out("new LongPressGestureEvent("); + out.append(") \n"); + out.append("[return (LongPressGestureEventPeer*) 100] \n"); + appendGroupedLog(1, out); + return (LongPressGestureEventPeer*) 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 GetRepeatImpl(LongPressGestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getRepeat("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetRepeatImpl(LongPressGestureEventPeer* peer, + Ark_Boolean repeat) + { + if (!needGroupedLog(1)) + return; + string out("setRepeat("); + WriteToString(&out, repeat); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // LongPressGestureEventAccessor + namespace PanGestureEventAccessor { + void DestroyPeerImpl(PanGestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (PanGestureEventPeer*) 100; + string out("new PanGestureEvent("); + out.append(") \n"); + out.append("[return (PanGestureEventPeer*) 100] \n"); + appendGroupedLog(1, out); + return (PanGestureEventPeer*) 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_Int32 GetOffsetXImpl(PanGestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getOffsetX("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetOffsetXImpl(PanGestureEventPeer* peer, + const Ark_Number* offsetX) + { + if (!needGroupedLog(1)) + return; + string out("setOffsetX("); + WriteToString(&out, offsetX); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetOffsetYImpl(PanGestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getOffsetY("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetOffsetYImpl(PanGestureEventPeer* peer, + const Ark_Number* offsetY) + { + if (!needGroupedLog(1)) + return; + string out("setOffsetY("); + WriteToString(&out, offsetY); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetVelocityXImpl(PanGestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getVelocityX("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetVelocityXImpl(PanGestureEventPeer* peer, + const Ark_Number* velocityX) + { + if (!needGroupedLog(1)) + return; + string out("setVelocityX("); + WriteToString(&out, velocityX); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetVelocityYImpl(PanGestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getVelocityY("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetVelocityYImpl(PanGestureEventPeer* peer, + const Ark_Number* velocityY) + { + if (!needGroupedLog(1)) + return; + string out("setVelocityY("); + WriteToString(&out, velocityY); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetVelocityImpl(PanGestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getVelocity("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetVelocityImpl(PanGestureEventPeer* peer, + const Ark_Number* velocity) + { + if (!needGroupedLog(1)) + return; + string out("setVelocity("); + WriteToString(&out, velocity); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // PanGestureEventAccessor + namespace PinchGestureEventAccessor { + void DestroyPeerImpl(PinchGestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (PinchGestureEventPeer*) 100; + string out("new PinchGestureEvent("); + out.append(") \n"); + out.append("[return (PinchGestureEventPeer*) 100] \n"); + appendGroupedLog(1, out); + return (PinchGestureEventPeer*) 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_Int32 GetScaleImpl(PinchGestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getScale("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetScaleImpl(PinchGestureEventPeer* peer, + const Ark_Number* scale) + { + if (!needGroupedLog(1)) + return; + string out("setScale("); + WriteToString(&out, scale); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetPinchCenterXImpl(PinchGestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getPinchCenterX("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetPinchCenterXImpl(PinchGestureEventPeer* peer, + const Ark_Number* pinchCenterX) + { + if (!needGroupedLog(1)) + return; + string out("setPinchCenterX("); + WriteToString(&out, pinchCenterX); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetPinchCenterYImpl(PinchGestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getPinchCenterY("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetPinchCenterYImpl(PinchGestureEventPeer* peer, + const Ark_Number* pinchCenterY) + { + if (!needGroupedLog(1)) + return; + string out("setPinchCenterY("); + WriteToString(&out, pinchCenterY); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // PinchGestureEventAccessor + namespace RotationGestureEventAccessor { + void DestroyPeerImpl(RotationGestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (RotationGestureEventPeer*) 100; + string out("new RotationGestureEvent("); + out.append(") \n"); + out.append("[return (RotationGestureEventPeer*) 100] \n"); + appendGroupedLog(1, out); + return (RotationGestureEventPeer*) 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_Int32 GetAngleImpl(RotationGestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getAngle("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetAngleImpl(RotationGestureEventPeer* peer, + const Ark_Number* angle) + { + if (!needGroupedLog(1)) + return; + string out("setAngle("); + WriteToString(&out, angle); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // RotationGestureEventAccessor + namespace SwipeGestureEventAccessor { + void DestroyPeerImpl(SwipeGestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (SwipeGestureEventPeer*) 100; + string out("new SwipeGestureEvent("); + out.append(") \n"); + out.append("[return (SwipeGestureEventPeer*) 100] \n"); + appendGroupedLog(1, out); + return (SwipeGestureEventPeer*) 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_Int32 GetAngleImpl(SwipeGestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getAngle("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetAngleImpl(SwipeGestureEventPeer* peer, + const Ark_Number* angle) + { + if (!needGroupedLog(1)) + return; + string out("setAngle("); + WriteToString(&out, angle); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetSpeedImpl(SwipeGestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getSpeed("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetSpeedImpl(SwipeGestureEventPeer* peer, + const Ark_Number* speed) + { + if (!needGroupedLog(1)) + return; + string out("setSpeed("); + WriteToString(&out, speed); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // SwipeGestureEventAccessor + namespace GestureEventAccessor { + void DestroyPeerImpl(GestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (GestureEventPeer*) 100; + string out("new GestureEvent("); + out.append(") \n"); + out.append("[return (GestureEventPeer*) 100] \n"); + appendGroupedLog(1, out); + return (GestureEventPeer*) 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 GetRepeatImpl(GestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getRepeat("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetRepeatImpl(GestureEventPeer* peer, + Ark_Boolean repeat) + { + if (!needGroupedLog(1)) + return; + string out("setRepeat("); + WriteToString(&out, repeat); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetFingerListImpl(GestureEventPeer* peer, + const Array_FingerInfo* fingerList) + { + if (!needGroupedLog(1)) + return; + string out("setFingerList("); + WriteToString(&out, fingerList); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetOffsetXImpl(GestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getOffsetX("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetOffsetXImpl(GestureEventPeer* peer, + const Ark_Number* offsetX) + { + if (!needGroupedLog(1)) + return; + string out("setOffsetX("); + WriteToString(&out, offsetX); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetOffsetYImpl(GestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getOffsetY("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetOffsetYImpl(GestureEventPeer* peer, + const Ark_Number* offsetY) + { + if (!needGroupedLog(1)) + return; + string out("setOffsetY("); + WriteToString(&out, offsetY); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetAngleImpl(GestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getAngle("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetAngleImpl(GestureEventPeer* peer, + const Ark_Number* angle) + { + if (!needGroupedLog(1)) + return; + string out("setAngle("); + WriteToString(&out, angle); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetSpeedImpl(GestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getSpeed("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetSpeedImpl(GestureEventPeer* peer, + const Ark_Number* speed) + { + if (!needGroupedLog(1)) + return; + string out("setSpeed("); + WriteToString(&out, speed); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetScaleImpl(GestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getScale("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; } - Ark_NativePointer GetFinalizerImpl() + void SetScaleImpl(GestureEventPeer* peer, + const Ark_Number* scale) { if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); + return; + string out("setScale("); + WriteToString(&out, scale); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void OpenImpl(CustomDialogControllerPeer* peer) + Ark_Int32 GetPinchCenterXImpl(GestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getPinchCenterX("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetPinchCenterXImpl(GestureEventPeer* peer, + const Ark_Number* pinchCenterX) { if (!needGroupedLog(1)) return; - string out("open("); + string out("setPinchCenterX("); + WriteToString(&out, pinchCenterX); out.append(") \n"); appendGroupedLog(1, out); } - void CloseImpl(CustomDialogControllerPeer* peer) + Ark_Int32 GetPinchCenterYImpl(GestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getPinchCenterY("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetPinchCenterYImpl(GestureEventPeer* peer, + const Ark_Number* pinchCenterY) { if (!needGroupedLog(1)) return; - string out("close("); + string out("setPinchCenterY("); + WriteToString(&out, pinchCenterY); out.append(") \n"); appendGroupedLog(1, out); } - } // CustomDialogControllerAccessor - namespace DatePickerDialogAccessor { - void DestroyPeerImpl(DatePickerDialogPeer* peer) + Ark_Int32 GetVelocityXImpl(GestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getVelocityX("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetVelocityXImpl(GestureEventPeer* peer, + const Ark_Number* velocityX) { if (!needGroupedLog(1)) return; - string out("destroyPeer("); + string out("setVelocityX("); + WriteToString(&out, velocityX); out.append(") \n"); appendGroupedLog(1, out); } - Ark_NativePointer CtorImpl() + Ark_Int32 GetVelocityYImpl(GestureEventPeer* peer) { if (!needGroupedLog(1)) - return (DatePickerDialogPeer*) 100; - string out("new DatePickerDialog("); + return 0; + string out("getVelocityY("); out.append(") \n"); - out.append("[return (DatePickerDialogPeer*) 100] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return (DatePickerDialogPeer*) 100; + return 0; } - Ark_NativePointer GetFinalizerImpl() + void SetVelocityYImpl(GestureEventPeer* peer, + const Ark_Number* velocityY) { if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); + return; + string out("setVelocityY("); + WriteToString(&out, velocityY); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - void ShowImpl(const Opt_DatePickerDialogOptions* options) + Ark_Int32 GetVelocityImpl(GestureEventPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getVelocity("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetVelocityImpl(GestureEventPeer* peer, + const Ark_Number* velocity) { if (!needGroupedLog(1)) return; - string out("show("); - WriteToString(&out, options); + string out("setVelocity("); + WriteToString(&out, velocity); out.append(") \n"); appendGroupedLog(1, out); } - } // DatePickerDialogAccessor + } // GestureEventAccessor namespace PanGestureOptionsAccessor { void DestroyPeerImpl(PanGestureOptionsPeer* peer) { @@ -24754,12 +27248,12 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void FinishAnimationImpl(SwiperControllerPeer* peer, - const Opt_VoidCallback* callback) + const Opt_VoidCallback* callback_) { if (!needGroupedLog(1)) return; string out("finishAnimation("); - WriteToString(&out, callback); + WriteToString(&out, callback_); out.append(") \n"); appendGroupedLog(1, out); } @@ -25645,6 +28139,62 @@ namespace OHOS::Ace::NG::GeneratedModifier { return 0; } } // EditMenuOptionsAccessor + namespace SubmitEventAccessor { + void DestroyPeerImpl(SubmitEventPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (SubmitEventPeer*) 100; + string out("new SubmitEvent("); + out.append(") \n"); + out.append("[return (SubmitEventPeer*) 100] \n"); + appendGroupedLog(1, out); + return (SubmitEventPeer*) 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 KeepEditableStateImpl(SubmitEventPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("keepEditableState("); + out.append(") \n"); + appendGroupedLog(1, out); + } + void GetTextImpl(SubmitEventPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("getText("); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetTextImpl(SubmitEventPeer* peer, + const Ark_String* text) + { + if (!needGroupedLog(1)) + return; + string out("setText("); + WriteToString(&out, text); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // SubmitEventAccessor namespace TextInputControllerAccessor { void DestroyPeerImpl(TextInputControllerPeer* peer) { @@ -27420,7 +29970,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void RunJavaScriptImpl(WebControllerPeer* peer, - const Ark_Literal_String_script_Callback_String_Void_callback* options) + const Ark_Literal_String_script_Callback_String_Void_callback_* options) { if (!needGroupedLog(1)) return; @@ -27466,7 +30016,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } void RegisterJavaScriptProxyImpl(WebControllerPeer* peer, - const Ark_Literal_Object_object_String_name_Array_String_methodList* options) + const Ark_Literal_Object_object__String_name_Array_String_methodList* options) { if (!needGroupedLog(1)) return; @@ -27859,42 +30409,42 @@ namespace OHOS::Ace::NG::GeneratedModifier { return 0; } void OnAsyncReceiverRegisterImpl(UIExtensionProxyPeer* peer, - const Callback_UIExtensionProxy_Void* callback) + const Callback_UIExtensionProxy_Void* callback_) { if (!needGroupedLog(1)) return; string out("onAsyncReceiverRegister("); - WriteToString(&out, callback); + WriteToString(&out, callback_); out.append(") \n"); appendGroupedLog(1, out); } void OnSyncReceiverRegisterImpl(UIExtensionProxyPeer* peer, - const Callback_UIExtensionProxy_Void* callback) + const Callback_UIExtensionProxy_Void* callback_) { if (!needGroupedLog(1)) return; string out("onSyncReceiverRegister("); - WriteToString(&out, callback); + WriteToString(&out, callback_); out.append(") \n"); appendGroupedLog(1, out); } void OffAsyncReceiverRegisterImpl(UIExtensionProxyPeer* peer, - const Opt_Callback_UIExtensionProxy_Void* callback) + const Opt_Callback_UIExtensionProxy_Void* callback_) { if (!needGroupedLog(1)) return; string out("offAsyncReceiverRegister("); - WriteToString(&out, callback); + WriteToString(&out, callback_); out.append(") \n"); appendGroupedLog(1, out); } void OffSyncReceiverRegisterImpl(UIExtensionProxyPeer* peer, - const Opt_Callback_UIExtensionProxy_Void* callback) + const Opt_Callback_UIExtensionProxy_Void* callback_) { if (!needGroupedLog(1)) return; string out("offSyncReceiverRegister("); - WriteToString(&out, callback); + WriteToString(&out, callback_); out.append(") \n"); appendGroupedLog(1, out); } @@ -28336,6 +30886,83 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } } // LinearIndicatorControllerAccessor + namespace GlobalScope_inspectorAccessor { + void DestroyPeerImpl(GlobalScope_inspectorPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (GlobalScope_inspectorPeer*) 100; + string out("new GlobalScope_inspector("); + out.append(") \n"); + out.append("[return (GlobalScope_inspectorPeer*) 100] \n"); + appendGroupedLog(1, out); + return (GlobalScope_inspectorPeer*) 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 GetInspectorNodesImpl() + { + if (!needGroupedLog(1)) + return (void*) 300; + string out("getInspectorNodes("); + out.append(") \n"); + out.append("[return (void*) 300] \n"); + appendGroupedLog(1, out); + return (void*) 300; + } + Ark_NativePointer GetInspectorNodeByIdImpl(const Ark_Number* id) + { + if (!needGroupedLog(1)) + return (void*) 300; + string out("getInspectorNodeById("); + WriteToString(&out, id); + out.append(") \n"); + out.append("[return (void*) 300] \n"); + appendGroupedLog(1, out); + return (void*) 300; + } + void RegisterVsyncCallbackImpl(const Callback_String_Void* callback_) + { + if (!needGroupedLog(1)) + return; + string out("registerVsyncCallback("); + WriteToString(&out, callback_); + out.append(") \n"); + appendGroupedLog(1, out); + } + void UnregisterVsyncCallbackImpl() + { + if (!needGroupedLog(1)) + return; + string out("unregisterVsyncCallback("); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetAppBgColorImpl(const Ark_String* value) + { + if (!needGroupedLog(1)) + return; + string out("setAppBgColor("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // GlobalScope_inspectorAccessor const GENERATED_ArkUIUnifiedDataAccessor* GetUnifiedDataAccessor() { static const GENERATED_ArkUIUnifiedDataAccessor UnifiedDataAccessorImpl { @@ -28360,6 +30987,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { LazyForEachOpsAccessor::NeedMoreElementsImpl, LazyForEachOpsAccessor::OnRangeUpdateImpl, LazyForEachOpsAccessor::SetCurrentIndexImpl, + LazyForEachOpsAccessor::PrepareImpl, }; return &LazyForEachOpsAccessorImpl; } @@ -28759,6 +31387,164 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct TransitionEffectPeer { virtual ~TransitionEffectPeer() = default; }; + const GENERATED_ArkUIBaseEventAccessor* GetBaseEventAccessor() + { + static const GENERATED_ArkUIBaseEventAccessor BaseEventAccessorImpl { + BaseEventAccessor::DestroyPeerImpl, + BaseEventAccessor::CtorImpl, + BaseEventAccessor::GetFinalizerImpl, + BaseEventAccessor::GetModifierKeyStateImpl, + BaseEventAccessor::SetTargetImpl, + BaseEventAccessor::GetTimestampImpl, + BaseEventAccessor::SetTimestampImpl, + BaseEventAccessor::GetSourceImpl, + BaseEventAccessor::SetSourceImpl, + BaseEventAccessor::GetAxisHorizontalImpl, + BaseEventAccessor::SetAxisHorizontalImpl, + BaseEventAccessor::GetAxisVerticalImpl, + BaseEventAccessor::SetAxisVerticalImpl, + BaseEventAccessor::GetPressureImpl, + BaseEventAccessor::SetPressureImpl, + BaseEventAccessor::GetTiltXImpl, + BaseEventAccessor::SetTiltXImpl, + BaseEventAccessor::GetTiltYImpl, + BaseEventAccessor::SetTiltYImpl, + BaseEventAccessor::GetSourceToolImpl, + BaseEventAccessor::SetSourceToolImpl, + BaseEventAccessor::GetDeviceIdImpl, + BaseEventAccessor::SetDeviceIdImpl, + }; + return &BaseEventAccessorImpl; + } + + struct BaseEventPeer { + virtual ~BaseEventPeer() = default; + }; + const GENERATED_ArkUIClickEventAccessor* GetClickEventAccessor() + { + static const GENERATED_ArkUIClickEventAccessor ClickEventAccessorImpl { + ClickEventAccessor::DestroyPeerImpl, + ClickEventAccessor::CtorImpl, + ClickEventAccessor::GetFinalizerImpl, + ClickEventAccessor::GetDisplayXImpl, + ClickEventAccessor::SetDisplayXImpl, + ClickEventAccessor::GetDisplayYImpl, + ClickEventAccessor::SetDisplayYImpl, + ClickEventAccessor::GetWindowXImpl, + ClickEventAccessor::SetWindowXImpl, + ClickEventAccessor::GetWindowYImpl, + ClickEventAccessor::SetWindowYImpl, + ClickEventAccessor::GetScreenXImpl, + ClickEventAccessor::SetScreenXImpl, + ClickEventAccessor::GetScreenYImpl, + ClickEventAccessor::SetScreenYImpl, + ClickEventAccessor::GetXImpl, + ClickEventAccessor::SetXImpl, + ClickEventAccessor::GetYImpl, + ClickEventAccessor::SetYImpl, + ClickEventAccessor::SetPreventDefaultImpl, + }; + return &ClickEventAccessorImpl; + } + + struct ClickEventPeer { + virtual ~ClickEventPeer() = default; + }; + const GENERATED_ArkUIHoverEventAccessor* GetHoverEventAccessor() + { + static const GENERATED_ArkUIHoverEventAccessor HoverEventAccessorImpl { + HoverEventAccessor::DestroyPeerImpl, + HoverEventAccessor::CtorImpl, + HoverEventAccessor::GetFinalizerImpl, + HoverEventAccessor::SetStopPropagationImpl, + }; + return &HoverEventAccessorImpl; + } + + struct HoverEventPeer { + virtual ~HoverEventPeer() = default; + }; + const GENERATED_ArkUIMouseEventAccessor* GetMouseEventAccessor() + { + static const GENERATED_ArkUIMouseEventAccessor MouseEventAccessorImpl { + MouseEventAccessor::DestroyPeerImpl, + MouseEventAccessor::CtorImpl, + MouseEventAccessor::GetFinalizerImpl, + MouseEventAccessor::GetButtonImpl, + MouseEventAccessor::SetButtonImpl, + MouseEventAccessor::GetActionImpl, + MouseEventAccessor::SetActionImpl, + MouseEventAccessor::GetDisplayXImpl, + MouseEventAccessor::SetDisplayXImpl, + MouseEventAccessor::GetDisplayYImpl, + MouseEventAccessor::SetDisplayYImpl, + MouseEventAccessor::GetWindowXImpl, + MouseEventAccessor::SetWindowXImpl, + MouseEventAccessor::GetWindowYImpl, + MouseEventAccessor::SetWindowYImpl, + MouseEventAccessor::GetScreenXImpl, + MouseEventAccessor::SetScreenXImpl, + MouseEventAccessor::GetScreenYImpl, + MouseEventAccessor::SetScreenYImpl, + MouseEventAccessor::GetXImpl, + MouseEventAccessor::SetXImpl, + MouseEventAccessor::GetYImpl, + MouseEventAccessor::SetYImpl, + MouseEventAccessor::SetStopPropagationImpl, + }; + return &MouseEventAccessorImpl; + } + + struct MouseEventPeer { + virtual ~MouseEventPeer() = default; + }; + const GENERATED_ArkUIAccessibilityHoverEventAccessor* GetAccessibilityHoverEventAccessor() + { + static const GENERATED_ArkUIAccessibilityHoverEventAccessor AccessibilityHoverEventAccessorImpl { + AccessibilityHoverEventAccessor::DestroyPeerImpl, + AccessibilityHoverEventAccessor::CtorImpl, + AccessibilityHoverEventAccessor::GetFinalizerImpl, + AccessibilityHoverEventAccessor::GetTypeImpl, + AccessibilityHoverEventAccessor::SetTypeImpl, + AccessibilityHoverEventAccessor::GetXImpl, + AccessibilityHoverEventAccessor::SetXImpl, + AccessibilityHoverEventAccessor::GetYImpl, + AccessibilityHoverEventAccessor::SetYImpl, + AccessibilityHoverEventAccessor::GetDisplayXImpl, + AccessibilityHoverEventAccessor::SetDisplayXImpl, + AccessibilityHoverEventAccessor::GetDisplayYImpl, + AccessibilityHoverEventAccessor::SetDisplayYImpl, + AccessibilityHoverEventAccessor::GetWindowXImpl, + AccessibilityHoverEventAccessor::SetWindowXImpl, + AccessibilityHoverEventAccessor::GetWindowYImpl, + AccessibilityHoverEventAccessor::SetWindowYImpl, + }; + return &AccessibilityHoverEventAccessorImpl; + } + + struct AccessibilityHoverEventPeer { + virtual ~AccessibilityHoverEventPeer() = default; + }; + const GENERATED_ArkUITouchEventAccessor* GetTouchEventAccessor() + { + static const GENERATED_ArkUITouchEventAccessor TouchEventAccessorImpl { + TouchEventAccessor::DestroyPeerImpl, + TouchEventAccessor::CtorImpl, + TouchEventAccessor::GetFinalizerImpl, + TouchEventAccessor::GetHistoricalPointsImpl, + TouchEventAccessor::GetTypeImpl, + TouchEventAccessor::SetTypeImpl, + TouchEventAccessor::SetTouchesImpl, + TouchEventAccessor::SetChangedTouchesImpl, + TouchEventAccessor::SetStopPropagationImpl, + TouchEventAccessor::SetPreventDefaultImpl, + }; + return &TouchEventAccessorImpl; + } + + struct TouchEventPeer { + virtual ~TouchEventPeer() = default; + }; const GENERATED_ArkUIPixelMapMockAccessor* GetPixelMapMockAccessor() { static const GENERATED_ArkUIPixelMapMockAccessor PixelMapMockAccessorImpl { @@ -28773,6 +31559,71 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct PixelMapMockPeer { virtual ~PixelMapMockPeer() = default; }; + const GENERATED_ArkUIDragEventAccessor* GetDragEventAccessor() + { + static const GENERATED_ArkUIDragEventAccessor DragEventAccessorImpl { + DragEventAccessor::DestroyPeerImpl, + DragEventAccessor::CtorImpl, + DragEventAccessor::GetFinalizerImpl, + DragEventAccessor::GetDisplayXImpl, + DragEventAccessor::GetDisplayYImpl, + DragEventAccessor::GetWindowXImpl, + DragEventAccessor::GetWindowYImpl, + DragEventAccessor::GetXImpl, + DragEventAccessor::GetYImpl, + DragEventAccessor::SetDataImpl, + DragEventAccessor::GetDataImpl, + DragEventAccessor::GetSummaryImpl, + DragEventAccessor::SetResultImpl, + DragEventAccessor::GetResultImpl, + DragEventAccessor::GetPreviewRectImpl, + DragEventAccessor::GetVelocityXImpl, + DragEventAccessor::GetVelocityYImpl, + DragEventAccessor::GetVelocityImpl, + DragEventAccessor::GetModifierKeyStateImpl, + DragEventAccessor::GetDragBehaviorImpl, + DragEventAccessor::SetDragBehaviorImpl, + DragEventAccessor::GetUseCustomDropAnimationImpl, + DragEventAccessor::SetUseCustomDropAnimationImpl, + }; + return &DragEventAccessorImpl; + } + + struct DragEventPeer { + virtual ~DragEventPeer() = default; + }; + const GENERATED_ArkUIKeyEventAccessor* GetKeyEventAccessor() + { + static const GENERATED_ArkUIKeyEventAccessor KeyEventAccessorImpl { + KeyEventAccessor::DestroyPeerImpl, + KeyEventAccessor::CtorImpl, + KeyEventAccessor::GetFinalizerImpl, + KeyEventAccessor::GetModifierKeyStateImpl, + KeyEventAccessor::GetTypeImpl, + KeyEventAccessor::SetTypeImpl, + KeyEventAccessor::GetKeyCodeImpl, + KeyEventAccessor::SetKeyCodeImpl, + KeyEventAccessor::GetKeyTextImpl, + KeyEventAccessor::SetKeyTextImpl, + KeyEventAccessor::GetKeySourceImpl, + KeyEventAccessor::SetKeySourceImpl, + KeyEventAccessor::GetDeviceIdImpl, + KeyEventAccessor::SetDeviceIdImpl, + KeyEventAccessor::GetMetaKeyImpl, + KeyEventAccessor::SetMetaKeyImpl, + KeyEventAccessor::GetTimestampImpl, + KeyEventAccessor::SetTimestampImpl, + KeyEventAccessor::SetStopPropagationImpl, + KeyEventAccessor::SetIntentionCodeImpl, + KeyEventAccessor::GetUnicodeImpl, + KeyEventAccessor::SetUnicodeImpl, + }; + return &KeyEventAccessorImpl; + } + + struct KeyEventPeer { + virtual ~KeyEventPeer() = default; + }; const GENERATED_ArkUIProgressMaskAccessor* GetProgressMaskAccessor() { static const GENERATED_ArkUIProgressMaskAccessor ProgressMaskAccessorImpl { @@ -28850,6 +31701,30 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct ChildrenMainSizePeer { virtual ~ChildrenMainSizePeer() = default; }; + const GENERATED_ArkUIUICommonEventAccessor* GetUICommonEventAccessor() + { + static const GENERATED_ArkUIUICommonEventAccessor UICommonEventAccessorImpl { + UICommonEventAccessor::DestroyPeerImpl, + UICommonEventAccessor::CtorImpl, + UICommonEventAccessor::GetFinalizerImpl, + UICommonEventAccessor::SetOnClickImpl, + UICommonEventAccessor::SetOnTouchImpl, + UICommonEventAccessor::SetOnAppearImpl, + UICommonEventAccessor::SetOnDisappearImpl, + UICommonEventAccessor::SetOnKeyEventImpl, + UICommonEventAccessor::SetOnFocusImpl, + UICommonEventAccessor::SetOnBlurImpl, + UICommonEventAccessor::SetOnHoverImpl, + UICommonEventAccessor::SetOnMouseImpl, + UICommonEventAccessor::SetOnSizeChangeImpl, + UICommonEventAccessor::SetOnVisibleAreaApproximateChangeImpl, + }; + return &UICommonEventAccessorImpl; + } + + struct UICommonEventPeer { + virtual ~UICommonEventPeer() = default; + }; const GENERATED_ArkUIGestureModifierAccessor* GetGestureModifierAccessor() { static const GENERATED_ArkUIGestureModifierAccessor GestureModifierAccessorImpl { @@ -28864,6 +31739,34 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct GestureModifierPeer { virtual ~GestureModifierPeer() = default; }; + const GENERATED_ArkUIGlobalScope_commonAccessor* GetGlobalScope_commonAccessor() + { + static const GENERATED_ArkUIGlobalScope_commonAccessor GlobalScope_commonAccessorImpl { + GlobalScope_commonAccessor::DestroyPeerImpl, + GlobalScope_commonAccessor::CtorImpl, + GlobalScope_commonAccessor::GetFinalizerImpl, + GlobalScope_commonAccessor::GetContextImpl, + GlobalScope_commonAccessor::PostCardActionImpl, + GlobalScope_commonAccessor::Dollar_rImpl, + GlobalScope_commonAccessor::Dollar_rawfileImpl, + GlobalScope_commonAccessor::AnimateToImpl, + GlobalScope_commonAccessor::AnimateToImmediatelyImpl, + GlobalScope_commonAccessor::Vp2pxImpl, + GlobalScope_commonAccessor::Px2vpImpl, + GlobalScope_commonAccessor::Fp2pxImpl, + GlobalScope_commonAccessor::Px2fpImpl, + GlobalScope_commonAccessor::Lpx2pxImpl, + GlobalScope_commonAccessor::Px2lpxImpl, + GlobalScope_commonAccessor::RequestFocusImpl, + GlobalScope_commonAccessor::SetCursorImpl, + GlobalScope_commonAccessor::RestoreDefaultImpl, + }; + return &GlobalScope_commonAccessorImpl; + } + + struct GlobalScope_commonPeer { + virtual ~GlobalScope_commonPeer() = default; + }; const GENERATED_ArkUIContextMenuAccessor* GetContextMenuAccessor() { static const GENERATED_ArkUIContextMenuAccessor ContextMenuAccessorImpl { @@ -28907,6 +31810,158 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct DatePickerDialogPeer { virtual ~DatePickerDialogPeer() = default; }; + const GENERATED_ArkUIBaseGestureEventAccessor* GetBaseGestureEventAccessor() + { + static const GENERATED_ArkUIBaseGestureEventAccessor BaseGestureEventAccessorImpl { + BaseGestureEventAccessor::DestroyPeerImpl, + BaseGestureEventAccessor::CtorImpl, + BaseGestureEventAccessor::GetFinalizerImpl, + BaseGestureEventAccessor::SetFingerListImpl, + }; + return &BaseGestureEventAccessorImpl; + } + + struct BaseGestureEventPeer { + virtual ~BaseGestureEventPeer() = default; + }; + const GENERATED_ArkUITapGestureEventAccessor* GetTapGestureEventAccessor() + { + static const GENERATED_ArkUITapGestureEventAccessor TapGestureEventAccessorImpl { + TapGestureEventAccessor::DestroyPeerImpl, + TapGestureEventAccessor::CtorImpl, + TapGestureEventAccessor::GetFinalizerImpl, + }; + return &TapGestureEventAccessorImpl; + } + + struct TapGestureEventPeer { + virtual ~TapGestureEventPeer() = default; + }; + const GENERATED_ArkUILongPressGestureEventAccessor* GetLongPressGestureEventAccessor() + { + static const GENERATED_ArkUILongPressGestureEventAccessor LongPressGestureEventAccessorImpl { + LongPressGestureEventAccessor::DestroyPeerImpl, + LongPressGestureEventAccessor::CtorImpl, + LongPressGestureEventAccessor::GetFinalizerImpl, + LongPressGestureEventAccessor::GetRepeatImpl, + LongPressGestureEventAccessor::SetRepeatImpl, + }; + return &LongPressGestureEventAccessorImpl; + } + + struct LongPressGestureEventPeer { + virtual ~LongPressGestureEventPeer() = default; + }; + const GENERATED_ArkUIPanGestureEventAccessor* GetPanGestureEventAccessor() + { + static const GENERATED_ArkUIPanGestureEventAccessor PanGestureEventAccessorImpl { + PanGestureEventAccessor::DestroyPeerImpl, + PanGestureEventAccessor::CtorImpl, + PanGestureEventAccessor::GetFinalizerImpl, + PanGestureEventAccessor::GetOffsetXImpl, + PanGestureEventAccessor::SetOffsetXImpl, + PanGestureEventAccessor::GetOffsetYImpl, + PanGestureEventAccessor::SetOffsetYImpl, + PanGestureEventAccessor::GetVelocityXImpl, + PanGestureEventAccessor::SetVelocityXImpl, + PanGestureEventAccessor::GetVelocityYImpl, + PanGestureEventAccessor::SetVelocityYImpl, + PanGestureEventAccessor::GetVelocityImpl, + PanGestureEventAccessor::SetVelocityImpl, + }; + return &PanGestureEventAccessorImpl; + } + + struct PanGestureEventPeer { + virtual ~PanGestureEventPeer() = default; + }; + const GENERATED_ArkUIPinchGestureEventAccessor* GetPinchGestureEventAccessor() + { + static const GENERATED_ArkUIPinchGestureEventAccessor PinchGestureEventAccessorImpl { + PinchGestureEventAccessor::DestroyPeerImpl, + PinchGestureEventAccessor::CtorImpl, + PinchGestureEventAccessor::GetFinalizerImpl, + PinchGestureEventAccessor::GetScaleImpl, + PinchGestureEventAccessor::SetScaleImpl, + PinchGestureEventAccessor::GetPinchCenterXImpl, + PinchGestureEventAccessor::SetPinchCenterXImpl, + PinchGestureEventAccessor::GetPinchCenterYImpl, + PinchGestureEventAccessor::SetPinchCenterYImpl, + }; + return &PinchGestureEventAccessorImpl; + } + + struct PinchGestureEventPeer { + virtual ~PinchGestureEventPeer() = default; + }; + const GENERATED_ArkUIRotationGestureEventAccessor* GetRotationGestureEventAccessor() + { + static const GENERATED_ArkUIRotationGestureEventAccessor RotationGestureEventAccessorImpl { + RotationGestureEventAccessor::DestroyPeerImpl, + RotationGestureEventAccessor::CtorImpl, + RotationGestureEventAccessor::GetFinalizerImpl, + RotationGestureEventAccessor::GetAngleImpl, + RotationGestureEventAccessor::SetAngleImpl, + }; + return &RotationGestureEventAccessorImpl; + } + + struct RotationGestureEventPeer { + virtual ~RotationGestureEventPeer() = default; + }; + const GENERATED_ArkUISwipeGestureEventAccessor* GetSwipeGestureEventAccessor() + { + static const GENERATED_ArkUISwipeGestureEventAccessor SwipeGestureEventAccessorImpl { + SwipeGestureEventAccessor::DestroyPeerImpl, + SwipeGestureEventAccessor::CtorImpl, + SwipeGestureEventAccessor::GetFinalizerImpl, + SwipeGestureEventAccessor::GetAngleImpl, + SwipeGestureEventAccessor::SetAngleImpl, + SwipeGestureEventAccessor::GetSpeedImpl, + SwipeGestureEventAccessor::SetSpeedImpl, + }; + return &SwipeGestureEventAccessorImpl; + } + + struct SwipeGestureEventPeer { + virtual ~SwipeGestureEventPeer() = default; + }; + const GENERATED_ArkUIGestureEventAccessor* GetGestureEventAccessor() + { + static const GENERATED_ArkUIGestureEventAccessor GestureEventAccessorImpl { + GestureEventAccessor::DestroyPeerImpl, + GestureEventAccessor::CtorImpl, + GestureEventAccessor::GetFinalizerImpl, + GestureEventAccessor::GetRepeatImpl, + GestureEventAccessor::SetRepeatImpl, + GestureEventAccessor::SetFingerListImpl, + GestureEventAccessor::GetOffsetXImpl, + GestureEventAccessor::SetOffsetXImpl, + GestureEventAccessor::GetOffsetYImpl, + GestureEventAccessor::SetOffsetYImpl, + GestureEventAccessor::GetAngleImpl, + GestureEventAccessor::SetAngleImpl, + GestureEventAccessor::GetSpeedImpl, + GestureEventAccessor::SetSpeedImpl, + GestureEventAccessor::GetScaleImpl, + GestureEventAccessor::SetScaleImpl, + GestureEventAccessor::GetPinchCenterXImpl, + GestureEventAccessor::SetPinchCenterXImpl, + GestureEventAccessor::GetPinchCenterYImpl, + GestureEventAccessor::SetPinchCenterYImpl, + GestureEventAccessor::GetVelocityXImpl, + GestureEventAccessor::SetVelocityXImpl, + GestureEventAccessor::GetVelocityYImpl, + GestureEventAccessor::SetVelocityYImpl, + GestureEventAccessor::GetVelocityImpl, + GestureEventAccessor::SetVelocityImpl, + }; + return &GestureEventAccessorImpl; + } + + struct GestureEventPeer { + virtual ~GestureEventPeer() = default; + }; const GENERATED_ArkUIPanGestureOptionsAccessor* GetPanGestureOptionsAccessor() { static const GENERATED_ArkUIPanGestureOptionsAccessor PanGestureOptionsAccessorImpl { @@ -29487,6 +32542,22 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct EditMenuOptionsPeer { virtual ~EditMenuOptionsPeer() = default; }; + const GENERATED_ArkUISubmitEventAccessor* GetSubmitEventAccessor() + { + static const GENERATED_ArkUISubmitEventAccessor SubmitEventAccessorImpl { + SubmitEventAccessor::DestroyPeerImpl, + SubmitEventAccessor::CtorImpl, + SubmitEventAccessor::GetFinalizerImpl, + SubmitEventAccessor::KeepEditableStateImpl, + SubmitEventAccessor::GetTextImpl, + SubmitEventAccessor::SetTextImpl, + }; + return &SubmitEventAccessorImpl; + } + + struct SubmitEventPeer { + virtual ~SubmitEventPeer() = default; + }; const GENERATED_ArkUITextInputControllerAccessor* GetTextInputControllerAccessor() { static const GENERATED_ArkUITextInputControllerAccessor TextInputControllerAccessorImpl { @@ -30098,6 +33169,24 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct LinearIndicatorControllerPeer { virtual ~LinearIndicatorControllerPeer() = default; }; + const GENERATED_ArkUIGlobalScope_inspectorAccessor* GetGlobalScope_inspectorAccessor() + { + static const GENERATED_ArkUIGlobalScope_inspectorAccessor GlobalScope_inspectorAccessorImpl { + GlobalScope_inspectorAccessor::DestroyPeerImpl, + GlobalScope_inspectorAccessor::CtorImpl, + GlobalScope_inspectorAccessor::GetFinalizerImpl, + GlobalScope_inspectorAccessor::GetInspectorNodesImpl, + GlobalScope_inspectorAccessor::GetInspectorNodeByIdImpl, + GlobalScope_inspectorAccessor::RegisterVsyncCallbackImpl, + GlobalScope_inspectorAccessor::UnregisterVsyncCallbackImpl, + GlobalScope_inspectorAccessor::SetAppBgColorImpl, + }; + return &GlobalScope_inspectorAccessorImpl; + } + + struct GlobalScope_inspectorPeer { + virtual ~GlobalScope_inspectorPeer() = default; + }; const GENERATED_ArkUIAccessors* GENERATED_GetArkUIAccessors() { static const GENERATED_ArkUIAccessors accessorsImpl = { @@ -30122,16 +33211,34 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetICurveAccessor, GetDrawModifierAccessor, GetTransitionEffectAccessor, + GetBaseEventAccessor, + GetClickEventAccessor, + GetHoverEventAccessor, + GetMouseEventAccessor, + GetAccessibilityHoverEventAccessor, + GetTouchEventAccessor, GetPixelMapMockAccessor, + GetDragEventAccessor, + GetKeyEventAccessor, GetProgressMaskAccessor, GetViewAccessor, GetTextContentControllerBaseAccessor, GetDynamicNodeAccessor, GetChildrenMainSizeAccessor, + GetUICommonEventAccessor, GetGestureModifierAccessor, + GetGlobalScope_commonAccessor, GetContextMenuAccessor, GetCustomDialogControllerAccessor, GetDatePickerDialogAccessor, + GetBaseGestureEventAccessor, + GetTapGestureEventAccessor, + GetLongPressGestureEventAccessor, + GetPanGestureEventAccessor, + GetPinchGestureEventAccessor, + GetRotationGestureEventAccessor, + GetSwipeGestureEventAccessor, + GetGestureEventAccessor, GetPanGestureOptionsAccessor, GetScrollableTargetInfoAccessor, GetEventTargetInfoAccessor, @@ -30163,6 +33270,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetLayoutManagerAccessor, GetTextMenuItemIdAccessor, GetEditMenuOptionsAccessor, + GetSubmitEventAccessor, GetTextInputControllerAccessor, GetTextPickerDialogAccessor, GetTextTimerControllerAccessor, @@ -30197,6 +33305,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetMutableStyledStringAccessor, GetCustomSpanAccessor, GetLinearIndicatorControllerAccessor, + GetGlobalScope_inspectorAccessor, }; return &accessorsImpl; } diff --git a/arkoala/framework/native/src/generated/real_impl.cc b/arkoala/framework/native/src/generated/real_impl.cc index f23e9f673..babce4d79 100644 --- a/arkoala/framework/native/src/generated/real_impl.cc +++ b/arkoala/framework/native/src/generated/real_impl.cc @@ -2050,7 +2050,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void OnGestureRecognizerJudgeBegin1Impl(Ark_NativePointer node, - const GestureRecognizerJudgeBeginCallback* callback, + const GestureRecognizerJudgeBeginCallback* callback_, Ark_Boolean exposeInnerGesture) { } @@ -2284,7 +2284,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void StrokeDashArrayImpl(Ark_NativePointer node, - const Array_CustomObject* value) + const Array_Length* value) { } } // CommonShapeMethodModifier @@ -2331,7 +2331,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void OnScrollImpl(Ark_NativePointer node, - const Callback_Number_ScrollState_Void* value) + const Callback_Number_Number_Void* value) { } void OnWillScrollImpl(Ark_NativePointer node, @@ -2339,7 +2339,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void OnDidScrollImpl(Ark_NativePointer node, - const Opt_ScrollOnWillScrollCallback* value) + const Opt_ScrollOnScrollCallback* value) { } void OnReachStartImpl(Ark_NativePointer node, @@ -2904,7 +2904,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void OnItemDragStartImpl(Ark_NativePointer node, - const Callback_ItemDragInfo_Number_Callback_Any* value) + const Callback_ItemDragInfo_Number_CustomBuilder* value) { } void OnItemDragEnterImpl(Ark_NativePointer node, @@ -2940,7 +2940,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void OnScrollImpl(Ark_NativePointer node, - const Callback_Number_ScrollState_Void* value) + const Callback_Number_Number_Void* value) { } void OnReachStartImpl(Ark_NativePointer node, @@ -3343,11 +3343,11 @@ namespace OHOS::Ace::NG::GeneratedModifier { } // LineInterfaceModifier namespace LineAttributeModifier { void StartPointImpl(Ark_NativePointer node, - const Array_CustomObject* value) + const Array_Length* value) { } void EndPointImpl(Ark_NativePointer node, - const Array_CustomObject* value) + const Array_Length* value) { } } // LineAttributeModifier @@ -3443,7 +3443,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void OnScrollImpl(Ark_NativePointer node, - const Callback_Number_ScrollState_Void* value) + const Callback_Number_Number_Void* value) { } void OnScrollIndexImpl(Ark_NativePointer node, @@ -3479,7 +3479,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void OnItemDragStartImpl(Ark_NativePointer node, - const Callback_ItemDragInfo_Number_Callback_Any* value) + const Callback_ItemDragInfo_Number_CustomBuilder* value) { } void OnItemDragEnterImpl(Ark_NativePointer node, @@ -4166,7 +4166,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } // PolygonInterfaceModifier namespace PolygonAttributeModifier { void PointsImpl(Ark_NativePointer node, - const Array_CustomObject* value) + const Array_Point* value) { } } // PolygonAttributeModifier @@ -4185,7 +4185,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } // PolylineInterfaceModifier namespace PolylineAttributeModifier { void PointsImpl(Ark_NativePointer node, - const Array_CustomObject* value) + const Array_Point* value) { } } // PolylineAttributeModifier @@ -4340,7 +4340,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void RadiusImpl(Ark_NativePointer node, - const Ark_Union_Number_String_Array_Any* value) + const Ark_Union_Number_String_Array_Union_Number_String* value) { } } // RectAttributeModifier @@ -4688,7 +4688,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void OnScrollImpl(Ark_NativePointer node, - const Callback_Number_ScrollState_Void* value) + const Callback_Number_Number_Void* value) { } void OnWillScrollImpl(Ark_NativePointer node, @@ -4696,7 +4696,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void OnDidScrollImpl(Ark_NativePointer node, - const Opt_ScrollOnWillScrollCallback* value) + const Opt_ScrollOnScrollCallback* value) { } void OnScrollEdgeImpl(Ark_NativePointer node, @@ -4704,7 +4704,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void OnScrollStartImpl(Ark_NativePointer node, - const Callback_Void* value) + const VoidCallback* value) { } void OnScrollEndImpl(Ark_NativePointer node, @@ -4712,7 +4712,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void OnScrollStopImpl(Ark_NativePointer node, - const Callback_Void* value) + const VoidCallback* value) { } void ScrollBarImpl(Ark_NativePointer node, @@ -5195,7 +5195,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void StrokeDashArrayImpl(Ark_NativePointer node, - const Array_CustomObject* value) + const Array_Length* value) { } void StrokeLineCapImpl(Ark_NativePointer node, @@ -5227,7 +5227,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void MeshImpl(Ark_NativePointer node, - const Array_CustomObject* value, + const Array_Number* value, const Ark_Number* column, const Ark_Number* row) { @@ -7119,7 +7119,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void OnFileSelectorShowImpl(Ark_NativePointer node, - const Callback_Literal_Function_callback_Object_fileSelector_Void* value) + const Type_WebAttribute_onFileSelectorShow_callback* value) { } void OnResourceLoadImpl(Ark_NativePointer node, @@ -10170,7 +10170,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { return reinterpret_cast(&DestroyPeerImpl); } Ark_Boolean HasTypeImpl(UnifiedDataPeer* peer, - const Ark_String* type) + const Ark_String* UnifiedData_type) { return 0; } @@ -10224,6 +10224,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { //auto convValue = Converter::OptConvert(node); // for enums //undefinedModelNG::SetSetCurrentIndex(frameNode, convValue); } + void PrepareImpl(Ark_NativePointer node) + { + auto frameNode = reinterpret_cast(node); + CHECK_NULL_VOID(frameNode); + //auto convValue = Converter::Convert(node); + //auto convValue = Converter::OptConvert(node); // for enums + //undefinedModelNG::SetPrepare(frameNode, convValue); + } } // LazyForEachOpsAccessor namespace DrawingCanvasAccessor { void DestroyPeerImpl(DrawingCanvasPeer* peer) @@ -11072,7 +11080,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { } void ToDataURLImpl(CanvasRenderingContext2DPeer* peer, const Opt_String* type, - const Opt_CustomObject* quality) + const Opt_Number* quality) { } void StartImageAnalyzerImpl(CanvasRenderingContext2DPeer* peer, @@ -11084,19 +11092,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void OnOnAttachImpl(CanvasRenderingContext2DPeer* peer, - const Callback_Void* callback) + const Callback_Void* callback_) { } void OffOnAttachImpl(CanvasRenderingContext2DPeer* peer, - const Opt_Callback_Void* callback) + const Opt_Callback_Void* callback_) { } void OnOnDetachImpl(CanvasRenderingContext2DPeer* peer, - const Callback_Void* callback) + const Callback_Void* callback_) { } void OffOnDetachImpl(CanvasRenderingContext2DPeer* peer, - const Opt_Callback_Void* callback) + const Opt_Callback_Void* callback_) { } Ark_Int32 GetHeightImpl(CanvasRenderingContext2DPeer* peer) @@ -11235,397 +11243,1476 @@ namespace OHOS::Ace::NG::GeneratedModifier { return nullptr; } } // TransitionEffectAccessor - namespace PixelMapMockAccessor { - void DestroyPeerImpl(PixelMapMockPeer* peer) + namespace BaseEventAccessor { + void DestroyPeerImpl(BaseEventPeer* peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } Ark_NativePointer CtorImpl() { - return new PixelMapMockPeer(); + return new BaseEventPeer(); } Ark_NativePointer GetFinalizerImpl() { return reinterpret_cast(&DestroyPeerImpl); } - void ReleaseImpl(PixelMapMockPeer* peer) + Ark_Boolean GetModifierKeyStateImpl(BaseEventPeer* peer, + const Array_String* keys) { + return 0; } - } // PixelMapMockAccessor - namespace ProgressMaskAccessor { - void DestroyPeerImpl(ProgressMaskPeer* peer) + void SetTargetImpl(BaseEventPeer* peer, + const Ark_EventTarget* target) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_NativePointer CtorImpl(const Ark_Number* value, - const Ark_Number* total, - const Ark_ResourceColor* color) + Ark_Int32 GetTimestampImpl(BaseEventPeer* peer) { - return new ProgressMaskPeer(value, total, color); + return 0; } - Ark_NativePointer GetFinalizerImpl() + void SetTimestampImpl(BaseEventPeer* peer, + const Ark_Number* timestamp) { - return reinterpret_cast(&DestroyPeerImpl); } - void UpdateProgressImpl(ProgressMaskPeer* peer, - const Ark_Number* value) + Ark_NativePointer GetSourceImpl(BaseEventPeer* peer) { + return nullptr; } - void UpdateColorImpl(ProgressMaskPeer* peer, - const Ark_ResourceColor* value) + void SetSourceImpl(BaseEventPeer* peer, + Ark_SourceType source) { } - void EnableBreathingAnimationImpl(ProgressMaskPeer* peer, - Ark_Boolean value) + Ark_Int32 GetAxisHorizontalImpl(BaseEventPeer* peer) { + return 0; } - } // ProgressMaskAccessor - namespace ViewAccessor { - void DestroyPeerImpl(ViewPeer* peer) + void SetAxisHorizontalImpl(BaseEventPeer* peer, + const Ark_Number* axisHorizontal) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_NativePointer CtorImpl() + Ark_Int32 GetAxisVerticalImpl(BaseEventPeer* peer) { - return new ViewPeer(); + return 0; } - Ark_NativePointer GetFinalizerImpl() + void SetAxisVerticalImpl(BaseEventPeer* peer, + const Ark_Number* axisVertical) { - return reinterpret_cast(&DestroyPeerImpl); } - void CreateImpl(ViewPeer* peer, - const Ark_CustomObject* value) + Ark_Int32 GetPressureImpl(BaseEventPeer* peer) { + return 0; } - } // ViewAccessor - namespace TextContentControllerBaseAccessor { - void DestroyPeerImpl(TextContentControllerBasePeer* peer) + void SetPressureImpl(BaseEventPeer* peer, + const Ark_Number* pressure) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_NativePointer CtorImpl() + Ark_Int32 GetTiltXImpl(BaseEventPeer* peer) { - return new TextContentControllerBasePeer(); + return 0; } - Ark_NativePointer GetFinalizerImpl() + void SetTiltXImpl(BaseEventPeer* peer, + const Ark_Number* tiltX) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_NativePointer GetCaretOffsetImpl(TextContentControllerBasePeer* peer) + Ark_Int32 GetTiltYImpl(BaseEventPeer* peer) { - return nullptr; + return 0; } - Ark_NativePointer GetTextContentRectImpl(TextContentControllerBasePeer* peer) + void SetTiltYImpl(BaseEventPeer* peer, + const Ark_Number* tiltY) + { + } + Ark_NativePointer GetSourceToolImpl(BaseEventPeer* peer) { return nullptr; } - Ark_Int32 GetTextContentLineCountImpl(TextContentControllerBasePeer* peer) + void SetSourceToolImpl(BaseEventPeer* peer, + Ark_SourceTool sourceTool) + { + } + Ark_Int32 GetDeviceIdImpl(BaseEventPeer* peer) { return 0; } - } // TextContentControllerBaseAccessor - namespace DynamicNodeAccessor { - void DestroyPeerImpl(DynamicNodePeer* peer) + void SetDeviceIdImpl(BaseEventPeer* peer, + const Ark_Number* deviceId) { - auto peerImpl = reinterpret_cast(peer); + } + } // BaseEventAccessor + namespace ClickEventAccessor { + void DestroyPeerImpl(ClickEventPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } Ark_NativePointer CtorImpl() { - return new DynamicNodePeer(); + return new ClickEventPeer(); } Ark_NativePointer GetFinalizerImpl() { return reinterpret_cast(&DestroyPeerImpl); } - void OnMoveImpl(DynamicNodePeer* peer, - const Opt_OnMoveHandler* handler) + Ark_Int32 GetDisplayXImpl(ClickEventPeer* peer) { + return 0; } - } // DynamicNodeAccessor - namespace ChildrenMainSizeAccessor { - void DestroyPeerImpl(ChildrenMainSizePeer* peer) + void SetDisplayXImpl(ClickEventPeer* peer, + const Ark_Number* displayX) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_NativePointer CtorImpl(const Ark_Number* childDefaultSize) + Ark_Int32 GetDisplayYImpl(ClickEventPeer* peer) { - return new ChildrenMainSizePeer(childDefaultSize); + return 0; } - Ark_NativePointer GetFinalizerImpl() + void SetDisplayYImpl(ClickEventPeer* peer, + const Ark_Number* displayY) { - return reinterpret_cast(&DestroyPeerImpl); } - void SpliceImpl(ChildrenMainSizePeer* peer, - const Ark_Number* start, - const Opt_Number* deleteCount, - const Opt_Array_Number* childrenSize) + Ark_Int32 GetWindowXImpl(ClickEventPeer* peer) { + return 0; } - void UpdateImpl(ChildrenMainSizePeer* peer, - const Ark_Number* index, - const Ark_Number* childSize) + void SetWindowXImpl(ClickEventPeer* peer, + const Ark_Number* windowX) { } - Ark_Int32 GetChildDefaultSizeImpl(ChildrenMainSizePeer* peer) + Ark_Int32 GetWindowYImpl(ClickEventPeer* peer) { return 0; } - void SetChildDefaultSizeImpl(ChildrenMainSizePeer* peer, - const Ark_Number* childDefaultSize) + void SetWindowYImpl(ClickEventPeer* peer, + const Ark_Number* windowY) { } - } // ChildrenMainSizeAccessor - namespace GestureModifierAccessor { - void DestroyPeerImpl(GestureModifierPeer* peer) + Ark_Int32 GetScreenXImpl(ClickEventPeer* peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return 0; } - Ark_NativePointer CtorImpl() + void SetScreenXImpl(ClickEventPeer* peer, + const Ark_Number* screenX) { - return new GestureModifierPeer(); } - Ark_NativePointer GetFinalizerImpl() + Ark_Int32 GetScreenYImpl(ClickEventPeer* peer) { - return reinterpret_cast(&DestroyPeerImpl); + return 0; } - void ApplyGestureImpl(GestureModifierPeer* peer, - const Ark_UIGestureEvent* event) + void SetScreenYImpl(ClickEventPeer* peer, + const Ark_Number* screenY) { } - } // GestureModifierAccessor - namespace ContextMenuAccessor { - void DestroyPeerImpl(ContextMenuPeer* peer) + Ark_Int32 GetXImpl(ClickEventPeer* peer) { - auto peerImpl = reinterpret_cast(peer); + return 0; + } + void SetXImpl(ClickEventPeer* peer, + const Ark_Number* x) + { + } + Ark_Int32 GetYImpl(ClickEventPeer* peer) + { + return 0; + } + void SetYImpl(ClickEventPeer* peer, + const Ark_Number* y) + { + } + void SetPreventDefaultImpl(ClickEventPeer* peer, + const Callback_Void* preventDefault) + { + } + } // ClickEventAccessor + namespace HoverEventAccessor { + void DestroyPeerImpl(HoverEventPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } Ark_NativePointer CtorImpl() { - return new ContextMenuPeer(); + return new HoverEventPeer(); } Ark_NativePointer GetFinalizerImpl() { return reinterpret_cast(&DestroyPeerImpl); } - void CloseImpl() + void SetStopPropagationImpl(HoverEventPeer* peer, + const Callback_Void* stopPropagation) { } - } // ContextMenuAccessor - namespace CustomDialogControllerAccessor { - void DestroyPeerImpl(CustomDialogControllerPeer* peer) + } // HoverEventAccessor + namespace MouseEventAccessor { + void DestroyPeerImpl(MouseEventPeer* peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_NativePointer CtorImpl(const Ark_CustomDialogControllerOptions* value) + Ark_NativePointer CtorImpl() { - return new CustomDialogControllerPeer(value); + return new MouseEventPeer(); } Ark_NativePointer GetFinalizerImpl() { return reinterpret_cast(&DestroyPeerImpl); } - void OpenImpl(CustomDialogControllerPeer* peer) + Ark_NativePointer GetButtonImpl(MouseEventPeer* peer) { + return nullptr; } - void CloseImpl(CustomDialogControllerPeer* peer) + void SetButtonImpl(MouseEventPeer* peer, + Ark_MouseButton button) { } - } // CustomDialogControllerAccessor - namespace DatePickerDialogAccessor { - void DestroyPeerImpl(DatePickerDialogPeer* peer) + Ark_NativePointer GetActionImpl(MouseEventPeer* peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return nullptr; } - Ark_NativePointer CtorImpl() + void SetActionImpl(MouseEventPeer* peer, + Ark_MouseAction action) { - return new DatePickerDialogPeer(); } - Ark_NativePointer GetFinalizerImpl() + Ark_Int32 GetDisplayXImpl(MouseEventPeer* peer) { - return reinterpret_cast(&DestroyPeerImpl); + return 0; } - void ShowImpl(const Opt_DatePickerDialogOptions* options) + void SetDisplayXImpl(MouseEventPeer* peer, + const Ark_Number* displayX) { } - } // DatePickerDialogAccessor - namespace PanGestureOptionsAccessor { - void DestroyPeerImpl(PanGestureOptionsPeer* peer) + Ark_Int32 GetDisplayYImpl(MouseEventPeer* peer) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } + return 0; } - Ark_NativePointer CtorImpl(const Opt_Literal_Number_distance_fingers_PanDirection_direction* value) + void SetDisplayYImpl(MouseEventPeer* peer, + const Ark_Number* displayY) { - return new PanGestureOptionsPeer(value); } - Ark_NativePointer GetFinalizerImpl() + Ark_Int32 GetWindowXImpl(MouseEventPeer* peer) { - return reinterpret_cast(&DestroyPeerImpl); + return 0; } - void SetDirectionImpl(PanGestureOptionsPeer* peer, - Ark_PanDirection value) + void SetWindowXImpl(MouseEventPeer* peer, + const Ark_Number* windowX) { } - void SetDistanceImpl(PanGestureOptionsPeer* peer, - const Ark_Number* value) + Ark_Int32 GetWindowYImpl(MouseEventPeer* peer) { + return 0; } - void SetFingersImpl(PanGestureOptionsPeer* peer, - const Ark_Number* value) + void SetWindowYImpl(MouseEventPeer* peer, + const Ark_Number* windowY) { } - Ark_NativePointer GetDirectionImpl(PanGestureOptionsPeer* peer) + Ark_Int32 GetScreenXImpl(MouseEventPeer* peer) { - return nullptr; + return 0; } - } // PanGestureOptionsAccessor - namespace ScrollableTargetInfoAccessor { - void DestroyPeerImpl(ScrollableTargetInfoPeer* peer) + void SetScreenXImpl(MouseEventPeer* peer, + const Ark_Number* screenX) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_NativePointer CtorImpl() + Ark_Int32 GetScreenYImpl(MouseEventPeer* peer) { - return new ScrollableTargetInfoPeer(); + return 0; } - Ark_NativePointer GetFinalizerImpl() + void SetScreenYImpl(MouseEventPeer* peer, + const Ark_Number* screenY) { - return reinterpret_cast(&DestroyPeerImpl); } - Ark_Boolean IsBeginImpl(ScrollableTargetInfoPeer* peer) + Ark_Int32 GetXImpl(MouseEventPeer* peer) { return 0; } - Ark_Boolean IsEndImpl(ScrollableTargetInfoPeer* peer) + void SetXImpl(MouseEventPeer* peer, + const Ark_Number* x) + { + } + Ark_Int32 GetYImpl(MouseEventPeer* peer) { return 0; } - } // ScrollableTargetInfoAccessor - namespace EventTargetInfoAccessor { - void DestroyPeerImpl(EventTargetInfoPeer* peer) + void SetYImpl(MouseEventPeer* peer, + const Ark_Number* y) { - auto peerImpl = reinterpret_cast(peer); + } + void SetStopPropagationImpl(MouseEventPeer* peer, + const Callback_Void* stopPropagation) + { + } + } // MouseEventAccessor + namespace AccessibilityHoverEventAccessor { + void DestroyPeerImpl(AccessibilityHoverEventPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } Ark_NativePointer CtorImpl() { - return new EventTargetInfoPeer(); + return new AccessibilityHoverEventPeer(); } Ark_NativePointer GetFinalizerImpl() { return reinterpret_cast(&DestroyPeerImpl); } - void GetIdImpl(EventTargetInfoPeer* peer) + Ark_NativePointer GetTypeImpl(AccessibilityHoverEventPeer* peer) { + return nullptr; } - } // EventTargetInfoAccessor - namespace GestureRecognizerAccessor { - void DestroyPeerImpl(GestureRecognizerPeer* peer) + void SetTypeImpl(AccessibilityHoverEventPeer* peer, + Ark_AccessibilityHoverType type) { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } } - Ark_NativePointer CtorImpl() + Ark_Int32 GetXImpl(AccessibilityHoverEventPeer* peer) { - return new GestureRecognizerPeer(); + return 0; } - Ark_NativePointer GetFinalizerImpl() + void SetXImpl(AccessibilityHoverEventPeer* peer, + const Ark_Number* x) { - return reinterpret_cast(&DestroyPeerImpl); } - void GetTagImpl(GestureRecognizerPeer* peer) + Ark_Int32 GetYImpl(AccessibilityHoverEventPeer* peer) { + return 0; } - Ark_NativePointer GetTypeImpl(GestureRecognizerPeer* peer) + void SetYImpl(AccessibilityHoverEventPeer* peer, + const Ark_Number* y) { - return nullptr; } - Ark_Boolean IsBuiltInImpl(GestureRecognizerPeer* peer) + Ark_Int32 GetDisplayXImpl(AccessibilityHoverEventPeer* peer) { return 0; } - void SetEnabledImpl(GestureRecognizerPeer* peer, - Ark_Boolean isEnabled) + void SetDisplayXImpl(AccessibilityHoverEventPeer* peer, + const Ark_Number* displayX) { } - Ark_Boolean IsEnabledImpl(GestureRecognizerPeer* peer) + Ark_Int32 GetDisplayYImpl(AccessibilityHoverEventPeer* peer) { return 0; } - Ark_NativePointer GetStateImpl(GestureRecognizerPeer* peer) + void SetDisplayYImpl(AccessibilityHoverEventPeer* peer, + const Ark_Number* displayY) { - return nullptr; } - Ark_NativePointer GetEventTargetInfoImpl(GestureRecognizerPeer* peer) + Ark_Int32 GetWindowXImpl(AccessibilityHoverEventPeer* peer) { - return nullptr; + return 0; } - Ark_Boolean IsValidImpl(GestureRecognizerPeer* peer) + void SetWindowXImpl(AccessibilityHoverEventPeer* peer, + const Ark_Number* windowX) + { + } + Ark_Int32 GetWindowYImpl(AccessibilityHoverEventPeer* peer) { return 0; } - } // GestureRecognizerAccessor - namespace PanRecognizerAccessor { - void DestroyPeerImpl(PanRecognizerPeer* peer) + void SetWindowYImpl(AccessibilityHoverEventPeer* peer, + const Ark_Number* windowY) { - auto peerImpl = reinterpret_cast(peer); + } + } // AccessibilityHoverEventAccessor + namespace TouchEventAccessor { + void DestroyPeerImpl(TouchEventPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } Ark_NativePointer CtorImpl() { - return new PanRecognizerPeer(); + return new TouchEventPeer(); } Ark_NativePointer GetFinalizerImpl() { return reinterpret_cast(&DestroyPeerImpl); } - Ark_NativePointer GetPanGestureOptionsImpl(PanRecognizerPeer* peer) + void GetHistoricalPointsImpl(TouchEventPeer* peer) { - return nullptr; } - } // PanRecognizerAccessor - namespace ImageAnalyzerControllerAccessor { - void DestroyPeerImpl(ImageAnalyzerControllerPeer* peer) + Ark_NativePointer GetTypeImpl(TouchEventPeer* peer) + { + return nullptr; + } + void SetTypeImpl(TouchEventPeer* peer, + Ark_TouchType type) + { + } + void SetTouchesImpl(TouchEventPeer* peer, + const Array_TouchObject* touches) + { + } + void SetChangedTouchesImpl(TouchEventPeer* peer, + const Array_TouchObject* changedTouches) + { + } + void SetStopPropagationImpl(TouchEventPeer* peer, + const Callback_Void* stopPropagation) + { + } + void SetPreventDefaultImpl(TouchEventPeer* peer, + const Callback_Void* preventDefault) + { + } + } // TouchEventAccessor + namespace PixelMapMockAccessor { + void DestroyPeerImpl(PixelMapMockPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new PixelMapMockPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void ReleaseImpl(PixelMapMockPeer* peer) + { + } + } // PixelMapMockAccessor + namespace DragEventAccessor { + void DestroyPeerImpl(DragEventPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new DragEventPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_Int32 GetDisplayXImpl(DragEventPeer* peer) + { + return 0; + } + Ark_Int32 GetDisplayYImpl(DragEventPeer* peer) + { + return 0; + } + Ark_Int32 GetWindowXImpl(DragEventPeer* peer) + { + return 0; + } + Ark_Int32 GetWindowYImpl(DragEventPeer* peer) + { + return 0; + } + Ark_Int32 GetXImpl(DragEventPeer* peer) + { + return 0; + } + Ark_Int32 GetYImpl(DragEventPeer* peer) + { + return 0; + } + void SetDataImpl(DragEventPeer* peer, + const Ark_UnifiedData* unifiedData) + { + } + Ark_NativePointer GetDataImpl(DragEventPeer* peer) + { + return nullptr; + } + Ark_NativePointer GetSummaryImpl(DragEventPeer* peer) + { + return nullptr; + } + void SetResultImpl(DragEventPeer* peer, + Ark_DragResult dragResult) + { + } + Ark_NativePointer GetResultImpl(DragEventPeer* peer) + { + return nullptr; + } + Ark_NativePointer GetPreviewRectImpl(DragEventPeer* peer) + { + return nullptr; + } + Ark_Int32 GetVelocityXImpl(DragEventPeer* peer) + { + return 0; + } + Ark_Int32 GetVelocityYImpl(DragEventPeer* peer) + { + return 0; + } + Ark_Int32 GetVelocityImpl(DragEventPeer* peer) + { + return 0; + } + Ark_Boolean GetModifierKeyStateImpl(DragEventPeer* peer, + const Array_String* keys) + { + return 0; + } + Ark_NativePointer GetDragBehaviorImpl(DragEventPeer* peer) + { + return nullptr; + } + void SetDragBehaviorImpl(DragEventPeer* peer, + Ark_DragBehavior dragBehavior) + { + } + Ark_Boolean GetUseCustomDropAnimationImpl(DragEventPeer* peer) + { + return 0; + } + void SetUseCustomDropAnimationImpl(DragEventPeer* peer, + Ark_Boolean useCustomDropAnimation) + { + } + } // DragEventAccessor + namespace KeyEventAccessor { + void DestroyPeerImpl(KeyEventPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new KeyEventPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_Boolean GetModifierKeyStateImpl(KeyEventPeer* peer, + const Array_String* keys) + { + return 0; + } + Ark_NativePointer GetTypeImpl(KeyEventPeer* peer) + { + return nullptr; + } + void SetTypeImpl(KeyEventPeer* peer, + Ark_KeyType type) + { + } + Ark_Int32 GetKeyCodeImpl(KeyEventPeer* peer) + { + return 0; + } + void SetKeyCodeImpl(KeyEventPeer* peer, + const Ark_Number* keyCode) + { + } + void GetKeyTextImpl(KeyEventPeer* peer) + { + } + void SetKeyTextImpl(KeyEventPeer* peer, + const Ark_String* keyText) + { + } + Ark_NativePointer GetKeySourceImpl(KeyEventPeer* peer) + { + return nullptr; + } + void SetKeySourceImpl(KeyEventPeer* peer, + Ark_KeySource keySource) + { + } + Ark_Int32 GetDeviceIdImpl(KeyEventPeer* peer) + { + return 0; + } + void SetDeviceIdImpl(KeyEventPeer* peer, + const Ark_Number* deviceId) + { + } + Ark_Int32 GetMetaKeyImpl(KeyEventPeer* peer) + { + return 0; + } + void SetMetaKeyImpl(KeyEventPeer* peer, + const Ark_Number* metaKey) + { + } + Ark_Int32 GetTimestampImpl(KeyEventPeer* peer) + { + return 0; + } + void SetTimestampImpl(KeyEventPeer* peer, + const Ark_Number* timestamp) + { + } + void SetStopPropagationImpl(KeyEventPeer* peer, + const Callback_Void* stopPropagation) + { + } + void SetIntentionCodeImpl(KeyEventPeer* peer, + const Ark_IntentionCode* intentionCode) + { + } + Ark_Int32 GetUnicodeImpl(KeyEventPeer* peer) + { + return 0; + } + void SetUnicodeImpl(KeyEventPeer* peer, + const Ark_Number* unicode) + { + } + } // KeyEventAccessor + namespace ProgressMaskAccessor { + void DestroyPeerImpl(ProgressMaskPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl(const Ark_Number* value, + const Ark_Number* total, + const Ark_ResourceColor* color) + { + return new ProgressMaskPeer(value, total, color); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void UpdateProgressImpl(ProgressMaskPeer* peer, + const Ark_Number* value) + { + } + void UpdateColorImpl(ProgressMaskPeer* peer, + const Ark_ResourceColor* value) + { + } + void EnableBreathingAnimationImpl(ProgressMaskPeer* peer, + Ark_Boolean value) + { + } + } // ProgressMaskAccessor + namespace ViewAccessor { + void DestroyPeerImpl(ViewPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new ViewPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void CreateImpl(ViewPeer* peer, + const Ark_CustomObject* value) + { + } + } // ViewAccessor + namespace TextContentControllerBaseAccessor { + void DestroyPeerImpl(TextContentControllerBasePeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new TextContentControllerBasePeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_NativePointer GetCaretOffsetImpl(TextContentControllerBasePeer* peer) + { + return nullptr; + } + Ark_NativePointer GetTextContentRectImpl(TextContentControllerBasePeer* peer) + { + return nullptr; + } + Ark_Int32 GetTextContentLineCountImpl(TextContentControllerBasePeer* peer) + { + return 0; + } + } // TextContentControllerBaseAccessor + namespace DynamicNodeAccessor { + void DestroyPeerImpl(DynamicNodePeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new DynamicNodePeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void OnMoveImpl(DynamicNodePeer* peer, + const Opt_OnMoveHandler* handler) + { + } + } // DynamicNodeAccessor + namespace ChildrenMainSizeAccessor { + void DestroyPeerImpl(ChildrenMainSizePeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl(const Ark_Number* childDefaultSize) + { + return new ChildrenMainSizePeer(childDefaultSize); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void SpliceImpl(ChildrenMainSizePeer* peer, + const Ark_Number* start, + const Opt_Number* deleteCount, + const Opt_Array_Number* childrenSize) + { + } + void UpdateImpl(ChildrenMainSizePeer* peer, + const Ark_Number* index, + const Ark_Number* childSize) + { + } + Ark_Int32 GetChildDefaultSizeImpl(ChildrenMainSizePeer* peer) + { + return 0; + } + void SetChildDefaultSizeImpl(ChildrenMainSizePeer* peer, + const Ark_Number* childDefaultSize) + { + } + } // ChildrenMainSizeAccessor + namespace UICommonEventAccessor { + void DestroyPeerImpl(UICommonEventPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new UICommonEventPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void SetOnClickImpl(UICommonEventPeer* peer, + const Opt_Callback_ClickEvent_Void* callback_) + { + } + void SetOnTouchImpl(UICommonEventPeer* peer, + const Opt_Callback_TouchEvent_Void* callback_) + { + } + void SetOnAppearImpl(UICommonEventPeer* peer, + const Opt_Callback_Void* callback_) + { + } + void SetOnDisappearImpl(UICommonEventPeer* peer, + const Opt_Callback_Void* callback_) + { + } + void SetOnKeyEventImpl(UICommonEventPeer* peer, + const Opt_Callback_KeyEvent_Void* callback_) + { + } + void SetOnFocusImpl(UICommonEventPeer* peer, + const Opt_Callback_Void* callback_) + { + } + void SetOnBlurImpl(UICommonEventPeer* peer, + const Opt_Callback_Void* callback_) + { + } + void SetOnHoverImpl(UICommonEventPeer* peer, + const Opt_HoverCallback* callback_) + { + } + void SetOnMouseImpl(UICommonEventPeer* peer, + const Opt_Callback_MouseEvent_Void* callback_) + { + } + void SetOnSizeChangeImpl(UICommonEventPeer* peer, + const Opt_SizeChangeCallback* callback_) + { + } + void SetOnVisibleAreaApproximateChangeImpl(UICommonEventPeer* peer, + const Ark_VisibleAreaEventOptions* options, + const Opt_VisibleAreaChangeCallback* event) + { + } + } // UICommonEventAccessor + namespace GestureModifierAccessor { + void DestroyPeerImpl(GestureModifierPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new GestureModifierPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void ApplyGestureImpl(GestureModifierPeer* peer, + const Ark_UIGestureEvent* event) + { + } + } // GestureModifierAccessor + namespace GlobalScope_commonAccessor { + void DestroyPeerImpl(GlobalScope_commonPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new GlobalScope_commonPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_NativePointer GetContextImpl(const Opt_CustomObject* component) + { + return nullptr; + } + void PostCardActionImpl(const Ark_CustomObject* component, + const Ark_CustomObject* action) + { + } + Ark_NativePointer Dollar_rImpl(const Ark_String* value, + const Array_CustomObject* params) + { + return nullptr; + } + Ark_NativePointer Dollar_rawfileImpl(const Ark_String* value) + { + return nullptr; + } + void AnimateToImpl(const Ark_AnimateParam* value, + const Callback_Void* event) + { + } + void AnimateToImmediatelyImpl(const Ark_AnimateParam* value, + const Callback_Void* event) + { + } + Ark_Int32 Vp2pxImpl(const Ark_Number* value) + { + return 0; + } + Ark_Int32 Px2vpImpl(const Ark_Number* value) + { + return 0; + } + Ark_Int32 Fp2pxImpl(const Ark_Number* value) + { + return 0; + } + Ark_Int32 Px2fpImpl(const Ark_Number* value) + { + return 0; + } + Ark_Int32 Lpx2pxImpl(const Ark_Number* value) + { + return 0; + } + Ark_Int32 Px2lpxImpl(const Ark_Number* value) + { + return 0; + } + Ark_Boolean RequestFocusImpl(const Ark_String* value) + { + return 0; + } + void SetCursorImpl(Ark_PointerStyle value) + { + } + void RestoreDefaultImpl() + { + } + } // GlobalScope_commonAccessor + namespace ContextMenuAccessor { + void DestroyPeerImpl(ContextMenuPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new ContextMenuPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void CloseImpl() + { + } + } // ContextMenuAccessor + namespace CustomDialogControllerAccessor { + void DestroyPeerImpl(CustomDialogControllerPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl(const Ark_CustomDialogControllerOptions* value) + { + return new CustomDialogControllerPeer(value); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void OpenImpl(CustomDialogControllerPeer* peer) + { + } + void CloseImpl(CustomDialogControllerPeer* peer) + { + } + } // CustomDialogControllerAccessor + namespace DatePickerDialogAccessor { + void DestroyPeerImpl(DatePickerDialogPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new DatePickerDialogPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void ShowImpl(const Opt_DatePickerDialogOptions* options) + { + } + } // DatePickerDialogAccessor + namespace BaseGestureEventAccessor { + void DestroyPeerImpl(BaseGestureEventPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new BaseGestureEventPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void SetFingerListImpl(BaseGestureEventPeer* peer, + const Array_FingerInfo* fingerList) + { + } + } // BaseGestureEventAccessor + namespace TapGestureEventAccessor { + void DestroyPeerImpl(TapGestureEventPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new TapGestureEventPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + } // TapGestureEventAccessor + namespace LongPressGestureEventAccessor { + void DestroyPeerImpl(LongPressGestureEventPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new LongPressGestureEventPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_Boolean GetRepeatImpl(LongPressGestureEventPeer* peer) + { + return 0; + } + void SetRepeatImpl(LongPressGestureEventPeer* peer, + Ark_Boolean repeat) + { + } + } // LongPressGestureEventAccessor + namespace PanGestureEventAccessor { + void DestroyPeerImpl(PanGestureEventPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new PanGestureEventPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_Int32 GetOffsetXImpl(PanGestureEventPeer* peer) + { + return 0; + } + void SetOffsetXImpl(PanGestureEventPeer* peer, + const Ark_Number* offsetX) + { + } + Ark_Int32 GetOffsetYImpl(PanGestureEventPeer* peer) + { + return 0; + } + void SetOffsetYImpl(PanGestureEventPeer* peer, + const Ark_Number* offsetY) + { + } + Ark_Int32 GetVelocityXImpl(PanGestureEventPeer* peer) + { + return 0; + } + void SetVelocityXImpl(PanGestureEventPeer* peer, + const Ark_Number* velocityX) + { + } + Ark_Int32 GetVelocityYImpl(PanGestureEventPeer* peer) + { + return 0; + } + void SetVelocityYImpl(PanGestureEventPeer* peer, + const Ark_Number* velocityY) + { + } + Ark_Int32 GetVelocityImpl(PanGestureEventPeer* peer) + { + return 0; + } + void SetVelocityImpl(PanGestureEventPeer* peer, + const Ark_Number* velocity) + { + } + } // PanGestureEventAccessor + namespace PinchGestureEventAccessor { + void DestroyPeerImpl(PinchGestureEventPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new PinchGestureEventPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_Int32 GetScaleImpl(PinchGestureEventPeer* peer) + { + return 0; + } + void SetScaleImpl(PinchGestureEventPeer* peer, + const Ark_Number* scale) + { + } + Ark_Int32 GetPinchCenterXImpl(PinchGestureEventPeer* peer) + { + return 0; + } + void SetPinchCenterXImpl(PinchGestureEventPeer* peer, + const Ark_Number* pinchCenterX) + { + } + Ark_Int32 GetPinchCenterYImpl(PinchGestureEventPeer* peer) + { + return 0; + } + void SetPinchCenterYImpl(PinchGestureEventPeer* peer, + const Ark_Number* pinchCenterY) + { + } + } // PinchGestureEventAccessor + namespace RotationGestureEventAccessor { + void DestroyPeerImpl(RotationGestureEventPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new RotationGestureEventPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_Int32 GetAngleImpl(RotationGestureEventPeer* peer) + { + return 0; + } + void SetAngleImpl(RotationGestureEventPeer* peer, + const Ark_Number* angle) + { + } + } // RotationGestureEventAccessor + namespace SwipeGestureEventAccessor { + void DestroyPeerImpl(SwipeGestureEventPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new SwipeGestureEventPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_Int32 GetAngleImpl(SwipeGestureEventPeer* peer) + { + return 0; + } + void SetAngleImpl(SwipeGestureEventPeer* peer, + const Ark_Number* angle) + { + } + Ark_Int32 GetSpeedImpl(SwipeGestureEventPeer* peer) + { + return 0; + } + void SetSpeedImpl(SwipeGestureEventPeer* peer, + const Ark_Number* speed) + { + } + } // SwipeGestureEventAccessor + namespace GestureEventAccessor { + void DestroyPeerImpl(GestureEventPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new GestureEventPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_Boolean GetRepeatImpl(GestureEventPeer* peer) + { + return 0; + } + void SetRepeatImpl(GestureEventPeer* peer, + Ark_Boolean repeat) + { + } + void SetFingerListImpl(GestureEventPeer* peer, + const Array_FingerInfo* fingerList) + { + } + Ark_Int32 GetOffsetXImpl(GestureEventPeer* peer) + { + return 0; + } + void SetOffsetXImpl(GestureEventPeer* peer, + const Ark_Number* offsetX) + { + } + Ark_Int32 GetOffsetYImpl(GestureEventPeer* peer) + { + return 0; + } + void SetOffsetYImpl(GestureEventPeer* peer, + const Ark_Number* offsetY) + { + } + Ark_Int32 GetAngleImpl(GestureEventPeer* peer) + { + return 0; + } + void SetAngleImpl(GestureEventPeer* peer, + const Ark_Number* angle) + { + } + Ark_Int32 GetSpeedImpl(GestureEventPeer* peer) + { + return 0; + } + void SetSpeedImpl(GestureEventPeer* peer, + const Ark_Number* speed) + { + } + Ark_Int32 GetScaleImpl(GestureEventPeer* peer) + { + return 0; + } + void SetScaleImpl(GestureEventPeer* peer, + const Ark_Number* scale) + { + } + Ark_Int32 GetPinchCenterXImpl(GestureEventPeer* peer) + { + return 0; + } + void SetPinchCenterXImpl(GestureEventPeer* peer, + const Ark_Number* pinchCenterX) + { + } + Ark_Int32 GetPinchCenterYImpl(GestureEventPeer* peer) + { + return 0; + } + void SetPinchCenterYImpl(GestureEventPeer* peer, + const Ark_Number* pinchCenterY) + { + } + Ark_Int32 GetVelocityXImpl(GestureEventPeer* peer) + { + return 0; + } + void SetVelocityXImpl(GestureEventPeer* peer, + const Ark_Number* velocityX) + { + } + Ark_Int32 GetVelocityYImpl(GestureEventPeer* peer) + { + return 0; + } + void SetVelocityYImpl(GestureEventPeer* peer, + const Ark_Number* velocityY) + { + } + Ark_Int32 GetVelocityImpl(GestureEventPeer* peer) + { + return 0; + } + void SetVelocityImpl(GestureEventPeer* peer, + const Ark_Number* velocity) + { + } + } // GestureEventAccessor + namespace PanGestureOptionsAccessor { + void DestroyPeerImpl(PanGestureOptionsPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl(const Opt_Literal_Number_distance_fingers_PanDirection_direction* value) + { + return new PanGestureOptionsPeer(value); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void SetDirectionImpl(PanGestureOptionsPeer* peer, + Ark_PanDirection value) + { + } + void SetDistanceImpl(PanGestureOptionsPeer* peer, + const Ark_Number* value) + { + } + void SetFingersImpl(PanGestureOptionsPeer* peer, + const Ark_Number* value) + { + } + Ark_NativePointer GetDirectionImpl(PanGestureOptionsPeer* peer) + { + return nullptr; + } + } // PanGestureOptionsAccessor + namespace ScrollableTargetInfoAccessor { + void DestroyPeerImpl(ScrollableTargetInfoPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new ScrollableTargetInfoPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_Boolean IsBeginImpl(ScrollableTargetInfoPeer* peer) + { + return 0; + } + Ark_Boolean IsEndImpl(ScrollableTargetInfoPeer* peer) + { + return 0; + } + } // ScrollableTargetInfoAccessor + namespace EventTargetInfoAccessor { + void DestroyPeerImpl(EventTargetInfoPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new EventTargetInfoPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void GetIdImpl(EventTargetInfoPeer* peer) + { + } + } // EventTargetInfoAccessor + namespace GestureRecognizerAccessor { + void DestroyPeerImpl(GestureRecognizerPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new GestureRecognizerPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void GetTagImpl(GestureRecognizerPeer* peer) + { + } + Ark_NativePointer GetTypeImpl(GestureRecognizerPeer* peer) + { + return nullptr; + } + Ark_Boolean IsBuiltInImpl(GestureRecognizerPeer* peer) + { + return 0; + } + void SetEnabledImpl(GestureRecognizerPeer* peer, + Ark_Boolean isEnabled) + { + } + Ark_Boolean IsEnabledImpl(GestureRecognizerPeer* peer) + { + return 0; + } + Ark_NativePointer GetStateImpl(GestureRecognizerPeer* peer) + { + return nullptr; + } + Ark_NativePointer GetEventTargetInfoImpl(GestureRecognizerPeer* peer) + { + return nullptr; + } + Ark_Boolean IsValidImpl(GestureRecognizerPeer* peer) + { + return 0; + } + } // GestureRecognizerAccessor + namespace PanRecognizerAccessor { + void DestroyPeerImpl(PanRecognizerPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new PanRecognizerPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_NativePointer GetPanGestureOptionsImpl(PanRecognizerPeer* peer) + { + return nullptr; + } + } // PanRecognizerAccessor + namespace ImageAnalyzerControllerAccessor { + void DestroyPeerImpl(ImageAnalyzerControllerPeer* peer) { auto peerImpl = reinterpret_cast(peer); if (peerImpl) { @@ -12367,7 +13454,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void FinishAnimationImpl(SwiperControllerPeer* peer, - const Opt_VoidCallback* callback) + const Opt_VoidCallback* callback_) { } } // SwiperControllerAccessor @@ -12785,6 +13872,33 @@ namespace OHOS::Ace::NG::GeneratedModifier { return 0; } } // EditMenuOptionsAccessor + namespace SubmitEventAccessor { + void DestroyPeerImpl(SubmitEventPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new SubmitEventPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void KeepEditableStateImpl(SubmitEventPeer* peer) + { + } + void GetTextImpl(SubmitEventPeer* peer) + { + } + void SetTextImpl(SubmitEventPeer* peer, + const Ark_String* text) + { + } + } // SubmitEventAccessor namespace TextInputControllerAccessor { void DestroyPeerImpl(TextInputControllerPeer* peer) { @@ -13616,7 +14730,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void RunJavaScriptImpl(WebControllerPeer* peer, - const Ark_Literal_String_script_Callback_String_Void_callback* options) + const Ark_Literal_String_script_Callback_String_Void_callback_* options) { } void LoadDataImpl(WebControllerPeer* peer, @@ -13634,7 +14748,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } void RegisterJavaScriptProxyImpl(WebControllerPeer* peer, - const Ark_Literal_Object_object_String_name_Array_String_methodList* options) + const Ark_Literal_Object_object__String_name_Array_String_methodList* options) { } void DeleteJavaScriptRegisterImpl(WebControllerPeer* peer, @@ -13805,19 +14919,19 @@ namespace OHOS::Ace::NG::GeneratedModifier { return 0; } void OnAsyncReceiverRegisterImpl(UIExtensionProxyPeer* peer, - const Callback_UIExtensionProxy_Void* callback) + const Callback_UIExtensionProxy_Void* callback_) { } void OnSyncReceiverRegisterImpl(UIExtensionProxyPeer* peer, - const Callback_UIExtensionProxy_Void* callback) + const Callback_UIExtensionProxy_Void* callback_) { } void OffAsyncReceiverRegisterImpl(UIExtensionProxyPeer* peer, - const Opt_Callback_UIExtensionProxy_Void* callback) + const Opt_Callback_UIExtensionProxy_Void* callback_) { } void OffSyncReceiverRegisterImpl(UIExtensionProxyPeer* peer, - const Opt_Callback_UIExtensionProxy_Void* callback) + const Opt_Callback_UIExtensionProxy_Void* callback_) { } } // UIExtensionProxyAccessor @@ -14009,6 +15123,40 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } } // LinearIndicatorControllerAccessor + namespace GlobalScope_inspectorAccessor { + void DestroyPeerImpl(GlobalScope_inspectorPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new GlobalScope_inspectorPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_NativePointer GetInspectorNodesImpl() + { + return nullptr; + } + Ark_NativePointer GetInspectorNodeByIdImpl(const Ark_Number* id) + { + return nullptr; + } + void RegisterVsyncCallbackImpl(const Callback_String_Void* callback_) + { + } + void UnregisterVsyncCallbackImpl() + { + } + void SetAppBgColorImpl(const Ark_String* value) + { + } + } // GlobalScope_inspectorAccessor const GENERATED_ArkUIUnifiedDataAccessor* GetUnifiedDataAccessor() { static const GENERATED_ArkUIUnifiedDataAccessor UnifiedDataAccessorImpl { @@ -14033,6 +15181,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { LazyForEachOpsAccessor::NeedMoreElementsImpl, LazyForEachOpsAccessor::OnRangeUpdateImpl, LazyForEachOpsAccessor::SetCurrentIndexImpl, + LazyForEachOpsAccessor::PrepareImpl, }; return &LazyForEachOpsAccessorImpl; } @@ -14432,6 +15581,164 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct TransitionEffectPeer { virtual ~TransitionEffectPeer() = default; }; + const GENERATED_ArkUIBaseEventAccessor* GetBaseEventAccessor() + { + static const GENERATED_ArkUIBaseEventAccessor BaseEventAccessorImpl { + BaseEventAccessor::DestroyPeerImpl, + BaseEventAccessor::CtorImpl, + BaseEventAccessor::GetFinalizerImpl, + BaseEventAccessor::GetModifierKeyStateImpl, + BaseEventAccessor::SetTargetImpl, + BaseEventAccessor::GetTimestampImpl, + BaseEventAccessor::SetTimestampImpl, + BaseEventAccessor::GetSourceImpl, + BaseEventAccessor::SetSourceImpl, + BaseEventAccessor::GetAxisHorizontalImpl, + BaseEventAccessor::SetAxisHorizontalImpl, + BaseEventAccessor::GetAxisVerticalImpl, + BaseEventAccessor::SetAxisVerticalImpl, + BaseEventAccessor::GetPressureImpl, + BaseEventAccessor::SetPressureImpl, + BaseEventAccessor::GetTiltXImpl, + BaseEventAccessor::SetTiltXImpl, + BaseEventAccessor::GetTiltYImpl, + BaseEventAccessor::SetTiltYImpl, + BaseEventAccessor::GetSourceToolImpl, + BaseEventAccessor::SetSourceToolImpl, + BaseEventAccessor::GetDeviceIdImpl, + BaseEventAccessor::SetDeviceIdImpl, + }; + return &BaseEventAccessorImpl; + } + + struct BaseEventPeer { + virtual ~BaseEventPeer() = default; + }; + const GENERATED_ArkUIClickEventAccessor* GetClickEventAccessor() + { + static const GENERATED_ArkUIClickEventAccessor ClickEventAccessorImpl { + ClickEventAccessor::DestroyPeerImpl, + ClickEventAccessor::CtorImpl, + ClickEventAccessor::GetFinalizerImpl, + ClickEventAccessor::GetDisplayXImpl, + ClickEventAccessor::SetDisplayXImpl, + ClickEventAccessor::GetDisplayYImpl, + ClickEventAccessor::SetDisplayYImpl, + ClickEventAccessor::GetWindowXImpl, + ClickEventAccessor::SetWindowXImpl, + ClickEventAccessor::GetWindowYImpl, + ClickEventAccessor::SetWindowYImpl, + ClickEventAccessor::GetScreenXImpl, + ClickEventAccessor::SetScreenXImpl, + ClickEventAccessor::GetScreenYImpl, + ClickEventAccessor::SetScreenYImpl, + ClickEventAccessor::GetXImpl, + ClickEventAccessor::SetXImpl, + ClickEventAccessor::GetYImpl, + ClickEventAccessor::SetYImpl, + ClickEventAccessor::SetPreventDefaultImpl, + }; + return &ClickEventAccessorImpl; + } + + struct ClickEventPeer { + virtual ~ClickEventPeer() = default; + }; + const GENERATED_ArkUIHoverEventAccessor* GetHoverEventAccessor() + { + static const GENERATED_ArkUIHoverEventAccessor HoverEventAccessorImpl { + HoverEventAccessor::DestroyPeerImpl, + HoverEventAccessor::CtorImpl, + HoverEventAccessor::GetFinalizerImpl, + HoverEventAccessor::SetStopPropagationImpl, + }; + return &HoverEventAccessorImpl; + } + + struct HoverEventPeer { + virtual ~HoverEventPeer() = default; + }; + const GENERATED_ArkUIMouseEventAccessor* GetMouseEventAccessor() + { + static const GENERATED_ArkUIMouseEventAccessor MouseEventAccessorImpl { + MouseEventAccessor::DestroyPeerImpl, + MouseEventAccessor::CtorImpl, + MouseEventAccessor::GetFinalizerImpl, + MouseEventAccessor::GetButtonImpl, + MouseEventAccessor::SetButtonImpl, + MouseEventAccessor::GetActionImpl, + MouseEventAccessor::SetActionImpl, + MouseEventAccessor::GetDisplayXImpl, + MouseEventAccessor::SetDisplayXImpl, + MouseEventAccessor::GetDisplayYImpl, + MouseEventAccessor::SetDisplayYImpl, + MouseEventAccessor::GetWindowXImpl, + MouseEventAccessor::SetWindowXImpl, + MouseEventAccessor::GetWindowYImpl, + MouseEventAccessor::SetWindowYImpl, + MouseEventAccessor::GetScreenXImpl, + MouseEventAccessor::SetScreenXImpl, + MouseEventAccessor::GetScreenYImpl, + MouseEventAccessor::SetScreenYImpl, + MouseEventAccessor::GetXImpl, + MouseEventAccessor::SetXImpl, + MouseEventAccessor::GetYImpl, + MouseEventAccessor::SetYImpl, + MouseEventAccessor::SetStopPropagationImpl, + }; + return &MouseEventAccessorImpl; + } + + struct MouseEventPeer { + virtual ~MouseEventPeer() = default; + }; + const GENERATED_ArkUIAccessibilityHoverEventAccessor* GetAccessibilityHoverEventAccessor() + { + static const GENERATED_ArkUIAccessibilityHoverEventAccessor AccessibilityHoverEventAccessorImpl { + AccessibilityHoverEventAccessor::DestroyPeerImpl, + AccessibilityHoverEventAccessor::CtorImpl, + AccessibilityHoverEventAccessor::GetFinalizerImpl, + AccessibilityHoverEventAccessor::GetTypeImpl, + AccessibilityHoverEventAccessor::SetTypeImpl, + AccessibilityHoverEventAccessor::GetXImpl, + AccessibilityHoverEventAccessor::SetXImpl, + AccessibilityHoverEventAccessor::GetYImpl, + AccessibilityHoverEventAccessor::SetYImpl, + AccessibilityHoverEventAccessor::GetDisplayXImpl, + AccessibilityHoverEventAccessor::SetDisplayXImpl, + AccessibilityHoverEventAccessor::GetDisplayYImpl, + AccessibilityHoverEventAccessor::SetDisplayYImpl, + AccessibilityHoverEventAccessor::GetWindowXImpl, + AccessibilityHoverEventAccessor::SetWindowXImpl, + AccessibilityHoverEventAccessor::GetWindowYImpl, + AccessibilityHoverEventAccessor::SetWindowYImpl, + }; + return &AccessibilityHoverEventAccessorImpl; + } + + struct AccessibilityHoverEventPeer { + virtual ~AccessibilityHoverEventPeer() = default; + }; + const GENERATED_ArkUITouchEventAccessor* GetTouchEventAccessor() + { + static const GENERATED_ArkUITouchEventAccessor TouchEventAccessorImpl { + TouchEventAccessor::DestroyPeerImpl, + TouchEventAccessor::CtorImpl, + TouchEventAccessor::GetFinalizerImpl, + TouchEventAccessor::GetHistoricalPointsImpl, + TouchEventAccessor::GetTypeImpl, + TouchEventAccessor::SetTypeImpl, + TouchEventAccessor::SetTouchesImpl, + TouchEventAccessor::SetChangedTouchesImpl, + TouchEventAccessor::SetStopPropagationImpl, + TouchEventAccessor::SetPreventDefaultImpl, + }; + return &TouchEventAccessorImpl; + } + + struct TouchEventPeer { + virtual ~TouchEventPeer() = default; + }; const GENERATED_ArkUIPixelMapMockAccessor* GetPixelMapMockAccessor() { static const GENERATED_ArkUIPixelMapMockAccessor PixelMapMockAccessorImpl { @@ -14446,6 +15753,71 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct PixelMapMockPeer { virtual ~PixelMapMockPeer() = default; }; + const GENERATED_ArkUIDragEventAccessor* GetDragEventAccessor() + { + static const GENERATED_ArkUIDragEventAccessor DragEventAccessorImpl { + DragEventAccessor::DestroyPeerImpl, + DragEventAccessor::CtorImpl, + DragEventAccessor::GetFinalizerImpl, + DragEventAccessor::GetDisplayXImpl, + DragEventAccessor::GetDisplayYImpl, + DragEventAccessor::GetWindowXImpl, + DragEventAccessor::GetWindowYImpl, + DragEventAccessor::GetXImpl, + DragEventAccessor::GetYImpl, + DragEventAccessor::SetDataImpl, + DragEventAccessor::GetDataImpl, + DragEventAccessor::GetSummaryImpl, + DragEventAccessor::SetResultImpl, + DragEventAccessor::GetResultImpl, + DragEventAccessor::GetPreviewRectImpl, + DragEventAccessor::GetVelocityXImpl, + DragEventAccessor::GetVelocityYImpl, + DragEventAccessor::GetVelocityImpl, + DragEventAccessor::GetModifierKeyStateImpl, + DragEventAccessor::GetDragBehaviorImpl, + DragEventAccessor::SetDragBehaviorImpl, + DragEventAccessor::GetUseCustomDropAnimationImpl, + DragEventAccessor::SetUseCustomDropAnimationImpl, + }; + return &DragEventAccessorImpl; + } + + struct DragEventPeer { + virtual ~DragEventPeer() = default; + }; + const GENERATED_ArkUIKeyEventAccessor* GetKeyEventAccessor() + { + static const GENERATED_ArkUIKeyEventAccessor KeyEventAccessorImpl { + KeyEventAccessor::DestroyPeerImpl, + KeyEventAccessor::CtorImpl, + KeyEventAccessor::GetFinalizerImpl, + KeyEventAccessor::GetModifierKeyStateImpl, + KeyEventAccessor::GetTypeImpl, + KeyEventAccessor::SetTypeImpl, + KeyEventAccessor::GetKeyCodeImpl, + KeyEventAccessor::SetKeyCodeImpl, + KeyEventAccessor::GetKeyTextImpl, + KeyEventAccessor::SetKeyTextImpl, + KeyEventAccessor::GetKeySourceImpl, + KeyEventAccessor::SetKeySourceImpl, + KeyEventAccessor::GetDeviceIdImpl, + KeyEventAccessor::SetDeviceIdImpl, + KeyEventAccessor::GetMetaKeyImpl, + KeyEventAccessor::SetMetaKeyImpl, + KeyEventAccessor::GetTimestampImpl, + KeyEventAccessor::SetTimestampImpl, + KeyEventAccessor::SetStopPropagationImpl, + KeyEventAccessor::SetIntentionCodeImpl, + KeyEventAccessor::GetUnicodeImpl, + KeyEventAccessor::SetUnicodeImpl, + }; + return &KeyEventAccessorImpl; + } + + struct KeyEventPeer { + virtual ~KeyEventPeer() = default; + }; const GENERATED_ArkUIProgressMaskAccessor* GetProgressMaskAccessor() { static const GENERATED_ArkUIProgressMaskAccessor ProgressMaskAccessorImpl { @@ -14523,6 +15895,30 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct ChildrenMainSizePeer { virtual ~ChildrenMainSizePeer() = default; }; + const GENERATED_ArkUIUICommonEventAccessor* GetUICommonEventAccessor() + { + static const GENERATED_ArkUIUICommonEventAccessor UICommonEventAccessorImpl { + UICommonEventAccessor::DestroyPeerImpl, + UICommonEventAccessor::CtorImpl, + UICommonEventAccessor::GetFinalizerImpl, + UICommonEventAccessor::SetOnClickImpl, + UICommonEventAccessor::SetOnTouchImpl, + UICommonEventAccessor::SetOnAppearImpl, + UICommonEventAccessor::SetOnDisappearImpl, + UICommonEventAccessor::SetOnKeyEventImpl, + UICommonEventAccessor::SetOnFocusImpl, + UICommonEventAccessor::SetOnBlurImpl, + UICommonEventAccessor::SetOnHoverImpl, + UICommonEventAccessor::SetOnMouseImpl, + UICommonEventAccessor::SetOnSizeChangeImpl, + UICommonEventAccessor::SetOnVisibleAreaApproximateChangeImpl, + }; + return &UICommonEventAccessorImpl; + } + + struct UICommonEventPeer { + virtual ~UICommonEventPeer() = default; + }; const GENERATED_ArkUIGestureModifierAccessor* GetGestureModifierAccessor() { static const GENERATED_ArkUIGestureModifierAccessor GestureModifierAccessorImpl { @@ -14537,6 +15933,34 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct GestureModifierPeer { virtual ~GestureModifierPeer() = default; }; + const GENERATED_ArkUIGlobalScope_commonAccessor* GetGlobalScope_commonAccessor() + { + static const GENERATED_ArkUIGlobalScope_commonAccessor GlobalScope_commonAccessorImpl { + GlobalScope_commonAccessor::DestroyPeerImpl, + GlobalScope_commonAccessor::CtorImpl, + GlobalScope_commonAccessor::GetFinalizerImpl, + GlobalScope_commonAccessor::GetContextImpl, + GlobalScope_commonAccessor::PostCardActionImpl, + GlobalScope_commonAccessor::Dollar_rImpl, + GlobalScope_commonAccessor::Dollar_rawfileImpl, + GlobalScope_commonAccessor::AnimateToImpl, + GlobalScope_commonAccessor::AnimateToImmediatelyImpl, + GlobalScope_commonAccessor::Vp2pxImpl, + GlobalScope_commonAccessor::Px2vpImpl, + GlobalScope_commonAccessor::Fp2pxImpl, + GlobalScope_commonAccessor::Px2fpImpl, + GlobalScope_commonAccessor::Lpx2pxImpl, + GlobalScope_commonAccessor::Px2lpxImpl, + GlobalScope_commonAccessor::RequestFocusImpl, + GlobalScope_commonAccessor::SetCursorImpl, + GlobalScope_commonAccessor::RestoreDefaultImpl, + }; + return &GlobalScope_commonAccessorImpl; + } + + struct GlobalScope_commonPeer { + virtual ~GlobalScope_commonPeer() = default; + }; const GENERATED_ArkUIContextMenuAccessor* GetContextMenuAccessor() { static const GENERATED_ArkUIContextMenuAccessor ContextMenuAccessorImpl { @@ -14580,6 +16004,158 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct DatePickerDialogPeer { virtual ~DatePickerDialogPeer() = default; }; + const GENERATED_ArkUIBaseGestureEventAccessor* GetBaseGestureEventAccessor() + { + static const GENERATED_ArkUIBaseGestureEventAccessor BaseGestureEventAccessorImpl { + BaseGestureEventAccessor::DestroyPeerImpl, + BaseGestureEventAccessor::CtorImpl, + BaseGestureEventAccessor::GetFinalizerImpl, + BaseGestureEventAccessor::SetFingerListImpl, + }; + return &BaseGestureEventAccessorImpl; + } + + struct BaseGestureEventPeer { + virtual ~BaseGestureEventPeer() = default; + }; + const GENERATED_ArkUITapGestureEventAccessor* GetTapGestureEventAccessor() + { + static const GENERATED_ArkUITapGestureEventAccessor TapGestureEventAccessorImpl { + TapGestureEventAccessor::DestroyPeerImpl, + TapGestureEventAccessor::CtorImpl, + TapGestureEventAccessor::GetFinalizerImpl, + }; + return &TapGestureEventAccessorImpl; + } + + struct TapGestureEventPeer { + virtual ~TapGestureEventPeer() = default; + }; + const GENERATED_ArkUILongPressGestureEventAccessor* GetLongPressGestureEventAccessor() + { + static const GENERATED_ArkUILongPressGestureEventAccessor LongPressGestureEventAccessorImpl { + LongPressGestureEventAccessor::DestroyPeerImpl, + LongPressGestureEventAccessor::CtorImpl, + LongPressGestureEventAccessor::GetFinalizerImpl, + LongPressGestureEventAccessor::GetRepeatImpl, + LongPressGestureEventAccessor::SetRepeatImpl, + }; + return &LongPressGestureEventAccessorImpl; + } + + struct LongPressGestureEventPeer { + virtual ~LongPressGestureEventPeer() = default; + }; + const GENERATED_ArkUIPanGestureEventAccessor* GetPanGestureEventAccessor() + { + static const GENERATED_ArkUIPanGestureEventAccessor PanGestureEventAccessorImpl { + PanGestureEventAccessor::DestroyPeerImpl, + PanGestureEventAccessor::CtorImpl, + PanGestureEventAccessor::GetFinalizerImpl, + PanGestureEventAccessor::GetOffsetXImpl, + PanGestureEventAccessor::SetOffsetXImpl, + PanGestureEventAccessor::GetOffsetYImpl, + PanGestureEventAccessor::SetOffsetYImpl, + PanGestureEventAccessor::GetVelocityXImpl, + PanGestureEventAccessor::SetVelocityXImpl, + PanGestureEventAccessor::GetVelocityYImpl, + PanGestureEventAccessor::SetVelocityYImpl, + PanGestureEventAccessor::GetVelocityImpl, + PanGestureEventAccessor::SetVelocityImpl, + }; + return &PanGestureEventAccessorImpl; + } + + struct PanGestureEventPeer { + virtual ~PanGestureEventPeer() = default; + }; + const GENERATED_ArkUIPinchGestureEventAccessor* GetPinchGestureEventAccessor() + { + static const GENERATED_ArkUIPinchGestureEventAccessor PinchGestureEventAccessorImpl { + PinchGestureEventAccessor::DestroyPeerImpl, + PinchGestureEventAccessor::CtorImpl, + PinchGestureEventAccessor::GetFinalizerImpl, + PinchGestureEventAccessor::GetScaleImpl, + PinchGestureEventAccessor::SetScaleImpl, + PinchGestureEventAccessor::GetPinchCenterXImpl, + PinchGestureEventAccessor::SetPinchCenterXImpl, + PinchGestureEventAccessor::GetPinchCenterYImpl, + PinchGestureEventAccessor::SetPinchCenterYImpl, + }; + return &PinchGestureEventAccessorImpl; + } + + struct PinchGestureEventPeer { + virtual ~PinchGestureEventPeer() = default; + }; + const GENERATED_ArkUIRotationGestureEventAccessor* GetRotationGestureEventAccessor() + { + static const GENERATED_ArkUIRotationGestureEventAccessor RotationGestureEventAccessorImpl { + RotationGestureEventAccessor::DestroyPeerImpl, + RotationGestureEventAccessor::CtorImpl, + RotationGestureEventAccessor::GetFinalizerImpl, + RotationGestureEventAccessor::GetAngleImpl, + RotationGestureEventAccessor::SetAngleImpl, + }; + return &RotationGestureEventAccessorImpl; + } + + struct RotationGestureEventPeer { + virtual ~RotationGestureEventPeer() = default; + }; + const GENERATED_ArkUISwipeGestureEventAccessor* GetSwipeGestureEventAccessor() + { + static const GENERATED_ArkUISwipeGestureEventAccessor SwipeGestureEventAccessorImpl { + SwipeGestureEventAccessor::DestroyPeerImpl, + SwipeGestureEventAccessor::CtorImpl, + SwipeGestureEventAccessor::GetFinalizerImpl, + SwipeGestureEventAccessor::GetAngleImpl, + SwipeGestureEventAccessor::SetAngleImpl, + SwipeGestureEventAccessor::GetSpeedImpl, + SwipeGestureEventAccessor::SetSpeedImpl, + }; + return &SwipeGestureEventAccessorImpl; + } + + struct SwipeGestureEventPeer { + virtual ~SwipeGestureEventPeer() = default; + }; + const GENERATED_ArkUIGestureEventAccessor* GetGestureEventAccessor() + { + static const GENERATED_ArkUIGestureEventAccessor GestureEventAccessorImpl { + GestureEventAccessor::DestroyPeerImpl, + GestureEventAccessor::CtorImpl, + GestureEventAccessor::GetFinalizerImpl, + GestureEventAccessor::GetRepeatImpl, + GestureEventAccessor::SetRepeatImpl, + GestureEventAccessor::SetFingerListImpl, + GestureEventAccessor::GetOffsetXImpl, + GestureEventAccessor::SetOffsetXImpl, + GestureEventAccessor::GetOffsetYImpl, + GestureEventAccessor::SetOffsetYImpl, + GestureEventAccessor::GetAngleImpl, + GestureEventAccessor::SetAngleImpl, + GestureEventAccessor::GetSpeedImpl, + GestureEventAccessor::SetSpeedImpl, + GestureEventAccessor::GetScaleImpl, + GestureEventAccessor::SetScaleImpl, + GestureEventAccessor::GetPinchCenterXImpl, + GestureEventAccessor::SetPinchCenterXImpl, + GestureEventAccessor::GetPinchCenterYImpl, + GestureEventAccessor::SetPinchCenterYImpl, + GestureEventAccessor::GetVelocityXImpl, + GestureEventAccessor::SetVelocityXImpl, + GestureEventAccessor::GetVelocityYImpl, + GestureEventAccessor::SetVelocityYImpl, + GestureEventAccessor::GetVelocityImpl, + GestureEventAccessor::SetVelocityImpl, + }; + return &GestureEventAccessorImpl; + } + + struct GestureEventPeer { + virtual ~GestureEventPeer() = default; + }; const GENERATED_ArkUIPanGestureOptionsAccessor* GetPanGestureOptionsAccessor() { static const GENERATED_ArkUIPanGestureOptionsAccessor PanGestureOptionsAccessorImpl { @@ -15160,6 +16736,22 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct EditMenuOptionsPeer { virtual ~EditMenuOptionsPeer() = default; }; + const GENERATED_ArkUISubmitEventAccessor* GetSubmitEventAccessor() + { + static const GENERATED_ArkUISubmitEventAccessor SubmitEventAccessorImpl { + SubmitEventAccessor::DestroyPeerImpl, + SubmitEventAccessor::CtorImpl, + SubmitEventAccessor::GetFinalizerImpl, + SubmitEventAccessor::KeepEditableStateImpl, + SubmitEventAccessor::GetTextImpl, + SubmitEventAccessor::SetTextImpl, + }; + return &SubmitEventAccessorImpl; + } + + struct SubmitEventPeer { + virtual ~SubmitEventPeer() = default; + }; const GENERATED_ArkUITextInputControllerAccessor* GetTextInputControllerAccessor() { static const GENERATED_ArkUITextInputControllerAccessor TextInputControllerAccessorImpl { @@ -15771,6 +17363,24 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct LinearIndicatorControllerPeer { virtual ~LinearIndicatorControllerPeer() = default; }; + const GENERATED_ArkUIGlobalScope_inspectorAccessor* GetGlobalScope_inspectorAccessor() + { + static const GENERATED_ArkUIGlobalScope_inspectorAccessor GlobalScope_inspectorAccessorImpl { + GlobalScope_inspectorAccessor::DestroyPeerImpl, + GlobalScope_inspectorAccessor::CtorImpl, + GlobalScope_inspectorAccessor::GetFinalizerImpl, + GlobalScope_inspectorAccessor::GetInspectorNodesImpl, + GlobalScope_inspectorAccessor::GetInspectorNodeByIdImpl, + GlobalScope_inspectorAccessor::RegisterVsyncCallbackImpl, + GlobalScope_inspectorAccessor::UnregisterVsyncCallbackImpl, + GlobalScope_inspectorAccessor::SetAppBgColorImpl, + }; + return &GlobalScope_inspectorAccessorImpl; + } + + struct GlobalScope_inspectorPeer { + virtual ~GlobalScope_inspectorPeer() = default; + }; const GENERATED_ArkUIAccessors* GENERATED_GetArkUIAccessors() { static const GENERATED_ArkUIAccessors accessorsImpl = { @@ -15795,16 +17405,34 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetICurveAccessor, GetDrawModifierAccessor, GetTransitionEffectAccessor, + GetBaseEventAccessor, + GetClickEventAccessor, + GetHoverEventAccessor, + GetMouseEventAccessor, + GetAccessibilityHoverEventAccessor, + GetTouchEventAccessor, GetPixelMapMockAccessor, + GetDragEventAccessor, + GetKeyEventAccessor, GetProgressMaskAccessor, GetViewAccessor, GetTextContentControllerBaseAccessor, GetDynamicNodeAccessor, GetChildrenMainSizeAccessor, + GetUICommonEventAccessor, GetGestureModifierAccessor, + GetGlobalScope_commonAccessor, GetContextMenuAccessor, GetCustomDialogControllerAccessor, GetDatePickerDialogAccessor, + GetBaseGestureEventAccessor, + GetTapGestureEventAccessor, + GetLongPressGestureEventAccessor, + GetPanGestureEventAccessor, + GetPinchGestureEventAccessor, + GetRotationGestureEventAccessor, + GetSwipeGestureEventAccessor, + GetGestureEventAccessor, GetPanGestureOptionsAccessor, GetScrollableTargetInfoAccessor, GetEventTargetInfoAccessor, @@ -15836,6 +17464,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetLayoutManagerAccessor, GetTextMenuItemIdAccessor, GetEditMenuOptionsAccessor, + GetSubmitEventAccessor, GetTextInputControllerAccessor, GetTextPickerDialogAccessor, GetTextTimerControllerAccessor, @@ -15870,6 +17499,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetMutableStyledStringAccessor, GetCustomSpanAccessor, GetLinearIndicatorControllerAccessor, + GetGlobalScope_inspectorAccessor, }; return &accessorsImpl; } diff --git a/arkoala/framework/src/generated/ArkUINativeModule.ts b/arkoala/framework/src/generated/ArkUINativeModule.ts index 42aa1c2ea..fc022766a 100644 --- a/arkoala/framework/src/generated/ArkUINativeModule.ts +++ b/arkoala/framework/src/generated/ArkUINativeModule.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/framework/src/generated/ArkUINativeModuleEmpty.ts b/arkoala/framework/src/generated/ArkUINativeModuleEmpty.ts index 91caf8cdc..af26751a6 100644 --- a/arkoala/framework/src/generated/ArkUINativeModuleEmpty.ts +++ b/arkoala/framework/src/generated/ArkUINativeModuleEmpty.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 diff --git a/arkoala/framework/src/generated/EnumsImpl.ts b/arkoala/framework/src/generated/EnumsImpl.ts index 8bc2f8e53..af552fa8f 100644 --- a/arkoala/framework/src/generated/EnumsImpl.ts +++ b/arkoala/framework/src/generated/EnumsImpl.ts @@ -1,6 +1,6 @@ import { int32 } from "@koalaui/common" export enum PointerStyle { - DEFAULT = 0, + DEFAULT, EAST = 1, WEST = 2, SOUTH = 3, @@ -43,178 +43,178 @@ export enum PointerStyle { CURSOR_CROSS = 40, CURSOR_CIRCLE = 41, LOADING = 42, - RUNNING = 43 + RUNNING = 43, } export enum RectWidthStyle { - TIGHT = 0, - MAX = 1 + TIGHT, + MAX = 1, } export enum RectHeightStyle { - TIGHT = 0, + TIGHT, MAX = 1, INCLUDE_LINE_SPACE_MIDDLE = 2, INCLUDE_LINE_SPACE_TOP = 3, INCLUDE_LINE_SPACE_BOTTOM = 4, - STRUT = 5 + STRUT = 5, } export enum LengthUnit { - PX = 0, + PX, VP = 1, FP = 2, PERCENT = 3, - LPX = 4 + LPX = 4, } export enum DialogAlignment { - TOP = 0, - Top = 0, + TOP, + Top = TOP, CENTER = 1, - Center = 1, + Center = CENTER, BOTTOM = 2, - Bottom = 2, + Bottom = BOTTOM, DEFAULT = 3, - Default = 3, + Default = DEFAULT, TOP_START = 4, - TopStart = 4, + TopStart = TOP_START, TOP_END = 5, - TopEnd = 5, + TopEnd = TOP_END, CENTER_START = 6, - CenterStart = 6, + CenterStart = CENTER_START, CENTER_END = 7, - CenterEnd = 7, + CenterEnd = CENTER_END, BOTTOM_START = 8, - BottomStart = 8, + BottomStart = BOTTOM_START, BOTTOM_END = 9, - BottomEnd = 9 + BottomEnd = BOTTOM_END, } export enum DialogButtonDirection { - AUTO = 0, + AUTO, HORIZONTAL = 1, - VERTICAL = 2 + VERTICAL = 2, } export enum IndexerAlign { - LEFT = 0, - Left = 0, + LEFT, + Left = LEFT, RIGHT = 1, - Right = 1, + Right = RIGHT, START = 2, - END = 3 + END = 3, } export enum BadgePosition { - RIGHT_TOP = 0, - RightTop = 0, + RIGHT_TOP, + RightTop = RIGHT_TOP, RIGHT = 1, - Right = 1, + Right = RIGHT, LEFT = 2, - Left = 2 + Left = LEFT, } export enum ButtonType { - CAPSULE = 0, - Capsule = 0, + CAPSULE, + Capsule = CAPSULE, CIRCLE = 1, - Circle = 1, + Circle = CIRCLE, NORMAL = 2, - Normal = 2, - ROUNDED_RECTANGLE = 3 + Normal = NORMAL, + ROUNDED_RECTANGLE = 3, } export enum ButtonStyleMode { - NORMAL = 0, + NORMAL, EMPHASIZED = 1, - TEXTUAL = 2 + TEXTUAL = 2, } export enum ButtonRole { - NORMAL = 0, - ERROR = 1 + NORMAL, + ERROR = 1, } export enum ControlSize { SMALL = "small", - NORMAL = "normal" + NORMAL = "normal", } export enum CalendarAlign { - START = 0, + START, CENTER = 1, - END = 2 + END = 2, } export enum SelectStatus { - ALL = 0, - All = 0, + ALL, + All = ALL, PART = 1, - Part = 1, + Part = PART, NONE = 2, - None = 2 + None = NONE, } export enum FinishCallbackType { - REMOVED = 0, - LOGICALLY = 1 + REMOVED, + LOGICALLY = 1, } export enum TouchTestStrategy { - DEFAULT = 0, + DEFAULT, FORWARD_COMPETITION = 1, - FORWARD = 2 + FORWARD = 2, } export enum TransitionHierarchyStrategy { - NONE = 0, - ADAPTIVE = 1 + NONE, + ADAPTIVE = 1, } export enum ChainStyle { - SPREAD = 0, + SPREAD, SPREAD_INSIDE = 1, - PACKED = 2 + PACKED = 2, } export enum TransitionEdge { - TOP = 0, + TOP, BOTTOM = 1, START = 2, - END = 3 + END = 3, } export enum EffectType { - DEFAULT = 0, - WINDOW_EFFECT = 1 + DEFAULT, + WINDOW_EFFECT = 1, } export enum PreDragStatus { - ACTION_DETECTING_STATUS = 0, + ACTION_DETECTING_STATUS, READY_TO_TRIGGER_DRAG_ACTION = 1, PREVIEW_LIFT_STARTED = 2, PREVIEW_LIFT_FINISHED = 3, PREVIEW_LANDING_STARTED = 4, PREVIEW_LANDING_FINISHED = 5, - ACTION_CANCELED_BEFORE_DRAG = 6 + ACTION_CANCELED_BEFORE_DRAG = 6, } export enum SourceType { - UNKNOWN = 0, - Unknown = 0, + UNKNOWN, + Unknown = UNKNOWN, MOUSE = 1, - Mouse = 1, + Mouse = MOUSE, TOUCH_SCREEN = 2, - TouchScreen = 2 + TouchScreen = TOUCH_SCREEN, } export enum SourceTool { - UNKNOWN = 0, - Unknown = 0, + UNKNOWN, + Unknown = UNKNOWN, FINGER = 1, - Finger = 1, + Finger = FINGER, PEN = 2, - Pen = 2, + Pen = PEN, MOUSE = 3, TOUCHPAD = 4, - JOYSTICK = 5 + JOYSTICK = 5, } export enum RepeatMode { - REPEAT = 0, - Repeat = 0, + REPEAT, + Repeat = REPEAT, STRETCH = 1, - Stretch = 1, + Stretch = STRETCH, ROUND = 2, - Round = 2, + Round = ROUND, SPACE = 3, - Space = 3 + Space = SPACE, } export enum BlurStyle { - THIN = 0, - Thin = 0, + THIN, + Thin = THIN, REGULAR = 1, - Regular = 1, + Regular = REGULAR, THICK = 2, - Thick = 2, + Thick = THICK, BACKGROUND_THIN = 3, BACKGROUND_REGULAR = 4, BACKGROUND_THICK = 5, @@ -224,75 +224,75 @@ export enum BlurStyle { COMPONENT_THIN = 9, COMPONENT_REGULAR = 10, COMPONENT_THICK = 11, - COMPONENT_ULTRA_THICK = 12 + COMPONENT_ULTRA_THICK = 12, } export enum BlurStyleActivePolicy { - FOLLOWS_WINDOW_ACTIVE_STATE = 0, + FOLLOWS_WINDOW_ACTIVE_STATE, ALWAYS_ACTIVE = 1, - ALWAYS_INACTIVE = 2 + ALWAYS_INACTIVE = 2, } export enum ThemeColorMode { - SYSTEM = 0, + SYSTEM, LIGHT = 1, - DARK = 2 + DARK = 2, } export enum AdaptiveColor { - DEFAULT = 0, - AVERAGE = 1 + DEFAULT, + AVERAGE = 1, } export enum ModalTransition { - DEFAULT = 0, + DEFAULT, NONE = 1, - ALPHA = 2 + ALPHA = 2, } export enum ShadowType { - COLOR = 0, - BLUR = 1 + COLOR, + BLUR = 1, } export enum ShadowStyle { - OUTER_DEFAULT_XS = 0, + OUTER_DEFAULT_XS, OUTER_DEFAULT_SM = 1, OUTER_DEFAULT_MD = 2, OUTER_DEFAULT_LG = 3, OUTER_FLOATING_SM = 4, - OUTER_FLOATING_MD = 5 + OUTER_FLOATING_MD = 5, } export enum SafeAreaType { - SYSTEM = 0, + SYSTEM, CUTOUT = 1, - KEYBOARD = 2 + KEYBOARD = 2, } export enum SafeAreaEdge { - TOP = 0, + TOP, BOTTOM = 1, START = 2, - END = 3 + END = 3, } export enum LayoutSafeAreaType { - SYSTEM = 0 + SYSTEM, } export enum LayoutSafeAreaEdge { - TOP = 0, - BOTTOM = 1 + TOP, + BOTTOM = 1, } export enum SheetSize { - MEDIUM = 0, + MEDIUM, LARGE = 1, - FIT_CONTENT = 2 + FIT_CONTENT = 2, } export enum DragBehavior { - COPY = 0, - MOVE = 1 + COPY, + MOVE = 1, } export enum DragResult { - DRAG_SUCCESSFUL = 0, + DRAG_SUCCESSFUL, DRAG_FAILED = 1, DRAG_CANCELED = 2, DROP_ENABLED = 3, - DROP_DISABLED = 4 + DROP_DISABLED = 4, } export enum BlendMode { - NONE = 0, + NONE, CLEAR = 1, SRC = 2, DST = 3, @@ -321,128 +321,128 @@ export enum BlendMode { HUE = 26, SATURATION = 27, COLOR = 28, - LUMINOSITY = 29 + LUMINOSITY = 29, } export enum BlendApplyType { - FAST = 0, - OFFSCREEN = 1 + FAST, + OFFSCREEN = 1, } export enum SheetType { - BOTTOM = 0, + BOTTOM, CENTER = 1, - POPUP = 2 + POPUP = 2, } export enum SheetMode { - OVERLAY = 0, - EMBEDDED = 1 + OVERLAY, + EMBEDDED = 1, } export enum ScrollSizeMode { - FOLLOW_DETENT = 0, - CONTINUOUS = 1 + FOLLOW_DETENT, + CONTINUOUS = 1, } export enum SheetKeyboardAvoidMode { - NONE = 0, + NONE, TRANSLATE_AND_RESIZE = 1, RESIZE_ONLY = 2, - TRANSLATE_AND_SCROLL = 3 + TRANSLATE_AND_SCROLL = 3, } export enum DismissReason { - PRESS_BACK = 0, + PRESS_BACK, TOUCH_OUTSIDE = 1, CLOSE_BUTTON = 2, - SLIDE_DOWN = 3 + SLIDE_DOWN = 3, } export enum MenuPreviewMode { - NONE = 0, - IMAGE = 1 + NONE, + IMAGE = 1, } export enum OutlineStyle { - SOLID = 0, + SOLID, DASHED = 1, - DOTTED = 2 + DOTTED = 2, } export enum DragPreviewMode { AUTO = 1, DISABLE_SCALE = 2, ENABLE_DEFAULT_SHADOW = 3, - ENABLE_DEFAULT_RADIUS = 4 + ENABLE_DEFAULT_RADIUS = 4, } export enum MenuPolicy { - DEFAULT = 0, + DEFAULT, HIDE = 1, - SHOW = 2 + SHOW = 2, } export enum ContentClipMode { - CONTENT_ONLY = 0, + CONTENT_ONLY, BOUNDARY = 1, - SAFE_AREA = 2 + SAFE_AREA = 2, } export enum KeyboardAvoidMode { - DEFAULT = 0, - NONE = 1 + DEFAULT, + NONE = 1, } export enum HoverModeAreaType { - TOP_SCREEN = 0, - BOTTOM_SCREEN = 1 + TOP_SCREEN, + BOTTOM_SCREEN = 1, } export enum ModelType { - TEXTURE = 0, - SURFACE = 1 + TEXTURE, + SURFACE = 1, } export enum DataPanelType { - LINE = 0, - Line = 0, + LINE, + Line = LINE, CIRCLE = 1, - Circle = 1 + Circle = CIRCLE, } export enum CheckBoxShape { - CIRCLE = 0, - ROUNDED_SQUARE = 1 + CIRCLE, + ROUNDED_SQUARE = 1, } export enum Color { - WHITE = 0, - White = 0, + WHITE, + White = WHITE, BLACK = 1, - Black = 1, + Black = BLACK, BLUE = 2, - Blue = 2, + Blue = BLUE, BROWN = 3, - Brown = 3, + Brown = BROWN, GRAY = 4, - Gray = 4, + Gray = GRAY, GREEN = 5, - Green = 5, + Green = GREEN, GREY = 6, - Grey = 6, + Grey = GREY, ORANGE = 7, - Orange = 7, + Orange = ORANGE, PINK = 8, - Pink = 8, + Pink = PINK, RED = 9, - Red = 9, + Red = RED, YELLOW = 10, - Yellow = 10, + Yellow = YELLOW, TRANSPARENT = 11, - Transparent = 11 + Transparent = TRANSPARENT, } export enum ColoringStrategy { INVERT = "invert", AVERAGE = "average", - PRIMARY = "primary" + PRIMARY = "primary", } export enum ImageFit { - CONTAIN = 0, - Contain = 0, + CONTAIN, + Contain = CONTAIN, COVER = 1, - Cover = 1, + Cover = COVER, AUTO = 2, - Auto = 2, + Auto = AUTO, FILL = 3, - Fill = 3, + Fill = FILL, SCALE_DOWN = 4, - ScaleDown = 4, + ScaleDown = SCALE_DOWN, NONE = 5, - None = 5, + None = NONE, TOP_START = 7, TOP = 8, TOP_END = 9, @@ -451,487 +451,487 @@ export enum ImageFit { END = 12, BOTTOM_START = 13, BOTTOM = 14, - BOTTOM_END = 15 + BOTTOM_END = 15, } export enum BorderStyle { - DOTTED = 0, - Dotted = 0, + DOTTED, + Dotted = DOTTED, DASHED = 1, - Dashed = 1, + Dashed = DASHED, SOLID = 2, - Solid = 2 + Solid = SOLID, } export enum LineJoinStyle { - MITER = 0, - Miter = 0, + MITER, + Miter = MITER, ROUND = 1, - Round = 1, + Round = ROUND, BEVEL = 2, - Bevel = 2 + Bevel = BEVEL, } export enum TouchType { - DOWN = 0, - Down = 0, + DOWN, + Down = DOWN, UP = 1, - Up = 1, + Up = UP, MOVE = 2, - Move = 2, + Move = MOVE, CANCEL = 3, - Cancel = 3 + Cancel = CANCEL, } export enum MouseButton { - LEFT = 0, - Left = 0, + LEFT, + Left = LEFT, RIGHT = 1, - Right = 1, + Right = RIGHT, MIDDLE = 2, - Middle = 2, + Middle = MIDDLE, BACK = 3, - Back = 3, + Back = BACK, FORWARD = 4, - Forward = 4, + Forward = FORWARD, NONE = 5, - None = 5 + None = NONE, } export enum MouseAction { - PRESS = 0, - Press = 0, + PRESS, + Press = PRESS, RELEASE = 1, - Release = 1, + Release = RELEASE, MOVE = 2, - Move = 2, + Move = MOVE, HOVER = 3, - Hover = 3 + Hover = HOVER, } export enum AnimationStatus { - INITIAL = 0, - Initial = 0, + INITIAL, + Initial = INITIAL, RUNNING = 1, - Running = 1, + Running = RUNNING, PAUSED = 2, - Paused = 2, + Paused = PAUSED, STOPPED = 3, - Stopped = 3 + Stopped = STOPPED, } export enum Curve { - LINEAR = 0, - Linear = 0, + LINEAR, + Linear = LINEAR, EASE = 1, - Ease = 1, + Ease = EASE, EASE_IN = 2, - EaseIn = 2, + EaseIn = EASE_IN, EASE_OUT = 3, - EaseOut = 3, + EaseOut = EASE_OUT, EASE_IN_OUT = 4, - EaseInOut = 4, + EaseInOut = EASE_IN_OUT, FAST_OUT_SLOW_IN = 5, - FastOutSlowIn = 5, + FastOutSlowIn = FAST_OUT_SLOW_IN, LINEAR_OUT_SLOW_IN = 6, - LinearOutSlowIn = 6, + LinearOutSlowIn = LINEAR_OUT_SLOW_IN, FAST_OUT_LINEAR_IN = 7, - FastOutLinearIn = 7, + FastOutLinearIn = FAST_OUT_LINEAR_IN, EXTREME_DECELERATION = 8, - ExtremeDeceleration = 8, + ExtremeDeceleration = EXTREME_DECELERATION, SHARP = 9, - Sharp = 9, + Sharp = SHARP, RHYTHM = 10, - Rhythm = 10, + Rhythm = RHYTHM, SMOOTH = 11, - Smooth = 11, + Smooth = SMOOTH, FRICTION = 12, - Friction = 12 + Friction = FRICTION, } export enum FillMode { - NONE = 0, - None = 0, + NONE, + None = NONE, FORWARDS = 1, - Forwards = 1, + Forwards = FORWARDS, BACKWARDS = 2, - Backwards = 2, + Backwards = BACKWARDS, BOTH = 3, - Both = 3 + Both = BOTH, } export enum PlayMode { - NORMAL = 0, - Normal = 0, + NORMAL, + Normal = NORMAL, REVERSE = 1, - Reverse = 1, + Reverse = REVERSE, ALTERNATE = 2, - Alternate = 2, + Alternate = ALTERNATE, ALTERNATE_REVERSE = 3, - AlternateReverse = 3 + AlternateReverse = ALTERNATE_REVERSE, } export enum KeyType { - DOWN = 0, - Down = 0, + DOWN, + Down = DOWN, UP = 1, - Up = 1 + Up = UP, } export enum KeySource { - UNKNOWN = 0, - Unknown = 0, + UNKNOWN, + Unknown = UNKNOWN, KEYBOARD = 1, - Keyboard = 1 + Keyboard = KEYBOARD, } export enum Edge { - TOP = 0, - Top = 0, + TOP, + Top = TOP, CENTER = 1, - Center = 1, + Center = CENTER, BOTTOM = 2, - Bottom = 2, + Bottom = BOTTOM, BASELINE = 3, - Baseline = 3, + Baseline = BASELINE, START = 4, - Start = 4, + Start = START, MIDDLE = 5, - Middle = 5, + Middle = MIDDLE, END = 6, - End = 6 + End = END, } export enum Week { - MON = 0, - Mon = 0, + MON, + Mon = MON, TUE = 1, - Tue = 1, + Tue = TUE, WED = 2, - Wed = 2, + Wed = WED, THUR = 3, - Thur = 3, + Thur = THUR, FRI = 4, - Fri = 4, + Fri = FRI, SAT = 5, - Sat = 5, + Sat = SAT, SUN = 6, - Sun = 6 + Sun = SUN, } export enum Direction { - LTR = 0, - Ltr = 0, + LTR, + Ltr = LTR, RTL = 1, - Rtl = 1, + Rtl = RTL, AUTO = 2, - Auto = 2 + Auto = AUTO, } export enum BarState { - OFF = 0, - Off = 0, + OFF, + Off = OFF, AUTO = 1, - Auto = 1, + Auto = AUTO, ON = 2, - On = 2 + On = ON, } export enum EdgeEffect { - SPRING = 0, - Spring = 0, + SPRING, + Spring = SPRING, FADE = 1, - Fade = 1, + Fade = FADE, NONE = 2, - None = 2 + None = NONE, } export enum Alignment { - TOP_START = 0, - TopStart = 0, + TOP_START, + TopStart = TOP_START, TOP = 1, - Top = 1, + Top = TOP, TOP_END = 2, - TopEnd = 2, + TopEnd = TOP_END, START = 3, - Start = 3, + Start = START, CENTER = 4, - Center = 4, + Center = CENTER, END = 5, - End = 5, + End = END, BOTTOM_START = 6, - BottomStart = 6, + BottomStart = BOTTOM_START, BOTTOM = 7, - Bottom = 7, + Bottom = BOTTOM, BOTTOM_END = 8, - BottomEnd = 8 + BottomEnd = BOTTOM_END, } export enum TransitionType { - ALL = 0, - All = 0, + ALL, + All = ALL, INSERT = 1, - Insert = 1, + Insert = INSERT, DELETE = 2, - Delete = 2 + Delete = DELETE, } export enum RelateType { - FILL = 0, - FIT = 1 + FILL, + FIT = 1, } export enum Visibility { - VISIBLE = 0, - Visible = 0, + VISIBLE, + Visible = VISIBLE, HIDDEN = 1, - Hidden = 1, + Hidden = HIDDEN, NONE = 2, - None = 2 + None = NONE, } export enum LineCapStyle { - BUTT = 0, - Butt = 0, + BUTT, + Butt = BUTT, ROUND = 1, - Round = 1, + Round = ROUND, SQUARE = 2, - Square = 2 + Square = SQUARE, } export enum Axis { - VERTICAL = 0, - Vertical = 0, + VERTICAL, + Vertical = VERTICAL, HORIZONTAL = 1, - Horizontal = 1 + Horizontal = HORIZONTAL, } export enum HorizontalAlign { - START = 0, - Start = 0, + START, + Start = START, CENTER = 1, - Center = 1, + Center = CENTER, END = 2, - End = 2 + End = END, } export enum FlexAlign { - START = 0, - Start = 0, + START, + Start = START, CENTER = 1, - Center = 1, + Center = CENTER, END = 2, - End = 2, + End = END, SPACE_BETWEEN = 3, - SpaceBetween = 3, + SpaceBetween = SPACE_BETWEEN, SPACE_AROUND = 4, - SpaceAround = 4, + SpaceAround = SPACE_AROUND, SPACE_EVENLY = 5, - SpaceEvenly = 5 + SpaceEvenly = SPACE_EVENLY, } export enum ItemAlign { - AUTO = 0, - Auto = 0, + AUTO, + Auto = AUTO, START = 1, - Start = 1, + Start = START, CENTER = 2, - Center = 2, + Center = CENTER, END = 3, - End = 3, + End = END, BASELINE = 4, - Baseline = 4, + Baseline = BASELINE, STRETCH = 5, - Stretch = 5 + Stretch = STRETCH, } export enum FlexDirection { - ROW = 0, - Row = 0, + ROW, + Row = ROW, COLUMN = 1, - Column = 1, + Column = COLUMN, ROW_REVERSE = 2, - RowReverse = 2, + RowReverse = ROW_REVERSE, COLUMN_REVERSE = 3, - ColumnReverse = 3 + ColumnReverse = COLUMN_REVERSE, } export enum PixelRoundCalcPolicy { - NO_FORCE_ROUND = 0, + NO_FORCE_ROUND, FORCE_CEIL = 1, - FORCE_FLOOR = 2 + FORCE_FLOOR = 2, } export enum FlexWrap { - NO_WRAP = 0, - NoWrap = 0, + NO_WRAP, + NoWrap = NO_WRAP, WRAP = 1, - Wrap = 1, + Wrap = WRAP, WRAP_REVERSE = 2, - WrapReverse = 2 + WrapReverse = WRAP_REVERSE, } export enum VerticalAlign { - TOP = 0, - Top = 0, + TOP, + Top = TOP, CENTER = 1, - Center = 1, + Center = CENTER, BOTTOM = 2, - Bottom = 2 + Bottom = BOTTOM, } export enum ImageRepeat { - NO_REPEAT = 0, - NoRepeat = 0, + NO_REPEAT, + NoRepeat = NO_REPEAT, X = 1, Y = 2, - XY = 3 + XY = 3, } export enum ImageSize { - AUTO = 0, - Auto = 0, + AUTO, + Auto = AUTO, COVER = 1, - Cover = 1, + Cover = COVER, CONTAIN = 2, - Contain = 2, - FILL = 3 + Contain = CONTAIN, + FILL = 3, } export enum GradientDirection { - LEFT = 0, - Left = 0, + LEFT, + Left = LEFT, TOP = 1, - Top = 1, + Top = TOP, RIGHT = 2, - Right = 2, + Right = RIGHT, BOTTOM = 3, - Bottom = 3, + Bottom = BOTTOM, LEFT_TOP = 4, - LeftTop = 4, + LeftTop = LEFT_TOP, LEFT_BOTTOM = 5, - LeftBottom = 5, + LeftBottom = LEFT_BOTTOM, RIGHT_TOP = 6, - RightTop = 6, + RightTop = RIGHT_TOP, RIGHT_BOTTOM = 7, - RightBottom = 7, + RightBottom = RIGHT_BOTTOM, NONE = 8, - None = 8 + None = NONE, } export enum SharedTransitionEffectType { - STATIC = 0, - Static = 0, + STATIC, + Static = STATIC, EXCHANGE = 1, - Exchange = 1 + Exchange = EXCHANGE, } export enum FontStyle { - NORMAL = 0, - Normal = 0, + NORMAL, + Normal = NORMAL, ITALIC = 1, - Italic = 1 + Italic = ITALIC, } export enum FontWeight { - LIGHTER = 0, - Lighter = 0, + LIGHTER, + Lighter = LIGHTER, NORMAL = 1, - Normal = 1, + Normal = NORMAL, REGULAR = 2, - Regular = 2, + Regular = REGULAR, MEDIUM = 3, - Medium = 3, + Medium = MEDIUM, BOLD = 4, - Bold = 4, + Bold = BOLD, BOLDER = 5, - Bolder = 5 + Bolder = BOLDER, } export enum TextAlign { - CENTER = 0, - Center = 0, + CENTER, + Center = CENTER, START = 1, - Start = 1, + Start = START, END = 2, - End = 2, - JUSTIFY = 3 + End = END, + JUSTIFY = 3, } export enum TextOverflow { - NONE = 0, - None = 0, + NONE, + None = NONE, CLIP = 1, - Clip = 1, + Clip = CLIP, ELLIPSIS = 2, - Ellipsis = 2, - MARQUEE = 3 + Ellipsis = ELLIPSIS, + MARQUEE = 3, } export enum TextDecorationType { - NONE = 0, - None = 0, + NONE, + None = NONE, UNDERLINE = 1, - Underline = 1, + Underline = UNDERLINE, OVERLINE = 2, - Overline = 2, + Overline = OVERLINE, LINE_THROUGH = 3, - LineThrough = 3 + LineThrough = LINE_THROUGH, } export enum TextCase { - NORMAL = 0, - Normal = 0, + NORMAL, + Normal = NORMAL, LOWER_CASE = 1, - LowerCase = 1, + LowerCase = LOWER_CASE, UPPER_CASE = 2, - UpperCase = 2 + UpperCase = UPPER_CASE, } export enum TextHeightAdaptivePolicy { - MAX_LINES_FIRST = 0, + MAX_LINES_FIRST, MIN_FONT_SIZE_FIRST = 1, - LAYOUT_CONSTRAINT_FIRST = 2 + LAYOUT_CONSTRAINT_FIRST = 2, } export enum ResponseType { - RIGHT_CLICK = 0, - RightClick = 0, + RIGHT_CLICK, + RightClick = RIGHT_CLICK, LONG_PRESS = 1, - LongPress = 1 + LongPress = LONG_PRESS, } export enum HoverEffect { - AUTO = 0, - Auto = 0, + AUTO, + Auto = AUTO, SCALE = 1, - Scale = 1, + Scale = SCALE, HIGHLIGHT = 2, - Highlight = 2, + Highlight = HIGHLIGHT, NONE = 3, - None = 3 + None = NONE, } export enum Placement { - LEFT = 0, - Left = 0, + LEFT, + Left = LEFT, RIGHT = 1, - Right = 1, + Right = RIGHT, TOP = 2, - Top = 2, + Top = TOP, BOTTOM = 3, - Bottom = 3, + Bottom = BOTTOM, TOP_LEFT = 4, - TopLeft = 4, + TopLeft = TOP_LEFT, TOP_RIGHT = 5, - TopRight = 5, + TopRight = TOP_RIGHT, BOTTOM_LEFT = 6, - BottomLeft = 6, + BottomLeft = BOTTOM_LEFT, BOTTOM_RIGHT = 7, - BottomRight = 7, + BottomRight = BOTTOM_RIGHT, LEFT_TOP = 8, - LeftTop = 8, + LeftTop = LEFT_TOP, LEFT_BOTTOM = 9, - LeftBottom = 9, + LeftBottom = LEFT_BOTTOM, RIGHT_TOP = 10, - RightTop = 10, + RightTop = RIGHT_TOP, RIGHT_BOTTOM = 11, - RightBottom = 11 + RightBottom = RIGHT_BOTTOM, } export enum ArrowPointPosition { START = "Start", CENTER = "Center", - END = "End" + END = "End", } export enum CopyOptions { - NONE = 0, - None = 0, + NONE, + None = NONE, IN_APP = 1, - InApp = 1, + InApp = IN_APP, LOCAL_DEVICE = 2, - LocalDevice = 2, - CROSS_DEVICE = 3 + LocalDevice = LOCAL_DEVICE, + CROSS_DEVICE = 3, } export enum HitTestMode { - DEFAULT = 0, - Default = 0, + DEFAULT, + Default = DEFAULT, BLOCK = 1, - Block = 1, + Block = BLOCK, TRANSPARENT = 2, - Transparent = 2, + Transparent = TRANSPARENT, NONE = 3, - None = 3 + None = NONE, } export enum TitleHeight { - MAIN_ONLY = 0, - MainOnly = 0, + MAIN_ONLY, + MainOnly = MAIN_ONLY, MAIN_WITH_SUB = 1, - MainWithSub = 1 + MainWithSub = MAIN_WITH_SUB, } export enum ModifierKey { - CTRL = 0, + CTRL, SHIFT = 1, - ALT = 2 + ALT = 2, } export enum FunctionKey { - ESC = 0, + ESC, F1 = 1, F2 = 2, F3 = 3, @@ -948,50 +948,50 @@ export enum FunctionKey { DPAD_UP = 14, DPAD_DOWN = 15, DPAD_LEFT = 16, - DPAD_RIGHT = 17 + DPAD_RIGHT = 17, } export enum ImageSpanAlignment { - BASELINE = 0, + BASELINE, BOTTOM = 1, CENTER = 2, - TOP = 3 + TOP = 3, } export enum ObscuredReasons { - PLACEHOLDER = 0 + PLACEHOLDER, } export enum TextContentStyle { - DEFAULT = 0, - INLINE = 1 + DEFAULT, + INLINE = 1, } export enum ClickEffectLevel { - LIGHT = 0, + LIGHT, MIDDLE = 1, - HEAVY = 2 + HEAVY = 2, } export enum XComponentType { - SURFACE = 0, + SURFACE, COMPONENT = 1, TEXTURE = 2, - NODE = 3 + NODE = 3, } export enum NestedScrollMode { - SELF_ONLY = 0, + SELF_ONLY, SELF_FIRST = 1, PARENT_FIRST = 2, - PARALLEL = 3 + PARALLEL = 3, } export enum ScrollSource { - DRAG = 0, + DRAG, FLING = 1, EDGE_EFFECT = 2, OTHER_USER_INPUT = 3, SCROLL_BAR = 4, SCROLL_BAR_FLING = 5, SCROLLER = 6, - SCROLLER_ANIMATION = 7 + SCROLLER_ANIMATION = 7, } export enum RenderFit { - CENTER = 0, + CENTER, TOP = 1, BOTTOM = 2, LEFT = 3, @@ -1006,249 +1006,251 @@ export enum RenderFit { RESIZE_CONTAIN_BOTTOM_RIGHT = 12, RESIZE_COVER = 13, RESIZE_COVER_TOP_LEFT = 14, - RESIZE_COVER_BOTTOM_RIGHT = 15 + RESIZE_COVER_BOTTOM_RIGHT = 15, } export enum DialogButtonStyle { - DEFAULT = 0, - HIGHLIGHT = 1 + DEFAULT, + HIGHLIGHT = 1, } export enum WordBreak { - NORMAL = 0, + NORMAL, BREAK_ALL = 1, - BREAK_WORD = 2 + BREAK_WORD = 2, } export enum LineBreakStrategy { - GREEDY = 0, + GREEDY, HIGH_QUALITY = 1, - BALANCED = 2 + BALANCED = 2, } export enum EllipsisMode { - START = 0, + START, CENTER = 1, - END = 2 + END = 2, } export enum OptionWidthMode { FIT_CONTENT = "fit_content", - FIT_TRIGGER = "fit_trigger" + FIT_TRIGGER = "fit_trigger", } export enum IlluminatedType { - NONE = 0, + NONE, BORDER = 1, CONTENT = 2, BORDER_CONTENT = 3, BLOOM_BORDER = 4, - BLOOM_BORDER_CONTENT = 5 + BLOOM_BORDER_CONTENT = 5, } export enum FoldStatus { - FOLD_STATUS_UNKNOWN = 0, + FOLD_STATUS_UNKNOWN, FOLD_STATUS_EXPANDED = 1, FOLD_STATUS_FOLDED = 2, - FOLD_STATUS_HALF_FOLDED = 3 + FOLD_STATUS_HALF_FOLDED = 3, } export enum AppRotation { - ROTATION_0 = 0, + ROTATION_0, ROTATION_90 = 1, ROTATION_180 = 2, - ROTATION_270 = 3 + ROTATION_270 = 3, } export enum EmbeddedType { - EMBEDDED_UI_EXTENSION = 0 + EMBEDDED_UI_EXTENSION, } export enum MarqueeUpdateStrategy { - DEFAULT = 0, - PRESERVE_POSITION = 1 + DEFAULT, + PRESERVE_POSITION = 1, } export enum TextDecorationStyle { - SOLID = 0, + SOLID, DOUBLE = 1, DOTTED = 2, DASHED = 3, - WAVY = 4 + WAVY = 4, } export enum TextSelectableMode { - SELECTABLE_UNFOCUSABLE = 0, + SELECTABLE_UNFOCUSABLE, SELECTABLE_FOCUSABLE = 1, - UNSELECTABLE = 2 + UNSELECTABLE = 2, } export enum AccessibilityHoverType { - HOVER_ENTER = 0, + HOVER_ENTER, HOVER_MOVE = 1, HOVER_EXIT = 2, - HOVER_CANCEL = 3 + HOVER_CANCEL = 3, } export enum WidthBreakpoint { - WIDTH_XS = 0, + WIDTH_XS, WIDTH_SM = 1, WIDTH_MD = 2, WIDTH_LG = 3, - WIDTH_XL = 4 + WIDTH_XL = 4, } export enum HeightBreakpoint { - HEIGHT_SM = 0, + HEIGHT_SM, HEIGHT_MD = 1, - HEIGHT_LG = 2 + HEIGHT_LG = 2, } export enum FocusPriority { - AUTO = 0, + AUTO, PRIOR = 2000, - PREVIOUS = 3000 + PREVIOUS = 3000, } export enum FormDimension { - DIMENSION_1_2 = 0, - Dimension_1_2 = 0, + DIMENSION_1_2, + Dimension_1_2 = DIMENSION_1_2, DIMENSION_2_2 = 1, - Dimension_2_2 = 1, + Dimension_2_2 = DIMENSION_2_2, DIMENSION_2_4 = 2, - Dimension_2_4 = 2, + Dimension_2_4 = DIMENSION_2_4, DIMENSION_4_4 = 3, - Dimension_4_4 = 3, + Dimension_4_4 = DIMENSION_4_4, DIMENSION_2_1 = 4, - Dimension_2_1 = 4, + Dimension_2_1 = DIMENSION_2_1, DIMENSION_1_1 = 6, - DIMENSION_6_4 = 7 + DIMENSION_6_4 = 7, } export enum FormRenderingMode { - FULL_COLOR = 0, - SINGLE_COLOR = 1 + FULL_COLOR, + SINGLE_COLOR = 1, } export enum FormShape { RECT = 1, - CIRCLE = 2 + CIRCLE = 2, } export enum PanDirection { - NONE = 0, - None = 0, + NONE, + None = NONE, HORIZONTAL = 1, - Horizontal = 1, + Horizontal = HORIZONTAL, LEFT = 2, - Left = 2, + Left = LEFT, RIGHT = 3, - Right = 3, + Right = RIGHT, VERTICAL = 4, - Vertical = 4, + Vertical = VERTICAL, UP = 5, - Up = 5, + Up = UP, DOWN = 6, - Down = 6, + Down = DOWN, ALL = 7, - All = 7 + All = ALL, } export enum SwipeDirection { - NONE = 0, - None = 0, + NONE, + None = NONE, HORIZONTAL = 1, - Horizontal = 1, + Horizontal = HORIZONTAL, VERTICAL = 2, - Vertical = 2, + Vertical = VERTICAL, ALL = 3, - All = 3 + All = ALL, } export enum GestureMode { - SEQUENCE = 0, - Sequence = 0, + SEQUENCE, + Sequence = SEQUENCE, PARALLEL = 1, - Parallel = 1, + Parallel = PARALLEL, EXCLUSIVE = 2, - Exclusive = 2 + Exclusive = EXCLUSIVE, } export enum GestureMask { - NORMAL = 0, - Normal = 0, + NORMAL, + Normal = NORMAL, IGNORE_INTERNAL = 1, - IgnoreInternal = 1 + IgnoreInternal = IGNORE_INTERNAL, } export enum GestureJudgeResult { - CONTINUE = 0, - REJECT = 1 -} -export enum GestureControl_GestureType { - TAP_GESTURE = 0, - LONG_PRESS_GESTURE = 1, - PAN_GESTURE = 2, - PINCH_GESTURE = 3, - SWIPE_GESTURE = 4, - ROTATION_GESTURE = 5, - DRAG = 6, - CLICK = 7 + CONTINUE, + REJECT = 1, +} +export namespace GestureControl { + export enum GestureType { + TAP_GESTURE, + LONG_PRESS_GESTURE = 1, + PAN_GESTURE = 2, + PINCH_GESTURE = 3, + SWIPE_GESTURE = 4, + ROTATION_GESTURE = 5, + DRAG = 6, + CLICK = 7, + } } export enum GesturePriority { - NORMAL = 0, - PRIORITY = 1 + NORMAL, + PRIORITY = 1, } export enum GestureRecognizerState { - READY = 0, + READY, DETECTING = 1, PENDING = 2, BLOCKED = 3, SUCCESSFUL = 4, - FAILED = 5 + FAILED = 5, } export enum GridDirection { - ROW = 0, - Row = 0, + ROW, + Row = ROW, COLUMN = 1, - Column = 1, + Column = COLUMN, ROW_REVERSE = 2, - RowReverse = 2, + RowReverse = ROW_REVERSE, COLUMN_REVERSE = 3, - ColumnReverse = 3 + ColumnReverse = COLUMN_REVERSE, } export enum GridItemAlignment { - DEFAULT = 0, - STRETCH = 1 + DEFAULT, + STRETCH = 1, } export enum GridItemStyle { - NONE = 0, - PLAIN = 1 + NONE, + PLAIN = 1, } export enum SizeType { - AUTO = 0, - Auto = 0, + AUTO, + Auto = AUTO, XS = 1, SM = 2, MD = 3, - LG = 4 + LG = 4, } export enum BreakpointsReference { - WINDOW_SIZE = 0, - WindowSize = 0, + WINDOW_SIZE, + WindowSize = WINDOW_SIZE, COMPONENT_SIZE = 1, - ComponentSize = 1 + ComponentSize = COMPONENT_SIZE, } export enum GridRowDirection { - ROW = 0, - Row = 0, + ROW, + Row = ROW, ROW_REVERSE = 1, - RowReverse = 1 + RowReverse = ROW_REVERSE, } export enum ImageRenderMode { - ORIGINAL = 0, - Original = 0, + ORIGINAL, + Original = ORIGINAL, TEMPLATE = 1, - Template = 1 + Template = TEMPLATE, } export enum ImageContent { - EMPTY = 0 + EMPTY, } export enum DynamicRangeMode { - HIGH = 0, + HIGH, CONSTRAINT = 1, - STANDARD = 2 + STANDARD = 2, } export enum ImageInterpolation { - NONE = 0, - None = 0, + NONE, + None = NONE, LOW = 1, - Low = 1, + Low = LOW, MEDIUM = 2, - Medium = 2, + Medium = MEDIUM, HIGH = 3, - High = 3 + High = HIGH, } export enum ImageAnalyzerType { - SUBJECT = 0, + SUBJECT, TEXT = 1, - OBJECT_LOOKUP = 2 + OBJECT_LOOKUP = 2, } export enum DataOperationType { ADD = "add", @@ -1256,97 +1258,97 @@ export enum DataOperationType { EXCHANGE = "exchange", MOVE = "move", CHANGE = "change", - RELOAD = "reload" + RELOAD = "reload", } export enum ScrollState { - IDLE = 0, - Idle = 0, + IDLE, + Idle = IDLE, SCROLL = 1, - Scroll = 1, + Scroll = SCROLL, FLING = 2, - Fling = 2 + Fling = FLING, } export enum ListItemAlign { - START = 0, - Start = 0, + START, + Start = START, CENTER = 1, - Center = 1, + Center = CENTER, END = 2, - End = 2 + End = END, } export enum ListItemGroupArea { - NONE = 0, + NONE, IN_LIST_ITEM_AREA = 1, IN_HEADER_AREA = 2, - IN_FOOTER_AREA = 3 + IN_FOOTER_AREA = 3, } export enum StickyStyle { - NONE = 0, - None = 0, + NONE, + None = NONE, HEADER = 1, - Header = 1, + Header = HEADER, FOOTER = 2, - Footer = 2 + Footer = FOOTER, } export enum ChainEdgeEffect { - DEFAULT = 0, - STRETCH = 1 + DEFAULT, + STRETCH = 1, } export enum ScrollSnapAlign { - NONE = 0, + NONE, START = 1, CENTER = 2, - END = 3 + END = 3, } export enum Sticky { - NONE = 0, - None = 0, + NONE, + None = NONE, NORMAL = 1, - Normal = 1, + Normal = NORMAL, OPACITY = 2, - Opacity = 2 + Opacity = OPACITY, } export enum EditMode { - NONE = 0, - None = 0, + NONE, + None = NONE, DELETABLE = 1, - Deletable = 1, + Deletable = DELETABLE, MOVABLE = 2, - Movable = 2 + Movable = MOVABLE, } export enum SwipeEdgeEffect { - SPRING = 0, - Spring = 0, + SPRING, + Spring = SPRING, NONE = 1, - None = 1 + None = NONE, } export enum SwipeActionState { - COLLAPSED = 0, + COLLAPSED, EXPANDED = 1, - ACTIONING = 2 + ACTIONING = 2, } export enum ListItemStyle { - NONE = 0, - CARD = 1 + NONE, + CARD = 1, } export enum ListItemGroupStyle { - NONE = 0, - CARD = 1 + NONE, + CARD = 1, } export enum LoadingProgressStyle { - DEFAULT = 0, - Default = 0, + DEFAULT, + Default = DEFAULT, CIRCULAR = 1, - Circular = 1, + Circular = CIRCULAR, ORBITAL = 2, - Orbital = 2 + Orbital = ORBITAL, } export enum LocationIconStyle { - FULL_FILLED = 0, - LINES = 1 + FULL_FILLED, + LINES = 1, } export enum LocationDescription { - CURRENT_LOCATION = 0, + CURRENT_LOCATION, ADD_LOCATION = 1, SELECT_LOCATION = 2, SHARE_LOCATION = 3, @@ -1356,239 +1358,239 @@ export enum LocationDescription { SEND_CURRENT_LOCATION = 7, RELOCATION = 8, PUNCH_IN = 9, - CURRENT_POSITION = 10 + CURRENT_POSITION = 10, } export enum LocationButtonOnClickResult { - SUCCESS = 0, - TEMPORARY_AUTHORIZATION_FAILED = 1 + SUCCESS, + TEMPORARY_AUTHORIZATION_FAILED = 1, } export enum SubMenuExpandingMode { - SIDE_EXPAND = 0, + SIDE_EXPAND, EMBEDDED_EXPAND = 1, - STACK_EXPAND = 2 + STACK_EXPAND = 2, } export enum NavigationSystemTransitionType { - DEFAULT = 0, + DEFAULT, NONE = 1, TITLE = 2, - CONTENT = 3 + CONTENT = 3, } export enum NavDestinationMode { - STANDARD = 0, - DIALOG = 1 + STANDARD, + DIALOG = 1, } export enum NavRouteMode { - PUSH_WITH_RECREATE = 0, + PUSH_WITH_RECREATE, PUSH = 1, - REPLACE = 2 + REPLACE = 2, } export enum NavigationMode { - STACK = 0, - Stack = 0, + STACK, + Stack = STACK, SPLIT = 1, - Split = 1, + Split = SPLIT, AUTO = 2, - Auto = 2 + Auto = AUTO, } export enum NavBarPosition { - START = 0, - Start = 0, + START, + Start = START, END = 1, - End = 1 + End = END, } export enum NavigationTitleMode { - FREE = 0, - Free = 0, + FREE, + Free = FREE, FULL = 1, - Full = 1, + Full = FULL, MINI = 2, - Mini = 2 + Mini = MINI, } export enum LaunchMode { - STANDARD = 0, + STANDARD, MOVE_TO_TOP_SINGLETON = 1, POP_TO_SINGLETON = 2, - NEW_INSTANCE = 3 + NEW_INSTANCE = 3, } export enum ToolbarItemStatus { - NORMAL = 0, + NORMAL, DISABLED = 1, - ACTIVE = 2 + ACTIVE = 2, } export enum NavigationOperation { PUSH = 1, POP = 2, - REPLACE = 3 + REPLACE = 3, } export enum BarStyle { - STANDARD = 0, + STANDARD, STACK = 1, - SAFE_AREA_PADDING = 2 + SAFE_AREA_PADDING = 2, } export enum NavigationType { - PUSH = 0, - Push = 0, + PUSH, + Push = PUSH, BACK = 1, - Back = 1, + Back = BACK, REPLACE = 2, - Replace = 2 + Replace = REPLACE, } export enum RouteType { - NONE = 0, - None = 0, + NONE, + None = NONE, PUSH = 1, - Push = 1, + Push = PUSH, POP = 2, - Pop = 2 + Pop = POP, } export enum SlideEffect { - LEFT = 0, - Left = 0, + LEFT, + Left = LEFT, RIGHT = 1, - Right = 1, + Right = RIGHT, TOP = 2, - Top = 2, + Top = TOP, BOTTOM = 3, - Bottom = 3, + Bottom = BOTTOM, START = 5, - END = 6 + END = 6, } export enum PanelMode { - MINI = 0, - Mini = 0, + MINI, + Mini = MINI, HALF = 1, - Half = 1, + Half = HALF, FULL = 2, - Full = 2 + Full = FULL, } export enum PanelType { - MINIBAR = 0, - Minibar = 0, + MINIBAR, + Minibar = MINIBAR, FOLDABLE = 1, - Foldable = 1, + Foldable = FOLDABLE, TEMPORARY = 2, - Temporary = 2, - CUSTOM = 3 + Temporary = TEMPORARY, + CUSTOM = 3, } export enum PanelHeight { - WRAP_CONTENT = "wrapContent" + WRAP_CONTENT = "wrapContent", } export enum ParticleType { POINT = "point", - IMAGE = "image" + IMAGE = "image", } export enum ParticleEmitterShape { RECTANGLE = "rectangle", CIRCLE = "circle", - ELLIPSE = "ellipse" + ELLIPSE = "ellipse", } export enum DistributionType { - UNIFORM = 0, - GAUSSIAN = 1 + UNIFORM, + GAUSSIAN = 1, } export enum ParticleUpdater { NONE = "none", RANDOM = "random", - CURVE = "curve" + CURVE = "curve", } export enum DisturbanceFieldShape { - RECT = 0, + RECT, CIRCLE = 1, - ELLIPSE = 2 + ELLIPSE = 2, } export enum PasteIconStyle { - LINES = 0 + LINES, } export enum PasteDescription { - PASTE = 0 + PASTE, } export enum PasteButtonOnClickResult { - SUCCESS = 0, - TEMPORARY_AUTHORIZATION_FAILED = 1 + SUCCESS, + TEMPORARY_AUTHORIZATION_FAILED = 1, } export enum PatternLockChallengeResult { CORRECT = 1, - WRONG = 2 + WRONG = 2, } export enum ProgressType { - LINEAR = 0, - Linear = 0, + LINEAR, + Linear = LINEAR, RING = 1, - Ring = 1, + Ring = RING, ECLIPSE = 2, - Eclipse = 2, + Eclipse = ECLIPSE, SCALE_RING = 3, - ScaleRing = 3, + ScaleRing = SCALE_RING, CAPSULE = 4, - Capsule = 4 + Capsule = CAPSULE, } export enum ProgressStatus { - LOADING = 0, - PROGRESSING = 1 + LOADING, + PROGRESSING = 1, } export enum ProgressStyle { - LINEAR = 0, - Linear = 0, + LINEAR, + Linear = LINEAR, RING = 1, - Ring = 1, + Ring = RING, ECLIPSE = 2, - Eclipse = 2, + Eclipse = ECLIPSE, SCALE_RING = 3, - ScaleRing = 3, + ScaleRing = SCALE_RING, CAPSULE = 4, - Capsule = 4 + Capsule = CAPSULE, } export enum RadioIndicatorType { - TICK = 0, + TICK, DOT = 1, - CUSTOM = 2 + CUSTOM = 2, } export enum RefreshStatus { - INACTIVE = 0, - Inactive = 0, + INACTIVE, + Inactive = INACTIVE, DRAG = 1, - Drag = 1, + Drag = DRAG, OVER_DRAG = 2, - OverDrag = 2, + OverDrag = OVER_DRAG, REFRESH = 3, - Refresh = 3, + Refresh = REFRESH, DONE = 4, - Done = 4 + Done = DONE, } export enum BarrierDirection { - LEFT = 0, + LEFT, RIGHT = 1, TOP = 2, - BOTTOM = 3 + BOTTOM = 3, } export enum LocalizedBarrierDirection { - START = 0, + START, END = 1, TOP = 2, - BOTTOM = 3 + BOTTOM = 3, } export enum RichEditorDeleteDirection { - BACKWARD = 0, - FORWARD = 1 + BACKWARD, + FORWARD = 1, } export enum RichEditorSpanType { - TEXT = 0, + TEXT, IMAGE = 1, MIXED = 2, - BUILDER = 3 + BUILDER = 3, } export enum RichEditorResponseType { - RIGHT_CLICK = 0, + RIGHT_CLICK, LONG_PRESS = 1, - SELECT = 2 + SELECT = 2, } export enum SaveIconStyle { - FULL_FILLED = 0, + FULL_FILLED, LINES = 1, - PICTURE = 2 + PICTURE = 2, } export enum SaveDescription { - DOWNLOAD = 0, + DOWNLOAD, DOWNLOAD_FILE = 1, SAVE = 2, SAVE_IMAGE = 3, @@ -1599,192 +1601,192 @@ export enum SaveDescription { SAVE_TO_GALLERY = 8, EXPORT_TO_GALLERY = 9, QUICK_SAVE_TO_GALLERY = 10, - RESAVE_TO_GALLERY = 11 + RESAVE_TO_GALLERY = 11, } export enum SaveButtonOnClickResult { - SUCCESS = 0, - TEMPORARY_AUTHORIZATION_FAILED = 1 + SUCCESS, + TEMPORARY_AUTHORIZATION_FAILED = 1, } export enum ScrollDirection { - VERTICAL = 0, - Vertical = 0, + VERTICAL, + Vertical = VERTICAL, HORIZONTAL = 1, - Horizontal = 1, + Horizontal = HORIZONTAL, FREE = 2, - Free = 2, + Free = FREE, NONE = 3, - None = 3 + None = NONE, } export enum ScrollAlign { - START = 0, + START, CENTER = 1, END = 2, - AUTO = 3 + AUTO = 3, } export enum ScrollBarDirection { - VERTICAL = 0, - Vertical = 0, + VERTICAL, + Vertical = VERTICAL, HORIZONTAL = 1, - Horizontal = 1 + Horizontal = HORIZONTAL, } export enum CancelButtonStyle { - CONSTANT = 0, + CONSTANT, INVISIBLE = 1, - INPUT = 2 + INPUT = 2, } export enum SearchType { - NORMAL = 0, + NORMAL, NUMBER = 2, PHONE_NUMBER = 3, EMAIL = 5, NUMBER_DECIMAL = 12, - URL = 13 + URL = 13, } export enum SecurityComponentLayoutDirection { - HORIZONTAL = 0, - VERTICAL = 1 + HORIZONTAL, + VERTICAL = 1, } export enum ArrowPosition { - END = 0, - START = 1 + END, + START = 1, } export enum MenuAlignType { - START = 0, + START, CENTER = 1, - END = 2 + END = 2, } export enum SliderStyle { - OUT_SET = 0, - OutSet = 0, + OUT_SET, + OutSet = OUT_SET, IN_SET = 1, - InSet = 1, - NONE = 2 + InSet = IN_SET, + NONE = 2, } export enum SliderChangeMode { - BEGIN = 0, - Begin = 0, + BEGIN, + Begin = BEGIN, MOVING = 1, - Moving = 1, + Moving = MOVING, END = 2, - End = 2, + End = END, CLICK = 3, - Click = 3 + Click = CLICK, } export enum SliderInteraction { - SLIDE_AND_CLICK = 0, + SLIDE_AND_CLICK, SLIDE_ONLY = 1, - SLIDE_AND_CLICK_UP = 2 + SLIDE_AND_CLICK_UP = 2, } export enum SliderBlockType { - DEFAULT = 0, + DEFAULT, IMAGE = 1, - SHAPE = 2 + SHAPE = 2, } export enum ColorMode { - LIGHT = 0, - DARK = 1 + LIGHT, + DARK = 1, } export enum LayoutDirection { - LTR = 0, + LTR, RTL = 1, AUTO = 2, - Auto = 2 + Auto = AUTO, } export enum ItemState { - NORMAL = 0, - Normal = 0, + NORMAL, + Normal = NORMAL, DISABLED = 1, - Disabled = 1, + Disabled = DISABLED, WAITING = 2, - Waiting = 2, + Waiting = WAITING, SKIP = 3, - Skip = 3 + Skip = SKIP, } export enum SwiperDisplayMode { - LEGACY_STRETCH = 0, - Stretch = 0, + LEGACY_STRETCH, + Stretch = LEGACY_STRETCH, LEGACY_AUTO_LINEAR = 1, - AutoLinear = 1, + AutoLinear = LEGACY_AUTO_LINEAR, STRETCH = 2, - AUTO_LINEAR = 3 + AUTO_LINEAR = 3, } export enum SwiperNestedScrollMode { - SELF_ONLY = 0, - SELF_FIRST = 1 + SELF_ONLY, + SELF_FIRST = 1, } export enum SymbolRenderingStrategy { - SINGLE = 0, + SINGLE, MULTIPLE_COLOR = 1, - MULTIPLE_OPACITY = 2 + MULTIPLE_OPACITY = 2, } export enum SymbolEffectStrategy { - NONE = 0, + NONE, SCALE = 1, - HIERARCHICAL = 2 + HIERARCHICAL = 2, } export enum EffectDirection { - DOWN = 0, - UP = 1 + DOWN, + UP = 1, } export enum EffectScope { - LAYER = 0, - WHOLE = 1 + LAYER, + WHOLE = 1, } export enum EffectFillStyle { - CUMULATIVE = 0, - ITERATIVE = 1 + CUMULATIVE, + ITERATIVE = 1, } export enum BarMode { - SCROLLABLE = 0, - Scrollable = 0, + SCROLLABLE, + Scrollable = SCROLLABLE, FIXED = 1, - Fixed = 1 + Fixed = FIXED, } export enum AnimationMode { - CONTENT_FIRST = 0, + CONTENT_FIRST, ACTION_FIRST = 1, - NO_ANIMATION = 2 + NO_ANIMATION = 2, } export enum BarPosition { - START = 0, - Start = 0, + START, + Start = START, END = 1, - End = 1 + End = END, } export enum LayoutStyle { - ALWAYS_CENTER = 0, + ALWAYS_CENTER, ALWAYS_AVERAGE_SPLIT = 1, - SPACE_BETWEEN_OR_CENTER = 2 + SPACE_BETWEEN_OR_CENTER = 2, } export enum SelectedMode { - INDICATOR = 0, - BOARD = 1 + INDICATOR, + BOARD = 1, } export enum LayoutMode { - AUTO = 0, + AUTO, VERTICAL = 1, - HORIZONTAL = 2 + HORIZONTAL = 2, } export enum TextSpanType { - TEXT = 0, + TEXT, IMAGE = 1, - MIXED = 2 + MIXED = 2, } export enum TextResponseType { - RIGHT_CLICK = 0, + RIGHT_CLICK, LONG_PRESS = 1, - SELECT = 2 + SELECT = 2, } export enum TextAreaType { - NORMAL = 0, + NORMAL, NUMBER = 2, PHONE_NUMBER = 3, EMAIL = 5, NUMBER_DECIMAL = 12, - URL = 13 + URL = 13, } export enum ContentType { - USER_NAME = 0, + USER_NAME, PASSWORD = 1, NEW_PASSWORD = 2, FULL_STREET_ADDRESS = 3, @@ -1804,303 +1806,303 @@ export enum ContentType { ID_CARD_NUMBER = 17, NICKNAME = 23, DETAIL_INFO_WITHOUT_STREET = 24, - FORMAT_ADDRESS = 25 + FORMAT_ADDRESS = 25, } export enum TextDataDetectorType { - PHONE_NUMBER = 0, + PHONE_NUMBER, URL = 1, EMAIL = 2, ADDRESS = 3, - DATE_TIME = 4 + DATE_TIME = 4, } export enum TextDeleteDirection { - BACKWARD = 0, - FORWARD = 1 + BACKWARD, + FORWARD = 1, } export enum MenuType { - SELECTION_MENU = 0, - PREVIEW_MENU = 1 + SELECTION_MENU, + PREVIEW_MENU = 1, } export enum InputType { - NORMAL = 0, - Normal = 0, + NORMAL, + Normal = NORMAL, NUMBER = 1, - Number = 1, + Number = NUMBER, PHONE_NUMBER = 2, - PhoneNumber = 2, + PhoneNumber = PHONE_NUMBER, EMAIL = 3, - Email = 3, + Email = EMAIL, PASSWORD = 4, - Password = 4, + Password = PASSWORD, NUMBER_PASSWORD = 8, SCREEN_LOCK_PASSWORD = 9, USER_NAME = 10, NEW_PASSWORD = 11, NUMBER_DECIMAL = 12, - URL = 13 + URL = 13, } export enum EnterKeyType { GO = 2, - Go = 2, + Go = GO, SEARCH = 3, - Search = 3, + Search = SEARCH, SEND = 4, - Send = 4, + Send = SEND, NEXT = 5, - Next = 5, + Next = NEXT, DONE = 6, - Done = 6, + Done = DONE, PREVIOUS = 7, - NEW_LINE = 8 + NEW_LINE = 8, } export enum TextInputStyle { - DEFAULT = 0, - Default = 0, + DEFAULT, + Default = DEFAULT, INLINE = 1, - Inline = 1 + Inline = INLINE, } export enum TimePickerFormat { - HOUR_MINUTE = 0, - HOUR_MINUTE_SECOND = 1 + HOUR_MINUTE, + HOUR_MINUTE_SECOND = 1, } export enum ToggleType { - CHECKBOX = 0, - Checkbox = 0, + CHECKBOX, + Checkbox = CHECKBOX, SWITCH = 1, - Switch = 1, + Switch = SWITCH, BUTTON = 2, - Button = 2 + Button = BUTTON, } export enum SeekMode { - PREVIOUS_KEYFRAME = 0, - PreviousKeyframe = 0, + PREVIOUS_KEYFRAME, + PreviousKeyframe = PREVIOUS_KEYFRAME, NEXT_KEYFRAME = 1, - NextKeyframe = 1, + NextKeyframe = NEXT_KEYFRAME, CLOSEST_KEYFRAME = 2, - ClosestKeyframe = 2, + ClosestKeyframe = CLOSEST_KEYFRAME, ACCURATE = 3, - Accurate = 3 + Accurate = ACCURATE, } export enum PlaybackSpeed { - SPEED_FORWARD_0_75_X = 0, - Speed_Forward_0_75_X = 0, + SPEED_FORWARD_0_75_X, + Speed_Forward_0_75_X = SPEED_FORWARD_0_75_X, SPEED_FORWARD_1_00_X = 1, - Speed_Forward_1_00_X = 1, + Speed_Forward_1_00_X = SPEED_FORWARD_1_00_X, SPEED_FORWARD_1_25_X = 2, - Speed_Forward_1_25_X = 2, + Speed_Forward_1_25_X = SPEED_FORWARD_1_25_X, SPEED_FORWARD_1_75_X = 3, - Speed_Forward_1_75_X = 3, + Speed_Forward_1_75_X = SPEED_FORWARD_1_75_X, SPEED_FORWARD_2_00_X = 4, - Speed_Forward_2_00_X = 4 + Speed_Forward_2_00_X = SPEED_FORWARD_2_00_X, } export enum MessageLevel { - DEBUG = 0, - Debug = 0, + DEBUG, + Debug = DEBUG, ERROR = 1, - Error = 1, + Error = ERROR, INFO = 2, - Info = 2, + Info = INFO, LOG = 3, - Log = 3, + Log = LOG, WARN = 4, - Warn = 4 + Warn = WARN, } export enum MixedMode { - ALL = 0, - All = 0, + ALL, + All = ALL, COMPATIBLE = 1, - Compatible = 1, + Compatible = COMPATIBLE, NONE = 2, - None = 2 + None = NONE, } export enum HitTestType { - EDIT_TEXT = 0, - EditText = 0, + EDIT_TEXT, + EditText = EDIT_TEXT, EMAIL = 1, - Email = 1, + Email = EMAIL, HTTP_ANCHOR = 2, - HttpAnchor = 2, + HttpAnchor = HTTP_ANCHOR, HTTP_ANCHOR_IMG = 3, - HttpAnchorImg = 3, + HttpAnchorImg = HTTP_ANCHOR_IMG, IMG = 4, - Img = 4, + Img = IMG, MAP = 5, - Map = 5, + Map = MAP, PHONE = 6, - Phone = 6, + Phone = PHONE, UNKNOWN = 7, - Unknown = 7 + Unknown = UNKNOWN, } export enum CacheMode { - DEFAULT = 0, - Default = 0, + DEFAULT, + Default = DEFAULT, NONE = 1, - None = 1, + None = NONE, ONLINE = 2, - Online = 2, + Online = ONLINE, ONLY = 3, - Only = 3 + Only = ONLY, } export enum OverScrollMode { - NEVER = 0, - ALWAYS = 1 + NEVER, + ALWAYS = 1, } export enum WebDarkMode { - OFF = 0, - Off = 0, + OFF, + Off = OFF, ON = 1, - On = 1, + On = ON, AUTO = 2, - Auto = 2 + Auto = AUTO, } export enum WebCaptureMode { - HOME_SCREEN = 0 + HOME_SCREEN, } export enum ThreatType { - THREAT_ILLEGAL = 0, + THREAT_ILLEGAL, THREAT_FRAUD = 1, THREAT_RISK = 2, - THREAT_WARNING = 3 + THREAT_WARNING = 3, } export enum RenderExitReason { - PROCESS_ABNORMAL_TERMINATION = 0, - ProcessAbnormalTermination = 0, + PROCESS_ABNORMAL_TERMINATION, + ProcessAbnormalTermination = PROCESS_ABNORMAL_TERMINATION, PROCESS_WAS_KILLED = 1, - ProcessWasKilled = 1, + ProcessWasKilled = PROCESS_WAS_KILLED, PROCESS_CRASHED = 2, - ProcessCrashed = 2, + ProcessCrashed = PROCESS_CRASHED, PROCESS_OOM = 3, - ProcessOom = 3, + ProcessOom = PROCESS_OOM, PROCESS_EXIT_UNKNOWN = 4, - ProcessExitUnknown = 4 + ProcessExitUnknown = PROCESS_EXIT_UNKNOWN, } export enum SslError { - INVALID = 0, - Invalid = 0, + INVALID, + Invalid = INVALID, HOST_MISMATCH = 1, - HostMismatch = 1, + HostMismatch = HOST_MISMATCH, DATE_INVALID = 2, - DateInvalid = 2, + DateInvalid = DATE_INVALID, UNTRUSTED = 3, - Untrusted = 3 + Untrusted = UNTRUSTED, } export enum FileSelectorMode { - FILE_OPEN_MODE = 0, - FileOpenMode = 0, + FILE_OPEN_MODE, + FileOpenMode = FILE_OPEN_MODE, FILE_OPEN_MULTIPLE_MODE = 1, - FileOpenMultipleMode = 1, + FileOpenMultipleMode = FILE_OPEN_MULTIPLE_MODE, FILE_OPEN_FOLDER_MODE = 2, - FileOpenFolderMode = 2, + FileOpenFolderMode = FILE_OPEN_FOLDER_MODE, FILE_SAVE_MODE = 3, - FileSaveMode = 3 + FileSaveMode = FILE_SAVE_MODE, } export enum WebLayoutMode { - NONE = 0, - FIT_CONTENT = 1 + NONE, + FIT_CONTENT = 1, } export enum RenderProcessNotRespondingReason { - INPUT_TIMEOUT = 0, - NAVIGATION_COMMIT_TIMEOUT = 1 + INPUT_TIMEOUT, + NAVIGATION_COMMIT_TIMEOUT = 1, } export enum ProtectedResourceType { MIDI_SYSEX = "TYPE_MIDI_SYSEX", - MidiSysex = "TYPE_MIDI_SYSEX", + MidiSysex = MIDI_SYSEX, VIDEO_CAPTURE = "TYPE_VIDEO_CAPTURE", AUDIO_CAPTURE = "TYPE_AUDIO_CAPTURE", - SENSOR = "TYPE_SENSOR" + SENSOR = "TYPE_SENSOR", } export enum ContextMenuSourceType { - NONE = 0, - None = 0, + NONE, + None = NONE, MOUSE = 1, - Mouse = 1, + Mouse = MOUSE, LONG_PRESS = 2, - LongPress = 2 + LongPress = LONG_PRESS, } export enum ContextMenuMediaType { - NONE = 0, - None = 0, + NONE, + None = NONE, IMAGE = 1, - Image = 1 + Image = IMAGE, } export enum ContextMenuInputFieldType { - NONE = 0, - None = 0, + NONE, + None = NONE, PLAIN_TEXT = 1, - PlainText = 1, + PlainText = PLAIN_TEXT, PASSWORD = 2, - Password = 2, + Password = PASSWORD, NUMBER = 3, - Number = 3, + Number = NUMBER, TELEPHONE = 4, - Telephone = 4, + Telephone = TELEPHONE, OTHER = 5, - Other = 5 + Other = OTHER, } export enum NativeEmbedStatus { - CREATE = 0, + CREATE, UPDATE = 1, DESTROY = 2, ENTER_BFCACHE = 3, - LEAVE_BFCACHE = 4 + LEAVE_BFCACHE = 4, } export enum ContextMenuEditStateFlags { - NONE = 0, + NONE, CAN_CUT = 1, CAN_COPY = 2, CAN_PASTE = 4, - CAN_SELECT_ALL = 8 + CAN_SELECT_ALL = 8, } export enum WebNavigationType { - UNKNOWN = 0, + UNKNOWN, MAIN_FRAME_NEW_ENTRY = 1, MAIN_FRAME_EXISTING_ENTRY = 2, NAVIGATION_TYPE_NEW_SUBFRAME = 4, - NAVIGATION_TYPE_AUTO_SUBFRAME = 5 + NAVIGATION_TYPE_AUTO_SUBFRAME = 5, } export enum RenderMode { - ASYNC_RENDER = 0, - SYNC_RENDER = 1 + ASYNC_RENDER, + SYNC_RENDER = 1, } export enum ViewportFit { - AUTO = 0, + AUTO, CONTAINS = 1, - COVER = 2 + COVER = 2, } export enum WebKeyboardAvoidMode { - RESIZE_VISUAL = 0, + RESIZE_VISUAL, RESIZE_CONTENT = 1, - OVERLAYS_CONTENT = 2 + OVERLAYS_CONTENT = 2, } export enum WebElementType { - IMAGE = 1 + IMAGE = 1, } export enum WebResponseType { - LONG_PRESS = 1 + LONG_PRESS = 1, } export enum SideBarContainerType { - EMBED = 0, - Embed = 0, + EMBED, + Embed = EMBED, OVERLAY = 1, - Overlay = 1, - AUTO = 2 + Overlay = OVERLAY, + AUTO = 2, } export enum SideBarPosition { - START = 0, - Start = 0, + START, + Start = START, END = 1, - End = 1 + End = END, } export enum WaterFlowLayoutMode { - ALWAYS_TOP_DOWN = 0, - SLIDING_WINDOW = 1 + ALWAYS_TOP_DOWN, + SLIDING_WINDOW = 1, } export enum DpiFollowStrategy { - FOLLOW_HOST_DPI = 0, - FOLLOW_UI_EXTENSION_ABILITY_DPI = 1 + FOLLOW_HOST_DPI, + FOLLOW_UI_EXTENSION_ABILITY_DPI = 1, } export enum StyledStringKey { - FONT = 0, + FONT, DECORATION = 1, BASELINE_OFFSET = 2, LETTER_SPACING = 3, @@ -2112,5 +2114,5 @@ export enum StyledStringKey { PARAGRAPH_STYLE = 200, IMAGE = 300, CUSTOM_SPAN = 400, - USER_DATA = 500 + USER_DATA = 500, } \ No newline at end of file diff --git a/arkoala/framework/src/generated/TestNativeModule.ts b/arkoala/framework/src/generated/TestNativeModule.ts index 5fa0aeeb8..1bc36856b 100644 --- a/arkoala/framework/src/generated/TestNativeModule.ts +++ b/arkoala/framework/src/generated/TestNativeModule.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -68,8 +68,5 @@ export class TestNativeModule { static _TestReadAndMutateManagedBuffer(arr: Uint8Array, len: int32): void { throw new Error("Not implemented") } - static _TestCallbackSyncCall(arr: Uint8Array, len: int32): void { - throw new Error("Not implemented") - } } registerNativeModule("TestNativeModule", TestNativeModule) \ No newline at end of file diff --git a/arkoala/framework/src/generated/TestNativeModuleEmpty.ts b/arkoala/framework/src/generated/TestNativeModuleEmpty.ts index cd1e5bb4d..f396eaf3d 100644 --- a/arkoala/framework/src/generated/TestNativeModuleEmpty.ts +++ b/arkoala/framework/src/generated/TestNativeModuleEmpty.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -76,7 +76,4 @@ export class TestNativeModuleEmpty { _TestReadAndMutateManagedBuffer(arr: Uint8Array, len: int32): void { console.log("_TestReadAndMutateManagedBuffer") } - _TestCallbackSyncCall(arr: Uint8Array, len: int32): void { - console.log("_TestCallbackSyncCall") - } } \ No newline at end of file diff --git a/arkoala/tools/peer-generator/package.json b/arkoala/tools/peer-generator/package.json index 699fac41a..e321710c7 100644 --- a/arkoala/tools/peer-generator/package.json +++ b/arkoala/tools/peer-generator/package.json @@ -2,14 +2,14 @@ "name": "peer-generator", "description": "", "config": { - "idlize_version": "1.3.27", + "idlize_version": "1.3.29", "api_version": "110", "input_dir": "../../arkui-common/interface_sdk-js/api/@internal/component/ets/,../../arkui-common/interface_sdk-js/api/global" }, "scripts": { "interface-sdk:download": "npm run interface-sdk:download --prefix ../../arkui-common", - "generate:ts": "npx @azanat/idlize@$npm_package_config_idlize_version --dts2peer --input-dir $npm_package_config_input_dir --arkoala-destination ../../.. --api-version $npm_package_config_api_version --generator-target arkoala --language=ts --only-integrated", - "generate:arkts": "npx @azanat/idlize@$npm_package_config_idlize_version --dts2peer --only-integrated --input-dir $npm_package_config_input_dir --arkoala-destination ../../.. --api-version $npm_package_config_api_version --generator-target arkoala --language=arkts --need-interfaces", + "generate:ts": "npx @idlize/arkgen@$npm_package_config_idlize_version --dts2peer --input-dir $npm_package_config_input_dir --arkoala-destination ../../.. --api-version $npm_package_config_api_version --generator-target arkoala --language=ts --only-integrated", + "generate:arkts": "npx @idlize/arkgen@$npm_package_config_idlize_version --dts2peer --only-integrated --input-dir $npm_package_config_input_dir --arkoala-destination ../../.. --api-version $npm_package_config_api_version --generator-target arkoala --language=arkts --need-interfaces", "generate:all": "npm run generate:ts && npm run generate:arkts", "install:current": "npm install idlize-current && npm run compile --prefix node_modules/idlize-current", "generate:ts:current": "npm run install:current && node node_modules/idlize-current --dts2peer --input-dir $npm_package_config_input_dir --arkoala-destination ../../.. --api-version $npm_package_config_api_version --generator-target arkoala --language=ts --only-integrated", -- Gitee From ea7a1d7e7785b11da5a11fc620e4c0d674135498 Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Mon, 20 Jan 2025 18:38:37 +0300 Subject: [PATCH 2/6] Regenerate Signed-off-by: Nikolay Igotti --- .../src/generated/arkoala_api_generated.h | 2 +- arkoala/framework/src/generated/EnumsImpl.ts | 1766 ++++++++--------- arkoala/tools/peer-generator/package.json | 4 +- 3 files changed, 885 insertions(+), 887 deletions(-) diff --git a/arkoala/framework/native/src/generated/arkoala_api_generated.h b/arkoala/framework/native/src/generated/arkoala_api_generated.h index 320f15298..1f2888bc3 100644 --- a/arkoala/framework/native/src/generated/arkoala_api_generated.h +++ b/arkoala/framework/native/src/generated/arkoala_api_generated.h @@ -152,7 +152,7 @@ typedef struct InteropBuffer { // The only include allowed in this file! Do not add anything else ever. #include -#define GENERATED_ARKUI_FULL_API_VERSION 110 +#define GENERATED_ARKUI_FULL_API_VERSION 111 #define GENERATED_ARKUI_NODE_API_VERSION GENERATED_ARKUI_FULL_API_VERSION #define GENERATED_ARKUI_BASIC_NODE_API_VERSION 1 diff --git a/arkoala/framework/src/generated/EnumsImpl.ts b/arkoala/framework/src/generated/EnumsImpl.ts index af552fa8f..8bc2f8e53 100644 --- a/arkoala/framework/src/generated/EnumsImpl.ts +++ b/arkoala/framework/src/generated/EnumsImpl.ts @@ -1,6 +1,6 @@ import { int32 } from "@koalaui/common" export enum PointerStyle { - DEFAULT, + DEFAULT = 0, EAST = 1, WEST = 2, SOUTH = 3, @@ -43,178 +43,178 @@ export enum PointerStyle { CURSOR_CROSS = 40, CURSOR_CIRCLE = 41, LOADING = 42, - RUNNING = 43, + RUNNING = 43 } export enum RectWidthStyle { - TIGHT, - MAX = 1, + TIGHT = 0, + MAX = 1 } export enum RectHeightStyle { - TIGHT, + TIGHT = 0, MAX = 1, INCLUDE_LINE_SPACE_MIDDLE = 2, INCLUDE_LINE_SPACE_TOP = 3, INCLUDE_LINE_SPACE_BOTTOM = 4, - STRUT = 5, + STRUT = 5 } export enum LengthUnit { - PX, + PX = 0, VP = 1, FP = 2, PERCENT = 3, - LPX = 4, + LPX = 4 } export enum DialogAlignment { - TOP, - Top = TOP, + TOP = 0, + Top = 0, CENTER = 1, - Center = CENTER, + Center = 1, BOTTOM = 2, - Bottom = BOTTOM, + Bottom = 2, DEFAULT = 3, - Default = DEFAULT, + Default = 3, TOP_START = 4, - TopStart = TOP_START, + TopStart = 4, TOP_END = 5, - TopEnd = TOP_END, + TopEnd = 5, CENTER_START = 6, - CenterStart = CENTER_START, + CenterStart = 6, CENTER_END = 7, - CenterEnd = CENTER_END, + CenterEnd = 7, BOTTOM_START = 8, - BottomStart = BOTTOM_START, + BottomStart = 8, BOTTOM_END = 9, - BottomEnd = BOTTOM_END, + BottomEnd = 9 } export enum DialogButtonDirection { - AUTO, + AUTO = 0, HORIZONTAL = 1, - VERTICAL = 2, + VERTICAL = 2 } export enum IndexerAlign { - LEFT, - Left = LEFT, + LEFT = 0, + Left = 0, RIGHT = 1, - Right = RIGHT, + Right = 1, START = 2, - END = 3, + END = 3 } export enum BadgePosition { - RIGHT_TOP, - RightTop = RIGHT_TOP, + RIGHT_TOP = 0, + RightTop = 0, RIGHT = 1, - Right = RIGHT, + Right = 1, LEFT = 2, - Left = LEFT, + Left = 2 } export enum ButtonType { - CAPSULE, - Capsule = CAPSULE, + CAPSULE = 0, + Capsule = 0, CIRCLE = 1, - Circle = CIRCLE, + Circle = 1, NORMAL = 2, - Normal = NORMAL, - ROUNDED_RECTANGLE = 3, + Normal = 2, + ROUNDED_RECTANGLE = 3 } export enum ButtonStyleMode { - NORMAL, + NORMAL = 0, EMPHASIZED = 1, - TEXTUAL = 2, + TEXTUAL = 2 } export enum ButtonRole { - NORMAL, - ERROR = 1, + NORMAL = 0, + ERROR = 1 } export enum ControlSize { SMALL = "small", - NORMAL = "normal", + NORMAL = "normal" } export enum CalendarAlign { - START, + START = 0, CENTER = 1, - END = 2, + END = 2 } export enum SelectStatus { - ALL, - All = ALL, + ALL = 0, + All = 0, PART = 1, - Part = PART, + Part = 1, NONE = 2, - None = NONE, + None = 2 } export enum FinishCallbackType { - REMOVED, - LOGICALLY = 1, + REMOVED = 0, + LOGICALLY = 1 } export enum TouchTestStrategy { - DEFAULT, + DEFAULT = 0, FORWARD_COMPETITION = 1, - FORWARD = 2, + FORWARD = 2 } export enum TransitionHierarchyStrategy { - NONE, - ADAPTIVE = 1, + NONE = 0, + ADAPTIVE = 1 } export enum ChainStyle { - SPREAD, + SPREAD = 0, SPREAD_INSIDE = 1, - PACKED = 2, + PACKED = 2 } export enum TransitionEdge { - TOP, + TOP = 0, BOTTOM = 1, START = 2, - END = 3, + END = 3 } export enum EffectType { - DEFAULT, - WINDOW_EFFECT = 1, + DEFAULT = 0, + WINDOW_EFFECT = 1 } export enum PreDragStatus { - ACTION_DETECTING_STATUS, + ACTION_DETECTING_STATUS = 0, READY_TO_TRIGGER_DRAG_ACTION = 1, PREVIEW_LIFT_STARTED = 2, PREVIEW_LIFT_FINISHED = 3, PREVIEW_LANDING_STARTED = 4, PREVIEW_LANDING_FINISHED = 5, - ACTION_CANCELED_BEFORE_DRAG = 6, + ACTION_CANCELED_BEFORE_DRAG = 6 } export enum SourceType { - UNKNOWN, - Unknown = UNKNOWN, + UNKNOWN = 0, + Unknown = 0, MOUSE = 1, - Mouse = MOUSE, + Mouse = 1, TOUCH_SCREEN = 2, - TouchScreen = TOUCH_SCREEN, + TouchScreen = 2 } export enum SourceTool { - UNKNOWN, - Unknown = UNKNOWN, + UNKNOWN = 0, + Unknown = 0, FINGER = 1, - Finger = FINGER, + Finger = 1, PEN = 2, - Pen = PEN, + Pen = 2, MOUSE = 3, TOUCHPAD = 4, - JOYSTICK = 5, + JOYSTICK = 5 } export enum RepeatMode { - REPEAT, - Repeat = REPEAT, + REPEAT = 0, + Repeat = 0, STRETCH = 1, - Stretch = STRETCH, + Stretch = 1, ROUND = 2, - Round = ROUND, + Round = 2, SPACE = 3, - Space = SPACE, + Space = 3 } export enum BlurStyle { - THIN, - Thin = THIN, + THIN = 0, + Thin = 0, REGULAR = 1, - Regular = REGULAR, + Regular = 1, THICK = 2, - Thick = THICK, + Thick = 2, BACKGROUND_THIN = 3, BACKGROUND_REGULAR = 4, BACKGROUND_THICK = 5, @@ -224,75 +224,75 @@ export enum BlurStyle { COMPONENT_THIN = 9, COMPONENT_REGULAR = 10, COMPONENT_THICK = 11, - COMPONENT_ULTRA_THICK = 12, + COMPONENT_ULTRA_THICK = 12 } export enum BlurStyleActivePolicy { - FOLLOWS_WINDOW_ACTIVE_STATE, + FOLLOWS_WINDOW_ACTIVE_STATE = 0, ALWAYS_ACTIVE = 1, - ALWAYS_INACTIVE = 2, + ALWAYS_INACTIVE = 2 } export enum ThemeColorMode { - SYSTEM, + SYSTEM = 0, LIGHT = 1, - DARK = 2, + DARK = 2 } export enum AdaptiveColor { - DEFAULT, - AVERAGE = 1, + DEFAULT = 0, + AVERAGE = 1 } export enum ModalTransition { - DEFAULT, + DEFAULT = 0, NONE = 1, - ALPHA = 2, + ALPHA = 2 } export enum ShadowType { - COLOR, - BLUR = 1, + COLOR = 0, + BLUR = 1 } export enum ShadowStyle { - OUTER_DEFAULT_XS, + OUTER_DEFAULT_XS = 0, OUTER_DEFAULT_SM = 1, OUTER_DEFAULT_MD = 2, OUTER_DEFAULT_LG = 3, OUTER_FLOATING_SM = 4, - OUTER_FLOATING_MD = 5, + OUTER_FLOATING_MD = 5 } export enum SafeAreaType { - SYSTEM, + SYSTEM = 0, CUTOUT = 1, - KEYBOARD = 2, + KEYBOARD = 2 } export enum SafeAreaEdge { - TOP, + TOP = 0, BOTTOM = 1, START = 2, - END = 3, + END = 3 } export enum LayoutSafeAreaType { - SYSTEM, + SYSTEM = 0 } export enum LayoutSafeAreaEdge { - TOP, - BOTTOM = 1, + TOP = 0, + BOTTOM = 1 } export enum SheetSize { - MEDIUM, + MEDIUM = 0, LARGE = 1, - FIT_CONTENT = 2, + FIT_CONTENT = 2 } export enum DragBehavior { - COPY, - MOVE = 1, + COPY = 0, + MOVE = 1 } export enum DragResult { - DRAG_SUCCESSFUL, + DRAG_SUCCESSFUL = 0, DRAG_FAILED = 1, DRAG_CANCELED = 2, DROP_ENABLED = 3, - DROP_DISABLED = 4, + DROP_DISABLED = 4 } export enum BlendMode { - NONE, + NONE = 0, CLEAR = 1, SRC = 2, DST = 3, @@ -321,128 +321,128 @@ export enum BlendMode { HUE = 26, SATURATION = 27, COLOR = 28, - LUMINOSITY = 29, + LUMINOSITY = 29 } export enum BlendApplyType { - FAST, - OFFSCREEN = 1, + FAST = 0, + OFFSCREEN = 1 } export enum SheetType { - BOTTOM, + BOTTOM = 0, CENTER = 1, - POPUP = 2, + POPUP = 2 } export enum SheetMode { - OVERLAY, - EMBEDDED = 1, + OVERLAY = 0, + EMBEDDED = 1 } export enum ScrollSizeMode { - FOLLOW_DETENT, - CONTINUOUS = 1, + FOLLOW_DETENT = 0, + CONTINUOUS = 1 } export enum SheetKeyboardAvoidMode { - NONE, + NONE = 0, TRANSLATE_AND_RESIZE = 1, RESIZE_ONLY = 2, - TRANSLATE_AND_SCROLL = 3, + TRANSLATE_AND_SCROLL = 3 } export enum DismissReason { - PRESS_BACK, + PRESS_BACK = 0, TOUCH_OUTSIDE = 1, CLOSE_BUTTON = 2, - SLIDE_DOWN = 3, + SLIDE_DOWN = 3 } export enum MenuPreviewMode { - NONE, - IMAGE = 1, + NONE = 0, + IMAGE = 1 } export enum OutlineStyle { - SOLID, + SOLID = 0, DASHED = 1, - DOTTED = 2, + DOTTED = 2 } export enum DragPreviewMode { AUTO = 1, DISABLE_SCALE = 2, ENABLE_DEFAULT_SHADOW = 3, - ENABLE_DEFAULT_RADIUS = 4, + ENABLE_DEFAULT_RADIUS = 4 } export enum MenuPolicy { - DEFAULT, + DEFAULT = 0, HIDE = 1, - SHOW = 2, + SHOW = 2 } export enum ContentClipMode { - CONTENT_ONLY, + CONTENT_ONLY = 0, BOUNDARY = 1, - SAFE_AREA = 2, + SAFE_AREA = 2 } export enum KeyboardAvoidMode { - DEFAULT, - NONE = 1, + DEFAULT = 0, + NONE = 1 } export enum HoverModeAreaType { - TOP_SCREEN, - BOTTOM_SCREEN = 1, + TOP_SCREEN = 0, + BOTTOM_SCREEN = 1 } export enum ModelType { - TEXTURE, - SURFACE = 1, + TEXTURE = 0, + SURFACE = 1 } export enum DataPanelType { - LINE, - Line = LINE, + LINE = 0, + Line = 0, CIRCLE = 1, - Circle = CIRCLE, + Circle = 1 } export enum CheckBoxShape { - CIRCLE, - ROUNDED_SQUARE = 1, + CIRCLE = 0, + ROUNDED_SQUARE = 1 } export enum Color { - WHITE, - White = WHITE, + WHITE = 0, + White = 0, BLACK = 1, - Black = BLACK, + Black = 1, BLUE = 2, - Blue = BLUE, + Blue = 2, BROWN = 3, - Brown = BROWN, + Brown = 3, GRAY = 4, - Gray = GRAY, + Gray = 4, GREEN = 5, - Green = GREEN, + Green = 5, GREY = 6, - Grey = GREY, + Grey = 6, ORANGE = 7, - Orange = ORANGE, + Orange = 7, PINK = 8, - Pink = PINK, + Pink = 8, RED = 9, - Red = RED, + Red = 9, YELLOW = 10, - Yellow = YELLOW, + Yellow = 10, TRANSPARENT = 11, - Transparent = TRANSPARENT, + Transparent = 11 } export enum ColoringStrategy { INVERT = "invert", AVERAGE = "average", - PRIMARY = "primary", + PRIMARY = "primary" } export enum ImageFit { - CONTAIN, - Contain = CONTAIN, + CONTAIN = 0, + Contain = 0, COVER = 1, - Cover = COVER, + Cover = 1, AUTO = 2, - Auto = AUTO, + Auto = 2, FILL = 3, - Fill = FILL, + Fill = 3, SCALE_DOWN = 4, - ScaleDown = SCALE_DOWN, + ScaleDown = 4, NONE = 5, - None = NONE, + None = 5, TOP_START = 7, TOP = 8, TOP_END = 9, @@ -451,487 +451,487 @@ export enum ImageFit { END = 12, BOTTOM_START = 13, BOTTOM = 14, - BOTTOM_END = 15, + BOTTOM_END = 15 } export enum BorderStyle { - DOTTED, - Dotted = DOTTED, + DOTTED = 0, + Dotted = 0, DASHED = 1, - Dashed = DASHED, + Dashed = 1, SOLID = 2, - Solid = SOLID, + Solid = 2 } export enum LineJoinStyle { - MITER, - Miter = MITER, + MITER = 0, + Miter = 0, ROUND = 1, - Round = ROUND, + Round = 1, BEVEL = 2, - Bevel = BEVEL, + Bevel = 2 } export enum TouchType { - DOWN, - Down = DOWN, + DOWN = 0, + Down = 0, UP = 1, - Up = UP, + Up = 1, MOVE = 2, - Move = MOVE, + Move = 2, CANCEL = 3, - Cancel = CANCEL, + Cancel = 3 } export enum MouseButton { - LEFT, - Left = LEFT, + LEFT = 0, + Left = 0, RIGHT = 1, - Right = RIGHT, + Right = 1, MIDDLE = 2, - Middle = MIDDLE, + Middle = 2, BACK = 3, - Back = BACK, + Back = 3, FORWARD = 4, - Forward = FORWARD, + Forward = 4, NONE = 5, - None = NONE, + None = 5 } export enum MouseAction { - PRESS, - Press = PRESS, + PRESS = 0, + Press = 0, RELEASE = 1, - Release = RELEASE, + Release = 1, MOVE = 2, - Move = MOVE, + Move = 2, HOVER = 3, - Hover = HOVER, + Hover = 3 } export enum AnimationStatus { - INITIAL, - Initial = INITIAL, + INITIAL = 0, + Initial = 0, RUNNING = 1, - Running = RUNNING, + Running = 1, PAUSED = 2, - Paused = PAUSED, + Paused = 2, STOPPED = 3, - Stopped = STOPPED, + Stopped = 3 } export enum Curve { - LINEAR, - Linear = LINEAR, + LINEAR = 0, + Linear = 0, EASE = 1, - Ease = EASE, + Ease = 1, EASE_IN = 2, - EaseIn = EASE_IN, + EaseIn = 2, EASE_OUT = 3, - EaseOut = EASE_OUT, + EaseOut = 3, EASE_IN_OUT = 4, - EaseInOut = EASE_IN_OUT, + EaseInOut = 4, FAST_OUT_SLOW_IN = 5, - FastOutSlowIn = FAST_OUT_SLOW_IN, + FastOutSlowIn = 5, LINEAR_OUT_SLOW_IN = 6, - LinearOutSlowIn = LINEAR_OUT_SLOW_IN, + LinearOutSlowIn = 6, FAST_OUT_LINEAR_IN = 7, - FastOutLinearIn = FAST_OUT_LINEAR_IN, + FastOutLinearIn = 7, EXTREME_DECELERATION = 8, - ExtremeDeceleration = EXTREME_DECELERATION, + ExtremeDeceleration = 8, SHARP = 9, - Sharp = SHARP, + Sharp = 9, RHYTHM = 10, - Rhythm = RHYTHM, + Rhythm = 10, SMOOTH = 11, - Smooth = SMOOTH, + Smooth = 11, FRICTION = 12, - Friction = FRICTION, + Friction = 12 } export enum FillMode { - NONE, - None = NONE, + NONE = 0, + None = 0, FORWARDS = 1, - Forwards = FORWARDS, + Forwards = 1, BACKWARDS = 2, - Backwards = BACKWARDS, + Backwards = 2, BOTH = 3, - Both = BOTH, + Both = 3 } export enum PlayMode { - NORMAL, - Normal = NORMAL, + NORMAL = 0, + Normal = 0, REVERSE = 1, - Reverse = REVERSE, + Reverse = 1, ALTERNATE = 2, - Alternate = ALTERNATE, + Alternate = 2, ALTERNATE_REVERSE = 3, - AlternateReverse = ALTERNATE_REVERSE, + AlternateReverse = 3 } export enum KeyType { - DOWN, - Down = DOWN, + DOWN = 0, + Down = 0, UP = 1, - Up = UP, + Up = 1 } export enum KeySource { - UNKNOWN, - Unknown = UNKNOWN, + UNKNOWN = 0, + Unknown = 0, KEYBOARD = 1, - Keyboard = KEYBOARD, + Keyboard = 1 } export enum Edge { - TOP, - Top = TOP, + TOP = 0, + Top = 0, CENTER = 1, - Center = CENTER, + Center = 1, BOTTOM = 2, - Bottom = BOTTOM, + Bottom = 2, BASELINE = 3, - Baseline = BASELINE, + Baseline = 3, START = 4, - Start = START, + Start = 4, MIDDLE = 5, - Middle = MIDDLE, + Middle = 5, END = 6, - End = END, + End = 6 } export enum Week { - MON, - Mon = MON, + MON = 0, + Mon = 0, TUE = 1, - Tue = TUE, + Tue = 1, WED = 2, - Wed = WED, + Wed = 2, THUR = 3, - Thur = THUR, + Thur = 3, FRI = 4, - Fri = FRI, + Fri = 4, SAT = 5, - Sat = SAT, + Sat = 5, SUN = 6, - Sun = SUN, + Sun = 6 } export enum Direction { - LTR, - Ltr = LTR, + LTR = 0, + Ltr = 0, RTL = 1, - Rtl = RTL, + Rtl = 1, AUTO = 2, - Auto = AUTO, + Auto = 2 } export enum BarState { - OFF, - Off = OFF, + OFF = 0, + Off = 0, AUTO = 1, - Auto = AUTO, + Auto = 1, ON = 2, - On = ON, + On = 2 } export enum EdgeEffect { - SPRING, - Spring = SPRING, + SPRING = 0, + Spring = 0, FADE = 1, - Fade = FADE, + Fade = 1, NONE = 2, - None = NONE, + None = 2 } export enum Alignment { - TOP_START, - TopStart = TOP_START, + TOP_START = 0, + TopStart = 0, TOP = 1, - Top = TOP, + Top = 1, TOP_END = 2, - TopEnd = TOP_END, + TopEnd = 2, START = 3, - Start = START, + Start = 3, CENTER = 4, - Center = CENTER, + Center = 4, END = 5, - End = END, + End = 5, BOTTOM_START = 6, - BottomStart = BOTTOM_START, + BottomStart = 6, BOTTOM = 7, - Bottom = BOTTOM, + Bottom = 7, BOTTOM_END = 8, - BottomEnd = BOTTOM_END, + BottomEnd = 8 } export enum TransitionType { - ALL, - All = ALL, + ALL = 0, + All = 0, INSERT = 1, - Insert = INSERT, + Insert = 1, DELETE = 2, - Delete = DELETE, + Delete = 2 } export enum RelateType { - FILL, - FIT = 1, + FILL = 0, + FIT = 1 } export enum Visibility { - VISIBLE, - Visible = VISIBLE, + VISIBLE = 0, + Visible = 0, HIDDEN = 1, - Hidden = HIDDEN, + Hidden = 1, NONE = 2, - None = NONE, + None = 2 } export enum LineCapStyle { - BUTT, - Butt = BUTT, + BUTT = 0, + Butt = 0, ROUND = 1, - Round = ROUND, + Round = 1, SQUARE = 2, - Square = SQUARE, + Square = 2 } export enum Axis { - VERTICAL, - Vertical = VERTICAL, + VERTICAL = 0, + Vertical = 0, HORIZONTAL = 1, - Horizontal = HORIZONTAL, + Horizontal = 1 } export enum HorizontalAlign { - START, - Start = START, + START = 0, + Start = 0, CENTER = 1, - Center = CENTER, + Center = 1, END = 2, - End = END, + End = 2 } export enum FlexAlign { - START, - Start = START, + START = 0, + Start = 0, CENTER = 1, - Center = CENTER, + Center = 1, END = 2, - End = END, + End = 2, SPACE_BETWEEN = 3, - SpaceBetween = SPACE_BETWEEN, + SpaceBetween = 3, SPACE_AROUND = 4, - SpaceAround = SPACE_AROUND, + SpaceAround = 4, SPACE_EVENLY = 5, - SpaceEvenly = SPACE_EVENLY, + SpaceEvenly = 5 } export enum ItemAlign { - AUTO, - Auto = AUTO, + AUTO = 0, + Auto = 0, START = 1, - Start = START, + Start = 1, CENTER = 2, - Center = CENTER, + Center = 2, END = 3, - End = END, + End = 3, BASELINE = 4, - Baseline = BASELINE, + Baseline = 4, STRETCH = 5, - Stretch = STRETCH, + Stretch = 5 } export enum FlexDirection { - ROW, - Row = ROW, + ROW = 0, + Row = 0, COLUMN = 1, - Column = COLUMN, + Column = 1, ROW_REVERSE = 2, - RowReverse = ROW_REVERSE, + RowReverse = 2, COLUMN_REVERSE = 3, - ColumnReverse = COLUMN_REVERSE, + ColumnReverse = 3 } export enum PixelRoundCalcPolicy { - NO_FORCE_ROUND, + NO_FORCE_ROUND = 0, FORCE_CEIL = 1, - FORCE_FLOOR = 2, + FORCE_FLOOR = 2 } export enum FlexWrap { - NO_WRAP, - NoWrap = NO_WRAP, + NO_WRAP = 0, + NoWrap = 0, WRAP = 1, - Wrap = WRAP, + Wrap = 1, WRAP_REVERSE = 2, - WrapReverse = WRAP_REVERSE, + WrapReverse = 2 } export enum VerticalAlign { - TOP, - Top = TOP, + TOP = 0, + Top = 0, CENTER = 1, - Center = CENTER, + Center = 1, BOTTOM = 2, - Bottom = BOTTOM, + Bottom = 2 } export enum ImageRepeat { - NO_REPEAT, - NoRepeat = NO_REPEAT, + NO_REPEAT = 0, + NoRepeat = 0, X = 1, Y = 2, - XY = 3, + XY = 3 } export enum ImageSize { - AUTO, - Auto = AUTO, + AUTO = 0, + Auto = 0, COVER = 1, - Cover = COVER, + Cover = 1, CONTAIN = 2, - Contain = CONTAIN, - FILL = 3, + Contain = 2, + FILL = 3 } export enum GradientDirection { - LEFT, - Left = LEFT, + LEFT = 0, + Left = 0, TOP = 1, - Top = TOP, + Top = 1, RIGHT = 2, - Right = RIGHT, + Right = 2, BOTTOM = 3, - Bottom = BOTTOM, + Bottom = 3, LEFT_TOP = 4, - LeftTop = LEFT_TOP, + LeftTop = 4, LEFT_BOTTOM = 5, - LeftBottom = LEFT_BOTTOM, + LeftBottom = 5, RIGHT_TOP = 6, - RightTop = RIGHT_TOP, + RightTop = 6, RIGHT_BOTTOM = 7, - RightBottom = RIGHT_BOTTOM, + RightBottom = 7, NONE = 8, - None = NONE, + None = 8 } export enum SharedTransitionEffectType { - STATIC, - Static = STATIC, + STATIC = 0, + Static = 0, EXCHANGE = 1, - Exchange = EXCHANGE, + Exchange = 1 } export enum FontStyle { - NORMAL, - Normal = NORMAL, + NORMAL = 0, + Normal = 0, ITALIC = 1, - Italic = ITALIC, + Italic = 1 } export enum FontWeight { - LIGHTER, - Lighter = LIGHTER, + LIGHTER = 0, + Lighter = 0, NORMAL = 1, - Normal = NORMAL, + Normal = 1, REGULAR = 2, - Regular = REGULAR, + Regular = 2, MEDIUM = 3, - Medium = MEDIUM, + Medium = 3, BOLD = 4, - Bold = BOLD, + Bold = 4, BOLDER = 5, - Bolder = BOLDER, + Bolder = 5 } export enum TextAlign { - CENTER, - Center = CENTER, + CENTER = 0, + Center = 0, START = 1, - Start = START, + Start = 1, END = 2, - End = END, - JUSTIFY = 3, + End = 2, + JUSTIFY = 3 } export enum TextOverflow { - NONE, - None = NONE, + NONE = 0, + None = 0, CLIP = 1, - Clip = CLIP, + Clip = 1, ELLIPSIS = 2, - Ellipsis = ELLIPSIS, - MARQUEE = 3, + Ellipsis = 2, + MARQUEE = 3 } export enum TextDecorationType { - NONE, - None = NONE, + NONE = 0, + None = 0, UNDERLINE = 1, - Underline = UNDERLINE, + Underline = 1, OVERLINE = 2, - Overline = OVERLINE, + Overline = 2, LINE_THROUGH = 3, - LineThrough = LINE_THROUGH, + LineThrough = 3 } export enum TextCase { - NORMAL, - Normal = NORMAL, + NORMAL = 0, + Normal = 0, LOWER_CASE = 1, - LowerCase = LOWER_CASE, + LowerCase = 1, UPPER_CASE = 2, - UpperCase = UPPER_CASE, + UpperCase = 2 } export enum TextHeightAdaptivePolicy { - MAX_LINES_FIRST, + MAX_LINES_FIRST = 0, MIN_FONT_SIZE_FIRST = 1, - LAYOUT_CONSTRAINT_FIRST = 2, + LAYOUT_CONSTRAINT_FIRST = 2 } export enum ResponseType { - RIGHT_CLICK, - RightClick = RIGHT_CLICK, + RIGHT_CLICK = 0, + RightClick = 0, LONG_PRESS = 1, - LongPress = LONG_PRESS, + LongPress = 1 } export enum HoverEffect { - AUTO, - Auto = AUTO, + AUTO = 0, + Auto = 0, SCALE = 1, - Scale = SCALE, + Scale = 1, HIGHLIGHT = 2, - Highlight = HIGHLIGHT, + Highlight = 2, NONE = 3, - None = NONE, + None = 3 } export enum Placement { - LEFT, - Left = LEFT, + LEFT = 0, + Left = 0, RIGHT = 1, - Right = RIGHT, + Right = 1, TOP = 2, - Top = TOP, + Top = 2, BOTTOM = 3, - Bottom = BOTTOM, + Bottom = 3, TOP_LEFT = 4, - TopLeft = TOP_LEFT, + TopLeft = 4, TOP_RIGHT = 5, - TopRight = TOP_RIGHT, + TopRight = 5, BOTTOM_LEFT = 6, - BottomLeft = BOTTOM_LEFT, + BottomLeft = 6, BOTTOM_RIGHT = 7, - BottomRight = BOTTOM_RIGHT, + BottomRight = 7, LEFT_TOP = 8, - LeftTop = LEFT_TOP, + LeftTop = 8, LEFT_BOTTOM = 9, - LeftBottom = LEFT_BOTTOM, + LeftBottom = 9, RIGHT_TOP = 10, - RightTop = RIGHT_TOP, + RightTop = 10, RIGHT_BOTTOM = 11, - RightBottom = RIGHT_BOTTOM, + RightBottom = 11 } export enum ArrowPointPosition { START = "Start", CENTER = "Center", - END = "End", + END = "End" } export enum CopyOptions { - NONE, - None = NONE, + NONE = 0, + None = 0, IN_APP = 1, - InApp = IN_APP, + InApp = 1, LOCAL_DEVICE = 2, - LocalDevice = LOCAL_DEVICE, - CROSS_DEVICE = 3, + LocalDevice = 2, + CROSS_DEVICE = 3 } export enum HitTestMode { - DEFAULT, - Default = DEFAULT, + DEFAULT = 0, + Default = 0, BLOCK = 1, - Block = BLOCK, + Block = 1, TRANSPARENT = 2, - Transparent = TRANSPARENT, + Transparent = 2, NONE = 3, - None = NONE, + None = 3 } export enum TitleHeight { - MAIN_ONLY, - MainOnly = MAIN_ONLY, + MAIN_ONLY = 0, + MainOnly = 0, MAIN_WITH_SUB = 1, - MainWithSub = MAIN_WITH_SUB, + MainWithSub = 1 } export enum ModifierKey { - CTRL, + CTRL = 0, SHIFT = 1, - ALT = 2, + ALT = 2 } export enum FunctionKey { - ESC, + ESC = 0, F1 = 1, F2 = 2, F3 = 3, @@ -948,50 +948,50 @@ export enum FunctionKey { DPAD_UP = 14, DPAD_DOWN = 15, DPAD_LEFT = 16, - DPAD_RIGHT = 17, + DPAD_RIGHT = 17 } export enum ImageSpanAlignment { - BASELINE, + BASELINE = 0, BOTTOM = 1, CENTER = 2, - TOP = 3, + TOP = 3 } export enum ObscuredReasons { - PLACEHOLDER, + PLACEHOLDER = 0 } export enum TextContentStyle { - DEFAULT, - INLINE = 1, + DEFAULT = 0, + INLINE = 1 } export enum ClickEffectLevel { - LIGHT, + LIGHT = 0, MIDDLE = 1, - HEAVY = 2, + HEAVY = 2 } export enum XComponentType { - SURFACE, + SURFACE = 0, COMPONENT = 1, TEXTURE = 2, - NODE = 3, + NODE = 3 } export enum NestedScrollMode { - SELF_ONLY, + SELF_ONLY = 0, SELF_FIRST = 1, PARENT_FIRST = 2, - PARALLEL = 3, + PARALLEL = 3 } export enum ScrollSource { - DRAG, + DRAG = 0, FLING = 1, EDGE_EFFECT = 2, OTHER_USER_INPUT = 3, SCROLL_BAR = 4, SCROLL_BAR_FLING = 5, SCROLLER = 6, - SCROLLER_ANIMATION = 7, + SCROLLER_ANIMATION = 7 } export enum RenderFit { - CENTER, + CENTER = 0, TOP = 1, BOTTOM = 2, LEFT = 3, @@ -1006,251 +1006,249 @@ export enum RenderFit { RESIZE_CONTAIN_BOTTOM_RIGHT = 12, RESIZE_COVER = 13, RESIZE_COVER_TOP_LEFT = 14, - RESIZE_COVER_BOTTOM_RIGHT = 15, + RESIZE_COVER_BOTTOM_RIGHT = 15 } export enum DialogButtonStyle { - DEFAULT, - HIGHLIGHT = 1, + DEFAULT = 0, + HIGHLIGHT = 1 } export enum WordBreak { - NORMAL, + NORMAL = 0, BREAK_ALL = 1, - BREAK_WORD = 2, + BREAK_WORD = 2 } export enum LineBreakStrategy { - GREEDY, + GREEDY = 0, HIGH_QUALITY = 1, - BALANCED = 2, + BALANCED = 2 } export enum EllipsisMode { - START, + START = 0, CENTER = 1, - END = 2, + END = 2 } export enum OptionWidthMode { FIT_CONTENT = "fit_content", - FIT_TRIGGER = "fit_trigger", + FIT_TRIGGER = "fit_trigger" } export enum IlluminatedType { - NONE, + NONE = 0, BORDER = 1, CONTENT = 2, BORDER_CONTENT = 3, BLOOM_BORDER = 4, - BLOOM_BORDER_CONTENT = 5, + BLOOM_BORDER_CONTENT = 5 } export enum FoldStatus { - FOLD_STATUS_UNKNOWN, + FOLD_STATUS_UNKNOWN = 0, FOLD_STATUS_EXPANDED = 1, FOLD_STATUS_FOLDED = 2, - FOLD_STATUS_HALF_FOLDED = 3, + FOLD_STATUS_HALF_FOLDED = 3 } export enum AppRotation { - ROTATION_0, + ROTATION_0 = 0, ROTATION_90 = 1, ROTATION_180 = 2, - ROTATION_270 = 3, + ROTATION_270 = 3 } export enum EmbeddedType { - EMBEDDED_UI_EXTENSION, + EMBEDDED_UI_EXTENSION = 0 } export enum MarqueeUpdateStrategy { - DEFAULT, - PRESERVE_POSITION = 1, + DEFAULT = 0, + PRESERVE_POSITION = 1 } export enum TextDecorationStyle { - SOLID, + SOLID = 0, DOUBLE = 1, DOTTED = 2, DASHED = 3, - WAVY = 4, + WAVY = 4 } export enum TextSelectableMode { - SELECTABLE_UNFOCUSABLE, + SELECTABLE_UNFOCUSABLE = 0, SELECTABLE_FOCUSABLE = 1, - UNSELECTABLE = 2, + UNSELECTABLE = 2 } export enum AccessibilityHoverType { - HOVER_ENTER, + HOVER_ENTER = 0, HOVER_MOVE = 1, HOVER_EXIT = 2, - HOVER_CANCEL = 3, + HOVER_CANCEL = 3 } export enum WidthBreakpoint { - WIDTH_XS, + WIDTH_XS = 0, WIDTH_SM = 1, WIDTH_MD = 2, WIDTH_LG = 3, - WIDTH_XL = 4, + WIDTH_XL = 4 } export enum HeightBreakpoint { - HEIGHT_SM, + HEIGHT_SM = 0, HEIGHT_MD = 1, - HEIGHT_LG = 2, + HEIGHT_LG = 2 } export enum FocusPriority { - AUTO, + AUTO = 0, PRIOR = 2000, - PREVIOUS = 3000, + PREVIOUS = 3000 } export enum FormDimension { - DIMENSION_1_2, - Dimension_1_2 = DIMENSION_1_2, + DIMENSION_1_2 = 0, + Dimension_1_2 = 0, DIMENSION_2_2 = 1, - Dimension_2_2 = DIMENSION_2_2, + Dimension_2_2 = 1, DIMENSION_2_4 = 2, - Dimension_2_4 = DIMENSION_2_4, + Dimension_2_4 = 2, DIMENSION_4_4 = 3, - Dimension_4_4 = DIMENSION_4_4, + Dimension_4_4 = 3, DIMENSION_2_1 = 4, - Dimension_2_1 = DIMENSION_2_1, + Dimension_2_1 = 4, DIMENSION_1_1 = 6, - DIMENSION_6_4 = 7, + DIMENSION_6_4 = 7 } export enum FormRenderingMode { - FULL_COLOR, - SINGLE_COLOR = 1, + FULL_COLOR = 0, + SINGLE_COLOR = 1 } export enum FormShape { RECT = 1, - CIRCLE = 2, + CIRCLE = 2 } export enum PanDirection { - NONE, - None = NONE, + NONE = 0, + None = 0, HORIZONTAL = 1, - Horizontal = HORIZONTAL, + Horizontal = 1, LEFT = 2, - Left = LEFT, + Left = 2, RIGHT = 3, - Right = RIGHT, + Right = 3, VERTICAL = 4, - Vertical = VERTICAL, + Vertical = 4, UP = 5, - Up = UP, + Up = 5, DOWN = 6, - Down = DOWN, + Down = 6, ALL = 7, - All = ALL, + All = 7 } export enum SwipeDirection { - NONE, - None = NONE, + NONE = 0, + None = 0, HORIZONTAL = 1, - Horizontal = HORIZONTAL, + Horizontal = 1, VERTICAL = 2, - Vertical = VERTICAL, + Vertical = 2, ALL = 3, - All = ALL, + All = 3 } export enum GestureMode { - SEQUENCE, - Sequence = SEQUENCE, + SEQUENCE = 0, + Sequence = 0, PARALLEL = 1, - Parallel = PARALLEL, + Parallel = 1, EXCLUSIVE = 2, - Exclusive = EXCLUSIVE, + Exclusive = 2 } export enum GestureMask { - NORMAL, - Normal = NORMAL, + NORMAL = 0, + Normal = 0, IGNORE_INTERNAL = 1, - IgnoreInternal = IGNORE_INTERNAL, + IgnoreInternal = 1 } export enum GestureJudgeResult { - CONTINUE, - REJECT = 1, -} -export namespace GestureControl { - export enum GestureType { - TAP_GESTURE, - LONG_PRESS_GESTURE = 1, - PAN_GESTURE = 2, - PINCH_GESTURE = 3, - SWIPE_GESTURE = 4, - ROTATION_GESTURE = 5, - DRAG = 6, - CLICK = 7, - } + CONTINUE = 0, + REJECT = 1 +} +export enum GestureControl_GestureType { + TAP_GESTURE = 0, + LONG_PRESS_GESTURE = 1, + PAN_GESTURE = 2, + PINCH_GESTURE = 3, + SWIPE_GESTURE = 4, + ROTATION_GESTURE = 5, + DRAG = 6, + CLICK = 7 } export enum GesturePriority { - NORMAL, - PRIORITY = 1, + NORMAL = 0, + PRIORITY = 1 } export enum GestureRecognizerState { - READY, + READY = 0, DETECTING = 1, PENDING = 2, BLOCKED = 3, SUCCESSFUL = 4, - FAILED = 5, + FAILED = 5 } export enum GridDirection { - ROW, - Row = ROW, + ROW = 0, + Row = 0, COLUMN = 1, - Column = COLUMN, + Column = 1, ROW_REVERSE = 2, - RowReverse = ROW_REVERSE, + RowReverse = 2, COLUMN_REVERSE = 3, - ColumnReverse = COLUMN_REVERSE, + ColumnReverse = 3 } export enum GridItemAlignment { - DEFAULT, - STRETCH = 1, + DEFAULT = 0, + STRETCH = 1 } export enum GridItemStyle { - NONE, - PLAIN = 1, + NONE = 0, + PLAIN = 1 } export enum SizeType { - AUTO, - Auto = AUTO, + AUTO = 0, + Auto = 0, XS = 1, SM = 2, MD = 3, - LG = 4, + LG = 4 } export enum BreakpointsReference { - WINDOW_SIZE, - WindowSize = WINDOW_SIZE, + WINDOW_SIZE = 0, + WindowSize = 0, COMPONENT_SIZE = 1, - ComponentSize = COMPONENT_SIZE, + ComponentSize = 1 } export enum GridRowDirection { - ROW, - Row = ROW, + ROW = 0, + Row = 0, ROW_REVERSE = 1, - RowReverse = ROW_REVERSE, + RowReverse = 1 } export enum ImageRenderMode { - ORIGINAL, - Original = ORIGINAL, + ORIGINAL = 0, + Original = 0, TEMPLATE = 1, - Template = TEMPLATE, + Template = 1 } export enum ImageContent { - EMPTY, + EMPTY = 0 } export enum DynamicRangeMode { - HIGH, + HIGH = 0, CONSTRAINT = 1, - STANDARD = 2, + STANDARD = 2 } export enum ImageInterpolation { - NONE, - None = NONE, + NONE = 0, + None = 0, LOW = 1, - Low = LOW, + Low = 1, MEDIUM = 2, - Medium = MEDIUM, + Medium = 2, HIGH = 3, - High = HIGH, + High = 3 } export enum ImageAnalyzerType { - SUBJECT, + SUBJECT = 0, TEXT = 1, - OBJECT_LOOKUP = 2, + OBJECT_LOOKUP = 2 } export enum DataOperationType { ADD = "add", @@ -1258,97 +1256,97 @@ export enum DataOperationType { EXCHANGE = "exchange", MOVE = "move", CHANGE = "change", - RELOAD = "reload", + RELOAD = "reload" } export enum ScrollState { - IDLE, - Idle = IDLE, + IDLE = 0, + Idle = 0, SCROLL = 1, - Scroll = SCROLL, + Scroll = 1, FLING = 2, - Fling = FLING, + Fling = 2 } export enum ListItemAlign { - START, - Start = START, + START = 0, + Start = 0, CENTER = 1, - Center = CENTER, + Center = 1, END = 2, - End = END, + End = 2 } export enum ListItemGroupArea { - NONE, + NONE = 0, IN_LIST_ITEM_AREA = 1, IN_HEADER_AREA = 2, - IN_FOOTER_AREA = 3, + IN_FOOTER_AREA = 3 } export enum StickyStyle { - NONE, - None = NONE, + NONE = 0, + None = 0, HEADER = 1, - Header = HEADER, + Header = 1, FOOTER = 2, - Footer = FOOTER, + Footer = 2 } export enum ChainEdgeEffect { - DEFAULT, - STRETCH = 1, + DEFAULT = 0, + STRETCH = 1 } export enum ScrollSnapAlign { - NONE, + NONE = 0, START = 1, CENTER = 2, - END = 3, + END = 3 } export enum Sticky { - NONE, - None = NONE, + NONE = 0, + None = 0, NORMAL = 1, - Normal = NORMAL, + Normal = 1, OPACITY = 2, - Opacity = OPACITY, + Opacity = 2 } export enum EditMode { - NONE, - None = NONE, + NONE = 0, + None = 0, DELETABLE = 1, - Deletable = DELETABLE, + Deletable = 1, MOVABLE = 2, - Movable = MOVABLE, + Movable = 2 } export enum SwipeEdgeEffect { - SPRING, - Spring = SPRING, + SPRING = 0, + Spring = 0, NONE = 1, - None = NONE, + None = 1 } export enum SwipeActionState { - COLLAPSED, + COLLAPSED = 0, EXPANDED = 1, - ACTIONING = 2, + ACTIONING = 2 } export enum ListItemStyle { - NONE, - CARD = 1, + NONE = 0, + CARD = 1 } export enum ListItemGroupStyle { - NONE, - CARD = 1, + NONE = 0, + CARD = 1 } export enum LoadingProgressStyle { - DEFAULT, - Default = DEFAULT, + DEFAULT = 0, + Default = 0, CIRCULAR = 1, - Circular = CIRCULAR, + Circular = 1, ORBITAL = 2, - Orbital = ORBITAL, + Orbital = 2 } export enum LocationIconStyle { - FULL_FILLED, - LINES = 1, + FULL_FILLED = 0, + LINES = 1 } export enum LocationDescription { - CURRENT_LOCATION, + CURRENT_LOCATION = 0, ADD_LOCATION = 1, SELECT_LOCATION = 2, SHARE_LOCATION = 3, @@ -1358,239 +1356,239 @@ export enum LocationDescription { SEND_CURRENT_LOCATION = 7, RELOCATION = 8, PUNCH_IN = 9, - CURRENT_POSITION = 10, + CURRENT_POSITION = 10 } export enum LocationButtonOnClickResult { - SUCCESS, - TEMPORARY_AUTHORIZATION_FAILED = 1, + SUCCESS = 0, + TEMPORARY_AUTHORIZATION_FAILED = 1 } export enum SubMenuExpandingMode { - SIDE_EXPAND, + SIDE_EXPAND = 0, EMBEDDED_EXPAND = 1, - STACK_EXPAND = 2, + STACK_EXPAND = 2 } export enum NavigationSystemTransitionType { - DEFAULT, + DEFAULT = 0, NONE = 1, TITLE = 2, - CONTENT = 3, + CONTENT = 3 } export enum NavDestinationMode { - STANDARD, - DIALOG = 1, + STANDARD = 0, + DIALOG = 1 } export enum NavRouteMode { - PUSH_WITH_RECREATE, + PUSH_WITH_RECREATE = 0, PUSH = 1, - REPLACE = 2, + REPLACE = 2 } export enum NavigationMode { - STACK, - Stack = STACK, + STACK = 0, + Stack = 0, SPLIT = 1, - Split = SPLIT, + Split = 1, AUTO = 2, - Auto = AUTO, + Auto = 2 } export enum NavBarPosition { - START, - Start = START, + START = 0, + Start = 0, END = 1, - End = END, + End = 1 } export enum NavigationTitleMode { - FREE, - Free = FREE, + FREE = 0, + Free = 0, FULL = 1, - Full = FULL, + Full = 1, MINI = 2, - Mini = MINI, + Mini = 2 } export enum LaunchMode { - STANDARD, + STANDARD = 0, MOVE_TO_TOP_SINGLETON = 1, POP_TO_SINGLETON = 2, - NEW_INSTANCE = 3, + NEW_INSTANCE = 3 } export enum ToolbarItemStatus { - NORMAL, + NORMAL = 0, DISABLED = 1, - ACTIVE = 2, + ACTIVE = 2 } export enum NavigationOperation { PUSH = 1, POP = 2, - REPLACE = 3, + REPLACE = 3 } export enum BarStyle { - STANDARD, + STANDARD = 0, STACK = 1, - SAFE_AREA_PADDING = 2, + SAFE_AREA_PADDING = 2 } export enum NavigationType { - PUSH, - Push = PUSH, + PUSH = 0, + Push = 0, BACK = 1, - Back = BACK, + Back = 1, REPLACE = 2, - Replace = REPLACE, + Replace = 2 } export enum RouteType { - NONE, - None = NONE, + NONE = 0, + None = 0, PUSH = 1, - Push = PUSH, + Push = 1, POP = 2, - Pop = POP, + Pop = 2 } export enum SlideEffect { - LEFT, - Left = LEFT, + LEFT = 0, + Left = 0, RIGHT = 1, - Right = RIGHT, + Right = 1, TOP = 2, - Top = TOP, + Top = 2, BOTTOM = 3, - Bottom = BOTTOM, + Bottom = 3, START = 5, - END = 6, + END = 6 } export enum PanelMode { - MINI, - Mini = MINI, + MINI = 0, + Mini = 0, HALF = 1, - Half = HALF, + Half = 1, FULL = 2, - Full = FULL, + Full = 2 } export enum PanelType { - MINIBAR, - Minibar = MINIBAR, + MINIBAR = 0, + Minibar = 0, FOLDABLE = 1, - Foldable = FOLDABLE, + Foldable = 1, TEMPORARY = 2, - Temporary = TEMPORARY, - CUSTOM = 3, + Temporary = 2, + CUSTOM = 3 } export enum PanelHeight { - WRAP_CONTENT = "wrapContent", + WRAP_CONTENT = "wrapContent" } export enum ParticleType { POINT = "point", - IMAGE = "image", + IMAGE = "image" } export enum ParticleEmitterShape { RECTANGLE = "rectangle", CIRCLE = "circle", - ELLIPSE = "ellipse", + ELLIPSE = "ellipse" } export enum DistributionType { - UNIFORM, - GAUSSIAN = 1, + UNIFORM = 0, + GAUSSIAN = 1 } export enum ParticleUpdater { NONE = "none", RANDOM = "random", - CURVE = "curve", + CURVE = "curve" } export enum DisturbanceFieldShape { - RECT, + RECT = 0, CIRCLE = 1, - ELLIPSE = 2, + ELLIPSE = 2 } export enum PasteIconStyle { - LINES, + LINES = 0 } export enum PasteDescription { - PASTE, + PASTE = 0 } export enum PasteButtonOnClickResult { - SUCCESS, - TEMPORARY_AUTHORIZATION_FAILED = 1, + SUCCESS = 0, + TEMPORARY_AUTHORIZATION_FAILED = 1 } export enum PatternLockChallengeResult { CORRECT = 1, - WRONG = 2, + WRONG = 2 } export enum ProgressType { - LINEAR, - Linear = LINEAR, + LINEAR = 0, + Linear = 0, RING = 1, - Ring = RING, + Ring = 1, ECLIPSE = 2, - Eclipse = ECLIPSE, + Eclipse = 2, SCALE_RING = 3, - ScaleRing = SCALE_RING, + ScaleRing = 3, CAPSULE = 4, - Capsule = CAPSULE, + Capsule = 4 } export enum ProgressStatus { - LOADING, - PROGRESSING = 1, + LOADING = 0, + PROGRESSING = 1 } export enum ProgressStyle { - LINEAR, - Linear = LINEAR, + LINEAR = 0, + Linear = 0, RING = 1, - Ring = RING, + Ring = 1, ECLIPSE = 2, - Eclipse = ECLIPSE, + Eclipse = 2, SCALE_RING = 3, - ScaleRing = SCALE_RING, + ScaleRing = 3, CAPSULE = 4, - Capsule = CAPSULE, + Capsule = 4 } export enum RadioIndicatorType { - TICK, + TICK = 0, DOT = 1, - CUSTOM = 2, + CUSTOM = 2 } export enum RefreshStatus { - INACTIVE, - Inactive = INACTIVE, + INACTIVE = 0, + Inactive = 0, DRAG = 1, - Drag = DRAG, + Drag = 1, OVER_DRAG = 2, - OverDrag = OVER_DRAG, + OverDrag = 2, REFRESH = 3, - Refresh = REFRESH, + Refresh = 3, DONE = 4, - Done = DONE, + Done = 4 } export enum BarrierDirection { - LEFT, + LEFT = 0, RIGHT = 1, TOP = 2, - BOTTOM = 3, + BOTTOM = 3 } export enum LocalizedBarrierDirection { - START, + START = 0, END = 1, TOP = 2, - BOTTOM = 3, + BOTTOM = 3 } export enum RichEditorDeleteDirection { - BACKWARD, - FORWARD = 1, + BACKWARD = 0, + FORWARD = 1 } export enum RichEditorSpanType { - TEXT, + TEXT = 0, IMAGE = 1, MIXED = 2, - BUILDER = 3, + BUILDER = 3 } export enum RichEditorResponseType { - RIGHT_CLICK, + RIGHT_CLICK = 0, LONG_PRESS = 1, - SELECT = 2, + SELECT = 2 } export enum SaveIconStyle { - FULL_FILLED, + FULL_FILLED = 0, LINES = 1, - PICTURE = 2, + PICTURE = 2 } export enum SaveDescription { - DOWNLOAD, + DOWNLOAD = 0, DOWNLOAD_FILE = 1, SAVE = 2, SAVE_IMAGE = 3, @@ -1601,192 +1599,192 @@ export enum SaveDescription { SAVE_TO_GALLERY = 8, EXPORT_TO_GALLERY = 9, QUICK_SAVE_TO_GALLERY = 10, - RESAVE_TO_GALLERY = 11, + RESAVE_TO_GALLERY = 11 } export enum SaveButtonOnClickResult { - SUCCESS, - TEMPORARY_AUTHORIZATION_FAILED = 1, + SUCCESS = 0, + TEMPORARY_AUTHORIZATION_FAILED = 1 } export enum ScrollDirection { - VERTICAL, - Vertical = VERTICAL, + VERTICAL = 0, + Vertical = 0, HORIZONTAL = 1, - Horizontal = HORIZONTAL, + Horizontal = 1, FREE = 2, - Free = FREE, + Free = 2, NONE = 3, - None = NONE, + None = 3 } export enum ScrollAlign { - START, + START = 0, CENTER = 1, END = 2, - AUTO = 3, + AUTO = 3 } export enum ScrollBarDirection { - VERTICAL, - Vertical = VERTICAL, + VERTICAL = 0, + Vertical = 0, HORIZONTAL = 1, - Horizontal = HORIZONTAL, + Horizontal = 1 } export enum CancelButtonStyle { - CONSTANT, + CONSTANT = 0, INVISIBLE = 1, - INPUT = 2, + INPUT = 2 } export enum SearchType { - NORMAL, + NORMAL = 0, NUMBER = 2, PHONE_NUMBER = 3, EMAIL = 5, NUMBER_DECIMAL = 12, - URL = 13, + URL = 13 } export enum SecurityComponentLayoutDirection { - HORIZONTAL, - VERTICAL = 1, + HORIZONTAL = 0, + VERTICAL = 1 } export enum ArrowPosition { - END, - START = 1, + END = 0, + START = 1 } export enum MenuAlignType { - START, + START = 0, CENTER = 1, - END = 2, + END = 2 } export enum SliderStyle { - OUT_SET, - OutSet = OUT_SET, + OUT_SET = 0, + OutSet = 0, IN_SET = 1, - InSet = IN_SET, - NONE = 2, + InSet = 1, + NONE = 2 } export enum SliderChangeMode { - BEGIN, - Begin = BEGIN, + BEGIN = 0, + Begin = 0, MOVING = 1, - Moving = MOVING, + Moving = 1, END = 2, - End = END, + End = 2, CLICK = 3, - Click = CLICK, + Click = 3 } export enum SliderInteraction { - SLIDE_AND_CLICK, + SLIDE_AND_CLICK = 0, SLIDE_ONLY = 1, - SLIDE_AND_CLICK_UP = 2, + SLIDE_AND_CLICK_UP = 2 } export enum SliderBlockType { - DEFAULT, + DEFAULT = 0, IMAGE = 1, - SHAPE = 2, + SHAPE = 2 } export enum ColorMode { - LIGHT, - DARK = 1, + LIGHT = 0, + DARK = 1 } export enum LayoutDirection { - LTR, + LTR = 0, RTL = 1, AUTO = 2, - Auto = AUTO, + Auto = 2 } export enum ItemState { - NORMAL, - Normal = NORMAL, + NORMAL = 0, + Normal = 0, DISABLED = 1, - Disabled = DISABLED, + Disabled = 1, WAITING = 2, - Waiting = WAITING, + Waiting = 2, SKIP = 3, - Skip = SKIP, + Skip = 3 } export enum SwiperDisplayMode { - LEGACY_STRETCH, - Stretch = LEGACY_STRETCH, + LEGACY_STRETCH = 0, + Stretch = 0, LEGACY_AUTO_LINEAR = 1, - AutoLinear = LEGACY_AUTO_LINEAR, + AutoLinear = 1, STRETCH = 2, - AUTO_LINEAR = 3, + AUTO_LINEAR = 3 } export enum SwiperNestedScrollMode { - SELF_ONLY, - SELF_FIRST = 1, + SELF_ONLY = 0, + SELF_FIRST = 1 } export enum SymbolRenderingStrategy { - SINGLE, + SINGLE = 0, MULTIPLE_COLOR = 1, - MULTIPLE_OPACITY = 2, + MULTIPLE_OPACITY = 2 } export enum SymbolEffectStrategy { - NONE, + NONE = 0, SCALE = 1, - HIERARCHICAL = 2, + HIERARCHICAL = 2 } export enum EffectDirection { - DOWN, - UP = 1, + DOWN = 0, + UP = 1 } export enum EffectScope { - LAYER, - WHOLE = 1, + LAYER = 0, + WHOLE = 1 } export enum EffectFillStyle { - CUMULATIVE, - ITERATIVE = 1, + CUMULATIVE = 0, + ITERATIVE = 1 } export enum BarMode { - SCROLLABLE, - Scrollable = SCROLLABLE, + SCROLLABLE = 0, + Scrollable = 0, FIXED = 1, - Fixed = FIXED, + Fixed = 1 } export enum AnimationMode { - CONTENT_FIRST, + CONTENT_FIRST = 0, ACTION_FIRST = 1, - NO_ANIMATION = 2, + NO_ANIMATION = 2 } export enum BarPosition { - START, - Start = START, + START = 0, + Start = 0, END = 1, - End = END, + End = 1 } export enum LayoutStyle { - ALWAYS_CENTER, + ALWAYS_CENTER = 0, ALWAYS_AVERAGE_SPLIT = 1, - SPACE_BETWEEN_OR_CENTER = 2, + SPACE_BETWEEN_OR_CENTER = 2 } export enum SelectedMode { - INDICATOR, - BOARD = 1, + INDICATOR = 0, + BOARD = 1 } export enum LayoutMode { - AUTO, + AUTO = 0, VERTICAL = 1, - HORIZONTAL = 2, + HORIZONTAL = 2 } export enum TextSpanType { - TEXT, + TEXT = 0, IMAGE = 1, - MIXED = 2, + MIXED = 2 } export enum TextResponseType { - RIGHT_CLICK, + RIGHT_CLICK = 0, LONG_PRESS = 1, - SELECT = 2, + SELECT = 2 } export enum TextAreaType { - NORMAL, + NORMAL = 0, NUMBER = 2, PHONE_NUMBER = 3, EMAIL = 5, NUMBER_DECIMAL = 12, - URL = 13, + URL = 13 } export enum ContentType { - USER_NAME, + USER_NAME = 0, PASSWORD = 1, NEW_PASSWORD = 2, FULL_STREET_ADDRESS = 3, @@ -1806,303 +1804,303 @@ export enum ContentType { ID_CARD_NUMBER = 17, NICKNAME = 23, DETAIL_INFO_WITHOUT_STREET = 24, - FORMAT_ADDRESS = 25, + FORMAT_ADDRESS = 25 } export enum TextDataDetectorType { - PHONE_NUMBER, + PHONE_NUMBER = 0, URL = 1, EMAIL = 2, ADDRESS = 3, - DATE_TIME = 4, + DATE_TIME = 4 } export enum TextDeleteDirection { - BACKWARD, - FORWARD = 1, + BACKWARD = 0, + FORWARD = 1 } export enum MenuType { - SELECTION_MENU, - PREVIEW_MENU = 1, + SELECTION_MENU = 0, + PREVIEW_MENU = 1 } export enum InputType { - NORMAL, - Normal = NORMAL, + NORMAL = 0, + Normal = 0, NUMBER = 1, - Number = NUMBER, + Number = 1, PHONE_NUMBER = 2, - PhoneNumber = PHONE_NUMBER, + PhoneNumber = 2, EMAIL = 3, - Email = EMAIL, + Email = 3, PASSWORD = 4, - Password = PASSWORD, + Password = 4, NUMBER_PASSWORD = 8, SCREEN_LOCK_PASSWORD = 9, USER_NAME = 10, NEW_PASSWORD = 11, NUMBER_DECIMAL = 12, - URL = 13, + URL = 13 } export enum EnterKeyType { GO = 2, - Go = GO, + Go = 2, SEARCH = 3, - Search = SEARCH, + Search = 3, SEND = 4, - Send = SEND, + Send = 4, NEXT = 5, - Next = NEXT, + Next = 5, DONE = 6, - Done = DONE, + Done = 6, PREVIOUS = 7, - NEW_LINE = 8, + NEW_LINE = 8 } export enum TextInputStyle { - DEFAULT, - Default = DEFAULT, + DEFAULT = 0, + Default = 0, INLINE = 1, - Inline = INLINE, + Inline = 1 } export enum TimePickerFormat { - HOUR_MINUTE, - HOUR_MINUTE_SECOND = 1, + HOUR_MINUTE = 0, + HOUR_MINUTE_SECOND = 1 } export enum ToggleType { - CHECKBOX, - Checkbox = CHECKBOX, + CHECKBOX = 0, + Checkbox = 0, SWITCH = 1, - Switch = SWITCH, + Switch = 1, BUTTON = 2, - Button = BUTTON, + Button = 2 } export enum SeekMode { - PREVIOUS_KEYFRAME, - PreviousKeyframe = PREVIOUS_KEYFRAME, + PREVIOUS_KEYFRAME = 0, + PreviousKeyframe = 0, NEXT_KEYFRAME = 1, - NextKeyframe = NEXT_KEYFRAME, + NextKeyframe = 1, CLOSEST_KEYFRAME = 2, - ClosestKeyframe = CLOSEST_KEYFRAME, + ClosestKeyframe = 2, ACCURATE = 3, - Accurate = ACCURATE, + Accurate = 3 } export enum PlaybackSpeed { - SPEED_FORWARD_0_75_X, - Speed_Forward_0_75_X = SPEED_FORWARD_0_75_X, + SPEED_FORWARD_0_75_X = 0, + Speed_Forward_0_75_X = 0, SPEED_FORWARD_1_00_X = 1, - Speed_Forward_1_00_X = SPEED_FORWARD_1_00_X, + Speed_Forward_1_00_X = 1, SPEED_FORWARD_1_25_X = 2, - Speed_Forward_1_25_X = SPEED_FORWARD_1_25_X, + Speed_Forward_1_25_X = 2, SPEED_FORWARD_1_75_X = 3, - Speed_Forward_1_75_X = SPEED_FORWARD_1_75_X, + Speed_Forward_1_75_X = 3, SPEED_FORWARD_2_00_X = 4, - Speed_Forward_2_00_X = SPEED_FORWARD_2_00_X, + Speed_Forward_2_00_X = 4 } export enum MessageLevel { - DEBUG, - Debug = DEBUG, + DEBUG = 0, + Debug = 0, ERROR = 1, - Error = ERROR, + Error = 1, INFO = 2, - Info = INFO, + Info = 2, LOG = 3, - Log = LOG, + Log = 3, WARN = 4, - Warn = WARN, + Warn = 4 } export enum MixedMode { - ALL, - All = ALL, + ALL = 0, + All = 0, COMPATIBLE = 1, - Compatible = COMPATIBLE, + Compatible = 1, NONE = 2, - None = NONE, + None = 2 } export enum HitTestType { - EDIT_TEXT, - EditText = EDIT_TEXT, + EDIT_TEXT = 0, + EditText = 0, EMAIL = 1, - Email = EMAIL, + Email = 1, HTTP_ANCHOR = 2, - HttpAnchor = HTTP_ANCHOR, + HttpAnchor = 2, HTTP_ANCHOR_IMG = 3, - HttpAnchorImg = HTTP_ANCHOR_IMG, + HttpAnchorImg = 3, IMG = 4, - Img = IMG, + Img = 4, MAP = 5, - Map = MAP, + Map = 5, PHONE = 6, - Phone = PHONE, + Phone = 6, UNKNOWN = 7, - Unknown = UNKNOWN, + Unknown = 7 } export enum CacheMode { - DEFAULT, - Default = DEFAULT, + DEFAULT = 0, + Default = 0, NONE = 1, - None = NONE, + None = 1, ONLINE = 2, - Online = ONLINE, + Online = 2, ONLY = 3, - Only = ONLY, + Only = 3 } export enum OverScrollMode { - NEVER, - ALWAYS = 1, + NEVER = 0, + ALWAYS = 1 } export enum WebDarkMode { - OFF, - Off = OFF, + OFF = 0, + Off = 0, ON = 1, - On = ON, + On = 1, AUTO = 2, - Auto = AUTO, + Auto = 2 } export enum WebCaptureMode { - HOME_SCREEN, + HOME_SCREEN = 0 } export enum ThreatType { - THREAT_ILLEGAL, + THREAT_ILLEGAL = 0, THREAT_FRAUD = 1, THREAT_RISK = 2, - THREAT_WARNING = 3, + THREAT_WARNING = 3 } export enum RenderExitReason { - PROCESS_ABNORMAL_TERMINATION, - ProcessAbnormalTermination = PROCESS_ABNORMAL_TERMINATION, + PROCESS_ABNORMAL_TERMINATION = 0, + ProcessAbnormalTermination = 0, PROCESS_WAS_KILLED = 1, - ProcessWasKilled = PROCESS_WAS_KILLED, + ProcessWasKilled = 1, PROCESS_CRASHED = 2, - ProcessCrashed = PROCESS_CRASHED, + ProcessCrashed = 2, PROCESS_OOM = 3, - ProcessOom = PROCESS_OOM, + ProcessOom = 3, PROCESS_EXIT_UNKNOWN = 4, - ProcessExitUnknown = PROCESS_EXIT_UNKNOWN, + ProcessExitUnknown = 4 } export enum SslError { - INVALID, - Invalid = INVALID, + INVALID = 0, + Invalid = 0, HOST_MISMATCH = 1, - HostMismatch = HOST_MISMATCH, + HostMismatch = 1, DATE_INVALID = 2, - DateInvalid = DATE_INVALID, + DateInvalid = 2, UNTRUSTED = 3, - Untrusted = UNTRUSTED, + Untrusted = 3 } export enum FileSelectorMode { - FILE_OPEN_MODE, - FileOpenMode = FILE_OPEN_MODE, + FILE_OPEN_MODE = 0, + FileOpenMode = 0, FILE_OPEN_MULTIPLE_MODE = 1, - FileOpenMultipleMode = FILE_OPEN_MULTIPLE_MODE, + FileOpenMultipleMode = 1, FILE_OPEN_FOLDER_MODE = 2, - FileOpenFolderMode = FILE_OPEN_FOLDER_MODE, + FileOpenFolderMode = 2, FILE_SAVE_MODE = 3, - FileSaveMode = FILE_SAVE_MODE, + FileSaveMode = 3 } export enum WebLayoutMode { - NONE, - FIT_CONTENT = 1, + NONE = 0, + FIT_CONTENT = 1 } export enum RenderProcessNotRespondingReason { - INPUT_TIMEOUT, - NAVIGATION_COMMIT_TIMEOUT = 1, + INPUT_TIMEOUT = 0, + NAVIGATION_COMMIT_TIMEOUT = 1 } export enum ProtectedResourceType { MIDI_SYSEX = "TYPE_MIDI_SYSEX", - MidiSysex = MIDI_SYSEX, + MidiSysex = "TYPE_MIDI_SYSEX", VIDEO_CAPTURE = "TYPE_VIDEO_CAPTURE", AUDIO_CAPTURE = "TYPE_AUDIO_CAPTURE", - SENSOR = "TYPE_SENSOR", + SENSOR = "TYPE_SENSOR" } export enum ContextMenuSourceType { - NONE, - None = NONE, + NONE = 0, + None = 0, MOUSE = 1, - Mouse = MOUSE, + Mouse = 1, LONG_PRESS = 2, - LongPress = LONG_PRESS, + LongPress = 2 } export enum ContextMenuMediaType { - NONE, - None = NONE, + NONE = 0, + None = 0, IMAGE = 1, - Image = IMAGE, + Image = 1 } export enum ContextMenuInputFieldType { - NONE, - None = NONE, + NONE = 0, + None = 0, PLAIN_TEXT = 1, - PlainText = PLAIN_TEXT, + PlainText = 1, PASSWORD = 2, - Password = PASSWORD, + Password = 2, NUMBER = 3, - Number = NUMBER, + Number = 3, TELEPHONE = 4, - Telephone = TELEPHONE, + Telephone = 4, OTHER = 5, - Other = OTHER, + Other = 5 } export enum NativeEmbedStatus { - CREATE, + CREATE = 0, UPDATE = 1, DESTROY = 2, ENTER_BFCACHE = 3, - LEAVE_BFCACHE = 4, + LEAVE_BFCACHE = 4 } export enum ContextMenuEditStateFlags { - NONE, + NONE = 0, CAN_CUT = 1, CAN_COPY = 2, CAN_PASTE = 4, - CAN_SELECT_ALL = 8, + CAN_SELECT_ALL = 8 } export enum WebNavigationType { - UNKNOWN, + UNKNOWN = 0, MAIN_FRAME_NEW_ENTRY = 1, MAIN_FRAME_EXISTING_ENTRY = 2, NAVIGATION_TYPE_NEW_SUBFRAME = 4, - NAVIGATION_TYPE_AUTO_SUBFRAME = 5, + NAVIGATION_TYPE_AUTO_SUBFRAME = 5 } export enum RenderMode { - ASYNC_RENDER, - SYNC_RENDER = 1, + ASYNC_RENDER = 0, + SYNC_RENDER = 1 } export enum ViewportFit { - AUTO, + AUTO = 0, CONTAINS = 1, - COVER = 2, + COVER = 2 } export enum WebKeyboardAvoidMode { - RESIZE_VISUAL, + RESIZE_VISUAL = 0, RESIZE_CONTENT = 1, - OVERLAYS_CONTENT = 2, + OVERLAYS_CONTENT = 2 } export enum WebElementType { - IMAGE = 1, + IMAGE = 1 } export enum WebResponseType { - LONG_PRESS = 1, + LONG_PRESS = 1 } export enum SideBarContainerType { - EMBED, - Embed = EMBED, + EMBED = 0, + Embed = 0, OVERLAY = 1, - Overlay = OVERLAY, - AUTO = 2, + Overlay = 1, + AUTO = 2 } export enum SideBarPosition { - START, - Start = START, + START = 0, + Start = 0, END = 1, - End = END, + End = 1 } export enum WaterFlowLayoutMode { - ALWAYS_TOP_DOWN, - SLIDING_WINDOW = 1, + ALWAYS_TOP_DOWN = 0, + SLIDING_WINDOW = 1 } export enum DpiFollowStrategy { - FOLLOW_HOST_DPI, - FOLLOW_UI_EXTENSION_ABILITY_DPI = 1, + FOLLOW_HOST_DPI = 0, + FOLLOW_UI_EXTENSION_ABILITY_DPI = 1 } export enum StyledStringKey { - FONT, + FONT = 0, DECORATION = 1, BASELINE_OFFSET = 2, LETTER_SPACING = 3, @@ -2114,5 +2112,5 @@ export enum StyledStringKey { PARAGRAPH_STYLE = 200, IMAGE = 300, CUSTOM_SPAN = 400, - USER_DATA = 500, + USER_DATA = 500 } \ No newline at end of file diff --git a/arkoala/tools/peer-generator/package.json b/arkoala/tools/peer-generator/package.json index e321710c7..4e539d0c8 100644 --- a/arkoala/tools/peer-generator/package.json +++ b/arkoala/tools/peer-generator/package.json @@ -2,8 +2,8 @@ "name": "peer-generator", "description": "", "config": { - "idlize_version": "1.3.29", - "api_version": "110", + "idlize_version": "2.0.2", + "api_version": "111", "input_dir": "../../arkui-common/interface_sdk-js/api/@internal/component/ets/,../../arkui-common/interface_sdk-js/api/global" }, "scripts": { -- Gitee From 0dbba484ac03ed408d0b2400b11be543b0756efa Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Mon, 20 Jan 2025 18:54:53 +0300 Subject: [PATCH 3/6] Fix TS Signed-off-by: Nikolay Igotti --- arkoala/arkui-types/index-full.d.ts | 4 +- .../arkui/src/ArkNavPathStackMaterialized.ts | 145 +++++++----------- 2 files changed, 58 insertions(+), 91 deletions(-) diff --git a/arkoala/arkui-types/index-full.d.ts b/arkoala/arkui-types/index-full.d.ts index bab7b9881..fa757a1a5 100644 --- a/arkoala/arkui-types/index-full.d.ts +++ b/arkoala/arkui-types/index-full.d.ts @@ -377,8 +377,6 @@ declare interface PixelMap { readPixelsToBufferSync(dst: ArrayBuffer): void; writeBufferToPixels(src: ArrayBuffer): void; } -declare interface ESObject { -} declare interface Point { x: number; y: number; @@ -9066,4 +9064,4 @@ declare const WaterFlowInstance: WaterFlowAttribute declare const UIExtensionComponent: UIExtensionComponentInterface declare const UIExtensionComponentInstance: UIExtensionComponentAttribute declare const LinearIndicator: LinearIndicatorInterface -declare const LinearIndicatorInstance: LinearIndicatorAttribute \ No newline at end of file +declare const LinearIndicatorInstance: LinearIndicatorAttribute diff --git a/arkoala/arkui/src/ArkNavPathStackMaterialized.ts b/arkoala/arkui/src/ArkNavPathStackMaterialized.ts index 651cf0407..d925ea4c4 100644 --- a/arkoala/arkui/src/ArkNavPathStackMaterialized.ts +++ b/arkoala/arkui/src/ArkNavPathStackMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Copyright (c) 2024 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 @@ -46,114 +46,101 @@ import { KFloat32ArrayPtr, pointer } from "@koalaui/interop" +import { NavPathStackExtender } from "./handwritten/ArkNavPathStack" -export class NavPathStack implements MaterializedBase { - peer?: Finalizable | undefined +export class NavPathStack implements MaterializedBase,NavPathStack { + _extender = new NavPathStackExtender() + peer?: Finalizable getPeer(): Finalizable | undefined { return this.peer } + static construct(ptr: KPointer): NavPathStack { + const objNavPathStack: NavPathStack = new NavPathStack() + objNavPathStack.peer = new Finalizable(ptr, NavPathStack.getFinalizer()) + return objNavPathStack + } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._NavPathStack_ctor() return retval } - constructor() { - { - const ctorPtr: KPointer = NavPathStack.ctor() - this.peer = new Finalizable(ctorPtr, NavPathStack.getFinalizer()) - } + constructor() { + const ctorPtr: KPointer = NavPathStack.ctor() + this.peer = new Finalizable(ctorPtr, NavPathStack.getFinalizer()) } static getFinalizer(): KPointer { return ArkUIGeneratedNativeModule._NavPathStack_getFinalizer() } 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") + this._extender.push(info.name, info.param as (Object | undefined)) } 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)))) { + if ((((RuntimeType.OBJECT) == (info_type)) && (info instanceof NavPathInfo)) && (((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)))) { + if ((((RuntimeType.OBJECT) == (info_type)) && (info instanceof NavPathInfo)) && (((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) + const animated_casted = animated as (NavigationOptions | undefined) + return this.pushDestination1_serialize(info_casted, animated_casted) } throw new Error("Can not select appropriate overload") } - pushPathByName(name: string, param: unknown | Object, onPop?: boolean | undefined | ((parameter: PopInfo) => void), animated?: boolean): void { + pushPathByName(name: string, param: Object | unknown, 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.OBJECT == 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.OBJECT == param_type))) && (((RuntimeType.FUNCTION == onPop_type))) && (((RuntimeType.BOOLEAN == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { + if ((((RuntimeType.STRING == name_type))) && (((RuntimeType.OBJECT == 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.STRING == name_type))) && (((RuntimeType.OBJECT == 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 onPop_casted = onPop as (boolean | undefined) + this?.pushPathByName0_serialize(name_casted, param_casted, onPop_casted) } throw new Error("Can not select appropriate overload") } - pushDestinationByName(name: string, param: Object, onPop?: boolean | undefined | ((parameter: PopInfo) => void), animated?: boolean): Promise { + pushDestinationByName(name: string, param: Object, onPop?: ((parameter: PopInfo) => void) | boolean | undefined, 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)))) { + if ((((RuntimeType.STRING == name_type))) && (((RuntimeType.OBJECT == 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) return this.pushDestinationByName1_serialize(name_casted, param_casted, onPop_casted, animated_casted) } + if ((((RuntimeType.STRING == name_type))) && (((RuntimeType.OBJECT == 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 onPop_casted = onPop as (boolean | undefined) + return this.pushDestinationByName0_serialize(name_casted, param_casted, onPop_casted) + } throw new Error("Can not select appropriate overload") } 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)))) { + if ((((RuntimeType.OBJECT) == (info_type)) && (info instanceof NavPathInfo)) && (((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)))) { + if ((((RuntimeType.OBJECT) == (info_type)) && (info instanceof NavPathInfo)) && (((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 + const animated_casted = animated as (NavigationOptions | undefined) + this?.replacePath1_serialize(info_casted, animated_casted) } throw new Error("Can not select appropriate overload") } @@ -167,7 +154,6 @@ export class NavPathStack implements MaterializedBase { const param_casted = param as (Object) const animated_casted = animated as (boolean | undefined) this?.replacePathByName_serialize(name_casted, param_casted, animated_casted) - return } removeByIndexes(indexes: Array): number { const indexes_casted = indexes as (Array) @@ -181,53 +167,41 @@ export class NavPathStack implements MaterializedBase { const navDestinationId_casted = navDestinationId as (string) return this.removeByNavDestinationId_serialize(navDestinationId_casted) } - 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.OBJECT == 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") + pop(result?: Object | boolean | undefined, animated?: boolean): NavPathInfo | undefined { + this._extender.pop() + return undefined } - popToName(name: string, result?: boolean | undefined | Object, animated?: boolean): number { + popToName(name: string, result?: Object | boolean | undefined, 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.OBJECT == result_type))) && (((RuntimeType.BOOLEAN == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { + if ((((RuntimeType.STRING == name_type))) && (((RuntimeType.OBJECT == 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) } + if ((((RuntimeType.STRING == name_type))) && (((RuntimeType.BOOLEAN == result_type)) || ((RuntimeType.UNDEFINED == result_type))) && (((RuntimeType.UNDEFINED == animated_type)))) { + const name_casted = name as (string) + const result_casted = result as (boolean | undefined) + return this.popToName0_serialize(name_casted, result_casted) + } throw new Error("Can not select appropriate overload") } - popToIndex(index: number, result?: boolean | undefined | Object, animated?: boolean): void { + popToIndex(index: number, result?: Object | boolean | undefined, 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.OBJECT == result_type))) && (((RuntimeType.BOOLEAN == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { + if ((((RuntimeType.NUMBER == index_type))) && (((RuntimeType.OBJECT == 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 + } + if ((((RuntimeType.NUMBER == index_type))) && (((RuntimeType.BOOLEAN == result_type)) || ((RuntimeType.UNDEFINED == result_type))) && (((RuntimeType.UNDEFINED == animated_type)))) { + const index_casted = index as (number) + const result_casted = result as (boolean | undefined) + this?.popToIndex0_serialize(index_casted, result_casted) } throw new Error("Can not select appropriate overload") } @@ -240,12 +214,10 @@ export class NavPathStack implements MaterializedBase { const index_casted = index as (number) const animated_casted = animated as (boolean | undefined) this?.moveIndexToTop_serialize(index_casted, animated_casted) - return } clear(animated?: boolean): void { const animated_casted = animated as (boolean | undefined) this?.clear_serialize(animated_casted) - return } getAllPathName(): Array { return this.getAllPathName_serialize() @@ -255,8 +227,7 @@ export class NavPathStack implements MaterializedBase { return this.getParamByIndex_serialize(index_casted) } getParamByName(name: string): Array { - const name_casted = name as (string) - return this.getParamByName_serialize(name_casted) + return this._extender.getParamByName(name) } getIndexByName(name: string): Array { const name_casted = name as (string) @@ -271,12 +242,10 @@ export class NavPathStack implements MaterializedBase { disableAnimation(value: boolean): void { const value_casted = value as (boolean) this?.disableAnimation_serialize(value_casted) - return } setInterception(interception: NavigationInterception): void { const interception_casted = interception as (NavigationInterception) this?.setInterception_serialize(interception_casted) - return } private pushPath0_serialize(info: NavPathInfo, animated?: boolean): void { const thisSerializer: Serializer = Serializer.hold() @@ -450,7 +419,7 @@ export class NavPathStack implements MaterializedBase { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeInt32(indexes.length) for (let i = 0; i < indexes.length; i++) { - const indexes_element: number = indexes[i] + const indexes_element = indexes[i] thisSerializer.writeNumber(indexes_element) } const retval = ArkUIGeneratedNativeModule._NavPathStack_removeByIndexes(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) -- Gitee From c8c48701ed2759d20e6ecd270c97ac0c1765497f Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Mon, 20 Jan 2025 20:46:53 +0300 Subject: [PATCH 4/6] Use 2.0,3 --- arkoala/tools/peer-generator/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arkoala/tools/peer-generator/package.json b/arkoala/tools/peer-generator/package.json index 4e539d0c8..2a38bf117 100644 --- a/arkoala/tools/peer-generator/package.json +++ b/arkoala/tools/peer-generator/package.json @@ -2,7 +2,7 @@ "name": "peer-generator", "description": "", "config": { - "idlize_version": "2.0.2", + "idlize_version": "2.0.3", "api_version": "111", "input_dir": "../../arkui-common/interface_sdk-js/api/@internal/component/ets/,../../arkui-common/interface_sdk-js/api/global" }, -- Gitee From 69fec95afa5595a194d4ee2b4cf15bc60e8e5e1f Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Tue, 21 Jan 2025 14:00:12 +0300 Subject: [PATCH 5/6] Skip ESObject Signed-off-by: Nikolay Igotti --- arkoala-arkts/arkui/types/index-full.d.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arkoala-arkts/arkui/types/index-full.d.ts b/arkoala-arkts/arkui/types/index-full.d.ts index 3ee6b339d..17f10b2cc 100644 --- a/arkoala-arkts/arkui/types/index-full.d.ts +++ b/arkoala-arkts/arkui/types/index-full.d.ts @@ -301,8 +301,6 @@ declare interface PixelMap { readPixelsToBufferSync(dst: ArrayBuffer): void; writeBufferToPixels(src: ArrayBuffer): void; } -declare interface ESObject { -} declare interface Point { x: number; y: number; @@ -8990,4 +8988,4 @@ declare const WaterFlowInstance: WaterFlowAttribute declare const UIExtensionComponent: UIExtensionComponentInterface declare const UIExtensionComponentInstance: UIExtensionComponentAttribute declare const LinearIndicator: LinearIndicatorInterface -declare const LinearIndicatorInstance: LinearIndicatorAttribute \ No newline at end of file +declare const LinearIndicatorInstance: LinearIndicatorAttribute -- Gitee From 8d7527069af08c95949e1366e0902051c6595e78 Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Wed, 22 Jan 2025 14:39:56 +0300 Subject: [PATCH 6/6] Regenerate Signed-off-by: Nikolay Igotti --- .../arkui/src/generated/ArkButton.ts | 2 +- .../arkui/src/generated/ArkCanvas.ts | 2 +- .../ArkCanvasRendererMaterialized.ts | 10 +- .../arkui/src/generated/ArkCommon.ts | 8 +- arkoala-arkts/arkui/src/generated/ArkImage.ts | 6 +- .../generated/ArkNavPathStackMaterialized.ts | 104 +- .../ArkRichEditorControllerMaterialized.ts | 2 +- .../arkui/src/generated/ArkSwiper.ts | 2 +- .../arkui/src/generated/ArkTabContent.ts | 4 +- arkoala-arkts/arkui/src/generated/ArkText.ts | 4 +- .../arkui/src/generated/arkts/type_check.ts | 7 + .../src/generated/peers/ArkCommonPeer.ts | 8 +- .../src/generated/peers/ArkDataPanelPeer.ts | 2 +- .../arkui/src/generated/peers/ArkGaugePeer.ts | 4 +- .../arkui/src/generated/peers/ArkImagePeer.ts | 6 +- .../src/generated/peers/ArkImageSpanPeer.ts | 2 +- .../peers/ArkMediaCachedImagePeer.ts | 2 +- .../src/generated/peers/ArkMenuItemPeer.ts | 2 +- .../generated/peers/ArkNavDestinationPeer.ts | 2 +- .../src/generated/peers/ArkProgressPeer.ts | 2 +- .../src/generated/peers/ArkSliderPeer.ts | 2 +- .../src/generated/peers/ArkTextInputPeer.ts | 2 +- .../arkui/src/generated/peers/Serializer.ts | 1428 ++++++++----- .../arkui/src/generated/ts/type_check.ts | 7 + arkoala-arkts/arkui/types/index-full.d.ts | 4 +- arkoala/arkui-types/index-full.d.ts | 4 +- arkoala/arkui/src/ArkButton.ts | 2 +- arkoala/arkui/src/ArkCanvas.ts | 2 +- .../src/ArkCanvasRendererMaterialized.ts | 10 +- arkoala/arkui/src/ArkCommon.ts | 8 +- arkoala/arkui/src/ArkImage.ts | 6 +- .../arkui/src/ArkNavPathStackMaterialized.ts | 145 +- .../ArkRichEditorControllerMaterialized.ts | 2 +- arkoala/arkui/src/ArkSwiper.ts | 2 +- arkoala/arkui/src/ArkTabContent.ts | 4 +- arkoala/arkui/src/ArkText.ts | 4 +- arkoala/arkui/src/peers/ArkCommonPeer.ts | 8 +- arkoala/arkui/src/peers/ArkDataPanelPeer.ts | 2 +- arkoala/arkui/src/peers/ArkGaugePeer.ts | 4 +- arkoala/arkui/src/peers/ArkImagePeer.ts | 6 +- arkoala/arkui/src/peers/ArkImageSpanPeer.ts | 2 +- .../src/peers/ArkMediaCachedImagePeer.ts | 2 +- arkoala/arkui/src/peers/ArkMenuItemPeer.ts | 2 +- .../arkui/src/peers/ArkNavDestinationPeer.ts | 2 +- arkoala/arkui/src/peers/ArkProgressPeer.ts | 2 +- arkoala/arkui/src/peers/ArkSliderPeer.ts | 2 +- arkoala/arkui/src/peers/ArkTextInputPeer.ts | 2 +- arkoala/arkui/src/peers/Serializer.ts | 1428 ++++++++----- arkoala/framework/src/generated/EnumsImpl.ts | 1766 +++++++++-------- arkoala/tools/peer-generator/package.json | 2 +- 50 files changed, 3016 insertions(+), 2027 deletions(-) diff --git a/arkoala-arkts/arkui/src/generated/ArkButton.ts b/arkoala-arkts/arkui/src/generated/ArkButton.ts index 312452200..26688962f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkButton.ts +++ b/arkoala-arkts/arkui/src/generated/ArkButton.ts @@ -48,7 +48,7 @@ export class ArkButtonComponent extends ArkCommonMethodComponent { this.getPeer()?.setButtonOptions1Attribute(options_casted) return this } - if ((((RuntimeType.STRING == label_type)) || ((RuntimeType.OBJECT == label_type))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { + if (((((RuntimeType.STRING == label_type))) || (((RuntimeType.OBJECT == label_type)))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { const label_casted = label as (ResourceStr) const options_casted = options as (ButtonOptions | undefined) this.getPeer()?.setButtonOptions2Attribute(label_casted, options_casted) diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvas.ts b/arkoala-arkts/arkui/src/generated/ArkCanvas.ts index e00ca0952..39dd2abf2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvas.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvas.ts @@ -41,7 +41,7 @@ export class ArkCanvasComponent extends ArkCommonMethodComponent { if (this.checkPriority("setCanvasOptions")) { const context_type = runtimeType(context) const imageAIOptions_type = runtimeType(imageAIOptions) - if ((((RuntimeType.OBJECT == context_type)) || ((RuntimeType.OBJECT == context_type))) && (((RuntimeType.OBJECT == imageAIOptions_type)))) { + if (((((RuntimeType.OBJECT) == (context_type)) && (TypeChecker.isCanvasRenderingContext2D(context, false, false, false))) || (((RuntimeType.OBJECT) == (context_type)) && (TypeChecker.isDrawingRenderingContext(context, false, false)))) && (((RuntimeType.OBJECT == imageAIOptions_type)))) { const context_casted = context as (CanvasRenderingContext2D | DrawingRenderingContext) const imageAIOptions_casted = imageAIOptions as (ImageAIOptions) this.getPeer()?.setCanvasOptions1Attribute(context_casted, imageAIOptions_casted) diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasRendererMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasRendererMaterialized.ts index 2dc5801b9..838649cc8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasRendererMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasRendererMaterialized.ts @@ -205,14 +205,14 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { const dy_type = runtimeType(dy) const dw_type = runtimeType(dw) const dh_type = runtimeType(dh) - if ((((RuntimeType.OBJECT == image_type)) || ((RuntimeType.OBJECT == image_type))) && (((RuntimeType.UNDEFINED == sw_type))) && (((RuntimeType.UNDEFINED == sh_type))) && (((RuntimeType.UNDEFINED == dx_type))) && (((RuntimeType.UNDEFINED == dy_type))) && (((RuntimeType.UNDEFINED == dw_type))) && (((RuntimeType.UNDEFINED == dh_type)))) { + if (((((RuntimeType.OBJECT) == (image_type)) && (TypeChecker.isImageBitmap(image, false, false))) || (((RuntimeType.OBJECT) == (image_type)) && (TypeChecker.isPixelMap(image, false, false)))) && (((RuntimeType.UNDEFINED == sw_type))) && (((RuntimeType.UNDEFINED == sh_type))) && (((RuntimeType.UNDEFINED == dx_type))) && (((RuntimeType.UNDEFINED == dy_type))) && (((RuntimeType.UNDEFINED == dw_type))) && (((RuntimeType.UNDEFINED == dh_type)))) { const image_casted = image as (ImageBitmap | PixelMap) const dx_casted = sx as (number) const dy_casted = sy as (number) this.drawImage0_serialize(image_casted, dx_casted, dy_casted) return } - if ((((RuntimeType.OBJECT == image_type)) || ((RuntimeType.OBJECT == image_type))) && (((RuntimeType.NUMBER == sw_type))) && (((RuntimeType.NUMBER == sh_type))) && (((RuntimeType.UNDEFINED == dx_type))) && (((RuntimeType.UNDEFINED == dy_type))) && (((RuntimeType.UNDEFINED == dw_type))) && (((RuntimeType.UNDEFINED == dh_type)))) { + if (((((RuntimeType.OBJECT) == (image_type)) && (TypeChecker.isImageBitmap(image, false, false))) || (((RuntimeType.OBJECT) == (image_type)) && (TypeChecker.isPixelMap(image, false, false)))) && (((RuntimeType.NUMBER == sw_type))) && (((RuntimeType.NUMBER == sh_type))) && (((RuntimeType.UNDEFINED == dx_type))) && (((RuntimeType.UNDEFINED == dy_type))) && (((RuntimeType.UNDEFINED == dw_type))) && (((RuntimeType.UNDEFINED == dh_type)))) { const image_casted = image as (ImageBitmap | PixelMap) const dx_casted = sx as (number) const dy_casted = sy as (number) @@ -221,7 +221,7 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { this.drawImage1_serialize(image_casted, dx_casted, dy_casted, dw_casted, dh_casted) return } - if ((((RuntimeType.OBJECT == image_type)) || ((RuntimeType.OBJECT == image_type))) && (((RuntimeType.NUMBER == sw_type))) && (((RuntimeType.NUMBER == sh_type))) && (((RuntimeType.NUMBER == dx_type))) && (((RuntimeType.NUMBER == dy_type))) && (((RuntimeType.NUMBER == dw_type))) && (((RuntimeType.NUMBER == dh_type)))) { + if (((((RuntimeType.OBJECT) == (image_type)) && (TypeChecker.isImageBitmap(image, false, false))) || (((RuntimeType.OBJECT) == (image_type)) && (TypeChecker.isPixelMap(image, false, false)))) && (((RuntimeType.NUMBER == sw_type))) && (((RuntimeType.NUMBER == sh_type))) && (((RuntimeType.NUMBER == dx_type))) && (((RuntimeType.NUMBER == dy_type))) && (((RuntimeType.NUMBER == dw_type))) && (((RuntimeType.NUMBER == dh_type)))) { const image_casted = image as (ImageBitmap | PixelMap) const sx_casted = sx as (number) const sy_casted = sy as (number) @@ -348,14 +348,14 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { const dirtyY_type = runtimeType(dirtyY) const dirtyWidth_type = runtimeType(dirtyWidth) const dirtyHeight_type = runtimeType(dirtyHeight) - if ((((RuntimeType.NUMBER == dx_type)) || ((RuntimeType.STRING == dx_type))) && (((RuntimeType.NUMBER == dy_type)) || ((RuntimeType.STRING == dy_type))) && (((RuntimeType.UNDEFINED == dirtyX_type))) && (((RuntimeType.UNDEFINED == dirtyY_type))) && (((RuntimeType.UNDEFINED == dirtyWidth_type))) && (((RuntimeType.UNDEFINED == dirtyHeight_type)))) { + if (((((RuntimeType.NUMBER == dx_type))) || (((RuntimeType.STRING == dx_type)))) && ((((RuntimeType.NUMBER == dy_type))) || (((RuntimeType.STRING == dy_type)))) && (((RuntimeType.UNDEFINED == dirtyX_type))) && (((RuntimeType.UNDEFINED == dirtyY_type))) && (((RuntimeType.UNDEFINED == dirtyWidth_type))) && (((RuntimeType.UNDEFINED == dirtyHeight_type)))) { const imagedata_casted = imagedata as (ImageData) const dx_casted = dx as (number | string) const dy_casted = dy as (number | string) this.putImageData0_serialize(imagedata_casted, dx_casted, dy_casted) return } - if ((((RuntimeType.NUMBER == dx_type)) || ((RuntimeType.STRING == dx_type))) && (((RuntimeType.NUMBER == dy_type)) || ((RuntimeType.STRING == dy_type))) && (((RuntimeType.NUMBER == dirtyX_type)) || ((RuntimeType.STRING == dirtyX_type))) && (((RuntimeType.NUMBER == dirtyY_type)) || ((RuntimeType.STRING == dirtyY_type))) && (((RuntimeType.NUMBER == dirtyWidth_type)) || ((RuntimeType.STRING == dirtyWidth_type))) && (((RuntimeType.NUMBER == dirtyHeight_type)) || ((RuntimeType.STRING == dirtyHeight_type)))) { + if (((((RuntimeType.NUMBER == dx_type))) || (((RuntimeType.STRING == dx_type)))) && ((((RuntimeType.NUMBER == dy_type))) || (((RuntimeType.STRING == dy_type)))) && (((RuntimeType.NUMBER == dirtyX_type)) || ((RuntimeType.STRING == dirtyX_type))) && (((RuntimeType.NUMBER == dirtyY_type)) || ((RuntimeType.STRING == dirtyY_type))) && (((RuntimeType.NUMBER == dirtyWidth_type)) || ((RuntimeType.STRING == dirtyWidth_type))) && (((RuntimeType.NUMBER == dirtyHeight_type)) || ((RuntimeType.STRING == dirtyHeight_type)))) { const imagedata_casted = imagedata as (ImageData) const dx_casted = dx as (number | string) const dy_casted = dy as (number | string) diff --git a/arkoala-arkts/arkui/src/generated/ArkCommon.ts b/arkoala-arkts/arkui/src/generated/ArkCommon.ts index 79dc4db64..15ac94902 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCommon.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCommon.ts @@ -576,7 +576,7 @@ export class ArkCommonMethodComponent extends ComponentBase { if (this.checkPriority("transition")) { const effect_type = runtimeType(effect) const onFinish_type = runtimeType(onFinish) - if ((((RuntimeType.OBJECT == effect_type)) || ((RuntimeType.OBJECT == effect_type))) && (((RuntimeType.UNDEFINED == onFinish_type)))) { + if (((((RuntimeType.OBJECT) == (effect_type)) && (TypeChecker.isTransitionOptions(effect, false, false, false, false, false))) || (((RuntimeType.OBJECT) == (effect_type)) && (TypeChecker.isTransitionEffect(effect)))) && (((RuntimeType.UNDEFINED == onFinish_type)))) { const value_casted = effect as (TransitionOptions | TransitionEffect) this.getPeer()?.transition0Attribute(value_casted) return this @@ -1124,7 +1124,7 @@ export class ArkCommonMethodComponent extends ComponentBase { this.getPeer()?.clip0Attribute(value_casted) return this } - if ((((RuntimeType.BOOLEAN == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)))) { + if (((((RuntimeType.BOOLEAN == value_type))) || (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isCircleAttribute(value))) || (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isEllipseAttribute(value))) || (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isPathAttribute(value, false))) || (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isRectAttribute(value, false, false, false))))) { const value_casted = value as (boolean | CircleAttribute | EllipseAttribute | PathAttribute | RectAttribute) this.getPeer()?.clip1Attribute(value_casted) return this @@ -1151,7 +1151,7 @@ export class ArkCommonMethodComponent extends ComponentBase { this.getPeer()?.mask0Attribute(value_casted) return this } - if ((((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)))) { + if (((((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isCircleAttribute(value))) || (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isEllipseAttribute(value))) || (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isPathAttribute(value, false))) || (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isRectAttribute(value, false, false, false))) || (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isProgressMask(value))))) { const value_casted = value as (CircleAttribute | EllipseAttribute | PathAttribute | RectAttribute | ProgressMask) this.getPeer()?.mask1Attribute(value_casted) return this @@ -1706,7 +1706,7 @@ export class ArkCommonMethodComponent extends ComponentBase { this.getPeer()?.bindMenu0Attribute(content_casted, options_casted) return this } - if ((((RuntimeType.BOOLEAN == isShow_type))) && (((RuntimeType.OBJECT == content_type)) || ((RuntimeType.FUNCTION == content_type))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { + if ((((RuntimeType.BOOLEAN == isShow_type))) && ((((RuntimeType.OBJECT == content_type))) || (((RuntimeType.FUNCTION == content_type)))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { const isShow_casted = isShow as (boolean) const content_casted = content as (Array | CustomBuilder) const options_casted = options as (MenuOptions | undefined) diff --git a/arkoala-arkts/arkui/src/generated/ArkImage.ts b/arkoala-arkts/arkui/src/generated/ArkImage.ts index 7e292af93..ddedd8f52 100644 --- a/arkoala-arkts/arkui/src/generated/ArkImage.ts +++ b/arkoala-arkts/arkui/src/generated/ArkImage.ts @@ -43,18 +43,18 @@ export class ArkImageComponent extends ArkCommonMethodComponent { if (this.checkPriority("setImageOptions")) { const src_type = runtimeType(src) const imageAIOptions_type = runtimeType(imageAIOptions) - if ((((RuntimeType.OBJECT == src_type)) || ((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.OBJECT == src_type))) && (((RuntimeType.UNDEFINED == imageAIOptions_type)))) { + if (((((RuntimeType.OBJECT) == (src_type)) && (TypeChecker.isPixelMap(src, false, false))) || ((((RuntimeType.STRING == src_type))) || (((RuntimeType.OBJECT == src_type)))) || (((RuntimeType.OBJECT) == (src_type)) && (TypeChecker.isDrawableDescriptor(src, false)))) && (((RuntimeType.UNDEFINED == imageAIOptions_type)))) { const src_casted = src as (PixelMap | ResourceStr | DrawableDescriptor) this.getPeer()?.setImageOptions0Attribute(src_casted) return this } - if ((((RuntimeType.OBJECT == src_type)) || ((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.OBJECT == src_type))) && (((RuntimeType.OBJECT == imageAIOptions_type)))) { + if (((((RuntimeType.OBJECT) == (src_type)) && (TypeChecker.isPixelMap(src, false, false))) || ((((RuntimeType.STRING == src_type))) || (((RuntimeType.OBJECT == src_type)))) || (((RuntimeType.OBJECT) == (src_type)) && (TypeChecker.isDrawableDescriptor(src, false)))) && (((RuntimeType.OBJECT == imageAIOptions_type)))) { const src_casted = src as (PixelMap | ResourceStr | DrawableDescriptor) const imageAIOptions_casted = imageAIOptions as (ImageAIOptions) this.getPeer()?.setImageOptions2Attribute(src_casted, imageAIOptions_casted) return this } - if ((((RuntimeType.OBJECT == src_type)) || ((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.NUMBER == src_type))) && (((RuntimeType.UNDEFINED == imageAIOptions_type)))) { + if (((((RuntimeType.OBJECT) == (src_type)) && (TypeChecker.isPixelMap(src, false, false))) || ((((RuntimeType.STRING == src_type))) || (((RuntimeType.OBJECT == src_type)))) || (((RuntimeType.OBJECT) == (src_type)) && (TypeChecker.isDrawableDescriptor(src, false))) || (((TypeChecker.isImageContent(src))))) && (((RuntimeType.UNDEFINED == imageAIOptions_type)))) { const src_casted = src as (PixelMap | ResourceStr | DrawableDescriptor | ImageContent) this.getPeer()?.setImageOptions1Attribute(src_casted) return this diff --git a/arkoala-arkts/arkui/src/generated/ArkNavPathStackMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkNavPathStackMaterialized.ts index f7861c3d4..b144f1172 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavPathStackMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavPathStackMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -48,24 +48,17 @@ import { pointer } from "@koalaui/interop" -import { NavPathStackExtender } from "../handwritten" -export class NavPathStack implements MaterializedBase,INTERFACE_NavPathStack { - _extender = new NavPathStackExtender() - peer?: Finalizable +export class NavPathStack implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): NavPathStack { - const objNavPathStack : NavPathStack = new NavPathStack() - objNavPathStack.peer = new Finalizable(ptr, NavPathStack.getFinalizer()) - return objNavPathStack - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._NavPathStack_ctor() return retval } - constructor() { + constructor() { { const ctorPtr : KPointer = NavPathStack.ctor() this.peer = new Finalizable(ctorPtr, NavPathStack.getFinalizer()) @@ -75,7 +68,6 @@ export class NavPathStack implements MaterializedBase,INTERFACE_NavPathStack { return ArkUIGeneratedNativeModule._NavPathStack_getFinalizer() } pushPath(info: NavPathInfo, animated?: boolean | undefined | NavigationOptions | undefined): void { - this._extender.push(info.name, info.param) const info_type = runtimeType(info) const animated_type = runtimeType(animated) if ((((RuntimeType.BOOLEAN == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { @@ -86,14 +78,13 @@ export class NavPathStack implements MaterializedBase,INTERFACE_NavPathStack { } if ((((RuntimeType.OBJECT == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { const info_casted = info as (NavPathInfo) - const animated_casted = animated as (NavigationOptions | undefined) - this.pushPath1_serialize(info_casted, animated_casted) + const options_casted = animated as (NavigationOptions | undefined) + this.pushPath1_serialize(info_casted, options_casted) return } throw new Error("Can not select appropriate overload") } pushDestination(info: NavPathInfo, animated?: boolean | undefined | NavigationOptions | undefined): Promise { - this._extender.push(info.name, info.param) const info_type = runtimeType(info) const animated_type = runtimeType(animated) if ((((RuntimeType.BOOLEAN == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { @@ -103,16 +94,23 @@ export class NavPathStack implements MaterializedBase,INTERFACE_NavPathStack { } if ((((RuntimeType.OBJECT == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { const info_casted = info as (NavPathInfo) - const animated_casted = animated as (NavigationOptions | undefined) - return this.pushDestination1_serialize(info_casted, animated_casted) + const options_casted = animated as (NavigationOptions | undefined) + return this.pushDestination1_serialize(info_casted, options_casted) } throw new Error("Can not select appropriate overload") } - pushPathByName(name: string, param: Object | object, onPop?: ((parameter: PopInfo) => void) | boolean | undefined, animated?: boolean): void { + pushPathByName(name: string, param: object | 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.OBJECT == 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.OBJECT == 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) @@ -121,20 +119,19 @@ export class NavPathStack implements MaterializedBase,INTERFACE_NavPathStack { this.pushPathByName1_serialize(name_casted, param_casted, onPop_casted, animated_casted) return } - if ((((RuntimeType.OBJECT == 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 onPop_casted = onPop as (boolean | undefined) - this.pushPathByName0_serialize(name_casted, param_casted, onPop_casted) - return - } throw new Error("Can not select appropriate overload") } - pushDestinationByName(name: string, param: Object, onPop?: ((parameter: PopInfo) => void) | boolean | undefined, animated?: boolean): Promise { + 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) @@ -142,12 +139,6 @@ export class NavPathStack implements MaterializedBase,INTERFACE_NavPathStack { const animated_casted = animated as (boolean | undefined) return this.pushDestinationByName1_serialize(name_casted, param_casted, onPop_casted, animated_casted) } - 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 onPop_casted = onPop as (boolean | undefined) - return this.pushDestinationByName0_serialize(name_casted, param_casted, onPop_casted) - } throw new Error("Can not select appropriate overload") } replacePath(info: NavPathInfo, animated?: boolean | undefined | NavigationOptions | undefined): void { @@ -161,8 +152,8 @@ export class NavPathStack implements MaterializedBase,INTERFACE_NavPathStack { } if ((((RuntimeType.OBJECT == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { const info_casted = info as (NavPathInfo) - const animated_casted = animated as (NavigationOptions | undefined) - this.replacePath1_serialize(info_casted, animated_casted) + const options_casted = animated as (NavigationOptions | undefined) + this.replacePath1_serialize(info_casted, options_casted) return } throw new Error("Can not select appropriate overload") @@ -191,31 +182,47 @@ export class NavPathStack implements MaterializedBase,INTERFACE_NavPathStack { const navDestinationId_casted = navDestinationId as (string) return this.removeByNavDestinationId_serialize(navDestinationId_casted) } - pop(result?: Object | boolean | undefined, animated?: boolean): NavPathInfo | undefined { - this._extender.pop() - return undefined + 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.OBJECT == 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") } - popToName(name: string, result?: Object | boolean | undefined, animated?: boolean): number { + 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.OBJECT == 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) } - if ((((RuntimeType.BOOLEAN == result_type)) || ((RuntimeType.UNDEFINED == result_type))) && (((RuntimeType.UNDEFINED == animated_type)))) { - const name_casted = name as (string) - const result_casted = result as (boolean | undefined) - return this.popToName0_serialize(name_casted, result_casted) - } throw new Error("Can not select appropriate overload") } - popToIndex(index: number, result?: Object | boolean | undefined, animated?: boolean): void { + 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.OBJECT == result_type))) && (((RuntimeType.BOOLEAN == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { const index_casted = index as (number) const result_casted = result as (Object) @@ -223,12 +230,6 @@ export class NavPathStack implements MaterializedBase,INTERFACE_NavPathStack { this.popToIndex1_serialize(index_casted, result_casted, animated_casted) return } - if ((((RuntimeType.BOOLEAN == result_type)) || ((RuntimeType.UNDEFINED == result_type))) && (((RuntimeType.UNDEFINED == animated_type)))) { - const index_casted = index as (number) - const result_casted = result as (boolean | undefined) - this.popToIndex0_serialize(index_casted, result_casted) - return - } throw new Error("Can not select appropriate overload") } moveToTop(name: string, animated?: boolean): number { @@ -255,7 +256,8 @@ export class NavPathStack implements MaterializedBase,INTERFACE_NavPathStack { return this.getParamByIndex_serialize(index_casted) } getParamByName(name: string): Array { - return this._extender.getParamByName(name) + const name_casted = name as (string) + return this.getParamByName_serialize(name_casted) } getIndexByName(name: string): Array { const name_casted = name as (string) diff --git a/arkoala-arkts/arkui/src/generated/ArkRichEditorControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkRichEditorControllerMaterialized.ts index 4d0294aa9..1d20bd297 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRichEditorControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRichEditorControllerMaterialized.ts @@ -150,7 +150,7 @@ export class RichEditorController extends RichEditorBaseController implements Ma const value_0 = value as PixelMap thisSerializer.writePixelMap(value_0) } - else if (((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + else if ((((RuntimeType.STRING == value_type))) || (((RuntimeType.OBJECT == value_type)))) { thisSerializer.writeInt8(1 as int32) const value_1 = value as ResourceStr let value_1_type : int32 = RuntimeType.UNDEFINED diff --git a/arkoala-arkts/arkui/src/generated/ArkSwiper.ts b/arkoala-arkts/arkui/src/generated/ArkSwiper.ts index 89e90d51c..722b896e0 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSwiper.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSwiper.ts @@ -85,7 +85,7 @@ export class ArkSwiperComponent extends ArkCommonMethodComponent { this.getPeer()?.indicator1Attribute(value_casted) return this } - if ((((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.BOOLEAN == value_type)))) { + 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 diff --git a/arkoala-arkts/arkui/src/generated/ArkTabContent.ts b/arkoala-arkts/arkui/src/generated/ArkTabContent.ts index 4ed312cf0..e41abd367 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTabContent.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTabContent.ts @@ -48,12 +48,12 @@ export class ArkTabContentComponent extends ArkCommonMethodComponent { tabBar(value: SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions): this { if (this.checkPriority("tabBar")) { const value_type = runtimeType(value) - if ((((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)))) { + if (((((RuntimeType.OBJECT == value_type))) || (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isBottomTabBarStyle(value))))) { const value_casted = value as (SubTabBarStyle | BottomTabBarStyle) this.getPeer()?.tabBar1Attribute(value_casted) return this } - if ((((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.FUNCTION == value_type)) || ((RuntimeType.OBJECT == value_type)))) { + if (((((RuntimeType.STRING == value_type))) || (((RuntimeType.OBJECT) == (value_type)) && (isResource(value))) || (((RuntimeType.FUNCTION == value_type))) || (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isTabBarOptions(value, false, false))))) { const value_casted = value as (string | Resource | CustomBuilder | TabBarOptions) this.getPeer()?.tabBar0Attribute(value_casted) return this diff --git a/arkoala-arkts/arkui/src/generated/ArkText.ts b/arkoala-arkts/arkui/src/generated/ArkText.ts index 6f353c92d..7d2f024d5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkText.ts +++ b/arkoala-arkts/arkui/src/generated/ArkText.ts @@ -139,12 +139,12 @@ export class ArkTextComponent extends ArkCommonMethodComponent { if (this.checkPriority("fontWeight")) { const weight_type = runtimeType(weight) const options_type = runtimeType(options) - if ((((RuntimeType.NUMBER == weight_type)) || ((RuntimeType.OBJECT == weight_type)) || ((RuntimeType.STRING == weight_type))) && (((RuntimeType.UNDEFINED == options_type)))) { + if (((((RuntimeType.NUMBER == weight_type))) || (TypeChecker.isFontWeight(weight)) || (((RuntimeType.STRING == weight_type)))) && (((RuntimeType.UNDEFINED == options_type)))) { const value_casted = weight as (number | FontWeight | string) this.getPeer()?.fontWeight0Attribute(value_casted) return this } - if ((((RuntimeType.NUMBER == weight_type)) || ((RuntimeType.OBJECT == weight_type)) || ((RuntimeType.STRING == weight_type))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { + if (((((RuntimeType.NUMBER == weight_type))) || (TypeChecker.isFontWeight(weight)) || (((RuntimeType.STRING == weight_type)))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { const weight_casted = weight as (number | FontWeight | string) const options_casted = options as (FontSettingOptions | undefined) this.getPeer()?.fontWeight1Attribute(weight_casted, options_casted) diff --git a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts index 3385efe68..6dcc38877 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts @@ -1,4 +1,5 @@ import { KBoolean, KStringPtr, NativeBuffer } from "@koalaui/interop" +import { MaterializedBase } from "./../MaterializedBase" import { RuntimeType, Materialized, CallbackResource, VMContext } from "./../ArkStdlibInterfaces" import { PointerStyle, Callback_RangeUpdate } from "./../ArkArkui-customInterfaces" import { UnifiedData } from "./../ArkUnifiedDataMaterialized" @@ -258,6 +259,12 @@ import { LinearIndicatorController } from "./../ArkLinearIndicatorControllerMate import { LinearIndicatorStartOptions, LinearIndicatorStyle, LinearIndicatorInterface, LinearIndicatorAttribute, OnLinearIndicatorChangeCallback } from "./../ArkLinearindicatorInterfaces" import { RawFileDescriptor } from "./../ArkRawFileDescriptorInterfaces" export class TypeChecker { + static typeInstanceOf(value: Object, prop: string): boolean { + return value instanceof T + } + static typeCast(value: Object): T { + return value as T + } static isAbilityComponentAttribute(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean): boolean { return value instanceof AbilityComponentAttribute } diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCommonPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCommonPeer.ts index f8c6e05b9..1f07e734d 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCommonPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCommonPeer.ts @@ -576,7 +576,7 @@ export class ArkCommonMethodPeer extends PeerNode { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - if (((RuntimeType.NUMBER == value_type)) || ((RuntimeType.NUMBER == value_type)) || ((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + if ((TypeChecker.isColor(value)) || (((RuntimeType.NUMBER == value_type))) || (((RuntimeType.STRING == value_type))) || (((RuntimeType.OBJECT == value_type)))) { thisSerializer.writeInt8(0 as int32) const value_0 = value as ResourceColor let value_0_type : int32 = RuntimeType.UNDEFINED @@ -895,7 +895,7 @@ export class ArkCommonMethodPeer extends PeerNode { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - if (((RuntimeType.NUMBER == value_type)) || ((RuntimeType.NUMBER == value_type)) || ((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + if ((TypeChecker.isColor(value)) || (((RuntimeType.NUMBER == value_type))) || (((RuntimeType.STRING == value_type))) || (((RuntimeType.OBJECT == value_type)))) { thisSerializer.writeInt8(0 as int32) const value_0 = value as ResourceColor let value_0_type : int32 = RuntimeType.UNDEFINED @@ -1101,7 +1101,7 @@ export class ArkCommonMethodPeer extends PeerNode { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - if (((RuntimeType.NUMBER == value_type)) || ((RuntimeType.NUMBER == value_type)) || ((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + if ((TypeChecker.isColor(value)) || (((RuntimeType.NUMBER == value_type))) || (((RuntimeType.STRING == value_type))) || (((RuntimeType.OBJECT == value_type)))) { thisSerializer.writeInt8(0 as int32) const value_0 = value as ResourceColor let value_0_type : int32 = RuntimeType.UNDEFINED @@ -2318,7 +2318,7 @@ export class ArkCommonMethodPeer extends PeerNode { const thisSerializer : Serializer = Serializer.hold() let src_type : int32 = RuntimeType.UNDEFINED src_type = runtimeType(src) - if (((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type))) { + if ((((RuntimeType.STRING == src_type))) || (((RuntimeType.OBJECT == src_type)))) { thisSerializer.writeInt8(0 as int32) const src_0 = src as ResourceStr let src_0_type : int32 = RuntimeType.UNDEFINED diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkDataPanelPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkDataPanelPeer.ts index 63b3c62f5..9cb9353cc 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkDataPanelPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkDataPanelPeer.ts @@ -68,7 +68,7 @@ export class ArkDataPanelPeer extends ArkCommonMethodPeer { const value_element : ResourceColor | LinearGradient_data_panel = value[i] let value_element_type : int32 = RuntimeType.UNDEFINED value_element_type = runtimeType(value_element) - if (((RuntimeType.NUMBER == value_element_type)) || ((RuntimeType.NUMBER == value_element_type)) || ((RuntimeType.STRING == value_element_type)) || ((RuntimeType.OBJECT == value_element_type))) { + 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) const value_element_0 = value_element as ResourceColor let value_element_0_type : int32 = RuntimeType.UNDEFINED diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkGaugePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkGaugePeer.ts index 631c283b8..e8537b743 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkGaugePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkGaugePeer.ts @@ -72,7 +72,7 @@ export class ArkGaugePeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - if (((RuntimeType.NUMBER == value_type)) || ((RuntimeType.NUMBER == value_type)) || ((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + if ((TypeChecker.isColor(value)) || (((RuntimeType.NUMBER == value_type))) || (((RuntimeType.STRING == value_type))) || (((RuntimeType.OBJECT == value_type)))) { thisSerializer.writeInt8(0 as int32) const value_0 = value as ResourceColor let value_0_type : int32 = RuntimeType.UNDEFINED @@ -112,7 +112,7 @@ export class ArkGaugePeer extends ArkCommonMethodPeer { const value_2_element_0 = value_2_element[0] let value_2_element_0_type : int32 = RuntimeType.UNDEFINED value_2_element_0_type = runtimeType(value_2_element_0) - if (((RuntimeType.NUMBER == value_2_element_0_type)) || ((RuntimeType.NUMBER == value_2_element_0_type)) || ((RuntimeType.STRING == value_2_element_0_type)) || ((RuntimeType.OBJECT == value_2_element_0_type))) { + 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) const value_2_element_0_0 = value_2_element_0 as ResourceColor let value_2_element_0_0_type : int32 = RuntimeType.UNDEFINED diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkImagePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkImagePeer.ts index 8f56f028c..7f59618e2 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkImagePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkImagePeer.ts @@ -64,7 +64,7 @@ export class ArkImagePeer extends ArkCommonMethodPeer { const src_0 = src as PixelMap thisSerializer.writePixelMap(src_0) } - else if (((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type))) { + else if ((((RuntimeType.STRING == src_type))) || (((RuntimeType.OBJECT == src_type)))) { thisSerializer.writeInt8(1 as int32) const src_1 = src as ResourceStr let src_1_type : int32 = RuntimeType.UNDEFINED @@ -97,7 +97,7 @@ export class ArkImagePeer extends ArkCommonMethodPeer { const src_0 = src as PixelMap thisSerializer.writePixelMap(src_0) } - else if (((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type))) { + else if ((((RuntimeType.STRING == src_type))) || (((RuntimeType.OBJECT == src_type)))) { thisSerializer.writeInt8(1 as int32) const src_1 = src as ResourceStr let src_1_type : int32 = RuntimeType.UNDEFINED @@ -135,7 +135,7 @@ export class ArkImagePeer extends ArkCommonMethodPeer { const src_0 = src as PixelMap thisSerializer.writePixelMap(src_0) } - else if (((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type))) { + else if ((((RuntimeType.STRING == src_type))) || (((RuntimeType.OBJECT == src_type)))) { thisSerializer.writeInt8(1 as int32) const src_1 = src as ResourceStr let src_1_type : int32 = RuntimeType.UNDEFINED diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkImageSpanPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkImageSpanPeer.ts index a384ce9ac..d3a028b19 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkImageSpanPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkImageSpanPeer.ts @@ -58,7 +58,7 @@ export class ArkImageSpanPeer extends ArkBaseSpanPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - if (((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + if ((((RuntimeType.STRING == value_type))) || (((RuntimeType.OBJECT == value_type)))) { thisSerializer.writeInt8(0 as int32) const value_0 = value as ResourceStr let value_0_type : int32 = RuntimeType.UNDEFINED diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkMediaCachedImagePeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkMediaCachedImagePeer.ts index b5a0db779..3213814ad 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkMediaCachedImagePeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkMediaCachedImagePeer.ts @@ -61,7 +61,7 @@ export class ArkMediaCachedImagePeer extends ArkImagePeer { const src_0 = src as PixelMap thisSerializer.writePixelMap(src_0) } - else if (((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type))) { + else if ((((RuntimeType.STRING == src_type))) || (((RuntimeType.OBJECT == src_type)))) { thisSerializer.writeInt8(1 as int32) const src_1 = src as ResourceStr let src_1_type : int32 = RuntimeType.UNDEFINED diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkMenuItemPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkMenuItemPeer.ts index 7f6684209..46a1f5378 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkMenuItemPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkMenuItemPeer.ts @@ -88,7 +88,7 @@ export class ArkMenuItemPeer extends ArkCommonMethodPeer { const value_0 = value as boolean thisSerializer.writeBoolean(value_0) } - else if (((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + else if ((((RuntimeType.STRING == value_type))) || (((RuntimeType.OBJECT == value_type)))) { thisSerializer.writeInt8(1 as int32) const value_1 = value as ResourceStr let value_1_type : int32 = RuntimeType.UNDEFINED diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkNavDestinationPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkNavDestinationPeer.ts index d3030ee67..d8111e009 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkNavDestinationPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkNavDestinationPeer.ts @@ -89,7 +89,7 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - if (((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + if ((((RuntimeType.STRING == value_type))) || (((RuntimeType.OBJECT == value_type)))) { thisSerializer.writeInt8(0 as int32) const value_0 = value as ResourceStr let value_0_type : int32 = RuntimeType.UNDEFINED diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkProgressPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkProgressPeer.ts index c5e63323e..24fde96d4 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkProgressPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkProgressPeer.ts @@ -65,7 +65,7 @@ export class ArkProgressPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - if (((RuntimeType.NUMBER == value_type)) || ((RuntimeType.NUMBER == value_type)) || ((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + if ((TypeChecker.isColor(value)) || (((RuntimeType.NUMBER == value_type))) || (((RuntimeType.STRING == value_type))) || (((RuntimeType.OBJECT == value_type)))) { thisSerializer.writeInt8(0 as int32) const value_0 = value as ResourceColor let value_0_type : int32 = RuntimeType.UNDEFINED diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSliderPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSliderPeer.ts index 36ec5795a..22b9db278 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSliderPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSliderPeer.ts @@ -96,7 +96,7 @@ export class ArkSliderPeer extends ArkCommonMethodPeer { const thisSerializer : Serializer = Serializer.hold() let value_type : int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - if (((RuntimeType.NUMBER == value_type)) || ((RuntimeType.NUMBER == value_type)) || ((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + if ((TypeChecker.isColor(value)) || (((RuntimeType.NUMBER == value_type))) || (((RuntimeType.STRING == value_type))) || (((RuntimeType.OBJECT == value_type)))) { thisSerializer.writeInt8(0 as int32) const value_0 = value as ResourceColor let value_0_type : int32 = RuntimeType.UNDEFINED diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTextInputPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTextInputPeer.ts index 617f23fef..fae01f77a 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTextInputPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTextInputPeer.ts @@ -392,7 +392,7 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { const value_value = value! let value_value_type : int32 = RuntimeType.UNDEFINED value_value_type = runtimeType(value_value) - if (((RuntimeType.NUMBER == value_value_type)) || ((RuntimeType.NUMBER == value_value_type)) || ((RuntimeType.STRING == value_value_type)) || ((RuntimeType.OBJECT == value_value_type))) { + 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) const value_value_0 = value_value as ResourceColor let value_value_0_type : int32 = RuntimeType.UNDEFINED diff --git a/arkoala-arkts/arkui/src/generated/peers/Serializer.ts b/arkoala-arkts/arkui/src/generated/peers/Serializer.ts index 6983df988..2cf37495e 100644 --- a/arkoala-arkts/arkui/src/generated/peers/Serializer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/Serializer.ts @@ -297,12 +297,18 @@ export class Serializer extends SerializerBase { } writePixelMap(value: PixelMap): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeLengthMetrics(value: LengthMetrics): void { let valueSerializer : Serializer = this @@ -323,12 +329,18 @@ export class Serializer extends SerializerBase { } writeICurve(value: ICurve): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeTextBackgroundStyle(value: TextBackgroundStyle): void { let valueSerializer : Serializer = this @@ -767,12 +779,18 @@ export class Serializer extends SerializerBase { } writeCustomSpan(value: CustomSpan): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeUrlStyle(value: UrlStyle): void { let valueSerializer : Serializer = this @@ -1516,12 +1534,18 @@ export class Serializer extends SerializerBase { } writeTransitionEffect(value: TransitionEffect): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeLocalizedBorderRadiuses(value: LocalizedBorderRadiuses): void { let valueSerializer : Serializer = this @@ -1560,21 +1584,33 @@ export class Serializer extends SerializerBase { } writeCanvasPattern(value: CanvasPattern): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeCanvasGradient(value: CanvasGradient): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeColorMetrics(value: ColorMetrics): void { let valueSerializer : Serializer = this @@ -1583,12 +1619,18 @@ export class Serializer extends SerializerBase { } writeImageAnalyzerController(value: ImageAnalyzerController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeEventTarget(value: EventTarget): void { let valueSerializer : Serializer = this @@ -1597,12 +1639,18 @@ export class Serializer extends SerializerBase { } writeWebResourceRequest(value: WebResourceRequest): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeWebviewController(value: WebviewController): void { let valueSerializer : Serializer = this @@ -1611,12 +1659,18 @@ export class Serializer extends SerializerBase { } writeWebController(value: WebController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeDateTimeOptions(value: DateTimeOptions): void { let valueSerializer : Serializer = this @@ -1902,12 +1956,18 @@ export class Serializer extends SerializerBase { } writeTextMenuItemId(value: TextMenuItemId): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeTabBarIconStyle(value: TabBarIconStyle): void { let valueSerializer : Serializer = this @@ -2751,12 +2811,18 @@ export class Serializer extends SerializerBase { } writeNavPathStack(value: NavPathStack): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeNavPathInfo(value: NavPathInfo): void { let valueSerializer : Serializer = this @@ -3501,12 +3567,18 @@ export class Serializer extends SerializerBase { } writeDrawingCanvas(value: DrawingCanvas): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeSize(value: Size): void { let valueSerializer : Serializer = this @@ -3517,12 +3589,18 @@ export class Serializer extends SerializerBase { } writeFrameNode(value: FrameNode): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeTextStyle_alert_dialog(value: TextStyle_alert_dialog): void { let valueSerializer : Serializer = this @@ -3816,12 +3894,18 @@ export class Serializer extends SerializerBase { } writeStyledString(value: StyledString): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeNavigationAnimatedTransition(value: NavigationAnimatedTransition): void { let valueSerializer : Serializer = this @@ -4051,21 +4135,33 @@ export class Serializer extends SerializerBase { } writeWaterFlowSections(value: WaterFlowSections): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeScroller(value: Scroller): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeSectionOptions(value: SectionOptions): void { let valueSerializer : Serializer = this @@ -4305,12 +4401,18 @@ export class Serializer extends SerializerBase { } writeXComponentController(value: XComponentController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeImageAnalyzerConfig(value: ImageAnalyzerConfig): void { let valueSerializer : Serializer = this @@ -4392,30 +4494,48 @@ export class Serializer extends SerializerBase { } writeWebKeyboardController(value: WebKeyboardController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeEventResult(value: EventResult): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeTouchEvent(value: TouchEvent): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeNativeEmbedInfo(value: NativeEmbedInfo): void { let valueSerializer : Serializer = this @@ -4537,156 +4657,258 @@ export class Serializer extends SerializerBase { } writeDataResubmissionHandler(value: DataResubmissionHandler): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeControllerHandler(value: ControllerHandler): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeClientAuthenticationHandler(value: ClientAuthenticationHandler): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeSslErrorHandler(value: SslErrorHandler): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeWebContextMenuResult(value: WebContextMenuResult): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeWebContextMenuParam(value: WebContextMenuParam): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeScreenCaptureHandler(value: ScreenCaptureHandler): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writePermissionRequest(value: PermissionRequest): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeHttpAuthHandler(value: HttpAuthHandler): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeFullScreenExitHandler(value: FullScreenExitHandler): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeFileSelectorParam(value: FileSelectorParam): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeFileSelectorResult(value: FileSelectorResult): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeWebResourceResponse(value: WebResourceResponse): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeWebResourceError(value: WebResourceError): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeConsoleMessage(value: ConsoleMessage): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeJsResult(value: JsResult): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeJsGeolocation(value: JsGeolocation): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeScreenCaptureConfig(value: ScreenCaptureConfig): void { let valueSerializer : Serializer = this @@ -4695,12 +4917,18 @@ export class Serializer extends SerializerBase { } writeVideoController(value: VideoController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeTimePickerDialogOptions(value: TimePickerDialogOptions): void { let valueSerializer : Serializer = this @@ -4934,12 +5162,18 @@ export class Serializer extends SerializerBase { } writeTextTimerController(value: TextTimerController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeTextPickerDialogOptions(value: TextPickerDialogOptions): void { let valueSerializer : Serializer = this @@ -5467,12 +5701,18 @@ export class Serializer extends SerializerBase { } writeTextInputController(value: TextInputController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeSelectionOptions(value: SelectionOptions): void { let valueSerializer : Serializer = this @@ -5543,21 +5783,33 @@ export class Serializer extends SerializerBase { } writeTextClockController(value: TextClockController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeTextAreaController(value: TextAreaController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeSelectionMenuOptions(value: SelectionMenuOptions): void { let valueSerializer : Serializer = this @@ -5599,12 +5851,18 @@ export class Serializer extends SerializerBase { } writeTextController(value: TextController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeBottomTabBarStyle(value: BottomTabBarStyle): void { let valueSerializer : Serializer = this @@ -5616,7 +5874,7 @@ export class Serializer extends SerializerBase { 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))) { + if ((((RuntimeType.STRING == value__icon_value_type))) || (((RuntimeType.OBJECT == value__icon_value_type)))) { valueSerializer.writeInt8(0 as int32) const value__icon_value_0 = value__icon_value as ResourceStr let value__icon_value_0_type : int32 = RuntimeType.UNDEFINED @@ -5827,7 +6085,7 @@ export class Serializer extends SerializerBase { const value__padding_value = value__padding! let value__padding_value_type : int32 = RuntimeType.UNDEFINED value__padding_value_type = runtimeType(value__padding_value) - if (((RuntimeType.OBJECT == value__padding_value_type)) || ((RuntimeType.NUMBER == value__padding_value_type)) || ((RuntimeType.STRING == value__padding_value_type)) || ((RuntimeType.OBJECT == value__padding_value_type))) { + if ((((RuntimeType.OBJECT) == (value__padding_value_type)) && (TypeChecker.isPadding(value__padding_value, false, false, false, false))) || (((RuntimeType.NUMBER) == (value__padding_value_type)) || ((RuntimeType.STRING) == (value__padding_value_type)) || (((RuntimeType.OBJECT) == (value__padding_value_type)) && (isResource(value__padding_value))))) { valueSerializer.writeInt8(0 as int32) const value__padding_value_0 = value__padding_value as Padding | Dimension let value__padding_value_0_type : int32 = RuntimeType.UNDEFINED @@ -6036,12 +6294,18 @@ export class Serializer extends SerializerBase { } writeTabsController(value: TabsController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeSymbolEffect(value: SymbolEffect): void { } @@ -6594,12 +6858,18 @@ export class Serializer extends SerializerBase { } writeSearchController(value: SearchController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeEdgeEffectOptions(value: EdgeEffectOptions): void { let valueSerializer : Serializer = this @@ -6691,21 +6961,33 @@ export class Serializer extends SerializerBase { } writeRichEditorStyledStringController(value: RichEditorStyledStringController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeRichEditorController(value: RichEditorController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writePlaceholderStyle(value: PlaceholderStyle): void { let valueSerializer : Serializer = this @@ -7495,12 +7777,18 @@ export class Serializer extends SerializerBase { } writeNavDestinationContext(value: NavDestinationContext): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeNavigationInterception(value: NavigationInterception): void { let valueSerializer : Serializer = this @@ -7913,12 +8201,18 @@ export class Serializer extends SerializerBase { } writeMatrix2D(value: Matrix2D): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeListDividerOptions(value: ListDividerOptions): void { let valueSerializer : Serializer = this @@ -8794,7 +9088,7 @@ export class Serializer extends SerializerBase { 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)) || ((RuntimeType.NUMBER == value_borderColor_value_type)) || ((RuntimeType.STRING == value_borderColor_value_type)) || ((RuntimeType.OBJECT == value_borderColor_value_type))) { + 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 @@ -10498,12 +10792,18 @@ export class Serializer extends SerializerBase { } writeProgressMask(value: ProgressMask): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeDragItemInfo(value: DragItemInfo): void { let valueSerializer : Serializer = this @@ -10681,21 +10981,33 @@ export class Serializer extends SerializerBase { } writeDrawModifier(value: DrawModifier): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeUnifiedData(value: UnifiedData): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeColumnSplitDividerStyle(value: ColumnSplitDividerStyle): void { let valueSerializer : Serializer = this @@ -10758,30 +11070,48 @@ export class Serializer extends SerializerBase { } writeDrawingRenderingContext(value: DrawingRenderingContext): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeCanvasRenderingContext2D(value: CanvasRenderingContext2D): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeImageBitmap(value: ImageBitmap): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeImageData(value: ImageData): void { let valueSerializer : Serializer = this @@ -10794,12 +11124,18 @@ export class Serializer extends SerializerBase { } writePath2D(value: Path2D): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeCalendarDialogOptions(value: CalendarDialogOptions): void { let valueSerializer : Serializer = this @@ -10977,12 +11313,18 @@ export class Serializer extends SerializerBase { } writeCalendarController(value: CalendarController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeMonthData(value: MonthData): void { let valueSerializer : Serializer = this @@ -11470,7 +11812,7 @@ export class Serializer extends SerializerBase { 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)) || ((RuntimeType.NUMBER == value_borderColor_value_type)) || ((RuntimeType.STRING == value_borderColor_value_type)) || ((RuntimeType.OBJECT == value_borderColor_value_type))) { + 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 @@ -12037,7 +12379,7 @@ export class Serializer extends SerializerBase { 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)) || ((RuntimeType.NUMBER == value_borderColor_value_type)) || ((RuntimeType.STRING == value_borderColor_value_type)) || ((RuntimeType.OBJECT == value_borderColor_value_type))) { + 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 @@ -12594,7 +12936,7 @@ export class Serializer extends SerializerBase { 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)) || ((RuntimeType.NUMBER == value_borderColor_value_type)) || ((RuntimeType.STRING == value_borderColor_value_type)) || ((RuntimeType.OBJECT == value_borderColor_value_type))) { + 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 @@ -13152,7 +13494,7 @@ export class Serializer extends SerializerBase { 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)) || ((RuntimeType.NUMBER == value_borderColor_value_type)) || ((RuntimeType.STRING == value_borderColor_value_type)) || ((RuntimeType.OBJECT == value_borderColor_value_type))) { + 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 @@ -13392,12 +13734,18 @@ export class Serializer extends SerializerBase { } writeClickEvent(value: ClickEvent): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeWithThemeOptions(value: WithThemeOptions): void { let valueSerializer : Serializer = this @@ -13429,23 +13777,35 @@ export class Serializer extends SerializerBase { } writeNavigationTransitionProxy(value: NavigationTransitionProxy): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeIsolatedComponentAttribute(value: IsolatedComponentAttribute): void { } writeLinearIndicatorController(value: LinearIndicatorController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeStyleOptions(value: StyleOptions): void { let valueSerializer : Serializer = this @@ -13579,12 +13939,18 @@ export class Serializer extends SerializerBase { } writeUIExtensionProxy(value: UIExtensionProxy): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeWaterFlowOptions(value: WaterFlowOptions): void { let valueSerializer : Serializer = this @@ -15023,12 +15389,18 @@ export class Serializer extends SerializerBase { } writeTabContentTransitionProxy(value: TabContentTransitionProxy): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeBarGridColumnOptions(value: BarGridColumnOptions): void { let valueSerializer : Serializer = this @@ -15111,12 +15483,18 @@ export class Serializer extends SerializerBase { } writeSwiperContentTransitionProxy(value: SwiperContentTransitionProxy): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeSwiperContentAnimatedTransition(value: SwiperContentAnimatedTransition): void { let valueSerializer : Serializer = this @@ -15142,21 +15520,33 @@ export class Serializer extends SerializerBase { } writeIndicatorComponentController(value: IndicatorComponentController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeSwiperController(value: SwiperController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeStackOptions(value: StackOptions): void { let valueSerializer : Serializer = this @@ -15725,12 +16115,18 @@ export class Serializer extends SerializerBase { } writeEditMenuOptions(value: EditMenuOptions): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeCopyEvent(value: CopyEvent): void { let valueSerializer : Serializer = this @@ -15779,12 +16175,18 @@ export class Serializer extends SerializerBase { } writeSubmitEvent(value: SubmitEvent): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeTextDataDetectorConfig(value: TextDataDetectorConfig): void { let valueSerializer : Serializer = this @@ -15934,12 +16336,18 @@ export class Serializer extends SerializerBase { } writeGestureEvent(value: GestureEvent): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeLocalizedBarrierStyle(value: LocalizedBarrierStyle): void { let valueSerializer : Serializer = this @@ -16329,12 +16737,18 @@ export class Serializer extends SerializerBase { } writePatternLockController(value: PatternLockController): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writePathOptions(value: PathOptions): void { let valueSerializer : Serializer = this @@ -16853,12 +17267,18 @@ export class Serializer extends SerializerBase { } writeChildrenMainSize(value: ChildrenMainSize): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeChainAnimationOptions(value: ChainAnimationOptions): void { let valueSerializer : Serializer = this @@ -17866,7 +18286,7 @@ export class Serializer extends SerializerBase { const value_colors_value_element : ResourceColor | LinearGradient_data_panel = 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)) || ((RuntimeType.NUMBER == value_colors_value_element_type)) || ((RuntimeType.STRING == value_colors_value_element_type)) || ((RuntimeType.OBJECT == value_colors_value_element_type))) { + 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 @@ -18210,7 +18630,7 @@ export class Serializer extends SerializerBase { 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)) || ((RuntimeType.NUMBER == value_borderColor_value_type)) || ((RuntimeType.STRING == value_borderColor_value_type)) || ((RuntimeType.OBJECT == value_borderColor_value_type))) { + 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 @@ -18469,7 +18889,7 @@ export class Serializer extends SerializerBase { 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))) { + 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 @@ -18593,12 +19013,18 @@ export class Serializer extends SerializerBase { } writeGestureRecognizer(value: GestureRecognizer): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeFingerInfo(value: FingerInfo): void { let valueSerializer : Serializer = this @@ -18619,12 +19045,18 @@ export class Serializer extends SerializerBase { } writeBaseGestureEvent(value: BaseGestureEvent): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeGestureInfo(value: GestureInfo): void { let valueSerializer : Serializer = this @@ -18650,12 +19082,18 @@ export class Serializer extends SerializerBase { } writeGestureModifier(value: GestureModifier): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writePixelStretchEffectOptions(value: PixelStretchEffectOptions): void { let valueSerializer : Serializer = this @@ -18750,12 +19188,18 @@ export class Serializer extends SerializerBase { } writeDragEvent(value: DragEvent): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeLocalizedAlignRuleOptions(value: LocalizedAlignRuleOptions): void { let valueSerializer : Serializer = this @@ -18929,39 +19373,63 @@ export class Serializer extends SerializerBase { } writeKeyEvent(value: KeyEvent): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeMouseEvent(value: MouseEvent): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeAccessibilityHoverEvent(value: AccessibilityHoverEvent): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeHoverEvent(value: HoverEvent): void { let valueSerializer : Serializer = this - const base : MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr : KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (TypeChecker.typeInstanceOf(value, "peer")) + { + const base : MaterializedBase = TypeChecker.typeCast(value) + const peer = base.getPeer() + let ptr : KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeOutlineOptions(value: OutlineOptions): void { let valueSerializer : Serializer = this @@ -19143,7 +19611,7 @@ export class Serializer extends SerializerBase { } } } - else if (((RuntimeType.NUMBER == value_color_value_type)) || ((RuntimeType.NUMBER == value_color_value_type)) || ((RuntimeType.STRING == value_color_value_type)) || ((RuntimeType.OBJECT == value_color_value_type))) { + 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 @@ -19669,7 +20137,7 @@ export class Serializer extends SerializerBase { } } } - else if (((RuntimeType.NUMBER == value_color_value_type)) || ((RuntimeType.NUMBER == value_color_value_type)) || ((RuntimeType.STRING == value_color_value_type)) || ((RuntimeType.OBJECT == value_color_value_type))) { + 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 diff --git a/arkoala-arkts/arkui/src/generated/ts/type_check.ts b/arkoala-arkts/arkui/src/generated/ts/type_check.ts index 012fa3bbb..ebc4a5317 100644 --- a/arkoala-arkts/arkui/src/generated/ts/type_check.ts +++ b/arkoala-arkts/arkui/src/generated/ts/type_check.ts @@ -1,4 +1,5 @@ import { KBoolean, KStringPtr, NativeBuffer } from "@koalaui/interop" +import { MaterializedBase } from "./../MaterializedBase" import { RuntimeType, Materialized, CallbackResource, VMContext } from "./../ArkStdlibInterfaces" import { PointerStyle, Callback_RangeUpdate } from "./../ArkArkui-customInterfaces" import { UnifiedData } from "./../ArkUnifiedDataMaterialized" @@ -258,6 +259,12 @@ import { LinearIndicatorController } from "./../ArkLinearIndicatorControllerMate import { LinearIndicatorStartOptions, LinearIndicatorStyle, LinearIndicatorInterface, LinearIndicatorAttribute, OnLinearIndicatorChangeCallback } from "./../ArkLinearindicatorInterfaces" import { RawFileDescriptor } from "./../ArkRawFileDescriptorInterfaces" export class TypeChecker { + static typeInstanceOf(value: Object, prop: string): boolean { + return value.hasOwnProperty(prop) + } + static typeCast(value: Object): T { + return value as unknown as T + } static isAbilityComponentAttribute(value: object|string|number|undefined|null|boolean, duplicated_onConnect: boolean, duplicated_onDisconnect: boolean): boolean { if ((!duplicated_onConnect) && (value?.hasOwnProperty("onConnect"))) { return true diff --git a/arkoala-arkts/arkui/types/index-full.d.ts b/arkoala-arkts/arkui/types/index-full.d.ts index 17f10b2cc..3ee6b339d 100644 --- a/arkoala-arkts/arkui/types/index-full.d.ts +++ b/arkoala-arkts/arkui/types/index-full.d.ts @@ -301,6 +301,8 @@ declare interface PixelMap { readPixelsToBufferSync(dst: ArrayBuffer): void; writeBufferToPixels(src: ArrayBuffer): void; } +declare interface ESObject { +} declare interface Point { x: number; y: number; @@ -8988,4 +8990,4 @@ declare const WaterFlowInstance: WaterFlowAttribute declare const UIExtensionComponent: UIExtensionComponentInterface declare const UIExtensionComponentInstance: UIExtensionComponentAttribute declare const LinearIndicator: LinearIndicatorInterface -declare const LinearIndicatorInstance: LinearIndicatorAttribute +declare const LinearIndicatorInstance: LinearIndicatorAttribute \ No newline at end of file diff --git a/arkoala/arkui-types/index-full.d.ts b/arkoala/arkui-types/index-full.d.ts index fa757a1a5..bab7b9881 100644 --- a/arkoala/arkui-types/index-full.d.ts +++ b/arkoala/arkui-types/index-full.d.ts @@ -377,6 +377,8 @@ declare interface PixelMap { readPixelsToBufferSync(dst: ArrayBuffer): void; writeBufferToPixels(src: ArrayBuffer): void; } +declare interface ESObject { +} declare interface Point { x: number; y: number; @@ -9064,4 +9066,4 @@ declare const WaterFlowInstance: WaterFlowAttribute declare const UIExtensionComponent: UIExtensionComponentInterface declare const UIExtensionComponentInstance: UIExtensionComponentAttribute declare const LinearIndicator: LinearIndicatorInterface -declare const LinearIndicatorInstance: LinearIndicatorAttribute +declare const LinearIndicatorInstance: LinearIndicatorAttribute \ No newline at end of file diff --git a/arkoala/arkui/src/ArkButton.ts b/arkoala/arkui/src/ArkButton.ts index ce52ffffe..3f0ae9747 100644 --- a/arkoala/arkui/src/ArkButton.ts +++ b/arkoala/arkui/src/ArkButton.ts @@ -43,7 +43,7 @@ export class ArkButtonComponent extends ArkCommonMethodComponent { this.getPeer()?.setButtonOptions1Attribute(options_casted) return this } - if ((((RuntimeType.STRING == label_type)) || ((RuntimeType.OBJECT == label_type))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { + if (((((RuntimeType.STRING == label_type))) || (((RuntimeType.OBJECT == label_type)))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { const label_casted = label as (ResourceStr) const options_casted = options as (ButtonOptions | undefined) this.getPeer()?.setButtonOptions2Attribute(label_casted, options_casted) diff --git a/arkoala/arkui/src/ArkCanvas.ts b/arkoala/arkui/src/ArkCanvas.ts index 9d791791e..0d377ae1e 100644 --- a/arkoala/arkui/src/ArkCanvas.ts +++ b/arkoala/arkui/src/ArkCanvas.ts @@ -35,7 +35,7 @@ export class ArkCanvasComponent extends ArkCommonMethodComponent { if (this.checkPriority("setCanvasOptions")) { const context_type = runtimeType(context) const imageAIOptions_type = runtimeType(imageAIOptions) - if ((((RuntimeType.OBJECT == context_type)) || ((RuntimeType.OBJECT == context_type))) && (((RuntimeType.OBJECT == imageAIOptions_type)))) { + if (((((RuntimeType.OBJECT) == (context_type)) && (context instanceof CanvasRenderingContext2D)) || (((RuntimeType.OBJECT) == (context_type)) && (context instanceof DrawingRenderingContext))) && (((RuntimeType.OBJECT == imageAIOptions_type)))) { const context_casted = context as (CanvasRenderingContext2D | DrawingRenderingContext) const imageAIOptions_casted = imageAIOptions as (ImageAIOptions) this.getPeer()?.setCanvasOptions1Attribute(context_casted, imageAIOptions_casted) diff --git a/arkoala/arkui/src/ArkCanvasRendererMaterialized.ts b/arkoala/arkui/src/ArkCanvasRendererMaterialized.ts index 639b211d3..13e3b41b7 100644 --- a/arkoala/arkui/src/ArkCanvasRendererMaterialized.ts +++ b/arkoala/arkui/src/ArkCanvasRendererMaterialized.ts @@ -198,14 +198,14 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { const dy_type = runtimeType(dy) const dw_type = runtimeType(dw) const dh_type = runtimeType(dh) - if ((((RuntimeType.OBJECT == image_type)) || ((RuntimeType.OBJECT == image_type))) && (((RuntimeType.UNDEFINED == sw_type))) && (((RuntimeType.UNDEFINED == sh_type))) && (((RuntimeType.UNDEFINED == dx_type))) && (((RuntimeType.UNDEFINED == dy_type))) && (((RuntimeType.UNDEFINED == dw_type))) && (((RuntimeType.UNDEFINED == dh_type)))) { + if (((((RuntimeType.OBJECT) == (image_type)) && (image instanceof ImageBitmap)) || (((RuntimeType.OBJECT) == (image_type)) && (((image!.hasOwnProperty("isEditable")))))) && (((RuntimeType.UNDEFINED == sw_type))) && (((RuntimeType.UNDEFINED == sh_type))) && (((RuntimeType.UNDEFINED == dx_type))) && (((RuntimeType.UNDEFINED == dy_type))) && (((RuntimeType.UNDEFINED == dw_type))) && (((RuntimeType.UNDEFINED == dh_type)))) { const image_casted = image as (ImageBitmap | PixelMap) const dx_casted = sx as (number) const dy_casted = sy as (number) this?.drawImage0_serialize(image_casted, dx_casted, dy_casted) return } - if ((((RuntimeType.OBJECT == image_type)) || ((RuntimeType.OBJECT == image_type))) && (((RuntimeType.NUMBER == sw_type))) && (((RuntimeType.NUMBER == sh_type))) && (((RuntimeType.UNDEFINED == dx_type))) && (((RuntimeType.UNDEFINED == dy_type))) && (((RuntimeType.UNDEFINED == dw_type))) && (((RuntimeType.UNDEFINED == dh_type)))) { + if (((((RuntimeType.OBJECT) == (image_type)) && (image instanceof ImageBitmap)) || (((RuntimeType.OBJECT) == (image_type)) && (((image!.hasOwnProperty("isEditable")))))) && (((RuntimeType.NUMBER == sw_type))) && (((RuntimeType.NUMBER == sh_type))) && (((RuntimeType.UNDEFINED == dx_type))) && (((RuntimeType.UNDEFINED == dy_type))) && (((RuntimeType.UNDEFINED == dw_type))) && (((RuntimeType.UNDEFINED == dh_type)))) { const image_casted = image as (ImageBitmap | PixelMap) const dx_casted = sx as (number) const dy_casted = sy as (number) @@ -214,7 +214,7 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { this?.drawImage1_serialize(image_casted, dx_casted, dy_casted, dw_casted, dh_casted) return } - if ((((RuntimeType.OBJECT == image_type)) || ((RuntimeType.OBJECT == image_type))) && (((RuntimeType.NUMBER == sw_type))) && (((RuntimeType.NUMBER == sh_type))) && (((RuntimeType.NUMBER == dx_type))) && (((RuntimeType.NUMBER == dy_type))) && (((RuntimeType.NUMBER == dw_type))) && (((RuntimeType.NUMBER == dh_type)))) { + if (((((RuntimeType.OBJECT) == (image_type)) && (image instanceof ImageBitmap)) || (((RuntimeType.OBJECT) == (image_type)) && (((image!.hasOwnProperty("isEditable")))))) && (((RuntimeType.NUMBER == sw_type))) && (((RuntimeType.NUMBER == sh_type))) && (((RuntimeType.NUMBER == dx_type))) && (((RuntimeType.NUMBER == dy_type))) && (((RuntimeType.NUMBER == dw_type))) && (((RuntimeType.NUMBER == dh_type)))) { const image_casted = image as (ImageBitmap | PixelMap) const sx_casted = sx as (number) const sy_casted = sy as (number) @@ -341,14 +341,14 @@ export class CanvasRenderer extends CanvasPath implements MaterializedBase { const dirtyY_type = runtimeType(dirtyY) const dirtyWidth_type = runtimeType(dirtyWidth) const dirtyHeight_type = runtimeType(dirtyHeight) - if ((((RuntimeType.NUMBER == dx_type)) || ((RuntimeType.STRING == dx_type))) && (((RuntimeType.NUMBER == dy_type)) || ((RuntimeType.STRING == dy_type))) && (((RuntimeType.UNDEFINED == dirtyX_type))) && (((RuntimeType.UNDEFINED == dirtyY_type))) && (((RuntimeType.UNDEFINED == dirtyWidth_type))) && (((RuntimeType.UNDEFINED == dirtyHeight_type)))) { + if (((((RuntimeType.NUMBER == dx_type))) || (((RuntimeType.STRING == dx_type)))) && ((((RuntimeType.NUMBER == dy_type))) || (((RuntimeType.STRING == dy_type)))) && (((RuntimeType.UNDEFINED == dirtyX_type))) && (((RuntimeType.UNDEFINED == dirtyY_type))) && (((RuntimeType.UNDEFINED == dirtyWidth_type))) && (((RuntimeType.UNDEFINED == dirtyHeight_type)))) { const imagedata_casted = imagedata as (ImageData) const dx_casted = dx as (number | string) const dy_casted = dy as (number | string) this?.putImageData0_serialize(imagedata_casted, dx_casted, dy_casted) return } - if ((((RuntimeType.NUMBER == dx_type)) || ((RuntimeType.STRING == dx_type))) && (((RuntimeType.NUMBER == dy_type)) || ((RuntimeType.STRING == dy_type))) && (((RuntimeType.NUMBER == dirtyX_type)) || ((RuntimeType.STRING == dirtyX_type))) && (((RuntimeType.NUMBER == dirtyY_type)) || ((RuntimeType.STRING == dirtyY_type))) && (((RuntimeType.NUMBER == dirtyWidth_type)) || ((RuntimeType.STRING == dirtyWidth_type))) && (((RuntimeType.NUMBER == dirtyHeight_type)) || ((RuntimeType.STRING == dirtyHeight_type)))) { + if (((((RuntimeType.NUMBER == dx_type))) || (((RuntimeType.STRING == dx_type)))) && ((((RuntimeType.NUMBER == dy_type))) || (((RuntimeType.STRING == dy_type)))) && (((RuntimeType.NUMBER == dirtyX_type)) || ((RuntimeType.STRING == dirtyX_type))) && (((RuntimeType.NUMBER == dirtyY_type)) || ((RuntimeType.STRING == dirtyY_type))) && (((RuntimeType.NUMBER == dirtyWidth_type)) || ((RuntimeType.STRING == dirtyWidth_type))) && (((RuntimeType.NUMBER == dirtyHeight_type)) || ((RuntimeType.STRING == dirtyHeight_type)))) { const imagedata_casted = imagedata as (ImageData) const dx_casted = dx as (number | string) const dy_casted = dy as (number | string) diff --git a/arkoala/arkui/src/ArkCommon.ts b/arkoala/arkui/src/ArkCommon.ts index a99608c1a..378e9698e 100644 --- a/arkoala/arkui/src/ArkCommon.ts +++ b/arkoala/arkui/src/ArkCommon.ts @@ -560,7 +560,7 @@ export class ArkCommonMethodComponent extends ComponentBase { if (this.checkPriority("transition")) { const effect_type = runtimeType(effect) const onFinish_type = runtimeType(onFinish) - if ((((RuntimeType.OBJECT == effect_type)) || ((RuntimeType.OBJECT == effect_type))) && (((RuntimeType.UNDEFINED == onFinish_type)))) { + if (((((RuntimeType.OBJECT) == (effect_type)) && (((effect!.hasOwnProperty("type")) || (effect!.hasOwnProperty("opacity")) || (effect!.hasOwnProperty("translate")) || (effect!.hasOwnProperty("scale")) || (effect!.hasOwnProperty("rotate"))))) || (((RuntimeType.OBJECT) == (effect_type)) && (effect instanceof TransitionEffect))) && (((RuntimeType.UNDEFINED == onFinish_type)))) { const value_casted = effect as (TransitionOptions | TransitionEffect) this.getPeer()?.transition0Attribute(value_casted) return this @@ -1120,7 +1120,7 @@ export class ArkCommonMethodComponent extends ComponentBase { this.getPeer()?.clip0Attribute(value_casted) return this } - if ((((RuntimeType.BOOLEAN == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)))) { + if (((((RuntimeType.BOOLEAN == value_type))) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof CircleAttribute)) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof EllipseAttribute)) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof PathAttribute)) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof RectAttribute)))) { const value_casted = value as (boolean | CircleAttribute | EllipseAttribute | PathAttribute | RectAttribute) this.getPeer()?.clip1Attribute(value_casted) return this @@ -1147,7 +1147,7 @@ export class ArkCommonMethodComponent extends ComponentBase { this.getPeer()?.mask0Attribute(value_casted) return this } - if ((((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)))) { + if (((((RuntimeType.OBJECT) == (value_type)) && (value instanceof CircleAttribute)) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof EllipseAttribute)) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof PathAttribute)) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof RectAttribute)) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof ProgressMask)))) { const value_casted = value as (CircleAttribute | EllipseAttribute | PathAttribute | RectAttribute | ProgressMask) this.getPeer()?.mask1Attribute(value_casted) return this @@ -1710,7 +1710,7 @@ export class ArkCommonMethodComponent extends ComponentBase { this.getPeer()?.bindMenu0Attribute(content_casted, options_casted) return this } - if ((((RuntimeType.BOOLEAN == isShow_type))) && (((RuntimeType.OBJECT == content_type)) || ((RuntimeType.FUNCTION == content_type))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { + if ((((RuntimeType.BOOLEAN == isShow_type))) && ((((RuntimeType.OBJECT == content_type))) || (((RuntimeType.FUNCTION == content_type)))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { const isShow_casted = isShow as (boolean) const content_casted = content as (Array | CustomBuilder) const options_casted = options as (MenuOptions | undefined) diff --git a/arkoala/arkui/src/ArkImage.ts b/arkoala/arkui/src/ArkImage.ts index b25194aa4..75281f2fc 100644 --- a/arkoala/arkui/src/ArkImage.ts +++ b/arkoala/arkui/src/ArkImage.ts @@ -35,18 +35,18 @@ export class ArkImageComponent extends ArkCommonMethodComponent { if (this.checkPriority("setImageOptions")) { const src_type = runtimeType(src) const imageAIOptions_type = runtimeType(imageAIOptions) - if ((((RuntimeType.OBJECT == src_type)) || ((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.OBJECT == src_type))) && (((RuntimeType.UNDEFINED == imageAIOptions_type)))) { + if (((((RuntimeType.OBJECT) == (src_type)) && (((src!.hasOwnProperty("isEditable"))))) || ((((RuntimeType.STRING == src_type))) || (((RuntimeType.OBJECT == src_type)))) || (((RuntimeType.OBJECT) == (src_type)) && (((src!.hasOwnProperty("__DrawableDescriptorStub")))))) && (((RuntimeType.UNDEFINED == imageAIOptions_type)))) { const src_casted = src as (PixelMap | ResourceStr | DrawableDescriptor) this.getPeer()?.setImageOptions0Attribute(src_casted) return this } - if ((((RuntimeType.OBJECT == src_type)) || ((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.OBJECT == src_type))) && (((RuntimeType.OBJECT == imageAIOptions_type)))) { + if (((((RuntimeType.OBJECT) == (src_type)) && (((src!.hasOwnProperty("isEditable"))))) || ((((RuntimeType.STRING == src_type))) || (((RuntimeType.OBJECT == src_type)))) || (((RuntimeType.OBJECT) == (src_type)) && (((src!.hasOwnProperty("__DrawableDescriptorStub")))))) && (((RuntimeType.OBJECT == imageAIOptions_type)))) { const src_casted = src as (PixelMap | ResourceStr | DrawableDescriptor) const imageAIOptions_casted = imageAIOptions as (ImageAIOptions) this.getPeer()?.setImageOptions2Attribute(src_casted, imageAIOptions_casted) return this } - if ((((RuntimeType.OBJECT == src_type)) || ((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.OBJECT == src_type)) || ((RuntimeType.NUMBER == src_type))) && (((RuntimeType.UNDEFINED == imageAIOptions_type)))) { + if (((((RuntimeType.OBJECT) == (src_type)) && (((src!.hasOwnProperty("isEditable"))))) || ((((RuntimeType.STRING == src_type))) || (((RuntimeType.OBJECT == src_type)))) || (((RuntimeType.OBJECT) == (src_type)) && (((src!.hasOwnProperty("__DrawableDescriptorStub"))))) || (((RuntimeType.NUMBER == src_type)))) && (((RuntimeType.UNDEFINED == imageAIOptions_type)))) { const src_casted = src as (PixelMap | ResourceStr | DrawableDescriptor | ImageContent) this.getPeer()?.setImageOptions1Attribute(src_casted) return this diff --git a/arkoala/arkui/src/ArkNavPathStackMaterialized.ts b/arkoala/arkui/src/ArkNavPathStackMaterialized.ts index d925ea4c4..651cf0407 100644 --- a/arkoala/arkui/src/ArkNavPathStackMaterialized.ts +++ b/arkoala/arkui/src/ArkNavPathStackMaterialized.ts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2024 Huawei Device Co., Ltd. + * 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 @@ -46,101 +46,114 @@ import { KFloat32ArrayPtr, pointer } from "@koalaui/interop" -import { NavPathStackExtender } from "./handwritten/ArkNavPathStack" -export class NavPathStack implements MaterializedBase,NavPathStack { - _extender = new NavPathStackExtender() - peer?: Finalizable +export class NavPathStack implements MaterializedBase { + peer?: Finalizable | undefined getPeer(): Finalizable | undefined { return this.peer } - static construct(ptr: KPointer): NavPathStack { - const objNavPathStack: NavPathStack = new NavPathStack() - objNavPathStack.peer = new Finalizable(ptr, NavPathStack.getFinalizer()) - return objNavPathStack - } static ctor(): KPointer { const retval = ArkUIGeneratedNativeModule._NavPathStack_ctor() return retval } - constructor() { - const ctorPtr: KPointer = NavPathStack.ctor() - this.peer = new Finalizable(ctorPtr, NavPathStack.getFinalizer()) + constructor() { + { + const ctorPtr: KPointer = NavPathStack.ctor() + this.peer = new Finalizable(ctorPtr, NavPathStack.getFinalizer()) + } } static getFinalizer(): KPointer { return ArkUIGeneratedNativeModule._NavPathStack_getFinalizer() } pushPath(info: NavPathInfo, animated?: boolean | undefined | NavigationOptions | undefined): void { - this._extender.push(info.name, info.param as (Object | undefined)) + 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") } pushDestination(info: NavPathInfo, animated?: boolean | undefined | NavigationOptions | undefined): Promise { const info_type = runtimeType(info) const animated_type = runtimeType(animated) - if ((((RuntimeType.OBJECT) == (info_type)) && (info instanceof NavPathInfo)) && (((RuntimeType.BOOLEAN == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { + 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) == (info_type)) && (info instanceof NavPathInfo)) && (((RuntimeType.OBJECT == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { + if ((((RuntimeType.OBJECT == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { const info_casted = info as (NavPathInfo) - const animated_casted = animated as (NavigationOptions | undefined) - return this.pushDestination1_serialize(info_casted, animated_casted) + const options_casted = animated as (NavigationOptions | undefined) + return this.pushDestination1_serialize(info_casted, options_casted) } throw new Error("Can not select appropriate overload") } - pushPathByName(name: string, param: Object | unknown, onPop?: ((parameter: PopInfo) => void) | boolean | undefined, animated?: boolean): void { + 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.STRING == name_type))) && (((RuntimeType.OBJECT == param_type))) && (((RuntimeType.FUNCTION == onPop_type))) && (((RuntimeType.BOOLEAN == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { + if ((((RuntimeType.OBJECT == 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.OBJECT == 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) - } - if ((((RuntimeType.STRING == name_type))) && (((RuntimeType.OBJECT == 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 onPop_casted = onPop as (boolean | undefined) - this?.pushPathByName0_serialize(name_casted, param_casted, onPop_casted) + return } throw new Error("Can not select appropriate overload") } - pushDestinationByName(name: string, param: Object, onPop?: ((parameter: PopInfo) => void) | boolean | undefined, animated?: boolean): Promise { + 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.STRING == name_type))) && (((RuntimeType.OBJECT == param_type))) && (((RuntimeType.FUNCTION == onPop_type))) && (((RuntimeType.BOOLEAN == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { + 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 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) + const animated_casted = onPop as (boolean | undefined) + return this.pushDestinationByName0_serialize(name_casted, param_casted, animated_casted) } - if ((((RuntimeType.STRING == name_type))) && (((RuntimeType.OBJECT == param_type))) && (((RuntimeType.BOOLEAN == onPop_type)) || ((RuntimeType.UNDEFINED == onPop_type))) && (((RuntimeType.UNDEFINED == animated_type)))) { + 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 (boolean | undefined) - return this.pushDestinationByName0_serialize(name_casted, param_casted, onPop_casted) + 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") } replacePath(info: NavPathInfo, animated?: boolean | undefined | NavigationOptions | undefined): void { const info_type = runtimeType(info) const animated_type = runtimeType(animated) - if ((((RuntimeType.OBJECT) == (info_type)) && (info instanceof NavPathInfo)) && (((RuntimeType.BOOLEAN == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { + 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) == (info_type)) && (info instanceof NavPathInfo)) && (((RuntimeType.OBJECT == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { + if ((((RuntimeType.OBJECT == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { const info_casted = info as (NavPathInfo) - const animated_casted = animated as (NavigationOptions | undefined) - this?.replacePath1_serialize(info_casted, animated_casted) + const options_casted = animated as (NavigationOptions | undefined) + this?.replacePath1_serialize(info_casted, options_casted) + return } throw new Error("Can not select appropriate overload") } @@ -154,6 +167,7 @@ export class NavPathStack implements MaterializedBase,NavPathStack { const param_casted = param as (Object) const animated_casted = animated as (boolean | undefined) this?.replacePathByName_serialize(name_casted, param_casted, animated_casted) + return } removeByIndexes(indexes: Array): number { const indexes_casted = indexes as (Array) @@ -167,41 +181,53 @@ export class NavPathStack implements MaterializedBase,NavPathStack { const navDestinationId_casted = navDestinationId as (string) return this.removeByNavDestinationId_serialize(navDestinationId_casted) } - pop(result?: Object | boolean | undefined, animated?: boolean): NavPathInfo | undefined { - this._extender.pop() - return undefined + 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.OBJECT == 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") } - popToName(name: string, result?: Object | boolean | undefined, animated?: boolean): number { + 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.STRING == name_type))) && (((RuntimeType.OBJECT == result_type))) && (((RuntimeType.BOOLEAN == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { + 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.OBJECT == 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) } - if ((((RuntimeType.STRING == name_type))) && (((RuntimeType.BOOLEAN == result_type)) || ((RuntimeType.UNDEFINED == result_type))) && (((RuntimeType.UNDEFINED == animated_type)))) { - const name_casted = name as (string) - const result_casted = result as (boolean | undefined) - return this.popToName0_serialize(name_casted, result_casted) - } throw new Error("Can not select appropriate overload") } - popToIndex(index: number, result?: Object | boolean | undefined, animated?: boolean): void { + 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.NUMBER == index_type))) && (((RuntimeType.OBJECT == result_type))) && (((RuntimeType.BOOLEAN == animated_type)) || ((RuntimeType.UNDEFINED == animated_type)))) { + 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.OBJECT == 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) - } - if ((((RuntimeType.NUMBER == index_type))) && (((RuntimeType.BOOLEAN == result_type)) || ((RuntimeType.UNDEFINED == result_type))) && (((RuntimeType.UNDEFINED == animated_type)))) { - const index_casted = index as (number) - const result_casted = result as (boolean | undefined) - this?.popToIndex0_serialize(index_casted, result_casted) + return } throw new Error("Can not select appropriate overload") } @@ -214,10 +240,12 @@ export class NavPathStack implements MaterializedBase,NavPathStack { const index_casted = index as (number) const animated_casted = animated as (boolean | undefined) this?.moveIndexToTop_serialize(index_casted, animated_casted) + return } clear(animated?: boolean): void { const animated_casted = animated as (boolean | undefined) this?.clear_serialize(animated_casted) + return } getAllPathName(): Array { return this.getAllPathName_serialize() @@ -227,7 +255,8 @@ export class NavPathStack implements MaterializedBase,NavPathStack { return this.getParamByIndex_serialize(index_casted) } getParamByName(name: string): Array { - return this._extender.getParamByName(name) + const name_casted = name as (string) + return this.getParamByName_serialize(name_casted) } getIndexByName(name: string): Array { const name_casted = name as (string) @@ -242,10 +271,12 @@ export class NavPathStack implements MaterializedBase,NavPathStack { disableAnimation(value: boolean): void { const value_casted = value as (boolean) this?.disableAnimation_serialize(value_casted) + return } setInterception(interception: NavigationInterception): void { const interception_casted = interception as (NavigationInterception) this?.setInterception_serialize(interception_casted) + return } private pushPath0_serialize(info: NavPathInfo, animated?: boolean): void { const thisSerializer: Serializer = Serializer.hold() @@ -419,7 +450,7 @@ export class NavPathStack implements MaterializedBase,NavPathStack { const thisSerializer: Serializer = Serializer.hold() thisSerializer.writeInt32(indexes.length) for (let i = 0; i < indexes.length; i++) { - const indexes_element = indexes[i] + const indexes_element: number = indexes[i] thisSerializer.writeNumber(indexes_element) } const retval = ArkUIGeneratedNativeModule._NavPathStack_removeByIndexes(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) diff --git a/arkoala/arkui/src/ArkRichEditorControllerMaterialized.ts b/arkoala/arkui/src/ArkRichEditorControllerMaterialized.ts index 0b1115be3..62e09cf50 100644 --- a/arkoala/arkui/src/ArkRichEditorControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkRichEditorControllerMaterialized.ts @@ -144,7 +144,7 @@ export class RichEditorController extends RichEditorBaseController implements Ma const value_0 = unsafeCast(value) thisSerializer.writePixelMap(value_0) } - else if (((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + else if ((((RuntimeType.STRING == value_type))) || (((RuntimeType.OBJECT == value_type)))) { thisSerializer.writeInt8(1) const value_1 = unsafeCast(value) let value_1_type: int32 = RuntimeType.UNDEFINED diff --git a/arkoala/arkui/src/ArkSwiper.ts b/arkoala/arkui/src/ArkSwiper.ts index d65575a00..d469d951f 100644 --- a/arkoala/arkui/src/ArkSwiper.ts +++ b/arkoala/arkui/src/ArkSwiper.ts @@ -75,7 +75,7 @@ export class ArkSwiperComponent extends ArkCommonMethodComponent { this.getPeer()?.indicator1Attribute(value_casted) return this } - if ((((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.BOOLEAN == value_type)))) { + 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 diff --git a/arkoala/arkui/src/ArkTabContent.ts b/arkoala/arkui/src/ArkTabContent.ts index 58fdbbde1..221a57877 100644 --- a/arkoala/arkui/src/ArkTabContent.ts +++ b/arkoala/arkui/src/ArkTabContent.ts @@ -42,12 +42,12 @@ export class ArkTabContentComponent extends ArkCommonMethodComponent { tabBar(value: SubTabBarStyle | BottomTabBarStyle | string | Resource | CustomBuilder | TabBarOptions): this { if (this.checkPriority("tabBar")) { const value_type = runtimeType(value) - if ((((RuntimeType.OBJECT == value_type)) || ((RuntimeType.OBJECT == value_type)))) { + if (((((RuntimeType.OBJECT == value_type))) || (((RuntimeType.OBJECT) == (value_type)) && (value instanceof BottomTabBarStyle)))) { const value_casted = value as (SubTabBarStyle | BottomTabBarStyle) this.getPeer()?.tabBar1Attribute(value_casted) return this } - if ((((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type)) || ((RuntimeType.FUNCTION == value_type)) || ((RuntimeType.OBJECT == value_type)))) { + if (((((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 (string | Resource | CustomBuilder | TabBarOptions) this.getPeer()?.tabBar0Attribute(value_casted) return this diff --git a/arkoala/arkui/src/ArkText.ts b/arkoala/arkui/src/ArkText.ts index 2cb327342..b0aa996e5 100644 --- a/arkoala/arkui/src/ArkText.ts +++ b/arkoala/arkui/src/ArkText.ts @@ -128,12 +128,12 @@ export class ArkTextComponent extends ArkCommonMethodComponent { if (this.checkPriority("fontWeight")) { const weight_type = runtimeType(weight) const options_type = runtimeType(options) - if ((((RuntimeType.NUMBER == weight_type)) || ((RuntimeType.NUMBER == weight_type)) || ((RuntimeType.STRING == weight_type))) && (((RuntimeType.UNDEFINED == options_type)))) { + if (((((RuntimeType.NUMBER == weight_type))) || (((RuntimeType.NUMBER) == (weight_type)) && ((unsafeCast(weight)) >= (0)) && ((unsafeCast(weight)) <= (5))) || (((RuntimeType.STRING == weight_type)))) && (((RuntimeType.UNDEFINED == options_type)))) { const value_casted = weight as (number | FontWeight | string) this.getPeer()?.fontWeight0Attribute(value_casted) return this } - if ((((RuntimeType.NUMBER == weight_type)) || ((RuntimeType.NUMBER == weight_type)) || ((RuntimeType.STRING == weight_type))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { + if (((((RuntimeType.NUMBER == weight_type))) || (((RuntimeType.NUMBER) == (weight_type)) && ((unsafeCast(weight)) >= (0)) && ((unsafeCast(weight)) <= (5))) || (((RuntimeType.STRING == weight_type)))) && (((RuntimeType.OBJECT == options_type)) || ((RuntimeType.UNDEFINED == options_type)))) { const weight_casted = weight as (number | FontWeight | string) const options_casted = options as (FontSettingOptions | undefined) this.getPeer()?.fontWeight1Attribute(weight_casted, options_casted) diff --git a/arkoala/arkui/src/peers/ArkCommonPeer.ts b/arkoala/arkui/src/peers/ArkCommonPeer.ts index cbb90206d..dd17ec4c0 100644 --- a/arkoala/arkui/src/peers/ArkCommonPeer.ts +++ b/arkoala/arkui/src/peers/ArkCommonPeer.ts @@ -549,7 +549,7 @@ export class ArkCommonMethodPeer extends PeerNode { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - if (((RuntimeType.NUMBER == value_type)) || ((RuntimeType.NUMBER == value_type)) || ((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + 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 @@ -868,7 +868,7 @@ export class ArkCommonMethodPeer extends PeerNode { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - if (((RuntimeType.NUMBER == value_type)) || ((RuntimeType.NUMBER == value_type)) || ((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + 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 @@ -1074,7 +1074,7 @@ export class ArkCommonMethodPeer extends PeerNode { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - if (((RuntimeType.NUMBER == value_type)) || ((RuntimeType.NUMBER == value_type)) || ((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + 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 @@ -2291,7 +2291,7 @@ export class ArkCommonMethodPeer extends PeerNode { const thisSerializer: Serializer = Serializer.hold() let src_type: int32 = RuntimeType.UNDEFINED src_type = runtimeType(src) - if (((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type))) { + if ((((RuntimeType.STRING == src_type))) || (((RuntimeType.OBJECT == src_type)))) { thisSerializer.writeInt8(0) const src_0 = unsafeCast(src) let src_0_type: int32 = RuntimeType.UNDEFINED diff --git a/arkoala/arkui/src/peers/ArkDataPanelPeer.ts b/arkoala/arkui/src/peers/ArkDataPanelPeer.ts index 5fb1fde93..e0ac88570 100644 --- a/arkoala/arkui/src/peers/ArkDataPanelPeer.ts +++ b/arkoala/arkui/src/peers/ArkDataPanelPeer.ts @@ -63,7 +63,7 @@ export class ArkDataPanelPeer extends ArkCommonMethodPeer { const value_element: ResourceColor | LinearGradient_data_panel = value[i] let value_element_type: int32 = RuntimeType.UNDEFINED value_element_type = runtimeType(value_element) - if (((RuntimeType.NUMBER == value_element_type)) || ((RuntimeType.NUMBER == value_element_type)) || ((RuntimeType.STRING == value_element_type)) || ((RuntimeType.OBJECT == value_element_type))) { + if ((((RuntimeType.NUMBER) == (value_element_type)) && ((unsafeCast(value_element)) >= (0)) && ((unsafeCast(value_element)) <= (11))) || (((RuntimeType.NUMBER == value_element_type))) || (((RuntimeType.STRING == value_element_type))) || (((RuntimeType.OBJECT == value_element_type)))) { thisSerializer.writeInt8(0) const value_element_0 = unsafeCast(value_element) let value_element_0_type: int32 = RuntimeType.UNDEFINED diff --git a/arkoala/arkui/src/peers/ArkGaugePeer.ts b/arkoala/arkui/src/peers/ArkGaugePeer.ts index 72bdb071b..e2129cedd 100644 --- a/arkoala/arkui/src/peers/ArkGaugePeer.ts +++ b/arkoala/arkui/src/peers/ArkGaugePeer.ts @@ -66,7 +66,7 @@ export class ArkGaugePeer extends ArkCommonMethodPeer { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - if (((RuntimeType.NUMBER == value_type)) || ((RuntimeType.NUMBER == value_type)) || ((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + 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 @@ -106,7 +106,7 @@ export class ArkGaugePeer extends ArkCommonMethodPeer { const value_2_element_0 = value_2_element[0] let value_2_element_0_type: int32 = RuntimeType.UNDEFINED value_2_element_0_type = runtimeType(value_2_element_0) - if (((RuntimeType.NUMBER == value_2_element_0_type)) || ((RuntimeType.NUMBER == value_2_element_0_type)) || ((RuntimeType.STRING == value_2_element_0_type)) || ((RuntimeType.OBJECT == value_2_element_0_type))) { + if ((((RuntimeType.NUMBER) == (value_2_element_0_type)) && ((unsafeCast(value_2_element_0)) >= (0)) && ((unsafeCast(value_2_element_0)) <= (11))) || (((RuntimeType.NUMBER == value_2_element_0_type))) || (((RuntimeType.STRING == value_2_element_0_type))) || (((RuntimeType.OBJECT == value_2_element_0_type)))) { thisSerializer.writeInt8(0) const value_2_element_0_0 = unsafeCast(value_2_element_0) let value_2_element_0_0_type: int32 = RuntimeType.UNDEFINED diff --git a/arkoala/arkui/src/peers/ArkImagePeer.ts b/arkoala/arkui/src/peers/ArkImagePeer.ts index c1e03e8f3..fdfd639fc 100644 --- a/arkoala/arkui/src/peers/ArkImagePeer.ts +++ b/arkoala/arkui/src/peers/ArkImagePeer.ts @@ -56,7 +56,7 @@ export class ArkImagePeer extends ArkCommonMethodPeer { const src_0 = unsafeCast(src) thisSerializer.writePixelMap(src_0) } - else if (((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type))) { + else if ((((RuntimeType.STRING == src_type))) || (((RuntimeType.OBJECT == src_type)))) { thisSerializer.writeInt8(1) const src_1 = unsafeCast(src) let src_1_type: int32 = RuntimeType.UNDEFINED @@ -89,7 +89,7 @@ export class ArkImagePeer extends ArkCommonMethodPeer { const src_0 = unsafeCast(src) thisSerializer.writePixelMap(src_0) } - else if (((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type))) { + else if ((((RuntimeType.STRING == src_type))) || (((RuntimeType.OBJECT == src_type)))) { thisSerializer.writeInt8(1) const src_1 = unsafeCast(src) let src_1_type: int32 = RuntimeType.UNDEFINED @@ -127,7 +127,7 @@ export class ArkImagePeer extends ArkCommonMethodPeer { const src_0 = unsafeCast(src) thisSerializer.writePixelMap(src_0) } - else if (((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type))) { + else if ((((RuntimeType.STRING == src_type))) || (((RuntimeType.OBJECT == src_type)))) { thisSerializer.writeInt8(1) const src_1 = unsafeCast(src) let src_1_type: int32 = RuntimeType.UNDEFINED diff --git a/arkoala/arkui/src/peers/ArkImageSpanPeer.ts b/arkoala/arkui/src/peers/ArkImageSpanPeer.ts index 614c5714d..af146e9ad 100644 --- a/arkoala/arkui/src/peers/ArkImageSpanPeer.ts +++ b/arkoala/arkui/src/peers/ArkImageSpanPeer.ts @@ -51,7 +51,7 @@ export class ArkImageSpanPeer extends ArkBaseSpanPeer { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - if (((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + if ((((RuntimeType.STRING == value_type))) || (((RuntimeType.OBJECT == value_type)))) { thisSerializer.writeInt8(0) const value_0 = unsafeCast(value) let value_0_type: int32 = RuntimeType.UNDEFINED diff --git a/arkoala/arkui/src/peers/ArkMediaCachedImagePeer.ts b/arkoala/arkui/src/peers/ArkMediaCachedImagePeer.ts index 09e3019fd..c2b0c6f73 100644 --- a/arkoala/arkui/src/peers/ArkMediaCachedImagePeer.ts +++ b/arkoala/arkui/src/peers/ArkMediaCachedImagePeer.ts @@ -56,7 +56,7 @@ export class ArkMediaCachedImagePeer extends ArkImagePeer { const src_0 = unsafeCast(src) thisSerializer.writePixelMap(src_0) } - else if (((RuntimeType.STRING == src_type)) || ((RuntimeType.OBJECT == src_type))) { + else if ((((RuntimeType.STRING == src_type))) || (((RuntimeType.OBJECT == src_type)))) { thisSerializer.writeInt8(1) const src_1 = unsafeCast(src) let src_1_type: int32 = RuntimeType.UNDEFINED diff --git a/arkoala/arkui/src/peers/ArkMenuItemPeer.ts b/arkoala/arkui/src/peers/ArkMenuItemPeer.ts index f24116eb9..70e22bd3d 100644 --- a/arkoala/arkui/src/peers/ArkMenuItemPeer.ts +++ b/arkoala/arkui/src/peers/ArkMenuItemPeer.ts @@ -82,7 +82,7 @@ export class ArkMenuItemPeer extends ArkCommonMethodPeer { const value_0 = unsafeCast(value) thisSerializer.writeBoolean(value_0) } - else if (((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + else if ((((RuntimeType.STRING == value_type))) || (((RuntimeType.OBJECT == value_type)))) { thisSerializer.writeInt8(1) const value_1 = unsafeCast(value) let value_1_type: int32 = RuntimeType.UNDEFINED diff --git a/arkoala/arkui/src/peers/ArkNavDestinationPeer.ts b/arkoala/arkui/src/peers/ArkNavDestinationPeer.ts index ee9eb4c30..6d805ccb8 100644 --- a/arkoala/arkui/src/peers/ArkNavDestinationPeer.ts +++ b/arkoala/arkui/src/peers/ArkNavDestinationPeer.ts @@ -81,7 +81,7 @@ export class ArkNavDestinationPeer extends ArkCommonMethodPeer { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - if (((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + if ((((RuntimeType.STRING == value_type))) || (((RuntimeType.OBJECT == value_type)))) { thisSerializer.writeInt8(0) const value_0 = unsafeCast(value) let value_0_type: int32 = RuntimeType.UNDEFINED diff --git a/arkoala/arkui/src/peers/ArkProgressPeer.ts b/arkoala/arkui/src/peers/ArkProgressPeer.ts index 20083d2e1..b392e5a85 100644 --- a/arkoala/arkui/src/peers/ArkProgressPeer.ts +++ b/arkoala/arkui/src/peers/ArkProgressPeer.ts @@ -60,7 +60,7 @@ export class ArkProgressPeer extends ArkCommonMethodPeer { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - if (((RuntimeType.NUMBER == value_type)) || ((RuntimeType.NUMBER == value_type)) || ((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + 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 diff --git a/arkoala/arkui/src/peers/ArkSliderPeer.ts b/arkoala/arkui/src/peers/ArkSliderPeer.ts index ae0d1112f..da5e97f64 100644 --- a/arkoala/arkui/src/peers/ArkSliderPeer.ts +++ b/arkoala/arkui/src/peers/ArkSliderPeer.ts @@ -90,7 +90,7 @@ export class ArkSliderPeer extends ArkCommonMethodPeer { const thisSerializer: Serializer = Serializer.hold() let value_type: int32 = RuntimeType.UNDEFINED value_type = runtimeType(value) - if (((RuntimeType.NUMBER == value_type)) || ((RuntimeType.NUMBER == value_type)) || ((RuntimeType.STRING == value_type)) || ((RuntimeType.OBJECT == value_type))) { + 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 diff --git a/arkoala/arkui/src/peers/ArkTextInputPeer.ts b/arkoala/arkui/src/peers/ArkTextInputPeer.ts index 7b289348a..a90918318 100644 --- a/arkoala/arkui/src/peers/ArkTextInputPeer.ts +++ b/arkoala/arkui/src/peers/ArkTextInputPeer.ts @@ -381,7 +381,7 @@ export class ArkTextInputPeer extends ArkCommonMethodPeer { const value_value = value! let value_value_type: int32 = RuntimeType.UNDEFINED value_value_type = runtimeType(value_value) - if (((RuntimeType.NUMBER == value_value_type)) || ((RuntimeType.NUMBER == value_value_type)) || ((RuntimeType.STRING == value_value_type)) || ((RuntimeType.OBJECT == value_value_type))) { + 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 diff --git a/arkoala/arkui/src/peers/Serializer.ts b/arkoala/arkui/src/peers/Serializer.ts index 98a3bfc1f..d93f2b5fb 100644 --- a/arkoala/arkui/src/peers/Serializer.ts +++ b/arkoala/arkui/src/peers/Serializer.ts @@ -207,12 +207,18 @@ export class Serializer extends SerializerBase { } writePixelMap(value: PixelMap): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeLengthMetrics(value: LengthMetrics): void { let valueSerializer: Serializer = this @@ -233,12 +239,18 @@ export class Serializer extends SerializerBase { } writeICurve(value: ICurve): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeTextBackgroundStyle(value: TextBackgroundStyle): void { let valueSerializer: Serializer = this @@ -677,12 +689,18 @@ export class Serializer extends SerializerBase { } writeCustomSpan(value: CustomSpan): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeUrlStyle(value: UrlStyle): void { let valueSerializer: Serializer = this @@ -1426,12 +1444,18 @@ export class Serializer extends SerializerBase { } writeTransitionEffect(value: TransitionEffect): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeLocalizedBorderRadiuses(value: LocalizedBorderRadiuses): void { let valueSerializer: Serializer = this @@ -1470,21 +1494,33 @@ export class Serializer extends SerializerBase { } writeCanvasPattern(value: CanvasPattern): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeCanvasGradient(value: CanvasGradient): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeColorMetrics(value: ColorMetrics): void { let valueSerializer: Serializer = this @@ -1493,12 +1529,18 @@ export class Serializer extends SerializerBase { } writeImageAnalyzerController(value: ImageAnalyzerController): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeEventTarget(value: EventTarget): void { let valueSerializer: Serializer = this @@ -1507,12 +1549,18 @@ export class Serializer extends SerializerBase { } writeWebResourceRequest(value: WebResourceRequest): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeWebviewController(value: WebviewController): void { let valueSerializer: Serializer = this @@ -1521,12 +1569,18 @@ export class Serializer extends SerializerBase { } writeWebController(value: WebController): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeDateTimeOptions(value: DateTimeOptions): void { let valueSerializer: Serializer = this @@ -1812,12 +1866,18 @@ export class Serializer extends SerializerBase { } writeTextMenuItemId(value: TextMenuItemId): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeTabBarIconStyle(value: TabBarIconStyle): void { let valueSerializer: Serializer = this @@ -2661,12 +2721,18 @@ export class Serializer extends SerializerBase { } writeNavPathStack(value: NavPathStack): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeNavPathInfo(value: NavPathInfo): void { let valueSerializer: Serializer = this @@ -3411,12 +3477,18 @@ export class Serializer extends SerializerBase { } writeDrawingCanvas(value: DrawingCanvas): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeSize(value: Size): void { let valueSerializer: Serializer = this @@ -3427,12 +3499,18 @@ export class Serializer extends SerializerBase { } writeFrameNode(value: FrameNode): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeTextStyle_alert_dialog(value: TextStyle_alert_dialog): void { let valueSerializer: Serializer = this @@ -3729,12 +3807,18 @@ export class Serializer extends SerializerBase { } writeStyledString(value: StyledString): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeNavigationAnimatedTransition(value: NavigationAnimatedTransition): void { let valueSerializer: Serializer = this @@ -3964,21 +4048,33 @@ export class Serializer extends SerializerBase { } writeWaterFlowSections(value: WaterFlowSections): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeScroller(value: Scroller): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeSectionOptions(value: SectionOptions): void { let valueSerializer: Serializer = this @@ -4218,12 +4314,18 @@ export class Serializer extends SerializerBase { } writeXComponentController(value: XComponentController): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeImageAnalyzerConfig(value: ImageAnalyzerConfig): void { let valueSerializer: Serializer = this @@ -4305,30 +4407,48 @@ export class Serializer extends SerializerBase { } writeWebKeyboardController(value: WebKeyboardController): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeEventResult(value: EventResult): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeTouchEvent(value: TouchEvent): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeNativeEmbedInfo(value: NativeEmbedInfo): void { let valueSerializer: Serializer = this @@ -4453,156 +4573,258 @@ export class Serializer extends SerializerBase { } writeDataResubmissionHandler(value: DataResubmissionHandler): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeControllerHandler(value: ControllerHandler): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeClientAuthenticationHandler(value: ClientAuthenticationHandler): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeSslErrorHandler(value: SslErrorHandler): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeWebContextMenuResult(value: WebContextMenuResult): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeWebContextMenuParam(value: WebContextMenuParam): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeScreenCaptureHandler(value: ScreenCaptureHandler): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writePermissionRequest(value: PermissionRequest): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeHttpAuthHandler(value: HttpAuthHandler): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeFullScreenExitHandler(value: FullScreenExitHandler): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeFileSelectorParam(value: FileSelectorParam): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeFileSelectorResult(value: FileSelectorResult): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeWebResourceResponse(value: WebResourceResponse): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeWebResourceError(value: WebResourceError): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeConsoleMessage(value: ConsoleMessage): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeJsResult(value: JsResult): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeJsGeolocation(value: JsGeolocation): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeScreenCaptureConfig(value: ScreenCaptureConfig): void { let valueSerializer: Serializer = this @@ -4611,12 +4833,18 @@ export class Serializer extends SerializerBase { } writeVideoController(value: VideoController): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeTimePickerDialogOptions(value: TimePickerDialogOptions): void { let valueSerializer: Serializer = this @@ -4850,12 +5078,18 @@ export class Serializer extends SerializerBase { } writeTextTimerController(value: TextTimerController): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeTextPickerDialogOptions(value: TextPickerDialogOptions): void { let valueSerializer: Serializer = this @@ -5383,12 +5617,18 @@ export class Serializer extends SerializerBase { } writeTextInputController(value: TextInputController): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeSelectionOptions(value: SelectionOptions): void { let valueSerializer: Serializer = this @@ -5459,21 +5699,33 @@ export class Serializer extends SerializerBase { } writeTextClockController(value: TextClockController): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeTextAreaController(value: TextAreaController): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeSelectionMenuOptions(value: SelectionMenuOptions): void { let valueSerializer: Serializer = this @@ -5515,12 +5767,18 @@ export class Serializer extends SerializerBase { } writeTextController(value: TextController): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeBottomTabBarStyle(value: BottomTabBarStyle): void { let valueSerializer: Serializer = this @@ -5532,7 +5790,7 @@ export class Serializer extends SerializerBase { 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))) { + if ((((RuntimeType.STRING == value__icon_value_type))) || (((RuntimeType.OBJECT == value__icon_value_type)))) { valueSerializer.writeInt8(0) const value__icon_value_0 = unsafeCast(value__icon_value) let value__icon_value_0_type: int32 = RuntimeType.UNDEFINED @@ -5743,7 +6001,7 @@ export class Serializer extends SerializerBase { const value__padding_value = value__padding! let value__padding_value_type: int32 = RuntimeType.UNDEFINED value__padding_value_type = runtimeType(value__padding_value) - if (((RuntimeType.OBJECT == value__padding_value_type)) || ((RuntimeType.NUMBER == value__padding_value_type)) || ((RuntimeType.STRING == value__padding_value_type)) || ((RuntimeType.OBJECT == value__padding_value_type))) { + if ((((RuntimeType.OBJECT) == (value__padding_value_type)) && (((value__padding_value!.hasOwnProperty("top")) || (value__padding_value!.hasOwnProperty("right")) || (value__padding_value!.hasOwnProperty("bottom")) || (value__padding_value!.hasOwnProperty("left"))))) || (((RuntimeType.NUMBER) == (value__padding_value_type)) || ((RuntimeType.STRING) == (value__padding_value_type)) || (((RuntimeType.OBJECT) == (value__padding_value_type)) && (isResource(value__padding_value))))) { valueSerializer.writeInt8(0) const value__padding_value_0 = unsafeCast(value__padding_value) let value__padding_value_0_type: int32 = RuntimeType.UNDEFINED @@ -5952,12 +6210,18 @@ export class Serializer extends SerializerBase { } writeTabsController(value: TabsController): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeSymbolEffect(value: SymbolEffect): void { } @@ -6510,12 +6774,18 @@ export class Serializer extends SerializerBase { } writeSearchController(value: SearchController): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeEdgeEffectOptions(value: EdgeEffectOptions): void { let valueSerializer: Serializer = this @@ -6607,21 +6877,33 @@ export class Serializer extends SerializerBase { } writeRichEditorStyledStringController(value: RichEditorStyledStringController): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeRichEditorController(value: RichEditorController): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writePlaceholderStyle(value: PlaceholderStyle): void { let valueSerializer: Serializer = this @@ -7411,12 +7693,18 @@ export class Serializer extends SerializerBase { } writeNavDestinationContext(value: NavDestinationContext): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeNavigationInterception(value: NavigationInterception): void { let valueSerializer: Serializer = this @@ -7829,12 +8117,18 @@ export class Serializer extends SerializerBase { } writeMatrix2D(value: Matrix2D): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeListDividerOptions(value: ListDividerOptions): void { let valueSerializer: Serializer = this @@ -8710,7 +9004,7 @@ export class Serializer extends SerializerBase { 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)) || ((RuntimeType.NUMBER == value_borderColor_value_type)) || ((RuntimeType.STRING == value_borderColor_value_type)) || ((RuntimeType.OBJECT == value_borderColor_value_type))) { + 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 @@ -10414,12 +10708,18 @@ export class Serializer extends SerializerBase { } writeProgressMask(value: ProgressMask): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeDragItemInfo(value: DragItemInfo): void { let valueSerializer: Serializer = this @@ -10597,21 +10897,33 @@ export class Serializer extends SerializerBase { } writeDrawModifier(value: DrawModifier): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeUnifiedData(value: UnifiedData): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeColumnSplitDividerStyle(value: ColumnSplitDividerStyle): void { let valueSerializer: Serializer = this @@ -10674,30 +10986,48 @@ export class Serializer extends SerializerBase { } writeDrawingRenderingContext(value: DrawingRenderingContext): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeCanvasRenderingContext2D(value: CanvasRenderingContext2D): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeImageBitmap(value: ImageBitmap): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeImageData(value: ImageData): void { let valueSerializer: Serializer = this @@ -10710,12 +11040,18 @@ export class Serializer extends SerializerBase { } writePath2D(value: Path2D): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeCalendarDialogOptions(value: CalendarDialogOptions): void { let valueSerializer: Serializer = this @@ -10893,12 +11229,18 @@ export class Serializer extends SerializerBase { } writeCalendarController(value: CalendarController): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeMonthData(value: MonthData): void { let valueSerializer: Serializer = this @@ -11386,7 +11728,7 @@ export class Serializer extends SerializerBase { 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)) || ((RuntimeType.NUMBER == value_borderColor_value_type)) || ((RuntimeType.STRING == value_borderColor_value_type)) || ((RuntimeType.OBJECT == value_borderColor_value_type))) { + 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 @@ -11953,7 +12295,7 @@ export class Serializer extends SerializerBase { 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)) || ((RuntimeType.NUMBER == value_borderColor_value_type)) || ((RuntimeType.STRING == value_borderColor_value_type)) || ((RuntimeType.OBJECT == value_borderColor_value_type))) { + 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 @@ -12510,7 +12852,7 @@ export class Serializer extends SerializerBase { 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)) || ((RuntimeType.NUMBER == value_borderColor_value_type)) || ((RuntimeType.STRING == value_borderColor_value_type)) || ((RuntimeType.OBJECT == value_borderColor_value_type))) { + 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 @@ -13068,7 +13410,7 @@ export class Serializer extends SerializerBase { 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)) || ((RuntimeType.NUMBER == value_borderColor_value_type)) || ((RuntimeType.STRING == value_borderColor_value_type)) || ((RuntimeType.OBJECT == value_borderColor_value_type))) { + 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 @@ -13308,12 +13650,18 @@ export class Serializer extends SerializerBase { } writeClickEvent(value: ClickEvent): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeWithThemeOptions(value: WithThemeOptions): void { let valueSerializer: Serializer = this @@ -13345,23 +13693,35 @@ export class Serializer extends SerializerBase { } writeNavigationTransitionProxy(value: NavigationTransitionProxy): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeIsolatedComponentAttribute(value: IsolatedComponentAttribute): void { } writeLinearIndicatorController(value: LinearIndicatorController): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeStyleOptions(value: StyleOptions): void { let valueSerializer: Serializer = this @@ -13498,12 +13858,18 @@ export class Serializer extends SerializerBase { } writeUIExtensionProxy(value: UIExtensionProxy): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeWaterFlowOptions(value: WaterFlowOptions): void { let valueSerializer: Serializer = this @@ -14945,12 +15311,18 @@ export class Serializer extends SerializerBase { } writeTabContentTransitionProxy(value: TabContentTransitionProxy): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeBarGridColumnOptions(value: BarGridColumnOptions): void { let valueSerializer: Serializer = this @@ -15033,12 +15405,18 @@ export class Serializer extends SerializerBase { } writeSwiperContentTransitionProxy(value: SwiperContentTransitionProxy): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeSwiperContentAnimatedTransition(value: SwiperContentAnimatedTransition): void { let valueSerializer: Serializer = this @@ -15064,21 +15442,33 @@ export class Serializer extends SerializerBase { } writeIndicatorComponentController(value: IndicatorComponentController): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeSwiperController(value: SwiperController): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeStackOptions(value: StackOptions): void { let valueSerializer: Serializer = this @@ -15647,12 +16037,18 @@ export class Serializer extends SerializerBase { } writeEditMenuOptions(value: EditMenuOptions): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeCopyEvent(value: CopyEvent): void { let valueSerializer: Serializer = this @@ -15701,12 +16097,18 @@ export class Serializer extends SerializerBase { } writeSubmitEvent(value: SubmitEvent): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeTextDataDetectorConfig(value: TextDataDetectorConfig): void { let valueSerializer: Serializer = this @@ -15856,12 +16258,18 @@ export class Serializer extends SerializerBase { } writeGestureEvent(value: GestureEvent): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeLocalizedBarrierStyle(value: LocalizedBarrierStyle): void { let valueSerializer: Serializer = this @@ -16251,12 +16659,18 @@ export class Serializer extends SerializerBase { } writePatternLockController(value: PatternLockController): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writePathOptions(value: PathOptions): void { let valueSerializer: Serializer = this @@ -16775,12 +17189,18 @@ export class Serializer extends SerializerBase { } writeChildrenMainSize(value: ChildrenMainSize): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeChainAnimationOptions(value: ChainAnimationOptions): void { let valueSerializer: Serializer = this @@ -17788,7 +18208,7 @@ export class Serializer extends SerializerBase { const value_colors_value_element: ResourceColor | LinearGradient_data_panel = 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)) || ((RuntimeType.NUMBER == value_colors_value_element_type)) || ((RuntimeType.STRING == value_colors_value_element_type)) || ((RuntimeType.OBJECT == value_colors_value_element_type))) { + 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 @@ -18132,7 +18552,7 @@ export class Serializer extends SerializerBase { 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)) || ((RuntimeType.NUMBER == value_borderColor_value_type)) || ((RuntimeType.STRING == value_borderColor_value_type)) || ((RuntimeType.OBJECT == value_borderColor_value_type))) { + 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 @@ -18391,7 +18811,7 @@ export class Serializer extends SerializerBase { 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))) { + if ((((RuntimeType.STRING == value_scene_value_type))) || (((RuntimeType.OBJECT == value_scene_value_type)))) { valueSerializer.writeInt8(0) const value_scene_value_0 = unsafeCast(value_scene_value) let value_scene_value_0_type: int32 = RuntimeType.UNDEFINED @@ -18515,12 +18935,18 @@ export class Serializer extends SerializerBase { } writeGestureRecognizer(value: GestureRecognizer): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeFingerInfo(value: FingerInfo): void { let valueSerializer: Serializer = this @@ -18541,12 +18967,18 @@ export class Serializer extends SerializerBase { } writeBaseGestureEvent(value: BaseGestureEvent): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeGestureInfo(value: GestureInfo): void { let valueSerializer: Serializer = this @@ -18572,12 +19004,18 @@ export class Serializer extends SerializerBase { } writeGestureModifier(value: GestureModifier): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writePixelStretchEffectOptions(value: PixelStretchEffectOptions): void { let valueSerializer: Serializer = this @@ -18672,12 +19110,18 @@ export class Serializer extends SerializerBase { } writeDragEvent(value: DragEvent): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeLocalizedAlignRuleOptions(value: LocalizedAlignRuleOptions): void { let valueSerializer: Serializer = this @@ -18851,39 +19295,63 @@ export class Serializer extends SerializerBase { } writeKeyEvent(value: KeyEvent): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeMouseEvent(value: MouseEvent): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeAccessibilityHoverEvent(value: AccessibilityHoverEvent): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeHoverEvent(value: HoverEvent): void { let valueSerializer: Serializer = this - const base: MaterializedBase = unsafeCast(value) - const peer = base.getPeer() - let ptr: KPointer = nullptr - if (peer != undefined) - ptr = peer.ptr - valueSerializer.writePointer(ptr) + if (value.hasOwnProperty("peer")) + { + const base: MaterializedBase = unsafeCast(value) + const peer = base.getPeer() + let ptr: KPointer = nullptr + if (peer != undefined) + ptr = peer.ptr + valueSerializer.writePointer(ptr) + return + } + else + throw new Error("Value is not a MaterializedBase instance!") } writeOutlineOptions(value: OutlineOptions): void { let valueSerializer: Serializer = this @@ -19065,7 +19533,7 @@ export class Serializer extends SerializerBase { } } } - else if (((RuntimeType.NUMBER == value_color_value_type)) || ((RuntimeType.NUMBER == value_color_value_type)) || ((RuntimeType.STRING == value_color_value_type)) || ((RuntimeType.OBJECT == value_color_value_type))) { + 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) const value_color_value_1 = unsafeCast(value_color_value) let value_color_value_1_type: int32 = RuntimeType.UNDEFINED @@ -19591,7 +20059,7 @@ export class Serializer extends SerializerBase { } } } - else if (((RuntimeType.NUMBER == value_color_value_type)) || ((RuntimeType.NUMBER == value_color_value_type)) || ((RuntimeType.STRING == value_color_value_type)) || ((RuntimeType.OBJECT == value_color_value_type))) { + 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) const value_color_value_1 = unsafeCast(value_color_value) let value_color_value_1_type: int32 = RuntimeType.UNDEFINED diff --git a/arkoala/framework/src/generated/EnumsImpl.ts b/arkoala/framework/src/generated/EnumsImpl.ts index 8bc2f8e53..af552fa8f 100644 --- a/arkoala/framework/src/generated/EnumsImpl.ts +++ b/arkoala/framework/src/generated/EnumsImpl.ts @@ -1,6 +1,6 @@ import { int32 } from "@koalaui/common" export enum PointerStyle { - DEFAULT = 0, + DEFAULT, EAST = 1, WEST = 2, SOUTH = 3, @@ -43,178 +43,178 @@ export enum PointerStyle { CURSOR_CROSS = 40, CURSOR_CIRCLE = 41, LOADING = 42, - RUNNING = 43 + RUNNING = 43, } export enum RectWidthStyle { - TIGHT = 0, - MAX = 1 + TIGHT, + MAX = 1, } export enum RectHeightStyle { - TIGHT = 0, + TIGHT, MAX = 1, INCLUDE_LINE_SPACE_MIDDLE = 2, INCLUDE_LINE_SPACE_TOP = 3, INCLUDE_LINE_SPACE_BOTTOM = 4, - STRUT = 5 + STRUT = 5, } export enum LengthUnit { - PX = 0, + PX, VP = 1, FP = 2, PERCENT = 3, - LPX = 4 + LPX = 4, } export enum DialogAlignment { - TOP = 0, - Top = 0, + TOP, + Top = TOP, CENTER = 1, - Center = 1, + Center = CENTER, BOTTOM = 2, - Bottom = 2, + Bottom = BOTTOM, DEFAULT = 3, - Default = 3, + Default = DEFAULT, TOP_START = 4, - TopStart = 4, + TopStart = TOP_START, TOP_END = 5, - TopEnd = 5, + TopEnd = TOP_END, CENTER_START = 6, - CenterStart = 6, + CenterStart = CENTER_START, CENTER_END = 7, - CenterEnd = 7, + CenterEnd = CENTER_END, BOTTOM_START = 8, - BottomStart = 8, + BottomStart = BOTTOM_START, BOTTOM_END = 9, - BottomEnd = 9 + BottomEnd = BOTTOM_END, } export enum DialogButtonDirection { - AUTO = 0, + AUTO, HORIZONTAL = 1, - VERTICAL = 2 + VERTICAL = 2, } export enum IndexerAlign { - LEFT = 0, - Left = 0, + LEFT, + Left = LEFT, RIGHT = 1, - Right = 1, + Right = RIGHT, START = 2, - END = 3 + END = 3, } export enum BadgePosition { - RIGHT_TOP = 0, - RightTop = 0, + RIGHT_TOP, + RightTop = RIGHT_TOP, RIGHT = 1, - Right = 1, + Right = RIGHT, LEFT = 2, - Left = 2 + Left = LEFT, } export enum ButtonType { - CAPSULE = 0, - Capsule = 0, + CAPSULE, + Capsule = CAPSULE, CIRCLE = 1, - Circle = 1, + Circle = CIRCLE, NORMAL = 2, - Normal = 2, - ROUNDED_RECTANGLE = 3 + Normal = NORMAL, + ROUNDED_RECTANGLE = 3, } export enum ButtonStyleMode { - NORMAL = 0, + NORMAL, EMPHASIZED = 1, - TEXTUAL = 2 + TEXTUAL = 2, } export enum ButtonRole { - NORMAL = 0, - ERROR = 1 + NORMAL, + ERROR = 1, } export enum ControlSize { SMALL = "small", - NORMAL = "normal" + NORMAL = "normal", } export enum CalendarAlign { - START = 0, + START, CENTER = 1, - END = 2 + END = 2, } export enum SelectStatus { - ALL = 0, - All = 0, + ALL, + All = ALL, PART = 1, - Part = 1, + Part = PART, NONE = 2, - None = 2 + None = NONE, } export enum FinishCallbackType { - REMOVED = 0, - LOGICALLY = 1 + REMOVED, + LOGICALLY = 1, } export enum TouchTestStrategy { - DEFAULT = 0, + DEFAULT, FORWARD_COMPETITION = 1, - FORWARD = 2 + FORWARD = 2, } export enum TransitionHierarchyStrategy { - NONE = 0, - ADAPTIVE = 1 + NONE, + ADAPTIVE = 1, } export enum ChainStyle { - SPREAD = 0, + SPREAD, SPREAD_INSIDE = 1, - PACKED = 2 + PACKED = 2, } export enum TransitionEdge { - TOP = 0, + TOP, BOTTOM = 1, START = 2, - END = 3 + END = 3, } export enum EffectType { - DEFAULT = 0, - WINDOW_EFFECT = 1 + DEFAULT, + WINDOW_EFFECT = 1, } export enum PreDragStatus { - ACTION_DETECTING_STATUS = 0, + ACTION_DETECTING_STATUS, READY_TO_TRIGGER_DRAG_ACTION = 1, PREVIEW_LIFT_STARTED = 2, PREVIEW_LIFT_FINISHED = 3, PREVIEW_LANDING_STARTED = 4, PREVIEW_LANDING_FINISHED = 5, - ACTION_CANCELED_BEFORE_DRAG = 6 + ACTION_CANCELED_BEFORE_DRAG = 6, } export enum SourceType { - UNKNOWN = 0, - Unknown = 0, + UNKNOWN, + Unknown = UNKNOWN, MOUSE = 1, - Mouse = 1, + Mouse = MOUSE, TOUCH_SCREEN = 2, - TouchScreen = 2 + TouchScreen = TOUCH_SCREEN, } export enum SourceTool { - UNKNOWN = 0, - Unknown = 0, + UNKNOWN, + Unknown = UNKNOWN, FINGER = 1, - Finger = 1, + Finger = FINGER, PEN = 2, - Pen = 2, + Pen = PEN, MOUSE = 3, TOUCHPAD = 4, - JOYSTICK = 5 + JOYSTICK = 5, } export enum RepeatMode { - REPEAT = 0, - Repeat = 0, + REPEAT, + Repeat = REPEAT, STRETCH = 1, - Stretch = 1, + Stretch = STRETCH, ROUND = 2, - Round = 2, + Round = ROUND, SPACE = 3, - Space = 3 + Space = SPACE, } export enum BlurStyle { - THIN = 0, - Thin = 0, + THIN, + Thin = THIN, REGULAR = 1, - Regular = 1, + Regular = REGULAR, THICK = 2, - Thick = 2, + Thick = THICK, BACKGROUND_THIN = 3, BACKGROUND_REGULAR = 4, BACKGROUND_THICK = 5, @@ -224,75 +224,75 @@ export enum BlurStyle { COMPONENT_THIN = 9, COMPONENT_REGULAR = 10, COMPONENT_THICK = 11, - COMPONENT_ULTRA_THICK = 12 + COMPONENT_ULTRA_THICK = 12, } export enum BlurStyleActivePolicy { - FOLLOWS_WINDOW_ACTIVE_STATE = 0, + FOLLOWS_WINDOW_ACTIVE_STATE, ALWAYS_ACTIVE = 1, - ALWAYS_INACTIVE = 2 + ALWAYS_INACTIVE = 2, } export enum ThemeColorMode { - SYSTEM = 0, + SYSTEM, LIGHT = 1, - DARK = 2 + DARK = 2, } export enum AdaptiveColor { - DEFAULT = 0, - AVERAGE = 1 + DEFAULT, + AVERAGE = 1, } export enum ModalTransition { - DEFAULT = 0, + DEFAULT, NONE = 1, - ALPHA = 2 + ALPHA = 2, } export enum ShadowType { - COLOR = 0, - BLUR = 1 + COLOR, + BLUR = 1, } export enum ShadowStyle { - OUTER_DEFAULT_XS = 0, + OUTER_DEFAULT_XS, OUTER_DEFAULT_SM = 1, OUTER_DEFAULT_MD = 2, OUTER_DEFAULT_LG = 3, OUTER_FLOATING_SM = 4, - OUTER_FLOATING_MD = 5 + OUTER_FLOATING_MD = 5, } export enum SafeAreaType { - SYSTEM = 0, + SYSTEM, CUTOUT = 1, - KEYBOARD = 2 + KEYBOARD = 2, } export enum SafeAreaEdge { - TOP = 0, + TOP, BOTTOM = 1, START = 2, - END = 3 + END = 3, } export enum LayoutSafeAreaType { - SYSTEM = 0 + SYSTEM, } export enum LayoutSafeAreaEdge { - TOP = 0, - BOTTOM = 1 + TOP, + BOTTOM = 1, } export enum SheetSize { - MEDIUM = 0, + MEDIUM, LARGE = 1, - FIT_CONTENT = 2 + FIT_CONTENT = 2, } export enum DragBehavior { - COPY = 0, - MOVE = 1 + COPY, + MOVE = 1, } export enum DragResult { - DRAG_SUCCESSFUL = 0, + DRAG_SUCCESSFUL, DRAG_FAILED = 1, DRAG_CANCELED = 2, DROP_ENABLED = 3, - DROP_DISABLED = 4 + DROP_DISABLED = 4, } export enum BlendMode { - NONE = 0, + NONE, CLEAR = 1, SRC = 2, DST = 3, @@ -321,128 +321,128 @@ export enum BlendMode { HUE = 26, SATURATION = 27, COLOR = 28, - LUMINOSITY = 29 + LUMINOSITY = 29, } export enum BlendApplyType { - FAST = 0, - OFFSCREEN = 1 + FAST, + OFFSCREEN = 1, } export enum SheetType { - BOTTOM = 0, + BOTTOM, CENTER = 1, - POPUP = 2 + POPUP = 2, } export enum SheetMode { - OVERLAY = 0, - EMBEDDED = 1 + OVERLAY, + EMBEDDED = 1, } export enum ScrollSizeMode { - FOLLOW_DETENT = 0, - CONTINUOUS = 1 + FOLLOW_DETENT, + CONTINUOUS = 1, } export enum SheetKeyboardAvoidMode { - NONE = 0, + NONE, TRANSLATE_AND_RESIZE = 1, RESIZE_ONLY = 2, - TRANSLATE_AND_SCROLL = 3 + TRANSLATE_AND_SCROLL = 3, } export enum DismissReason { - PRESS_BACK = 0, + PRESS_BACK, TOUCH_OUTSIDE = 1, CLOSE_BUTTON = 2, - SLIDE_DOWN = 3 + SLIDE_DOWN = 3, } export enum MenuPreviewMode { - NONE = 0, - IMAGE = 1 + NONE, + IMAGE = 1, } export enum OutlineStyle { - SOLID = 0, + SOLID, DASHED = 1, - DOTTED = 2 + DOTTED = 2, } export enum DragPreviewMode { AUTO = 1, DISABLE_SCALE = 2, ENABLE_DEFAULT_SHADOW = 3, - ENABLE_DEFAULT_RADIUS = 4 + ENABLE_DEFAULT_RADIUS = 4, } export enum MenuPolicy { - DEFAULT = 0, + DEFAULT, HIDE = 1, - SHOW = 2 + SHOW = 2, } export enum ContentClipMode { - CONTENT_ONLY = 0, + CONTENT_ONLY, BOUNDARY = 1, - SAFE_AREA = 2 + SAFE_AREA = 2, } export enum KeyboardAvoidMode { - DEFAULT = 0, - NONE = 1 + DEFAULT, + NONE = 1, } export enum HoverModeAreaType { - TOP_SCREEN = 0, - BOTTOM_SCREEN = 1 + TOP_SCREEN, + BOTTOM_SCREEN = 1, } export enum ModelType { - TEXTURE = 0, - SURFACE = 1 + TEXTURE, + SURFACE = 1, } export enum DataPanelType { - LINE = 0, - Line = 0, + LINE, + Line = LINE, CIRCLE = 1, - Circle = 1 + Circle = CIRCLE, } export enum CheckBoxShape { - CIRCLE = 0, - ROUNDED_SQUARE = 1 + CIRCLE, + ROUNDED_SQUARE = 1, } export enum Color { - WHITE = 0, - White = 0, + WHITE, + White = WHITE, BLACK = 1, - Black = 1, + Black = BLACK, BLUE = 2, - Blue = 2, + Blue = BLUE, BROWN = 3, - Brown = 3, + Brown = BROWN, GRAY = 4, - Gray = 4, + Gray = GRAY, GREEN = 5, - Green = 5, + Green = GREEN, GREY = 6, - Grey = 6, + Grey = GREY, ORANGE = 7, - Orange = 7, + Orange = ORANGE, PINK = 8, - Pink = 8, + Pink = PINK, RED = 9, - Red = 9, + Red = RED, YELLOW = 10, - Yellow = 10, + Yellow = YELLOW, TRANSPARENT = 11, - Transparent = 11 + Transparent = TRANSPARENT, } export enum ColoringStrategy { INVERT = "invert", AVERAGE = "average", - PRIMARY = "primary" + PRIMARY = "primary", } export enum ImageFit { - CONTAIN = 0, - Contain = 0, + CONTAIN, + Contain = CONTAIN, COVER = 1, - Cover = 1, + Cover = COVER, AUTO = 2, - Auto = 2, + Auto = AUTO, FILL = 3, - Fill = 3, + Fill = FILL, SCALE_DOWN = 4, - ScaleDown = 4, + ScaleDown = SCALE_DOWN, NONE = 5, - None = 5, + None = NONE, TOP_START = 7, TOP = 8, TOP_END = 9, @@ -451,487 +451,487 @@ export enum ImageFit { END = 12, BOTTOM_START = 13, BOTTOM = 14, - BOTTOM_END = 15 + BOTTOM_END = 15, } export enum BorderStyle { - DOTTED = 0, - Dotted = 0, + DOTTED, + Dotted = DOTTED, DASHED = 1, - Dashed = 1, + Dashed = DASHED, SOLID = 2, - Solid = 2 + Solid = SOLID, } export enum LineJoinStyle { - MITER = 0, - Miter = 0, + MITER, + Miter = MITER, ROUND = 1, - Round = 1, + Round = ROUND, BEVEL = 2, - Bevel = 2 + Bevel = BEVEL, } export enum TouchType { - DOWN = 0, - Down = 0, + DOWN, + Down = DOWN, UP = 1, - Up = 1, + Up = UP, MOVE = 2, - Move = 2, + Move = MOVE, CANCEL = 3, - Cancel = 3 + Cancel = CANCEL, } export enum MouseButton { - LEFT = 0, - Left = 0, + LEFT, + Left = LEFT, RIGHT = 1, - Right = 1, + Right = RIGHT, MIDDLE = 2, - Middle = 2, + Middle = MIDDLE, BACK = 3, - Back = 3, + Back = BACK, FORWARD = 4, - Forward = 4, + Forward = FORWARD, NONE = 5, - None = 5 + None = NONE, } export enum MouseAction { - PRESS = 0, - Press = 0, + PRESS, + Press = PRESS, RELEASE = 1, - Release = 1, + Release = RELEASE, MOVE = 2, - Move = 2, + Move = MOVE, HOVER = 3, - Hover = 3 + Hover = HOVER, } export enum AnimationStatus { - INITIAL = 0, - Initial = 0, + INITIAL, + Initial = INITIAL, RUNNING = 1, - Running = 1, + Running = RUNNING, PAUSED = 2, - Paused = 2, + Paused = PAUSED, STOPPED = 3, - Stopped = 3 + Stopped = STOPPED, } export enum Curve { - LINEAR = 0, - Linear = 0, + LINEAR, + Linear = LINEAR, EASE = 1, - Ease = 1, + Ease = EASE, EASE_IN = 2, - EaseIn = 2, + EaseIn = EASE_IN, EASE_OUT = 3, - EaseOut = 3, + EaseOut = EASE_OUT, EASE_IN_OUT = 4, - EaseInOut = 4, + EaseInOut = EASE_IN_OUT, FAST_OUT_SLOW_IN = 5, - FastOutSlowIn = 5, + FastOutSlowIn = FAST_OUT_SLOW_IN, LINEAR_OUT_SLOW_IN = 6, - LinearOutSlowIn = 6, + LinearOutSlowIn = LINEAR_OUT_SLOW_IN, FAST_OUT_LINEAR_IN = 7, - FastOutLinearIn = 7, + FastOutLinearIn = FAST_OUT_LINEAR_IN, EXTREME_DECELERATION = 8, - ExtremeDeceleration = 8, + ExtremeDeceleration = EXTREME_DECELERATION, SHARP = 9, - Sharp = 9, + Sharp = SHARP, RHYTHM = 10, - Rhythm = 10, + Rhythm = RHYTHM, SMOOTH = 11, - Smooth = 11, + Smooth = SMOOTH, FRICTION = 12, - Friction = 12 + Friction = FRICTION, } export enum FillMode { - NONE = 0, - None = 0, + NONE, + None = NONE, FORWARDS = 1, - Forwards = 1, + Forwards = FORWARDS, BACKWARDS = 2, - Backwards = 2, + Backwards = BACKWARDS, BOTH = 3, - Both = 3 + Both = BOTH, } export enum PlayMode { - NORMAL = 0, - Normal = 0, + NORMAL, + Normal = NORMAL, REVERSE = 1, - Reverse = 1, + Reverse = REVERSE, ALTERNATE = 2, - Alternate = 2, + Alternate = ALTERNATE, ALTERNATE_REVERSE = 3, - AlternateReverse = 3 + AlternateReverse = ALTERNATE_REVERSE, } export enum KeyType { - DOWN = 0, - Down = 0, + DOWN, + Down = DOWN, UP = 1, - Up = 1 + Up = UP, } export enum KeySource { - UNKNOWN = 0, - Unknown = 0, + UNKNOWN, + Unknown = UNKNOWN, KEYBOARD = 1, - Keyboard = 1 + Keyboard = KEYBOARD, } export enum Edge { - TOP = 0, - Top = 0, + TOP, + Top = TOP, CENTER = 1, - Center = 1, + Center = CENTER, BOTTOM = 2, - Bottom = 2, + Bottom = BOTTOM, BASELINE = 3, - Baseline = 3, + Baseline = BASELINE, START = 4, - Start = 4, + Start = START, MIDDLE = 5, - Middle = 5, + Middle = MIDDLE, END = 6, - End = 6 + End = END, } export enum Week { - MON = 0, - Mon = 0, + MON, + Mon = MON, TUE = 1, - Tue = 1, + Tue = TUE, WED = 2, - Wed = 2, + Wed = WED, THUR = 3, - Thur = 3, + Thur = THUR, FRI = 4, - Fri = 4, + Fri = FRI, SAT = 5, - Sat = 5, + Sat = SAT, SUN = 6, - Sun = 6 + Sun = SUN, } export enum Direction { - LTR = 0, - Ltr = 0, + LTR, + Ltr = LTR, RTL = 1, - Rtl = 1, + Rtl = RTL, AUTO = 2, - Auto = 2 + Auto = AUTO, } export enum BarState { - OFF = 0, - Off = 0, + OFF, + Off = OFF, AUTO = 1, - Auto = 1, + Auto = AUTO, ON = 2, - On = 2 + On = ON, } export enum EdgeEffect { - SPRING = 0, - Spring = 0, + SPRING, + Spring = SPRING, FADE = 1, - Fade = 1, + Fade = FADE, NONE = 2, - None = 2 + None = NONE, } export enum Alignment { - TOP_START = 0, - TopStart = 0, + TOP_START, + TopStart = TOP_START, TOP = 1, - Top = 1, + Top = TOP, TOP_END = 2, - TopEnd = 2, + TopEnd = TOP_END, START = 3, - Start = 3, + Start = START, CENTER = 4, - Center = 4, + Center = CENTER, END = 5, - End = 5, + End = END, BOTTOM_START = 6, - BottomStart = 6, + BottomStart = BOTTOM_START, BOTTOM = 7, - Bottom = 7, + Bottom = BOTTOM, BOTTOM_END = 8, - BottomEnd = 8 + BottomEnd = BOTTOM_END, } export enum TransitionType { - ALL = 0, - All = 0, + ALL, + All = ALL, INSERT = 1, - Insert = 1, + Insert = INSERT, DELETE = 2, - Delete = 2 + Delete = DELETE, } export enum RelateType { - FILL = 0, - FIT = 1 + FILL, + FIT = 1, } export enum Visibility { - VISIBLE = 0, - Visible = 0, + VISIBLE, + Visible = VISIBLE, HIDDEN = 1, - Hidden = 1, + Hidden = HIDDEN, NONE = 2, - None = 2 + None = NONE, } export enum LineCapStyle { - BUTT = 0, - Butt = 0, + BUTT, + Butt = BUTT, ROUND = 1, - Round = 1, + Round = ROUND, SQUARE = 2, - Square = 2 + Square = SQUARE, } export enum Axis { - VERTICAL = 0, - Vertical = 0, + VERTICAL, + Vertical = VERTICAL, HORIZONTAL = 1, - Horizontal = 1 + Horizontal = HORIZONTAL, } export enum HorizontalAlign { - START = 0, - Start = 0, + START, + Start = START, CENTER = 1, - Center = 1, + Center = CENTER, END = 2, - End = 2 + End = END, } export enum FlexAlign { - START = 0, - Start = 0, + START, + Start = START, CENTER = 1, - Center = 1, + Center = CENTER, END = 2, - End = 2, + End = END, SPACE_BETWEEN = 3, - SpaceBetween = 3, + SpaceBetween = SPACE_BETWEEN, SPACE_AROUND = 4, - SpaceAround = 4, + SpaceAround = SPACE_AROUND, SPACE_EVENLY = 5, - SpaceEvenly = 5 + SpaceEvenly = SPACE_EVENLY, } export enum ItemAlign { - AUTO = 0, - Auto = 0, + AUTO, + Auto = AUTO, START = 1, - Start = 1, + Start = START, CENTER = 2, - Center = 2, + Center = CENTER, END = 3, - End = 3, + End = END, BASELINE = 4, - Baseline = 4, + Baseline = BASELINE, STRETCH = 5, - Stretch = 5 + Stretch = STRETCH, } export enum FlexDirection { - ROW = 0, - Row = 0, + ROW, + Row = ROW, COLUMN = 1, - Column = 1, + Column = COLUMN, ROW_REVERSE = 2, - RowReverse = 2, + RowReverse = ROW_REVERSE, COLUMN_REVERSE = 3, - ColumnReverse = 3 + ColumnReverse = COLUMN_REVERSE, } export enum PixelRoundCalcPolicy { - NO_FORCE_ROUND = 0, + NO_FORCE_ROUND, FORCE_CEIL = 1, - FORCE_FLOOR = 2 + FORCE_FLOOR = 2, } export enum FlexWrap { - NO_WRAP = 0, - NoWrap = 0, + NO_WRAP, + NoWrap = NO_WRAP, WRAP = 1, - Wrap = 1, + Wrap = WRAP, WRAP_REVERSE = 2, - WrapReverse = 2 + WrapReverse = WRAP_REVERSE, } export enum VerticalAlign { - TOP = 0, - Top = 0, + TOP, + Top = TOP, CENTER = 1, - Center = 1, + Center = CENTER, BOTTOM = 2, - Bottom = 2 + Bottom = BOTTOM, } export enum ImageRepeat { - NO_REPEAT = 0, - NoRepeat = 0, + NO_REPEAT, + NoRepeat = NO_REPEAT, X = 1, Y = 2, - XY = 3 + XY = 3, } export enum ImageSize { - AUTO = 0, - Auto = 0, + AUTO, + Auto = AUTO, COVER = 1, - Cover = 1, + Cover = COVER, CONTAIN = 2, - Contain = 2, - FILL = 3 + Contain = CONTAIN, + FILL = 3, } export enum GradientDirection { - LEFT = 0, - Left = 0, + LEFT, + Left = LEFT, TOP = 1, - Top = 1, + Top = TOP, RIGHT = 2, - Right = 2, + Right = RIGHT, BOTTOM = 3, - Bottom = 3, + Bottom = BOTTOM, LEFT_TOP = 4, - LeftTop = 4, + LeftTop = LEFT_TOP, LEFT_BOTTOM = 5, - LeftBottom = 5, + LeftBottom = LEFT_BOTTOM, RIGHT_TOP = 6, - RightTop = 6, + RightTop = RIGHT_TOP, RIGHT_BOTTOM = 7, - RightBottom = 7, + RightBottom = RIGHT_BOTTOM, NONE = 8, - None = 8 + None = NONE, } export enum SharedTransitionEffectType { - STATIC = 0, - Static = 0, + STATIC, + Static = STATIC, EXCHANGE = 1, - Exchange = 1 + Exchange = EXCHANGE, } export enum FontStyle { - NORMAL = 0, - Normal = 0, + NORMAL, + Normal = NORMAL, ITALIC = 1, - Italic = 1 + Italic = ITALIC, } export enum FontWeight { - LIGHTER = 0, - Lighter = 0, + LIGHTER, + Lighter = LIGHTER, NORMAL = 1, - Normal = 1, + Normal = NORMAL, REGULAR = 2, - Regular = 2, + Regular = REGULAR, MEDIUM = 3, - Medium = 3, + Medium = MEDIUM, BOLD = 4, - Bold = 4, + Bold = BOLD, BOLDER = 5, - Bolder = 5 + Bolder = BOLDER, } export enum TextAlign { - CENTER = 0, - Center = 0, + CENTER, + Center = CENTER, START = 1, - Start = 1, + Start = START, END = 2, - End = 2, - JUSTIFY = 3 + End = END, + JUSTIFY = 3, } export enum TextOverflow { - NONE = 0, - None = 0, + NONE, + None = NONE, CLIP = 1, - Clip = 1, + Clip = CLIP, ELLIPSIS = 2, - Ellipsis = 2, - MARQUEE = 3 + Ellipsis = ELLIPSIS, + MARQUEE = 3, } export enum TextDecorationType { - NONE = 0, - None = 0, + NONE, + None = NONE, UNDERLINE = 1, - Underline = 1, + Underline = UNDERLINE, OVERLINE = 2, - Overline = 2, + Overline = OVERLINE, LINE_THROUGH = 3, - LineThrough = 3 + LineThrough = LINE_THROUGH, } export enum TextCase { - NORMAL = 0, - Normal = 0, + NORMAL, + Normal = NORMAL, LOWER_CASE = 1, - LowerCase = 1, + LowerCase = LOWER_CASE, UPPER_CASE = 2, - UpperCase = 2 + UpperCase = UPPER_CASE, } export enum TextHeightAdaptivePolicy { - MAX_LINES_FIRST = 0, + MAX_LINES_FIRST, MIN_FONT_SIZE_FIRST = 1, - LAYOUT_CONSTRAINT_FIRST = 2 + LAYOUT_CONSTRAINT_FIRST = 2, } export enum ResponseType { - RIGHT_CLICK = 0, - RightClick = 0, + RIGHT_CLICK, + RightClick = RIGHT_CLICK, LONG_PRESS = 1, - LongPress = 1 + LongPress = LONG_PRESS, } export enum HoverEffect { - AUTO = 0, - Auto = 0, + AUTO, + Auto = AUTO, SCALE = 1, - Scale = 1, + Scale = SCALE, HIGHLIGHT = 2, - Highlight = 2, + Highlight = HIGHLIGHT, NONE = 3, - None = 3 + None = NONE, } export enum Placement { - LEFT = 0, - Left = 0, + LEFT, + Left = LEFT, RIGHT = 1, - Right = 1, + Right = RIGHT, TOP = 2, - Top = 2, + Top = TOP, BOTTOM = 3, - Bottom = 3, + Bottom = BOTTOM, TOP_LEFT = 4, - TopLeft = 4, + TopLeft = TOP_LEFT, TOP_RIGHT = 5, - TopRight = 5, + TopRight = TOP_RIGHT, BOTTOM_LEFT = 6, - BottomLeft = 6, + BottomLeft = BOTTOM_LEFT, BOTTOM_RIGHT = 7, - BottomRight = 7, + BottomRight = BOTTOM_RIGHT, LEFT_TOP = 8, - LeftTop = 8, + LeftTop = LEFT_TOP, LEFT_BOTTOM = 9, - LeftBottom = 9, + LeftBottom = LEFT_BOTTOM, RIGHT_TOP = 10, - RightTop = 10, + RightTop = RIGHT_TOP, RIGHT_BOTTOM = 11, - RightBottom = 11 + RightBottom = RIGHT_BOTTOM, } export enum ArrowPointPosition { START = "Start", CENTER = "Center", - END = "End" + END = "End", } export enum CopyOptions { - NONE = 0, - None = 0, + NONE, + None = NONE, IN_APP = 1, - InApp = 1, + InApp = IN_APP, LOCAL_DEVICE = 2, - LocalDevice = 2, - CROSS_DEVICE = 3 + LocalDevice = LOCAL_DEVICE, + CROSS_DEVICE = 3, } export enum HitTestMode { - DEFAULT = 0, - Default = 0, + DEFAULT, + Default = DEFAULT, BLOCK = 1, - Block = 1, + Block = BLOCK, TRANSPARENT = 2, - Transparent = 2, + Transparent = TRANSPARENT, NONE = 3, - None = 3 + None = NONE, } export enum TitleHeight { - MAIN_ONLY = 0, - MainOnly = 0, + MAIN_ONLY, + MainOnly = MAIN_ONLY, MAIN_WITH_SUB = 1, - MainWithSub = 1 + MainWithSub = MAIN_WITH_SUB, } export enum ModifierKey { - CTRL = 0, + CTRL, SHIFT = 1, - ALT = 2 + ALT = 2, } export enum FunctionKey { - ESC = 0, + ESC, F1 = 1, F2 = 2, F3 = 3, @@ -948,50 +948,50 @@ export enum FunctionKey { DPAD_UP = 14, DPAD_DOWN = 15, DPAD_LEFT = 16, - DPAD_RIGHT = 17 + DPAD_RIGHT = 17, } export enum ImageSpanAlignment { - BASELINE = 0, + BASELINE, BOTTOM = 1, CENTER = 2, - TOP = 3 + TOP = 3, } export enum ObscuredReasons { - PLACEHOLDER = 0 + PLACEHOLDER, } export enum TextContentStyle { - DEFAULT = 0, - INLINE = 1 + DEFAULT, + INLINE = 1, } export enum ClickEffectLevel { - LIGHT = 0, + LIGHT, MIDDLE = 1, - HEAVY = 2 + HEAVY = 2, } export enum XComponentType { - SURFACE = 0, + SURFACE, COMPONENT = 1, TEXTURE = 2, - NODE = 3 + NODE = 3, } export enum NestedScrollMode { - SELF_ONLY = 0, + SELF_ONLY, SELF_FIRST = 1, PARENT_FIRST = 2, - PARALLEL = 3 + PARALLEL = 3, } export enum ScrollSource { - DRAG = 0, + DRAG, FLING = 1, EDGE_EFFECT = 2, OTHER_USER_INPUT = 3, SCROLL_BAR = 4, SCROLL_BAR_FLING = 5, SCROLLER = 6, - SCROLLER_ANIMATION = 7 + SCROLLER_ANIMATION = 7, } export enum RenderFit { - CENTER = 0, + CENTER, TOP = 1, BOTTOM = 2, LEFT = 3, @@ -1006,249 +1006,251 @@ export enum RenderFit { RESIZE_CONTAIN_BOTTOM_RIGHT = 12, RESIZE_COVER = 13, RESIZE_COVER_TOP_LEFT = 14, - RESIZE_COVER_BOTTOM_RIGHT = 15 + RESIZE_COVER_BOTTOM_RIGHT = 15, } export enum DialogButtonStyle { - DEFAULT = 0, - HIGHLIGHT = 1 + DEFAULT, + HIGHLIGHT = 1, } export enum WordBreak { - NORMAL = 0, + NORMAL, BREAK_ALL = 1, - BREAK_WORD = 2 + BREAK_WORD = 2, } export enum LineBreakStrategy { - GREEDY = 0, + GREEDY, HIGH_QUALITY = 1, - BALANCED = 2 + BALANCED = 2, } export enum EllipsisMode { - START = 0, + START, CENTER = 1, - END = 2 + END = 2, } export enum OptionWidthMode { FIT_CONTENT = "fit_content", - FIT_TRIGGER = "fit_trigger" + FIT_TRIGGER = "fit_trigger", } export enum IlluminatedType { - NONE = 0, + NONE, BORDER = 1, CONTENT = 2, BORDER_CONTENT = 3, BLOOM_BORDER = 4, - BLOOM_BORDER_CONTENT = 5 + BLOOM_BORDER_CONTENT = 5, } export enum FoldStatus { - FOLD_STATUS_UNKNOWN = 0, + FOLD_STATUS_UNKNOWN, FOLD_STATUS_EXPANDED = 1, FOLD_STATUS_FOLDED = 2, - FOLD_STATUS_HALF_FOLDED = 3 + FOLD_STATUS_HALF_FOLDED = 3, } export enum AppRotation { - ROTATION_0 = 0, + ROTATION_0, ROTATION_90 = 1, ROTATION_180 = 2, - ROTATION_270 = 3 + ROTATION_270 = 3, } export enum EmbeddedType { - EMBEDDED_UI_EXTENSION = 0 + EMBEDDED_UI_EXTENSION, } export enum MarqueeUpdateStrategy { - DEFAULT = 0, - PRESERVE_POSITION = 1 + DEFAULT, + PRESERVE_POSITION = 1, } export enum TextDecorationStyle { - SOLID = 0, + SOLID, DOUBLE = 1, DOTTED = 2, DASHED = 3, - WAVY = 4 + WAVY = 4, } export enum TextSelectableMode { - SELECTABLE_UNFOCUSABLE = 0, + SELECTABLE_UNFOCUSABLE, SELECTABLE_FOCUSABLE = 1, - UNSELECTABLE = 2 + UNSELECTABLE = 2, } export enum AccessibilityHoverType { - HOVER_ENTER = 0, + HOVER_ENTER, HOVER_MOVE = 1, HOVER_EXIT = 2, - HOVER_CANCEL = 3 + HOVER_CANCEL = 3, } export enum WidthBreakpoint { - WIDTH_XS = 0, + WIDTH_XS, WIDTH_SM = 1, WIDTH_MD = 2, WIDTH_LG = 3, - WIDTH_XL = 4 + WIDTH_XL = 4, } export enum HeightBreakpoint { - HEIGHT_SM = 0, + HEIGHT_SM, HEIGHT_MD = 1, - HEIGHT_LG = 2 + HEIGHT_LG = 2, } export enum FocusPriority { - AUTO = 0, + AUTO, PRIOR = 2000, - PREVIOUS = 3000 + PREVIOUS = 3000, } export enum FormDimension { - DIMENSION_1_2 = 0, - Dimension_1_2 = 0, + DIMENSION_1_2, + Dimension_1_2 = DIMENSION_1_2, DIMENSION_2_2 = 1, - Dimension_2_2 = 1, + Dimension_2_2 = DIMENSION_2_2, DIMENSION_2_4 = 2, - Dimension_2_4 = 2, + Dimension_2_4 = DIMENSION_2_4, DIMENSION_4_4 = 3, - Dimension_4_4 = 3, + Dimension_4_4 = DIMENSION_4_4, DIMENSION_2_1 = 4, - Dimension_2_1 = 4, + Dimension_2_1 = DIMENSION_2_1, DIMENSION_1_1 = 6, - DIMENSION_6_4 = 7 + DIMENSION_6_4 = 7, } export enum FormRenderingMode { - FULL_COLOR = 0, - SINGLE_COLOR = 1 + FULL_COLOR, + SINGLE_COLOR = 1, } export enum FormShape { RECT = 1, - CIRCLE = 2 + CIRCLE = 2, } export enum PanDirection { - NONE = 0, - None = 0, + NONE, + None = NONE, HORIZONTAL = 1, - Horizontal = 1, + Horizontal = HORIZONTAL, LEFT = 2, - Left = 2, + Left = LEFT, RIGHT = 3, - Right = 3, + Right = RIGHT, VERTICAL = 4, - Vertical = 4, + Vertical = VERTICAL, UP = 5, - Up = 5, + Up = UP, DOWN = 6, - Down = 6, + Down = DOWN, ALL = 7, - All = 7 + All = ALL, } export enum SwipeDirection { - NONE = 0, - None = 0, + NONE, + None = NONE, HORIZONTAL = 1, - Horizontal = 1, + Horizontal = HORIZONTAL, VERTICAL = 2, - Vertical = 2, + Vertical = VERTICAL, ALL = 3, - All = 3 + All = ALL, } export enum GestureMode { - SEQUENCE = 0, - Sequence = 0, + SEQUENCE, + Sequence = SEQUENCE, PARALLEL = 1, - Parallel = 1, + Parallel = PARALLEL, EXCLUSIVE = 2, - Exclusive = 2 + Exclusive = EXCLUSIVE, } export enum GestureMask { - NORMAL = 0, - Normal = 0, + NORMAL, + Normal = NORMAL, IGNORE_INTERNAL = 1, - IgnoreInternal = 1 + IgnoreInternal = IGNORE_INTERNAL, } export enum GestureJudgeResult { - CONTINUE = 0, - REJECT = 1 -} -export enum GestureControl_GestureType { - TAP_GESTURE = 0, - LONG_PRESS_GESTURE = 1, - PAN_GESTURE = 2, - PINCH_GESTURE = 3, - SWIPE_GESTURE = 4, - ROTATION_GESTURE = 5, - DRAG = 6, - CLICK = 7 + CONTINUE, + REJECT = 1, +} +export namespace GestureControl { + export enum GestureType { + TAP_GESTURE, + LONG_PRESS_GESTURE = 1, + PAN_GESTURE = 2, + PINCH_GESTURE = 3, + SWIPE_GESTURE = 4, + ROTATION_GESTURE = 5, + DRAG = 6, + CLICK = 7, + } } export enum GesturePriority { - NORMAL = 0, - PRIORITY = 1 + NORMAL, + PRIORITY = 1, } export enum GestureRecognizerState { - READY = 0, + READY, DETECTING = 1, PENDING = 2, BLOCKED = 3, SUCCESSFUL = 4, - FAILED = 5 + FAILED = 5, } export enum GridDirection { - ROW = 0, - Row = 0, + ROW, + Row = ROW, COLUMN = 1, - Column = 1, + Column = COLUMN, ROW_REVERSE = 2, - RowReverse = 2, + RowReverse = ROW_REVERSE, COLUMN_REVERSE = 3, - ColumnReverse = 3 + ColumnReverse = COLUMN_REVERSE, } export enum GridItemAlignment { - DEFAULT = 0, - STRETCH = 1 + DEFAULT, + STRETCH = 1, } export enum GridItemStyle { - NONE = 0, - PLAIN = 1 + NONE, + PLAIN = 1, } export enum SizeType { - AUTO = 0, - Auto = 0, + AUTO, + Auto = AUTO, XS = 1, SM = 2, MD = 3, - LG = 4 + LG = 4, } export enum BreakpointsReference { - WINDOW_SIZE = 0, - WindowSize = 0, + WINDOW_SIZE, + WindowSize = WINDOW_SIZE, COMPONENT_SIZE = 1, - ComponentSize = 1 + ComponentSize = COMPONENT_SIZE, } export enum GridRowDirection { - ROW = 0, - Row = 0, + ROW, + Row = ROW, ROW_REVERSE = 1, - RowReverse = 1 + RowReverse = ROW_REVERSE, } export enum ImageRenderMode { - ORIGINAL = 0, - Original = 0, + ORIGINAL, + Original = ORIGINAL, TEMPLATE = 1, - Template = 1 + Template = TEMPLATE, } export enum ImageContent { - EMPTY = 0 + EMPTY, } export enum DynamicRangeMode { - HIGH = 0, + HIGH, CONSTRAINT = 1, - STANDARD = 2 + STANDARD = 2, } export enum ImageInterpolation { - NONE = 0, - None = 0, + NONE, + None = NONE, LOW = 1, - Low = 1, + Low = LOW, MEDIUM = 2, - Medium = 2, + Medium = MEDIUM, HIGH = 3, - High = 3 + High = HIGH, } export enum ImageAnalyzerType { - SUBJECT = 0, + SUBJECT, TEXT = 1, - OBJECT_LOOKUP = 2 + OBJECT_LOOKUP = 2, } export enum DataOperationType { ADD = "add", @@ -1256,97 +1258,97 @@ export enum DataOperationType { EXCHANGE = "exchange", MOVE = "move", CHANGE = "change", - RELOAD = "reload" + RELOAD = "reload", } export enum ScrollState { - IDLE = 0, - Idle = 0, + IDLE, + Idle = IDLE, SCROLL = 1, - Scroll = 1, + Scroll = SCROLL, FLING = 2, - Fling = 2 + Fling = FLING, } export enum ListItemAlign { - START = 0, - Start = 0, + START, + Start = START, CENTER = 1, - Center = 1, + Center = CENTER, END = 2, - End = 2 + End = END, } export enum ListItemGroupArea { - NONE = 0, + NONE, IN_LIST_ITEM_AREA = 1, IN_HEADER_AREA = 2, - IN_FOOTER_AREA = 3 + IN_FOOTER_AREA = 3, } export enum StickyStyle { - NONE = 0, - None = 0, + NONE, + None = NONE, HEADER = 1, - Header = 1, + Header = HEADER, FOOTER = 2, - Footer = 2 + Footer = FOOTER, } export enum ChainEdgeEffect { - DEFAULT = 0, - STRETCH = 1 + DEFAULT, + STRETCH = 1, } export enum ScrollSnapAlign { - NONE = 0, + NONE, START = 1, CENTER = 2, - END = 3 + END = 3, } export enum Sticky { - NONE = 0, - None = 0, + NONE, + None = NONE, NORMAL = 1, - Normal = 1, + Normal = NORMAL, OPACITY = 2, - Opacity = 2 + Opacity = OPACITY, } export enum EditMode { - NONE = 0, - None = 0, + NONE, + None = NONE, DELETABLE = 1, - Deletable = 1, + Deletable = DELETABLE, MOVABLE = 2, - Movable = 2 + Movable = MOVABLE, } export enum SwipeEdgeEffect { - SPRING = 0, - Spring = 0, + SPRING, + Spring = SPRING, NONE = 1, - None = 1 + None = NONE, } export enum SwipeActionState { - COLLAPSED = 0, + COLLAPSED, EXPANDED = 1, - ACTIONING = 2 + ACTIONING = 2, } export enum ListItemStyle { - NONE = 0, - CARD = 1 + NONE, + CARD = 1, } export enum ListItemGroupStyle { - NONE = 0, - CARD = 1 + NONE, + CARD = 1, } export enum LoadingProgressStyle { - DEFAULT = 0, - Default = 0, + DEFAULT, + Default = DEFAULT, CIRCULAR = 1, - Circular = 1, + Circular = CIRCULAR, ORBITAL = 2, - Orbital = 2 + Orbital = ORBITAL, } export enum LocationIconStyle { - FULL_FILLED = 0, - LINES = 1 + FULL_FILLED, + LINES = 1, } export enum LocationDescription { - CURRENT_LOCATION = 0, + CURRENT_LOCATION, ADD_LOCATION = 1, SELECT_LOCATION = 2, SHARE_LOCATION = 3, @@ -1356,239 +1358,239 @@ export enum LocationDescription { SEND_CURRENT_LOCATION = 7, RELOCATION = 8, PUNCH_IN = 9, - CURRENT_POSITION = 10 + CURRENT_POSITION = 10, } export enum LocationButtonOnClickResult { - SUCCESS = 0, - TEMPORARY_AUTHORIZATION_FAILED = 1 + SUCCESS, + TEMPORARY_AUTHORIZATION_FAILED = 1, } export enum SubMenuExpandingMode { - SIDE_EXPAND = 0, + SIDE_EXPAND, EMBEDDED_EXPAND = 1, - STACK_EXPAND = 2 + STACK_EXPAND = 2, } export enum NavigationSystemTransitionType { - DEFAULT = 0, + DEFAULT, NONE = 1, TITLE = 2, - CONTENT = 3 + CONTENT = 3, } export enum NavDestinationMode { - STANDARD = 0, - DIALOG = 1 + STANDARD, + DIALOG = 1, } export enum NavRouteMode { - PUSH_WITH_RECREATE = 0, + PUSH_WITH_RECREATE, PUSH = 1, - REPLACE = 2 + REPLACE = 2, } export enum NavigationMode { - STACK = 0, - Stack = 0, + STACK, + Stack = STACK, SPLIT = 1, - Split = 1, + Split = SPLIT, AUTO = 2, - Auto = 2 + Auto = AUTO, } export enum NavBarPosition { - START = 0, - Start = 0, + START, + Start = START, END = 1, - End = 1 + End = END, } export enum NavigationTitleMode { - FREE = 0, - Free = 0, + FREE, + Free = FREE, FULL = 1, - Full = 1, + Full = FULL, MINI = 2, - Mini = 2 + Mini = MINI, } export enum LaunchMode { - STANDARD = 0, + STANDARD, MOVE_TO_TOP_SINGLETON = 1, POP_TO_SINGLETON = 2, - NEW_INSTANCE = 3 + NEW_INSTANCE = 3, } export enum ToolbarItemStatus { - NORMAL = 0, + NORMAL, DISABLED = 1, - ACTIVE = 2 + ACTIVE = 2, } export enum NavigationOperation { PUSH = 1, POP = 2, - REPLACE = 3 + REPLACE = 3, } export enum BarStyle { - STANDARD = 0, + STANDARD, STACK = 1, - SAFE_AREA_PADDING = 2 + SAFE_AREA_PADDING = 2, } export enum NavigationType { - PUSH = 0, - Push = 0, + PUSH, + Push = PUSH, BACK = 1, - Back = 1, + Back = BACK, REPLACE = 2, - Replace = 2 + Replace = REPLACE, } export enum RouteType { - NONE = 0, - None = 0, + NONE, + None = NONE, PUSH = 1, - Push = 1, + Push = PUSH, POP = 2, - Pop = 2 + Pop = POP, } export enum SlideEffect { - LEFT = 0, - Left = 0, + LEFT, + Left = LEFT, RIGHT = 1, - Right = 1, + Right = RIGHT, TOP = 2, - Top = 2, + Top = TOP, BOTTOM = 3, - Bottom = 3, + Bottom = BOTTOM, START = 5, - END = 6 + END = 6, } export enum PanelMode { - MINI = 0, - Mini = 0, + MINI, + Mini = MINI, HALF = 1, - Half = 1, + Half = HALF, FULL = 2, - Full = 2 + Full = FULL, } export enum PanelType { - MINIBAR = 0, - Minibar = 0, + MINIBAR, + Minibar = MINIBAR, FOLDABLE = 1, - Foldable = 1, + Foldable = FOLDABLE, TEMPORARY = 2, - Temporary = 2, - CUSTOM = 3 + Temporary = TEMPORARY, + CUSTOM = 3, } export enum PanelHeight { - WRAP_CONTENT = "wrapContent" + WRAP_CONTENT = "wrapContent", } export enum ParticleType { POINT = "point", - IMAGE = "image" + IMAGE = "image", } export enum ParticleEmitterShape { RECTANGLE = "rectangle", CIRCLE = "circle", - ELLIPSE = "ellipse" + ELLIPSE = "ellipse", } export enum DistributionType { - UNIFORM = 0, - GAUSSIAN = 1 + UNIFORM, + GAUSSIAN = 1, } export enum ParticleUpdater { NONE = "none", RANDOM = "random", - CURVE = "curve" + CURVE = "curve", } export enum DisturbanceFieldShape { - RECT = 0, + RECT, CIRCLE = 1, - ELLIPSE = 2 + ELLIPSE = 2, } export enum PasteIconStyle { - LINES = 0 + LINES, } export enum PasteDescription { - PASTE = 0 + PASTE, } export enum PasteButtonOnClickResult { - SUCCESS = 0, - TEMPORARY_AUTHORIZATION_FAILED = 1 + SUCCESS, + TEMPORARY_AUTHORIZATION_FAILED = 1, } export enum PatternLockChallengeResult { CORRECT = 1, - WRONG = 2 + WRONG = 2, } export enum ProgressType { - LINEAR = 0, - Linear = 0, + LINEAR, + Linear = LINEAR, RING = 1, - Ring = 1, + Ring = RING, ECLIPSE = 2, - Eclipse = 2, + Eclipse = ECLIPSE, SCALE_RING = 3, - ScaleRing = 3, + ScaleRing = SCALE_RING, CAPSULE = 4, - Capsule = 4 + Capsule = CAPSULE, } export enum ProgressStatus { - LOADING = 0, - PROGRESSING = 1 + LOADING, + PROGRESSING = 1, } export enum ProgressStyle { - LINEAR = 0, - Linear = 0, + LINEAR, + Linear = LINEAR, RING = 1, - Ring = 1, + Ring = RING, ECLIPSE = 2, - Eclipse = 2, + Eclipse = ECLIPSE, SCALE_RING = 3, - ScaleRing = 3, + ScaleRing = SCALE_RING, CAPSULE = 4, - Capsule = 4 + Capsule = CAPSULE, } export enum RadioIndicatorType { - TICK = 0, + TICK, DOT = 1, - CUSTOM = 2 + CUSTOM = 2, } export enum RefreshStatus { - INACTIVE = 0, - Inactive = 0, + INACTIVE, + Inactive = INACTIVE, DRAG = 1, - Drag = 1, + Drag = DRAG, OVER_DRAG = 2, - OverDrag = 2, + OverDrag = OVER_DRAG, REFRESH = 3, - Refresh = 3, + Refresh = REFRESH, DONE = 4, - Done = 4 + Done = DONE, } export enum BarrierDirection { - LEFT = 0, + LEFT, RIGHT = 1, TOP = 2, - BOTTOM = 3 + BOTTOM = 3, } export enum LocalizedBarrierDirection { - START = 0, + START, END = 1, TOP = 2, - BOTTOM = 3 + BOTTOM = 3, } export enum RichEditorDeleteDirection { - BACKWARD = 0, - FORWARD = 1 + BACKWARD, + FORWARD = 1, } export enum RichEditorSpanType { - TEXT = 0, + TEXT, IMAGE = 1, MIXED = 2, - BUILDER = 3 + BUILDER = 3, } export enum RichEditorResponseType { - RIGHT_CLICK = 0, + RIGHT_CLICK, LONG_PRESS = 1, - SELECT = 2 + SELECT = 2, } export enum SaveIconStyle { - FULL_FILLED = 0, + FULL_FILLED, LINES = 1, - PICTURE = 2 + PICTURE = 2, } export enum SaveDescription { - DOWNLOAD = 0, + DOWNLOAD, DOWNLOAD_FILE = 1, SAVE = 2, SAVE_IMAGE = 3, @@ -1599,192 +1601,192 @@ export enum SaveDescription { SAVE_TO_GALLERY = 8, EXPORT_TO_GALLERY = 9, QUICK_SAVE_TO_GALLERY = 10, - RESAVE_TO_GALLERY = 11 + RESAVE_TO_GALLERY = 11, } export enum SaveButtonOnClickResult { - SUCCESS = 0, - TEMPORARY_AUTHORIZATION_FAILED = 1 + SUCCESS, + TEMPORARY_AUTHORIZATION_FAILED = 1, } export enum ScrollDirection { - VERTICAL = 0, - Vertical = 0, + VERTICAL, + Vertical = VERTICAL, HORIZONTAL = 1, - Horizontal = 1, + Horizontal = HORIZONTAL, FREE = 2, - Free = 2, + Free = FREE, NONE = 3, - None = 3 + None = NONE, } export enum ScrollAlign { - START = 0, + START, CENTER = 1, END = 2, - AUTO = 3 + AUTO = 3, } export enum ScrollBarDirection { - VERTICAL = 0, - Vertical = 0, + VERTICAL, + Vertical = VERTICAL, HORIZONTAL = 1, - Horizontal = 1 + Horizontal = HORIZONTAL, } export enum CancelButtonStyle { - CONSTANT = 0, + CONSTANT, INVISIBLE = 1, - INPUT = 2 + INPUT = 2, } export enum SearchType { - NORMAL = 0, + NORMAL, NUMBER = 2, PHONE_NUMBER = 3, EMAIL = 5, NUMBER_DECIMAL = 12, - URL = 13 + URL = 13, } export enum SecurityComponentLayoutDirection { - HORIZONTAL = 0, - VERTICAL = 1 + HORIZONTAL, + VERTICAL = 1, } export enum ArrowPosition { - END = 0, - START = 1 + END, + START = 1, } export enum MenuAlignType { - START = 0, + START, CENTER = 1, - END = 2 + END = 2, } export enum SliderStyle { - OUT_SET = 0, - OutSet = 0, + OUT_SET, + OutSet = OUT_SET, IN_SET = 1, - InSet = 1, - NONE = 2 + InSet = IN_SET, + NONE = 2, } export enum SliderChangeMode { - BEGIN = 0, - Begin = 0, + BEGIN, + Begin = BEGIN, MOVING = 1, - Moving = 1, + Moving = MOVING, END = 2, - End = 2, + End = END, CLICK = 3, - Click = 3 + Click = CLICK, } export enum SliderInteraction { - SLIDE_AND_CLICK = 0, + SLIDE_AND_CLICK, SLIDE_ONLY = 1, - SLIDE_AND_CLICK_UP = 2 + SLIDE_AND_CLICK_UP = 2, } export enum SliderBlockType { - DEFAULT = 0, + DEFAULT, IMAGE = 1, - SHAPE = 2 + SHAPE = 2, } export enum ColorMode { - LIGHT = 0, - DARK = 1 + LIGHT, + DARK = 1, } export enum LayoutDirection { - LTR = 0, + LTR, RTL = 1, AUTO = 2, - Auto = 2 + Auto = AUTO, } export enum ItemState { - NORMAL = 0, - Normal = 0, + NORMAL, + Normal = NORMAL, DISABLED = 1, - Disabled = 1, + Disabled = DISABLED, WAITING = 2, - Waiting = 2, + Waiting = WAITING, SKIP = 3, - Skip = 3 + Skip = SKIP, } export enum SwiperDisplayMode { - LEGACY_STRETCH = 0, - Stretch = 0, + LEGACY_STRETCH, + Stretch = LEGACY_STRETCH, LEGACY_AUTO_LINEAR = 1, - AutoLinear = 1, + AutoLinear = LEGACY_AUTO_LINEAR, STRETCH = 2, - AUTO_LINEAR = 3 + AUTO_LINEAR = 3, } export enum SwiperNestedScrollMode { - SELF_ONLY = 0, - SELF_FIRST = 1 + SELF_ONLY, + SELF_FIRST = 1, } export enum SymbolRenderingStrategy { - SINGLE = 0, + SINGLE, MULTIPLE_COLOR = 1, - MULTIPLE_OPACITY = 2 + MULTIPLE_OPACITY = 2, } export enum SymbolEffectStrategy { - NONE = 0, + NONE, SCALE = 1, - HIERARCHICAL = 2 + HIERARCHICAL = 2, } export enum EffectDirection { - DOWN = 0, - UP = 1 + DOWN, + UP = 1, } export enum EffectScope { - LAYER = 0, - WHOLE = 1 + LAYER, + WHOLE = 1, } export enum EffectFillStyle { - CUMULATIVE = 0, - ITERATIVE = 1 + CUMULATIVE, + ITERATIVE = 1, } export enum BarMode { - SCROLLABLE = 0, - Scrollable = 0, + SCROLLABLE, + Scrollable = SCROLLABLE, FIXED = 1, - Fixed = 1 + Fixed = FIXED, } export enum AnimationMode { - CONTENT_FIRST = 0, + CONTENT_FIRST, ACTION_FIRST = 1, - NO_ANIMATION = 2 + NO_ANIMATION = 2, } export enum BarPosition { - START = 0, - Start = 0, + START, + Start = START, END = 1, - End = 1 + End = END, } export enum LayoutStyle { - ALWAYS_CENTER = 0, + ALWAYS_CENTER, ALWAYS_AVERAGE_SPLIT = 1, - SPACE_BETWEEN_OR_CENTER = 2 + SPACE_BETWEEN_OR_CENTER = 2, } export enum SelectedMode { - INDICATOR = 0, - BOARD = 1 + INDICATOR, + BOARD = 1, } export enum LayoutMode { - AUTO = 0, + AUTO, VERTICAL = 1, - HORIZONTAL = 2 + HORIZONTAL = 2, } export enum TextSpanType { - TEXT = 0, + TEXT, IMAGE = 1, - MIXED = 2 + MIXED = 2, } export enum TextResponseType { - RIGHT_CLICK = 0, + RIGHT_CLICK, LONG_PRESS = 1, - SELECT = 2 + SELECT = 2, } export enum TextAreaType { - NORMAL = 0, + NORMAL, NUMBER = 2, PHONE_NUMBER = 3, EMAIL = 5, NUMBER_DECIMAL = 12, - URL = 13 + URL = 13, } export enum ContentType { - USER_NAME = 0, + USER_NAME, PASSWORD = 1, NEW_PASSWORD = 2, FULL_STREET_ADDRESS = 3, @@ -1804,303 +1806,303 @@ export enum ContentType { ID_CARD_NUMBER = 17, NICKNAME = 23, DETAIL_INFO_WITHOUT_STREET = 24, - FORMAT_ADDRESS = 25 + FORMAT_ADDRESS = 25, } export enum TextDataDetectorType { - PHONE_NUMBER = 0, + PHONE_NUMBER, URL = 1, EMAIL = 2, ADDRESS = 3, - DATE_TIME = 4 + DATE_TIME = 4, } export enum TextDeleteDirection { - BACKWARD = 0, - FORWARD = 1 + BACKWARD, + FORWARD = 1, } export enum MenuType { - SELECTION_MENU = 0, - PREVIEW_MENU = 1 + SELECTION_MENU, + PREVIEW_MENU = 1, } export enum InputType { - NORMAL = 0, - Normal = 0, + NORMAL, + Normal = NORMAL, NUMBER = 1, - Number = 1, + Number = NUMBER, PHONE_NUMBER = 2, - PhoneNumber = 2, + PhoneNumber = PHONE_NUMBER, EMAIL = 3, - Email = 3, + Email = EMAIL, PASSWORD = 4, - Password = 4, + Password = PASSWORD, NUMBER_PASSWORD = 8, SCREEN_LOCK_PASSWORD = 9, USER_NAME = 10, NEW_PASSWORD = 11, NUMBER_DECIMAL = 12, - URL = 13 + URL = 13, } export enum EnterKeyType { GO = 2, - Go = 2, + Go = GO, SEARCH = 3, - Search = 3, + Search = SEARCH, SEND = 4, - Send = 4, + Send = SEND, NEXT = 5, - Next = 5, + Next = NEXT, DONE = 6, - Done = 6, + Done = DONE, PREVIOUS = 7, - NEW_LINE = 8 + NEW_LINE = 8, } export enum TextInputStyle { - DEFAULT = 0, - Default = 0, + DEFAULT, + Default = DEFAULT, INLINE = 1, - Inline = 1 + Inline = INLINE, } export enum TimePickerFormat { - HOUR_MINUTE = 0, - HOUR_MINUTE_SECOND = 1 + HOUR_MINUTE, + HOUR_MINUTE_SECOND = 1, } export enum ToggleType { - CHECKBOX = 0, - Checkbox = 0, + CHECKBOX, + Checkbox = CHECKBOX, SWITCH = 1, - Switch = 1, + Switch = SWITCH, BUTTON = 2, - Button = 2 + Button = BUTTON, } export enum SeekMode { - PREVIOUS_KEYFRAME = 0, - PreviousKeyframe = 0, + PREVIOUS_KEYFRAME, + PreviousKeyframe = PREVIOUS_KEYFRAME, NEXT_KEYFRAME = 1, - NextKeyframe = 1, + NextKeyframe = NEXT_KEYFRAME, CLOSEST_KEYFRAME = 2, - ClosestKeyframe = 2, + ClosestKeyframe = CLOSEST_KEYFRAME, ACCURATE = 3, - Accurate = 3 + Accurate = ACCURATE, } export enum PlaybackSpeed { - SPEED_FORWARD_0_75_X = 0, - Speed_Forward_0_75_X = 0, + SPEED_FORWARD_0_75_X, + Speed_Forward_0_75_X = SPEED_FORWARD_0_75_X, SPEED_FORWARD_1_00_X = 1, - Speed_Forward_1_00_X = 1, + Speed_Forward_1_00_X = SPEED_FORWARD_1_00_X, SPEED_FORWARD_1_25_X = 2, - Speed_Forward_1_25_X = 2, + Speed_Forward_1_25_X = SPEED_FORWARD_1_25_X, SPEED_FORWARD_1_75_X = 3, - Speed_Forward_1_75_X = 3, + Speed_Forward_1_75_X = SPEED_FORWARD_1_75_X, SPEED_FORWARD_2_00_X = 4, - Speed_Forward_2_00_X = 4 + Speed_Forward_2_00_X = SPEED_FORWARD_2_00_X, } export enum MessageLevel { - DEBUG = 0, - Debug = 0, + DEBUG, + Debug = DEBUG, ERROR = 1, - Error = 1, + Error = ERROR, INFO = 2, - Info = 2, + Info = INFO, LOG = 3, - Log = 3, + Log = LOG, WARN = 4, - Warn = 4 + Warn = WARN, } export enum MixedMode { - ALL = 0, - All = 0, + ALL, + All = ALL, COMPATIBLE = 1, - Compatible = 1, + Compatible = COMPATIBLE, NONE = 2, - None = 2 + None = NONE, } export enum HitTestType { - EDIT_TEXT = 0, - EditText = 0, + EDIT_TEXT, + EditText = EDIT_TEXT, EMAIL = 1, - Email = 1, + Email = EMAIL, HTTP_ANCHOR = 2, - HttpAnchor = 2, + HttpAnchor = HTTP_ANCHOR, HTTP_ANCHOR_IMG = 3, - HttpAnchorImg = 3, + HttpAnchorImg = HTTP_ANCHOR_IMG, IMG = 4, - Img = 4, + Img = IMG, MAP = 5, - Map = 5, + Map = MAP, PHONE = 6, - Phone = 6, + Phone = PHONE, UNKNOWN = 7, - Unknown = 7 + Unknown = UNKNOWN, } export enum CacheMode { - DEFAULT = 0, - Default = 0, + DEFAULT, + Default = DEFAULT, NONE = 1, - None = 1, + None = NONE, ONLINE = 2, - Online = 2, + Online = ONLINE, ONLY = 3, - Only = 3 + Only = ONLY, } export enum OverScrollMode { - NEVER = 0, - ALWAYS = 1 + NEVER, + ALWAYS = 1, } export enum WebDarkMode { - OFF = 0, - Off = 0, + OFF, + Off = OFF, ON = 1, - On = 1, + On = ON, AUTO = 2, - Auto = 2 + Auto = AUTO, } export enum WebCaptureMode { - HOME_SCREEN = 0 + HOME_SCREEN, } export enum ThreatType { - THREAT_ILLEGAL = 0, + THREAT_ILLEGAL, THREAT_FRAUD = 1, THREAT_RISK = 2, - THREAT_WARNING = 3 + THREAT_WARNING = 3, } export enum RenderExitReason { - PROCESS_ABNORMAL_TERMINATION = 0, - ProcessAbnormalTermination = 0, + PROCESS_ABNORMAL_TERMINATION, + ProcessAbnormalTermination = PROCESS_ABNORMAL_TERMINATION, PROCESS_WAS_KILLED = 1, - ProcessWasKilled = 1, + ProcessWasKilled = PROCESS_WAS_KILLED, PROCESS_CRASHED = 2, - ProcessCrashed = 2, + ProcessCrashed = PROCESS_CRASHED, PROCESS_OOM = 3, - ProcessOom = 3, + ProcessOom = PROCESS_OOM, PROCESS_EXIT_UNKNOWN = 4, - ProcessExitUnknown = 4 + ProcessExitUnknown = PROCESS_EXIT_UNKNOWN, } export enum SslError { - INVALID = 0, - Invalid = 0, + INVALID, + Invalid = INVALID, HOST_MISMATCH = 1, - HostMismatch = 1, + HostMismatch = HOST_MISMATCH, DATE_INVALID = 2, - DateInvalid = 2, + DateInvalid = DATE_INVALID, UNTRUSTED = 3, - Untrusted = 3 + Untrusted = UNTRUSTED, } export enum FileSelectorMode { - FILE_OPEN_MODE = 0, - FileOpenMode = 0, + FILE_OPEN_MODE, + FileOpenMode = FILE_OPEN_MODE, FILE_OPEN_MULTIPLE_MODE = 1, - FileOpenMultipleMode = 1, + FileOpenMultipleMode = FILE_OPEN_MULTIPLE_MODE, FILE_OPEN_FOLDER_MODE = 2, - FileOpenFolderMode = 2, + FileOpenFolderMode = FILE_OPEN_FOLDER_MODE, FILE_SAVE_MODE = 3, - FileSaveMode = 3 + FileSaveMode = FILE_SAVE_MODE, } export enum WebLayoutMode { - NONE = 0, - FIT_CONTENT = 1 + NONE, + FIT_CONTENT = 1, } export enum RenderProcessNotRespondingReason { - INPUT_TIMEOUT = 0, - NAVIGATION_COMMIT_TIMEOUT = 1 + INPUT_TIMEOUT, + NAVIGATION_COMMIT_TIMEOUT = 1, } export enum ProtectedResourceType { MIDI_SYSEX = "TYPE_MIDI_SYSEX", - MidiSysex = "TYPE_MIDI_SYSEX", + MidiSysex = MIDI_SYSEX, VIDEO_CAPTURE = "TYPE_VIDEO_CAPTURE", AUDIO_CAPTURE = "TYPE_AUDIO_CAPTURE", - SENSOR = "TYPE_SENSOR" + SENSOR = "TYPE_SENSOR", } export enum ContextMenuSourceType { - NONE = 0, - None = 0, + NONE, + None = NONE, MOUSE = 1, - Mouse = 1, + Mouse = MOUSE, LONG_PRESS = 2, - LongPress = 2 + LongPress = LONG_PRESS, } export enum ContextMenuMediaType { - NONE = 0, - None = 0, + NONE, + None = NONE, IMAGE = 1, - Image = 1 + Image = IMAGE, } export enum ContextMenuInputFieldType { - NONE = 0, - None = 0, + NONE, + None = NONE, PLAIN_TEXT = 1, - PlainText = 1, + PlainText = PLAIN_TEXT, PASSWORD = 2, - Password = 2, + Password = PASSWORD, NUMBER = 3, - Number = 3, + Number = NUMBER, TELEPHONE = 4, - Telephone = 4, + Telephone = TELEPHONE, OTHER = 5, - Other = 5 + Other = OTHER, } export enum NativeEmbedStatus { - CREATE = 0, + CREATE, UPDATE = 1, DESTROY = 2, ENTER_BFCACHE = 3, - LEAVE_BFCACHE = 4 + LEAVE_BFCACHE = 4, } export enum ContextMenuEditStateFlags { - NONE = 0, + NONE, CAN_CUT = 1, CAN_COPY = 2, CAN_PASTE = 4, - CAN_SELECT_ALL = 8 + CAN_SELECT_ALL = 8, } export enum WebNavigationType { - UNKNOWN = 0, + UNKNOWN, MAIN_FRAME_NEW_ENTRY = 1, MAIN_FRAME_EXISTING_ENTRY = 2, NAVIGATION_TYPE_NEW_SUBFRAME = 4, - NAVIGATION_TYPE_AUTO_SUBFRAME = 5 + NAVIGATION_TYPE_AUTO_SUBFRAME = 5, } export enum RenderMode { - ASYNC_RENDER = 0, - SYNC_RENDER = 1 + ASYNC_RENDER, + SYNC_RENDER = 1, } export enum ViewportFit { - AUTO = 0, + AUTO, CONTAINS = 1, - COVER = 2 + COVER = 2, } export enum WebKeyboardAvoidMode { - RESIZE_VISUAL = 0, + RESIZE_VISUAL, RESIZE_CONTENT = 1, - OVERLAYS_CONTENT = 2 + OVERLAYS_CONTENT = 2, } export enum WebElementType { - IMAGE = 1 + IMAGE = 1, } export enum WebResponseType { - LONG_PRESS = 1 + LONG_PRESS = 1, } export enum SideBarContainerType { - EMBED = 0, - Embed = 0, + EMBED, + Embed = EMBED, OVERLAY = 1, - Overlay = 1, - AUTO = 2 + Overlay = OVERLAY, + AUTO = 2, } export enum SideBarPosition { - START = 0, - Start = 0, + START, + Start = START, END = 1, - End = 1 + End = END, } export enum WaterFlowLayoutMode { - ALWAYS_TOP_DOWN = 0, - SLIDING_WINDOW = 1 + ALWAYS_TOP_DOWN, + SLIDING_WINDOW = 1, } export enum DpiFollowStrategy { - FOLLOW_HOST_DPI = 0, - FOLLOW_UI_EXTENSION_ABILITY_DPI = 1 + FOLLOW_HOST_DPI, + FOLLOW_UI_EXTENSION_ABILITY_DPI = 1, } export enum StyledStringKey { - FONT = 0, + FONT, DECORATION = 1, BASELINE_OFFSET = 2, LETTER_SPACING = 3, @@ -2112,5 +2114,5 @@ export enum StyledStringKey { PARAGRAPH_STYLE = 200, IMAGE = 300, CUSTOM_SPAN = 400, - USER_DATA = 500 + USER_DATA = 500, } \ No newline at end of file diff --git a/arkoala/tools/peer-generator/package.json b/arkoala/tools/peer-generator/package.json index 2a38bf117..36e494c55 100644 --- a/arkoala/tools/peer-generator/package.json +++ b/arkoala/tools/peer-generator/package.json @@ -17,6 +17,6 @@ "generate:all:current": "npm run generate:arkts:current && npm run generate:ts:current" }, "dependencies": { - "idlize-current": "file:../../../.." + "idlize-current": "file:../../../../arkgen" } } -- Gitee