From 1b48b76c075f415e080c22c54e7743b587f4e343 Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Wed, 5 Feb 2025 11:50:57 +0300 Subject: [PATCH 1/9] Generate with 2.0.18 Signed-off-by: Nikolay Igotti --- .../ArkAccessibilityHoverEventMaterialized.ts | 49 +- .../generated/ArkActionSheetMaterialized.ts | 49 +- .../generated/ArkAlertDialogMaterialized.ts | 49 +- .../ArkAnimationExtenderMaterialized.ts | 49 +- .../generated/ArkArkui-externalInterfaces.ts | 4 + .../src/generated/ArkBaseEventMaterialized.ts | 49 +- .../ArkBaseGestureEventMaterialized.ts | 49 +- .../ArkCalendarControllerMaterialized.ts | 49 +- .../ArkCalendarPickerDialogMaterialized.ts | 49 +- .../ArkCanvasGradientMaterialized.ts | 49 +- .../generated/ArkCanvasPathMaterialized.ts | 49 +- .../generated/ArkCanvasPatternMaterialized.ts | 49 +- .../ArkCanvasRendererMaterialized.ts | 49 +- ...ArkCanvasRenderingContext2DMaterialized.ts | 49 +- .../ArkChildrenMainSizeMaterialized.ts | 49 +- .../generated/ArkClickEventMaterialized.ts | 49 +- ...ClientAuthenticationHandlerMaterialized.ts | 49 +- .../src/generated/ArkCommonInterfaces.ts | 3 +- .../ArkConsoleMessageMaterialized.ts | 49 +- .../generated/ArkContextMenuMaterialized.ts | 49 +- .../ArkControllerHandlerMaterialized.ts | 51 +- .../ArkCustomDialogControllerMaterialized.ts | 49 +- .../generated/ArkCustomSpanMaterialized.ts | 49 +- .../ArkDataResubmissionHandlerMaterialized.ts | 49 +- .../ArkDatePickerDialogMaterialized.ts | 49 +- .../src/generated/ArkDragEventMaterialized.ts | 49 +- .../generated/ArkDrawModifierMaterialized.ts | 49 +- .../generated/ArkDrawingCanvasMaterialized.ts | 49 +- .../ArkDrawingRenderingContextMaterialized.ts | 49 +- .../generated/ArkDynamicNodeMaterialized.ts | 49 +- .../ArkEditMenuOptionsMaterialized.ts | 49 +- .../generated/ArkEventEmulatorMaterialized.ts | 49 +- .../generated/ArkEventResultMaterialized.ts | 49 +- .../ArkEventTargetInfoMaterialized.ts | 49 +- .../ArkFileSelectorParamMaterialized.ts | 49 +- .../ArkFileSelectorResultMaterialized.ts | 49 +- .../src/generated/ArkFrameNodeMaterialized.ts | 64 +- .../ArkFullScreenExitHandlerMaterialized.ts | 49 +- .../generated/ArkGestureEventMaterialized.ts | 49 +- .../src/generated/ArkGestureInterfaces.ts | 25 +- .../ArkGestureModifierMaterialized.ts | 49 +- .../ArkGestureRecognizerMaterialized.ts | 52 +- .../ArkGlobalScopeCommonMaterialized.ts | 49 +- .../ArkGlobalScopeInspectorMaterialized.ts | 49 +- .../generated/ArkHoverEventMaterialized.ts | 49 +- .../ArkHttpAuthHandlerMaterialized.ts | 49 +- .../src/generated/ArkICurveMaterialized.ts | 49 +- .../ArkImageAnalyzerControllerMaterialized.ts | 49 +- .../generated/ArkImageBitmapMaterialized.ts | 49 +- ...ndicatorComponentControllerMaterialized.ts | 49 +- .../generated/ArkJsGeolocationMaterialized.ts | 49 +- .../src/generated/ArkJsResultMaterialized.ts | 49 +- .../src/generated/ArkKeyEventMaterialized.ts | 49 +- .../generated/ArkLayoutManagerMaterialized.ts | 49 +- .../ArkLazyForEachOpsMaterialized.ts | 49 +- ...rkLinearIndicatorControllerMaterialized.ts | 49 +- .../generated/ArkListScrollerMaterialized.ts | 49 +- .../ArkLongPressGestureEventMaterialized.ts | 49 +- .../src/generated/ArkMatrix2DMaterialized.ts | 49 +- .../generated/ArkMouseEventMaterialized.ts | 49 +- .../ArkMutableStyledStringMaterialized.ts | 49 +- .../ArkNavDestinationContextMaterialized.ts | 49 +- .../generated/ArkNavExtenderMaterialized.ts | 49 +- .../generated/ArkNavPathStackMaterialized.ts | 49 +- ...rkNavigationTransitionProxyMaterialized.ts | 49 +- .../ArkPanGestureEventMaterialized.ts | 49 +- .../ArkPanGestureOptionsMaterialized.ts | 49 +- .../generated/ArkPanRecognizerMaterialized.ts | 49 +- .../src/generated/ArkPath2DMaterialized.ts | 49 +- .../ArkPatternLockControllerMaterialized.ts | 49 +- .../ArkPermissionRequestMaterialized.ts | 49 +- .../ArkPinchGestureEventMaterialized.ts | 49 +- .../src/generated/ArkPixelMapMaterialized.ts | 49 +- .../generated/ArkPixelMapMockMaterialized.ts | 49 +- .../generated/ArkProgressMaskMaterialized.ts | 49 +- ...ArkRichEditorBaseControllerMaterialized.ts | 49 +- .../ArkRichEditorControllerMaterialized.ts | 49 +- ...ditorStyledStringControllerMaterialized.ts | 49 +- .../ArkRotationGestureEventMaterialized.ts | 49 +- .../ArkScreenCaptureHandlerMaterialized.ts | 49 +- .../ArkScrollableTargetInfoMaterialized.ts | 49 +- .../src/generated/ArkScrollerMaterialized.ts | 49 +- .../ArkSearchControllerMaterialized.ts | 49 +- .../ArkSslErrorHandlerMaterialized.ts | 49 +- .../ArkStyledStringControllerMaterialized.ts | 49 +- .../generated/ArkStyledStringMaterialized.ts | 49 +- .../generated/ArkSubmitEventMaterialized.ts | 49 +- .../ArkSwipeGestureEventMaterialized.ts | 49 +- ...wiperContentTransitionProxyMaterialized.ts | 49 +- .../ArkSwiperControllerMaterialized.ts | 49 +- ...rkTabContentTransitionProxyMaterialized.ts | 49 +- .../ArkTabsControllerMaterialized.ts | 49 +- .../ArkTapGestureEventMaterialized.ts | 49 +- .../ArkTextAreaControllerMaterialized.ts | 49 +- .../ArkTextBaseControllerMaterialized.ts | 49 +- .../ArkTextClockControllerMaterialized.ts | 49 +- ...rkTextContentControllerBaseMaterialized.ts | 49 +- .../ArkTextControllerMaterialized.ts | 49 +- .../ArkTextEditControllerExMaterialized.ts | 49 +- .../ArkTextInputControllerMaterialized.ts | 49 +- .../ArkTextMenuItemIdMaterialized.ts | 49 +- .../ArkTextPickerDialogMaterialized.ts | 49 +- .../ArkTextTimerControllerMaterialized.ts | 49 +- .../ArkTimePickerDialogMaterialized.ts | 49 +- .../generated/ArkTouchEventMaterialized.ts | 49 +- .../ArkTransitionEffectMaterialized.ts | 49 +- .../generated/ArkUICommonEventMaterialized.ts | 49 +- .../ArkUIExtensionProxyMaterialized.ts | 49 +- .../generated/ArkUnifiedDataMaterialized.ts | 49 +- .../ArkVideoControllerMaterialized.ts | 49 +- .../src/generated/ArkViewMaterialized.ts | 49 +- .../ArkWaterFlowSectionsMaterialized.ts | 49 +- .../ArkWebContextMenuParamMaterialized.ts | 49 +- .../ArkWebContextMenuResultMaterialized.ts | 49 +- .../generated/ArkWebControllerMaterialized.ts | 49 +- .../src/generated/ArkWebCookieMaterialized.ts | 49 +- .../arkui/src/generated/ArkWebInterfaces.ts | 4 +- .../ArkWebKeyboardControllerMaterialized.ts | 49 +- .../ArkWebResourceErrorMaterialized.ts | 49 +- .../ArkWebResourceRequestMaterialized.ts | 49 +- .../ArkWebResourceResponseMaterialized.ts | 49 +- .../ArkXComponentControllerMaterialized.ts | 49 +- .../src/generated/SyntheticDeclarations.ts | 34 +- .../arkts/ArkUIGeneratedNativeModule.ts | 39 + .../arkui/src/generated/arkts/type_check.ts | 40 +- arkoala-arkts/arkui/src/generated/index.ts | 119 +-- .../arkui/src/generated/peers/Deserializer.ts | 170 +++- .../arkui/src/generated/peers/Serializer.ts | 208 ++++- .../arkui/src/generated/ts/type_check.ts | 55 +- arkoala-arkts/arkui/types/index-full.d.ts | 13 +- arkoala/arkui-types/index-full.d.ts | 13 +- .../ArkAccessibilityHoverEventMaterialized.ts | 51 +- .../arkui/src/ArkActionSheetMaterialized.ts | 51 +- .../arkui/src/ArkAlertDialogMaterialized.ts | 51 +- .../src/ArkAnimationExtenderMaterialized.ts | 51 +- arkoala/arkui/src/ArkBaseEventMaterialized.ts | 51 +- .../src/ArkBaseGestureEventMaterialized.ts | 51 +- .../src/ArkCalendarControllerMaterialized.ts | 51 +- .../ArkCalendarPickerDialogMaterialized.ts | 51 +- .../src/ArkCanvasGradientMaterialized.ts | 51 +- .../arkui/src/ArkCanvasPathMaterialized.ts | 51 +- .../arkui/src/ArkCanvasPatternMaterialized.ts | 51 +- .../src/ArkCanvasRendererMaterialized.ts | 51 +- ...ArkCanvasRenderingContext2DMaterialized.ts | 51 +- .../src/ArkChildrenMainSizeMaterialized.ts | 51 +- .../arkui/src/ArkClickEventMaterialized.ts | 51 +- ...ClientAuthenticationHandlerMaterialized.ts | 51 +- .../src/ArkConsoleMessageMaterialized.ts | 51 +- .../arkui/src/ArkContextMenuMaterialized.ts | 51 +- .../src/ArkControllerHandlerMaterialized.ts | 51 +- .../ArkCustomDialogControllerMaterialized.ts | 51 +- .../arkui/src/ArkCustomSpanMaterialized.ts | 51 +- .../ArkDataResubmissionHandlerMaterialized.ts | 51 +- .../src/ArkDatePickerDialogMaterialized.ts | 51 +- arkoala/arkui/src/ArkDragEventMaterialized.ts | 51 +- .../arkui/src/ArkDrawModifierMaterialized.ts | 51 +- .../arkui/src/ArkDrawingCanvasMaterialized.ts | 51 +- .../ArkDrawingRenderingContextMaterialized.ts | 51 +- .../arkui/src/ArkDynamicNodeMaterialized.ts | 51 +- .../src/ArkEditMenuOptionsMaterialized.ts | 51 +- .../arkui/src/ArkEventEmulatorMaterialized.ts | 51 +- .../arkui/src/ArkEventResultMaterialized.ts | 51 +- .../src/ArkEventTargetInfoMaterialized.ts | 51 +- .../src/ArkFileSelectorParamMaterialized.ts | 51 +- .../src/ArkFileSelectorResultMaterialized.ts | 51 +- arkoala/arkui/src/ArkFrameNodeMaterialized.ts | 65 +- .../ArkFullScreenExitHandlerMaterialized.ts | 51 +- .../arkui/src/ArkGestureEventMaterialized.ts | 51 +- .../src/ArkGestureModifierMaterialized.ts | 51 +- .../src/ArkGestureRecognizerMaterialized.ts | 51 +- .../src/ArkGlobalScopeCommonMaterialized.ts | 51 +- .../ArkGlobalScopeInspectorMaterialized.ts | 51 +- .../arkui/src/ArkHoverEventMaterialized.ts | 51 +- .../src/ArkHttpAuthHandlerMaterialized.ts | 51 +- arkoala/arkui/src/ArkICurveMaterialized.ts | 51 +- .../ArkImageAnalyzerControllerMaterialized.ts | 51 +- .../arkui/src/ArkImageBitmapMaterialized.ts | 51 +- ...ndicatorComponentControllerMaterialized.ts | 51 +- .../arkui/src/ArkJsGeolocationMaterialized.ts | 51 +- arkoala/arkui/src/ArkJsResultMaterialized.ts | 51 +- arkoala/arkui/src/ArkKeyEventMaterialized.ts | 51 +- .../arkui/src/ArkLayoutManagerMaterialized.ts | 51 +- .../src/ArkLazyForEachOpsMaterialized.ts | 51 +- ...rkLinearIndicatorControllerMaterialized.ts | 51 +- .../arkui/src/ArkListScrollerMaterialized.ts | 51 +- .../ArkLongPressGestureEventMaterialized.ts | 51 +- arkoala/arkui/src/ArkMatrix2DMaterialized.ts | 51 +- .../arkui/src/ArkMouseEventMaterialized.ts | 51 +- .../src/ArkMutableStyledStringMaterialized.ts | 51 +- .../ArkNavDestinationContextMaterialized.ts | 51 +- .../arkui/src/ArkNavExtenderMaterialized.ts | 51 +- .../arkui/src/ArkNavPathStackMaterialized.ts | 51 +- ...rkNavigationTransitionProxyMaterialized.ts | 51 +- .../src/ArkPanGestureEventMaterialized.ts | 51 +- .../src/ArkPanGestureOptionsMaterialized.ts | 51 +- .../arkui/src/ArkPanRecognizerMaterialized.ts | 51 +- arkoala/arkui/src/ArkPath2DMaterialized.ts | 51 +- .../ArkPatternLockControllerMaterialized.ts | 51 +- .../src/ArkPermissionRequestMaterialized.ts | 51 +- .../src/ArkPinchGestureEventMaterialized.ts | 51 +- arkoala/arkui/src/ArkPixelMapMaterialized.ts | 51 +- .../arkui/src/ArkPixelMapMockMaterialized.ts | 51 +- .../arkui/src/ArkProgressMaskMaterialized.ts | 51 +- ...ArkRichEditorBaseControllerMaterialized.ts | 51 +- .../ArkRichEditorControllerMaterialized.ts | 51 +- ...ditorStyledStringControllerMaterialized.ts | 51 +- .../ArkRotationGestureEventMaterialized.ts | 51 +- .../ArkScreenCaptureHandlerMaterialized.ts | 51 +- .../ArkScrollableTargetInfoMaterialized.ts | 51 +- arkoala/arkui/src/ArkScrollerMaterialized.ts | 51 +- .../src/ArkSearchControllerMaterialized.ts | 51 +- .../src/ArkSslErrorHandlerMaterialized.ts | 51 +- .../ArkStyledStringControllerMaterialized.ts | 51 +- .../arkui/src/ArkStyledStringMaterialized.ts | 51 +- .../arkui/src/ArkSubmitEventMaterialized.ts | 51 +- .../src/ArkSwipeGestureEventMaterialized.ts | 51 +- ...wiperContentTransitionProxyMaterialized.ts | 51 +- .../src/ArkSwiperControllerMaterialized.ts | 51 +- ...rkTabContentTransitionProxyMaterialized.ts | 51 +- .../src/ArkTabsControllerMaterialized.ts | 51 +- .../src/ArkTapGestureEventMaterialized.ts | 51 +- .../src/ArkTextAreaControllerMaterialized.ts | 51 +- .../src/ArkTextBaseControllerMaterialized.ts | 51 +- .../src/ArkTextClockControllerMaterialized.ts | 51 +- ...rkTextContentControllerBaseMaterialized.ts | 51 +- .../src/ArkTextControllerMaterialized.ts | 51 +- .../ArkTextEditControllerExMaterialized.ts | 51 +- .../src/ArkTextInputControllerMaterialized.ts | 51 +- .../src/ArkTextMenuItemIdMaterialized.ts | 51 +- .../src/ArkTextPickerDialogMaterialized.ts | 51 +- .../src/ArkTextTimerControllerMaterialized.ts | 51 +- .../src/ArkTimePickerDialogMaterialized.ts | 51 +- .../arkui/src/ArkTouchEventMaterialized.ts | 51 +- .../src/ArkTransitionEffectMaterialized.ts | 51 +- .../arkui/src/ArkUICommonEventMaterialized.ts | 51 +- .../src/ArkUIExtensionProxyMaterialized.ts | 51 +- .../arkui/src/ArkUIGeneratedNativeModule.ts | 273 ++++++ .../src/ArkUIGeneratedNativeModuleEmpty.ts | 154 ++++ .../arkui/src/ArkUnifiedDataMaterialized.ts | 51 +- .../src/ArkVideoControllerMaterialized.ts | 51 +- arkoala/arkui/src/ArkViewMaterialized.ts | 51 +- .../src/ArkWaterFlowSectionsMaterialized.ts | 51 +- .../src/ArkWebContextMenuParamMaterialized.ts | 51 +- .../ArkWebContextMenuResultMaterialized.ts | 51 +- .../arkui/src/ArkWebControllerMaterialized.ts | 51 +- arkoala/arkui/src/ArkWebCookieMaterialized.ts | 51 +- .../ArkWebKeyboardControllerMaterialized.ts | 51 +- .../src/ArkWebResourceErrorMaterialized.ts | 51 +- .../src/ArkWebResourceRequestMaterialized.ts | 51 +- .../src/ArkWebResourceResponseMaterialized.ts | 51 +- .../ArkXComponentControllerMaterialized.ts | 51 +- arkoala/arkui/src/peers/Deserializer.ts | 169 +++- arkoala/arkui/src/peers/Serializer.ts | 207 ++++- .../native/src/generated/Serializers.h | 870 +++++++++++++++--- .../src/generated/arkoala_api_generated.h | 258 +++++- .../native/src/generated/bridge_generated.cc | 308 ++++++- .../native/src/generated/dummy_impl.cc | 847 +++++++++++++++-- .../native/src/generated/real_impl.cc | 555 +++++++++-- arkoala/tools/peer-generator/package.json | 2 +- 259 files changed, 5126 insertions(+), 11078 deletions(-) diff --git a/arkoala-arkts/arkui/src/generated/ArkAccessibilityHoverEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkAccessibilityHoverEventMaterialized.ts index 0cd13cfb2..c09793b45 100644 --- a/arkoala-arkts/arkui/src/generated/ArkAccessibilityHoverEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkAccessibilityHoverEventMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface AccessibilityHoverEvent { type: AccessibilityHoverType x: number @@ -226,4 +187,4 @@ export class AccessibilityHoverEventInternal extends BaseEventInternal implement obj.peer = new Finalizable(ptr, AccessibilityHoverEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkActionSheetMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkActionSheetMaterialized.ts index 4ec8d3f19..fe3b0c25e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkActionSheetMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkActionSheetMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { ActionSheetOptions } from "./ArkActionSheetInterfaces" import { INTERFACE_ActionSheet } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class ActionSheet implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -84,4 +45,4 @@ export class ActionSheetInternal { obj.peer = new Finalizable(ptr, ActionSheet.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkAlertDialogMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkAlertDialogMaterialized.ts index 2e83315c4..0ebccd973 100644 --- a/arkoala-arkts/arkui/src/generated/ArkAlertDialogMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkAlertDialogMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { AlertDialogParamWithConfirm, AlertDialogParamWithButtons, AlertDialogParamWithOptions } from "./ArkAlertDialogInterfaces" import { INTERFACE_AlertDialog } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class AlertDialog implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -100,4 +61,4 @@ export class AlertDialogInternal { obj.peer = new Finalizable(ptr, AlertDialog.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkAnimationExtenderMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkAnimationExtenderMaterialized.ts index 8e2b2ab5a..ac37d6fb2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkAnimationExtenderMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkAnimationExtenderMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { AnimateParam } from "./ArkCommonInterfaces" import { DoubleAnimationParam } from "./ArkAnimationExtenderInterfaces" import { INTERFACE_AnimationExtender } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class AnimationExtender implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -118,4 +79,4 @@ export class AnimationExtenderInternal { obj.peer = new Finalizable(ptr, AnimationExtender.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkArkui-externalInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkArkui-externalInterfaces.ts index 68959aff6..868fa8f47 100644 --- a/arkoala-arkts/arkui/src/generated/ArkArkui-externalInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkArkui-externalInterfaces.ts @@ -39,4 +39,8 @@ export enum LengthUnit { export interface LengthMetrics { unit: LengthUnit; value: number; +} +export interface WebHeader { + headerKey: string; + headerValue: string; } \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkBaseEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkBaseEventMaterialized.ts index 5cda88d4d..b262294cb 100644 --- a/arkoala-arkts/arkui/src/generated/ArkBaseEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkBaseEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface BaseEvent { target: EventTarget timestamp: number @@ -305,4 +266,4 @@ export class BaseEventInternal implements MaterializedBase,BaseEvent { obj.peer = new Finalizable(ptr, BaseEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkBaseGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkBaseGestureEventMaterialized.ts index 600444673..50d80ea2c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkBaseGestureEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkBaseGestureEventMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface BaseGestureEvent { fingerList: Array } @@ -94,4 +55,4 @@ export class BaseGestureEventInternal extends BaseEventInternal implements Mater obj.peer = new Finalizable(ptr, BaseGestureEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkCalendarControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCalendarControllerMaterialized.ts index 653b15830..56d986512 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCalendarControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCalendarControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { Literal_Number_day_month_year, INTERFACE_CalendarController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class CalendarController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -92,4 +53,4 @@ export class CalendarControllerInternal { obj.peer = new Finalizable(ptr, CalendarController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkCalendarPickerDialogMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCalendarPickerDialogMaterialized.ts index e5be2921c..c4e827e42 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCalendarPickerDialogMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCalendarPickerDialogMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CalendarDialogOptions } from "./ArkCalendarPickerInterfaces" import { INTERFACE_CalendarPickerDialog } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class CalendarPickerDialog implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -90,4 +51,4 @@ export class CalendarPickerDialogInternal { obj.peer = new Finalizable(ptr, CalendarPickerDialog.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasGradientMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasGradientMaterialized.ts index 732399525..ace0f6d16 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasGradientMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasGradientMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_CanvasGradient } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class CanvasGradient implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -78,4 +39,4 @@ export class CanvasGradientInternal { obj.peer = new Finalizable(ptr, CanvasGradient.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasPathMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasPathMaterialized.ts index 763c77401..020e6ac84 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasPathMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasPathMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_CanvasPath } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class CanvasPath implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -187,4 +148,4 @@ export class CanvasPathInternal { obj.peer = new Finalizable(ptr, CanvasPath.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasPatternMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasPatternMaterialized.ts index 3ad7ecc65..d80e62f54 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasPatternMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasPatternMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { Matrix2D, Matrix2DInternal } from "./ArkMatrix2DMaterialized" import { INTERFACE_CanvasPattern } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface CanvasPattern { setTransform(transform: Matrix2D): void } @@ -88,4 +49,4 @@ export class CanvasPatternInternal implements MaterializedBase,CanvasPattern { obj.peer = new Finalizable(ptr, CanvasPatternInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasRendererMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasRendererMaterialized.ts index e2a584fc4..c7f87e143 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasRendererMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasRendererMaterialized.ts @@ -1,21 +1,3 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CanvasPath, CanvasPathInternal } from "./ArkCanvasPathMaterialized" import { CanvasGradient, CanvasGradientInternal } from "./ArkCanvasGradientMaterialized" import { CanvasPattern, CanvasPatternInternal } from "./ArkCanvasPatternMaterialized" @@ -26,34 +8,13 @@ import { Path2D, Path2DInternal } from "./ArkPath2DMaterialized" import { Matrix2D, Matrix2DInternal } from "./ArkMatrix2DMaterialized" import { INTERFACE_CanvasRenderer } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class CanvasRenderer extends CanvasPath implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -1229,4 +1190,4 @@ export class CanvasRendererInternal { obj.peer = new Finalizable(ptr, CanvasRenderer.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasRenderingContext2DMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasRenderingContext2DMaterialized.ts index 985608db5..868cb1e4c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasRenderingContext2DMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasRenderingContext2DMaterialized.ts @@ -1,21 +1,3 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CanvasRenderer, CanvasRendererInternal } from "./ArkCanvasRendererMaterialized" import { FrameNode, FrameNodeInternal } from "./ArkFrameNodeMaterialized" import { RenderingContextSettings } from "./ArkCanvasInterfaces" @@ -23,34 +5,13 @@ import { LengthMetricsUnit } from "./ArkUnitsInterfaces" import { ImageAnalyzerConfig } from "./ArkImageCommonInterfaces" import { Callback_Void, INTERFACE_CanvasRenderingContext2D } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class CanvasRenderingContext2D extends CanvasRenderer implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -213,4 +174,4 @@ export class CanvasRenderingContext2DInternal { obj.peer = new Finalizable(ptr, CanvasRenderingContext2D.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkChildrenMainSizeMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkChildrenMainSizeMaterialized.ts index 184794ee1..ecd2e2ff4 100644 --- a/arkoala-arkts/arkui/src/generated/ArkChildrenMainSizeMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkChildrenMainSizeMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_ChildrenMainSize } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class ChildrenMainSize implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -132,4 +93,4 @@ export class ChildrenMainSizeInternal { obj.peer = new Finalizable(ptr, ChildrenMainSize.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkClickEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkClickEventMaterialized.ts index e814fa209..82a05102a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkClickEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkClickEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface ClickEvent { displayX: number displayY: number @@ -265,4 +226,4 @@ export class ClickEventInternal extends BaseEventInternal implements Materialize obj.peer = new Finalizable(ptr, ClickEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkClientAuthenticationHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkClientAuthenticationHandlerMaterialized.ts index 081282d1e..d9daf3266 100644 --- a/arkoala-arkts/arkui/src/generated/ArkClientAuthenticationHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkClientAuthenticationHandlerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_ClientAuthenticationHandler } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class ClientAuthenticationHandler implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -105,4 +66,4 @@ export class ClientAuthenticationHandlerInternal { obj.peer = new Finalizable(ptr, ClientAuthenticationHandler.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkCommonInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkCommonInterfaces.ts index 0c1789049..e902d2883 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCommonInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCommonInterfaces.ts @@ -11,7 +11,7 @@ import { ButtonType, ButtonStyleMode, ButtonRole } from "./ArkButtonInterfaces" import { Resource } from "./ArkResourceInterfaces" import { BaseGestureEvent } from "./ArkBaseGestureEventMaterialized" import { GestureRecognizer } from "./ArkGestureRecognizerMaterialized" -import { GestureJudgeResult, GestureInfo, GestureType, GestureMask, GestureHandler, GesturePriority } from "./ArkGestureInterfaces" +import { GestureJudgeResult, GestureInfo, GestureType, GestureMask, GesturePriority } from "./ArkGestureInterfaces" import { LengthMetrics } from "./ArkArkui-externalInterfaces" import { DrawModifier } from "./ArkDrawModifierMaterialized" import { ResizableOptions } from "./ArkImageInterfaces" @@ -32,6 +32,7 @@ import { GestureModifier } from "./ArkGestureModifierMaterialized" import { ScrollOnWillScrollCallback, ScrollOnScrollCallback } from "./ArkScrollInterfaces" import { ScrollState } from "./ArkListInterfaces" import { AccessibilityHoverEvent } from "./ArkAccessibilityHoverEventMaterialized" +import { GestureHandler } from "./ArkGestureHandlerMaterialized" export interface ComponentOptions { freezeWhenInactive: boolean; } diff --git a/arkoala-arkts/arkui/src/generated/ArkConsoleMessageMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkConsoleMessageMaterialized.ts index 7d4052dd0..31ea4ec53 100644 --- a/arkoala-arkts/arkui/src/generated/ArkConsoleMessageMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkConsoleMessageMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { MessageLevel } from "./ArkWebInterfaces" import { INTERFACE_ConsoleMessage } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class ConsoleMessage implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -101,4 +62,4 @@ export class ConsoleMessageInternal { obj.peer = new Finalizable(ptr, ConsoleMessage.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkContextMenuMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkContextMenuMaterialized.ts index d45ec9f2a..979df0b6c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkContextMenuMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkContextMenuMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_ContextMenu } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class ContextMenu implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -79,4 +40,4 @@ export class ContextMenuInternal { obj.peer = new Finalizable(ptr, ContextMenu.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkControllerHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkControllerHandlerMaterialized.ts index 28e1cb77c..f95fc6758 100644 --- a/arkoala-arkts/arkui/src/generated/ArkControllerHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkControllerHandlerMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { WebviewController } from "./ArkWebInterfaces" +import { WebviewController, WebviewControllerInternal } from "./ArkWebviewControllerMaterialized" import { INTERFACE_ControllerHandler } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class ControllerHandler implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -81,4 +42,4 @@ export class ControllerHandlerInternal { obj.peer = new Finalizable(ptr, ControllerHandler.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkCustomDialogControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCustomDialogControllerMaterialized.ts index 9c1632a36..1237f52aa 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCustomDialogControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCustomDialogControllerMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CustomDialogControllerOptions } from "./ArkCustomDialogControllerInterfaces" import { INTERFACE_CustomDialogController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class CustomDialogController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -90,4 +51,4 @@ export class CustomDialogControllerInternal { obj.peer = new Finalizable(ptr, CustomDialogController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkCustomSpanMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCustomSpanMaterialized.ts index 0db9cdf4e..39ecc21da 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCustomSpanMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCustomSpanMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CustomSpanMeasureInfo, CustomSpanMetrics, CustomSpanDrawInfo } from "./ArkStyledStringInterfaces" import { DrawContext } from "./ArkCommonInterfaces" import { INTERFACE_CustomSpan } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class CustomSpan implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -102,4 +63,4 @@ export class CustomSpanInternal { obj.peer = new Finalizable(ptr, CustomSpan.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkDataResubmissionHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDataResubmissionHandlerMaterialized.ts index cc908e51d..9a3cbe171 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDataResubmissionHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDataResubmissionHandlerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_DataResubmissionHandler } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class DataResubmissionHandler implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -83,4 +44,4 @@ export class DataResubmissionHandlerInternal { obj.peer = new Finalizable(ptr, DataResubmissionHandler.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkDatePickerDialogMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDatePickerDialogMaterialized.ts index e209aab85..49ce9196c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDatePickerDialogMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDatePickerDialogMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { DatePickerDialogOptions } from "./ArkDatePickerInterfaces" import { INTERFACE_DatePickerDialog } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class DatePickerDialog implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -90,4 +51,4 @@ export class DatePickerDialogInternal { obj.peer = new Finalizable(ptr, DatePickerDialog.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkDragEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDragEventMaterialized.ts index db4023b63..8acf5ec8a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDragEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDragEventMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface DragEvent { dragBehavior: DragBehavior useCustomDropAnimation: boolean @@ -256,4 +217,4 @@ export class DragEventInternal implements MaterializedBase,DragEvent { obj.peer = new Finalizable(ptr, DragEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkDrawModifierMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDrawModifierMaterialized.ts index 8bffbb617..a3242f964 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDrawModifierMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDrawModifierMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { DrawContext } from "./ArkCommonInterfaces" import { INTERFACE_DrawModifier } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class DrawModifier implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -110,4 +71,4 @@ export class DrawModifierInternal { obj.peer = new Finalizable(ptr, DrawModifier.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkDrawingCanvasMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDrawingCanvasMaterialized.ts index 525248a34..afa74b7b9 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDrawingCanvasMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDrawingCanvasMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { PixelMap, PixelMapInternal } from "./ArkPixelMapMaterialized" import { INTERFACE_DrawingCanvas } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class DrawingCanvas implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -87,4 +48,4 @@ export class DrawingCanvasInternal { obj.peer = new Finalizable(ptr, DrawingCanvas.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkDrawingRenderingContextMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDrawingRenderingContextMaterialized.ts index 4a2551737..7e2fdfffa 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDrawingRenderingContextMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDrawingRenderingContextMaterialized.ts @@ -1,54 +1,15 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { Size } from "./ArkCanvasInterfaces" import { DrawingCanvas, DrawingCanvasInternal } from "./ArkDrawingCanvasMaterialized" import { LengthMetricsUnit } from "./ArkUnitsInterfaces" import { INTERFACE_DrawingRenderingContext } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class DrawingRenderingContext implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -94,4 +55,4 @@ export class DrawingRenderingContextInternal { obj.peer = new Finalizable(ptr, DrawingRenderingContext.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkDynamicNodeMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDynamicNodeMaterialized.ts index 344cd2686..44bb2edc2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDynamicNodeMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDynamicNodeMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { OnMoveHandler } from "./ArkCommonInterfaces" import { INTERFACE_DynamicNode } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class DynamicNode implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -87,4 +48,4 @@ export class DynamicNodeInternal { obj.peer = new Finalizable(ptr, DynamicNode.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkEditMenuOptionsMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkEditMenuOptionsMaterialized.ts index 3d4f9a73b..b60845800 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEditMenuOptionsMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEditMenuOptionsMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { TextMenuItem, TextRange } from "./ArkTextCommonInterfaces" import { INTERFACE_EditMenuOptions } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface EditMenuOptions { onCreateMenu(menuItems: Array): Array onMenuItemClick(menuItem: TextMenuItem, range: TextRange): boolean @@ -100,4 +61,4 @@ export class EditMenuOptionsInternal implements MaterializedBase,EditMenuOptions obj.peer = new Finalizable(ptr, EditMenuOptionsInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkEventEmulatorMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkEventEmulatorMaterialized.ts index 2d110317a..b121d4010 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEventEmulatorMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEventEmulatorMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { ClickEvent, ClickEventInternal } from "./ArkClickEventMaterialized" import { INTERFACE_EventEmulator } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class EventEmulator implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -94,4 +55,4 @@ export class EventEmulatorInternal { obj.peer = new Finalizable(ptr, EventEmulator.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkEventResultMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkEventResultMaterialized.ts index 84ea69a3e..e14b5f227 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEventResultMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEventResultMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_EventResult } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class EventResult implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -77,4 +38,4 @@ export class EventResultInternal { obj.peer = new Finalizable(ptr, EventResult.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkEventTargetInfoMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkEventTargetInfoMaterialized.ts index cac20deee..5fd740356 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEventTargetInfoMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEventTargetInfoMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_EventTargetInfo } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class EventTargetInfo implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -76,4 +37,4 @@ export class EventTargetInfoInternal { obj.peer = new Finalizable(ptr, EventTargetInfo.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkFileSelectorParamMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkFileSelectorParamMaterialized.ts index f185ab79c..e84850620 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFileSelectorParamMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFileSelectorParamMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { FileSelectorMode } from "./ArkWebInterfaces" import { INTERFACE_FileSelectorParam } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class FileSelectorParam implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -98,4 +59,4 @@ export class FileSelectorParamInternal { obj.peer = new Finalizable(ptr, FileSelectorParam.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkFileSelectorResultMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkFileSelectorResultMaterialized.ts index 61e880d79..874d0d71f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFileSelectorResultMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFileSelectorResultMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_FileSelectorResult } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class FileSelectorResult implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -84,4 +45,4 @@ export class FileSelectorResultInternal { obj.peer = new Finalizable(ptr, FileSelectorResult.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkFrameNodeMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkFrameNodeMaterialized.ts index b37733d77..8d57272c2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFrameNodeMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFrameNodeMaterialized.ts @@ -1,52 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { UIContext } from "./ArkCommonInterfaces" +import { Position } from "./ArkUnitsInterfaces" import { INTERFACE_FrameNode } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class FrameNode implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -115,6 +77,12 @@ export class FrameNode implements MaterializedBase { this.dispose_serialize() return } + getOpacity(): number { + return this.getOpacity_serialize() + } + getPositionToWindowWithTransform(): Position { + return this.getPositionToWindowWithTransform_serialize() + } private isModifiable_serialize(): boolean { const retval = ArkUIGeneratedNativeModule._FrameNode_isModifiable(this.peer!.ptr) return retval @@ -173,6 +141,14 @@ export class FrameNode implements MaterializedBase { private dispose_serialize(): void { ArkUIGeneratedNativeModule._FrameNode_dispose(this.peer!.ptr) } + private getOpacity_serialize(): number { + const retval = ArkUIGeneratedNativeModule._FrameNode_getOpacity(this.peer!.ptr) + return retval + } + private getPositionToWindowWithTransform_serialize(): Position { + const retval = ArkUIGeneratedNativeModule._FrameNode_getPositionToWindowWithTransform(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } } export class FrameNodeInternal { public static fromPtr(ptr: KPointer): FrameNode { @@ -180,4 +156,4 @@ export class FrameNodeInternal { obj.peer = new Finalizable(ptr, FrameNode.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkFullScreenExitHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkFullScreenExitHandlerMaterialized.ts index 42a59e640..f94fd7ed2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFullScreenExitHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFullScreenExitHandlerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_FullScreenExitHandler } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class FullScreenExitHandler implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -76,4 +37,4 @@ export class FullScreenExitHandlerInternal { obj.peer = new Finalizable(ptr, FullScreenExitHandler.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGestureEventMaterialized.ts index 22dc31ef7..d8400795c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGestureEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGestureEventMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface GestureEvent { repeat: boolean fingerList: Array @@ -336,4 +297,4 @@ export class GestureEventInternal extends BaseEventInternal implements Materiali obj.peer = new Finalizable(ptr, GestureEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkGestureInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkGestureInterfaces.ts index 1425bd61f..8bc02a2ba 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGestureInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGestureInterfaces.ts @@ -1,6 +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" +import { GestureControl_GestureType } from "./ArkGestureControlNamespace" 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" @@ -51,16 +52,6 @@ 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 -} export interface GestureInfo { tag?: string; type: GestureControl_GestureType; @@ -104,47 +95,33 @@ export interface RotationGestureInterface extends GestureInterface): GestureGroupInterface; } -export interface GestureHandler { -} export interface TapGestureHandlerOptions { count?: number; fingers?: number; } -export interface TapGestureHandler extends GestureHandler { -} export interface LongPressGestureHandlerOptions { fingers?: number; repeat?: boolean; duration?: number; } -export interface LongPressGestureHandler extends GestureHandler { -} export interface PanGestureHandlerOptions { fingers?: number; direction?: PanDirection; distance?: number; } -export interface PanGestureHandler extends GestureHandler { -} export interface SwipeGestureHandlerOptions { fingers?: number; direction?: SwipeDirection; speed?: number; } -export interface SwipeGestureHandler extends GestureHandler { -} export interface PinchGestureHandlerOptions { fingers?: number; distance?: number; } -export interface PinchGestureHandler extends GestureHandler { -} export interface RotationGestureHandlerOptions { fingers?: number; angle?: number; } -export interface RotationGestureHandler extends GestureHandler { -} export interface GestureGroupGestureHandlerOptions { stub: string; } diff --git a/arkoala-arkts/arkui/src/generated/ArkGestureModifierMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGestureModifierMaterialized.ts index 568a8f63a..1c95a62ba 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGestureModifierMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGestureModifierMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { UIGestureEvent } from "./ArkCommonInterfaces" import { INTERFACE_GestureModifier } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface GestureModifier { applyGesture(event: UIGestureEvent): void } @@ -82,4 +43,4 @@ export class GestureModifierInternal implements MaterializedBase,GestureModifier obj.peer = new Finalizable(ptr, GestureModifierInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkGestureRecognizerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGestureRecognizerMaterialized.ts index 818111905..312268dea 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGestureRecognizerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGestureRecognizerMaterialized.ts @@ -1,53 +1,15 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { GestureControl_GestureType, GestureRecognizerState } from "./ArkGestureInterfaces" +import { GestureControl_GestureType } from "./ArkGestureControlNamespace" +import { GestureRecognizerState } from "./ArkGestureInterfaces" import { EventTargetInfo, EventTargetInfoInternal } from "./ArkEventTargetInfoMaterialized" import { INTERFACE_GestureRecognizer } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class GestureRecognizer implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -128,4 +90,4 @@ export class GestureRecognizerInternal { obj.peer = new Finalizable(ptr, GestureRecognizer.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkGlobalScopeCommonMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGlobalScopeCommonMaterialized.ts index 0f2a05a78..12b4c8800 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGlobalScopeCommonMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGlobalScopeCommonMaterialized.ts @@ -1,54 +1,15 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class GlobalScope_common implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -226,4 +187,4 @@ export class GlobalScope_commonInternal { obj.peer = new Finalizable(ptr, GlobalScope_common.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkGlobalScopeInspectorMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGlobalScopeInspectorMaterialized.ts index d3e8bc67b..6b0a8910c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGlobalScopeInspectorMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGlobalScopeInspectorMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class GlobalScope_inspector implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -113,4 +74,4 @@ export class GlobalScope_inspectorInternal { obj.peer = new Finalizable(ptr, GlobalScope_inspector.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkHoverEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkHoverEventMaterialized.ts index 49f8f23c7..2816a6754 100644 --- a/arkoala-arkts/arkui/src/generated/ArkHoverEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkHoverEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface HoverEvent { stopPropagation: (() => void) } @@ -89,4 +50,4 @@ export class HoverEventInternal extends BaseEventInternal implements Materialize obj.peer = new Finalizable(ptr, HoverEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkHttpAuthHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkHttpAuthHandlerMaterialized.ts index 3049a1f10..2fb42b4b0 100644 --- a/arkoala-arkts/arkui/src/generated/ArkHttpAuthHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkHttpAuthHandlerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_HttpAuthHandler } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class HttpAuthHandler implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -92,4 +53,4 @@ export class HttpAuthHandlerInternal { obj.peer = new Finalizable(ptr, HttpAuthHandler.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkICurveMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkICurveMaterialized.ts index 0821d100f..e612e334a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkICurveMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkICurveMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_ICurve } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface ICurve { interpolate(fraction: number): number } @@ -78,4 +39,4 @@ export class ICurveInternal implements MaterializedBase,ICurve { obj.peer = new Finalizable(ptr, ICurveInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkImageAnalyzerControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkImageAnalyzerControllerMaterialized.ts index e06d927f0..908cefe68 100644 --- a/arkoala-arkts/arkui/src/generated/ArkImageAnalyzerControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkImageAnalyzerControllerMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { ImageAnalyzerType } from "./ArkImageCommonInterfaces" import { INTERFACE_ImageAnalyzerController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class ImageAnalyzerController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -77,4 +38,4 @@ export class ImageAnalyzerControllerInternal { obj.peer = new Finalizable(ptr, ImageAnalyzerController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkImageBitmapMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkImageBitmapMaterialized.ts index 48e4e5902..fc42f18de 100644 --- a/arkoala-arkts/arkui/src/generated/ArkImageBitmapMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkImageBitmapMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { LengthMetricsUnit } from "./ArkUnitsInterfaces" import { PixelMap, PixelMapInternal } from "./ArkPixelMapMaterialized" import { INTERFACE_ImageBitmap } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class ImageBitmap implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -101,4 +62,4 @@ export class ImageBitmapInternal { obj.peer = new Finalizable(ptr, ImageBitmap.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkIndicatorComponentControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkIndicatorComponentControllerMaterialized.ts index 51c13892f..712f87ce3 100644 --- a/arkoala-arkts/arkui/src/generated/ArkIndicatorComponentControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkIndicatorComponentControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_IndicatorComponentController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class IndicatorComponentController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -101,4 +62,4 @@ export class IndicatorComponentControllerInternal { obj.peer = new Finalizable(ptr, IndicatorComponentController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkJsGeolocationMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkJsGeolocationMaterialized.ts index d6f4c3d12..f1aa97024 100644 --- a/arkoala-arkts/arkui/src/generated/ArkJsGeolocationMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkJsGeolocationMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_JsGeolocation } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class JsGeolocation implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -79,4 +40,4 @@ export class JsGeolocationInternal { obj.peer = new Finalizable(ptr, JsGeolocation.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkJsResultMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkJsResultMaterialized.ts index d66fe21d1..6d3ac495b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkJsResultMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkJsResultMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_JsResult } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class JsResult implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -91,4 +52,4 @@ export class JsResultInternal { obj.peer = new Finalizable(ptr, JsResult.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkKeyEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkKeyEventMaterialized.ts index 5be95ab2c..0b71171fb 100644 --- a/arkoala-arkts/arkui/src/generated/ArkKeyEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkKeyEventMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface KeyEvent { type: KeyType keyCode: number @@ -300,4 +261,4 @@ export class KeyEventInternal implements MaterializedBase,KeyEvent { obj.peer = new Finalizable(ptr, KeyEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkLayoutManagerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkLayoutManagerMaterialized.ts index 0ad8f1741..cb38b3b8d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLayoutManagerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLayoutManagerMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { PositionWithAffinity, LineMetrics, TextRange, TextBox } from "./ArkTextCommonInterfaces" import { RectWidthStyle, RectHeightStyle } from "./ArkArkui-externalInterfaces" import { INTERFACE_LayoutManager } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface LayoutManager { getLineCount(): number getGlyphPositionAtCoordinate(x: number, y: number): PositionWithAffinity @@ -112,4 +73,4 @@ export class LayoutManagerInternal implements MaterializedBase,LayoutManager { obj.peer = new Finalizable(ptr, LayoutManagerInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkLazyForEachOpsMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkLazyForEachOpsMaterialized.ts index e8fece9e7..2b5fceff2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLazyForEachOpsMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLazyForEachOpsMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_RangeUpdate } from "./ArkArkui-customInterfaces" import { INTERFACE_LazyForEachOps } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class LazyForEachOps implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -113,4 +74,4 @@ export class LazyForEachOpsInternal { obj.peer = new Finalizable(ptr, LazyForEachOps.getFinalizer()) return obj } -} +} \ 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 0dd98ba1b..e3947a275 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLinearIndicatorControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLinearIndicatorControllerMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { LinearIndicatorStartOptions } from "./ArkLinearindicatorInterfaces" import { INTERFACE_LinearIndicatorController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class LinearIndicatorController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -110,4 +71,4 @@ export class LinearIndicatorControllerInternal { obj.peer = new Finalizable(ptr, LinearIndicatorController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkListScrollerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkListScrollerMaterialized.ts index 869d27529..44f611e45 100644 --- a/arkoala-arkts/arkui/src/generated/ArkListScrollerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkListScrollerMaterialized.ts @@ -1,55 +1,16 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { Scroller, ScrollerInternal } from "./ArkScrollerMaterialized" import { RectResult } from "./ArkCommonInterfaces" import { ScrollAlign } from "./ArkScrollInterfaces" import { CloseSwipeActionOptions, VisibleListContentInfo } from "./ArkListInterfaces" import { INTERFACE_ListScroller } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class ListScroller extends Scroller implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -136,4 +97,4 @@ export class ListScrollerInternal { obj.peer = new Finalizable(ptr, ListScroller.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkLongPressGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkLongPressGestureEventMaterialized.ts index 119210031..e7713f8d5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLongPressGestureEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLongPressGestureEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface LongPressGestureEvent { repeat: boolean } @@ -93,4 +54,4 @@ export class LongPressGestureEventInternal extends BaseGestureEventInternal impl obj.peer = new Finalizable(ptr, LongPressGestureEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkMatrix2DMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkMatrix2DMaterialized.ts index 9cb5bedb0..384dbf558 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMatrix2DMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMatrix2DMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { LengthMetricsUnit } from "./ArkUnitsInterfaces" import { INTERFACE_Matrix2D } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class Matrix2D implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -347,4 +308,4 @@ export class Matrix2DInternal { obj.peer = new Finalizable(ptr, Matrix2D.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkMouseEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkMouseEventMaterialized.ts index 07c87dcc6..d7e18eb4b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMouseEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMouseEventMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface MouseEvent { button: MouseButton action: MouseAction @@ -310,4 +271,4 @@ export class MouseEventInternal extends BaseEventInternal implements Materialize obj.peer = new Finalizable(ptr, MouseEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkMutableStyledStringMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkMutableStyledStringMaterialized.ts index 04369817f..0353e2868 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMutableStyledStringMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMutableStyledStringMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { StyledString, StyledStringInternal } from "./ArkStyledStringMaterialized" import { SpanStyle, StyledStringKey } from "./ArkStyledStringInterfaces" import { INTERFACE_MutableStyledString } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class MutableStyledString extends StyledString implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -184,4 +145,4 @@ export class MutableStyledStringInternal { obj.peer = new Finalizable(ptr, MutableStyledString.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkNavDestinationContextMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkNavDestinationContextMaterialized.ts index 018c9ff7d..eff7d4585 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavDestinationContextMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavDestinationContextMaterialized.ts @@ -1,54 +1,15 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { NavPathInfo } from "./ArkNavigationInterfaces" import { NavPathStack, NavPathStackInternal } from "./ArkNavPathStackMaterialized" import { RouteMapConfig } from "./ArkNavDestinationInterfaces" import { INTERFACE_NavDestinationContext } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface NavDestinationContext { pathInfo: NavPathInfo pathStack: NavPathStack @@ -139,4 +100,4 @@ export class NavDestinationContextInternal implements MaterializedBase,NavDestin obj.peer = new Finalizable(ptr, NavDestinationContextInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkNavExtenderMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkNavExtenderMaterialized.ts index ad863d957..59c053f9e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavExtenderMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavExtenderMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { NavPathStack, NavPathStackInternal } from "./ArkNavPathStackMaterialized" import { NavExtender_OnUpdateStack } from "./ArkNavigationExtenderInterfaces" import { INTERFACE_NavExtender } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class NavExtender implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -87,4 +48,4 @@ export class NavExtenderInternal { obj.peer = new Finalizable(ptr, NavExtender.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkNavPathStackMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkNavPathStackMaterialized.ts index 90d44435f..0db907acd 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavPathStackMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavPathStackMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { NavPathInfo, NavigationOptions, PopInfo, NavigationInterception } from "./ArkNavigationInterfaces" import { Callback_PopInfo_Void, INTERFACE_NavPathStack } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class NavPathStack implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -625,4 +586,4 @@ export class NavPathStackInternal { obj.peer = new Finalizable(ptr, NavPathStack.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkNavigationTransitionProxyMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkNavigationTransitionProxyMaterialized.ts index 338378cfa..f8a84d4a3 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavigationTransitionProxyMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavigationTransitionProxyMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { NavContentInfo } from "./ArkNavigationInterfaces" import { INTERFACE_NavigationTransitionProxy } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface NavigationTransitionProxy { from: NavContentInfo to: NavContentInfo @@ -154,4 +115,4 @@ export class NavigationTransitionProxyInternal implements MaterializedBase,Navig obj.peer = new Finalizable(ptr, NavigationTransitionProxyInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkPanGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPanGestureEventMaterialized.ts index 6a89ab7c4..7ee10f2af 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPanGestureEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPanGestureEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface PanGestureEvent { offsetX: number offsetY: number @@ -181,4 +142,4 @@ export class PanGestureEventInternal extends BaseGestureEventInternal implements obj.peer = new Finalizable(ptr, PanGestureEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkPanGestureOptionsMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPanGestureOptionsMaterialized.ts index d3f89f7f5..debda4662 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPanGestureOptionsMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPanGestureOptionsMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { Literal_Number_distance_fingers_PanDirection_direction, INTERFACE_PanGestureOptions } from "./SyntheticDeclarations" import { PanDirection } from "./ArkGestureInterfaces" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class PanGestureOptions implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -133,4 +94,4 @@ export class PanGestureOptionsInternal { obj.peer = new Finalizable(ptr, PanGestureOptions.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkPanRecognizerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPanRecognizerMaterialized.ts index 57f42c727..4768be3cc 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPanRecognizerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPanRecognizerMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { GestureRecognizer, GestureRecognizerInternal } from "./ArkGestureRecognizerMaterialized" import { PanGestureOptions, PanGestureOptionsInternal } from "./ArkPanGestureOptionsMaterialized" import { INTERFACE_PanRecognizer } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class PanRecognizer extends GestureRecognizer implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -79,4 +40,4 @@ export class PanRecognizerInternal { obj.peer = new Finalizable(ptr, PanRecognizer.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkPath2DMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPath2DMaterialized.ts index 637436993..833a25be3 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPath2DMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPath2DMaterialized.ts @@ -1,54 +1,15 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CanvasPath, CanvasPathInternal } from "./ArkCanvasPathMaterialized" import { LengthMetricsUnit } from "./ArkUnitsInterfaces" import { Matrix2D, Matrix2DInternal } from "./ArkMatrix2DMaterialized" import { INTERFACE_Path2D } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class Path2D extends CanvasPath implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -92,4 +53,4 @@ export class Path2DInternal { obj.peer = new Finalizable(ptr, Path2D.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkPatternLockControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPatternLockControllerMaterialized.ts index a1034538d..530ab46c9 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPatternLockControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPatternLockControllerMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { PatternLockChallengeResult } from "./ArkPatternLockInterfaces" import { INTERFACE_PatternLockController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class PatternLockController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -85,4 +46,4 @@ export class PatternLockControllerInternal { obj.peer = new Finalizable(ptr, PatternLockController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkPermissionRequestMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPermissionRequestMaterialized.ts index af1d14b06..26ed655a0 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPermissionRequestMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPermissionRequestMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_PermissionRequest } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class PermissionRequest implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -105,4 +66,4 @@ export class PermissionRequestInternal { obj.peer = new Finalizable(ptr, PermissionRequest.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkPinchGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPinchGestureEventMaterialized.ts index 4d441bec8..82187026a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPinchGestureEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPinchGestureEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface PinchGestureEvent { scale: number pinchCenterX: number @@ -137,4 +98,4 @@ export class PinchGestureEventInternal extends BaseGestureEventInternal implemen obj.peer = new Finalizable(ptr, PinchGestureEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkPixelMapMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPixelMapMaterialized.ts index 55e27cce3..de985942c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPixelMapMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPixelMapMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_PixelMap } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface PixelMap { isEditable: int32 isStrideAlignment: int32 @@ -137,4 +98,4 @@ export class PixelMapInternal implements MaterializedBase,PixelMap { obj.peer = new Finalizable(ptr, PixelMapInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkPixelMapMockMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPixelMapMockMaterialized.ts index acf43c5c7..97fb1e3bb 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPixelMapMockMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPixelMapMockMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_PixelMapMock } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface PixelMapMock { release(): void } @@ -77,4 +38,4 @@ export class PixelMapMockInternal implements MaterializedBase,PixelMapMock { obj.peer = new Finalizable(ptr, PixelMapMockInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkProgressMaskMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkProgressMaskMaterialized.ts index a50b06569..9aebbf8fe 100644 --- a/arkoala-arkts/arkui/src/generated/ArkProgressMaskMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkProgressMaskMaterialized.ts @@ -1,54 +1,15 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { ResourceColor } from "./ArkUnitsInterfaces" import { Color } from "./ArkEnumsInterfaces" import { Resource } from "./ArkResourceInterfaces" import { INTERFACE_ProgressMask } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class ProgressMask implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -147,4 +108,4 @@ export class ProgressMaskInternal { obj.peer = new Finalizable(ptr, ProgressMask.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkRichEditorBaseControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkRichEditorBaseControllerMaterialized.ts index a79edaeb9..97768f49d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRichEditorBaseControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRichEditorBaseControllerMaterialized.ts @@ -1,21 +1,3 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { TextEditControllerEx, TextEditControllerExInternal } from "./ArkTextEditControllerExMaterialized" import { RichEditorTextStyle } from "./ArkRichEditorInterfaces" import { SelectionOptions } from "./ArkCommonInterfaces" @@ -23,34 +5,13 @@ import { LayoutManager, LayoutManagerInternal } from "./ArkLayoutManagerMaterial import { PreviewText } from "./ArkTextCommonInterfaces" import { INTERFACE_RichEditorBaseController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class RichEditorBaseController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -161,4 +122,4 @@ export class RichEditorBaseControllerInternal { obj.peer = new Finalizable(ptr, RichEditorBaseController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkRichEditorControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkRichEditorControllerMaterialized.ts index 75a0c49d8..325a319bb 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRichEditorControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRichEditorControllerMaterialized.ts @@ -1,21 +1,3 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { RichEditorBaseController, RichEditorBaseControllerInternal } from "./ArkRichEditorBaseControllerMaterialized" import { RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorRange, RichEditorImageSpanResult, RichEditorTextSpanResult, RichEditorParagraphResult, RichEditorSelection, RichEditorSpan } from "./ArkRichEditorInterfaces" import { PixelMap, PixelMapInternal } from "./ArkPixelMapMaterialized" @@ -25,34 +7,13 @@ import { CustomNodeBuilder, INTERFACE_RichEditorController } from "./SyntheticDe import { Resource } from "./ArkResourceInterfaces" import { StyledString, StyledStringInternal } from "./ArkStyledStringMaterialized" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class RichEditorController extends RichEditorBaseController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -292,4 +253,4 @@ export class RichEditorControllerInternal { obj.peer = new Finalizable(ptr, RichEditorController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkRichEditorStyledStringControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkRichEditorStyledStringControllerMaterialized.ts index 8866a864b..af71a7b07 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRichEditorStyledStringControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRichEditorStyledStringControllerMaterialized.ts @@ -1,21 +1,3 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { RichEditorBaseController, RichEditorBaseControllerInternal } from "./ArkRichEditorBaseControllerMaterialized" import { StyledStringController, StyledStringControllerInternal } from "./ArkStyledStringControllerMaterialized" import { StyledString, StyledStringInternal } from "./ArkStyledStringMaterialized" @@ -24,34 +6,13 @@ import { RichEditorRange } from "./ArkRichEditorInterfaces" import { StyledStringChangedListener } from "./ArkTextCommonInterfaces" import { INTERFACE_RichEditorStyledStringController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class RichEditorStyledStringController extends RichEditorBaseController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -112,4 +73,4 @@ export class RichEditorStyledStringControllerInternal { obj.peer = new Finalizable(ptr, RichEditorStyledStringController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkRotationGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkRotationGestureEventMaterialized.ts index f85ae77c8..da316ad40 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRotationGestureEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRotationGestureEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface RotationGestureEvent { angle: number } @@ -93,4 +54,4 @@ export class RotationGestureEventInternal extends BaseGestureEventInternal imple obj.peer = new Finalizable(ptr, RotationGestureEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkScreenCaptureHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkScreenCaptureHandlerMaterialized.ts index 0ebf6e0cf..ede0db6c7 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScreenCaptureHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScreenCaptureHandlerMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { ScreenCaptureConfig } from "./ArkWebInterfaces" import { INTERFACE_ScreenCaptureHandler } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class ScreenCaptureHandler implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -95,4 +56,4 @@ export class ScreenCaptureHandlerInternal { obj.peer = new Finalizable(ptr, ScreenCaptureHandler.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkScrollableTargetInfoMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkScrollableTargetInfoMaterialized.ts index f4a7a0b6b..fa37bb592 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScrollableTargetInfoMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScrollableTargetInfoMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { EventTargetInfo, EventTargetInfoInternal } from "./ArkEventTargetInfoMaterialized" import { INTERFACE_ScrollableTargetInfo } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class ScrollableTargetInfo extends EventTargetInfo implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -85,4 +46,4 @@ export class ScrollableTargetInfoInternal { obj.peer = new Finalizable(ptr, ScrollableTargetInfo.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkScrollerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkScrollerMaterialized.ts index 6a925dfe5..801f45c7f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScrollerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScrollerMaterialized.ts @@ -1,21 +1,3 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { ScrollOptions, ScrollEdgeOptions, ScrollPageOptions, OffsetResult, ScrollAlign, ScrollToIndexOptions } from "./ArkScrollInterfaces" import { Edge, Axis } from "./ArkEnumsInterfaces" import { Literal_Boolean_next_Axis_direction, INTERFACE_Scroller } from "./SyntheticDeclarations" @@ -23,34 +5,13 @@ import { Length } from "./ArkUnitsInterfaces" import { RectResult } from "./ArkCommonInterfaces" import { Resource } from "./ArkResourceInterfaces" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class Scroller implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -220,4 +181,4 @@ export class ScrollerInternal { obj.peer = new Finalizable(ptr, Scroller.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkSearchControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSearchControllerMaterialized.ts index e6b4df384..817b8a5ae 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSearchControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSearchControllerMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { TextContentControllerBase, TextContentControllerBaseInternal } from "./ArkTextContentControllerBaseMaterialized" import { SelectionOptions } from "./ArkCommonInterfaces" import { INTERFACE_SearchController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class SearchController extends TextContentControllerBase implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -106,4 +67,4 @@ export class SearchControllerInternal { obj.peer = new Finalizable(ptr, SearchController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkSslErrorHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSslErrorHandlerMaterialized.ts index cf6f3d2dc..e00e1c023 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSslErrorHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSslErrorHandlerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_SslErrorHandler } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class SslErrorHandler implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -83,4 +44,4 @@ export class SslErrorHandlerInternal { obj.peer = new Finalizable(ptr, SslErrorHandler.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkStyledStringControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkStyledStringControllerMaterialized.ts index 111dec587..323b88f14 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStyledStringControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStyledStringControllerMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { StyledString, StyledStringInternal } from "./ArkStyledStringMaterialized" import { MutableStyledString, MutableStyledStringInternal } from "./ArkMutableStyledStringMaterialized" import { INTERFACE_StyledStringController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface StyledStringController { setStyledString(styledString: StyledString): void getStyledString(): MutableStyledString @@ -91,4 +52,4 @@ export class StyledStringControllerInternal implements MaterializedBase,StyledSt obj.peer = new Finalizable(ptr, StyledStringControllerInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkStyledStringMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkStyledStringMaterialized.ts index 4e92724f5..bd4acfbc3 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStyledStringMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStyledStringMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { ImageAttachment, StyleOptions, StyledStringKey, SpanStyle } from "./ArkStyledStringInterfaces" import { CustomSpan, CustomSpanInternal } from "./ArkCustomSpanMaterialized" import { INTERFACE_StyledString } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class StyledString implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -215,4 +176,4 @@ export class StyledStringInternal { obj.peer = new Finalizable(ptr, StyledString.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkSubmitEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSubmitEventMaterialized.ts index 5c226c4a9..13c4f7d3a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSubmitEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSubmitEventMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface SubmitEvent { text: string keepEditableState(): void @@ -99,4 +60,4 @@ export class SubmitEventInternal implements MaterializedBase,SubmitEvent { obj.peer = new Finalizable(ptr, SubmitEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkSwipeGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSwipeGestureEventMaterialized.ts index 821fb92ab..2197d176e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSwipeGestureEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSwipeGestureEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface SwipeGestureEvent { angle: number speed: number @@ -115,4 +76,4 @@ export class SwipeGestureEventInternal extends BaseGestureEventInternal implemen obj.peer = new Finalizable(ptr, SwipeGestureEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkSwiperContentTransitionProxyMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSwiperContentTransitionProxyMaterialized.ts index bce81573d..83950c482 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSwiperContentTransitionProxyMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSwiperContentTransitionProxyMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_SwiperContentTransitionProxy } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface SwiperContentTransitionProxy { selectedIndex: number index: number @@ -165,4 +126,4 @@ export class SwiperContentTransitionProxyInternal implements MaterializedBase,Sw obj.peer = new Finalizable(ptr, SwiperContentTransitionProxyInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkSwiperControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSwiperControllerMaterialized.ts index 9dd18bb17..6729984cc 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSwiperControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSwiperControllerMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { VoidCallback } from "./ArkUnitsInterfaces" import { INTERFACE_SwiperController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class SwiperController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -119,4 +80,4 @@ export class SwiperControllerInternal { obj.peer = new Finalizable(ptr, SwiperController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkTabContentTransitionProxyMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTabContentTransitionProxyMaterialized.ts index 459eda036..2e9c2ceaa 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTabContentTransitionProxyMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTabContentTransitionProxyMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_TabContentTransitionProxy } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface TabContentTransitionProxy { from: number to: number @@ -121,4 +82,4 @@ export class TabContentTransitionProxyInternal implements MaterializedBase,TabCo obj.peer = new Finalizable(ptr, TabContentTransitionProxyInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkTabsControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTabsControllerMaterialized.ts index ad304a357..1aeffb4f8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTabsControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTabsControllerMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { TranslateOptions } from "./ArkCommonInterfaces" import { INTERFACE_TabsController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class TabsController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -119,4 +80,4 @@ export class TabsControllerInternal { obj.peer = new Finalizable(ptr, TabsController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkTapGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTapGestureEventMaterialized.ts index 7abae04e8..639937438 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTapGestureEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTapGestureEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface TapGestureEvent { } export class TapGestureEventInternal extends BaseGestureEventInternal implements MaterializedBase,TapGestureEvent { @@ -71,4 +32,4 @@ export class TapGestureEventInternal extends BaseGestureEventInternal implements obj.peer = new Finalizable(ptr, TapGestureEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkTextAreaControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextAreaControllerMaterialized.ts index 143c0fc26..949ef44ec 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextAreaControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextAreaControllerMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { TextContentControllerBase, TextContentControllerBaseInternal } from "./ArkTextContentControllerBaseMaterialized" import { SelectionOptions } from "./ArkCommonInterfaces" import { INTERFACE_TextAreaController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class TextAreaController extends TextContentControllerBase implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -106,4 +67,4 @@ export class TextAreaControllerInternal { obj.peer = new Finalizable(ptr, TextAreaController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkTextBaseControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextBaseControllerMaterialized.ts index 29a55ed6f..9daa239cc 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextBaseControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextBaseControllerMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { SelectionOptions } from "./ArkCommonInterfaces" import { LayoutManager, LayoutManagerInternal } from "./ArkLayoutManagerMaterialized" import { INTERFACE_TextBaseController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface TextBaseController { setSelection(selectionStart: number, selectionEnd: number, options: SelectionOptions): void closeSelectionMenu(): void @@ -107,4 +68,4 @@ export class TextBaseControllerInternal implements MaterializedBase,TextBaseCont obj.peer = new Finalizable(ptr, TextBaseControllerInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkTextClockControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextClockControllerMaterialized.ts index 4717ddc0d..69f705d6c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextClockControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextClockControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_TextClockController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class TextClockController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -83,4 +44,4 @@ export class TextClockControllerInternal { obj.peer = new Finalizable(ptr, TextClockController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkTextContentControllerBaseMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextContentControllerBaseMaterialized.ts index 5e740d7d8..a7d25c21c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextContentControllerBaseMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextContentControllerBaseMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CaretOffset, RectResult } from "./ArkCommonInterfaces" import { INTERFACE_TextContentControllerBase } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class TextContentControllerBase implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -91,4 +52,4 @@ export class TextContentControllerBaseInternal { obj.peer = new Finalizable(ptr, TextContentControllerBase.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkTextControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextControllerMaterialized.ts index 4e192a251..7f394e50c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextControllerMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { StyledString, StyledStringInternal } from "./ArkStyledStringMaterialized" import { LayoutManager, LayoutManagerInternal } from "./ArkLayoutManagerMaterialized" import { INTERFACE_TextController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class TextController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -96,4 +57,4 @@ export class TextControllerInternal { obj.peer = new Finalizable(ptr, TextController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkTextEditControllerExMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextEditControllerExMaterialized.ts index 1253fa4fd..2fce46be9 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextEditControllerExMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextEditControllerExMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { TextBaseController, TextBaseControllerInternal } from "./ArkTextBaseControllerMaterialized" import { PreviewText } from "./ArkTextCommonInterfaces" import { INTERFACE_TextEditControllerEx } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface TextEditControllerEx { isEditing(): boolean stopEditing(): void @@ -113,4 +74,4 @@ export class TextEditControllerExInternal extends TextBaseControllerInternal imp obj.peer = new Finalizable(ptr, TextEditControllerExInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkTextInputControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextInputControllerMaterialized.ts index 49aa89c0c..613cc5531 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextInputControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextInputControllerMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { TextContentControllerBase, TextContentControllerBaseInternal } from "./ArkTextContentControllerBaseMaterialized" import { SelectionOptions } from "./ArkCommonInterfaces" import { INTERFACE_TextInputController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class TextInputController extends TextContentControllerBase implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -106,4 +67,4 @@ export class TextInputControllerInternal { obj.peer = new Finalizable(ptr, TextInputController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkTextMenuItemIdMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextMenuItemIdMaterialized.ts index c3f433aa7..ff97bd077 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextMenuItemIdMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextMenuItemIdMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { ResourceStr } from "./ArkUnitsInterfaces" import { Resource } from "./ArkResourceInterfaces" import { INTERFACE_TextMenuItemId } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class TextMenuItemId implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -129,4 +90,4 @@ export class TextMenuItemIdInternal { obj.peer = new Finalizable(ptr, TextMenuItemId.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkTextPickerDialogMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextPickerDialogMaterialized.ts index 62baa7e3f..117f0b47e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextPickerDialogMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextPickerDialogMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { TextPickerDialogOptions } from "./ArkTextPickerInterfaces" import { INTERFACE_TextPickerDialog } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class TextPickerDialog implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -90,4 +51,4 @@ export class TextPickerDialogInternal { obj.peer = new Finalizable(ptr, TextPickerDialog.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkTextTimerControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextTimerControllerMaterialized.ts index 53e4de6dd..88b9bbb24 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextTimerControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextTimerControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_TextTimerController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class TextTimerController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -90,4 +51,4 @@ export class TextTimerControllerInternal { obj.peer = new Finalizable(ptr, TextTimerController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkTimePickerDialogMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTimePickerDialogMaterialized.ts index e08c1c483..d52696483 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTimePickerDialogMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTimePickerDialogMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { TimePickerDialogOptions } from "./ArkTimePickerInterfaces" import { INTERFACE_TimePickerDialog } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class TimePickerDialog implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -90,4 +51,4 @@ export class TimePickerDialogInternal { obj.peer = new Finalizable(ptr, TimePickerDialog.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkTouchEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTouchEventMaterialized.ts index 03919e552..2f236bbe4 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTouchEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTouchEventMaterialized.ts @@ -1,54 +1,15 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface TouchEvent { type: TouchType touches: Array @@ -183,4 +144,4 @@ export class TouchEventInternal extends BaseEventInternal implements Materialize obj.peer = new Finalizable(ptr, TouchEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkTransitionEffectMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTransitionEffectMaterialized.ts index b6d8ef96a..d7dd0b68e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTransitionEffectMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTransitionEffectMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { TransitionEffects, TranslateOptions, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam } from "./ArkCommonInterfaces" import { INTERFACE_TransitionEffect } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class TransitionEffect implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -196,4 +157,4 @@ export class TransitionEffectInternal { obj.peer = new Finalizable(ptr, TransitionEffect.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkUICommonEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkUICommonEventMaterialized.ts index 59f9a04ef..74e474a39 100644 --- a/arkoala-arkts/arkui/src/generated/ArkUICommonEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkUICommonEventMaterialized.ts @@ -1,21 +1,3 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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" @@ -23,34 +5,13 @@ import { KeyEvent, KeyEventInternal } from "./ArkKeyEventMaterialized" import { HoverCallback, SizeChangeCallback, VisibleAreaEventOptions, VisibleAreaChangeCallback } from "./ArkCommonInterfaces" import { MouseEvent, MouseEventInternal } from "./ArkMouseEventMaterialized" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface UICommonEvent { setOnClick(callback_?: ((event: ClickEvent) => void)): void setOnTouch(callback_?: ((event: TouchEvent) => void)): void @@ -274,4 +235,4 @@ export class UICommonEventInternal implements MaterializedBase,UICommonEvent { obj.peer = new Finalizable(ptr, UICommonEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts index 637ebef27..854cd5a37 100644 --- a/arkoala-arkts/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_UIExtensionProxy_Void, INTERFACE_UIExtensionProxy } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export interface UIExtensionProxy { send(data: Map): void sendSync(data: Map): Map @@ -161,4 +122,4 @@ export class UIExtensionProxyInternal implements MaterializedBase,UIExtensionPro obj.peer = new Finalizable(ptr, UIExtensionProxyInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkUnifiedDataMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkUnifiedDataMaterialized.ts index e22b8d6d8..f57260ccd 100644 --- a/arkoala-arkts/arkui/src/generated/ArkUnifiedDataMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkUnifiedDataMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_UnifiedData } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class UnifiedData implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -84,4 +45,4 @@ export class UnifiedDataInternal { obj.peer = new Finalizable(ptr, UnifiedData.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkVideoControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkVideoControllerMaterialized.ts index 3fa317857..2ff6f56ed 100644 --- a/arkoala-arkts/arkui/src/generated/ArkVideoControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkVideoControllerMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { SeekMode } from "./ArkVideoInterfaces" import { INTERFACE_VideoController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class VideoController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -135,4 +96,4 @@ export class VideoControllerInternal { obj.peer = new Finalizable(ptr, VideoController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkViewMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkViewMaterialized.ts index 3001e31a7..6c5b273c6 100644 --- a/arkoala-arkts/arkui/src/generated/ArkViewMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkViewMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_View } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class View implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -80,4 +41,4 @@ export class ViewInternal { obj.peer = new Finalizable(ptr, View.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkWaterFlowSectionsMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWaterFlowSectionsMaterialized.ts index 12d9481e0..031b4a55b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWaterFlowSectionsMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWaterFlowSectionsMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { SectionOptions } from "./ArkWaterFlowInterfaces" import { INTERFACE_WaterFlowSections } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class WaterFlowSections implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -137,4 +98,4 @@ export class WaterFlowSectionsInternal { obj.peer = new Finalizable(ptr, WaterFlowSections.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkWebContextMenuParamMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebContextMenuParamMaterialized.ts index fcbba2a5a..6eb265394 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebContextMenuParamMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebContextMenuParamMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType } from "./ArkWebInterfaces" import { INTERFACE_WebContextMenuParam } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class WebContextMenuParam implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -168,4 +129,4 @@ export class WebContextMenuParamInternal { obj.peer = new Finalizable(ptr, WebContextMenuParam.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkWebContextMenuResultMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebContextMenuResultMaterialized.ts index 68a40dea0..eb4f6b644 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebContextMenuResultMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebContextMenuResultMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_WebContextMenuResult } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class WebContextMenuResult implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -111,4 +72,4 @@ export class WebContextMenuResultInternal { obj.peer = new Finalizable(ptr, WebContextMenuResult.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkWebControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebControllerMaterialized.ts index 6b2c936ae..208b8525d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebControllerMaterialized.ts @@ -1,54 +1,15 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { 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, WebCookieInternal } from "./ArkWebCookieMaterialized" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class WebController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -287,4 +248,4 @@ export class WebControllerInternal { obj.peer = new Finalizable(ptr, WebController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkWebCookieMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebCookieMaterialized.ts index c5bed2c28..41f16a343 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebCookieMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebCookieMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_WebCookie } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class WebCookie implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -83,4 +44,4 @@ export class WebCookieInternal { obj.peer = new Finalizable(ptr, WebCookie.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkWebInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkWebInterfaces.ts index 4754e6ef2..ce4df3d20 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebInterfaces.ts @@ -7,6 +7,7 @@ import { WebKeyboardController } from "./ArkWebKeyboardControllerMaterialized" import { FullScreenExitHandler } from "./ArkFullScreenExitHandlerMaterialized" import { Resource } from "./ArkResourceInterfaces" import { WebController } from "./ArkWebControllerMaterialized" +import { WebviewController } from "./ArkWebviewControllerMaterialized" import { Position, ResourceStr } from "./ArkUnitsInterfaces" import { TouchEvent } from "./ArkTouchEventMaterialized" import { EventResult } from "./ArkEventResultMaterialized" @@ -32,9 +33,6 @@ import { MenuType } from "./ArkTextCommonInterfaces" import { KeyEvent } from "./ArkKeyEventMaterialized" import { CopyOptions, NestedScrollMode } from "./ArkEnumsInterfaces" import { EditMenuOptions } from "./ArkEditMenuOptionsMaterialized" -export interface WebviewController { - __WebviewControllerStub: string; -} export type OnNavigationEntryCommittedCallback = (loadCommittedDetails: LoadCommittedDetails) => void; export type OnSslErrorEventCallback = (sslErrorEvent: SslErrorEvent) => void; export type OnLargestContentfulPaintCallback = (largestContentfulPaint: LargestContentfulPaint) => void; diff --git a/arkoala-arkts/arkui/src/generated/ArkWebKeyboardControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebKeyboardControllerMaterialized.ts index a869ad950..0012f8cba 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebKeyboardControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebKeyboardControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_WebKeyboardController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class WebKeyboardController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -108,4 +69,4 @@ export class WebKeyboardControllerInternal { obj.peer = new Finalizable(ptr, WebKeyboardController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkWebResourceErrorMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebResourceErrorMaterialized.ts index 63826a08f..fbf7d5567 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebResourceErrorMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebResourceErrorMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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_WebResourceError } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class WebResourceError implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -83,4 +44,4 @@ export class WebResourceErrorInternal { obj.peer = new Finalizable(ptr, WebResourceError.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkWebResourceRequestMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebResourceRequestMaterialized.ts index 2c315ef8e..47b9dc35d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebResourceRequestMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebResourceRequestMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { Header } from "./ArkWebInterfaces" import { INTERFACE_WebResourceRequest } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class WebResourceRequest implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -112,4 +73,4 @@ export class WebResourceRequestInternal { obj.peer = new Finalizable(ptr, WebResourceRequest.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkWebResourceResponseMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebResourceResponseMaterialized.ts index 30676a693..799833be7 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebResourceResponseMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebResourceResponseMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { Resource } from "./ArkResourceInterfaces" import { Header } from "./ArkWebInterfaces" import { INTERFACE_WebResourceResponse } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class WebResourceResponse implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -214,4 +175,4 @@ export class WebResourceResponseInternal { obj.peer = new Finalizable(ptr, WebResourceResponse.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkXComponentControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkXComponentControllerMaterialized.ts index 1222666ce..c596c44b2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkXComponentControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkXComponentControllerMaterialized.ts @@ -1,53 +1,14 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { Literal_Number_surfaceHeight_surfaceWidth, INTERFACE_XComponentController } from "./SyntheticDeclarations" import { SurfaceRect, SurfaceRotationOptions } from "./ArkXcomponentInterfaces" import { ImageAnalyzerConfig } from "./ArkImageCommonInterfaces" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { CallbackTransformer } from "./peers/CallbackTransformer" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" - - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" export class XComponentController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -182,4 +143,4 @@ export class XComponentControllerInternal { obj.peer = new Finalizable(ptr, XComponentController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/SyntheticDeclarations.ts b/arkoala-arkts/arkui/src/generated/SyntheticDeclarations.ts index babde341d..0cc3f24ce 100644 --- a/arkoala-arkts/arkui/src/generated/SyntheticDeclarations.ts +++ b/arkoala-arkts/arkui/src/generated/SyntheticDeclarations.ts @@ -5,17 +5,18 @@ import { AnimateParam, UIContext, DrawContext, TransitionEffects, TranslateOptio import { DoubleAnimationParam } from "./ArkAnimationExtenderInterfaces" import { Callback_RangeUpdate } from "./ArkArkui-customInterfaces" import { PixelMap } from "./ArkPixelMapMaterialized" +import { Resource } from "./ArkResourceInterfaces" +import { WebHeader, Want, RectWidthStyle, RectHeightStyle } from "./ArkArkui-externalInterfaces" import { FrameNode } from "./ArkFrameNodeMaterialized" +import { Position, LengthMetricsUnit, Length, ResourceColor, Area, Dimension, ResourceStr, VoidCallback } from "./ArkUnitsInterfaces" import { NavPathStack } from "./ArkNavPathStackMaterialized" import { NavExtender_OnUpdateStack } from "./ArkNavigationExtenderInterfaces" import { ClickEvent } from "./ArkClickEventMaterialized" -import { Want, RectWidthStyle, RectHeightStyle } from "./ArkArkui-externalInterfaces" import { DismissDialogAction, ActionSheetOptions } from "./ArkActionSheetInterfaces" import { AlertDialogParamWithConfirm, AlertDialogParamWithButtons, AlertDialogParamWithOptions } from "./ArkAlertDialogInterfaces" import { MonthData, CalendarSelectedDate, CalendarRequestedData } from "./ArkCalendarInterfaces" import { CalendarController } from "./ArkCalendarControllerMaterialized" import { CalendarDialogOptions } from "./ArkCalendarPickerInterfaces" -import { LengthMetricsUnit, Length, ResourceColor, Area, Dimension, ResourceStr, VoidCallback } from "./ArkUnitsInterfaces" import { Path2D } from "./ArkPath2DMaterialized" import { Matrix2D } from "./ArkMatrix2DMaterialized" import { CanvasGradient } from "./ArkCanvasGradientMaterialized" @@ -26,7 +27,7 @@ import { ImageAnalyzerConfig, ImageAnalyzerType } from "./ArkImageCommonInterfac import { DrawingCanvas } from "./ArkDrawingCanvasMaterialized" import { HorizontalAlign, VerticalAlign, MouseButton, MouseAction, AccessibilityHoverType, TouchType, KeyType, KeySource, GradientDirection, HitTestMode, Alignment, Axis, Edge } from "./ArkEnumsInterfaces" import { TransitionEffect } from "./ArkTransitionEffectMaterialized" -import { GestureJudgeResult, GestureInfo, FingerInfo, PanDirection, SwipeDirection, GestureControl_GestureType, GestureRecognizerState } from "./ArkGestureInterfaces" +import { GestureJudgeResult, GestureInfo, FingerInfo, PanDirection, SwipeDirection, TapGestureHandlerOptions, LongPressGestureHandlerOptions, PanGestureHandlerOptions, SwipeGestureHandlerOptions, PinchGestureHandlerOptions, RotationGestureHandlerOptions, GestureRecognizerState } from "./ArkGestureInterfaces" import { GestureRecognizer } from "./ArkGestureRecognizerMaterialized" import { UnifiedData } from "./ArkUnifiedDataMaterialized" import { HoverEvent } from "./ArkHoverEventMaterialized" @@ -40,6 +41,13 @@ import { DatePickerResult, DatePickerDialogOptions } from "./ArkDatePickerInterf import { TerminationInfo } from "./ArkEmbeddedComponentInterfaces" import { FormCallbackInfo } from "./ArkFormComponentInterfaces" import { GestureEvent } from "./ArkGestureEventMaterialized" +import { TapGestureHandler } from "./ArkTapGestureHandlerMaterialized" +import { LongPressGestureHandler } from "./ArkLongPressGestureHandlerMaterialized" +import { PanGestureHandler } from "./ArkPanGestureHandlerMaterialized" +import { SwipeGestureHandler } from "./ArkSwipeGestureHandlerMaterialized" +import { PinchGestureHandler } from "./ArkPinchGestureHandlerMaterialized" +import { RotationGestureHandler } from "./ArkRotationGestureHandlerMaterialized" +import { GestureControl_GestureType } from "./ArkGestureControlNamespace" import { EventTargetInfo } from "./ArkEventTargetInfoMaterialized" import { PanGestureOptions } from "./ArkPanGestureOptionsMaterialized" import { ComputedBarAttribute } from "./ArkGridInterfaces" @@ -59,7 +67,6 @@ import { RefreshStatus } from "./ArkRefreshInterfaces" import { RichEditorTextStyle, RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorRange, RichEditorImageSpanResult, RichEditorTextSpanResult, RichEditorParagraphResult, RichEditorSelection, RichEditorSpan, RichEditorInsertValue, RichEditorDeleteValue, RichEditorChangeValue, CutEvent, CopyEvent, PasteEvent } from "./ArkRichEditorInterfaces" import { LayoutManager } from "./ArkLayoutManagerMaterialized" import { PreviewText, StyledStringChangedListener, TextRange, InsertValue, DeleteValue, StyledStringChangeValue, PositionWithAffinity, LineMetrics, TextBox, TextMenuItem } from "./ArkTextCommonInterfaces" -import { Resource } from "./ArkResourceInterfaces" import { StyledString } from "./ArkStyledStringMaterialized" import { MutableStyledString } from "./ArkMutableStyledStringMaterialized" import { SaveButtonOnClickResult } from "./ArkSaveButtonInterfaces" @@ -73,7 +80,8 @@ import { TextPickerResult, TextPickerDialogOptions } from "./ArkTextPickerInterf import { TimePickerResult, TimePickerDialogOptions } from "./ArkTimePickerInterfaces" import { WithThemeAttribute } from "./ArkWithThemeInterfaces" import { SeekMode, FullscreenInfo, PreparedInfo, PlaybackInfo } from "./ArkVideoInterfaces" -import { WebKeyboardOptions, FileSelectorMode, ScreenCaptureConfig, WebviewController, ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType, MessageLevel, Header, HitTestType, OnPageEndEvent, OnPageBeginEvent, OnProgressChangeEvent, OnTitleReceiveEvent, OnGeolocationShowEvent, OnAlertEvent, OnBeforeUnloadEvent, OnConfirmEvent, OnPromptEvent, OnConsoleEvent, OnErrorReceiveEvent, OnHttpErrorReceiveEvent, OnDownloadStartEvent, OnRefreshAccessedHistoryEvent, OnRenderExitedEvent, OnShowFileSelectorEvent, OnResourceLoadEvent, OnScaleChangeEvent, OnHttpAuthRequestEvent, OnInterceptRequestEvent, OnPermissionRequestEvent, OnScreenCaptureRequestEvent, OnContextMenuShowEvent, OnSearchResultReceiveEvent, OnScrollEvent, OnSslErrorEventReceiveEvent, OnClientAuthenticationEvent, OnWindowNewEvent, OnTouchIconUrlReceivedEvent, OnFaviconReceivedEvent, OnPageVisibleEvent, OnDataResubmittedEvent, OnAudioStateChangedEvent, OnFirstContentfulPaintEvent, OnLoadInterceptEvent, OnOverScrollEvent, NativeEmbedDataInfo, NativeEmbedTouchInfo } from "./ArkWebInterfaces" +import { WebKeyboardOptions, FileSelectorMode, ScreenCaptureConfig, ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType, MessageLevel, Header, HitTestType, OnPageEndEvent, OnPageBeginEvent, OnProgressChangeEvent, OnTitleReceiveEvent, OnGeolocationShowEvent, OnAlertEvent, OnBeforeUnloadEvent, OnConfirmEvent, OnPromptEvent, OnConsoleEvent, OnErrorReceiveEvent, OnHttpErrorReceiveEvent, OnDownloadStartEvent, OnRefreshAccessedHistoryEvent, OnRenderExitedEvent, OnShowFileSelectorEvent, OnResourceLoadEvent, OnScaleChangeEvent, OnHttpAuthRequestEvent, OnInterceptRequestEvent, OnPermissionRequestEvent, OnScreenCaptureRequestEvent, OnContextMenuShowEvent, OnSearchResultReceiveEvent, OnScrollEvent, OnSslErrorEventReceiveEvent, OnClientAuthenticationEvent, OnWindowNewEvent, OnTouchIconUrlReceivedEvent, OnFaviconReceivedEvent, OnPageVisibleEvent, OnDataResubmittedEvent, OnAudioStateChangedEvent, OnFirstContentfulPaintEvent, OnLoadInterceptEvent, OnOverScrollEvent, NativeEmbedDataInfo, NativeEmbedTouchInfo } from "./ArkWebInterfaces" +import { WebviewController } from "./ArkWebviewControllerMaterialized" import { WebCookie } from "./ArkWebCookieMaterialized" import { WebResourceRequest } from "./ArkWebResourceRequestMaterialized" import { WebResourceResponse } from "./ArkWebResourceResponseMaterialized" @@ -93,6 +101,8 @@ export interface INTERFACE_LazyForEachOps { } export interface INTERFACE_DrawingCanvas { } +export interface INTERFACE_WebviewController { +} export interface INTERFACE_FrameNode { } export interface INTERFACE_PixelMap { @@ -471,6 +481,20 @@ export interface Literal_Number_angle_fingers { fingers?: number; angle?: number; } +export interface INTERFACE_GestureHandler { +} +export interface INTERFACE_TapGestureHandler { +} +export interface INTERFACE_LongPressGestureHandler { +} +export interface INTERFACE_PanGestureHandler { +} +export interface INTERFACE_SwipeGestureHandler { +} +export interface INTERFACE_PinchGestureHandler { +} +export interface INTERFACE_RotationGestureHandler { +} export interface INTERFACE_ScrollableTargetInfo { } export interface INTERFACE_EventTargetInfo { diff --git a/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts b/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts index 57cb1ee87..fa9f3ac5a 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts @@ -1578,6 +1578,10 @@ export class ArkUIGeneratedNativeModule { 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 + native static _WebviewController_ctor(): KPointer + native static _WebviewController_getFinalizer(): KPointer + native static _WebviewController_initializeWebEngine(): void + native static _WebviewController_loadUrl(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void native static _FrameNode_ctor(thisArray: KUint8ArrayPtr, thisLength: int32): KPointer native static _FrameNode_getFinalizer(): KPointer native static _FrameNode_isModifiable(ptr: KPointer): boolean @@ -1592,6 +1596,8 @@ export class ArkUIGeneratedNativeModule { native static _FrameNode_getParent(ptr: KPointer): KPointer native static _FrameNode_getChildrenCount(ptr: KPointer): int32 native static _FrameNode_dispose(ptr: KPointer): void + native static _FrameNode_getOpacity(ptr: KPointer): number + native static _FrameNode_getPositionToWindowWithTransform(ptr: KPointer): KPointer native static _PixelMap_ctor(): KPointer native static _PixelMap_getFinalizer(): KPointer native static _PixelMap_readPixelsToBufferSync(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void @@ -2034,6 +2040,39 @@ export class ArkUIGeneratedNativeModule { native static _PanGestureOptions_setDistance(ptr: KPointer, value: number): undefined native static _PanGestureOptions_setFingers(ptr: KPointer, value: number): undefined native static _PanGestureOptions_getDirection(ptr: KPointer): KPointer + native static _GestureHandler_ctor(): KPointer + native static _GestureHandler_getFinalizer(): KPointer + native static _GestureHandler_tag(ptr: KPointer, tag: KStringPtr): KPointer + native static _GestureHandler_allowedTypes(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _TapGestureHandler_ctor(thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _TapGestureHandler_getFinalizer(): KPointer + native static _TapGestureHandler_onAction(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _LongPressGestureHandler_ctor(thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _LongPressGestureHandler_getFinalizer(): KPointer + native static _LongPressGestureHandler_onAction(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _LongPressGestureHandler_onActionEnd(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _LongPressGestureHandler_onActionCancel(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _PanGestureHandler_ctor(thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _PanGestureHandler_getFinalizer(): KPointer + native static _PanGestureHandler_onActionStart(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _PanGestureHandler_onActionUpdate(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _PanGestureHandler_onActionEnd(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _PanGestureHandler_onActionCancel(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _SwipeGestureHandler_ctor(thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _SwipeGestureHandler_getFinalizer(): KPointer + native static _SwipeGestureHandler_onAction(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _PinchGestureHandler_ctor(thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _PinchGestureHandler_getFinalizer(): KPointer + native static _PinchGestureHandler_onActionStart(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _PinchGestureHandler_onActionUpdate(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _PinchGestureHandler_onActionEnd(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _PinchGestureHandler_onActionCancel(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _RotationGestureHandler_ctor(thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _RotationGestureHandler_getFinalizer(): KPointer + native static _RotationGestureHandler_onActionStart(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _RotationGestureHandler_onActionUpdate(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _RotationGestureHandler_onActionEnd(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _RotationGestureHandler_onActionCancel(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer native static _ScrollableTargetInfo_ctor(): KPointer native static _ScrollableTargetInfo_getFinalizer(): KPointer native static _ScrollableTargetInfo_isBegin(ptr: KPointer): boolean diff --git a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts index 549249923..88693d16a 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts @@ -1,6 +1,5 @@ import { KBoolean, KStringPtr, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" -import { RuntimeType, Materialized, CallbackResource, VMContext } from "./../ArkStdlibInterfaces" import { DoubleAnimationParam, Callback_Extender_OnProgress, Callback_Extender_OnFinish } from "./../ArkAnimationExtenderInterfaces" import { Curve, DialogButtonStyle, BorderStyle, WordBreak, AnimationStatus, FillMode, PlayMode, FontWeight, TextOverflow, TextHeightAdaptivePolicy, FontStyle, Axis, CheckBoxShape, HorizontalAlign, FlexAlign, TextDecorationType, TextDecorationStyle, SharedTransitionEffectType, VerticalAlign, TransitionType, Color, ColoringStrategy, MouseButton, MouseAction, AccessibilityHoverType, TouchType, KeyType, KeySource, Placement, ArrowPointPosition, ClickEffectLevel, NestedScrollMode, GradientDirection, Alignment, HitTestMode, ImageSize, HoverEffect, Visibility, ItemAlign, Direction, ObscuredReasons, RenderFit, ImageRepeat, ResponseType, FunctionKey, ModifierKey, LineCapStyle, LineJoinStyle, PixelRoundCalcPolicy, BarState, EdgeEffect, IlluminatedType, EmbeddedType, ImageFit, Edge, Week, RelateType, FlexDirection, FlexWrap, TextAlign, TextCase, CopyOptions, TitleHeight, ImageSpanAlignment, TextContentStyle, XComponentType, ScrollSource, LineBreakStrategy, EllipsisMode, OptionWidthMode, FoldStatus, AppRotation, MarqueeUpdateStrategy, TextSelectableMode, WidthBreakpoint, HeightBreakpoint } from "./../ArkEnumsInterfaces" import { ICurve } from "./../ArkICurveMaterialized" @@ -11,8 +10,11 @@ import { UnifiedData } from "./../ArkUnifiedDataMaterialized" import { LazyForEachOps } from "./../ArkLazyForEachOpsMaterialized" import { DrawingCanvas } from "./../ArkDrawingCanvasMaterialized" import { PixelMap } from "./../ArkPixelMapMaterialized" -import { NodeController, TextModifier, RectWidthStyle, RectHeightStyle, Want, LengthUnit, LengthMetrics } from "./../ArkArkui-externalInterfaces" +import { NodeController, TextModifier, RectWidthStyle, RectHeightStyle, Want, LengthUnit, LengthMetrics, WebHeader } from "./../ArkArkui-externalInterfaces" +import { WebviewController } from "./../ArkWebviewControllerMaterialized" +import { Resource } from "./../ArkResourceInterfaces" import { FrameNode } from "./../ArkFrameNodeMaterialized" +import { Position, VoidCallback, ResourceStr, ResourceColor, Dimension, BorderRadiuses, LocalizedBorderRadiuses, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, EdgeStyles, Offset, Font, Length, LengthMetricsUnit, MarkStyle, Bias, Area, Margin, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, LocalizedMargin, BorderOptions, OutlineOptions, EdgeOutlineStyles, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions, EdgeWidth, DirectionalEdgesT, ColorMetrics, ColorFilter, LengthConstrain, DividerStyleOptions, VP, PX, LPX, TouchPoint } from "./../ArkUnitsInterfaces" import { NavExtender } from "./../ArkNavExtenderMaterialized" import { NavPathStack } from "./../ArkNavPathStackMaterialized" import { NavExtender_OnUpdateStack } from "./../ArkNavigationExtenderInterfaces" @@ -23,8 +25,6 @@ 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_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_Union_Number_Resource_Void, Callback_ResourceStr_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_Union_Number_Array_Number_Void, Callback_Union_String_Array_String_Void, 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" -import { VoidCallback, ResourceStr, ResourceColor, Dimension, BorderRadiuses, LocalizedBorderRadiuses, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, EdgeStyles, Offset, Font, Position, Length, LengthMetricsUnit, MarkStyle, Bias, Area, Margin, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, LocalizedMargin, BorderOptions, OutlineOptions, EdgeOutlineStyles, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions, EdgeWidth, DirectionalEdgesT, ColorMetrics, ColorFilter, LengthConstrain, DividerStyleOptions, VP, PX, LPX, TouchPoint } from "./../ArkUnitsInterfaces" import { DialogAlignment, DialogButtonDirection, AlertDialogButtonBaseOptions, AlertDialogButtonOptions, TextStyle_alert_dialog, AlertDialogParam, AlertDialogParamWithConfirm, AlertDialogParamWithButtons, AlertDialogParamWithOptions } from "./../ArkAlertDialogInterfaces" import { TransitionEffect } from "./../ArkTransitionEffectMaterialized" import { ActionSheet } from "./../ArkActionSheetMaterialized" @@ -71,7 +71,7 @@ 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, GestureJudgeResult, GestureType, GestureMask, GestureHandler, GesturePriority, PanDirection, SwipeDirection, GestureMode, GestureControl_GestureType, 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 { GestureInfo, GestureJudgeResult, GestureType, GestureMask, GesturePriority, PanDirection, SwipeDirection, GestureMode, FingerInfo, GestureInterface, TapGestureParameters, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, SwipeGestureInterface, PinchGestureInterface, RotationGestureInterface, GestureGroupInterface, TapGestureHandlerOptions, LongPressGestureHandlerOptions, PanGestureHandlerOptions, SwipeGestureHandlerOptions, PinchGestureHandlerOptions, RotationGestureHandlerOptions, GestureGroupGestureHandlerOptions, GestureRecognizerState } from "./../ArkGestureInterfaces" import { BaseGestureEvent } from "./../ArkBaseGestureEventMaterialized" import { View } from "./../ArkViewMaterialized" import { TextContentControllerBase } from "./../ArkTextContentControllerBaseMaterialized" @@ -79,6 +79,7 @@ import { ScrollOnWillScrollCallback, ScrollOnScrollCallback, ScrollAlign, Scroll import { DynamicNode } from "./../ArkDynamicNodeMaterialized" import { ChildrenMainSize } from "./../ArkChildrenMainSizeMaterialized" import { UICommonEvent } from "./../ArkUICommonEventMaterialized" +import { GestureHandler } from "./../ArkGestureHandlerMaterialized" import { EnvPropsOptions, PersistPropsOptions } from "./../ArkCommonTsEtsApiInterfaces" import { Scene, ModelType, SceneOptions, Component3DInterface, Component3DAttribute } from "./../ArkComponent3dInterfaces" import { ContainerSpanInterface, ContainerSpanAttribute } from "./../ArkContainerSpanInterfaces" @@ -102,6 +103,7 @@ 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 { GestureControl_GestureType } from "./../ArkGestureControlNamespace" import { TapGestureEvent } from "./../ArkTapGestureEventMaterialized" import { LongPressGestureEvent } from "./../ArkLongPressGestureEventMaterialized" import { PanGestureEvent } from "./../ArkPanGestureEventMaterialized" @@ -110,6 +112,12 @@ import { RotationGestureEvent } from "./../ArkRotationGestureEventMaterialized" import { SwipeGestureEvent } from "./../ArkSwipeGestureEventMaterialized" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { PanGestureOptions } from "./../ArkPanGestureOptionsMaterialized" +import { TapGestureHandler } from "./../ArkTapGestureHandlerMaterialized" +import { LongPressGestureHandler } from "./../ArkLongPressGestureHandlerMaterialized" +import { PanGestureHandler } from "./../ArkPanGestureHandlerMaterialized" +import { SwipeGestureHandler } from "./../ArkSwipeGestureHandlerMaterialized" +import { PinchGestureHandler } from "./../ArkPinchGestureHandlerMaterialized" +import { RotationGestureHandler } from "./../ArkRotationGestureHandlerMaterialized" import { ScrollableTargetInfo } from "./../ArkScrollableTargetInfoMaterialized" import { EventTargetInfo } from "./../ArkEventTargetInfoMaterialized" import { GestureRecognizer } from "./../ArkGestureRecognizerMaterialized" @@ -225,7 +233,7 @@ import { ToggleType, SwitchStyle, ToggleConfiguration, ToggleOptions, ToggleInte import { CustomTheme, WithThemeOptions, WithThemeAttribute } from "./../ArkWithThemeInterfaces" import { SeekMode, PlaybackSpeed, FullscreenInfo, PreparedInfo, PlaybackInfo, VideoOptions, VideoInterface, VideoAttribute } from "./../ArkVideoInterfaces" import { VideoController } from "./../ArkVideoControllerMaterialized" -import { WebviewController, NativeMediaPlayerConfig, AdsBlockedDetails, WebKeyboardOptions, WebKeyboardCallbackInfo, MessageLevel, MixedMode, HitTestType, CacheMode, OverScrollMode, WebDarkMode, WebCaptureMode, ThreatType, WebMediaOptions, ScreenCaptureConfig, FullScreenEnterEvent, RenderExitReason, SslError, FileSelectorMode, WebLayoutMode, RenderProcessNotRespondingReason, ProtectedResourceType, ContextMenuSourceType, ContextMenuMediaType, ContextMenuInputFieldType, NativeEmbedStatus, ContextMenuEditStateFlags, WebNavigationType, RenderMode, ViewportFit, Header, WebOptions, ScriptItem, LoadCommittedDetails, IntelligentTrackingPreventionDetails, WebInterface, WebAttribute, NativeEmbedInfo, NativeEmbedDataInfo, NativeEmbedVisibilityInfo, NativeEmbedTouchInfo, FirstMeaningfulPaint, LargestContentfulPaint, RenderProcessNotRespondingData, OnPageEndEvent, OnPageBeginEvent, OnProgressChangeEvent, OnTitleReceiveEvent, OnGeolocationShowEvent, OnAlertEvent, OnBeforeUnloadEvent, OnConfirmEvent, OnPromptEvent, OnConsoleEvent, OnErrorReceiveEvent, OnHttpErrorReceiveEvent, OnDownloadStartEvent, OnRefreshAccessedHistoryEvent, OnRenderExitedEvent, OnShowFileSelectorEvent, OnResourceLoadEvent, OnScaleChangeEvent, OnHttpAuthRequestEvent, OnInterceptRequestEvent, OnPermissionRequestEvent, OnScreenCaptureRequestEvent, OnContextMenuShowEvent, OnSearchResultReceiveEvent, OnScrollEvent, OnSslErrorEventReceiveEvent, OnClientAuthenticationEvent, OnWindowNewEvent, OnTouchIconUrlReceivedEvent, OnFaviconReceivedEvent, OnPageVisibleEvent, OnDataResubmittedEvent, OnAudioStateChangedEvent, OnFirstContentfulPaintEvent, OnLoadInterceptEvent, OnOverScrollEvent, JavaScriptProxy, WebKeyboardAvoidMode, WebElementType, WebResponseType, SelectionMenuOptionsExt, OnFullScreenEnterCallback, OnContextMenuHideCallback, OnSslErrorEventCallback, OnFirstMeaningfulPaintCallback, OnLargestContentfulPaintCallback, OnSafeBrowsingCheckResultCallback, OnNavigationEntryCommittedCallback, OnIntelligentTrackingPreventionCallback, NestedScrollOptionsExt, OnNativeEmbedVisibilityChangeCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, ExpandedMenuItemOptions, OnViewportFitChangedCallback, WebKeyboardCallback, OnAdsBlockedCallback, SslErrorEvent } from "./../ArkWebInterfaces" +import { NativeMediaPlayerConfig, AdsBlockedDetails, WebKeyboardOptions, WebKeyboardCallbackInfo, MessageLevel, MixedMode, HitTestType, CacheMode, OverScrollMode, WebDarkMode, WebCaptureMode, ThreatType, WebMediaOptions, ScreenCaptureConfig, FullScreenEnterEvent, RenderExitReason, SslError, FileSelectorMode, WebLayoutMode, RenderProcessNotRespondingReason, ProtectedResourceType, ContextMenuSourceType, ContextMenuMediaType, ContextMenuInputFieldType, NativeEmbedStatus, ContextMenuEditStateFlags, WebNavigationType, RenderMode, ViewportFit, Header, WebOptions, ScriptItem, LoadCommittedDetails, IntelligentTrackingPreventionDetails, WebInterface, WebAttribute, NativeEmbedInfo, NativeEmbedDataInfo, NativeEmbedVisibilityInfo, NativeEmbedTouchInfo, FirstMeaningfulPaint, LargestContentfulPaint, RenderProcessNotRespondingData, OnPageEndEvent, OnPageBeginEvent, OnProgressChangeEvent, OnTitleReceiveEvent, OnGeolocationShowEvent, OnAlertEvent, OnBeforeUnloadEvent, OnConfirmEvent, OnPromptEvent, OnConsoleEvent, OnErrorReceiveEvent, OnHttpErrorReceiveEvent, OnDownloadStartEvent, OnRefreshAccessedHistoryEvent, OnRenderExitedEvent, OnShowFileSelectorEvent, OnResourceLoadEvent, OnScaleChangeEvent, OnHttpAuthRequestEvent, OnInterceptRequestEvent, OnPermissionRequestEvent, OnScreenCaptureRequestEvent, OnContextMenuShowEvent, OnSearchResultReceiveEvent, OnScrollEvent, OnSslErrorEventReceiveEvent, OnClientAuthenticationEvent, OnWindowNewEvent, OnTouchIconUrlReceivedEvent, OnFaviconReceivedEvent, OnPageVisibleEvent, OnDataResubmittedEvent, OnAudioStateChangedEvent, OnFirstContentfulPaintEvent, OnLoadInterceptEvent, OnOverScrollEvent, JavaScriptProxy, WebKeyboardAvoidMode, WebElementType, WebResponseType, SelectionMenuOptionsExt, OnFullScreenEnterCallback, OnContextMenuHideCallback, OnSslErrorEventCallback, OnFirstMeaningfulPaintCallback, OnLargestContentfulPaintCallback, OnSafeBrowsingCheckResultCallback, OnNavigationEntryCommittedCallback, OnIntelligentTrackingPreventionCallback, NestedScrollOptionsExt, OnNativeEmbedVisibilityChangeCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, ExpandedMenuItemOptions, OnViewportFitChangedCallback, WebKeyboardCallback, OnAdsBlockedCallback, SslErrorEvent } from "./../ArkWebInterfaces" import { WebKeyboardController } from "./../ArkWebKeyboardControllerMaterialized" import { FullScreenExitHandler } from "./../ArkFullScreenExitHandlerMaterialized" import { FileSelectorParam } from "./../ArkFileSelectorParamMaterialized" @@ -586,9 +594,6 @@ export class TypeChecker { static isCallback(value: object|string|number|undefined|null): boolean { return value instanceof Callback } - static isCallbackResource(value: object|string|number|undefined|null): boolean { - return value instanceof CallbackResource - } static isCancelButtonOptions(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean): boolean { return value instanceof CancelButtonOptions } @@ -2056,9 +2061,6 @@ export class TypeChecker { static isMarqueeUpdateStrategy(value: object|string|number|undefined|null): boolean { return value instanceof MarqueeUpdateStrategy } - static isMaterialized(value: object|string|number|undefined|null): boolean { - return value instanceof Materialized - } static isMatrix2D(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean): boolean { return value instanceof Matrix2D } @@ -3073,9 +3075,6 @@ export class TypeChecker { static isRRect(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean): boolean { return value instanceof RRect } - static isRuntimeType(value: object|string|number|undefined|null): boolean { - return value instanceof RuntimeType - } static isSafeAreaEdge(value: object|string|number|undefined|null): boolean { return value instanceof SafeAreaEdge } @@ -3985,9 +3984,6 @@ export class TypeChecker { static isVisualEffect(value: object|string|number|undefined|null, arg0: boolean): boolean { return value instanceof VisualEffect } - static isVMContext(value: object|string|number|undefined|null): boolean { - return value instanceof VMContext - } static isWant(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean, arg2: boolean, arg3: boolean, arg4: boolean, arg5: boolean, arg6: boolean, arg7: boolean, arg8: boolean, arg9: boolean): boolean { return value instanceof Want } @@ -4030,6 +4026,9 @@ export class TypeChecker { static isWebElementType(value: object|string|number|undefined|null): boolean { return value instanceof WebElementType } + static isWebHeader(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean): boolean { + return value instanceof WebHeader + } static isWebInterface(value: object|string|number|undefined|null): boolean { return value instanceof WebInterface } @@ -4069,7 +4068,7 @@ export class TypeChecker { static isWebResponseType(value: object|string|number|undefined|null): boolean { return value instanceof WebResponseType } - static isWebviewController(value: object|string|number|undefined|null, arg0: boolean): boolean { + static isWebviewController(value: object|string|number|undefined|null): boolean { return value instanceof WebviewController } static isWeek(value: object|string|number|undefined|null): boolean { @@ -4123,6 +4122,9 @@ export class TypeChecker { static isArray_String(value: object|string|number|undefined|null): boolean { return value instanceof Array } + static isArray_WebHeader(value: object|string|number|undefined|null): boolean { + return value instanceof Array + } static isArray_SheetInfo(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 a9fb0bc06..8d68d5e1d 100644 --- a/arkoala-arkts/arkui/src/generated/index.ts +++ b/arkoala-arkts/arkui/src/generated/index.ts @@ -108,124 +108,6 @@ export * from "./ArkRemoteWindow" export * from "./ArkWaterFlow" export * from "./ArkUiExtensionComponent" export * from "./ArkLinearindicator" -export * from "./ArkAnimationExtenderMaterialized" -export * from "./ArkUnifiedDataMaterialized" -export * from "./ArkLazyForEachOpsMaterialized" -export * from "./ArkDrawingCanvasMaterialized" -export * from "./ArkFrameNodeMaterialized" -export * from "./ArkPixelMapMaterialized" -export * from "./ArkNavExtenderMaterialized" -export * from "./ArkEventEmulatorMaterialized" -export * from "./ArkActionSheetMaterialized" -export * from "./ArkAlertDialogMaterialized" -export * from "./ArkCalendarControllerMaterialized" -export * from "./ArkCalendarPickerDialogMaterialized" -export * from "./ArkCanvasGradientMaterialized" -export * from "./ArkCanvasPathMaterialized" -export * from "./ArkPath2DMaterialized" -export * from "./ArkCanvasPatternMaterialized" -export * from "./ArkImageBitmapMaterialized" -export * from "./ArkCanvasRendererMaterialized" -export * from "./ArkCanvasRenderingContext2DMaterialized" -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" -export * from "./ArkGestureRecognizerMaterialized" -export * from "./ArkPanRecognizerMaterialized" -export * from "./ArkImageAnalyzerControllerMaterialized" -export * from "./ArkListScrollerMaterialized" -export * from "./ArkMatrix2DMaterialized" -export * from "./ArkNavDestinationContextMaterialized" -export * from "./ArkNavPathStackMaterialized" -export * from "./ArkNavigationTransitionProxyMaterialized" -export * from "./ArkPatternLockControllerMaterialized" -export * from "./ArkRichEditorBaseControllerMaterialized" -export * from "./ArkRichEditorControllerMaterialized" -export * from "./ArkRichEditorStyledStringControllerMaterialized" -export * from "./ArkScrollerMaterialized" -export * from "./ArkSearchControllerMaterialized" -export * from "./ArkSwiperControllerMaterialized" -export * from "./ArkSwiperContentTransitionProxyMaterialized" -export * from "./ArkIndicatorComponentControllerMaterialized" -export * from "./ArkTabsControllerMaterialized" -export * from "./ArkTabContentTransitionProxyMaterialized" -export * from "./ArkTextControllerMaterialized" -export * from "./ArkTextAreaControllerMaterialized" -export * from "./ArkTextClockControllerMaterialized" -export * from "./ArkTextBaseControllerMaterialized" -export * from "./ArkTextEditControllerExMaterialized" -export * from "./ArkStyledStringControllerMaterialized" -export * from "./ArkLayoutManagerMaterialized" -export * from "./ArkTextMenuItemIdMaterialized" -export * from "./ArkEditMenuOptionsMaterialized" -export * from "./ArkSubmitEventMaterialized" -export * from "./ArkTextInputControllerMaterialized" -export * from "./ArkTextPickerDialogMaterialized" -export * from "./ArkTextTimerControllerMaterialized" -export * from "./ArkTimePickerDialogMaterialized" -export * from "./ArkVideoControllerMaterialized" -export * from "./ArkWebKeyboardControllerMaterialized" -export * from "./ArkFullScreenExitHandlerMaterialized" -export * from "./ArkFileSelectorParamMaterialized" -export * from "./ArkJsResultMaterialized" -export * from "./ArkFileSelectorResultMaterialized" -export * from "./ArkHttpAuthHandlerMaterialized" -export * from "./ArkSslErrorHandlerMaterialized" -export * from "./ArkClientAuthenticationHandlerMaterialized" -export * from "./ArkPermissionRequestMaterialized" -export * from "./ArkScreenCaptureHandlerMaterialized" -export * from "./ArkDataResubmissionHandlerMaterialized" -export * from "./ArkControllerHandlerMaterialized" -export * from "./ArkWebContextMenuParamMaterialized" -export * from "./ArkWebContextMenuResultMaterialized" -export * from "./ArkConsoleMessageMaterialized" -export * from "./ArkWebResourceRequestMaterialized" -export * from "./ArkWebResourceResponseMaterialized" -export * from "./ArkWebResourceErrorMaterialized" -export * from "./ArkJsGeolocationMaterialized" -export * from "./ArkWebCookieMaterialized" -export * from "./ArkEventResultMaterialized" -export * from "./ArkWebControllerMaterialized" -export * from "./ArkXComponentControllerMaterialized" -export * from "./ArkWaterFlowSectionsMaterialized" -export * from "./ArkUIExtensionProxyMaterialized" -export * from "./ArkStyledStringMaterialized" -export * from "./ArkMutableStyledStringMaterialized" -export * from "./ArkCustomSpanMaterialized" -export * from "./ArkLinearIndicatorControllerMaterialized" -export * from "./ArkGlobalScopeInspectorMaterialized" export * from "./ArkStdlibInterfaces" export * from "./ArkAnimationExtenderInterfaces" export * from "./SyntheticDeclarations" @@ -273,6 +155,7 @@ export * from "./ArkFormComponentInterfaces" export * from "./ArkFormLinkInterfaces" export * from "./ArkGaugeInterfaces" export * from "./ArkGestureInterfaces" +export * from "./ArkGestureControlNamespace" export * from "./ArkGridInterfaces" export * from "./ArkGridItemInterfaces" export * from "./ArkGridColInterfaces" diff --git a/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts b/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts index f575fa84c..eaeeaff75 100644 --- a/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts @@ -35,7 +35,7 @@ import { InterceptionModeCallback, InterceptionShowCallback, PopInfo, NavPathInf 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 { NavExtender_OnUpdateStack } from "./../ArkNavigationExtenderInterfaces" -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 { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, Header, 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" @@ -53,7 +53,7 @@ import { SliderTriggerChangeCallback, SliderBlockType, SliderStyle, SliderChange 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 { LengthUnit, LengthMetrics, WebHeader, 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, 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" @@ -77,6 +77,7 @@ import { NavDestinationMode, RouteMapConfig, NavDestinationCustomTitle, NavDesti import { ImageAnalyzerController, ImageAnalyzerControllerInternal } from "./../ArkImageAnalyzerControllerMaterialized" import { ImageAnalyzerType, ImageAIOptions, ImageAnalyzerConfig } from "./../ArkImageCommonInterfaces" import { WebResourceRequest, WebResourceRequestInternal } from "./../ArkWebResourceRequestMaterialized" +import { WebviewController, WebviewControllerInternal } from "./../ArkWebviewControllerMaterialized" import { WebController, WebControllerInternal } from "./../ArkWebControllerMaterialized" import { WebCookie, WebCookieInternal } from "./../ArkWebCookieMaterialized" import { PlaybackSpeed, SeekMode, PlaybackInfo, PreparedInfo, FullscreenInfo, VideoOptions } from "./../ArkVideoInterfaces" @@ -95,7 +96,7 @@ import { NavDestinationContext, NavDestinationContextInternal } from "./../ArkNa import { GridColColumnOption, GridColOptions } from "./../ArkGridColInterfaces" import { DatePickerResult, LunarSwitchStyle, DatePickerDialogOptions, DatePickerOptions } from "./../ArkDatePickerInterfaces" import { Scene, ModelType, SceneOptions } from "./../ArkComponent3dInterfaces" -import { GestureGroupInterface, GestureMode, GestureType, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, PinchGestureInterface, SwipeGestureInterface, RotationGestureInterface, GestureInterface, SwipeDirection, PanDirection, TapGestureParameters, GestureHandler, GesturePriority, GestureMask, GestureJudgeResult, GestureControl_GestureType, FingerInfo, GestureRecognizerState, GestureInfo } from "./../ArkGestureInterfaces" +import { GestureGroupInterface, GestureMode, GestureType, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, PinchGestureInterface, SwipeGestureInterface, RotationGestureInterface, GestureInterface, SwipeDirection, PanDirection, TapGestureParameters, GesturePriority, GestureMask, GestureJudgeResult, GestureRecognizerState, RotationGestureHandlerOptions, PinchGestureHandlerOptions, SwipeGestureHandlerOptions, PanGestureHandlerOptions, LongPressGestureHandlerOptions, TapGestureHandlerOptions, FingerInfo, GestureInfo } from "./../ArkGestureInterfaces" import { PanGestureOptions, PanGestureOptionsInternal } from "./../ArkPanGestureOptionsMaterialized" import { DrawingCanvas, DrawingCanvasInternal } from "./../ArkDrawingCanvasMaterialized" import { Size, RenderingContextSettings, ImageData } from "./../ArkCanvasInterfaces" @@ -173,12 +174,14 @@ import { GridItemAlignment, ComputedBarAttribute, GridDirection, GridLayoutOptio import { FormShape, FormRenderingMode, FormDimension, FormCallbackInfo, FormInfo } from "./../ArkFormComponentInterfaces" import { FlexSpaceOptions, FlexOptions } from "./../ArkFlexInterfaces" import { LinearGradient_data_panel, ColorStop, DataPanelType, DataPanelShadowOptions, DataPanelOptions } from "./../ArkDataPanelInterfaces" +import { GestureHandler, GestureHandlerInternal } from "./../ArkGestureHandlerMaterialized" 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 { GestureControl_GestureType } from "./../ArkGestureControlNamespace" import { ProgressMask, ProgressMaskInternal } from "./../ArkProgressMaskMaterialized" import { DrawModifier, DrawModifierInternal } from "./../ArkDrawModifierMaterialized" import { UnifiedData, UnifiedDataInternal } from "./../ArkUnifiedDataMaterialized" @@ -1612,9 +1615,8 @@ return (_continuationValue as number); } } readWebviewController(): WebviewController { let valueDeserializer : Deserializer = this - const __WebviewControllerStub_result : string = (valueDeserializer.readString() as string) - let value : WebviewController = ({__WebviewControllerStub: __WebviewControllerStub_result} as WebviewController) - return value + let ptr : KPointer = valueDeserializer.readPointer() + return WebviewControllerInternal.fromPtr(ptr) } readWebController(): WebController { let valueDeserializer : Deserializer = this @@ -14683,7 +14685,7 @@ return; } controller_buf = (valueDeserializer.readWebController() as WebController) } else if (controller_buf_selector == 1) { - controller_buf = valueDeserializer.readWebviewController() + controller_buf = (valueDeserializer.readWebviewController() as WebviewController) } else { throw new Error("One of the branches for controller_buf has to be chosen through deserialisation.") @@ -14731,7 +14733,7 @@ return; } controller_buf = (valueDeserializer.readWebController() as WebController) } else if (controller_buf_selector == 1) { - controller_buf = valueDeserializer.readWebviewController() + controller_buf = (valueDeserializer.readWebviewController() as WebviewController) } else { throw new Error("One of the branches for controller_buf has to be chosen through deserialisation.") @@ -16909,11 +16911,6 @@ return; } let value : StyledStringChangeValue = ({range: range_result,replacementString: replacementString_result,previewText: previewText_result} as StyledStringChangeValue) return value } - readGestureEvent(): GestureEvent { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return GestureEventInternal.fromPtr(ptr) - } readLocalizedBarrierStyle(): LocalizedBarrierStyle { let valueDeserializer : Deserializer = this const id_result : string = (valueDeserializer.readString() as string) @@ -18625,6 +18622,146 @@ return (_continuationValue as ComputedBarAttribute); } let value : GridLayoutOptions = ({regularSize: regularSize_result,irregularIndexes: irregularIndexes_result,onGetIrregularSizeByIndex: onGetIrregularSizeByIndex_result,onGetRectByIndex: onGetRectByIndex_result} as GridLayoutOptions) return value } + readRotationGestureHandlerOptions(): RotationGestureHandlerOptions { + let valueDeserializer : Deserializer = this + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result : number | undefined = fingers_buf + const angle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let angle_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (angle_buf_runtimeType)) + { + angle_buf = (valueDeserializer.readNumber() as number) + } + const angle_result : number | undefined = angle_buf + let value : RotationGestureHandlerOptions = ({fingers: fingers_result,angle: angle_result} as RotationGestureHandlerOptions) + return value + } + readPinchGestureHandlerOptions(): PinchGestureHandlerOptions { + let valueDeserializer : Deserializer = this + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result : number | undefined = fingers_buf + const distance_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let distance_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (distance_buf_runtimeType)) + { + distance_buf = (valueDeserializer.readNumber() as number) + } + const distance_result : number | undefined = distance_buf + let value : PinchGestureHandlerOptions = ({fingers: fingers_result,distance: distance_result} as PinchGestureHandlerOptions) + return value + } + readSwipeGestureHandlerOptions(): SwipeGestureHandlerOptions { + let valueDeserializer : Deserializer = this + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result : number | undefined = fingers_buf + const direction_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let direction_buf : SwipeDirection | undefined + if ((RuntimeType.UNDEFINED) != (direction_buf_runtimeType)) + { + direction_buf = (valueDeserializer.readInt32() as SwipeDirection) + } + const direction_result : SwipeDirection | undefined = direction_buf + const speed_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let speed_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (speed_buf_runtimeType)) + { + speed_buf = (valueDeserializer.readNumber() as number) + } + const speed_result : number | undefined = speed_buf + let value : SwipeGestureHandlerOptions = ({fingers: fingers_result,direction: direction_result,speed: speed_result} as SwipeGestureHandlerOptions) + return value + } + readPanGestureHandlerOptions(): PanGestureHandlerOptions { + let valueDeserializer : Deserializer = this + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result : number | undefined = fingers_buf + const direction_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let direction_buf : PanDirection | undefined + if ((RuntimeType.UNDEFINED) != (direction_buf_runtimeType)) + { + direction_buf = (valueDeserializer.readInt32() as PanDirection) + } + const direction_result : PanDirection | undefined = direction_buf + const distance_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let distance_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (distance_buf_runtimeType)) + { + distance_buf = (valueDeserializer.readNumber() as number) + } + const distance_result : number | undefined = distance_buf + let value : PanGestureHandlerOptions = ({fingers: fingers_result,direction: direction_result,distance: distance_result} as PanGestureHandlerOptions) + return value + } + readLongPressGestureHandlerOptions(): LongPressGestureHandlerOptions { + let valueDeserializer : Deserializer = this + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result : number | undefined = fingers_buf + const repeat_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let repeat_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (repeat_buf_runtimeType)) + { + repeat_buf = valueDeserializer.readBoolean() + } + const repeat_result : boolean | undefined = repeat_buf + const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let duration_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (duration_buf_runtimeType)) + { + duration_buf = (valueDeserializer.readNumber() as number) + } + const duration_result : number | undefined = duration_buf + let value : LongPressGestureHandlerOptions = ({fingers: fingers_result,repeat: repeat_result,duration: duration_result} as LongPressGestureHandlerOptions) + return value + } + readTapGestureHandlerOptions(): TapGestureHandlerOptions { + let valueDeserializer : Deserializer = this + const count_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let count_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (count_buf_runtimeType)) + { + count_buf = (valueDeserializer.readNumber() as number) + } + const count_result : number | undefined = count_buf + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result : number | undefined = fingers_buf + let value : TapGestureHandlerOptions = ({count: count_result,fingers: fingers_result} as TapGestureHandlerOptions) + return value + } + readGestureEvent(): GestureEvent { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return GestureEventInternal.fromPtr(ptr) + } readGaugeIndicatorOptions(): GaugeIndicatorOptions { let valueDeserializer : Deserializer = this const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -22667,6 +22804,13 @@ return; } let value : SheetInfo = ({title: title_result,icon: icon_result,action: action_result} as SheetInfo) return value } + readWebHeader(): WebHeader { + let valueDeserializer : Deserializer = this + const headerKey_result : string = (valueDeserializer.readString() as string) + const headerValue_result : string = (valueDeserializer.readString() as string) + let value : WebHeader = ({headerKey: headerKey_result,headerValue: headerValue_result} as WebHeader) + return value + } readLength(): Length | undefined { const valueType = this.readInt8() if ((RuntimeType.NUMBER) == (valueType)) { diff --git a/arkoala-arkts/arkui/src/generated/peers/Serializer.ts b/arkoala-arkts/arkui/src/generated/peers/Serializer.ts index 13113b9cf..bb8ee679d 100644 --- a/arkoala-arkts/arkui/src/generated/peers/Serializer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/Serializer.ts @@ -33,7 +33,7 @@ import { InterceptionModeCallback, InterceptionShowCallback, PopInfo, NavPathInf 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 { NavExtender_OnUpdateStack } from "./../ArkNavigationExtenderInterfaces" -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 { OnAdsBlockedCallback, OnContextMenuHideCallback, OnFirstMeaningfulPaintCallback, OnFullScreenEnterCallback, OnIntelligentTrackingPreventionCallback, OnLargestContentfulPaintCallback, OnNativeEmbedVisibilityChangeCallback, OnNavigationEntryCommittedCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, OnSafeBrowsingCheckResultCallback, OnSslErrorEventCallback, OnViewportFitChangedCallback, WebKeyboardCallback, Header, 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" @@ -51,7 +51,7 @@ import { SliderTriggerChangeCallback, SliderBlockType, SliderStyle, SliderChange 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 { LengthUnit, LengthMetrics, WebHeader, 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, 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" @@ -75,6 +75,7 @@ import { NavDestinationMode, RouteMapConfig, NavDestinationCustomTitle, NavDesti import { ImageAnalyzerController, ImageAnalyzerControllerInternal } from "./../ArkImageAnalyzerControllerMaterialized" import { ImageAnalyzerType, ImageAIOptions, ImageAnalyzerConfig } from "./../ArkImageCommonInterfaces" import { WebResourceRequest, WebResourceRequestInternal } from "./../ArkWebResourceRequestMaterialized" +import { WebviewController, WebviewControllerInternal } from "./../ArkWebviewControllerMaterialized" import { WebController, WebControllerInternal } from "./../ArkWebControllerMaterialized" import { WebCookie, WebCookieInternal } from "./../ArkWebCookieMaterialized" import { PlaybackSpeed, SeekMode, PlaybackInfo, PreparedInfo, FullscreenInfo, VideoOptions } from "./../ArkVideoInterfaces" @@ -93,7 +94,7 @@ import { NavDestinationContext, NavDestinationContextInternal } from "./../ArkNa import { GridColColumnOption, GridColOptions } from "./../ArkGridColInterfaces" import { DatePickerResult, LunarSwitchStyle, DatePickerDialogOptions, DatePickerOptions } from "./../ArkDatePickerInterfaces" import { Scene, ModelType, SceneOptions } from "./../ArkComponent3dInterfaces" -import { GestureGroupInterface, GestureMode, GestureType, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, PinchGestureInterface, SwipeGestureInterface, RotationGestureInterface, GestureInterface, SwipeDirection, PanDirection, TapGestureParameters, GestureHandler, GesturePriority, GestureMask, GestureJudgeResult, GestureControl_GestureType, FingerInfo, GestureRecognizerState, GestureInfo } from "./../ArkGestureInterfaces" +import { GestureGroupInterface, GestureMode, GestureType, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, PinchGestureInterface, SwipeGestureInterface, RotationGestureInterface, GestureInterface, SwipeDirection, PanDirection, TapGestureParameters, GesturePriority, GestureMask, GestureJudgeResult, GestureRecognizerState, RotationGestureHandlerOptions, PinchGestureHandlerOptions, SwipeGestureHandlerOptions, PanGestureHandlerOptions, LongPressGestureHandlerOptions, TapGestureHandlerOptions, FingerInfo, GestureInfo } from "./../ArkGestureInterfaces" import { PanGestureOptions, PanGestureOptionsInternal } from "./../ArkPanGestureOptionsMaterialized" import { DrawingCanvas, DrawingCanvasInternal } from "./../ArkDrawingCanvasMaterialized" import { Size, RenderingContextSettings, ImageData } from "./../ArkCanvasInterfaces" @@ -171,12 +172,14 @@ import { GridItemAlignment, ComputedBarAttribute, GridDirection, GridLayoutOptio import { FormShape, FormRenderingMode, FormDimension, FormCallbackInfo, FormInfo } from "./../ArkFormComponentInterfaces" import { FlexSpaceOptions, FlexOptions } from "./../ArkFlexInterfaces" import { LinearGradient_data_panel, ColorStop, DataPanelType, DataPanelShadowOptions, DataPanelOptions } from "./../ArkDataPanelInterfaces" +import { GestureHandler, GestureHandlerInternal } from "./../ArkGestureHandlerMaterialized" 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 { GestureControl_GestureType } from "./../ArkGestureControlNamespace" import { ProgressMask, ProgressMaskInternal } from "./../ArkProgressMaskMaterialized" import { DrawModifier, DrawModifierInternal } from "./../ArkDrawModifierMaterialized" import { UnifiedData, UnifiedDataInternal } from "./../ArkUnifiedDataMaterialized" @@ -1672,8 +1675,20 @@ export class Serializer extends SerializerBase { } writeWebviewController(value: WebviewController): void { let valueSerializer : Serializer = this - const value___WebviewControllerStub = value.__WebviewControllerStub - valueSerializer.writeString(value___WebviewControllerStub) + 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!") + } } writeWebController(value: WebController): void { let valueSerializer : Serializer = this @@ -14853,7 +14868,7 @@ export class Serializer extends SerializerBase { const value_controller_0 = value_controller as WebController valueSerializer.writeWebController(value_controller_0) } - else if (TypeChecker.isWebviewController(value_controller, false)) { + else if (((RuntimeType.OBJECT) == (value_controller_type)) && (TypeChecker.isWebviewController(value_controller))) { valueSerializer.writeInt8(1 as int32) const value_controller_1 = value_controller as WebviewController valueSerializer.writeWebviewController(value_controller_1) @@ -14902,7 +14917,7 @@ export class Serializer extends SerializerBase { const value_controller_0 = value_controller as WebController valueSerializer.writeWebController(value_controller_0) } - else if (TypeChecker.isWebviewController(value_controller, false)) { + else if (((RuntimeType.OBJECT) == (value_controller_type)) && (TypeChecker.isWebviewController(value_controller))) { valueSerializer.writeInt8(1 as int32) const value_controller_1 = value_controller as WebviewController valueSerializer.writeWebviewController(value_controller_1) @@ -16531,23 +16546,6 @@ export class Serializer extends SerializerBase { valueSerializer.writeStyledString(value_previewText_value) } } - writeGestureEvent(value: GestureEvent): void { - let valueSerializer : Serializer = this - 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 const value_id = value.id @@ -18002,6 +18000,161 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(value_onGetRectByIndex_value) } } + writeRotationGestureHandlerOptions(value: RotationGestureHandlerOptions): void { + let valueSerializer : Serializer = this + const value_fingers = value.fingers + let value_fingers_type : int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type as int32) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + const value_angle = value.angle + let value_angle_type : int32 = RuntimeType.UNDEFINED + value_angle_type = runtimeType(value_angle) + valueSerializer.writeInt8(value_angle_type as int32) + if ((RuntimeType.UNDEFINED) != (value_angle_type)) { + const value_angle_value = value_angle! + valueSerializer.writeNumber(value_angle_value) + } + } + writePinchGestureHandlerOptions(value: PinchGestureHandlerOptions): void { + let valueSerializer : Serializer = this + const value_fingers = value.fingers + let value_fingers_type : int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type as int32) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + const value_distance = value.distance + let value_distance_type : int32 = RuntimeType.UNDEFINED + value_distance_type = runtimeType(value_distance) + valueSerializer.writeInt8(value_distance_type as int32) + if ((RuntimeType.UNDEFINED) != (value_distance_type)) { + const value_distance_value = value_distance! + valueSerializer.writeNumber(value_distance_value) + } + } + writeSwipeGestureHandlerOptions(value: SwipeGestureHandlerOptions): void { + let valueSerializer : Serializer = this + const value_fingers = value.fingers + let value_fingers_type : int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type as int32) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + const value_direction = value.direction + let value_direction_type : int32 = RuntimeType.UNDEFINED + value_direction_type = runtimeType(value_direction) + valueSerializer.writeInt8(value_direction_type as int32) + if ((RuntimeType.UNDEFINED) != (value_direction_type)) { + const value_direction_value = (value_direction as SwipeDirection) + valueSerializer.writeInt32((value_direction_value.valueOf() as int32)) + } + const value_speed = value.speed + let value_speed_type : int32 = RuntimeType.UNDEFINED + value_speed_type = runtimeType(value_speed) + valueSerializer.writeInt8(value_speed_type as int32) + if ((RuntimeType.UNDEFINED) != (value_speed_type)) { + const value_speed_value = value_speed! + valueSerializer.writeNumber(value_speed_value) + } + } + writePanGestureHandlerOptions(value: PanGestureHandlerOptions): void { + let valueSerializer : Serializer = this + const value_fingers = value.fingers + let value_fingers_type : int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type as int32) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + const value_direction = value.direction + let value_direction_type : int32 = RuntimeType.UNDEFINED + value_direction_type = runtimeType(value_direction) + valueSerializer.writeInt8(value_direction_type as int32) + if ((RuntimeType.UNDEFINED) != (value_direction_type)) { + const value_direction_value = (value_direction as PanDirection) + valueSerializer.writeInt32((value_direction_value.valueOf() as int32)) + } + const value_distance = value.distance + let value_distance_type : int32 = RuntimeType.UNDEFINED + value_distance_type = runtimeType(value_distance) + valueSerializer.writeInt8(value_distance_type as int32) + if ((RuntimeType.UNDEFINED) != (value_distance_type)) { + const value_distance_value = value_distance! + valueSerializer.writeNumber(value_distance_value) + } + } + writeLongPressGestureHandlerOptions(value: LongPressGestureHandlerOptions): void { + let valueSerializer : Serializer = this + const value_fingers = value.fingers + let value_fingers_type : int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type as int32) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + const value_repeat = value.repeat + let value_repeat_type : int32 = RuntimeType.UNDEFINED + value_repeat_type = runtimeType(value_repeat) + valueSerializer.writeInt8(value_repeat_type as int32) + if ((RuntimeType.UNDEFINED) != (value_repeat_type)) { + const value_repeat_value = value_repeat! + valueSerializer.writeBoolean(value_repeat_value) + } + const value_duration = value.duration + let value_duration_type : int32 = RuntimeType.UNDEFINED + value_duration_type = runtimeType(value_duration) + valueSerializer.writeInt8(value_duration_type as int32) + if ((RuntimeType.UNDEFINED) != (value_duration_type)) { + const value_duration_value = value_duration! + valueSerializer.writeNumber(value_duration_value) + } + } + writeTapGestureHandlerOptions(value: TapGestureHandlerOptions): void { + let valueSerializer : Serializer = this + const value_count = value.count + let value_count_type : int32 = RuntimeType.UNDEFINED + value_count_type = runtimeType(value_count) + valueSerializer.writeInt8(value_count_type as int32) + if ((RuntimeType.UNDEFINED) != (value_count_type)) { + const value_count_value = value_count! + valueSerializer.writeNumber(value_count_value) + } + const value_fingers = value.fingers + let value_fingers_type : int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type as int32) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + } + writeGestureEvent(value: GestureEvent): void { + let valueSerializer : Serializer = this + 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!") + } + } writeGaugeIndicatorOptions(value: GaugeIndicatorOptions): void { let valueSerializer : Serializer = this const value_icon = value.icon @@ -22152,6 +22305,13 @@ export class Serializer extends SerializerBase { const value_action = value.action valueSerializer.holdAndWriteCallback(value_action) } + writeWebHeader(value: WebHeader): void { + let valueSerializer : Serializer = this + const value_headerKey = value.headerKey + valueSerializer.writeString(value_headerKey) + const value_headerValue = value.headerValue + valueSerializer.writeString(value_headerValue) + } writeLength(value: Length): void { const valueType = runtimeType(value) this.writeInt8(valueType) diff --git a/arkoala-arkts/arkui/src/generated/ts/type_check.ts b/arkoala-arkts/arkui/src/generated/ts/type_check.ts index d2620736b..9c6a3ff00 100644 --- a/arkoala-arkts/arkui/src/generated/ts/type_check.ts +++ b/arkoala-arkts/arkui/src/generated/ts/type_check.ts @@ -1,6 +1,5 @@ import { KBoolean, KStringPtr, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./../MaterializedBase" -import { RuntimeType, Materialized, CallbackResource, VMContext } from "./../ArkStdlibInterfaces" import { DoubleAnimationParam, Callback_Extender_OnProgress, Callback_Extender_OnFinish } from "./../ArkAnimationExtenderInterfaces" import { Curve, DialogButtonStyle, BorderStyle, WordBreak, AnimationStatus, FillMode, PlayMode, FontWeight, TextOverflow, TextHeightAdaptivePolicy, FontStyle, Axis, CheckBoxShape, HorizontalAlign, FlexAlign, TextDecorationType, TextDecorationStyle, SharedTransitionEffectType, VerticalAlign, TransitionType, Color, ColoringStrategy, MouseButton, MouseAction, AccessibilityHoverType, TouchType, KeyType, KeySource, Placement, ArrowPointPosition, ClickEffectLevel, NestedScrollMode, GradientDirection, Alignment, HitTestMode, ImageSize, HoverEffect, Visibility, ItemAlign, Direction, ObscuredReasons, RenderFit, ImageRepeat, ResponseType, FunctionKey, ModifierKey, LineCapStyle, LineJoinStyle, PixelRoundCalcPolicy, BarState, EdgeEffect, IlluminatedType, EmbeddedType, ImageFit, Edge, Week, RelateType, FlexDirection, FlexWrap, TextAlign, TextCase, CopyOptions, TitleHeight, ImageSpanAlignment, TextContentStyle, XComponentType, ScrollSource, LineBreakStrategy, EllipsisMode, OptionWidthMode, FoldStatus, AppRotation, MarqueeUpdateStrategy, TextSelectableMode, WidthBreakpoint, HeightBreakpoint } from "./../ArkEnumsInterfaces" import { ICurve } from "./../ArkICurveMaterialized" @@ -11,8 +10,11 @@ import { UnifiedData } from "./../ArkUnifiedDataMaterialized" import { LazyForEachOps } from "./../ArkLazyForEachOpsMaterialized" import { DrawingCanvas } from "./../ArkDrawingCanvasMaterialized" import { PixelMap } from "./../ArkPixelMapMaterialized" -import { NodeController, TextModifier, RectWidthStyle, RectHeightStyle, Want, LengthUnit, LengthMetrics } from "./../ArkArkui-externalInterfaces" +import { NodeController, TextModifier, RectWidthStyle, RectHeightStyle, Want, LengthUnit, LengthMetrics, WebHeader } from "./../ArkArkui-externalInterfaces" +import { WebviewController } from "./../ArkWebviewControllerMaterialized" +import { Resource } from "./../ArkResourceInterfaces" import { FrameNode } from "./../ArkFrameNodeMaterialized" +import { Position, VoidCallback, ResourceStr, ResourceColor, Dimension, BorderRadiuses, LocalizedBorderRadiuses, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, EdgeStyles, Offset, Font, Length, LengthMetricsUnit, MarkStyle, Bias, Area, Margin, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, LocalizedMargin, BorderOptions, OutlineOptions, EdgeOutlineStyles, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions, EdgeWidth, DirectionalEdgesT, ColorMetrics, ColorFilter, LengthConstrain, DividerStyleOptions, VP, PX, LPX, TouchPoint } from "./../ArkUnitsInterfaces" import { NavExtender } from "./../ArkNavExtenderMaterialized" import { NavPathStack } from "./../ArkNavPathStackMaterialized" import { NavExtender_OnUpdateStack } from "./../ArkNavigationExtenderInterfaces" @@ -23,8 +25,6 @@ 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_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_Union_Number_Resource_Void, Callback_ResourceStr_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_Union_Number_Array_Number_Void, Callback_Union_String_Array_String_Void, 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" -import { VoidCallback, ResourceStr, ResourceColor, Dimension, BorderRadiuses, LocalizedBorderRadiuses, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, EdgeStyles, Offset, Font, Position, Length, LengthMetricsUnit, MarkStyle, Bias, Area, Margin, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, LocalizedMargin, BorderOptions, OutlineOptions, EdgeOutlineStyles, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions, EdgeWidth, DirectionalEdgesT, ColorMetrics, ColorFilter, LengthConstrain, DividerStyleOptions, VP, PX, LPX, TouchPoint } from "./../ArkUnitsInterfaces" import { DialogAlignment, DialogButtonDirection, AlertDialogButtonBaseOptions, AlertDialogButtonOptions, TextStyle_alert_dialog, AlertDialogParam, AlertDialogParamWithConfirm, AlertDialogParamWithButtons, AlertDialogParamWithOptions } from "./../ArkAlertDialogInterfaces" import { TransitionEffect } from "./../ArkTransitionEffectMaterialized" import { ActionSheet } from "./../ArkActionSheetMaterialized" @@ -71,7 +71,7 @@ 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, GestureJudgeResult, GestureType, GestureMask, GestureHandler, GesturePriority, PanDirection, SwipeDirection, GestureMode, GestureControl_GestureType, 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 { GestureInfo, GestureJudgeResult, GestureType, GestureMask, GesturePriority, PanDirection, SwipeDirection, GestureMode, FingerInfo, GestureInterface, TapGestureParameters, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, SwipeGestureInterface, PinchGestureInterface, RotationGestureInterface, GestureGroupInterface, TapGestureHandlerOptions, LongPressGestureHandlerOptions, PanGestureHandlerOptions, SwipeGestureHandlerOptions, PinchGestureHandlerOptions, RotationGestureHandlerOptions, GestureGroupGestureHandlerOptions, GestureRecognizerState } from "./../ArkGestureInterfaces" import { BaseGestureEvent } from "./../ArkBaseGestureEventMaterialized" import { View } from "./../ArkViewMaterialized" import { TextContentControllerBase } from "./../ArkTextContentControllerBaseMaterialized" @@ -79,6 +79,7 @@ import { ScrollOnWillScrollCallback, ScrollOnScrollCallback, ScrollAlign, Scroll import { DynamicNode } from "./../ArkDynamicNodeMaterialized" import { ChildrenMainSize } from "./../ArkChildrenMainSizeMaterialized" import { UICommonEvent } from "./../ArkUICommonEventMaterialized" +import { GestureHandler } from "./../ArkGestureHandlerMaterialized" import { EnvPropsOptions, PersistPropsOptions } from "./../ArkCommonTsEtsApiInterfaces" import { Scene, ModelType, SceneOptions, Component3DInterface, Component3DAttribute } from "./../ArkComponent3dInterfaces" import { ContainerSpanInterface, ContainerSpanAttribute } from "./../ArkContainerSpanInterfaces" @@ -102,6 +103,7 @@ 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 { GestureControl_GestureType } from "./../ArkGestureControlNamespace" import { TapGestureEvent } from "./../ArkTapGestureEventMaterialized" import { LongPressGestureEvent } from "./../ArkLongPressGestureEventMaterialized" import { PanGestureEvent } from "./../ArkPanGestureEventMaterialized" @@ -110,6 +112,12 @@ import { RotationGestureEvent } from "./../ArkRotationGestureEventMaterialized" import { SwipeGestureEvent } from "./../ArkSwipeGestureEventMaterialized" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { PanGestureOptions } from "./../ArkPanGestureOptionsMaterialized" +import { TapGestureHandler } from "./../ArkTapGestureHandlerMaterialized" +import { LongPressGestureHandler } from "./../ArkLongPressGestureHandlerMaterialized" +import { PanGestureHandler } from "./../ArkPanGestureHandlerMaterialized" +import { SwipeGestureHandler } from "./../ArkSwipeGestureHandlerMaterialized" +import { PinchGestureHandler } from "./../ArkPinchGestureHandlerMaterialized" +import { RotationGestureHandler } from "./../ArkRotationGestureHandlerMaterialized" import { ScrollableTargetInfo } from "./../ArkScrollableTargetInfoMaterialized" import { EventTargetInfo } from "./../ArkEventTargetInfoMaterialized" import { GestureRecognizer } from "./../ArkGestureRecognizerMaterialized" @@ -225,7 +233,7 @@ import { ToggleType, SwitchStyle, ToggleConfiguration, ToggleOptions, ToggleInte import { CustomTheme, WithThemeOptions, WithThemeAttribute } from "./../ArkWithThemeInterfaces" import { SeekMode, PlaybackSpeed, FullscreenInfo, PreparedInfo, PlaybackInfo, VideoOptions, VideoInterface, VideoAttribute } from "./../ArkVideoInterfaces" import { VideoController } from "./../ArkVideoControllerMaterialized" -import { WebviewController, NativeMediaPlayerConfig, AdsBlockedDetails, WebKeyboardOptions, WebKeyboardCallbackInfo, MessageLevel, MixedMode, HitTestType, CacheMode, OverScrollMode, WebDarkMode, WebCaptureMode, ThreatType, WebMediaOptions, ScreenCaptureConfig, FullScreenEnterEvent, RenderExitReason, SslError, FileSelectorMode, WebLayoutMode, RenderProcessNotRespondingReason, ProtectedResourceType, ContextMenuSourceType, ContextMenuMediaType, ContextMenuInputFieldType, NativeEmbedStatus, ContextMenuEditStateFlags, WebNavigationType, RenderMode, ViewportFit, Header, WebOptions, ScriptItem, LoadCommittedDetails, IntelligentTrackingPreventionDetails, WebInterface, WebAttribute, NativeEmbedInfo, NativeEmbedDataInfo, NativeEmbedVisibilityInfo, NativeEmbedTouchInfo, FirstMeaningfulPaint, LargestContentfulPaint, RenderProcessNotRespondingData, OnPageEndEvent, OnPageBeginEvent, OnProgressChangeEvent, OnTitleReceiveEvent, OnGeolocationShowEvent, OnAlertEvent, OnBeforeUnloadEvent, OnConfirmEvent, OnPromptEvent, OnConsoleEvent, OnErrorReceiveEvent, OnHttpErrorReceiveEvent, OnDownloadStartEvent, OnRefreshAccessedHistoryEvent, OnRenderExitedEvent, OnShowFileSelectorEvent, OnResourceLoadEvent, OnScaleChangeEvent, OnHttpAuthRequestEvent, OnInterceptRequestEvent, OnPermissionRequestEvent, OnScreenCaptureRequestEvent, OnContextMenuShowEvent, OnSearchResultReceiveEvent, OnScrollEvent, OnSslErrorEventReceiveEvent, OnClientAuthenticationEvent, OnWindowNewEvent, OnTouchIconUrlReceivedEvent, OnFaviconReceivedEvent, OnPageVisibleEvent, OnDataResubmittedEvent, OnAudioStateChangedEvent, OnFirstContentfulPaintEvent, OnLoadInterceptEvent, OnOverScrollEvent, JavaScriptProxy, WebKeyboardAvoidMode, WebElementType, WebResponseType, SelectionMenuOptionsExt, OnFullScreenEnterCallback, OnContextMenuHideCallback, OnSslErrorEventCallback, OnFirstMeaningfulPaintCallback, OnLargestContentfulPaintCallback, OnSafeBrowsingCheckResultCallback, OnNavigationEntryCommittedCallback, OnIntelligentTrackingPreventionCallback, NestedScrollOptionsExt, OnNativeEmbedVisibilityChangeCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, ExpandedMenuItemOptions, OnViewportFitChangedCallback, WebKeyboardCallback, OnAdsBlockedCallback, SslErrorEvent } from "./../ArkWebInterfaces" +import { NativeMediaPlayerConfig, AdsBlockedDetails, WebKeyboardOptions, WebKeyboardCallbackInfo, MessageLevel, MixedMode, HitTestType, CacheMode, OverScrollMode, WebDarkMode, WebCaptureMode, ThreatType, WebMediaOptions, ScreenCaptureConfig, FullScreenEnterEvent, RenderExitReason, SslError, FileSelectorMode, WebLayoutMode, RenderProcessNotRespondingReason, ProtectedResourceType, ContextMenuSourceType, ContextMenuMediaType, ContextMenuInputFieldType, NativeEmbedStatus, ContextMenuEditStateFlags, WebNavigationType, RenderMode, ViewportFit, Header, WebOptions, ScriptItem, LoadCommittedDetails, IntelligentTrackingPreventionDetails, WebInterface, WebAttribute, NativeEmbedInfo, NativeEmbedDataInfo, NativeEmbedVisibilityInfo, NativeEmbedTouchInfo, FirstMeaningfulPaint, LargestContentfulPaint, RenderProcessNotRespondingData, OnPageEndEvent, OnPageBeginEvent, OnProgressChangeEvent, OnTitleReceiveEvent, OnGeolocationShowEvent, OnAlertEvent, OnBeforeUnloadEvent, OnConfirmEvent, OnPromptEvent, OnConsoleEvent, OnErrorReceiveEvent, OnHttpErrorReceiveEvent, OnDownloadStartEvent, OnRefreshAccessedHistoryEvent, OnRenderExitedEvent, OnShowFileSelectorEvent, OnResourceLoadEvent, OnScaleChangeEvent, OnHttpAuthRequestEvent, OnInterceptRequestEvent, OnPermissionRequestEvent, OnScreenCaptureRequestEvent, OnContextMenuShowEvent, OnSearchResultReceiveEvent, OnScrollEvent, OnSslErrorEventReceiveEvent, OnClientAuthenticationEvent, OnWindowNewEvent, OnTouchIconUrlReceivedEvent, OnFaviconReceivedEvent, OnPageVisibleEvent, OnDataResubmittedEvent, OnAudioStateChangedEvent, OnFirstContentfulPaintEvent, OnLoadInterceptEvent, OnOverScrollEvent, JavaScriptProxy, WebKeyboardAvoidMode, WebElementType, WebResponseType, SelectionMenuOptionsExt, OnFullScreenEnterCallback, OnContextMenuHideCallback, OnSslErrorEventCallback, OnFirstMeaningfulPaintCallback, OnLargestContentfulPaintCallback, OnSafeBrowsingCheckResultCallback, OnNavigationEntryCommittedCallback, OnIntelligentTrackingPreventionCallback, NestedScrollOptionsExt, OnNativeEmbedVisibilityChangeCallback, OnOverrideUrlLoadingCallback, OnRenderProcessNotRespondingCallback, OnRenderProcessRespondingCallback, ExpandedMenuItemOptions, OnViewportFitChangedCallback, WebKeyboardCallback, OnAdsBlockedCallback, SslErrorEvent } from "./../ArkWebInterfaces" import { WebKeyboardController } from "./../ArkWebKeyboardControllerMaterialized" import { FullScreenExitHandler } from "./../ArkFullScreenExitHandlerMaterialized" import { FileSelectorParam } from "./../ArkFileSelectorParamMaterialized" @@ -2059,9 +2067,6 @@ export class TypeChecker { static isCallback(value: object|string|number|undefined|null|boolean): boolean { throw new Error("Can not discriminate value typeof Callback") } - static isCallbackResource(value: object|string|number|undefined|null|boolean): boolean { - throw new Error("Can not discriminate value typeof CallbackResource") - } static isCancelButtonOptions(value: object|string|number|undefined|null|boolean, duplicated_style: boolean, duplicated_icon: boolean): boolean { if ((!duplicated_style) && (value?.hasOwnProperty("style"))) { return true @@ -9152,9 +9157,6 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof MarqueeUpdateStrategy") } } - static isMaterialized(value: object|string|number|undefined|null|boolean): boolean { - throw new Error("Can not discriminate value typeof Materialized") - } static isMatrix2D(value: object|string|number|undefined|null|boolean, duplicated_scaleX: boolean, duplicated_rotateY: boolean, duplicated_rotateX: boolean, duplicated_scaleY: boolean, duplicated_translateX: boolean, duplicated_translateY: boolean): boolean { if ((!duplicated_scaleX) && (value?.hasOwnProperty("scaleX"))) { return true @@ -13632,9 +13634,6 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof RRect") } } - static isRuntimeType(value: object|string|number|undefined|null|boolean): boolean { - throw new Error("Can not discriminate value typeof RuntimeType") - } static isSafeAreaEdge(value: object|string|number|undefined|null|boolean): boolean { if (((value) === (SafeAreaEdge.TOP))) { return true @@ -18563,9 +18562,6 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof VisualEffect") } } - static isVMContext(value: object|string|number|undefined|null|boolean): boolean { - throw new Error("Can not discriminate value typeof VMContext") - } static isWant(value: object|string|number|undefined|null|boolean, duplicated_bundleName: boolean, duplicated_abilityName: boolean, duplicated_deviceId: boolean, duplicated_uri: boolean, duplicated_type: boolean, duplicated_flags: boolean, duplicated_action: boolean, duplicated_parameters: boolean, duplicated_entities: boolean, duplicated_moduleName: boolean): boolean { if ((!duplicated_bundleName) && (value?.hasOwnProperty("bundleName"))) { return true @@ -19083,6 +19079,17 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof WebElementType") } } + static isWebHeader(value: object|string|number|undefined|null|boolean, duplicated_headerKey: boolean, duplicated_headerValue: boolean): boolean { + if ((!duplicated_headerKey) && (value?.hasOwnProperty("headerKey"))) { + return true + } + else if ((!duplicated_headerValue) && (value?.hasOwnProperty("headerValue"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof WebHeader") + } + } static isWebInterface(value: object|string|number|undefined|null|boolean): boolean { throw new Error("Can not discriminate value typeof WebInterface") } @@ -19207,13 +19214,8 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof WebResponseType") } } - static isWebviewController(value: object|string|number|undefined|null|boolean, duplicated___WebviewControllerStub: boolean): boolean { - if ((!duplicated___WebviewControllerStub) && (value?.hasOwnProperty("__WebviewControllerStub"))) { - return true - } - else { - throw new Error("Can not discriminate value typeof WebviewController") - } + static isWebviewController(value: object|string|number|undefined|null|boolean): boolean { + throw new Error("Can not discriminate value typeof WebviewController") } static isWeek(value: object|string|number|undefined|null|boolean): boolean { if (((value) === (Week.Mon))) { @@ -19429,6 +19431,9 @@ export class TypeChecker { static isArray_String(value: object|string|number|undefined|null): boolean { return Array.isArray(value) } + static isArray_WebHeader(value: object|string|number|undefined|null): boolean { + return Array.isArray(value) + } static isArray_SheetInfo(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 49c0d1206..10f71d49d 100644 --- a/arkoala-arkts/arkui/types/index-full.d.ts +++ b/arkoala-arkts/arkui/types/index-full.d.ts @@ -298,6 +298,14 @@ declare interface LengthMetrics { unit: LengthUnit; value: number; } +declare interface WebHeader { + headerKey: string; + headerValue: string; +} +declare class WebviewController { + static initializeWebEngine(): void; + loadUrl(url: (string|Resource), headers?: WebHeader[]): void; +} declare class FrameNode { constructor(uiContext: UIContext); isModifiable(): boolean; @@ -312,6 +320,8 @@ declare class FrameNode { getParent?(): FrameNode; getChildrenCount(): number; dispose(): void; + getOpacity(): number; + getPositionToWindowWithTransform(): Position; } declare interface PixelMap { isEditable: number; @@ -7583,9 +7593,6 @@ declare class VideoAttribute extends CommonMethod { enableAnalyzer(value: boolean): VideoAttribute; analyzerConfig(value: ImageAnalyzerConfig): VideoAttribute; } -declare interface WebviewController { - __WebviewControllerStub: string; -} declare type OnNavigationEntryCommittedCallback = ((loadCommittedDetails: LoadCommittedDetails) => void); declare type OnSslErrorEventCallback = ((sslErrorEvent: SslErrorEvent) => void); declare type OnLargestContentfulPaintCallback = ((largestContentfulPaint: LargestContentfulPaint) => void); diff --git a/arkoala/arkui-types/index-full.d.ts b/arkoala/arkui-types/index-full.d.ts index 65b91411f..78dc263e9 100644 --- a/arkoala/arkui-types/index-full.d.ts +++ b/arkoala/arkui-types/index-full.d.ts @@ -374,6 +374,14 @@ declare interface LengthMetrics { unit: LengthUnit; value: number; } +declare interface WebHeader { + headerKey: string; + headerValue: string; +} +declare class WebviewController { + static initializeWebEngine(): void; + loadUrl(url: (string|Resource), headers?: WebHeader[]): void; +} declare class FrameNode { constructor(uiContext: UIContext); isModifiable(): boolean; @@ -388,6 +396,8 @@ declare class FrameNode { getParent?(): FrameNode; getChildrenCount(): number; dispose(): void; + getOpacity(): number; + getPositionToWindowWithTransform(): Position; } declare interface PixelMap { isEditable: number; @@ -7659,9 +7669,6 @@ declare class VideoAttribute extends CommonMethod { enableAnalyzer(value: boolean): VideoAttribute; analyzerConfig(value: ImageAnalyzerConfig): VideoAttribute; } -declare interface WebviewController { - __WebviewControllerStub: string; -} declare type OnNavigationEntryCommittedCallback = ((loadCommittedDetails: LoadCommittedDetails) => void); declare type OnSslErrorEventCallback = ((sslErrorEvent: SslErrorEvent) => void); declare type OnLargestContentfulPaintCallback = ((largestContentfulPaint: LargestContentfulPaint) => void); diff --git a/arkoala/arkui/src/ArkAccessibilityHoverEventMaterialized.ts b/arkoala/arkui/src/ArkAccessibilityHoverEventMaterialized.ts index 063f28e4c..2a5aa0531 100644 --- a/arkoala/arkui/src/ArkAccessibilityHoverEventMaterialized.ts +++ b/arkoala/arkui/src/ArkAccessibilityHoverEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class AccessibilityHoverEventInternal extends BaseEventInternal implements MaterializedBase,AccessibilityHoverEvent { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -216,4 +177,4 @@ export class AccessibilityHoverEventInternal extends BaseEventInternal implement obj.peer = new Finalizable(ptr, AccessibilityHoverEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkActionSheetMaterialized.ts b/arkoala/arkui/src/ArkActionSheetMaterialized.ts index 2f2e7c68d..7fa0a8310 100644 --- a/arkoala/arkui/src/ArkActionSheetMaterialized.ts +++ b/arkoala/arkui/src/ArkActionSheetMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ActionSheet implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -83,4 +44,4 @@ export class ActionSheetInternal { obj.peer = new Finalizable(ptr, ActionSheet.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkAlertDialogMaterialized.ts b/arkoala/arkui/src/ArkAlertDialogMaterialized.ts index 87a4fd318..03c067bb8 100644 --- a/arkoala/arkui/src/ArkAlertDialogMaterialized.ts +++ b/arkoala/arkui/src/ArkAlertDialogMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class AlertDialog implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -99,4 +60,4 @@ export class AlertDialogInternal { obj.peer = new Finalizable(ptr, AlertDialog.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkAnimationExtenderMaterialized.ts b/arkoala/arkui/src/ArkAnimationExtenderMaterialized.ts index c59cb2db9..126b2f39b 100644 --- a/arkoala/arkui/src/ArkAnimationExtenderMaterialized.ts +++ b/arkoala/arkui/src/ArkAnimationExtenderMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class AnimationExtender implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -116,4 +77,4 @@ export class AnimationExtenderInternal { obj.peer = new Finalizable(ptr, AnimationExtender.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkBaseEventMaterialized.ts b/arkoala/arkui/src/ArkBaseEventMaterialized.ts index a8803567c..69b226173 100644 --- a/arkoala/arkui/src/ArkBaseEventMaterialized.ts +++ b/arkoala/arkui/src/ArkBaseEventMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class BaseEventInternal implements MaterializedBase,BaseEvent { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -291,4 +252,4 @@ export class BaseEventInternal implements MaterializedBase,BaseEvent { obj.peer = new Finalizable(ptr, BaseEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkBaseGestureEventMaterialized.ts b/arkoala/arkui/src/ArkBaseGestureEventMaterialized.ts index 4ec97b32c..c8b8c1e9b 100644 --- a/arkoala/arkui/src/ArkBaseGestureEventMaterialized.ts +++ b/arkoala/arkui/src/ArkBaseGestureEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class BaseGestureEventInternal extends BaseEventInternal implements MaterializedBase,BaseGestureEvent { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -90,4 +51,4 @@ export class BaseGestureEventInternal extends BaseEventInternal implements Mater obj.peer = new Finalizable(ptr, BaseGestureEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkCalendarControllerMaterialized.ts b/arkoala/arkui/src/ArkCalendarControllerMaterialized.ts index cf3239fb9..eae1b9640 100644 --- a/arkoala/arkui/src/ArkCalendarControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkCalendarControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class CalendarController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -92,4 +53,4 @@ export class CalendarControllerInternal { obj.peer = new Finalizable(ptr, CalendarController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkCalendarPickerDialogMaterialized.ts b/arkoala/arkui/src/ArkCalendarPickerDialogMaterialized.ts index a6e7fa2a7..edc7a8576 100644 --- a/arkoala/arkui/src/ArkCalendarPickerDialogMaterialized.ts +++ b/arkoala/arkui/src/ArkCalendarPickerDialogMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class CalendarPickerDialog implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -89,4 +50,4 @@ export class CalendarPickerDialogInternal { obj.peer = new Finalizable(ptr, CalendarPickerDialog.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkCanvasGradientMaterialized.ts b/arkoala/arkui/src/ArkCanvasGradientMaterialized.ts index b8fa05e17..f23473dea 100644 --- a/arkoala/arkui/src/ArkCanvasGradientMaterialized.ts +++ b/arkoala/arkui/src/ArkCanvasGradientMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class CanvasGradient implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -78,4 +39,4 @@ export class CanvasGradientInternal { obj.peer = new Finalizable(ptr, CanvasGradient.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkCanvasPathMaterialized.ts b/arkoala/arkui/src/ArkCanvasPathMaterialized.ts index 92d63a5b3..c50c377cc 100644 --- a/arkoala/arkui/src/ArkCanvasPathMaterialized.ts +++ b/arkoala/arkui/src/ArkCanvasPathMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class CanvasPath implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -187,4 +148,4 @@ export class CanvasPathInternal { obj.peer = new Finalizable(ptr, CanvasPath.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkCanvasPatternMaterialized.ts b/arkoala/arkui/src/ArkCanvasPatternMaterialized.ts index 098b440fc..a2266a517 100644 --- a/arkoala/arkui/src/ArkCanvasPatternMaterialized.ts +++ b/arkoala/arkui/src/ArkCanvasPatternMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class CanvasPatternInternal implements MaterializedBase,CanvasPattern { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -84,4 +45,4 @@ export class CanvasPatternInternal implements MaterializedBase,CanvasPattern { obj.peer = new Finalizable(ptr, CanvasPatternInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkCanvasRendererMaterialized.ts b/arkoala/arkui/src/ArkCanvasRendererMaterialized.ts index 2f87efde0..69ad16b90 100644 --- a/arkoala/arkui/src/ArkCanvasRendererMaterialized.ts +++ b/arkoala/arkui/src/ArkCanvasRendererMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CanvasPath } from "./ArkCanvasPathMaterialized" -import { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class CanvasRenderer extends CanvasPath implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -1222,4 +1183,4 @@ export class CanvasRendererInternal { obj.peer = new Finalizable(ptr, CanvasRenderer.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkCanvasRenderingContext2DMaterialized.ts b/arkoala/arkui/src/ArkCanvasRenderingContext2DMaterialized.ts index 2d3befb1d..8d92e31b7 100644 --- a/arkoala/arkui/src/ArkCanvasRenderingContext2DMaterialized.ts +++ b/arkoala/arkui/src/ArkCanvasRenderingContext2DMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CanvasRenderer } from "./ArkCanvasRendererMaterialized" -import { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class CanvasRenderingContext2D extends CanvasRenderer implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -209,4 +170,4 @@ export class CanvasRenderingContext2DInternal { obj.peer = new Finalizable(ptr, CanvasRenderingContext2D.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkChildrenMainSizeMaterialized.ts b/arkoala/arkui/src/ArkChildrenMainSizeMaterialized.ts index 0d378f347..5b83d6d85 100644 --- a/arkoala/arkui/src/ArkChildrenMainSizeMaterialized.ts +++ b/arkoala/arkui/src/ArkChildrenMainSizeMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ChildrenMainSize implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -132,4 +93,4 @@ export class ChildrenMainSizeInternal { obj.peer = new Finalizable(ptr, ChildrenMainSize.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkClickEventMaterialized.ts b/arkoala/arkui/src/ArkClickEventMaterialized.ts index 15e379135..e2547fa4c 100644 --- a/arkoala/arkui/src/ArkClickEventMaterialized.ts +++ b/arkoala/arkui/src/ArkClickEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ClickEventInternal extends BaseEventInternal implements MaterializedBase,ClickEvent { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -254,4 +215,4 @@ export class ClickEventInternal extends BaseEventInternal implements Materialize obj.peer = new Finalizable(ptr, ClickEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkClientAuthenticationHandlerMaterialized.ts b/arkoala/arkui/src/ArkClientAuthenticationHandlerMaterialized.ts index e20bd7dc0..17e3d4a15 100644 --- a/arkoala/arkui/src/ArkClientAuthenticationHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkClientAuthenticationHandlerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ClientAuthenticationHandler implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -105,4 +66,4 @@ export class ClientAuthenticationHandlerInternal { obj.peer = new Finalizable(ptr, ClientAuthenticationHandler.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkConsoleMessageMaterialized.ts b/arkoala/arkui/src/ArkConsoleMessageMaterialized.ts index e55d1b985..9e9f67f17 100644 --- a/arkoala/arkui/src/ArkConsoleMessageMaterialized.ts +++ b/arkoala/arkui/src/ArkConsoleMessageMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ConsoleMessage implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -100,4 +61,4 @@ export class ConsoleMessageInternal { obj.peer = new Finalizable(ptr, ConsoleMessage.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkContextMenuMaterialized.ts b/arkoala/arkui/src/ArkContextMenuMaterialized.ts index 23f73a276..1153793df 100644 --- a/arkoala/arkui/src/ArkContextMenuMaterialized.ts +++ b/arkoala/arkui/src/ArkContextMenuMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ContextMenu implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -79,4 +40,4 @@ export class ContextMenuInternal { obj.peer = new Finalizable(ptr, ContextMenu.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkControllerHandlerMaterialized.ts b/arkoala/arkui/src/ArkControllerHandlerMaterialized.ts index bfa556912..2c8dc7686 100644 --- a/arkoala/arkui/src/ArkControllerHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkControllerHandlerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ControllerHandler implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -80,4 +41,4 @@ export class ControllerHandlerInternal { obj.peer = new Finalizable(ptr, ControllerHandler.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkCustomDialogControllerMaterialized.ts b/arkoala/arkui/src/ArkCustomDialogControllerMaterialized.ts index 85e8e6961..140732994 100644 --- a/arkoala/arkui/src/ArkCustomDialogControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkCustomDialogControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class CustomDialogController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -89,4 +50,4 @@ export class CustomDialogControllerInternal { obj.peer = new Finalizable(ptr, CustomDialogController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkCustomSpanMaterialized.ts b/arkoala/arkui/src/ArkCustomSpanMaterialized.ts index df0b757ae..ec1ef37f5 100644 --- a/arkoala/arkui/src/ArkCustomSpanMaterialized.ts +++ b/arkoala/arkui/src/ArkCustomSpanMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class CustomSpan implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -100,4 +61,4 @@ export class CustomSpanInternal { obj.peer = new Finalizable(ptr, CustomSpan.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkDataResubmissionHandlerMaterialized.ts b/arkoala/arkui/src/ArkDataResubmissionHandlerMaterialized.ts index e4bbd5813..77ce0134f 100644 --- a/arkoala/arkui/src/ArkDataResubmissionHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkDataResubmissionHandlerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class DataResubmissionHandler implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -83,4 +44,4 @@ export class DataResubmissionHandlerInternal { obj.peer = new Finalizable(ptr, DataResubmissionHandler.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkDatePickerDialogMaterialized.ts b/arkoala/arkui/src/ArkDatePickerDialogMaterialized.ts index f488ff238..dcf7e762a 100644 --- a/arkoala/arkui/src/ArkDatePickerDialogMaterialized.ts +++ b/arkoala/arkui/src/ArkDatePickerDialogMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class DatePickerDialog implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -89,4 +50,4 @@ export class DatePickerDialogInternal { obj.peer = new Finalizable(ptr, DatePickerDialog.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkDragEventMaterialized.ts b/arkoala/arkui/src/ArkDragEventMaterialized.ts index 550b6574f..9f2dd2d94 100644 --- a/arkoala/arkui/src/ArkDragEventMaterialized.ts +++ b/arkoala/arkui/src/ArkDragEventMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class DragEventInternal implements MaterializedBase,DragEvent { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -234,4 +195,4 @@ export class DragEventInternal implements MaterializedBase,DragEvent { obj.peer = new Finalizable(ptr, DragEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkDrawModifierMaterialized.ts b/arkoala/arkui/src/ArkDrawModifierMaterialized.ts index da690ce80..80be4566d 100644 --- a/arkoala/arkui/src/ArkDrawModifierMaterialized.ts +++ b/arkoala/arkui/src/ArkDrawModifierMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class DrawModifier implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -109,4 +70,4 @@ export class DrawModifierInternal { obj.peer = new Finalizable(ptr, DrawModifier.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkDrawingCanvasMaterialized.ts b/arkoala/arkui/src/ArkDrawingCanvasMaterialized.ts index a3b45bfd3..a43189dfe 100644 --- a/arkoala/arkui/src/ArkDrawingCanvasMaterialized.ts +++ b/arkoala/arkui/src/ArkDrawingCanvasMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class DrawingCanvas implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -86,4 +47,4 @@ export class DrawingCanvasInternal { obj.peer = new Finalizable(ptr, DrawingCanvas.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkDrawingRenderingContextMaterialized.ts b/arkoala/arkui/src/ArkDrawingRenderingContextMaterialized.ts index dd97783a3..20cad6b64 100644 --- a/arkoala/arkui/src/ArkDrawingRenderingContextMaterialized.ts +++ b/arkoala/arkui/src/ArkDrawingRenderingContextMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class DrawingRenderingContext implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -91,4 +52,4 @@ export class DrawingRenderingContextInternal { obj.peer = new Finalizable(ptr, DrawingRenderingContext.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkDynamicNodeMaterialized.ts b/arkoala/arkui/src/ArkDynamicNodeMaterialized.ts index 00411a235..d452a538b 100644 --- a/arkoala/arkui/src/ArkDynamicNodeMaterialized.ts +++ b/arkoala/arkui/src/ArkDynamicNodeMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class DynamicNode implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -86,4 +47,4 @@ export class DynamicNodeInternal { obj.peer = new Finalizable(ptr, DynamicNode.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkEditMenuOptionsMaterialized.ts b/arkoala/arkui/src/ArkEditMenuOptionsMaterialized.ts index fa342b036..598889f7e 100644 --- a/arkoala/arkui/src/ArkEditMenuOptionsMaterialized.ts +++ b/arkoala/arkui/src/ArkEditMenuOptionsMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class EditMenuOptionsInternal implements MaterializedBase,EditMenuOptions { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -95,4 +56,4 @@ export class EditMenuOptionsInternal implements MaterializedBase,EditMenuOptions obj.peer = new Finalizable(ptr, EditMenuOptionsInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkEventEmulatorMaterialized.ts b/arkoala/arkui/src/ArkEventEmulatorMaterialized.ts index c546c60c4..b4e2f16fe 100644 --- a/arkoala/arkui/src/ArkEventEmulatorMaterialized.ts +++ b/arkoala/arkui/src/ArkEventEmulatorMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class EventEmulator implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -93,4 +54,4 @@ export class EventEmulatorInternal { obj.peer = new Finalizable(ptr, EventEmulator.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkEventResultMaterialized.ts b/arkoala/arkui/src/ArkEventResultMaterialized.ts index d91301123..196c26311 100644 --- a/arkoala/arkui/src/ArkEventResultMaterialized.ts +++ b/arkoala/arkui/src/ArkEventResultMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class EventResult implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -77,4 +38,4 @@ export class EventResultInternal { obj.peer = new Finalizable(ptr, EventResult.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkEventTargetInfoMaterialized.ts b/arkoala/arkui/src/ArkEventTargetInfoMaterialized.ts index b7cf19271..32b78c0ee 100644 --- a/arkoala/arkui/src/ArkEventTargetInfoMaterialized.ts +++ b/arkoala/arkui/src/ArkEventTargetInfoMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class EventTargetInfo implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -76,4 +37,4 @@ export class EventTargetInfoInternal { obj.peer = new Finalizable(ptr, EventTargetInfo.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkFileSelectorParamMaterialized.ts b/arkoala/arkui/src/ArkFileSelectorParamMaterialized.ts index 726887cca..44c84820d 100644 --- a/arkoala/arkui/src/ArkFileSelectorParamMaterialized.ts +++ b/arkoala/arkui/src/ArkFileSelectorParamMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class FileSelectorParam implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -97,4 +58,4 @@ export class FileSelectorParamInternal { obj.peer = new Finalizable(ptr, FileSelectorParam.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkFileSelectorResultMaterialized.ts b/arkoala/arkui/src/ArkFileSelectorResultMaterialized.ts index 52f6cc891..6614d7bb8 100644 --- a/arkoala/arkui/src/ArkFileSelectorResultMaterialized.ts +++ b/arkoala/arkui/src/ArkFileSelectorResultMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class FileSelectorResult implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -84,4 +45,4 @@ export class FileSelectorResultInternal { obj.peer = new Finalizable(ptr, FileSelectorResult.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkFrameNodeMaterialized.ts b/arkoala/arkui/src/ArkFrameNodeMaterialized.ts index 5053eb5af..b747db9ef 100644 --- a/arkoala/arkui/src/ArkFrameNodeMaterialized.ts +++ b/arkoala/arkui/src/ArkFrameNodeMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class FrameNode implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -114,6 +75,12 @@ export class FrameNode implements MaterializedBase { this?.dispose_serialize() return } + getOpacity(): number { + return this.getOpacity_serialize() + } + getPositionToWindowWithTransform(): Position { + return this.getPositionToWindowWithTransform_serialize() + } private isModifiable_serialize(): boolean { const retval = ArkUIGeneratedNativeModule._FrameNode_isModifiable(this.peer!.ptr) return retval @@ -172,6 +139,14 @@ export class FrameNode implements MaterializedBase { private dispose_serialize(): void { ArkUIGeneratedNativeModule._FrameNode_dispose(this.peer!.ptr) } + private getOpacity_serialize(): number { + const retval = ArkUIGeneratedNativeModule._FrameNode_getOpacity(this.peer!.ptr) + return retval + } + private getPositionToWindowWithTransform_serialize(): Position { + const retval = ArkUIGeneratedNativeModule._FrameNode_getPositionToWindowWithTransform(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } } export class FrameNodeInternal { public static fromPtr(ptr: KPointer): FrameNode { @@ -179,4 +154,4 @@ export class FrameNodeInternal { obj.peer = new Finalizable(ptr, FrameNode.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkFullScreenExitHandlerMaterialized.ts b/arkoala/arkui/src/ArkFullScreenExitHandlerMaterialized.ts index ec6815df4..52ee99a54 100644 --- a/arkoala/arkui/src/ArkFullScreenExitHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkFullScreenExitHandlerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class FullScreenExitHandler implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -76,4 +37,4 @@ export class FullScreenExitHandlerInternal { obj.peer = new Finalizable(ptr, FullScreenExitHandler.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkGestureEventMaterialized.ts b/arkoala/arkui/src/ArkGestureEventMaterialized.ts index 39ff1f62d..0433099ff 100644 --- a/arkoala/arkui/src/ArkGestureEventMaterialized.ts +++ b/arkoala/arkui/src/ArkGestureEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class GestureEventInternal extends BaseEventInternal implements MaterializedBase,GestureEvent { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -321,4 +282,4 @@ export class GestureEventInternal extends BaseEventInternal implements Materiali obj.peer = new Finalizable(ptr, GestureEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkGestureModifierMaterialized.ts b/arkoala/arkui/src/ArkGestureModifierMaterialized.ts index 740241831..01c7ebb22 100644 --- a/arkoala/arkui/src/ArkGestureModifierMaterialized.ts +++ b/arkoala/arkui/src/ArkGestureModifierMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class GestureModifierInternal implements MaterializedBase,GestureModifier { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -78,4 +39,4 @@ export class GestureModifierInternal implements MaterializedBase,GestureModifier obj.peer = new Finalizable(ptr, GestureModifierInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkGestureRecognizerMaterialized.ts b/arkoala/arkui/src/ArkGestureRecognizerMaterialized.ts index b58313f96..1079aa7fb 100644 --- a/arkoala/arkui/src/ArkGestureRecognizerMaterialized.ts +++ b/arkoala/arkui/src/ArkGestureRecognizerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class GestureRecognizer implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -126,4 +87,4 @@ export class GestureRecognizerInternal { obj.peer = new Finalizable(ptr, GestureRecognizer.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkGlobalScopeCommonMaterialized.ts b/arkoala/arkui/src/ArkGlobalScopeCommonMaterialized.ts index 615ec565c..8b6ab08ef 100644 --- a/arkoala/arkui/src/ArkGlobalScopeCommonMaterialized.ts +++ b/arkoala/arkui/src/ArkGlobalScopeCommonMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class GlobalScope_common implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -223,4 +184,4 @@ export class GlobalScope_commonInternal { obj.peer = new Finalizable(ptr, GlobalScope_common.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkGlobalScopeInspectorMaterialized.ts b/arkoala/arkui/src/ArkGlobalScopeInspectorMaterialized.ts index d5c1eadcc..fa3b6d965 100644 --- a/arkoala/arkui/src/ArkGlobalScopeInspectorMaterialized.ts +++ b/arkoala/arkui/src/ArkGlobalScopeInspectorMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class GlobalScope_inspector implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -113,4 +74,4 @@ export class GlobalScope_inspectorInternal { obj.peer = new Finalizable(ptr, GlobalScope_inspector.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkHoverEventMaterialized.ts b/arkoala/arkui/src/ArkHoverEventMaterialized.ts index 7d1e2cc09..fa9f0cb91 100644 --- a/arkoala/arkui/src/ArkHoverEventMaterialized.ts +++ b/arkoala/arkui/src/ArkHoverEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class HoverEventInternal extends BaseEventInternal implements MaterializedBase,HoverEvent { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -86,4 +47,4 @@ export class HoverEventInternal extends BaseEventInternal implements Materialize obj.peer = new Finalizable(ptr, HoverEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkHttpAuthHandlerMaterialized.ts b/arkoala/arkui/src/ArkHttpAuthHandlerMaterialized.ts index 813f13695..26a6a29c1 100644 --- a/arkoala/arkui/src/ArkHttpAuthHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkHttpAuthHandlerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class HttpAuthHandler implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -92,4 +53,4 @@ export class HttpAuthHandlerInternal { obj.peer = new Finalizable(ptr, HttpAuthHandler.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkICurveMaterialized.ts b/arkoala/arkui/src/ArkICurveMaterialized.ts index 2eade9e13..79f35cb27 100644 --- a/arkoala/arkui/src/ArkICurveMaterialized.ts +++ b/arkoala/arkui/src/ArkICurveMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ICurveInternal implements MaterializedBase,ICurve { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -75,4 +36,4 @@ export class ICurveInternal implements MaterializedBase,ICurve { obj.peer = new Finalizable(ptr, ICurveInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkImageAnalyzerControllerMaterialized.ts b/arkoala/arkui/src/ArkImageAnalyzerControllerMaterialized.ts index ec0b1a59e..52544a9d4 100644 --- a/arkoala/arkui/src/ArkImageAnalyzerControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkImageAnalyzerControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ImageAnalyzerController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -76,4 +37,4 @@ export class ImageAnalyzerControllerInternal { obj.peer = new Finalizable(ptr, ImageAnalyzerController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkImageBitmapMaterialized.ts b/arkoala/arkui/src/ArkImageBitmapMaterialized.ts index 615d6a8f6..fb2ccbc2f 100644 --- a/arkoala/arkui/src/ArkImageBitmapMaterialized.ts +++ b/arkoala/arkui/src/ArkImageBitmapMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ImageBitmap implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -99,4 +60,4 @@ export class ImageBitmapInternal { obj.peer = new Finalizable(ptr, ImageBitmap.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkIndicatorComponentControllerMaterialized.ts b/arkoala/arkui/src/ArkIndicatorComponentControllerMaterialized.ts index 189e3a008..c34f620d7 100644 --- a/arkoala/arkui/src/ArkIndicatorComponentControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkIndicatorComponentControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class IndicatorComponentController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -101,4 +62,4 @@ export class IndicatorComponentControllerInternal { obj.peer = new Finalizable(ptr, IndicatorComponentController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkJsGeolocationMaterialized.ts b/arkoala/arkui/src/ArkJsGeolocationMaterialized.ts index 3fd987d3a..da60a8a74 100644 --- a/arkoala/arkui/src/ArkJsGeolocationMaterialized.ts +++ b/arkoala/arkui/src/ArkJsGeolocationMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class JsGeolocation implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -79,4 +40,4 @@ export class JsGeolocationInternal { obj.peer = new Finalizable(ptr, JsGeolocation.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkJsResultMaterialized.ts b/arkoala/arkui/src/ArkJsResultMaterialized.ts index e1bfc801b..6bf5540a3 100644 --- a/arkoala/arkui/src/ArkJsResultMaterialized.ts +++ b/arkoala/arkui/src/ArkJsResultMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class JsResult implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -91,4 +52,4 @@ export class JsResultInternal { obj.peer = new Finalizable(ptr, JsResult.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkKeyEventMaterialized.ts b/arkoala/arkui/src/ArkKeyEventMaterialized.ts index f68e5faf0..b000b1fd6 100644 --- a/arkoala/arkui/src/ArkKeyEventMaterialized.ts +++ b/arkoala/arkui/src/ArkKeyEventMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class KeyEventInternal implements MaterializedBase,KeyEvent { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -285,4 +246,4 @@ export class KeyEventInternal implements MaterializedBase,KeyEvent { obj.peer = new Finalizable(ptr, KeyEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkLayoutManagerMaterialized.ts b/arkoala/arkui/src/ArkLayoutManagerMaterialized.ts index 427d66395..273c81ecb 100644 --- a/arkoala/arkui/src/ArkLayoutManagerMaterialized.ts +++ b/arkoala/arkui/src/ArkLayoutManagerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class LayoutManagerInternal implements MaterializedBase,LayoutManager { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -104,4 +65,4 @@ export class LayoutManagerInternal implements MaterializedBase,LayoutManager { obj.peer = new Finalizable(ptr, LayoutManagerInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkLazyForEachOpsMaterialized.ts b/arkoala/arkui/src/ArkLazyForEachOpsMaterialized.ts index 8335ec28f..a15948871 100644 --- a/arkoala/arkui/src/ArkLazyForEachOpsMaterialized.ts +++ b/arkoala/arkui/src/ArkLazyForEachOpsMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class LazyForEachOps implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -112,4 +73,4 @@ export class LazyForEachOpsInternal { obj.peer = new Finalizable(ptr, LazyForEachOps.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkLinearIndicatorControllerMaterialized.ts b/arkoala/arkui/src/ArkLinearIndicatorControllerMaterialized.ts index cb506057c..b9ac23763 100644 --- a/arkoala/arkui/src/ArkLinearIndicatorControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkLinearIndicatorControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class LinearIndicatorController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -109,4 +70,4 @@ export class LinearIndicatorControllerInternal { obj.peer = new Finalizable(ptr, LinearIndicatorController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkListScrollerMaterialized.ts b/arkoala/arkui/src/ArkListScrollerMaterialized.ts index f9358cb70..e69507485 100644 --- a/arkoala/arkui/src/ArkListScrollerMaterialized.ts +++ b/arkoala/arkui/src/ArkListScrollerMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { Scroller } from "./ArkScrollerMaterialized" -import { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ListScroller extends Scroller implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -133,4 +94,4 @@ export class ListScrollerInternal { obj.peer = new Finalizable(ptr, ListScroller.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkLongPressGestureEventMaterialized.ts b/arkoala/arkui/src/ArkLongPressGestureEventMaterialized.ts index c2cdd3561..5e4914b7e 100644 --- a/arkoala/arkui/src/ArkLongPressGestureEventMaterialized.ts +++ b/arkoala/arkui/src/ArkLongPressGestureEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class LongPressGestureEventInternal extends BaseGestureEventInternal implements MaterializedBase,LongPressGestureEvent { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -90,4 +51,4 @@ export class LongPressGestureEventInternal extends BaseGestureEventInternal impl obj.peer = new Finalizable(ptr, LongPressGestureEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkMatrix2DMaterialized.ts b/arkoala/arkui/src/ArkMatrix2DMaterialized.ts index f56055ad6..a7784b205 100644 --- a/arkoala/arkui/src/ArkMatrix2DMaterialized.ts +++ b/arkoala/arkui/src/ArkMatrix2DMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class Matrix2D implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -346,4 +307,4 @@ export class Matrix2DInternal { obj.peer = new Finalizable(ptr, Matrix2D.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkMouseEventMaterialized.ts b/arkoala/arkui/src/ArkMouseEventMaterialized.ts index 87f14b1ab..739e11c8d 100644 --- a/arkoala/arkui/src/ArkMouseEventMaterialized.ts +++ b/arkoala/arkui/src/ArkMouseEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class MouseEventInternal extends BaseEventInternal implements MaterializedBase,MouseEvent { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -296,4 +257,4 @@ export class MouseEventInternal extends BaseEventInternal implements Materialize obj.peer = new Finalizable(ptr, MouseEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkMutableStyledStringMaterialized.ts b/arkoala/arkui/src/ArkMutableStyledStringMaterialized.ts index 28c1e744a..893020e6d 100644 --- a/arkoala/arkui/src/ArkMutableStyledStringMaterialized.ts +++ b/arkoala/arkui/src/ArkMutableStyledStringMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { StyledString } from "./ArkStyledStringMaterialized" -import { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class MutableStyledString extends StyledString implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -183,4 +144,4 @@ export class MutableStyledStringInternal { obj.peer = new Finalizable(ptr, MutableStyledString.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkNavDestinationContextMaterialized.ts b/arkoala/arkui/src/ArkNavDestinationContextMaterialized.ts index cc91d9cb2..0c47250a6 100644 --- a/arkoala/arkui/src/ArkNavDestinationContextMaterialized.ts +++ b/arkoala/arkui/src/ArkNavDestinationContextMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class NavDestinationContextInternal implements MaterializedBase,NavDestinationContext { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -130,4 +91,4 @@ export class NavDestinationContextInternal implements MaterializedBase,NavDestin obj.peer = new Finalizable(ptr, NavDestinationContextInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkNavExtenderMaterialized.ts b/arkoala/arkui/src/ArkNavExtenderMaterialized.ts index 708c0e769..7076bfaa8 100644 --- a/arkoala/arkui/src/ArkNavExtenderMaterialized.ts +++ b/arkoala/arkui/src/ArkNavExtenderMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class NavExtender implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -85,4 +46,4 @@ export class NavExtenderInternal { obj.peer = new Finalizable(ptr, NavExtender.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkNavPathStackMaterialized.ts b/arkoala/arkui/src/ArkNavPathStackMaterialized.ts index e7b5c8449..ce594210b 100644 --- a/arkoala/arkui/src/ArkNavPathStackMaterialized.ts +++ b/arkoala/arkui/src/ArkNavPathStackMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class NavPathStack implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -624,4 +585,4 @@ export class NavPathStackInternal { obj.peer = new Finalizable(ptr, NavPathStack.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkNavigationTransitionProxyMaterialized.ts b/arkoala/arkui/src/ArkNavigationTransitionProxyMaterialized.ts index c25167e5b..d0043e024 100644 --- a/arkoala/arkui/src/ArkNavigationTransitionProxyMaterialized.ts +++ b/arkoala/arkui/src/ArkNavigationTransitionProxyMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class NavigationTransitionProxyInternal implements MaterializedBase,NavigationTransitionProxy { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -145,4 +106,4 @@ export class NavigationTransitionProxyInternal implements MaterializedBase,Navig obj.peer = new Finalizable(ptr, NavigationTransitionProxyInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkPanGestureEventMaterialized.ts b/arkoala/arkui/src/ArkPanGestureEventMaterialized.ts index cf156f686..319fc675c 100644 --- a/arkoala/arkui/src/ArkPanGestureEventMaterialized.ts +++ b/arkoala/arkui/src/ArkPanGestureEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class PanGestureEventInternal extends BaseGestureEventInternal implements MaterializedBase,PanGestureEvent { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -174,4 +135,4 @@ export class PanGestureEventInternal extends BaseGestureEventInternal implements obj.peer = new Finalizable(ptr, PanGestureEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkPanGestureOptionsMaterialized.ts b/arkoala/arkui/src/ArkPanGestureOptionsMaterialized.ts index 7cd65c11f..adc0048b2 100644 --- a/arkoala/arkui/src/ArkPanGestureOptionsMaterialized.ts +++ b/arkoala/arkui/src/ArkPanGestureOptionsMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class PanGestureOptions implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -132,4 +93,4 @@ export class PanGestureOptionsInternal { obj.peer = new Finalizable(ptr, PanGestureOptions.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkPanRecognizerMaterialized.ts b/arkoala/arkui/src/ArkPanRecognizerMaterialized.ts index c417102f8..455da88c5 100644 --- a/arkoala/arkui/src/ArkPanRecognizerMaterialized.ts +++ b/arkoala/arkui/src/ArkPanRecognizerMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { GestureRecognizer } from "./ArkGestureRecognizerMaterialized" -import { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class PanRecognizer extends GestureRecognizer implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -78,4 +39,4 @@ export class PanRecognizerInternal { obj.peer = new Finalizable(ptr, PanRecognizer.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkPath2DMaterialized.ts b/arkoala/arkui/src/ArkPath2DMaterialized.ts index 62150eb04..96fb2f9f0 100644 --- a/arkoala/arkui/src/ArkPath2DMaterialized.ts +++ b/arkoala/arkui/src/ArkPath2DMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CanvasPath } from "./ArkCanvasPathMaterialized" -import { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class Path2D extends CanvasPath implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -90,4 +51,4 @@ export class Path2DInternal { obj.peer = new Finalizable(ptr, Path2D.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkPatternLockControllerMaterialized.ts b/arkoala/arkui/src/ArkPatternLockControllerMaterialized.ts index a1cdf818a..902861e76 100644 --- a/arkoala/arkui/src/ArkPatternLockControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkPatternLockControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class PatternLockController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -84,4 +45,4 @@ export class PatternLockControllerInternal { obj.peer = new Finalizable(ptr, PatternLockController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkPermissionRequestMaterialized.ts b/arkoala/arkui/src/ArkPermissionRequestMaterialized.ts index 4cdad177a..4c45b1a94 100644 --- a/arkoala/arkui/src/ArkPermissionRequestMaterialized.ts +++ b/arkoala/arkui/src/ArkPermissionRequestMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class PermissionRequest implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -105,4 +66,4 @@ export class PermissionRequestInternal { obj.peer = new Finalizable(ptr, PermissionRequest.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkPinchGestureEventMaterialized.ts b/arkoala/arkui/src/ArkPinchGestureEventMaterialized.ts index 446fc95a9..0f33fe0e7 100644 --- a/arkoala/arkui/src/ArkPinchGestureEventMaterialized.ts +++ b/arkoala/arkui/src/ArkPinchGestureEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class PinchGestureEventInternal extends BaseGestureEventInternal implements MaterializedBase,PinchGestureEvent { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -132,4 +93,4 @@ export class PinchGestureEventInternal extends BaseGestureEventInternal implemen obj.peer = new Finalizable(ptr, PinchGestureEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkPixelMapMaterialized.ts b/arkoala/arkui/src/ArkPixelMapMaterialized.ts index cf72c737b..714962273 100644 --- a/arkoala/arkui/src/ArkPixelMapMaterialized.ts +++ b/arkoala/arkui/src/ArkPixelMapMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class PixelMapInternal implements MaterializedBase,PixelMap { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -131,4 +92,4 @@ export class PixelMapInternal implements MaterializedBase,PixelMap { obj.peer = new Finalizable(ptr, PixelMapInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkPixelMapMockMaterialized.ts b/arkoala/arkui/src/ArkPixelMapMockMaterialized.ts index 59c5af7f5..e2c26a894 100644 --- a/arkoala/arkui/src/ArkPixelMapMockMaterialized.ts +++ b/arkoala/arkui/src/ArkPixelMapMockMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class PixelMapMockInternal implements MaterializedBase,PixelMapMock { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -74,4 +35,4 @@ export class PixelMapMockInternal implements MaterializedBase,PixelMapMock { obj.peer = new Finalizable(ptr, PixelMapMockInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkProgressMaskMaterialized.ts b/arkoala/arkui/src/ArkProgressMaskMaterialized.ts index f531a4ab4..32f071cb7 100644 --- a/arkoala/arkui/src/ArkProgressMaskMaterialized.ts +++ b/arkoala/arkui/src/ArkProgressMaskMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ProgressMask implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -144,4 +105,4 @@ export class ProgressMaskInternal { obj.peer = new Finalizable(ptr, ProgressMask.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkRichEditorBaseControllerMaterialized.ts b/arkoala/arkui/src/ArkRichEditorBaseControllerMaterialized.ts index 744776ba6..daefae571 100644 --- a/arkoala/arkui/src/ArkRichEditorBaseControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkRichEditorBaseControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class RichEditorBaseController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -156,4 +117,4 @@ export class RichEditorBaseControllerInternal { obj.peer = new Finalizable(ptr, RichEditorBaseController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkRichEditorControllerMaterialized.ts b/arkoala/arkui/src/ArkRichEditorControllerMaterialized.ts index 1f08ebc9e..1131ed1b4 100644 --- a/arkoala/arkui/src/ArkRichEditorControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkRichEditorControllerMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { RichEditorBaseController } from "./ArkRichEditorBaseControllerMaterialized" -import { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class RichEditorController extends RichEditorBaseController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -286,4 +247,4 @@ export class RichEditorControllerInternal { obj.peer = new Finalizable(ptr, RichEditorController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkRichEditorStyledStringControllerMaterialized.ts b/arkoala/arkui/src/ArkRichEditorStyledStringControllerMaterialized.ts index 465d12efc..89bf04037 100644 --- a/arkoala/arkui/src/ArkRichEditorStyledStringControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkRichEditorStyledStringControllerMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { RichEditorBaseController } from "./ArkRichEditorBaseControllerMaterialized" -import { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class RichEditorStyledStringController extends RichEditorBaseController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -107,4 +68,4 @@ export class RichEditorStyledStringControllerInternal { obj.peer = new Finalizable(ptr, RichEditorStyledStringController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkRotationGestureEventMaterialized.ts b/arkoala/arkui/src/ArkRotationGestureEventMaterialized.ts index d181cabc6..01bc52510 100644 --- a/arkoala/arkui/src/ArkRotationGestureEventMaterialized.ts +++ b/arkoala/arkui/src/ArkRotationGestureEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class RotationGestureEventInternal extends BaseGestureEventInternal implements MaterializedBase,RotationGestureEvent { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -90,4 +51,4 @@ export class RotationGestureEventInternal extends BaseGestureEventInternal imple obj.peer = new Finalizable(ptr, RotationGestureEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkScreenCaptureHandlerMaterialized.ts b/arkoala/arkui/src/ArkScreenCaptureHandlerMaterialized.ts index 7b64aee8b..dd8e74773 100644 --- a/arkoala/arkui/src/ArkScreenCaptureHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkScreenCaptureHandlerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ScreenCaptureHandler implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -94,4 +55,4 @@ export class ScreenCaptureHandlerInternal { obj.peer = new Finalizable(ptr, ScreenCaptureHandler.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkScrollableTargetInfoMaterialized.ts b/arkoala/arkui/src/ArkScrollableTargetInfoMaterialized.ts index 9c5f1b6b2..6d6a9224f 100644 --- a/arkoala/arkui/src/ArkScrollableTargetInfoMaterialized.ts +++ b/arkoala/arkui/src/ArkScrollableTargetInfoMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { EventTargetInfo } from "./ArkEventTargetInfoMaterialized" -import { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class ScrollableTargetInfo extends EventTargetInfo implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -85,4 +46,4 @@ export class ScrollableTargetInfoInternal { obj.peer = new Finalizable(ptr, ScrollableTargetInfo.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkScrollerMaterialized.ts b/arkoala/arkui/src/ArkScrollerMaterialized.ts index af2d8ffa7..2f13f0433 100644 --- a/arkoala/arkui/src/ArkScrollerMaterialized.ts +++ b/arkoala/arkui/src/ArkScrollerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class Scroller implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -215,4 +176,4 @@ export class ScrollerInternal { obj.peer = new Finalizable(ptr, Scroller.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkSearchControllerMaterialized.ts b/arkoala/arkui/src/ArkSearchControllerMaterialized.ts index 2c4d25977..b716aab51 100644 --- a/arkoala/arkui/src/ArkSearchControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkSearchControllerMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { TextContentControllerBase } from "./ArkTextContentControllerBaseMaterialized" -import { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class SearchController extends TextContentControllerBase implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -105,4 +66,4 @@ export class SearchControllerInternal { obj.peer = new Finalizable(ptr, SearchController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkSslErrorHandlerMaterialized.ts b/arkoala/arkui/src/ArkSslErrorHandlerMaterialized.ts index 552d3a498..948b60709 100644 --- a/arkoala/arkui/src/ArkSslErrorHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkSslErrorHandlerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class SslErrorHandler implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -83,4 +44,4 @@ export class SslErrorHandlerInternal { obj.peer = new Finalizable(ptr, SslErrorHandler.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkStyledStringControllerMaterialized.ts b/arkoala/arkui/src/ArkStyledStringControllerMaterialized.ts index 10c943896..567c4c4a3 100644 --- a/arkoala/arkui/src/ArkStyledStringControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkStyledStringControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class StyledStringControllerInternal implements MaterializedBase,StyledStringController { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -85,4 +46,4 @@ export class StyledStringControllerInternal implements MaterializedBase,StyledSt obj.peer = new Finalizable(ptr, StyledStringControllerInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkStyledStringMaterialized.ts b/arkoala/arkui/src/ArkStyledStringMaterialized.ts index 901d82275..e0c9dedbf 100644 --- a/arkoala/arkui/src/ArkStyledStringMaterialized.ts +++ b/arkoala/arkui/src/ArkStyledStringMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class StyledString implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -213,4 +174,4 @@ export class StyledStringInternal { obj.peer = new Finalizable(ptr, StyledString.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkSubmitEventMaterialized.ts b/arkoala/arkui/src/ArkSubmitEventMaterialized.ts index cc4c66769..b9dc5b5a2 100644 --- a/arkoala/arkui/src/ArkSubmitEventMaterialized.ts +++ b/arkoala/arkui/src/ArkSubmitEventMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class SubmitEventInternal implements MaterializedBase,SubmitEvent { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -95,4 +56,4 @@ export class SubmitEventInternal implements MaterializedBase,SubmitEvent { obj.peer = new Finalizable(ptr, SubmitEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkSwipeGestureEventMaterialized.ts b/arkoala/arkui/src/ArkSwipeGestureEventMaterialized.ts index 5e7f4337d..2e5407aa6 100644 --- a/arkoala/arkui/src/ArkSwipeGestureEventMaterialized.ts +++ b/arkoala/arkui/src/ArkSwipeGestureEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class SwipeGestureEventInternal extends BaseGestureEventInternal implements MaterializedBase,SwipeGestureEvent { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -111,4 +72,4 @@ export class SwipeGestureEventInternal extends BaseGestureEventInternal implemen obj.peer = new Finalizable(ptr, SwipeGestureEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkSwiperContentTransitionProxyMaterialized.ts b/arkoala/arkui/src/ArkSwiperContentTransitionProxyMaterialized.ts index 84685f245..262936ee2 100644 --- a/arkoala/arkui/src/ArkSwiperContentTransitionProxyMaterialized.ts +++ b/arkoala/arkui/src/ArkSwiperContentTransitionProxyMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class SwiperContentTransitionProxyInternal implements MaterializedBase,SwiperContentTransitionProxy { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -158,4 +119,4 @@ export class SwiperContentTransitionProxyInternal implements MaterializedBase,Sw obj.peer = new Finalizable(ptr, SwiperContentTransitionProxyInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkSwiperControllerMaterialized.ts b/arkoala/arkui/src/ArkSwiperControllerMaterialized.ts index e41ae628e..49d6498e4 100644 --- a/arkoala/arkui/src/ArkSwiperControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkSwiperControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class SwiperController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -118,4 +79,4 @@ export class SwiperControllerInternal { obj.peer = new Finalizable(ptr, SwiperController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkTabContentTransitionProxyMaterialized.ts b/arkoala/arkui/src/ArkTabContentTransitionProxyMaterialized.ts index cd9100d29..ac3fe1880 100644 --- a/arkoala/arkui/src/ArkTabContentTransitionProxyMaterialized.ts +++ b/arkoala/arkui/src/ArkTabContentTransitionProxyMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TabContentTransitionProxyInternal implements MaterializedBase,TabContentTransitionProxy { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -116,4 +77,4 @@ export class TabContentTransitionProxyInternal implements MaterializedBase,TabCo obj.peer = new Finalizable(ptr, TabContentTransitionProxyInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkTabsControllerMaterialized.ts b/arkoala/arkui/src/ArkTabsControllerMaterialized.ts index 8bbea4fc8..4b35a329e 100644 --- a/arkoala/arkui/src/ArkTabsControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTabsControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TabsController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -118,4 +79,4 @@ export class TabsControllerInternal { obj.peer = new Finalizable(ptr, TabsController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkTapGestureEventMaterialized.ts b/arkoala/arkui/src/ArkTapGestureEventMaterialized.ts index 77ffd67b8..0b6b259a0 100644 --- a/arkoala/arkui/src/ArkTapGestureEventMaterialized.ts +++ b/arkoala/arkui/src/ArkTapGestureEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TapGestureEventInternal extends BaseGestureEventInternal implements MaterializedBase,TapGestureEvent { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -69,4 +30,4 @@ export class TapGestureEventInternal extends BaseGestureEventInternal implements obj.peer = new Finalizable(ptr, TapGestureEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkTextAreaControllerMaterialized.ts b/arkoala/arkui/src/ArkTextAreaControllerMaterialized.ts index ed8bbc666..66da02ec9 100644 --- a/arkoala/arkui/src/ArkTextAreaControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTextAreaControllerMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { TextContentControllerBase } from "./ArkTextContentControllerBaseMaterialized" -import { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TextAreaController extends TextContentControllerBase implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -105,4 +66,4 @@ export class TextAreaControllerInternal { obj.peer = new Finalizable(ptr, TextAreaController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkTextBaseControllerMaterialized.ts b/arkoala/arkui/src/ArkTextBaseControllerMaterialized.ts index 07ac2dc82..9880a262a 100644 --- a/arkoala/arkui/src/ArkTextBaseControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTextBaseControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TextBaseControllerInternal implements MaterializedBase,TextBaseController { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -100,4 +61,4 @@ export class TextBaseControllerInternal implements MaterializedBase,TextBaseCont obj.peer = new Finalizable(ptr, TextBaseControllerInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkTextClockControllerMaterialized.ts b/arkoala/arkui/src/ArkTextClockControllerMaterialized.ts index 05137e22c..e24038181 100644 --- a/arkoala/arkui/src/ArkTextClockControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTextClockControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TextClockController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -83,4 +44,4 @@ export class TextClockControllerInternal { obj.peer = new Finalizable(ptr, TextClockController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkTextContentControllerBaseMaterialized.ts b/arkoala/arkui/src/ArkTextContentControllerBaseMaterialized.ts index 601f69fea..61d5a91de 100644 --- a/arkoala/arkui/src/ArkTextContentControllerBaseMaterialized.ts +++ b/arkoala/arkui/src/ArkTextContentControllerBaseMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TextContentControllerBase implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -90,4 +51,4 @@ export class TextContentControllerBaseInternal { obj.peer = new Finalizable(ptr, TextContentControllerBase.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkTextControllerMaterialized.ts b/arkoala/arkui/src/ArkTextControllerMaterialized.ts index 656f82988..eb9be8c78 100644 --- a/arkoala/arkui/src/ArkTextControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTextControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TextController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -94,4 +55,4 @@ export class TextControllerInternal { obj.peer = new Finalizable(ptr, TextController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkTextEditControllerExMaterialized.ts b/arkoala/arkui/src/ArkTextEditControllerExMaterialized.ts index b53e61561..62a1012cc 100644 --- a/arkoala/arkui/src/ArkTextEditControllerExMaterialized.ts +++ b/arkoala/arkui/src/ArkTextEditControllerExMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { TextBaseControllerInternal } from "./ArkTextBaseControllerMaterialized" -import { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TextEditControllerExInternal extends TextBaseControllerInternal implements MaterializedBase,TextEditControllerEx { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -105,4 +66,4 @@ export class TextEditControllerExInternal extends TextBaseControllerInternal imp obj.peer = new Finalizable(ptr, TextEditControllerExInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkTextInputControllerMaterialized.ts b/arkoala/arkui/src/ArkTextInputControllerMaterialized.ts index 17f232544..572699916 100644 --- a/arkoala/arkui/src/ArkTextInputControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTextInputControllerMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { TextContentControllerBase } from "./ArkTextContentControllerBaseMaterialized" -import { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TextInputController extends TextContentControllerBase implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -105,4 +66,4 @@ export class TextInputControllerInternal { obj.peer = new Finalizable(ptr, TextInputController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkTextMenuItemIdMaterialized.ts b/arkoala/arkui/src/ArkTextMenuItemIdMaterialized.ts index 810884acb..b789858d1 100644 --- a/arkoala/arkui/src/ArkTextMenuItemIdMaterialized.ts +++ b/arkoala/arkui/src/ArkTextMenuItemIdMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TextMenuItemId implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -127,4 +88,4 @@ export class TextMenuItemIdInternal { obj.peer = new Finalizable(ptr, TextMenuItemId.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkTextPickerDialogMaterialized.ts b/arkoala/arkui/src/ArkTextPickerDialogMaterialized.ts index e9e68aeff..fd7e806c4 100644 --- a/arkoala/arkui/src/ArkTextPickerDialogMaterialized.ts +++ b/arkoala/arkui/src/ArkTextPickerDialogMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TextPickerDialog implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -89,4 +50,4 @@ export class TextPickerDialogInternal { obj.peer = new Finalizable(ptr, TextPickerDialog.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkTextTimerControllerMaterialized.ts b/arkoala/arkui/src/ArkTextTimerControllerMaterialized.ts index e509e8816..7f7537f2e 100644 --- a/arkoala/arkui/src/ArkTextTimerControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTextTimerControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TextTimerController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -90,4 +51,4 @@ export class TextTimerControllerInternal { obj.peer = new Finalizable(ptr, TextTimerController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkTimePickerDialogMaterialized.ts b/arkoala/arkui/src/ArkTimePickerDialogMaterialized.ts index 745461aa6..67933e1bf 100644 --- a/arkoala/arkui/src/ArkTimePickerDialogMaterialized.ts +++ b/arkoala/arkui/src/ArkTimePickerDialogMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TimePickerDialog implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -89,4 +50,4 @@ export class TimePickerDialogInternal { obj.peer = new Finalizable(ptr, TimePickerDialog.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkTouchEventMaterialized.ts b/arkoala/arkui/src/ArkTouchEventMaterialized.ts index b5c21af0d..cdbcbe587 100644 --- a/arkoala/arkui/src/ArkTouchEventMaterialized.ts +++ b/arkoala/arkui/src/ArkTouchEventMaterialized.ts @@ -1,52 +1,13 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TouchEventInternal extends BaseEventInternal implements MaterializedBase,TouchEvent { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -173,4 +134,4 @@ export class TouchEventInternal extends BaseEventInternal implements Materialize obj.peer = new Finalizable(ptr, TouchEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkTransitionEffectMaterialized.ts b/arkoala/arkui/src/ArkTransitionEffectMaterialized.ts index fb0f0a925..3b03d2ba3 100644 --- a/arkoala/arkui/src/ArkTransitionEffectMaterialized.ts +++ b/arkoala/arkui/src/ArkTransitionEffectMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class TransitionEffect implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -195,4 +156,4 @@ export class TransitionEffectInternal { obj.peer = new Finalizable(ptr, TransitionEffect.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkUICommonEventMaterialized.ts b/arkoala/arkui/src/ArkUICommonEventMaterialized.ts index 30d7af471..30518842f 100644 --- a/arkoala/arkui/src/ArkUICommonEventMaterialized.ts +++ b/arkoala/arkui/src/ArkUICommonEventMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class UICommonEventInternal implements MaterializedBase,UICommonEvent { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -256,4 +217,4 @@ export class UICommonEventInternal implements MaterializedBase,UICommonEvent { obj.peer = new Finalizable(ptr, UICommonEventInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkUIExtensionProxyMaterialized.ts b/arkoala/arkui/src/ArkUIExtensionProxyMaterialized.ts index 96e8c585a..a8ae10487 100644 --- a/arkoala/arkui/src/ArkUIExtensionProxyMaterialized.ts +++ b/arkoala/arkui/src/ArkUIExtensionProxyMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class UIExtensionProxyInternal implements MaterializedBase,UIExtensionProxy { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -159,4 +120,4 @@ export class UIExtensionProxyInternal implements MaterializedBase,UIExtensionPro obj.peer = new Finalizable(ptr, UIExtensionProxyInternal.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkUIGeneratedNativeModule.ts b/arkoala/arkui/src/ArkUIGeneratedNativeModule.ts index 5b187005e..285a6a1a3 100644 --- a/arkoala/arkui/src/ArkUIGeneratedNativeModule.ts +++ b/arkoala/arkui/src/ArkUIGeneratedNativeModule.ts @@ -10926,6 +10926,34 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _WebviewController_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebviewController_ctor() + } + throw new Error("Not implemented") + } + static _WebviewController_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._WebviewController_getFinalizer() + } + throw new Error("Not implemented") + } + static _WebviewController_initializeWebEngine(): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebviewController_initializeWebEngine() + } + throw new Error("Not implemented") + } + static _WebviewController_loadUrl(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._WebviewController_loadUrl(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } static _FrameNode_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { @@ -11024,6 +11052,20 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _FrameNode_getOpacity(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getOpacity(ptr) + } + throw new Error("Not implemented") + } + static _FrameNode_getPositionToWindowWithTransform(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._FrameNode_getPositionToWindowWithTransform(ptr) + } + throw new Error("Not implemented") + } static _PixelMap_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { @@ -14118,6 +14160,237 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _GestureHandler_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GestureHandler_ctor() + } + throw new Error("Not implemented") + } + static _GestureHandler_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GestureHandler_getFinalizer() + } + throw new Error("Not implemented") + } + static _GestureHandler_tag(ptr: KPointer, tag: KStringPtr): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GestureHandler_tag(ptr, tag) + } + throw new Error("Not implemented") + } + static _GestureHandler_allowedTypes(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GestureHandler_allowedTypes(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TapGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TapGestureHandler_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _TapGestureHandler_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TapGestureHandler_getFinalizer() + } + throw new Error("Not implemented") + } + static _TapGestureHandler_onAction(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._TapGestureHandler_onAction(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LongPressGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LongPressGestureHandler_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LongPressGestureHandler_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LongPressGestureHandler_getFinalizer() + } + throw new Error("Not implemented") + } + static _LongPressGestureHandler_onAction(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LongPressGestureHandler_onAction(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LongPressGestureHandler_onActionEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LongPressGestureHandler_onActionEnd(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LongPressGestureHandler_onActionCancel(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LongPressGestureHandler_onActionCancel(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PanGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureHandler_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PanGestureHandler_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureHandler_getFinalizer() + } + throw new Error("Not implemented") + } + static _PanGestureHandler_onActionStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureHandler_onActionStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PanGestureHandler_onActionUpdate(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureHandler_onActionUpdate(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PanGestureHandler_onActionEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureHandler_onActionEnd(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PanGestureHandler_onActionCancel(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PanGestureHandler_onActionCancel(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwipeGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SwipeGestureHandler_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _SwipeGestureHandler_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SwipeGestureHandler_getFinalizer() + } + throw new Error("Not implemented") + } + static _SwipeGestureHandler_onAction(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._SwipeGestureHandler_onAction(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PinchGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureHandler_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PinchGestureHandler_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureHandler_getFinalizer() + } + throw new Error("Not implemented") + } + static _PinchGestureHandler_onActionStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureHandler_onActionStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PinchGestureHandler_onActionUpdate(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureHandler_onActionUpdate(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PinchGestureHandler_onActionEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureHandler_onActionEnd(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _PinchGestureHandler_onActionCancel(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._PinchGestureHandler_onActionCancel(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RotationGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RotationGestureHandler_ctor(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RotationGestureHandler_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RotationGestureHandler_getFinalizer() + } + throw new Error("Not implemented") + } + static _RotationGestureHandler_onActionStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RotationGestureHandler_onActionStart(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RotationGestureHandler_onActionUpdate(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RotationGestureHandler_onActionUpdate(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RotationGestureHandler_onActionEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RotationGestureHandler_onActionEnd(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _RotationGestureHandler_onActionCancel(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._RotationGestureHandler_onActionCancel(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } static _ScrollableTargetInfo_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { diff --git a/arkoala/arkui/src/ArkUIGeneratedNativeModuleEmpty.ts b/arkoala/arkui/src/ArkUIGeneratedNativeModuleEmpty.ts index 05b7fd786..9324e4070 100644 --- a/arkoala/arkui/src/ArkUIGeneratedNativeModuleEmpty.ts +++ b/arkoala/arkui/src/ArkUIGeneratedNativeModuleEmpty.ts @@ -4814,6 +4814,20 @@ export class ArkUIGeneratedNativeModuleEmpty { _DrawingCanvas_drawRect(ptr: KPointer, left: number, top: number, right: number, bottom: number): void { console.log("_DrawingCanvas_drawRect") } + _WebviewController_ctor(): KPointer { + console.log("_WebviewController_ctor") + return -1 + } + _WebviewController_getFinalizer(): KPointer { + console.log("_WebviewController_getFinalizer") + return -1 + } + _WebviewController_initializeWebEngine(): void { + console.log("_WebviewController_initializeWebEngine") + } + _WebviewController_loadUrl(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { + console.log("_WebviewController_loadUrl") + } _FrameNode_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { console.log("_FrameNode_ctor") return -1 @@ -4865,6 +4879,14 @@ export class ArkUIGeneratedNativeModuleEmpty { _FrameNode_dispose(ptr: KPointer): void { console.log("_FrameNode_dispose") } + _FrameNode_getOpacity(ptr: KPointer): number { + console.log("_FrameNode_getOpacity") + return 1 + } + _FrameNode_getPositionToWindowWithTransform(ptr: KPointer): KPointer { + console.log("_FrameNode_getPositionToWindowWithTransform") + return -1 + } _PixelMap_ctor(): KPointer { console.log("_PixelMap_ctor") return -1 @@ -6444,6 +6466,138 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_PanGestureOptions_getDirection") return -1 } + _GestureHandler_ctor(): KPointer { + console.log("_GestureHandler_ctor") + return -1 + } + _GestureHandler_getFinalizer(): KPointer { + console.log("_GestureHandler_getFinalizer") + return -1 + } + _GestureHandler_tag(ptr: KPointer, tag: KStringPtr): KPointer { + console.log("_GestureHandler_tag") + return -1 + } + _GestureHandler_allowedTypes(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_GestureHandler_allowedTypes") + return -1 + } + _TapGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_TapGestureHandler_ctor") + return -1 + } + _TapGestureHandler_getFinalizer(): KPointer { + console.log("_TapGestureHandler_getFinalizer") + return -1 + } + _TapGestureHandler_onAction(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_TapGestureHandler_onAction") + return -1 + } + _LongPressGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_LongPressGestureHandler_ctor") + return -1 + } + _LongPressGestureHandler_getFinalizer(): KPointer { + console.log("_LongPressGestureHandler_getFinalizer") + return -1 + } + _LongPressGestureHandler_onAction(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_LongPressGestureHandler_onAction") + return -1 + } + _LongPressGestureHandler_onActionEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_LongPressGestureHandler_onActionEnd") + return -1 + } + _LongPressGestureHandler_onActionCancel(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_LongPressGestureHandler_onActionCancel") + return -1 + } + _PanGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_PanGestureHandler_ctor") + return -1 + } + _PanGestureHandler_getFinalizer(): KPointer { + console.log("_PanGestureHandler_getFinalizer") + return -1 + } + _PanGestureHandler_onActionStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_PanGestureHandler_onActionStart") + return -1 + } + _PanGestureHandler_onActionUpdate(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_PanGestureHandler_onActionUpdate") + return -1 + } + _PanGestureHandler_onActionEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_PanGestureHandler_onActionEnd") + return -1 + } + _PanGestureHandler_onActionCancel(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_PanGestureHandler_onActionCancel") + return -1 + } + _SwipeGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_SwipeGestureHandler_ctor") + return -1 + } + _SwipeGestureHandler_getFinalizer(): KPointer { + console.log("_SwipeGestureHandler_getFinalizer") + return -1 + } + _SwipeGestureHandler_onAction(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_SwipeGestureHandler_onAction") + return -1 + } + _PinchGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_PinchGestureHandler_ctor") + return -1 + } + _PinchGestureHandler_getFinalizer(): KPointer { + console.log("_PinchGestureHandler_getFinalizer") + return -1 + } + _PinchGestureHandler_onActionStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_PinchGestureHandler_onActionStart") + return -1 + } + _PinchGestureHandler_onActionUpdate(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_PinchGestureHandler_onActionUpdate") + return -1 + } + _PinchGestureHandler_onActionEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_PinchGestureHandler_onActionEnd") + return -1 + } + _PinchGestureHandler_onActionCancel(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_PinchGestureHandler_onActionCancel") + return -1 + } + _RotationGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_RotationGestureHandler_ctor") + return -1 + } + _RotationGestureHandler_getFinalizer(): KPointer { + console.log("_RotationGestureHandler_getFinalizer") + return -1 + } + _RotationGestureHandler_onActionStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_RotationGestureHandler_onActionStart") + return -1 + } + _RotationGestureHandler_onActionUpdate(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_RotationGestureHandler_onActionUpdate") + return -1 + } + _RotationGestureHandler_onActionEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_RotationGestureHandler_onActionEnd") + return -1 + } + _RotationGestureHandler_onActionCancel(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_RotationGestureHandler_onActionCancel") + return -1 + } _ScrollableTargetInfo_ctor(): KPointer { console.log("_ScrollableTargetInfo_ctor") return -1 diff --git a/arkoala/arkui/src/ArkUnifiedDataMaterialized.ts b/arkoala/arkui/src/ArkUnifiedDataMaterialized.ts index c4e18dc22..691356ddb 100644 --- a/arkoala/arkui/src/ArkUnifiedDataMaterialized.ts +++ b/arkoala/arkui/src/ArkUnifiedDataMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class UnifiedData implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -84,4 +45,4 @@ export class UnifiedDataInternal { obj.peer = new Finalizable(ptr, UnifiedData.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkVideoControllerMaterialized.ts b/arkoala/arkui/src/ArkVideoControllerMaterialized.ts index e7dbb8df2..2bb8f2edd 100644 --- a/arkoala/arkui/src/ArkVideoControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkVideoControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class VideoController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -134,4 +95,4 @@ export class VideoControllerInternal { obj.peer = new Finalizable(ptr, VideoController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkViewMaterialized.ts b/arkoala/arkui/src/ArkViewMaterialized.ts index 1c0862403..b7dae9a26 100644 --- a/arkoala/arkui/src/ArkViewMaterialized.ts +++ b/arkoala/arkui/src/ArkViewMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class View implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -80,4 +41,4 @@ export class ViewInternal { obj.peer = new Finalizable(ptr, View.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkWaterFlowSectionsMaterialized.ts b/arkoala/arkui/src/ArkWaterFlowSectionsMaterialized.ts index cc1e9ded7..390a3db37 100644 --- a/arkoala/arkui/src/ArkWaterFlowSectionsMaterialized.ts +++ b/arkoala/arkui/src/ArkWaterFlowSectionsMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class WaterFlowSections implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -136,4 +97,4 @@ export class WaterFlowSectionsInternal { obj.peer = new Finalizable(ptr, WaterFlowSections.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkWebContextMenuParamMaterialized.ts b/arkoala/arkui/src/ArkWebContextMenuParamMaterialized.ts index 70963c0e0..2f18fc192 100644 --- a/arkoala/arkui/src/ArkWebContextMenuParamMaterialized.ts +++ b/arkoala/arkui/src/ArkWebContextMenuParamMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class WebContextMenuParam implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -167,4 +128,4 @@ export class WebContextMenuParamInternal { obj.peer = new Finalizable(ptr, WebContextMenuParam.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkWebContextMenuResultMaterialized.ts b/arkoala/arkui/src/ArkWebContextMenuResultMaterialized.ts index c4ba02027..2b68e1e77 100644 --- a/arkoala/arkui/src/ArkWebContextMenuResultMaterialized.ts +++ b/arkoala/arkui/src/ArkWebContextMenuResultMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class WebContextMenuResult implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -111,4 +72,4 @@ export class WebContextMenuResultInternal { obj.peer = new Finalizable(ptr, WebContextMenuResult.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkWebControllerMaterialized.ts b/arkoala/arkui/src/ArkWebControllerMaterialized.ts index 41bd18baf..b9a6c9d8b 100644 --- a/arkoala/arkui/src/ArkWebControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkWebControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class WebController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -284,4 +245,4 @@ export class WebControllerInternal { obj.peer = new Finalizable(ptr, WebController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkWebCookieMaterialized.ts b/arkoala/arkui/src/ArkWebCookieMaterialized.ts index 400ae7a4c..49a03480d 100644 --- a/arkoala/arkui/src/ArkWebCookieMaterialized.ts +++ b/arkoala/arkui/src/ArkWebCookieMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class WebCookie implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -83,4 +44,4 @@ export class WebCookieInternal { obj.peer = new Finalizable(ptr, WebCookie.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkWebKeyboardControllerMaterialized.ts b/arkoala/arkui/src/ArkWebKeyboardControllerMaterialized.ts index c815a30e1..5e47a330c 100644 --- a/arkoala/arkui/src/ArkWebKeyboardControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkWebKeyboardControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class WebKeyboardController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -108,4 +69,4 @@ export class WebKeyboardControllerInternal { obj.peer = new Finalizable(ptr, WebKeyboardController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkWebResourceErrorMaterialized.ts b/arkoala/arkui/src/ArkWebResourceErrorMaterialized.ts index 0f28fb50b..614dc6ea7 100644 --- a/arkoala/arkui/src/ArkWebResourceErrorMaterialized.ts +++ b/arkoala/arkui/src/ArkWebResourceErrorMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class WebResourceError implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -83,4 +44,4 @@ export class WebResourceErrorInternal { obj.peer = new Finalizable(ptr, WebResourceError.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkWebResourceRequestMaterialized.ts b/arkoala/arkui/src/ArkWebResourceRequestMaterialized.ts index 33d240a9e..e1dabc497 100644 --- a/arkoala/arkui/src/ArkWebResourceRequestMaterialized.ts +++ b/arkoala/arkui/src/ArkWebResourceRequestMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class WebResourceRequest implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -111,4 +72,4 @@ export class WebResourceRequestInternal { obj.peer = new Finalizable(ptr, WebResourceRequest.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkWebResourceResponseMaterialized.ts b/arkoala/arkui/src/ArkWebResourceResponseMaterialized.ts index b0f7e1aec..5c3f6030b 100644 --- a/arkoala/arkui/src/ArkWebResourceResponseMaterialized.ts +++ b/arkoala/arkui/src/ArkWebResourceResponseMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class WebResourceResponse implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -212,4 +173,4 @@ export class WebResourceResponseInternal { obj.peer = new Finalizable(ptr, WebResourceResponse.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkXComponentControllerMaterialized.ts b/arkoala/arkui/src/ArkXComponentControllerMaterialized.ts index 385a0f005..c75e6034b 100644 --- a/arkoala/arkui/src/ArkXComponentControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkXComponentControllerMaterialized.ts @@ -1,51 +1,12 @@ -/* - * Copyright (c) 2024-2025 Huawei Device Co., Ltd. - * Licensed under the Apache License, Version 2.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 { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" - -import { Finalizable } from "@koalaui/interop" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" import { unsafeCast } from "./shared/generated-utils" -import { isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback } from "@koalaui/interop" -import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackKind } from "./peers/CallbackKind" - -import { - int32, - float32 -} from "@koalaui/common" -import { - KInt, - KBoolean, - KFloat, - KUInt, - KStringPtr, - KPointer, - KNativePointer, - KInt32ArrayPtr, - KUint8ArrayPtr, - KFloat32ArrayPtr, - pointer -} from "@koalaui/interop" - - +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" export class XComponentController implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { @@ -180,4 +141,4 @@ export class XComponentControllerInternal { obj.peer = new Finalizable(ptr, XComponentController.getFinalizer()) return obj } -} +} \ No newline at end of file diff --git a/arkoala/arkui/src/peers/Deserializer.ts b/arkoala/arkui/src/peers/Deserializer.ts index 7982de3b8..869df719d 100644 --- a/arkoala/arkui/src/peers/Deserializer.ts +++ b/arkoala/arkui/src/peers/Deserializer.ts @@ -31,6 +31,7 @@ import { AnimationExtenderInternal } from "./../ArkAnimationExtenderMaterialized import { UnifiedDataInternal } from "./../ArkUnifiedDataMaterialized" import { LazyForEachOpsInternal } from "./../ArkLazyForEachOpsMaterialized" import { DrawingCanvasInternal } from "./../ArkDrawingCanvasMaterialized" +import { WebviewControllerInternal } from "./../ArkWebviewControllerMaterialized" import { FrameNodeInternal } from "./../ArkFrameNodeMaterialized" import { PixelMapInternal } from "./../ArkPixelMapMaterialized" import { NavExtenderInternal } from "./../ArkNavExtenderMaterialized" @@ -79,6 +80,13 @@ import { RotationGestureEventInternal } from "./../ArkRotationGestureEventMateri import { SwipeGestureEventInternal } from "./../ArkSwipeGestureEventMaterialized" import { GestureEventInternal } from "./../ArkGestureEventMaterialized" import { PanGestureOptionsInternal } from "./../ArkPanGestureOptionsMaterialized" +import { GestureHandlerInternal } from "./../ArkGestureHandlerMaterialized" +import { TapGestureHandlerInternal } from "./../ArkTapGestureHandlerMaterialized" +import { LongPressGestureHandlerInternal } from "./../ArkLongPressGestureHandlerMaterialized" +import { PanGestureHandlerInternal } from "./../ArkPanGestureHandlerMaterialized" +import { SwipeGestureHandlerInternal } from "./../ArkSwipeGestureHandlerMaterialized" +import { PinchGestureHandlerInternal } from "./../ArkPinchGestureHandlerMaterialized" +import { RotationGestureHandlerInternal } from "./../ArkRotationGestureHandlerMaterialized" import { ScrollableTargetInfoInternal } from "./../ArkScrollableTargetInfoMaterialized" import { EventTargetInfoInternal } from "./../ArkEventTargetInfoMaterialized" import { GestureRecognizerInternal } from "./../ArkGestureRecognizerMaterialized" @@ -1522,9 +1530,8 @@ return (_continuationValue as number); } } readWebviewController(): WebviewController { let valueDeserializer: Deserializer = this - const __WebviewControllerStub_result: string = (valueDeserializer.readString() as string) - let value: WebviewController = ({__WebviewControllerStub: __WebviewControllerStub_result} as WebviewController) - return value + let ptr: KPointer = valueDeserializer.readPointer() + return WebviewControllerInternal.fromPtr(ptr) } readWebController(): WebController { let valueDeserializer: Deserializer = this @@ -14606,7 +14613,7 @@ return; } controller_buf = (valueDeserializer.readWebController() as WebController) } else if (controller_buf_selector == 1) { - controller_buf = valueDeserializer.readWebviewController() + controller_buf = (valueDeserializer.readWebviewController() as WebviewController) } else { throw new Error("One of the branches for controller_buf has to be chosen through deserialisation.") @@ -14654,7 +14661,7 @@ return; } controller_buf = (valueDeserializer.readWebController() as WebController) } else if (controller_buf_selector == 1) { - controller_buf = valueDeserializer.readWebviewController() + controller_buf = (valueDeserializer.readWebviewController() as WebviewController) } else { throw new Error("One of the branches for controller_buf has to be chosen through deserialisation.") @@ -16832,11 +16839,6 @@ return; } let value: StyledStringChangeValue = ({range: range_result,replacementString: replacementString_result,previewText: previewText_result} as StyledStringChangeValue) return value } - readGestureEvent(): GestureEvent { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return GestureEventInternal.fromPtr(ptr) - } readLocalizedBarrierStyle(): LocalizedBarrierStyle { let valueDeserializer: Deserializer = this const id_result: string = (valueDeserializer.readString() as string) @@ -18548,6 +18550,146 @@ return (_continuationValue as ComputedBarAttribute); } let value: GridLayoutOptions = ({regularSize: regularSize_result,irregularIndexes: irregularIndexes_result,onGetIrregularSizeByIndex: onGetIrregularSizeByIndex_result,onGetRectByIndex: onGetRectByIndex_result} as GridLayoutOptions) return value } + readRotationGestureHandlerOptions(): RotationGestureHandlerOptions { + let valueDeserializer: Deserializer = this + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result: number | undefined|undefined = fingers_buf + const angle_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let angle_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (angle_buf_runtimeType)) + { + angle_buf = (valueDeserializer.readNumber() as number) + } + const angle_result: number | undefined|undefined = angle_buf + let value: RotationGestureHandlerOptions = ({fingers: fingers_result,angle: angle_result} as RotationGestureHandlerOptions) + return value + } + readPinchGestureHandlerOptions(): PinchGestureHandlerOptions { + let valueDeserializer: Deserializer = this + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result: number | undefined|undefined = fingers_buf + const distance_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let distance_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (distance_buf_runtimeType)) + { + distance_buf = (valueDeserializer.readNumber() as number) + } + const distance_result: number | undefined|undefined = distance_buf + let value: PinchGestureHandlerOptions = ({fingers: fingers_result,distance: distance_result} as PinchGestureHandlerOptions) + return value + } + readSwipeGestureHandlerOptions(): SwipeGestureHandlerOptions { + let valueDeserializer: Deserializer = this + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result: number | undefined|undefined = fingers_buf + const direction_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let direction_buf: SwipeDirection | undefined|undefined + if ((RuntimeType.UNDEFINED) != (direction_buf_runtimeType)) + { + direction_buf = (valueDeserializer.readInt32() as SwipeDirection) + } + const direction_result: SwipeDirection | undefined|undefined = direction_buf + const speed_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let speed_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (speed_buf_runtimeType)) + { + speed_buf = (valueDeserializer.readNumber() as number) + } + const speed_result: number | undefined|undefined = speed_buf + let value: SwipeGestureHandlerOptions = ({fingers: fingers_result,direction: direction_result,speed: speed_result} as SwipeGestureHandlerOptions) + return value + } + readPanGestureHandlerOptions(): PanGestureHandlerOptions { + let valueDeserializer: Deserializer = this + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result: number | undefined|undefined = fingers_buf + const direction_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let direction_buf: PanDirection | undefined|undefined + if ((RuntimeType.UNDEFINED) != (direction_buf_runtimeType)) + { + direction_buf = (valueDeserializer.readInt32() as PanDirection) + } + const direction_result: PanDirection | undefined|undefined = direction_buf + const distance_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let distance_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (distance_buf_runtimeType)) + { + distance_buf = (valueDeserializer.readNumber() as number) + } + const distance_result: number | undefined|undefined = distance_buf + let value: PanGestureHandlerOptions = ({fingers: fingers_result,direction: direction_result,distance: distance_result} as PanGestureHandlerOptions) + return value + } + readLongPressGestureHandlerOptions(): LongPressGestureHandlerOptions { + let valueDeserializer: Deserializer = this + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result: number | undefined|undefined = fingers_buf + const repeat_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let repeat_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (repeat_buf_runtimeType)) + { + repeat_buf = valueDeserializer.readBoolean() + } + const repeat_result: boolean | undefined|undefined = repeat_buf + const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let duration_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (duration_buf_runtimeType)) + { + duration_buf = (valueDeserializer.readNumber() as number) + } + const duration_result: number | undefined|undefined = duration_buf + let value: LongPressGestureHandlerOptions = ({fingers: fingers_result,repeat: repeat_result,duration: duration_result} as LongPressGestureHandlerOptions) + return value + } + readTapGestureHandlerOptions(): TapGestureHandlerOptions { + let valueDeserializer: Deserializer = this + const count_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let count_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (count_buf_runtimeType)) + { + count_buf = (valueDeserializer.readNumber() as number) + } + const count_result: number | undefined|undefined = count_buf + const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let fingers_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf = (valueDeserializer.readNumber() as number) + } + const fingers_result: number | undefined|undefined = fingers_buf + let value: TapGestureHandlerOptions = ({count: count_result,fingers: fingers_result} as TapGestureHandlerOptions) + return value + } + readGestureEvent(): GestureEvent { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return GestureEventInternal.fromPtr(ptr) + } readGaugeIndicatorOptions(): GaugeIndicatorOptions { let valueDeserializer: Deserializer = this const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -22590,6 +22732,13 @@ return; } let value: SheetInfo = ({title: title_result,icon: icon_result,action: action_result} as SheetInfo) return value } + readWebHeader(): WebHeader { + let valueDeserializer: Deserializer = this + const headerKey_result: string = (valueDeserializer.readString() as string) + const headerValue_result: string = (valueDeserializer.readString() as string) + let value: WebHeader = ({headerKey: headerKey_result,headerValue: headerValue_result} as WebHeader) + return value + } readLength(): Length | undefined { const valueType = this.readInt8() if ((RuntimeType.NUMBER) == (valueType)) { diff --git a/arkoala/arkui/src/peers/Serializer.ts b/arkoala/arkui/src/peers/Serializer.ts index 466636e18..999b255d2 100644 --- a/arkoala/arkui/src/peers/Serializer.ts +++ b/arkoala/arkui/src/peers/Serializer.ts @@ -28,6 +28,7 @@ import { AnimationExtenderInternal } from "./../ArkAnimationExtenderMaterialized import { UnifiedDataInternal } from "./../ArkUnifiedDataMaterialized" import { LazyForEachOpsInternal } from "./../ArkLazyForEachOpsMaterialized" import { DrawingCanvasInternal } from "./../ArkDrawingCanvasMaterialized" +import { WebviewControllerInternal } from "./../ArkWebviewControllerMaterialized" import { FrameNodeInternal } from "./../ArkFrameNodeMaterialized" import { PixelMapInternal } from "./../ArkPixelMapMaterialized" import { NavExtenderInternal } from "./../ArkNavExtenderMaterialized" @@ -76,6 +77,13 @@ import { RotationGestureEventInternal } from "./../ArkRotationGestureEventMateri import { SwipeGestureEventInternal } from "./../ArkSwipeGestureEventMaterialized" import { GestureEventInternal } from "./../ArkGestureEventMaterialized" import { PanGestureOptionsInternal } from "./../ArkPanGestureOptionsMaterialized" +import { GestureHandlerInternal } from "./../ArkGestureHandlerMaterialized" +import { TapGestureHandlerInternal } from "./../ArkTapGestureHandlerMaterialized" +import { LongPressGestureHandlerInternal } from "./../ArkLongPressGestureHandlerMaterialized" +import { PanGestureHandlerInternal } from "./../ArkPanGestureHandlerMaterialized" +import { SwipeGestureHandlerInternal } from "./../ArkSwipeGestureHandlerMaterialized" +import { PinchGestureHandlerInternal } from "./../ArkPinchGestureHandlerMaterialized" +import { RotationGestureHandlerInternal } from "./../ArkRotationGestureHandlerMaterialized" import { ScrollableTargetInfoInternal } from "./../ArkScrollableTargetInfoMaterialized" import { EventTargetInfoInternal } from "./../ArkEventTargetInfoMaterialized" import { GestureRecognizerInternal } from "./../ArkGestureRecognizerMaterialized" @@ -1584,8 +1592,20 @@ export class Serializer extends SerializerBase { } writeWebviewController(value: WebviewController): void { let valueSerializer: Serializer = this - const value___WebviewControllerStub = value.__WebviewControllerStub - valueSerializer.writeString(value___WebviewControllerStub) + 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!") + } } writeWebController(value: WebController): void { let valueSerializer: Serializer = this @@ -14777,7 +14797,7 @@ export class Serializer extends SerializerBase { const value_controller_0 = unsafeCast(value_controller) valueSerializer.writeWebController(value_controller_0) } - else if (((RuntimeType.OBJECT) == (value_controller_type)) && (((value_controller!.hasOwnProperty("__WebviewControllerStub"))))) { + else if (((RuntimeType.OBJECT) == (value_controller_type)) && (value_controller instanceof WebviewController)) { valueSerializer.writeInt8(1) const value_controller_1 = unsafeCast(value_controller) valueSerializer.writeWebviewController(value_controller_1) @@ -14826,7 +14846,7 @@ export class Serializer extends SerializerBase { const value_controller_0 = unsafeCast(value_controller) valueSerializer.writeWebController(value_controller_0) } - else if (((RuntimeType.OBJECT) == (value_controller_type)) && (((value_controller!.hasOwnProperty("__WebviewControllerStub"))))) { + else if (((RuntimeType.OBJECT) == (value_controller_type)) && (value_controller instanceof WebviewController)) { valueSerializer.writeInt8(1) const value_controller_1 = unsafeCast(value_controller) valueSerializer.writeWebviewController(value_controller_1) @@ -16455,23 +16475,6 @@ export class Serializer extends SerializerBase { valueSerializer.writeStyledString(value_previewText_value) } } - writeGestureEvent(value: GestureEvent): void { - let valueSerializer: Serializer = this - 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 const value_id = value.id @@ -17926,6 +17929,161 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(value_onGetRectByIndex_value) } } + writeRotationGestureHandlerOptions(value: RotationGestureHandlerOptions): void { + let valueSerializer: Serializer = this + const value_fingers = value.fingers + let value_fingers_type: int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + const value_angle = value.angle + let value_angle_type: int32 = RuntimeType.UNDEFINED + value_angle_type = runtimeType(value_angle) + valueSerializer.writeInt8(value_angle_type) + if ((RuntimeType.UNDEFINED) != (value_angle_type)) { + const value_angle_value = value_angle! + valueSerializer.writeNumber(value_angle_value) + } + } + writePinchGestureHandlerOptions(value: PinchGestureHandlerOptions): void { + let valueSerializer: Serializer = this + const value_fingers = value.fingers + let value_fingers_type: int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + const value_distance = value.distance + let value_distance_type: int32 = RuntimeType.UNDEFINED + value_distance_type = runtimeType(value_distance) + valueSerializer.writeInt8(value_distance_type) + if ((RuntimeType.UNDEFINED) != (value_distance_type)) { + const value_distance_value = value_distance! + valueSerializer.writeNumber(value_distance_value) + } + } + writeSwipeGestureHandlerOptions(value: SwipeGestureHandlerOptions): void { + let valueSerializer: Serializer = this + const value_fingers = value.fingers + let value_fingers_type: int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + const value_direction = value.direction + let value_direction_type: int32 = RuntimeType.UNDEFINED + value_direction_type = runtimeType(value_direction) + valueSerializer.writeInt8(value_direction_type) + if ((RuntimeType.UNDEFINED) != (value_direction_type)) { + const value_direction_value = value_direction! + valueSerializer.writeInt32(value_direction_value) + } + const value_speed = value.speed + let value_speed_type: int32 = RuntimeType.UNDEFINED + value_speed_type = runtimeType(value_speed) + valueSerializer.writeInt8(value_speed_type) + if ((RuntimeType.UNDEFINED) != (value_speed_type)) { + const value_speed_value = value_speed! + valueSerializer.writeNumber(value_speed_value) + } + } + writePanGestureHandlerOptions(value: PanGestureHandlerOptions): void { + let valueSerializer: Serializer = this + const value_fingers = value.fingers + let value_fingers_type: int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + const value_direction = value.direction + let value_direction_type: int32 = RuntimeType.UNDEFINED + value_direction_type = runtimeType(value_direction) + valueSerializer.writeInt8(value_direction_type) + if ((RuntimeType.UNDEFINED) != (value_direction_type)) { + const value_direction_value = value_direction! + valueSerializer.writeInt32(value_direction_value) + } + const value_distance = value.distance + let value_distance_type: int32 = RuntimeType.UNDEFINED + value_distance_type = runtimeType(value_distance) + valueSerializer.writeInt8(value_distance_type) + if ((RuntimeType.UNDEFINED) != (value_distance_type)) { + const value_distance_value = value_distance! + valueSerializer.writeNumber(value_distance_value) + } + } + writeLongPressGestureHandlerOptions(value: LongPressGestureHandlerOptions): void { + let valueSerializer: Serializer = this + const value_fingers = value.fingers + let value_fingers_type: int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + const value_repeat = value.repeat + let value_repeat_type: int32 = RuntimeType.UNDEFINED + value_repeat_type = runtimeType(value_repeat) + valueSerializer.writeInt8(value_repeat_type) + if ((RuntimeType.UNDEFINED) != (value_repeat_type)) { + const value_repeat_value = value_repeat! + valueSerializer.writeBoolean(value_repeat_value) + } + const value_duration = value.duration + let value_duration_type: int32 = RuntimeType.UNDEFINED + value_duration_type = runtimeType(value_duration) + valueSerializer.writeInt8(value_duration_type) + if ((RuntimeType.UNDEFINED) != (value_duration_type)) { + const value_duration_value = value_duration! + valueSerializer.writeNumber(value_duration_value) + } + } + writeTapGestureHandlerOptions(value: TapGestureHandlerOptions): void { + let valueSerializer: Serializer = this + const value_count = value.count + let value_count_type: int32 = RuntimeType.UNDEFINED + value_count_type = runtimeType(value_count) + valueSerializer.writeInt8(value_count_type) + if ((RuntimeType.UNDEFINED) != (value_count_type)) { + const value_count_value = value_count! + valueSerializer.writeNumber(value_count_value) + } + const value_fingers = value.fingers + let value_fingers_type: int32 = RuntimeType.UNDEFINED + value_fingers_type = runtimeType(value_fingers) + valueSerializer.writeInt8(value_fingers_type) + if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { + const value_fingers_value = value_fingers! + valueSerializer.writeNumber(value_fingers_value) + } + } + writeGestureEvent(value: GestureEvent): void { + let valueSerializer: Serializer = this + 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!") + } + } writeGaugeIndicatorOptions(value: GaugeIndicatorOptions): void { let valueSerializer: Serializer = this const value_icon = value.icon @@ -22076,6 +22234,13 @@ export class Serializer extends SerializerBase { const value_action = value.action valueSerializer.holdAndWriteCallback(value_action) } + writeWebHeader(value: WebHeader): void { + let valueSerializer: Serializer = this + const value_headerKey = value.headerKey + valueSerializer.writeString(value_headerKey) + const value_headerValue = value.headerValue + valueSerializer.writeString(value_headerValue) + } writeLength(value: Length): void { const valueType = runtimeType(value) this.writeInt8(valueType) diff --git a/arkoala/framework/native/src/generated/Serializers.h b/arkoala/framework/native/src/generated/Serializers.h index 30855bee1..d37ebe02a 100644 --- a/arkoala/framework/native/src/generated/Serializers.h +++ b/arkoala/framework/native/src/generated/Serializers.h @@ -5315,19 +5315,6 @@ inline Ark_RuntimeType runtimeType(const Opt_WebResourceRequest& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_WebviewController& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_WebviewController* value) { - result->append("{"); - // Ark_String __WebviewControllerStub - result->append(".__WebviewControllerStub="); - WriteToString(result, &value->__WebviewControllerStub); - result->append("}"); -} -template <> inline void WriteToString(std::string* result, const Opt_WebviewController* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); @@ -16904,45 +16891,6 @@ inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Array_FingerInfo& value) -{ - return INTEROP_RUNTIME_OBJECT; -} - -template <> -inline void WriteToString(std::string* result, const Ark_FingerInfo* value); - -inline void WriteToString(std::string* result, const Array_FingerInfo* 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_FingerInfo*)&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_FingerInfo* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != 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_FingerInfo& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextSpanOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -19176,6 +19124,35 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_Tuple_Number_Number 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_PanDirection& value) { return INTEROP_RUNTIME_NUMBER; @@ -19205,6 +19182,45 @@ inline Ark_RuntimeType runtimeType(const Opt_PanDirection& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Array_FingerInfo& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +inline void WriteToString(std::string* result, const Ark_FingerInfo* value); + +inline void WriteToString(std::string* result, const Array_FingerInfo* 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_FingerInfo*)&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_FingerInfo* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != 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_FingerInfo& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceColor_LinearGradient_common& value) { switch (value.selector) { @@ -36411,24 +36427,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_PixelMap_ResourceStr& value) 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 != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_GestureEvent& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_LocalizedBarrierStyle& value) { return INTEROP_RUNTIME_OBJECT; @@ -41107,6 +41105,285 @@ 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_RotationGestureHandlerOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_RotationGestureHandlerOptions* value) { + result->append("{"); + // Ark_Number fingers + result->append(".fingers="); + WriteToString(result, &value->fingers); + // Ark_Number angle + result->append(", "); + result->append(".angle="); + WriteToString(result, &value->angle); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_RotationGestureHandlerOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_RotationGestureHandlerOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_PinchGestureHandlerOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PinchGestureHandlerOptions* value) { + result->append("{"); + // Ark_Number fingers + result->append(".fingers="); + WriteToString(result, &value->fingers); + // Ark_Number distance + result->append(", "); + result->append(".distance="); + WriteToString(result, &value->distance); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PinchGestureHandlerOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PinchGestureHandlerOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SwipeGestureHandlerOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_SwipeGestureHandlerOptions* value) { + result->append("{"); + // Ark_Number fingers + result->append(".fingers="); + WriteToString(result, &value->fingers); + // Ark_SwipeDirection direction + result->append(", "); + result->append(".direction="); + WriteToString(result, &value->direction); + // Ark_Number speed + result->append(", "); + result->append(".speed="); + WriteToString(result, &value->speed); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SwipeGestureHandlerOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SwipeGestureHandlerOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_PanGestureHandlerOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_PanGestureHandlerOptions* value) { + result->append("{"); + // Ark_Number fingers + result->append(".fingers="); + WriteToString(result, &value->fingers); + // Ark_PanDirection direction + result->append(", "); + result->append(".direction="); + WriteToString(result, &value->direction); + // Ark_Number distance + result->append(", "); + result->append(".distance="); + WriteToString(result, &value->distance); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PanGestureHandlerOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PanGestureHandlerOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_LongPressGestureHandlerOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_LongPressGestureHandlerOptions* value) { + result->append("{"); + // Ark_Number fingers + result->append(".fingers="); + WriteToString(result, &value->fingers); + // Ark_Boolean repeat + result->append(", "); + result->append(".repeat="); + WriteToString(result, &value->repeat); + // Ark_Number duration + result->append(", "); + result->append(".duration="); + WriteToString(result, &value->duration); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_LongPressGestureHandlerOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_LongPressGestureHandlerOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_TapGestureHandlerOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_TapGestureHandlerOptions* value) { + result->append("{"); + // Ark_Number count + result->append(".count="); + WriteToString(result, &value->count); + // Ark_Number fingers + result->append(", "); + result->append(".fingers="); + WriteToString(result, &value->fingers); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_TapGestureHandlerOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_TapGestureHandlerOptions& value) +{ + 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 != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_GestureEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Array_SourceTool& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +inline void WriteToString(std::string* result, const Ark_SourceTool value); + +inline void WriteToString(std::string* result, const Array_SourceTool* value) { + int32_t count = value->length; + result->append("{.array=allocArray({{"); + for (int i = 0; i < count; i++) { + if (i > 0) result->append(", "); + WriteToString(result, value->array[i]); + } + result->append("}})"); + result->append(", .length="); + result->append(std::to_string(value->length)); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_Array_SourceTool* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != 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_SourceTool& 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 INTEROP_RUNTIME_OBJECT; @@ -41175,35 +41452,6 @@ 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 INTEROP_RUNTIME_OBJECT; @@ -48553,6 +48801,80 @@ inline Ark_RuntimeType runtimeType(const Opt_Literal_Want_want& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_WebHeader& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_WebHeader* 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_WebHeader* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_WebHeader& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Array_WebHeader& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +inline void WriteToString(std::string* result, const Ark_WebHeader* value); + +inline void WriteToString(std::string* result, const Array_WebHeader* 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_WebHeader*)&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_WebHeader* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != 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_WebHeader& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_Float32& value) { return INTEROP_RUNTIME_OBJECT; @@ -49952,8 +50274,7 @@ class Serializer : public SerializerBase { void writeWebviewController(Ark_WebviewController value) { Serializer& valueSerializer = *this; - const auto value___WebviewControllerStub = value.__WebviewControllerStub; - valueSerializer.writeString(value___WebviewControllerStub); + valueSerializer.writePointer(value.ptr); } void writeWebController(Ark_WebController value) { @@ -64666,11 +64987,6 @@ class Serializer : public SerializerBase { valueSerializer.writeStyledString(value_previewText_value); } } - void writeGestureEvent(Ark_GestureEvent value) - { - Serializer& valueSerializer = *this; - valueSerializer.writePointer(value.ptr); - } void writeLocalizedBarrierStyle(Ark_LocalizedBarrierStyle value) { Serializer& valueSerializer = *this; @@ -66170,6 +66486,155 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_onGetRectByIndex_value.callSync)); } } + void writeRotationGestureHandlerOptions(Ark_RotationGestureHandlerOptions value) + { + Serializer& valueSerializer = *this; + const auto value_fingers = value.fingers; + Ark_Int32 value_fingers_type = INTEROP_RUNTIME_UNDEFINED; + value_fingers_type = runtimeType(value_fingers); + valueSerializer.writeInt8(value_fingers_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fingers_type)) { + const auto value_fingers_value = value_fingers.value; + valueSerializer.writeNumber(value_fingers_value); + } + const auto value_angle = value.angle; + Ark_Int32 value_angle_type = INTEROP_RUNTIME_UNDEFINED; + value_angle_type = runtimeType(value_angle); + valueSerializer.writeInt8(value_angle_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_angle_type)) { + const auto value_angle_value = value_angle.value; + valueSerializer.writeNumber(value_angle_value); + } + } + void writePinchGestureHandlerOptions(Ark_PinchGestureHandlerOptions value) + { + Serializer& valueSerializer = *this; + const auto value_fingers = value.fingers; + Ark_Int32 value_fingers_type = INTEROP_RUNTIME_UNDEFINED; + value_fingers_type = runtimeType(value_fingers); + valueSerializer.writeInt8(value_fingers_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fingers_type)) { + const auto value_fingers_value = value_fingers.value; + valueSerializer.writeNumber(value_fingers_value); + } + const auto value_distance = value.distance; + Ark_Int32 value_distance_type = INTEROP_RUNTIME_UNDEFINED; + value_distance_type = runtimeType(value_distance); + valueSerializer.writeInt8(value_distance_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_distance_type)) { + const auto value_distance_value = value_distance.value; + valueSerializer.writeNumber(value_distance_value); + } + } + void writeSwipeGestureHandlerOptions(Ark_SwipeGestureHandlerOptions value) + { + Serializer& valueSerializer = *this; + const auto value_fingers = value.fingers; + Ark_Int32 value_fingers_type = INTEROP_RUNTIME_UNDEFINED; + value_fingers_type = runtimeType(value_fingers); + valueSerializer.writeInt8(value_fingers_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fingers_type)) { + const auto value_fingers_value = value_fingers.value; + valueSerializer.writeNumber(value_fingers_value); + } + const auto value_direction = value.direction; + Ark_Int32 value_direction_type = INTEROP_RUNTIME_UNDEFINED; + value_direction_type = runtimeType(value_direction); + valueSerializer.writeInt8(value_direction_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_direction_type)) { + const auto value_direction_value = value_direction.value; + valueSerializer.writeInt32(static_cast(value_direction_value)); + } + const auto value_speed = value.speed; + Ark_Int32 value_speed_type = INTEROP_RUNTIME_UNDEFINED; + value_speed_type = runtimeType(value_speed); + valueSerializer.writeInt8(value_speed_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_speed_type)) { + const auto value_speed_value = value_speed.value; + valueSerializer.writeNumber(value_speed_value); + } + } + void writePanGestureHandlerOptions(Ark_PanGestureHandlerOptions value) + { + Serializer& valueSerializer = *this; + const auto value_fingers = value.fingers; + Ark_Int32 value_fingers_type = INTEROP_RUNTIME_UNDEFINED; + value_fingers_type = runtimeType(value_fingers); + valueSerializer.writeInt8(value_fingers_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fingers_type)) { + const auto value_fingers_value = value_fingers.value; + valueSerializer.writeNumber(value_fingers_value); + } + const auto value_direction = value.direction; + Ark_Int32 value_direction_type = INTEROP_RUNTIME_UNDEFINED; + value_direction_type = runtimeType(value_direction); + valueSerializer.writeInt8(value_direction_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_direction_type)) { + const auto value_direction_value = value_direction.value; + valueSerializer.writeInt32(static_cast(value_direction_value)); + } + const auto value_distance = value.distance; + Ark_Int32 value_distance_type = INTEROP_RUNTIME_UNDEFINED; + value_distance_type = runtimeType(value_distance); + valueSerializer.writeInt8(value_distance_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_distance_type)) { + const auto value_distance_value = value_distance.value; + valueSerializer.writeNumber(value_distance_value); + } + } + void writeLongPressGestureHandlerOptions(Ark_LongPressGestureHandlerOptions value) + { + Serializer& valueSerializer = *this; + const auto value_fingers = value.fingers; + Ark_Int32 value_fingers_type = INTEROP_RUNTIME_UNDEFINED; + value_fingers_type = runtimeType(value_fingers); + valueSerializer.writeInt8(value_fingers_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fingers_type)) { + const auto value_fingers_value = value_fingers.value; + valueSerializer.writeNumber(value_fingers_value); + } + const auto value_repeat = value.repeat; + Ark_Int32 value_repeat_type = INTEROP_RUNTIME_UNDEFINED; + value_repeat_type = runtimeType(value_repeat); + valueSerializer.writeInt8(value_repeat_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_repeat_type)) { + const auto value_repeat_value = value_repeat.value; + valueSerializer.writeBoolean(value_repeat_value); + } + const auto value_duration = value.duration; + Ark_Int32 value_duration_type = INTEROP_RUNTIME_UNDEFINED; + value_duration_type = runtimeType(value_duration); + valueSerializer.writeInt8(value_duration_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_duration_type)) { + const auto value_duration_value = value_duration.value; + valueSerializer.writeNumber(value_duration_value); + } + } + void writeTapGestureHandlerOptions(Ark_TapGestureHandlerOptions value) + { + Serializer& valueSerializer = *this; + const auto value_count = value.count; + Ark_Int32 value_count_type = INTEROP_RUNTIME_UNDEFINED; + value_count_type = runtimeType(value_count); + valueSerializer.writeInt8(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_fingers = value.fingers; + Ark_Int32 value_fingers_type = INTEROP_RUNTIME_UNDEFINED; + value_fingers_type = runtimeType(value_fingers); + valueSerializer.writeInt8(value_fingers_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_fingers_type)) { + const auto value_fingers_value = value_fingers.value; + valueSerializer.writeNumber(value_fingers_value); + } + } + void writeGestureEvent(Ark_GestureEvent value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value.ptr); + } void writeGaugeIndicatorOptions(Ark_GaugeIndicatorOptions value) { Serializer& valueSerializer = *this; @@ -70322,6 +70787,14 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_action.call)); valueSerializer.writePointer(reinterpret_cast(value_action.callSync)); } + void writeWebHeader(Ark_WebHeader value) + { + Serializer& valueSerializer = *this; + const auto value_headerKey = value.headerKey; + valueSerializer.writeString(value_headerKey); + const auto value_headerValue = value.headerValue; + valueSerializer.writeString(value_headerValue); + } }; // Deserializers @@ -71800,10 +72273,9 @@ class Deserializer : public DeserializerBase { } Ark_WebviewController readWebviewController() { - Ark_WebviewController value = {}; Deserializer& valueDeserializer = *this; - value.__WebviewControllerStub = static_cast(valueDeserializer.readString()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return { ptr }; } Ark_WebController readWebController() { @@ -85563,7 +86035,7 @@ class Deserializer : public DeserializerBase { } else if (controller_buf_selector == 1) { controller_buf.selector = 1; - controller_buf.value1 = valueDeserializer.readWebviewController(); + controller_buf.value1 = static_cast(valueDeserializer.readWebviewController()); } else { throw "One of the branches for controller_buf has to be chosen through deserialisation."; @@ -85622,7 +86094,7 @@ class Deserializer : public DeserializerBase { } else if (controller_buf_selector == 1) { controller_buf.selector = 1; - controller_buf.value1 = valueDeserializer.readWebviewController(); + controller_buf.value1 = static_cast(valueDeserializer.readWebviewController()); } else { throw "One of the branches for controller_buf has to be chosen through deserialisation."; @@ -87444,12 +87916,6 @@ class Deserializer : public DeserializerBase { value.previewText = previewText_buf; return value; } - Ark_GestureEvent readGestureEvent() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return { ptr }; - } Ark_LocalizedBarrierStyle readLocalizedBarrierStyle() { Ark_LocalizedBarrierStyle value = {}; @@ -89080,6 +89546,168 @@ class Deserializer : public DeserializerBase { value.onGetRectByIndex = onGetRectByIndex_buf; return value; } + Ark_RotationGestureHandlerOptions readRotationGestureHandlerOptions() + { + Ark_RotationGestureHandlerOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto fingers_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number fingers_buf = {}; + fingers_buf.tag = fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.fingers = fingers_buf; + const auto angle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number angle_buf = {}; + angle_buf.tag = angle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (angle_buf_runtimeType)) + { + angle_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.angle = angle_buf; + return value; + } + Ark_PinchGestureHandlerOptions readPinchGestureHandlerOptions() + { + Ark_PinchGestureHandlerOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto fingers_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number fingers_buf = {}; + fingers_buf.tag = fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.fingers = fingers_buf; + const auto distance_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number distance_buf = {}; + distance_buf.tag = distance_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (distance_buf_runtimeType)) + { + distance_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.distance = distance_buf; + return value; + } + Ark_SwipeGestureHandlerOptions readSwipeGestureHandlerOptions() + { + Ark_SwipeGestureHandlerOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto fingers_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number fingers_buf = {}; + fingers_buf.tag = fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.fingers = fingers_buf; + const auto direction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_SwipeDirection direction_buf = {}; + direction_buf.tag = direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) + { + direction_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.direction = direction_buf; + const auto speed_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number speed_buf = {}; + speed_buf.tag = speed_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (speed_buf_runtimeType)) + { + speed_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.speed = speed_buf; + return value; + } + Ark_PanGestureHandlerOptions readPanGestureHandlerOptions() + { + Ark_PanGestureHandlerOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto fingers_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number fingers_buf = {}; + fingers_buf.tag = fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.fingers = fingers_buf; + const auto direction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_PanDirection direction_buf = {}; + direction_buf.tag = direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) + { + direction_buf.value = static_cast(valueDeserializer.readInt32()); + } + value.direction = direction_buf; + const auto distance_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number distance_buf = {}; + distance_buf.tag = distance_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (distance_buf_runtimeType)) + { + distance_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.distance = distance_buf; + return value; + } + Ark_LongPressGestureHandlerOptions readLongPressGestureHandlerOptions() + { + Ark_LongPressGestureHandlerOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto fingers_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number fingers_buf = {}; + fingers_buf.tag = fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.fingers = fingers_buf; + const auto repeat_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean repeat_buf = {}; + repeat_buf.tag = repeat_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (repeat_buf_runtimeType)) + { + repeat_buf.value = valueDeserializer.readBoolean(); + } + value.repeat = repeat_buf; + const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number duration_buf = {}; + duration_buf.tag = duration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) + { + duration_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.duration = duration_buf; + return value; + } + Ark_TapGestureHandlerOptions readTapGestureHandlerOptions() + { + Ark_TapGestureHandlerOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto count_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number count_buf = {}; + count_buf.tag = count_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (count_buf_runtimeType)) + { + count_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.count = count_buf; + const auto fingers_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number fingers_buf = {}; + fingers_buf.tag = fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (fingers_buf_runtimeType)) + { + fingers_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.fingers = fingers_buf; + return value; + } + Ark_GestureEvent readGestureEvent() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return { ptr }; + } Ark_GaugeIndicatorOptions readGaugeIndicatorOptions() { Ark_GaugeIndicatorOptions value = {}; @@ -93472,5 +94100,13 @@ 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))))}; return value; } + Ark_WebHeader readWebHeader() + { + Ark_WebHeader value = {}; + Deserializer& valueDeserializer = *this; + value.headerKey = static_cast(valueDeserializer.readString()); + value.headerValue = static_cast(valueDeserializer.readString()); + return value; + } }; diff --git a/arkoala/framework/native/src/generated/arkoala_api_generated.h b/arkoala/framework/native/src/generated/arkoala_api_generated.h index e947cce03..119f457f2 100644 --- a/arkoala/framework/native/src/generated/arkoala_api_generated.h +++ b/arkoala/framework/native/src/generated/arkoala_api_generated.h @@ -447,7 +447,7 @@ typedef struct Map_String_String Map_String_String; typedef struct Opt_Map_String_String Opt_Map_String_String; typedef Ark_Materialized Ark_WebResourceRequest; typedef struct Opt_WebResourceRequest Opt_WebResourceRequest; -typedef struct Ark_WebviewController Ark_WebviewController; +typedef Ark_Materialized Ark_WebviewController; typedef struct Opt_WebviewController Opt_WebviewController; typedef Ark_Materialized Ark_WebController; typedef struct Opt_WebController Opt_WebController; @@ -949,8 +949,6 @@ typedef struct Ark_RichEditorBuilderSpanOptions Ark_RichEditorBuilderSpanOptions typedef struct Opt_RichEditorBuilderSpanOptions Opt_RichEditorBuilderSpanOptions; typedef struct Ark_RichEditorImageSpanOptions Ark_RichEditorImageSpanOptions; typedef struct Opt_RichEditorImageSpanOptions Opt_RichEditorImageSpanOptions; -typedef struct Array_FingerInfo Array_FingerInfo; -typedef struct Opt_Array_FingerInfo Opt_Array_FingerInfo; typedef struct Ark_RichEditorTextSpanOptions Ark_RichEditorTextSpanOptions; typedef struct Opt_RichEditorTextSpanOptions Opt_RichEditorTextSpanOptions; typedef struct Ark_GuideLinePosition Ark_GuideLinePosition; @@ -1031,6 +1029,8 @@ typedef struct Callback_Number_Tuple_Number_Number_Number_Number Callback_Number typedef struct Opt_Callback_Number_Tuple_Number_Number_Number_Number Opt_Callback_Number_Tuple_Number_Number_Number_Number; typedef struct Callback_Number_Tuple_Number_Number Callback_Number_Tuple_Number_Number; typedef struct Opt_Callback_Number_Tuple_Number_Number Opt_Callback_Number_Tuple_Number_Number; +typedef struct Array_FingerInfo Array_FingerInfo; +typedef struct Opt_Array_FingerInfo Opt_Array_FingerInfo; typedef struct Ark_Union_ResourceColor_LinearGradient_common Ark_Union_ResourceColor_LinearGradient_common; typedef struct Opt_Union_ResourceColor_LinearGradient_common Opt_Union_ResourceColor_LinearGradient_common; typedef struct Array_Tuple_Union_ResourceColor_LinearGradient_common_Number Array_Tuple_Union_ResourceColor_LinearGradient_common_Number; @@ -1827,8 +1827,6 @@ 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 Ark_Materialized Ark_GestureEvent; -typedef struct Opt_GestureEvent Opt_GestureEvent; typedef struct Ark_LocalizedBarrierStyle Ark_LocalizedBarrierStyle; typedef struct Opt_LocalizedBarrierStyle Opt_LocalizedBarrierStyle; typedef struct Array_LocalizedBarrierStyle Array_LocalizedBarrierStyle; @@ -2021,6 +2019,22 @@ typedef struct Ark_Tuple_Number_Number_Number_Number Ark_Tuple_Number_Number_Num typedef struct Opt_Tuple_Number_Number_Number_Number Opt_Tuple_Number_Number_Number_Number; typedef struct Ark_GridLayoutOptions Ark_GridLayoutOptions; typedef struct Opt_GridLayoutOptions Opt_GridLayoutOptions; +typedef struct Ark_RotationGestureHandlerOptions Ark_RotationGestureHandlerOptions; +typedef struct Opt_RotationGestureHandlerOptions Opt_RotationGestureHandlerOptions; +typedef struct Ark_PinchGestureHandlerOptions Ark_PinchGestureHandlerOptions; +typedef struct Opt_PinchGestureHandlerOptions Opt_PinchGestureHandlerOptions; +typedef struct Ark_SwipeGestureHandlerOptions Ark_SwipeGestureHandlerOptions; +typedef struct Opt_SwipeGestureHandlerOptions Opt_SwipeGestureHandlerOptions; +typedef struct Ark_PanGestureHandlerOptions Ark_PanGestureHandlerOptions; +typedef struct Opt_PanGestureHandlerOptions Opt_PanGestureHandlerOptions; +typedef struct Ark_LongPressGestureHandlerOptions Ark_LongPressGestureHandlerOptions; +typedef struct Opt_LongPressGestureHandlerOptions Opt_LongPressGestureHandlerOptions; +typedef struct Ark_TapGestureHandlerOptions Ark_TapGestureHandlerOptions; +typedef struct Opt_TapGestureHandlerOptions Opt_TapGestureHandlerOptions; +typedef Ark_Materialized Ark_GestureEvent; +typedef struct Opt_GestureEvent Opt_GestureEvent; +typedef struct Array_SourceTool Array_SourceTool; +typedef struct Opt_Array_SourceTool Opt_Array_SourceTool; typedef struct Ark_Literal_Number_distance_fingers_PanDirection_direction Ark_Literal_Number_distance_fingers_PanDirection_direction; typedef struct Opt_Literal_Number_distance_fingers_PanDirection_direction Opt_Literal_Number_distance_fingers_PanDirection_direction; typedef struct Ark_GaugeIndicatorOptions Ark_GaugeIndicatorOptions; @@ -2339,6 +2353,10 @@ typedef struct Ark_SheetInfo Ark_SheetInfo; typedef struct Opt_SheetInfo Opt_SheetInfo; typedef struct Ark_Literal_Want_want Ark_Literal_Want_want; typedef struct Opt_Literal_Want_want Opt_Literal_Want_want; +typedef struct Ark_WebHeader Ark_WebHeader; +typedef struct Opt_WebHeader Opt_WebHeader; +typedef struct Array_WebHeader Array_WebHeader; +typedef struct Opt_Array_WebHeader Opt_Array_WebHeader; typedef enum Ark_LengthUnit { ARK_LENGTH_UNIT_PX = 0, ARK_LENGTH_UNIT_VP = 1, @@ -3665,6 +3683,16 @@ typedef struct Opt_GridItemAlignment { Ark_Tag tag; Ark_GridItemAlignment value; } Opt_GridItemAlignment; +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_PanDirection { ARK_PAN_DIRECTION_NONE = 0, ARK_PAN_DIRECTION_HORIZONTAL = 1, @@ -4837,16 +4865,6 @@ 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, @@ -6137,9 +6155,6 @@ typedef struct Opt_WebResourceRequest { Ark_Tag tag; Ark_WebResourceRequest value; } Opt_WebResourceRequest; -typedef struct Ark_WebviewController { - Ark_String __WebviewControllerStub; -} Ark_WebviewController; typedef struct Opt_WebviewController { Ark_Tag tag; Ark_WebviewController value; @@ -8369,14 +8384,6 @@ typedef struct Opt_RichEditorImageSpanOptions { Ark_Tag tag; Ark_RichEditorImageSpanOptions value; } Opt_RichEditorImageSpanOptions; -typedef struct Array_FingerInfo { - Ark_FingerInfo* array; - Ark_Int32 length; -} Array_FingerInfo; -typedef struct Opt_Array_FingerInfo { - Ark_Tag tag; - Array_FingerInfo value; -} Opt_Array_FingerInfo; typedef struct Ark_RichEditorTextSpanOptions { Opt_Number offset; Opt_RichEditorTextStyle style; @@ -8739,6 +8746,14 @@ typedef struct Opt_Callback_Number_Tuple_Number_Number { Ark_Tag tag; Callback_Number_Tuple_Number_Number value; } Opt_Callback_Number_Tuple_Number_Number; +typedef struct Array_FingerInfo { + Ark_FingerInfo* array; + Ark_Int32 length; +} Array_FingerInfo; +typedef struct Opt_Array_FingerInfo { + Ark_Tag tag; + Array_FingerInfo value; +} Opt_Array_FingerInfo; typedef struct Ark_Union_ResourceColor_LinearGradient_common { Ark_Int32 selector; union { @@ -12466,10 +12481,6 @@ typedef struct Opt_Union_PixelMap_ResourceStr { Ark_Tag tag; Ark_Union_PixelMap_ResourceStr value; } Opt_Union_PixelMap_ResourceStr; -typedef struct Opt_GestureEvent { - Ark_Tag tag; - Ark_GestureEvent value; -} Opt_GestureEvent; typedef struct Ark_LocalizedBarrierStyle { Ark_String id; Ark_LocalizedBarrierDirection localizedDirection; @@ -13383,6 +13394,69 @@ typedef struct Opt_GridLayoutOptions { Ark_Tag tag; Ark_GridLayoutOptions value; } Opt_GridLayoutOptions; +typedef struct Ark_RotationGestureHandlerOptions { + Opt_Number fingers; + Opt_Number angle; +} Ark_RotationGestureHandlerOptions; +typedef struct Opt_RotationGestureHandlerOptions { + Ark_Tag tag; + Ark_RotationGestureHandlerOptions value; +} Opt_RotationGestureHandlerOptions; +typedef struct Ark_PinchGestureHandlerOptions { + Opt_Number fingers; + Opt_Number distance; +} Ark_PinchGestureHandlerOptions; +typedef struct Opt_PinchGestureHandlerOptions { + Ark_Tag tag; + Ark_PinchGestureHandlerOptions value; +} Opt_PinchGestureHandlerOptions; +typedef struct Ark_SwipeGestureHandlerOptions { + Opt_Number fingers; + Opt_SwipeDirection direction; + Opt_Number speed; +} Ark_SwipeGestureHandlerOptions; +typedef struct Opt_SwipeGestureHandlerOptions { + Ark_Tag tag; + Ark_SwipeGestureHandlerOptions value; +} Opt_SwipeGestureHandlerOptions; +typedef struct Ark_PanGestureHandlerOptions { + Opt_Number fingers; + Opt_PanDirection direction; + Opt_Number distance; +} Ark_PanGestureHandlerOptions; +typedef struct Opt_PanGestureHandlerOptions { + Ark_Tag tag; + Ark_PanGestureHandlerOptions value; +} Opt_PanGestureHandlerOptions; +typedef struct Ark_LongPressGestureHandlerOptions { + Opt_Number fingers; + Opt_Boolean repeat; + Opt_Number duration; +} Ark_LongPressGestureHandlerOptions; +typedef struct Opt_LongPressGestureHandlerOptions { + Ark_Tag tag; + Ark_LongPressGestureHandlerOptions value; +} Opt_LongPressGestureHandlerOptions; +typedef struct Ark_TapGestureHandlerOptions { + Opt_Number count; + Opt_Number fingers; +} Ark_TapGestureHandlerOptions; +typedef struct Opt_TapGestureHandlerOptions { + Ark_Tag tag; + Ark_TapGestureHandlerOptions value; +} Opt_TapGestureHandlerOptions; +typedef struct Opt_GestureEvent { + Ark_Tag tag; + Ark_GestureEvent value; +} Opt_GestureEvent; +typedef struct Array_SourceTool { + Ark_SourceTool* array; + Ark_Int32 length; +} Array_SourceTool; +typedef struct Opt_Array_SourceTool { + Ark_Tag tag; + Array_SourceTool value; +} Opt_Array_SourceTool; typedef struct Ark_Literal_Number_distance_fingers_PanDirection_direction { Opt_Number fingers; Opt_PanDirection direction; @@ -14937,6 +15011,22 @@ typedef struct Opt_Literal_Want_want { Ark_Tag tag; Ark_Literal_Want_want value; } Opt_Literal_Want_want; +typedef struct Ark_WebHeader { + Ark_String headerKey; + Ark_String headerValue; +} Ark_WebHeader; +typedef struct Opt_WebHeader { + Ark_Tag tag; + Ark_WebHeader value; +} Opt_WebHeader; +typedef struct Array_WebHeader { + Ark_WebHeader* array; + Ark_Int32 length; +} Array_WebHeader; +typedef struct Opt_Array_WebHeader { + Ark_Tag tag; + Array_WebHeader value; +} Opt_Array_WebHeader; typedef struct Opt_Float32 { Ark_Tag tag; Ark_Float32 value; @@ -18511,6 +18601,17 @@ typedef struct GENERATED_ArkUIDrawingCanvasAccessor { const Ark_Number* bottom); } GENERATED_ArkUIDrawingCanvasAccessor; +typedef struct WebviewControllerPeer WebviewControllerPeer; +typedef struct GENERATED_ArkUIWebviewControllerAccessor { + void (*destroyPeer)(WebviewControllerPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + void (*initializeWebEngine)(); + void (*loadUrl)(WebviewControllerPeer* peer, + const Ark_Union_String_Resource* url, + const Opt_Array_WebHeader* headers); +} GENERATED_ArkUIWebviewControllerAccessor; + typedef struct FrameNodePeer FrameNodePeer; typedef struct GENERATED_ArkUIFrameNodeAccessor { void (*destroyPeer)(FrameNodePeer* peer); @@ -18533,6 +18634,8 @@ typedef struct GENERATED_ArkUIFrameNodeAccessor { Ark_NativePointer (*getParent)(FrameNodePeer* peer); Ark_Int32 (*getChildrenCount)(FrameNodePeer* peer); void (*dispose)(FrameNodePeer* peer); + Ark_Int32 (*getOpacity)(FrameNodePeer* peer); + Ark_NativePointer (*getPositionToWindowWithTransform)(FrameNodePeer* peer); } GENERATED_ArkUIFrameNodeAccessor; typedef struct PixelMapPeer PixelMapPeer; @@ -19518,6 +19621,93 @@ typedef struct GENERATED_ArkUIPanGestureOptionsAccessor { Ark_NativePointer (*getDirection)(PanGestureOptionsPeer* peer); } GENERATED_ArkUIPanGestureOptionsAccessor; +typedef struct GestureHandlerPeer GestureHandlerPeer; +typedef struct GENERATED_ArkUIGestureHandlerAccessor { + void (*destroyPeer)(GestureHandlerPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + void (*tag)(GestureHandlerPeer* peer, + const Ark_String* tag); + void (*allowedTypes)(GestureHandlerPeer* peer, + const Array_SourceTool* types); +} GENERATED_ArkUIGestureHandlerAccessor; + +typedef struct TapGestureHandlerPeer TapGestureHandlerPeer; +typedef struct GENERATED_ArkUITapGestureHandlerAccessor { + void (*destroyPeer)(TapGestureHandlerPeer* peer); + Ark_NativePointer (*ctor)(const Opt_TapGestureHandlerOptions* options); + Ark_NativePointer (*getFinalizer)(); + Ark_NativePointer (*onAction)(TapGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event); +} GENERATED_ArkUITapGestureHandlerAccessor; + +typedef struct LongPressGestureHandlerPeer LongPressGestureHandlerPeer; +typedef struct GENERATED_ArkUILongPressGestureHandlerAccessor { + void (*destroyPeer)(LongPressGestureHandlerPeer* peer); + Ark_NativePointer (*ctor)(const Opt_LongPressGestureHandlerOptions* options); + Ark_NativePointer (*getFinalizer)(); + Ark_NativePointer (*onAction)(LongPressGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event); + Ark_NativePointer (*onActionEnd)(LongPressGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event); + Ark_NativePointer (*onActionCancel)(LongPressGestureHandlerPeer* peer, + const Callback_Void* event); +} GENERATED_ArkUILongPressGestureHandlerAccessor; + +typedef struct PanGestureHandlerPeer PanGestureHandlerPeer; +typedef struct GENERATED_ArkUIPanGestureHandlerAccessor { + void (*destroyPeer)(PanGestureHandlerPeer* peer); + Ark_NativePointer (*ctor)(const Opt_PanGestureHandlerOptions* options); + Ark_NativePointer (*getFinalizer)(); + Ark_NativePointer (*onActionStart)(PanGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event); + Ark_NativePointer (*onActionUpdate)(PanGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event); + Ark_NativePointer (*onActionEnd)(PanGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event); + Ark_NativePointer (*onActionCancel)(PanGestureHandlerPeer* peer, + const Callback_Void* event); +} GENERATED_ArkUIPanGestureHandlerAccessor; + +typedef struct SwipeGestureHandlerPeer SwipeGestureHandlerPeer; +typedef struct GENERATED_ArkUISwipeGestureHandlerAccessor { + void (*destroyPeer)(SwipeGestureHandlerPeer* peer); + Ark_NativePointer (*ctor)(const Opt_SwipeGestureHandlerOptions* options); + Ark_NativePointer (*getFinalizer)(); + Ark_NativePointer (*onAction)(SwipeGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event); +} GENERATED_ArkUISwipeGestureHandlerAccessor; + +typedef struct PinchGestureHandlerPeer PinchGestureHandlerPeer; +typedef struct GENERATED_ArkUIPinchGestureHandlerAccessor { + void (*destroyPeer)(PinchGestureHandlerPeer* peer); + Ark_NativePointer (*ctor)(const Opt_PinchGestureHandlerOptions* options); + Ark_NativePointer (*getFinalizer)(); + Ark_NativePointer (*onActionStart)(PinchGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event); + Ark_NativePointer (*onActionUpdate)(PinchGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event); + Ark_NativePointer (*onActionEnd)(PinchGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event); + Ark_NativePointer (*onActionCancel)(PinchGestureHandlerPeer* peer, + const Callback_Void* event); +} GENERATED_ArkUIPinchGestureHandlerAccessor; + +typedef struct RotationGestureHandlerPeer RotationGestureHandlerPeer; +typedef struct GENERATED_ArkUIRotationGestureHandlerAccessor { + void (*destroyPeer)(RotationGestureHandlerPeer* peer); + Ark_NativePointer (*ctor)(const Opt_RotationGestureHandlerOptions* options); + Ark_NativePointer (*getFinalizer)(); + Ark_NativePointer (*onActionStart)(RotationGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event); + Ark_NativePointer (*onActionUpdate)(RotationGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event); + Ark_NativePointer (*onActionEnd)(RotationGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event); + Ark_NativePointer (*onActionCancel)(RotationGestureHandlerPeer* peer, + const Callback_Void* event); +} GENERATED_ArkUIRotationGestureHandlerAccessor; + typedef struct ScrollableTargetInfoPeer ScrollableTargetInfoPeer; typedef struct GENERATED_ArkUIScrollableTargetInfoAccessor { void (*destroyPeer)(ScrollableTargetInfoPeer* peer); @@ -21624,6 +21814,7 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIUnifiedDataAccessor* (*getUnifiedDataAccessor)(); const GENERATED_ArkUILazyForEachOpsAccessor* (*getLazyForEachOpsAccessor)(); const GENERATED_ArkUIDrawingCanvasAccessor* (*getDrawingCanvasAccessor)(); + const GENERATED_ArkUIWebviewControllerAccessor* (*getWebviewControllerAccessor)(); const GENERATED_ArkUIFrameNodeAccessor* (*getFrameNodeAccessor)(); const GENERATED_ArkUIPixelMapAccessor* (*getPixelMapAccessor)(); const GENERATED_ArkUINavExtenderAccessor* (*getNavExtenderAccessor)(); @@ -21672,6 +21863,13 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUISwipeGestureEventAccessor* (*getSwipeGestureEventAccessor)(); const GENERATED_ArkUIGestureEventAccessor* (*getGestureEventAccessor)(); const GENERATED_ArkUIPanGestureOptionsAccessor* (*getPanGestureOptionsAccessor)(); + const GENERATED_ArkUIGestureHandlerAccessor* (*getGestureHandlerAccessor)(); + const GENERATED_ArkUITapGestureHandlerAccessor* (*getTapGestureHandlerAccessor)(); + const GENERATED_ArkUILongPressGestureHandlerAccessor* (*getLongPressGestureHandlerAccessor)(); + const GENERATED_ArkUIPanGestureHandlerAccessor* (*getPanGestureHandlerAccessor)(); + const GENERATED_ArkUISwipeGestureHandlerAccessor* (*getSwipeGestureHandlerAccessor)(); + const GENERATED_ArkUIPinchGestureHandlerAccessor* (*getPinchGestureHandlerAccessor)(); + const GENERATED_ArkUIRotationGestureHandlerAccessor* (*getRotationGestureHandlerAccessor)(); const GENERATED_ArkUIScrollableTargetInfoAccessor* (*getScrollableTargetInfoAccessor)(); const GENERATED_ArkUIEventTargetInfoAccessor* (*getEventTargetInfoAccessor)(); const GENERATED_ArkUIGestureRecognizerAccessor* (*getGestureRecognizerAccessor)(); diff --git a/arkoala/framework/native/src/generated/bridge_generated.cc b/arkoala/framework/native/src/generated/bridge_generated.cc index a9451f59f..faae9d8ab 100644 --- a/arkoala/framework/native/src/generated/bridge_generated.cc +++ b/arkoala/framework/native/src/generated/bridge_generated.cc @@ -17192,6 +17192,54 @@ void impl_DrawingCanvas_drawRect(Ark_NativePointer thisPtr, KInteropNumber left, 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) +Ark_NativePointer impl_WebviewController_ctor() { + return GetAccessors()->getWebviewControllerAccessor()->ctor(); +} +KOALA_INTEROP_0(WebviewController_ctor, Ark_NativePointer) +Ark_NativePointer impl_WebviewController_getFinalizer() { + return GetAccessors()->getWebviewControllerAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(WebviewController_getFinalizer, Ark_NativePointer) +void impl_WebviewController_initializeWebEngine() { + GetAccessors()->getWebviewControllerAccessor()->initializeWebEngine(); +} +KOALA_INTEROP_V0(WebviewController_initializeWebEngine) +void impl_WebviewController_loadUrl(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + WebviewControllerPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int8 url_value_buf_selector = thisDeserializer.readInt8(); + Ark_Union_String_Resource url_value_buf = {}; + url_value_buf.selector = url_value_buf_selector; + if (url_value_buf_selector == 0) { + url_value_buf.selector = 0; + url_value_buf.value0 = static_cast(thisDeserializer.readString()); + } + else if (url_value_buf_selector == 1) { + url_value_buf.selector = 1; + url_value_buf.value1 = thisDeserializer.readResource(); + } + else { + throw "One of the branches for url_value_buf has to be chosen through deserialisation."; + } + Ark_Union_String_Resource url_value = static_cast(url_value_buf);; + const auto headers_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_Array_WebHeader headers_value_buf = {}; + headers_value_buf.tag = headers_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (headers_value_buf_runtimeType)) + { + const Ark_Int32 headers_value_buf__length = thisDeserializer.readInt32(); + Array_WebHeader headers_value_buf_ = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&headers_value_buf_, headers_value_buf__length); + for (int headers_value_buf__i = 0; headers_value_buf__i < headers_value_buf__length; headers_value_buf__i++) { + headers_value_buf_.array[headers_value_buf__i] = thisDeserializer.readWebHeader(); + } + headers_value_buf.value = headers_value_buf_; + } + Opt_Array_WebHeader headers_value = headers_value_buf;; + GetAccessors()->getWebviewControllerAccessor()->loadUrl(self, (const Ark_Union_String_Resource*)&url_value, (const Opt_Array_WebHeader*)&headers_value); +} +KOALA_INTEROP_V3(WebviewController_loadUrl, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_FrameNode_ctor(uint8_t* thisArray, int32_t thisLength) { Deserializer thisDeserializer(thisArray, thisLength); Ark_UIContext uiContext_value = thisDeserializer.readUIContext();; @@ -17269,6 +17317,16 @@ void impl_FrameNode_dispose(Ark_NativePointer thisPtr) { GetAccessors()->getFrameNodeAccessor()->dispose(self); } KOALA_INTEROP_V1(FrameNode_dispose, Ark_NativePointer) +Ark_Int32 impl_FrameNode_getOpacity(Ark_NativePointer thisPtr) { + FrameNodePeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getFrameNodeAccessor()->getOpacity(self); +} +KOALA_INTEROP_1(FrameNode_getOpacity, Ark_Int32, Ark_NativePointer) +Ark_NativePointer impl_FrameNode_getPositionToWindowWithTransform(Ark_NativePointer thisPtr) { + FrameNodePeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getFrameNodeAccessor()->getPositionToWindowWithTransform(self); +} +KOALA_INTEROP_1(FrameNode_getPositionToWindowWithTransform, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_PixelMap_ctor() { return GetAccessors()->getPixelMapAccessor()->ctor(); } @@ -20189,6 +20247,254 @@ Ark_NativePointer impl_PanGestureOptions_getDirection(Ark_NativePointer thisPtr) return GetAccessors()->getPanGestureOptionsAccessor()->getDirection(self); } KOALA_INTEROP_1(PanGestureOptions_getDirection, Ark_NativePointer, Ark_NativePointer) +Ark_NativePointer impl_GestureHandler_ctor() { + return GetAccessors()->getGestureHandlerAccessor()->ctor(); +} +KOALA_INTEROP_0(GestureHandler_ctor, Ark_NativePointer) +Ark_NativePointer impl_GestureHandler_getFinalizer() { + return GetAccessors()->getGestureHandlerAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(GestureHandler_getFinalizer, Ark_NativePointer) +void impl_GestureHandler_tag(Ark_NativePointer thisPtr, const KStringPtr& tag) { + GestureHandlerPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getGestureHandlerAccessor()->tag(self, (const Ark_String*) (&tag)); +} +KOALA_INTEROP_V2(GestureHandler_tag, Ark_NativePointer, KStringPtr) +void impl_GestureHandler_allowedTypes(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + GestureHandlerPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + const Ark_Int32 types_value_buf_length = thisDeserializer.readInt32(); + Array_SourceTool types_value_buf = {}; + thisDeserializer.resizeArray::type, + std::decay::type>(&types_value_buf, types_value_buf_length); + for (int types_value_buf_i = 0; types_value_buf_i < types_value_buf_length; types_value_buf_i++) { + types_value_buf.array[types_value_buf_i] = static_cast(thisDeserializer.readInt32()); + } + Array_SourceTool types_value = types_value_buf;; + GetAccessors()->getGestureHandlerAccessor()->allowedTypes(self, (const Array_SourceTool*)&types_value); +} +KOALA_INTEROP_V3(GestureHandler_allowedTypes, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_TapGestureHandler_ctor(uint8_t* thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_TapGestureHandlerOptions 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.readTapGestureHandlerOptions(); + } + Opt_TapGestureHandlerOptions options_value = options_value_buf;; + return GetAccessors()->getTapGestureHandlerAccessor()->ctor((const Opt_TapGestureHandlerOptions*)&options_value); +} +KOALA_INTEROP_2(TapGestureHandler_ctor, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_TapGestureHandler_getFinalizer() { + return GetAccessors()->getTapGestureHandlerAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(TapGestureHandler_getFinalizer, Ark_NativePointer) +Ark_NativePointer impl_TapGestureHandler_onAction(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + TapGestureHandlerPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; + return GetAccessors()->getTapGestureHandlerAccessor()->onAction(self, (const Callback_GestureEvent_Void*)&event_value); +} +KOALA_INTEROP_3(TapGestureHandler_onAction, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_LongPressGestureHandler_ctor(uint8_t* thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_LongPressGestureHandlerOptions 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.readLongPressGestureHandlerOptions(); + } + Opt_LongPressGestureHandlerOptions options_value = options_value_buf;; + return GetAccessors()->getLongPressGestureHandlerAccessor()->ctor((const Opt_LongPressGestureHandlerOptions*)&options_value); +} +KOALA_INTEROP_2(LongPressGestureHandler_ctor, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_LongPressGestureHandler_getFinalizer() { + return GetAccessors()->getLongPressGestureHandlerAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(LongPressGestureHandler_getFinalizer, Ark_NativePointer) +Ark_NativePointer impl_LongPressGestureHandler_onAction(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + LongPressGestureHandlerPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; + return GetAccessors()->getLongPressGestureHandlerAccessor()->onAction(self, (const Callback_GestureEvent_Void*)&event_value); +} +KOALA_INTEROP_3(LongPressGestureHandler_onAction, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_LongPressGestureHandler_onActionEnd(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + LongPressGestureHandlerPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; + return GetAccessors()->getLongPressGestureHandlerAccessor()->onActionEnd(self, (const Callback_GestureEvent_Void*)&event_value); +} +KOALA_INTEROP_3(LongPressGestureHandler_onActionEnd, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_LongPressGestureHandler_onActionCancel(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + LongPressGestureHandlerPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + return GetAccessors()->getLongPressGestureHandlerAccessor()->onActionCancel(self, (const Callback_Void*)&event_value); +} +KOALA_INTEROP_3(LongPressGestureHandler_onActionCancel, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_PanGestureHandler_ctor(uint8_t* thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_PanGestureHandlerOptions 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.readPanGestureHandlerOptions(); + } + Opt_PanGestureHandlerOptions options_value = options_value_buf;; + return GetAccessors()->getPanGestureHandlerAccessor()->ctor((const Opt_PanGestureHandlerOptions*)&options_value); +} +KOALA_INTEROP_2(PanGestureHandler_ctor, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_PanGestureHandler_getFinalizer() { + return GetAccessors()->getPanGestureHandlerAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(PanGestureHandler_getFinalizer, Ark_NativePointer) +Ark_NativePointer impl_PanGestureHandler_onActionStart(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + PanGestureHandlerPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; + return GetAccessors()->getPanGestureHandlerAccessor()->onActionStart(self, (const Callback_GestureEvent_Void*)&event_value); +} +KOALA_INTEROP_3(PanGestureHandler_onActionStart, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_PanGestureHandler_onActionUpdate(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + PanGestureHandlerPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; + return GetAccessors()->getPanGestureHandlerAccessor()->onActionUpdate(self, (const Callback_GestureEvent_Void*)&event_value); +} +KOALA_INTEROP_3(PanGestureHandler_onActionUpdate, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_PanGestureHandler_onActionEnd(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + PanGestureHandlerPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; + return GetAccessors()->getPanGestureHandlerAccessor()->onActionEnd(self, (const Callback_GestureEvent_Void*)&event_value); +} +KOALA_INTEROP_3(PanGestureHandler_onActionEnd, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_PanGestureHandler_onActionCancel(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + PanGestureHandlerPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + return GetAccessors()->getPanGestureHandlerAccessor()->onActionCancel(self, (const Callback_Void*)&event_value); +} +KOALA_INTEROP_3(PanGestureHandler_onActionCancel, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_SwipeGestureHandler_ctor(uint8_t* thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SwipeGestureHandlerOptions 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.readSwipeGestureHandlerOptions(); + } + Opt_SwipeGestureHandlerOptions options_value = options_value_buf;; + return GetAccessors()->getSwipeGestureHandlerAccessor()->ctor((const Opt_SwipeGestureHandlerOptions*)&options_value); +} +KOALA_INTEROP_2(SwipeGestureHandler_ctor, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_SwipeGestureHandler_getFinalizer() { + return GetAccessors()->getSwipeGestureHandlerAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(SwipeGestureHandler_getFinalizer, Ark_NativePointer) +Ark_NativePointer impl_SwipeGestureHandler_onAction(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + SwipeGestureHandlerPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; + return GetAccessors()->getSwipeGestureHandlerAccessor()->onAction(self, (const Callback_GestureEvent_Void*)&event_value); +} +KOALA_INTEROP_3(SwipeGestureHandler_onAction, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_PinchGestureHandler_ctor(uint8_t* thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_PinchGestureHandlerOptions 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.readPinchGestureHandlerOptions(); + } + Opt_PinchGestureHandlerOptions options_value = options_value_buf;; + return GetAccessors()->getPinchGestureHandlerAccessor()->ctor((const Opt_PinchGestureHandlerOptions*)&options_value); +} +KOALA_INTEROP_2(PinchGestureHandler_ctor, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_PinchGestureHandler_getFinalizer() { + return GetAccessors()->getPinchGestureHandlerAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(PinchGestureHandler_getFinalizer, Ark_NativePointer) +Ark_NativePointer impl_PinchGestureHandler_onActionStart(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + PinchGestureHandlerPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; + return GetAccessors()->getPinchGestureHandlerAccessor()->onActionStart(self, (const Callback_GestureEvent_Void*)&event_value); +} +KOALA_INTEROP_3(PinchGestureHandler_onActionStart, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_PinchGestureHandler_onActionUpdate(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + PinchGestureHandlerPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; + return GetAccessors()->getPinchGestureHandlerAccessor()->onActionUpdate(self, (const Callback_GestureEvent_Void*)&event_value); +} +KOALA_INTEROP_3(PinchGestureHandler_onActionUpdate, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_PinchGestureHandler_onActionEnd(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + PinchGestureHandlerPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; + return GetAccessors()->getPinchGestureHandlerAccessor()->onActionEnd(self, (const Callback_GestureEvent_Void*)&event_value); +} +KOALA_INTEROP_3(PinchGestureHandler_onActionEnd, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_PinchGestureHandler_onActionCancel(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + PinchGestureHandlerPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + return GetAccessors()->getPinchGestureHandlerAccessor()->onActionCancel(self, (const Callback_Void*)&event_value); +} +KOALA_INTEROP_3(PinchGestureHandler_onActionCancel, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_RotationGestureHandler_ctor(uint8_t* thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_RotationGestureHandlerOptions 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.readRotationGestureHandlerOptions(); + } + Opt_RotationGestureHandlerOptions options_value = options_value_buf;; + return GetAccessors()->getRotationGestureHandlerAccessor()->ctor((const Opt_RotationGestureHandlerOptions*)&options_value); +} +KOALA_INTEROP_2(RotationGestureHandler_ctor, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_RotationGestureHandler_getFinalizer() { + return GetAccessors()->getRotationGestureHandlerAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(RotationGestureHandler_getFinalizer, Ark_NativePointer) +Ark_NativePointer impl_RotationGestureHandler_onActionStart(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + RotationGestureHandlerPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; + return GetAccessors()->getRotationGestureHandlerAccessor()->onActionStart(self, (const Callback_GestureEvent_Void*)&event_value); +} +KOALA_INTEROP_3(RotationGestureHandler_onActionStart, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_RotationGestureHandler_onActionUpdate(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + RotationGestureHandlerPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; + return GetAccessors()->getRotationGestureHandlerAccessor()->onActionUpdate(self, (const Callback_GestureEvent_Void*)&event_value); +} +KOALA_INTEROP_3(RotationGestureHandler_onActionUpdate, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_RotationGestureHandler_onActionEnd(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + RotationGestureHandlerPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; + return GetAccessors()->getRotationGestureHandlerAccessor()->onActionEnd(self, (const Callback_GestureEvent_Void*)&event_value); +} +KOALA_INTEROP_3(RotationGestureHandler_onActionEnd, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_RotationGestureHandler_onActionCancel(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + RotationGestureHandlerPeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; + return GetAccessors()->getRotationGestureHandlerAccessor()->onActionCancel(self, (const Callback_Void*)&event_value); +} +KOALA_INTEROP_3(RotationGestureHandler_onActionCancel, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_ScrollableTargetInfo_ctor() { return GetAccessors()->getScrollableTargetInfoAccessor()->ctor(); } @@ -22367,7 +22673,7 @@ KOALA_INTEROP_0(ControllerHandler_getFinalizer, Ark_NativePointer) void impl_ControllerHandler_setWebController(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { ControllerHandlerPeer* self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_WebviewController controller_value = thisDeserializer.readWebviewController();; + Ark_WebviewController controller_value = static_cast(thisDeserializer.readWebviewController());; GetAccessors()->getControllerHandlerAccessor()->setWebController(self, (const Ark_WebviewController*)&controller_value); } KOALA_INTEROP_V3(ControllerHandler_setWebController, Ark_NativePointer, uint8_t*, int32_t) diff --git a/arkoala/framework/native/src/generated/dummy_impl.cc b/arkoala/framework/native/src/generated/dummy_impl.cc index 01d7670c9..18c26ffe7 100644 --- a/arkoala/framework/native/src/generated/dummy_impl.cc +++ b/arkoala/framework/native/src/generated/dummy_impl.cc @@ -827,6 +827,121 @@ namespace GeneratedEvents { void GENERATED_SetArkUiEventsAPI(const GENERATED_ArkUIEventsAPI* api) { g_OverriddenEventsImpl = api; } } } + +// handWritten implementations +namespace OHOS::Ace::NG::GeneratedModifier { + namespace LazyForEachOpsAccessor { + void DestroyPeerImpl(LazyForEachOpsPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (LazyForEachOpsPeer*) 100; + string out("new LazyForEachOps("); + out.append(") \n"); + out.append("[return (LazyForEachOpsPeer*) 100] \n"); + appendGroupedLog(1, out); + return (LazyForEachOpsPeer*) 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 NeedMoreElementsImpl(Ark_NativePointer node, + Ark_NativePointer mark, + Ark_Int32 direction) + { + if (!needGroupedLog(1)) + return (void*) 300; + string out("NeedMoreElements("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, mark); + out.append(", "); + WriteToString(&out, direction); + out.append(") \n"); + out.append("[return (void*) 300] \n"); + appendGroupedLog(1, out); + return (void*) 300; + } + void OnRangeUpdateImpl(Ark_NativePointer node, + Ark_Int32 totalCount, + const Callback_RangeUpdate* updater) + { + if (!needGroupedLog(1)) + return; + string out("OnRangeUpdate("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, totalCount); + out.append(", "); + WriteToString(&out, updater); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetCurrentIndexImpl(Ark_NativePointer node, + Ark_Int32 index) + { + if (!needGroupedLog(1)) + return; + string out("SetCurrentIndex("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, index); + 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 CommonMethodModifier { + void OnClick0Impl(Ark_NativePointer node, + const Callback_ClickEvent_Void* value) + { + if (!needGroupedLog(1)) + return; + string out("onClick("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnClick1Impl(Ark_NativePointer node, + const Callback_ClickEvent_Void* event, + const Ark_Number* distanceThreshold) + { + if (!needGroupedLog(1)) + return; + string out("onClick("); + WriteToString(&out, event); + out.append(", "); + WriteToString(&out, distanceThreshold); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // CommonMethodModifier +} + +// end of handWritten implementations namespace OHOS::Ace::NG::GeneratedModifier { namespace RootModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -2689,29 +2804,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - void OnClick0Impl(Ark_NativePointer node, - const Callback_ClickEvent_Void* value) - { - if (!needGroupedLog(1)) - return; - string out("onClick("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void OnClick1Impl(Ark_NativePointer node, - const Callback_ClickEvent_Void* event, - const Ark_Number* distanceThreshold) - { - if (!needGroupedLog(1)) - return; - string out("onClick("); - WriteToString(&out, event); - out.append(", "); - WriteToString(&out, distanceThreshold); - out.append(") \n"); - appendGroupedLog(1, out); - } void OnHoverImpl(Ark_NativePointer node, const Callback_Boolean_HoverEvent_Void* value) { @@ -20179,7 +20271,9 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // UnifiedDataAccessor namespace LazyForEachOpsAccessor { - void DestroyPeerImpl(LazyForEachOpsPeer* peer) + } // LazyForEachOpsAccessor + namespace DrawingCanvasAccessor { + void DestroyPeerImpl(DrawingCanvasPeer* peer) { if (!needGroupedLog(1)) return; @@ -20187,15 +20281,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_NativePointer CtorImpl() + Ark_NativePointer CtorImpl(const Ark_PixelMap* pixelmap) { if (!needGroupedLog(1)) - return (LazyForEachOpsPeer*) 100; - string out("new LazyForEachOps("); + return (DrawingCanvasPeer*) 100; + string out("new DrawingCanvas("); + WriteToString(&out, pixelmap); out.append(") \n"); - out.append("[return (LazyForEachOpsPeer*) 100] \n"); + out.append("[return (DrawingCanvasPeer*) 100] \n"); appendGroupedLog(1, out); - return (LazyForEachOpsPeer*) 100; + return (DrawingCanvasPeer*) 100; } Ark_NativePointer GetFinalizerImpl() { @@ -20207,62 +20302,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_NativePointer NeedMoreElementsImpl(Ark_NativePointer node, - Ark_NativePointer mark, - Ark_Int32 direction) - { - if (!needGroupedLog(1)) - return (void*) 300; - string out("NeedMoreElements("); - WriteToString(&out, node); - out.append(", "); - WriteToString(&out, mark); - out.append(", "); - WriteToString(&out, direction); - out.append(") \n"); - out.append("[return (void*) 300] \n"); - appendGroupedLog(1, out); - return (void*) 300; - } - void OnRangeUpdateImpl(Ark_NativePointer node, - Ark_Int32 totalCount, - const Callback_RangeUpdate* updater) + void DrawRectImpl(DrawingCanvasPeer* peer, + const Ark_Number* left, + const Ark_Number* top, + const Ark_Number* right, + const Ark_Number* bottom) { if (!needGroupedLog(1)) return; - string out("OnRangeUpdate("); - WriteToString(&out, node); + string out("drawRect("); + WriteToString(&out, left); out.append(", "); - WriteToString(&out, totalCount); + WriteToString(&out, top); out.append(", "); - WriteToString(&out, updater); - out.append(") \n"); - appendGroupedLog(1, out); - } - void SetCurrentIndexImpl(Ark_NativePointer node, - Ark_Int32 index) - { - if (!needGroupedLog(1)) - return; - string out("SetCurrentIndex("); - WriteToString(&out, node); + WriteToString(&out, right); out.append(", "); - WriteToString(&out, index); - out.append(") \n"); - appendGroupedLog(1, out); - } - void PrepareImpl(Ark_NativePointer node) - { - if (!needGroupedLog(1)) - return; - string out("Prepare("); - WriteToString(&out, node); + WriteToString(&out, bottom); out.append(") \n"); appendGroupedLog(1, out); } - } // LazyForEachOpsAccessor - namespace DrawingCanvasAccessor { - void DestroyPeerImpl(DrawingCanvasPeer* peer) + } // DrawingCanvasAccessor + namespace WebviewControllerAccessor { + void DestroyPeerImpl(WebviewControllerPeer* peer) { if (!needGroupedLog(1)) return; @@ -20270,16 +20331,15 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_NativePointer CtorImpl(const Ark_PixelMap* pixelmap) + Ark_NativePointer CtorImpl() { if (!needGroupedLog(1)) - return (DrawingCanvasPeer*) 100; - string out("new DrawingCanvas("); - WriteToString(&out, pixelmap); + return (WebviewControllerPeer*) 100; + string out("new WebviewController("); out.append(") \n"); - out.append("[return (DrawingCanvasPeer*) 100] \n"); + out.append("[return (WebviewControllerPeer*) 100] \n"); appendGroupedLog(1, out); - return (DrawingCanvasPeer*) 100; + return (WebviewControllerPeer*) 100; } Ark_NativePointer GetFinalizerImpl() { @@ -20291,26 +20351,28 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - void DrawRectImpl(DrawingCanvasPeer* peer, - const Ark_Number* left, - const Ark_Number* top, - const Ark_Number* right, - const Ark_Number* bottom) + void InitializeWebEngineImpl() { if (!needGroupedLog(1)) return; - string out("drawRect("); - WriteToString(&out, left); - out.append(", "); - WriteToString(&out, top); - out.append(", "); - WriteToString(&out, right); + string out("initializeWebEngine("); + out.append(") \n"); + appendGroupedLog(1, out); + } + void LoadUrlImpl(WebviewControllerPeer* peer, + const Ark_Union_String_Resource* url, + const Opt_Array_WebHeader* headers) + { + if (!needGroupedLog(1)) + return; + string out("loadUrl("); + WriteToString(&out, url); out.append(", "); - WriteToString(&out, bottom); + WriteToString(&out, headers); out.append(") \n"); appendGroupedLog(1, out); } - } // DrawingCanvasAccessor + } // WebviewControllerAccessor namespace FrameNodeAccessor { void DestroyPeerImpl(FrameNodePeer* peer) { @@ -20462,6 +20524,26 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } + Ark_Int32 GetOpacityImpl(FrameNodePeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getOpacity("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_NativePointer GetPositionToWindowWithTransformImpl(FrameNodePeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getPositionToWindowWithTransform("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } } // FrameNodeAccessor namespace PixelMapAccessor { void DestroyPeerImpl(PixelMapPeer* peer) @@ -25695,6 +25777,446 @@ namespace OHOS::Ace::NG::GeneratedModifier { return 0; } } // PanGestureOptionsAccessor + namespace GestureHandlerAccessor { + void DestroyPeerImpl(GestureHandlerPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (GestureHandlerPeer*) 100; + string out("new GestureHandler("); + out.append(") \n"); + out.append("[return (GestureHandlerPeer*) 100] \n"); + appendGroupedLog(1, out); + return (GestureHandlerPeer*) 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 TagImpl(GestureHandlerPeer* peer, + const Ark_String* tag) + { + if (!needGroupedLog(1)) + return; + string out("tag("); + WriteToString(&out, tag); + out.append(") \n"); + appendGroupedLog(1, out); + } + void AllowedTypesImpl(GestureHandlerPeer* peer, + const Array_SourceTool* types) + { + if (!needGroupedLog(1)) + return; + string out("allowedTypes("); + WriteToString(&out, types); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // GestureHandlerAccessor + namespace TapGestureHandlerAccessor { + void DestroyPeerImpl(TapGestureHandlerPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl(const Opt_TapGestureHandlerOptions* options) + { + if (!needGroupedLog(1)) + return (TapGestureHandlerPeer*) 100; + string out("new TapGestureHandler("); + WriteToString(&out, options); + out.append(") \n"); + out.append("[return (TapGestureHandlerPeer*) 100] \n"); + appendGroupedLog(1, out); + return (TapGestureHandlerPeer*) 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 OnActionImpl(TapGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + if (!needGroupedLog(1)) + return 0; + string out("onAction("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + } // TapGestureHandlerAccessor + namespace LongPressGestureHandlerAccessor { + void DestroyPeerImpl(LongPressGestureHandlerPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl(const Opt_LongPressGestureHandlerOptions* options) + { + if (!needGroupedLog(1)) + return (LongPressGestureHandlerPeer*) 100; + string out("new LongPressGestureHandler("); + WriteToString(&out, options); + out.append(") \n"); + out.append("[return (LongPressGestureHandlerPeer*) 100] \n"); + appendGroupedLog(1, out); + return (LongPressGestureHandlerPeer*) 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 OnActionImpl(LongPressGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + if (!needGroupedLog(1)) + return 0; + string out("onAction("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_NativePointer OnActionEndImpl(LongPressGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + if (!needGroupedLog(1)) + return 0; + string out("onActionEnd("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_NativePointer OnActionCancelImpl(LongPressGestureHandlerPeer* peer, + const Callback_Void* event) + { + if (!needGroupedLog(1)) + return 0; + string out("onActionCancel("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + } // LongPressGestureHandlerAccessor + namespace PanGestureHandlerAccessor { + void DestroyPeerImpl(PanGestureHandlerPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl(const Opt_PanGestureHandlerOptions* options) + { + if (!needGroupedLog(1)) + return (PanGestureHandlerPeer*) 100; + string out("new PanGestureHandler("); + WriteToString(&out, options); + out.append(") \n"); + out.append("[return (PanGestureHandlerPeer*) 100] \n"); + appendGroupedLog(1, out); + return (PanGestureHandlerPeer*) 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 OnActionStartImpl(PanGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + if (!needGroupedLog(1)) + return 0; + string out("onActionStart("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_NativePointer OnActionUpdateImpl(PanGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + if (!needGroupedLog(1)) + return 0; + string out("onActionUpdate("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_NativePointer OnActionEndImpl(PanGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + if (!needGroupedLog(1)) + return 0; + string out("onActionEnd("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_NativePointer OnActionCancelImpl(PanGestureHandlerPeer* peer, + const Callback_Void* event) + { + if (!needGroupedLog(1)) + return 0; + string out("onActionCancel("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + } // PanGestureHandlerAccessor + namespace SwipeGestureHandlerAccessor { + void DestroyPeerImpl(SwipeGestureHandlerPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl(const Opt_SwipeGestureHandlerOptions* options) + { + if (!needGroupedLog(1)) + return (SwipeGestureHandlerPeer*) 100; + string out("new SwipeGestureHandler("); + WriteToString(&out, options); + out.append(") \n"); + out.append("[return (SwipeGestureHandlerPeer*) 100] \n"); + appendGroupedLog(1, out); + return (SwipeGestureHandlerPeer*) 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 OnActionImpl(SwipeGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + if (!needGroupedLog(1)) + return 0; + string out("onAction("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + } // SwipeGestureHandlerAccessor + namespace PinchGestureHandlerAccessor { + void DestroyPeerImpl(PinchGestureHandlerPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl(const Opt_PinchGestureHandlerOptions* options) + { + if (!needGroupedLog(1)) + return (PinchGestureHandlerPeer*) 100; + string out("new PinchGestureHandler("); + WriteToString(&out, options); + out.append(") \n"); + out.append("[return (PinchGestureHandlerPeer*) 100] \n"); + appendGroupedLog(1, out); + return (PinchGestureHandlerPeer*) 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 OnActionStartImpl(PinchGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + if (!needGroupedLog(1)) + return 0; + string out("onActionStart("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_NativePointer OnActionUpdateImpl(PinchGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + if (!needGroupedLog(1)) + return 0; + string out("onActionUpdate("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_NativePointer OnActionEndImpl(PinchGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + if (!needGroupedLog(1)) + return 0; + string out("onActionEnd("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_NativePointer OnActionCancelImpl(PinchGestureHandlerPeer* peer, + const Callback_Void* event) + { + if (!needGroupedLog(1)) + return 0; + string out("onActionCancel("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + } // PinchGestureHandlerAccessor + namespace RotationGestureHandlerAccessor { + void DestroyPeerImpl(RotationGestureHandlerPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl(const Opt_RotationGestureHandlerOptions* options) + { + if (!needGroupedLog(1)) + return (RotationGestureHandlerPeer*) 100; + string out("new RotationGestureHandler("); + WriteToString(&out, options); + out.append(") \n"); + out.append("[return (RotationGestureHandlerPeer*) 100] \n"); + appendGroupedLog(1, out); + return (RotationGestureHandlerPeer*) 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 OnActionStartImpl(RotationGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + if (!needGroupedLog(1)) + return 0; + string out("onActionStart("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_NativePointer OnActionUpdateImpl(RotationGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + if (!needGroupedLog(1)) + return 0; + string out("onActionUpdate("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_NativePointer OnActionEndImpl(RotationGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + if (!needGroupedLog(1)) + return 0; + string out("onActionEnd("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_NativePointer OnActionCancelImpl(RotationGestureHandlerPeer* peer, + const Callback_Void* event) + { + if (!needGroupedLog(1)) + return 0; + string out("onActionCancel("); + WriteToString(&out, event); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + } // RotationGestureHandlerAccessor namespace ScrollableTargetInfoAccessor { void DestroyPeerImpl(ScrollableTargetInfoPeer* peer) { @@ -31427,6 +31949,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct DrawingCanvasPeer { virtual ~DrawingCanvasPeer() = default; }; + const GENERATED_ArkUIWebviewControllerAccessor* GetWebviewControllerAccessor() + { + static const GENERATED_ArkUIWebviewControllerAccessor WebviewControllerAccessorImpl { + WebviewControllerAccessor::DestroyPeerImpl, + WebviewControllerAccessor::CtorImpl, + WebviewControllerAccessor::GetFinalizerImpl, + WebviewControllerAccessor::InitializeWebEngineImpl, + WebviewControllerAccessor::LoadUrlImpl, + }; + return &WebviewControllerAccessorImpl; + } + + struct WebviewControllerPeer { + virtual ~WebviewControllerPeer() = default; + }; const GENERATED_ArkUIFrameNodeAccessor* GetFrameNodeAccessor() { static const GENERATED_ArkUIFrameNodeAccessor FrameNodeAccessorImpl { @@ -31445,6 +31982,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { FrameNodeAccessor::GetParentImpl, FrameNodeAccessor::GetChildrenCountImpl, FrameNodeAccessor::DisposeImpl, + FrameNodeAccessor::GetOpacityImpl, + FrameNodeAccessor::GetPositionToWindowWithTransformImpl, }; return &FrameNodeAccessorImpl; } @@ -32411,6 +32950,116 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct PanGestureOptionsPeer { virtual ~PanGestureOptionsPeer() = default; }; + const GENERATED_ArkUIGestureHandlerAccessor* GetGestureHandlerAccessor() + { + static const GENERATED_ArkUIGestureHandlerAccessor GestureHandlerAccessorImpl { + GestureHandlerAccessor::DestroyPeerImpl, + GestureHandlerAccessor::CtorImpl, + GestureHandlerAccessor::GetFinalizerImpl, + GestureHandlerAccessor::TagImpl, + GestureHandlerAccessor::AllowedTypesImpl, + }; + return &GestureHandlerAccessorImpl; + } + + struct GestureHandlerPeer { + virtual ~GestureHandlerPeer() = default; + }; + const GENERATED_ArkUITapGestureHandlerAccessor* GetTapGestureHandlerAccessor() + { + static const GENERATED_ArkUITapGestureHandlerAccessor TapGestureHandlerAccessorImpl { + TapGestureHandlerAccessor::DestroyPeerImpl, + TapGestureHandlerAccessor::CtorImpl, + TapGestureHandlerAccessor::GetFinalizerImpl, + TapGestureHandlerAccessor::OnActionImpl, + }; + return &TapGestureHandlerAccessorImpl; + } + + struct TapGestureHandlerPeer { + virtual ~TapGestureHandlerPeer() = default; + }; + const GENERATED_ArkUILongPressGestureHandlerAccessor* GetLongPressGestureHandlerAccessor() + { + static const GENERATED_ArkUILongPressGestureHandlerAccessor LongPressGestureHandlerAccessorImpl { + LongPressGestureHandlerAccessor::DestroyPeerImpl, + LongPressGestureHandlerAccessor::CtorImpl, + LongPressGestureHandlerAccessor::GetFinalizerImpl, + LongPressGestureHandlerAccessor::OnActionImpl, + LongPressGestureHandlerAccessor::OnActionEndImpl, + LongPressGestureHandlerAccessor::OnActionCancelImpl, + }; + return &LongPressGestureHandlerAccessorImpl; + } + + struct LongPressGestureHandlerPeer { + virtual ~LongPressGestureHandlerPeer() = default; + }; + const GENERATED_ArkUIPanGestureHandlerAccessor* GetPanGestureHandlerAccessor() + { + static const GENERATED_ArkUIPanGestureHandlerAccessor PanGestureHandlerAccessorImpl { + PanGestureHandlerAccessor::DestroyPeerImpl, + PanGestureHandlerAccessor::CtorImpl, + PanGestureHandlerAccessor::GetFinalizerImpl, + PanGestureHandlerAccessor::OnActionStartImpl, + PanGestureHandlerAccessor::OnActionUpdateImpl, + PanGestureHandlerAccessor::OnActionEndImpl, + PanGestureHandlerAccessor::OnActionCancelImpl, + }; + return &PanGestureHandlerAccessorImpl; + } + + struct PanGestureHandlerPeer { + virtual ~PanGestureHandlerPeer() = default; + }; + const GENERATED_ArkUISwipeGestureHandlerAccessor* GetSwipeGestureHandlerAccessor() + { + static const GENERATED_ArkUISwipeGestureHandlerAccessor SwipeGestureHandlerAccessorImpl { + SwipeGestureHandlerAccessor::DestroyPeerImpl, + SwipeGestureHandlerAccessor::CtorImpl, + SwipeGestureHandlerAccessor::GetFinalizerImpl, + SwipeGestureHandlerAccessor::OnActionImpl, + }; + return &SwipeGestureHandlerAccessorImpl; + } + + struct SwipeGestureHandlerPeer { + virtual ~SwipeGestureHandlerPeer() = default; + }; + const GENERATED_ArkUIPinchGestureHandlerAccessor* GetPinchGestureHandlerAccessor() + { + static const GENERATED_ArkUIPinchGestureHandlerAccessor PinchGestureHandlerAccessorImpl { + PinchGestureHandlerAccessor::DestroyPeerImpl, + PinchGestureHandlerAccessor::CtorImpl, + PinchGestureHandlerAccessor::GetFinalizerImpl, + PinchGestureHandlerAccessor::OnActionStartImpl, + PinchGestureHandlerAccessor::OnActionUpdateImpl, + PinchGestureHandlerAccessor::OnActionEndImpl, + PinchGestureHandlerAccessor::OnActionCancelImpl, + }; + return &PinchGestureHandlerAccessorImpl; + } + + struct PinchGestureHandlerPeer { + virtual ~PinchGestureHandlerPeer() = default; + }; + const GENERATED_ArkUIRotationGestureHandlerAccessor* GetRotationGestureHandlerAccessor() + { + static const GENERATED_ArkUIRotationGestureHandlerAccessor RotationGestureHandlerAccessorImpl { + RotationGestureHandlerAccessor::DestroyPeerImpl, + RotationGestureHandlerAccessor::CtorImpl, + RotationGestureHandlerAccessor::GetFinalizerImpl, + RotationGestureHandlerAccessor::OnActionStartImpl, + RotationGestureHandlerAccessor::OnActionUpdateImpl, + RotationGestureHandlerAccessor::OnActionEndImpl, + RotationGestureHandlerAccessor::OnActionCancelImpl, + }; + return &RotationGestureHandlerAccessorImpl; + } + + struct RotationGestureHandlerPeer { + virtual ~RotationGestureHandlerPeer() = default; + }; const GENERATED_ArkUIScrollableTargetInfoAccessor* GetScrollableTargetInfoAccessor() { static const GENERATED_ArkUIScrollableTargetInfoAccessor ScrollableTargetInfoAccessorImpl { @@ -33626,6 +34275,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetUnifiedDataAccessor, GetLazyForEachOpsAccessor, GetDrawingCanvasAccessor, + GetWebviewControllerAccessor, GetFrameNodeAccessor, GetPixelMapAccessor, GetNavExtenderAccessor, @@ -33674,6 +34324,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetSwipeGestureEventAccessor, GetGestureEventAccessor, GetPanGestureOptionsAccessor, + GetGestureHandlerAccessor, + GetTapGestureHandlerAccessor, + GetLongPressGestureHandlerAccessor, + GetPanGestureHandlerAccessor, + GetSwipeGestureHandlerAccessor, + GetPinchGestureHandlerAccessor, + GetRotationGestureHandlerAccessor, GetScrollableTargetInfoAccessor, GetEventTargetInfoAccessor, GetGestureRecognizerAccessor, diff --git a/arkoala/framework/native/src/generated/real_impl.cc b/arkoala/framework/native/src/generated/real_impl.cc index c48563ccc..83113b9c1 100644 --- a/arkoala/framework/native/src/generated/real_impl.cc +++ b/arkoala/framework/native/src/generated/real_impl.cc @@ -827,6 +827,121 @@ namespace GeneratedEvents { void GENERATED_SetArkUiEventsAPI(const GENERATED_ArkUIEventsAPI* api) { g_OverriddenEventsImpl = api; } } } + +// handWritten implementations +namespace OHOS::Ace::NG::GeneratedModifier { + namespace LazyForEachOpsAccessor { + void DestroyPeerImpl(LazyForEachOpsPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (LazyForEachOpsPeer*) 100; + string out("new LazyForEachOps("); + out.append(") \n"); + out.append("[return (LazyForEachOpsPeer*) 100] \n"); + appendGroupedLog(1, out); + return (LazyForEachOpsPeer*) 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 NeedMoreElementsImpl(Ark_NativePointer node, + Ark_NativePointer mark, + Ark_Int32 direction) + { + if (!needGroupedLog(1)) + return (void*) 300; + string out("NeedMoreElements("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, mark); + out.append(", "); + WriteToString(&out, direction); + out.append(") \n"); + out.append("[return (void*) 300] \n"); + appendGroupedLog(1, out); + return (void*) 300; + } + void OnRangeUpdateImpl(Ark_NativePointer node, + Ark_Int32 totalCount, + const Callback_RangeUpdate* updater) + { + if (!needGroupedLog(1)) + return; + string out("OnRangeUpdate("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, totalCount); + out.append(", "); + WriteToString(&out, updater); + out.append(") \n"); + appendGroupedLog(1, out); + } + void SetCurrentIndexImpl(Ark_NativePointer node, + Ark_Int32 index) + { + if (!needGroupedLog(1)) + return; + string out("SetCurrentIndex("); + WriteToString(&out, node); + out.append(", "); + WriteToString(&out, index); + 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 CommonMethodModifier { + void OnClick0Impl(Ark_NativePointer node, + const Callback_ClickEvent_Void* value) + { + if (!needGroupedLog(1)) + return; + string out("onClick("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + void OnClick1Impl(Ark_NativePointer node, + const Callback_ClickEvent_Void* event, + const Ark_Number* distanceThreshold) + { + if (!needGroupedLog(1)) + return; + string out("onClick("); + WriteToString(&out, event); + out.append(", "); + WriteToString(&out, distanceThreshold); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // CommonMethodModifier +} + +// end of handWritten implementations namespace OHOS::Ace::NG::GeneratedModifier { namespace RootModifier { Ark_NativePointer ConstructImpl(Ark_Int32 id, @@ -1612,15 +1727,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { const Ark_Union_ResourceColor_ColoringStrategy* value) { } - void OnClick0Impl(Ark_NativePointer node, - const Callback_ClickEvent_Void* value) - { - } - void OnClick1Impl(Ark_NativePointer node, - const Callback_ClickEvent_Void* event, - const Ark_Number* distanceThreshold) - { - } void OnHoverImpl(Ark_NativePointer node, const Callback_Boolean_HoverEvent_Void* value) { @@ -10359,84 +10465,56 @@ namespace OHOS::Ace::NG::GeneratedModifier { } } // UnifiedDataAccessor namespace LazyForEachOpsAccessor { - void DestroyPeerImpl(LazyForEachOpsPeer* peer) + } // LazyForEachOpsAccessor + namespace DrawingCanvasAccessor { + void DestroyPeerImpl(DrawingCanvasPeer* peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_NativePointer CtorImpl() + Ark_NativePointer CtorImpl(const Ark_PixelMap* pixelmap) { - return new LazyForEachOpsPeer(); + return new DrawingCanvasPeer(pixelmap); } Ark_NativePointer GetFinalizerImpl() { return reinterpret_cast(&DestroyPeerImpl); } - Ark_NativePointer NeedMoreElementsImpl(Ark_NativePointer node, - Ark_NativePointer mark, - Ark_Int32 direction) - { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); - //auto convValue = Converter::Convert(node); - //auto convValue = Converter::OptConvert(node); // for enums - //undefinedModelNG::SetNeedMoreElements(frameNode, convValue); - return nullptr; - } - void OnRangeUpdateImpl(Ark_NativePointer node, - Ark_Int32 totalCount, - const Callback_RangeUpdate* updater) - { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); - //auto convValue = Converter::Convert(node); - //auto convValue = Converter::OptConvert(node); // for enums - //undefinedModelNG::SetOnRangeUpdate(frameNode, convValue); - } - void SetCurrentIndexImpl(Ark_NativePointer node, - Ark_Int32 index) - { - auto frameNode = reinterpret_cast(node); - CHECK_NULL_VOID(frameNode); - //auto convValue = Converter::Convert(node); - //auto convValue = Converter::OptConvert(node); // for enums - //undefinedModelNG::SetSetCurrentIndex(frameNode, convValue); - } - void PrepareImpl(Ark_NativePointer node) + void DrawRectImpl(DrawingCanvasPeer* peer, + const Ark_Number* left, + const Ark_Number* top, + const Ark_Number* right, + const Ark_Number* bottom) { - 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) + } // DrawingCanvasAccessor + namespace WebviewControllerAccessor { + void DestroyPeerImpl(WebviewControllerPeer* peer) { - auto peerImpl = reinterpret_cast(peer); + auto peerImpl = reinterpret_cast(peer); if (peerImpl) { delete peerImpl; } } - Ark_NativePointer CtorImpl(const Ark_PixelMap* pixelmap) + Ark_NativePointer CtorImpl() { - return new DrawingCanvasPeer(pixelmap); + return new WebviewControllerPeer(); } Ark_NativePointer GetFinalizerImpl() { return reinterpret_cast(&DestroyPeerImpl); } - void DrawRectImpl(DrawingCanvasPeer* peer, - const Ark_Number* left, - const Ark_Number* top, - const Ark_Number* right, - const Ark_Number* bottom) + void InitializeWebEngineImpl() { } - } // DrawingCanvasAccessor + void LoadUrlImpl(WebviewControllerPeer* peer, + const Ark_Union_String_Resource* url, + const Opt_Array_WebHeader* headers) + { + } + } // WebviewControllerAccessor namespace FrameNodeAccessor { void DestroyPeerImpl(FrameNodePeer* peer) { @@ -10501,6 +10579,14 @@ namespace OHOS::Ace::NG::GeneratedModifier { void DisposeImpl(FrameNodePeer* peer) { } + Ark_Int32 GetOpacityImpl(FrameNodePeer* peer) + { + return 0; + } + Ark_NativePointer GetPositionToWindowWithTransformImpl(FrameNodePeer* peer) + { + return nullptr; + } } // FrameNodeAccessor namespace PixelMapAccessor { void DestroyPeerImpl(PixelMapPeer* peer) @@ -12798,6 +12884,218 @@ namespace OHOS::Ace::NG::GeneratedModifier { return nullptr; } } // PanGestureOptionsAccessor + namespace GestureHandlerAccessor { + void DestroyPeerImpl(GestureHandlerPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new GestureHandlerPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void TagImpl(GestureHandlerPeer* peer, + const Ark_String* tag) + { + } + void AllowedTypesImpl(GestureHandlerPeer* peer, + const Array_SourceTool* types) + { + } + } // GestureHandlerAccessor + namespace TapGestureHandlerAccessor { + void DestroyPeerImpl(TapGestureHandlerPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl(const Opt_TapGestureHandlerOptions* options) + { + return new TapGestureHandlerPeer(options); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_NativePointer OnActionImpl(TapGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + return nullptr; + } + } // TapGestureHandlerAccessor + namespace LongPressGestureHandlerAccessor { + void DestroyPeerImpl(LongPressGestureHandlerPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl(const Opt_LongPressGestureHandlerOptions* options) + { + return new LongPressGestureHandlerPeer(options); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_NativePointer OnActionImpl(LongPressGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + return nullptr; + } + Ark_NativePointer OnActionEndImpl(LongPressGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + return nullptr; + } + Ark_NativePointer OnActionCancelImpl(LongPressGestureHandlerPeer* peer, + const Callback_Void* event) + { + return nullptr; + } + } // LongPressGestureHandlerAccessor + namespace PanGestureHandlerAccessor { + void DestroyPeerImpl(PanGestureHandlerPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl(const Opt_PanGestureHandlerOptions* options) + { + return new PanGestureHandlerPeer(options); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_NativePointer OnActionStartImpl(PanGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + return nullptr; + } + Ark_NativePointer OnActionUpdateImpl(PanGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + return nullptr; + } + Ark_NativePointer OnActionEndImpl(PanGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + return nullptr; + } + Ark_NativePointer OnActionCancelImpl(PanGestureHandlerPeer* peer, + const Callback_Void* event) + { + return nullptr; + } + } // PanGestureHandlerAccessor + namespace SwipeGestureHandlerAccessor { + void DestroyPeerImpl(SwipeGestureHandlerPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl(const Opt_SwipeGestureHandlerOptions* options) + { + return new SwipeGestureHandlerPeer(options); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_NativePointer OnActionImpl(SwipeGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + return nullptr; + } + } // SwipeGestureHandlerAccessor + namespace PinchGestureHandlerAccessor { + void DestroyPeerImpl(PinchGestureHandlerPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl(const Opt_PinchGestureHandlerOptions* options) + { + return new PinchGestureHandlerPeer(options); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_NativePointer OnActionStartImpl(PinchGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + return nullptr; + } + Ark_NativePointer OnActionUpdateImpl(PinchGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + return nullptr; + } + Ark_NativePointer OnActionEndImpl(PinchGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + return nullptr; + } + Ark_NativePointer OnActionCancelImpl(PinchGestureHandlerPeer* peer, + const Callback_Void* event) + { + return nullptr; + } + } // PinchGestureHandlerAccessor + namespace RotationGestureHandlerAccessor { + void DestroyPeerImpl(RotationGestureHandlerPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl(const Opt_RotationGestureHandlerOptions* options) + { + return new RotationGestureHandlerPeer(options); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_NativePointer OnActionStartImpl(RotationGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + return nullptr; + } + Ark_NativePointer OnActionUpdateImpl(RotationGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + return nullptr; + } + Ark_NativePointer OnActionEndImpl(RotationGestureHandlerPeer* peer, + const Callback_GestureEvent_Void* event) + { + return nullptr; + } + Ark_NativePointer OnActionCancelImpl(RotationGestureHandlerPeer* peer, + const Callback_Void* event) + { + return nullptr; + } + } // RotationGestureHandlerAccessor namespace ScrollableTargetInfoAccessor { void DestroyPeerImpl(ScrollableTargetInfoPeer* peer) { @@ -15421,6 +15719,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct DrawingCanvasPeer { virtual ~DrawingCanvasPeer() = default; }; + const GENERATED_ArkUIWebviewControllerAccessor* GetWebviewControllerAccessor() + { + static const GENERATED_ArkUIWebviewControllerAccessor WebviewControllerAccessorImpl { + WebviewControllerAccessor::DestroyPeerImpl, + WebviewControllerAccessor::CtorImpl, + WebviewControllerAccessor::GetFinalizerImpl, + WebviewControllerAccessor::InitializeWebEngineImpl, + WebviewControllerAccessor::LoadUrlImpl, + }; + return &WebviewControllerAccessorImpl; + } + + struct WebviewControllerPeer { + virtual ~WebviewControllerPeer() = default; + }; const GENERATED_ArkUIFrameNodeAccessor* GetFrameNodeAccessor() { static const GENERATED_ArkUIFrameNodeAccessor FrameNodeAccessorImpl { @@ -15439,6 +15752,8 @@ namespace OHOS::Ace::NG::GeneratedModifier { FrameNodeAccessor::GetParentImpl, FrameNodeAccessor::GetChildrenCountImpl, FrameNodeAccessor::DisposeImpl, + FrameNodeAccessor::GetOpacityImpl, + FrameNodeAccessor::GetPositionToWindowWithTransformImpl, }; return &FrameNodeAccessorImpl; } @@ -16405,6 +16720,116 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct PanGestureOptionsPeer { virtual ~PanGestureOptionsPeer() = default; }; + const GENERATED_ArkUIGestureHandlerAccessor* GetGestureHandlerAccessor() + { + static const GENERATED_ArkUIGestureHandlerAccessor GestureHandlerAccessorImpl { + GestureHandlerAccessor::DestroyPeerImpl, + GestureHandlerAccessor::CtorImpl, + GestureHandlerAccessor::GetFinalizerImpl, + GestureHandlerAccessor::TagImpl, + GestureHandlerAccessor::AllowedTypesImpl, + }; + return &GestureHandlerAccessorImpl; + } + + struct GestureHandlerPeer { + virtual ~GestureHandlerPeer() = default; + }; + const GENERATED_ArkUITapGestureHandlerAccessor* GetTapGestureHandlerAccessor() + { + static const GENERATED_ArkUITapGestureHandlerAccessor TapGestureHandlerAccessorImpl { + TapGestureHandlerAccessor::DestroyPeerImpl, + TapGestureHandlerAccessor::CtorImpl, + TapGestureHandlerAccessor::GetFinalizerImpl, + TapGestureHandlerAccessor::OnActionImpl, + }; + return &TapGestureHandlerAccessorImpl; + } + + struct TapGestureHandlerPeer { + virtual ~TapGestureHandlerPeer() = default; + }; + const GENERATED_ArkUILongPressGestureHandlerAccessor* GetLongPressGestureHandlerAccessor() + { + static const GENERATED_ArkUILongPressGestureHandlerAccessor LongPressGestureHandlerAccessorImpl { + LongPressGestureHandlerAccessor::DestroyPeerImpl, + LongPressGestureHandlerAccessor::CtorImpl, + LongPressGestureHandlerAccessor::GetFinalizerImpl, + LongPressGestureHandlerAccessor::OnActionImpl, + LongPressGestureHandlerAccessor::OnActionEndImpl, + LongPressGestureHandlerAccessor::OnActionCancelImpl, + }; + return &LongPressGestureHandlerAccessorImpl; + } + + struct LongPressGestureHandlerPeer { + virtual ~LongPressGestureHandlerPeer() = default; + }; + const GENERATED_ArkUIPanGestureHandlerAccessor* GetPanGestureHandlerAccessor() + { + static const GENERATED_ArkUIPanGestureHandlerAccessor PanGestureHandlerAccessorImpl { + PanGestureHandlerAccessor::DestroyPeerImpl, + PanGestureHandlerAccessor::CtorImpl, + PanGestureHandlerAccessor::GetFinalizerImpl, + PanGestureHandlerAccessor::OnActionStartImpl, + PanGestureHandlerAccessor::OnActionUpdateImpl, + PanGestureHandlerAccessor::OnActionEndImpl, + PanGestureHandlerAccessor::OnActionCancelImpl, + }; + return &PanGestureHandlerAccessorImpl; + } + + struct PanGestureHandlerPeer { + virtual ~PanGestureHandlerPeer() = default; + }; + const GENERATED_ArkUISwipeGestureHandlerAccessor* GetSwipeGestureHandlerAccessor() + { + static const GENERATED_ArkUISwipeGestureHandlerAccessor SwipeGestureHandlerAccessorImpl { + SwipeGestureHandlerAccessor::DestroyPeerImpl, + SwipeGestureHandlerAccessor::CtorImpl, + SwipeGestureHandlerAccessor::GetFinalizerImpl, + SwipeGestureHandlerAccessor::OnActionImpl, + }; + return &SwipeGestureHandlerAccessorImpl; + } + + struct SwipeGestureHandlerPeer { + virtual ~SwipeGestureHandlerPeer() = default; + }; + const GENERATED_ArkUIPinchGestureHandlerAccessor* GetPinchGestureHandlerAccessor() + { + static const GENERATED_ArkUIPinchGestureHandlerAccessor PinchGestureHandlerAccessorImpl { + PinchGestureHandlerAccessor::DestroyPeerImpl, + PinchGestureHandlerAccessor::CtorImpl, + PinchGestureHandlerAccessor::GetFinalizerImpl, + PinchGestureHandlerAccessor::OnActionStartImpl, + PinchGestureHandlerAccessor::OnActionUpdateImpl, + PinchGestureHandlerAccessor::OnActionEndImpl, + PinchGestureHandlerAccessor::OnActionCancelImpl, + }; + return &PinchGestureHandlerAccessorImpl; + } + + struct PinchGestureHandlerPeer { + virtual ~PinchGestureHandlerPeer() = default; + }; + const GENERATED_ArkUIRotationGestureHandlerAccessor* GetRotationGestureHandlerAccessor() + { + static const GENERATED_ArkUIRotationGestureHandlerAccessor RotationGestureHandlerAccessorImpl { + RotationGestureHandlerAccessor::DestroyPeerImpl, + RotationGestureHandlerAccessor::CtorImpl, + RotationGestureHandlerAccessor::GetFinalizerImpl, + RotationGestureHandlerAccessor::OnActionStartImpl, + RotationGestureHandlerAccessor::OnActionUpdateImpl, + RotationGestureHandlerAccessor::OnActionEndImpl, + RotationGestureHandlerAccessor::OnActionCancelImpl, + }; + return &RotationGestureHandlerAccessorImpl; + } + + struct RotationGestureHandlerPeer { + virtual ~RotationGestureHandlerPeer() = default; + }; const GENERATED_ArkUIScrollableTargetInfoAccessor* GetScrollableTargetInfoAccessor() { static const GENERATED_ArkUIScrollableTargetInfoAccessor ScrollableTargetInfoAccessorImpl { @@ -17620,6 +18045,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetUnifiedDataAccessor, GetLazyForEachOpsAccessor, GetDrawingCanvasAccessor, + GetWebviewControllerAccessor, GetFrameNodeAccessor, GetPixelMapAccessor, GetNavExtenderAccessor, @@ -17668,6 +18094,13 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetSwipeGestureEventAccessor, GetGestureEventAccessor, GetPanGestureOptionsAccessor, + GetGestureHandlerAccessor, + GetTapGestureHandlerAccessor, + GetLongPressGestureHandlerAccessor, + GetPanGestureHandlerAccessor, + GetSwipeGestureHandlerAccessor, + GetPinchGestureHandlerAccessor, + GetRotationGestureHandlerAccessor, GetScrollableTargetInfoAccessor, GetEventTargetInfoAccessor, GetGestureRecognizerAccessor, diff --git a/arkoala/tools/peer-generator/package.json b/arkoala/tools/peer-generator/package.json index 6e81d1606..c05559876 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.17", + "idlize_version": "2.0.18", "api_version": "115", "input_dir": "../../arkui-common/interface_sdk-js/api/@internal/component/ets/,../../arkui-common/interface_sdk-js/api/global" }, -- Gitee From 70a11dd9ac7ffa8f101cc4ada614587fa3f76c05 Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Wed, 5 Feb 2025 11:54:52 +0300 Subject: [PATCH 2/9] Small typo Signed-off-by: Nikolay Igotti --- interop/src/cpp/types/signatures.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/interop/src/cpp/types/signatures.cc b/interop/src/cpp/types/signatures.cc index 3c7b315da..8fc6b3817 100644 --- a/interop/src/cpp/types/signatures.cc +++ b/interop/src/cpp/types/signatures.cc @@ -18,6 +18,7 @@ #include #include "signatures.h" +#include "interop-types.h" // For types with the same name on ets and jni #define KOALA_INTEROP_TYPEDEF(func, lang, CPP_TYPE, SIG_TYPE, CODE_TYPE) \ @@ -77,7 +78,7 @@ std::string sigType(const std::string &type) { #elif KOALA_USE_JAVA_VM KOALA_INTEROP_TYPEDEFS("sigType", "jni") #endif - fprintf(stderr, "Unhandled type: %s\n", type.c_str()); + INTEROP_FATAL("Unhandled type: %s\n", type.c_str()); return type; } @@ -87,8 +88,8 @@ std::string codeType(const std::string &type) { #elif KOALA_USE_JAVA_VM KOALA_INTEROP_TYPEDEFS("codeType", "jni") #endif - fprintf(stderr, "Unhandled type: %s\n", type.c_str()); - return type; + INTEROP_FATAL("Unhandled type: %s\n", type.c_str()); + return ""; } std::string convertType(const char* name, const char* koalaType) { -- Gitee From 5450dee043a6d7d55b51a56b8141851ad47dd525 Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Wed, 5 Feb 2025 13:17:48 +0300 Subject: [PATCH 3/9] Missed fiels Signed-off-by: Nikolay Igotti --- .../generated/ArkGestureControlNamespace.ts | 13 +++ .../ArkGestureHandlerMaterialized.ts | 58 ++++++++++++ .../ArkLongPressGestureHandlerMaterialized.ts | 82 ++++++++++++++++ .../ArkPanGestureHandlerMaterialized.ts | 94 +++++++++++++++++++ .../ArkPinchGestureHandlerMaterialized.ts | 94 +++++++++++++++++++ .../ArkRotationGestureHandlerMaterialized.ts | 94 +++++++++++++++++++ .../ArkSwipeGestureHandlerMaterialized.ts | 58 ++++++++++++ .../ArkTapGestureHandlerMaterialized.ts | 58 ++++++++++++ .../ArkWebviewControllerMaterialized.ts | 79 ++++++++++++++++ arkoala-arkts/arkui/src/generated/index.ts | 5 +- .../src/ArkGestureHandlerMaterialized.ts | 56 +++++++++++ .../ArkLongPressGestureHandlerMaterialized.ts | 80 ++++++++++++++++ .../src/ArkPanGestureHandlerMaterialized.ts | 92 ++++++++++++++++++ .../src/ArkPinchGestureHandlerMaterialized.ts | 92 ++++++++++++++++++ .../ArkRotationGestureHandlerMaterialized.ts | 92 ++++++++++++++++++ .../src/ArkSwipeGestureHandlerMaterialized.ts | 56 +++++++++++ .../src/ArkTapGestureHandlerMaterialized.ts | 56 +++++++++++ .../src/ArkWebviewControllerMaterialized.ts | 77 +++++++++++++++ 18 files changed, 1235 insertions(+), 1 deletion(-) create mode 100644 arkoala-arkts/arkui/src/generated/ArkGestureControlNamespace.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkGestureHandlerMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkLongPressGestureHandlerMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkPanGestureHandlerMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkPinchGestureHandlerMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkRotationGestureHandlerMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkSwipeGestureHandlerMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkTapGestureHandlerMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkWebviewControllerMaterialized.ts create mode 100644 arkoala/arkui/src/ArkGestureHandlerMaterialized.ts create mode 100644 arkoala/arkui/src/ArkLongPressGestureHandlerMaterialized.ts create mode 100644 arkoala/arkui/src/ArkPanGestureHandlerMaterialized.ts create mode 100644 arkoala/arkui/src/ArkPinchGestureHandlerMaterialized.ts create mode 100644 arkoala/arkui/src/ArkRotationGestureHandlerMaterialized.ts create mode 100644 arkoala/arkui/src/ArkSwipeGestureHandlerMaterialized.ts create mode 100644 arkoala/arkui/src/ArkTapGestureHandlerMaterialized.ts create mode 100644 arkoala/arkui/src/ArkWebviewControllerMaterialized.ts diff --git a/arkoala-arkts/arkui/src/generated/ArkGestureControlNamespace.ts b/arkoala-arkts/arkui/src/generated/ArkGestureControlNamespace.ts new file mode 100644 index 000000000..9190f2f6c --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkGestureControlNamespace.ts @@ -0,0 +1,13 @@ +import { int32, int64, float32 } from "@koalaui/common" +import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" +import { NodeAttach, remember } from "@koalaui/runtime" +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 +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkGestureHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGestureHandlerMaterialized.ts new file mode 100644 index 000000000..59f74bc0e --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkGestureHandlerMaterialized.ts @@ -0,0 +1,58 @@ +import { GestureInterface } from "./ArkGestureInterfaces" +import { SourceTool } from "./ArkCommonInterfaces" +import { INTERFACE_GestureHandler } from "./SyntheticDeclarations" +import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { unsafeCast } from "./shared/generated-utils" +import { CallbackKind } from "./peers/CallbackKind" +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class GestureHandler implements MaterializedBase { + peer?: Finalizable | undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._GestureHandler_ctor() + return retval + } + constructor() { + const ctorPtr : KPointer = GestureHandler.ctor() + this.peer = new Finalizable(ctorPtr, GestureHandler.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._GestureHandler_getFinalizer() + } + tag(tag: string): T { + const tag_casted = tag as (string) + return this.tag_serialize(tag_casted) + } + allowedTypes(types: Array): T { + const types_casted = types as (Array) + return this.allowedTypes_serialize(types_casted) + } + private tag_serialize(tag: string): T { + const retval = ArkUIGeneratedNativeModule._GestureHandler_tag(this.peer!.ptr, tag) + throw new Error("Object deserialization is not implemented.") + } + private allowedTypes_serialize(types: Array): T { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeInt32(types.length as int32) + for (let i = 0; i < types.length; i++) { + const types_element : SourceTool = types[i] + thisSerializer.writeInt32((types_element.valueOf() as int32)) + } + const retval = ArkUIGeneratedNativeModule._GestureHandler_allowedTypes(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + throw new Error("Object deserialization is not implemented.") + } +} +export class GestureHandlerInternal { + public static fromPtr(ptr: KPointer): GestureHandler { + const obj : GestureHandler = new GestureHandler() + obj.peer = new Finalizable(ptr, GestureHandler.getFinalizer()) + return obj + } +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkLongPressGestureHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkLongPressGestureHandlerMaterialized.ts new file mode 100644 index 000000000..a68c4f0b9 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkLongPressGestureHandlerMaterialized.ts @@ -0,0 +1,82 @@ +import { GestureHandler, GestureHandlerInternal } from "./ArkGestureHandlerMaterialized" +import { LongPressGestureHandlerOptions } from "./ArkGestureInterfaces" +import { Callback_GestureEvent_Void, Callback_Void, INTERFACE_LongPressGestureHandler } from "./SyntheticDeclarations" +import { GestureEvent, GestureEventInternal } from "./ArkGestureEventMaterialized" +import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { unsafeCast } from "./shared/generated-utils" +import { CallbackKind } from "./peers/CallbackKind" +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class LongPressGestureHandler extends GestureHandler implements MaterializedBase { + peer?: Finalizable | undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(options?: LongPressGestureHandlerOptions): KPointer { + const thisSerializer : Serializer = Serializer.hold() + let options_type : int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type as int32) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeLongPressGestureHandlerOptions(options_value) + } + const retval = ArkUIGeneratedNativeModule._LongPressGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + return retval + } + constructor(options?: LongPressGestureHandlerOptions) { + super() + const ctorPtr : KPointer = LongPressGestureHandler.ctor(options) + this.peer = new Finalizable(ctorPtr, LongPressGestureHandler.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._LongPressGestureHandler_getFinalizer() + } + onAction(event: ((event: GestureEvent) => void)): LongPressGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onAction_serialize(event_casted) + } + onActionEnd(event: ((event: GestureEvent) => void)): LongPressGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionEnd_serialize(event_casted) + } + onActionCancel(event: (() => void)): LongPressGestureHandler { + const event_casted = event as ((() => void)) + return this.onActionCancel_serialize(event_casted) + } + private onAction_serialize(event: ((event: GestureEvent) => void)): LongPressGestureHandler { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._LongPressGestureHandler_onAction(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj : LongPressGestureHandler = LongPressGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionEnd_serialize(event: ((event: GestureEvent) => void)): LongPressGestureHandler { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._LongPressGestureHandler_onActionEnd(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj : LongPressGestureHandler = LongPressGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionCancel_serialize(event: (() => void)): LongPressGestureHandler { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._LongPressGestureHandler_onActionCancel(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj : LongPressGestureHandler = LongPressGestureHandlerInternal.fromPtr(retval) + return obj + } +} +export class LongPressGestureHandlerInternal { + public static fromPtr(ptr: KPointer): LongPressGestureHandler { + const obj : LongPressGestureHandler = new LongPressGestureHandler(undefined) + obj.peer = new Finalizable(ptr, LongPressGestureHandler.getFinalizer()) + return obj + } +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkPanGestureHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPanGestureHandlerMaterialized.ts new file mode 100644 index 000000000..58d0611b9 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkPanGestureHandlerMaterialized.ts @@ -0,0 +1,94 @@ +import { GestureHandler, GestureHandlerInternal } from "./ArkGestureHandlerMaterialized" +import { PanGestureHandlerOptions } from "./ArkGestureInterfaces" +import { Callback_GestureEvent_Void, Callback_Void, INTERFACE_PanGestureHandler } from "./SyntheticDeclarations" +import { GestureEvent, GestureEventInternal } from "./ArkGestureEventMaterialized" +import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { unsafeCast } from "./shared/generated-utils" +import { CallbackKind } from "./peers/CallbackKind" +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class PanGestureHandler extends GestureHandler implements MaterializedBase { + peer?: Finalizable | undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(options?: PanGestureHandlerOptions): KPointer { + const thisSerializer : Serializer = Serializer.hold() + let options_type : int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type as int32) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writePanGestureHandlerOptions(options_value) + } + const retval = ArkUIGeneratedNativeModule._PanGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + return retval + } + constructor(options?: PanGestureHandlerOptions) { + super() + const ctorPtr : KPointer = PanGestureHandler.ctor(options) + this.peer = new Finalizable(ctorPtr, PanGestureHandler.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._PanGestureHandler_getFinalizer() + } + onActionStart(event: ((event: GestureEvent) => void)): PanGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionStart_serialize(event_casted) + } + onActionUpdate(event: ((event: GestureEvent) => void)): PanGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionUpdate_serialize(event_casted) + } + onActionEnd(event: ((event: GestureEvent) => void)): PanGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionEnd_serialize(event_casted) + } + onActionCancel(event: (() => void)): PanGestureHandler { + const event_casted = event as ((() => void)) + return this.onActionCancel_serialize(event_casted) + } + private onActionStart_serialize(event: ((event: GestureEvent) => void)): PanGestureHandler { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PanGestureHandler_onActionStart(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj : PanGestureHandler = PanGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionUpdate_serialize(event: ((event: GestureEvent) => void)): PanGestureHandler { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PanGestureHandler_onActionUpdate(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj : PanGestureHandler = PanGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionEnd_serialize(event: ((event: GestureEvent) => void)): PanGestureHandler { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PanGestureHandler_onActionEnd(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj : PanGestureHandler = PanGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionCancel_serialize(event: (() => void)): PanGestureHandler { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PanGestureHandler_onActionCancel(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj : PanGestureHandler = PanGestureHandlerInternal.fromPtr(retval) + return obj + } +} +export class PanGestureHandlerInternal { + public static fromPtr(ptr: KPointer): PanGestureHandler { + const obj : PanGestureHandler = new PanGestureHandler(undefined) + obj.peer = new Finalizable(ptr, PanGestureHandler.getFinalizer()) + return obj + } +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkPinchGestureHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPinchGestureHandlerMaterialized.ts new file mode 100644 index 000000000..c328b97f7 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkPinchGestureHandlerMaterialized.ts @@ -0,0 +1,94 @@ +import { GestureHandler, GestureHandlerInternal } from "./ArkGestureHandlerMaterialized" +import { PinchGestureHandlerOptions } from "./ArkGestureInterfaces" +import { Callback_GestureEvent_Void, Callback_Void, INTERFACE_PinchGestureHandler } from "./SyntheticDeclarations" +import { GestureEvent, GestureEventInternal } from "./ArkGestureEventMaterialized" +import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { unsafeCast } from "./shared/generated-utils" +import { CallbackKind } from "./peers/CallbackKind" +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class PinchGestureHandler extends GestureHandler implements MaterializedBase { + peer?: Finalizable | undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(options?: PinchGestureHandlerOptions): KPointer { + const thisSerializer : Serializer = Serializer.hold() + let options_type : int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type as int32) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writePinchGestureHandlerOptions(options_value) + } + const retval = ArkUIGeneratedNativeModule._PinchGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + return retval + } + constructor(options?: PinchGestureHandlerOptions) { + super() + const ctorPtr : KPointer = PinchGestureHandler.ctor(options) + this.peer = new Finalizable(ctorPtr, PinchGestureHandler.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._PinchGestureHandler_getFinalizer() + } + onActionStart(event: ((event: GestureEvent) => void)): PinchGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionStart_serialize(event_casted) + } + onActionUpdate(event: ((event: GestureEvent) => void)): PinchGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionUpdate_serialize(event_casted) + } + onActionEnd(event: ((event: GestureEvent) => void)): PinchGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionEnd_serialize(event_casted) + } + onActionCancel(event: (() => void)): PinchGestureHandler { + const event_casted = event as ((() => void)) + return this.onActionCancel_serialize(event_casted) + } + private onActionStart_serialize(event: ((event: GestureEvent) => void)): PinchGestureHandler { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PinchGestureHandler_onActionStart(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj : PinchGestureHandler = PinchGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionUpdate_serialize(event: ((event: GestureEvent) => void)): PinchGestureHandler { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PinchGestureHandler_onActionUpdate(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj : PinchGestureHandler = PinchGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionEnd_serialize(event: ((event: GestureEvent) => void)): PinchGestureHandler { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PinchGestureHandler_onActionEnd(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj : PinchGestureHandler = PinchGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionCancel_serialize(event: (() => void)): PinchGestureHandler { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PinchGestureHandler_onActionCancel(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj : PinchGestureHandler = PinchGestureHandlerInternal.fromPtr(retval) + return obj + } +} +export class PinchGestureHandlerInternal { + public static fromPtr(ptr: KPointer): PinchGestureHandler { + const obj : PinchGestureHandler = new PinchGestureHandler(undefined) + obj.peer = new Finalizable(ptr, PinchGestureHandler.getFinalizer()) + return obj + } +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkRotationGestureHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkRotationGestureHandlerMaterialized.ts new file mode 100644 index 000000000..007ff5bf6 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkRotationGestureHandlerMaterialized.ts @@ -0,0 +1,94 @@ +import { GestureHandler, GestureHandlerInternal } from "./ArkGestureHandlerMaterialized" +import { RotationGestureHandlerOptions } from "./ArkGestureInterfaces" +import { Callback_GestureEvent_Void, Callback_Void, INTERFACE_RotationGestureHandler } from "./SyntheticDeclarations" +import { GestureEvent, GestureEventInternal } from "./ArkGestureEventMaterialized" +import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { unsafeCast } from "./shared/generated-utils" +import { CallbackKind } from "./peers/CallbackKind" +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class RotationGestureHandler extends GestureHandler implements MaterializedBase { + peer?: Finalizable | undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(options?: RotationGestureHandlerOptions): KPointer { + const thisSerializer : Serializer = Serializer.hold() + let options_type : int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type as int32) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeRotationGestureHandlerOptions(options_value) + } + const retval = ArkUIGeneratedNativeModule._RotationGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + return retval + } + constructor(options?: RotationGestureHandlerOptions) { + super() + const ctorPtr : KPointer = RotationGestureHandler.ctor(options) + this.peer = new Finalizable(ctorPtr, RotationGestureHandler.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._RotationGestureHandler_getFinalizer() + } + onActionStart(event: ((event: GestureEvent) => void)): RotationGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionStart_serialize(event_casted) + } + onActionUpdate(event: ((event: GestureEvent) => void)): RotationGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionUpdate_serialize(event_casted) + } + onActionEnd(event: ((event: GestureEvent) => void)): RotationGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionEnd_serialize(event_casted) + } + onActionCancel(event: (() => void)): RotationGestureHandler { + const event_casted = event as ((() => void)) + return this.onActionCancel_serialize(event_casted) + } + private onActionStart_serialize(event: ((event: GestureEvent) => void)): RotationGestureHandler { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._RotationGestureHandler_onActionStart(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj : RotationGestureHandler = RotationGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionUpdate_serialize(event: ((event: GestureEvent) => void)): RotationGestureHandler { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._RotationGestureHandler_onActionUpdate(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj : RotationGestureHandler = RotationGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionEnd_serialize(event: ((event: GestureEvent) => void)): RotationGestureHandler { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._RotationGestureHandler_onActionEnd(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj : RotationGestureHandler = RotationGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionCancel_serialize(event: (() => void)): RotationGestureHandler { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._RotationGestureHandler_onActionCancel(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj : RotationGestureHandler = RotationGestureHandlerInternal.fromPtr(retval) + return obj + } +} +export class RotationGestureHandlerInternal { + public static fromPtr(ptr: KPointer): RotationGestureHandler { + const obj : RotationGestureHandler = new RotationGestureHandler(undefined) + obj.peer = new Finalizable(ptr, RotationGestureHandler.getFinalizer()) + return obj + } +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkSwipeGestureHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSwipeGestureHandlerMaterialized.ts new file mode 100644 index 000000000..09f1b2f51 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkSwipeGestureHandlerMaterialized.ts @@ -0,0 +1,58 @@ +import { GestureHandler, GestureHandlerInternal } from "./ArkGestureHandlerMaterialized" +import { SwipeGestureHandlerOptions } from "./ArkGestureInterfaces" +import { Callback_GestureEvent_Void, INTERFACE_SwipeGestureHandler } from "./SyntheticDeclarations" +import { GestureEvent, GestureEventInternal } from "./ArkGestureEventMaterialized" +import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { unsafeCast } from "./shared/generated-utils" +import { CallbackKind } from "./peers/CallbackKind" +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class SwipeGestureHandler extends GestureHandler implements MaterializedBase { + peer?: Finalizable | undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(options?: SwipeGestureHandlerOptions): KPointer { + const thisSerializer : Serializer = Serializer.hold() + let options_type : int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type as int32) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeSwipeGestureHandlerOptions(options_value) + } + const retval = ArkUIGeneratedNativeModule._SwipeGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + return retval + } + constructor(options?: SwipeGestureHandlerOptions) { + super() + const ctorPtr : KPointer = SwipeGestureHandler.ctor(options) + this.peer = new Finalizable(ctorPtr, SwipeGestureHandler.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._SwipeGestureHandler_getFinalizer() + } + onAction(event: ((event: GestureEvent) => void)): SwipeGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onAction_serialize(event_casted) + } + private onAction_serialize(event: ((event: GestureEvent) => void)): SwipeGestureHandler { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._SwipeGestureHandler_onAction(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj : SwipeGestureHandler = SwipeGestureHandlerInternal.fromPtr(retval) + return obj + } +} +export class SwipeGestureHandlerInternal { + public static fromPtr(ptr: KPointer): SwipeGestureHandler { + const obj : SwipeGestureHandler = new SwipeGestureHandler(undefined) + obj.peer = new Finalizable(ptr, SwipeGestureHandler.getFinalizer()) + return obj + } +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkTapGestureHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTapGestureHandlerMaterialized.ts new file mode 100644 index 000000000..142aa4136 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkTapGestureHandlerMaterialized.ts @@ -0,0 +1,58 @@ +import { GestureHandler, GestureHandlerInternal } from "./ArkGestureHandlerMaterialized" +import { TapGestureHandlerOptions } from "./ArkGestureInterfaces" +import { Callback_GestureEvent_Void, INTERFACE_TapGestureHandler } from "./SyntheticDeclarations" +import { GestureEvent, GestureEventInternal } from "./ArkGestureEventMaterialized" +import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { unsafeCast } from "./shared/generated-utils" +import { CallbackKind } from "./peers/CallbackKind" +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class TapGestureHandler extends GestureHandler implements MaterializedBase { + peer?: Finalizable | undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(options?: TapGestureHandlerOptions): KPointer { + const thisSerializer : Serializer = Serializer.hold() + let options_type : int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type as int32) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeTapGestureHandlerOptions(options_value) + } + const retval = ArkUIGeneratedNativeModule._TapGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + return retval + } + constructor(options?: TapGestureHandlerOptions) { + super() + const ctorPtr : KPointer = TapGestureHandler.ctor(options) + this.peer = new Finalizable(ctorPtr, TapGestureHandler.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._TapGestureHandler_getFinalizer() + } + onAction(event: ((event: GestureEvent) => void)): TapGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onAction_serialize(event_casted) + } + private onAction_serialize(event: ((event: GestureEvent) => void)): TapGestureHandler { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._TapGestureHandler_onAction(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj : TapGestureHandler = TapGestureHandlerInternal.fromPtr(retval) + return obj + } +} +export class TapGestureHandlerInternal { + public static fromPtr(ptr: KPointer): TapGestureHandler { + const obj : TapGestureHandler = new TapGestureHandler(undefined) + obj.peer = new Finalizable(ptr, TapGestureHandler.getFinalizer()) + return obj + } +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkWebviewControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebviewControllerMaterialized.ts new file mode 100644 index 000000000..9d2f45285 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkWebviewControllerMaterialized.ts @@ -0,0 +1,79 @@ +import { Resource } from "./ArkResourceInterfaces" +import { WebHeader } from "./ArkArkui-externalInterfaces" +import { INTERFACE_WebviewController } from "./SyntheticDeclarations" +import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { unsafeCast } from "./shared/generated-utils" +import { CallbackKind } from "./peers/CallbackKind" +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class WebviewController implements MaterializedBase { + peer?: Finalizable | undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._WebviewController_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 = WebviewController.ctor() + this.peer = new Finalizable(ctorPtr, WebviewController.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._WebviewController_getFinalizer() + } + static initializeWebEngine(): void { + WebviewController.initializeWebEngine_serialize() + return + } + loadUrl(url: string | Resource, headers?: Array): void { + const url_casted = url as (string | Resource) + const headers_casted = headers as (Array | undefined) + this.loadUrl_serialize(url_casted, headers_casted) + return + } + private static initializeWebEngine_serialize(): void { + ArkUIGeneratedNativeModule._WebviewController_initializeWebEngine() + } + private loadUrl_serialize(url: string | Resource, headers?: Array): void { + const thisSerializer : Serializer = Serializer.hold() + let url_type : int32 = RuntimeType.UNDEFINED + url_type = runtimeType(url) + if (((RuntimeType.STRING == url_type))) { + thisSerializer.writeInt8(0 as int32) + const url_0 = url as string + thisSerializer.writeString(url_0) + } + else if (((RuntimeType.OBJECT == url_type))) { + thisSerializer.writeInt8(1 as int32) + const url_1 = url as Resource + thisSerializer.writeResource(url_1) + } + let headers_type : int32 = RuntimeType.UNDEFINED + headers_type = runtimeType(headers) + thisSerializer.writeInt8(headers_type as int32) + if ((RuntimeType.UNDEFINED) != (headers_type)) { + const headers_value = headers! + thisSerializer.writeInt32(headers_value.length as int32) + for (let i = 0; i < headers_value.length; i++) { + const headers_value_element : WebHeader = headers_value[i] + thisSerializer.writeWebHeader(headers_value_element) + } + } + ArkUIGeneratedNativeModule._WebviewController_loadUrl(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } +} +export class WebviewControllerInternal { + public static fromPtr(ptr: KPointer): WebviewController { + const obj : WebviewController = new WebviewController() + obj.peer = new Finalizable(ptr, WebviewController.getFinalizer()) + return obj + } +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/index.ts b/arkoala-arkts/arkui/src/generated/index.ts index 8d68d5e1d..9e0ab19a7 100644 --- a/arkoala-arkts/arkui/src/generated/index.ts +++ b/arkoala-arkts/arkui/src/generated/index.ts @@ -248,4 +248,7 @@ export * from "./ArkUiExtensionComponentInterfaces" export * from "./ArkStyledStringInterfaces" export * from "./ArkLinearindicatorInterfaces" export * from "./ArkRawFileDescriptorInterfaces" -export * from "./GlobalScope" \ No newline at end of file +export * from "./GlobalScope" +export * from "./ArkNavPathStackMaterialized" +export * from "./ArkClickEventMaterialized" +export * from "./ArkTabsControllerMaterialized" diff --git a/arkoala/arkui/src/ArkGestureHandlerMaterialized.ts b/arkoala/arkui/src/ArkGestureHandlerMaterialized.ts new file mode 100644 index 000000000..8709125bb --- /dev/null +++ b/arkoala/arkui/src/ArkGestureHandlerMaterialized.ts @@ -0,0 +1,56 @@ +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { unsafeCast } from "./shared/generated-utils" +import { CallbackKind } from "./peers/CallbackKind" +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +export class GestureHandler implements MaterializedBase { + peer?: Finalizable | undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._GestureHandler_ctor() + return retval + } + constructor() { + const ctorPtr: KPointer = GestureHandler.ctor() + this.peer = new Finalizable(ctorPtr, GestureHandler.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._GestureHandler_getFinalizer() + } + tag(tag: string): T { + const tag_casted = tag as (string) + return this.tag_serialize(tag_casted) + } + allowedTypes(types: Array): T { + const types_casted = types as (Array) + return this.allowedTypes_serialize(types_casted) + } + private tag_serialize(tag: string): T { + const retval = ArkUIGeneratedNativeModule._GestureHandler_tag(this.peer!.ptr, tag) + throw new Error("Object deserialization is not implemented.") + } + private allowedTypes_serialize(types: Array): T { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeInt32(types.length) + for (let i = 0; i < types.length; i++) { + const types_element: SourceTool = types[i] + thisSerializer.writeInt32(types_element) + } + const retval = ArkUIGeneratedNativeModule._GestureHandler_allowedTypes(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + throw new Error("Object deserialization is not implemented.") + } +} +export class GestureHandlerInternal { + public static fromPtr(ptr: KPointer): GestureHandler { + const obj: GestureHandler = new GestureHandler() + obj.peer = new Finalizable(ptr, GestureHandler.getFinalizer()) + return obj + } +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkLongPressGestureHandlerMaterialized.ts b/arkoala/arkui/src/ArkLongPressGestureHandlerMaterialized.ts new file mode 100644 index 000000000..b3384ff21 --- /dev/null +++ b/arkoala/arkui/src/ArkLongPressGestureHandlerMaterialized.ts @@ -0,0 +1,80 @@ +import { GestureHandler } from "./ArkGestureHandlerMaterialized" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { unsafeCast } from "./shared/generated-utils" +import { CallbackKind } from "./peers/CallbackKind" +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +export class LongPressGestureHandler extends GestureHandler implements MaterializedBase { + peer?: Finalizable | undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(options?: LongPressGestureHandlerOptions): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeLongPressGestureHandlerOptions(options_value) + } + const retval = ArkUIGeneratedNativeModule._LongPressGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + return retval + } + constructor(options?: LongPressGestureHandlerOptions) { + super() + const ctorPtr: KPointer = LongPressGestureHandler.ctor(options) + this.peer = new Finalizable(ctorPtr, LongPressGestureHandler.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._LongPressGestureHandler_getFinalizer() + } + onAction(event: ((event: GestureEvent) => void)): LongPressGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onAction_serialize(event_casted) + } + onActionEnd(event: ((event: GestureEvent) => void)): LongPressGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionEnd_serialize(event_casted) + } + onActionCancel(event: (() => void)): LongPressGestureHandler { + const event_casted = event as ((() => void)) + return this.onActionCancel_serialize(event_casted) + } + private onAction_serialize(event: ((event: GestureEvent) => void)): LongPressGestureHandler { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._LongPressGestureHandler_onAction(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj: LongPressGestureHandler = LongPressGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionEnd_serialize(event: ((event: GestureEvent) => void)): LongPressGestureHandler { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._LongPressGestureHandler_onActionEnd(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj: LongPressGestureHandler = LongPressGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionCancel_serialize(event: (() => void)): LongPressGestureHandler { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._LongPressGestureHandler_onActionCancel(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj: LongPressGestureHandler = LongPressGestureHandlerInternal.fromPtr(retval) + return obj + } +} +export class LongPressGestureHandlerInternal { + public static fromPtr(ptr: KPointer): LongPressGestureHandler { + const obj: LongPressGestureHandler = new LongPressGestureHandler(undefined) + obj.peer = new Finalizable(ptr, LongPressGestureHandler.getFinalizer()) + return obj + } +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkPanGestureHandlerMaterialized.ts b/arkoala/arkui/src/ArkPanGestureHandlerMaterialized.ts new file mode 100644 index 000000000..ed15574c6 --- /dev/null +++ b/arkoala/arkui/src/ArkPanGestureHandlerMaterialized.ts @@ -0,0 +1,92 @@ +import { GestureHandler } from "./ArkGestureHandlerMaterialized" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { unsafeCast } from "./shared/generated-utils" +import { CallbackKind } from "./peers/CallbackKind" +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +export class PanGestureHandler extends GestureHandler implements MaterializedBase { + peer?: Finalizable | undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(options?: PanGestureHandlerOptions): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writePanGestureHandlerOptions(options_value) + } + const retval = ArkUIGeneratedNativeModule._PanGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + return retval + } + constructor(options?: PanGestureHandlerOptions) { + super() + const ctorPtr: KPointer = PanGestureHandler.ctor(options) + this.peer = new Finalizable(ctorPtr, PanGestureHandler.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._PanGestureHandler_getFinalizer() + } + onActionStart(event: ((event: GestureEvent) => void)): PanGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionStart_serialize(event_casted) + } + onActionUpdate(event: ((event: GestureEvent) => void)): PanGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionUpdate_serialize(event_casted) + } + onActionEnd(event: ((event: GestureEvent) => void)): PanGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionEnd_serialize(event_casted) + } + onActionCancel(event: (() => void)): PanGestureHandler { + const event_casted = event as ((() => void)) + return this.onActionCancel_serialize(event_casted) + } + private onActionStart_serialize(event: ((event: GestureEvent) => void)): PanGestureHandler { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PanGestureHandler_onActionStart(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj: PanGestureHandler = PanGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionUpdate_serialize(event: ((event: GestureEvent) => void)): PanGestureHandler { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PanGestureHandler_onActionUpdate(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj: PanGestureHandler = PanGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionEnd_serialize(event: ((event: GestureEvent) => void)): PanGestureHandler { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PanGestureHandler_onActionEnd(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj: PanGestureHandler = PanGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionCancel_serialize(event: (() => void)): PanGestureHandler { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PanGestureHandler_onActionCancel(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj: PanGestureHandler = PanGestureHandlerInternal.fromPtr(retval) + return obj + } +} +export class PanGestureHandlerInternal { + public static fromPtr(ptr: KPointer): PanGestureHandler { + const obj: PanGestureHandler = new PanGestureHandler(undefined) + obj.peer = new Finalizable(ptr, PanGestureHandler.getFinalizer()) + return obj + } +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkPinchGestureHandlerMaterialized.ts b/arkoala/arkui/src/ArkPinchGestureHandlerMaterialized.ts new file mode 100644 index 000000000..6e4479909 --- /dev/null +++ b/arkoala/arkui/src/ArkPinchGestureHandlerMaterialized.ts @@ -0,0 +1,92 @@ +import { GestureHandler } from "./ArkGestureHandlerMaterialized" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { unsafeCast } from "./shared/generated-utils" +import { CallbackKind } from "./peers/CallbackKind" +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +export class PinchGestureHandler extends GestureHandler implements MaterializedBase { + peer?: Finalizable | undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(options?: PinchGestureHandlerOptions): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writePinchGestureHandlerOptions(options_value) + } + const retval = ArkUIGeneratedNativeModule._PinchGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + return retval + } + constructor(options?: PinchGestureHandlerOptions) { + super() + const ctorPtr: KPointer = PinchGestureHandler.ctor(options) + this.peer = new Finalizable(ctorPtr, PinchGestureHandler.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._PinchGestureHandler_getFinalizer() + } + onActionStart(event: ((event: GestureEvent) => void)): PinchGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionStart_serialize(event_casted) + } + onActionUpdate(event: ((event: GestureEvent) => void)): PinchGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionUpdate_serialize(event_casted) + } + onActionEnd(event: ((event: GestureEvent) => void)): PinchGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionEnd_serialize(event_casted) + } + onActionCancel(event: (() => void)): PinchGestureHandler { + const event_casted = event as ((() => void)) + return this.onActionCancel_serialize(event_casted) + } + private onActionStart_serialize(event: ((event: GestureEvent) => void)): PinchGestureHandler { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PinchGestureHandler_onActionStart(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj: PinchGestureHandler = PinchGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionUpdate_serialize(event: ((event: GestureEvent) => void)): PinchGestureHandler { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PinchGestureHandler_onActionUpdate(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj: PinchGestureHandler = PinchGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionEnd_serialize(event: ((event: GestureEvent) => void)): PinchGestureHandler { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PinchGestureHandler_onActionEnd(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj: PinchGestureHandler = PinchGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionCancel_serialize(event: (() => void)): PinchGestureHandler { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._PinchGestureHandler_onActionCancel(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj: PinchGestureHandler = PinchGestureHandlerInternal.fromPtr(retval) + return obj + } +} +export class PinchGestureHandlerInternal { + public static fromPtr(ptr: KPointer): PinchGestureHandler { + const obj: PinchGestureHandler = new PinchGestureHandler(undefined) + obj.peer = new Finalizable(ptr, PinchGestureHandler.getFinalizer()) + return obj + } +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkRotationGestureHandlerMaterialized.ts b/arkoala/arkui/src/ArkRotationGestureHandlerMaterialized.ts new file mode 100644 index 000000000..b0e99a4a0 --- /dev/null +++ b/arkoala/arkui/src/ArkRotationGestureHandlerMaterialized.ts @@ -0,0 +1,92 @@ +import { GestureHandler } from "./ArkGestureHandlerMaterialized" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { unsafeCast } from "./shared/generated-utils" +import { CallbackKind } from "./peers/CallbackKind" +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +export class RotationGestureHandler extends GestureHandler implements MaterializedBase { + peer?: Finalizable | undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(options?: RotationGestureHandlerOptions): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeRotationGestureHandlerOptions(options_value) + } + const retval = ArkUIGeneratedNativeModule._RotationGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + return retval + } + constructor(options?: RotationGestureHandlerOptions) { + super() + const ctorPtr: KPointer = RotationGestureHandler.ctor(options) + this.peer = new Finalizable(ctorPtr, RotationGestureHandler.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._RotationGestureHandler_getFinalizer() + } + onActionStart(event: ((event: GestureEvent) => void)): RotationGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionStart_serialize(event_casted) + } + onActionUpdate(event: ((event: GestureEvent) => void)): RotationGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionUpdate_serialize(event_casted) + } + onActionEnd(event: ((event: GestureEvent) => void)): RotationGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onActionEnd_serialize(event_casted) + } + onActionCancel(event: (() => void)): RotationGestureHandler { + const event_casted = event as ((() => void)) + return this.onActionCancel_serialize(event_casted) + } + private onActionStart_serialize(event: ((event: GestureEvent) => void)): RotationGestureHandler { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._RotationGestureHandler_onActionStart(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj: RotationGestureHandler = RotationGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionUpdate_serialize(event: ((event: GestureEvent) => void)): RotationGestureHandler { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._RotationGestureHandler_onActionUpdate(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj: RotationGestureHandler = RotationGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionEnd_serialize(event: ((event: GestureEvent) => void)): RotationGestureHandler { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._RotationGestureHandler_onActionEnd(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj: RotationGestureHandler = RotationGestureHandlerInternal.fromPtr(retval) + return obj + } + private onActionCancel_serialize(event: (() => void)): RotationGestureHandler { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._RotationGestureHandler_onActionCancel(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj: RotationGestureHandler = RotationGestureHandlerInternal.fromPtr(retval) + return obj + } +} +export class RotationGestureHandlerInternal { + public static fromPtr(ptr: KPointer): RotationGestureHandler { + const obj: RotationGestureHandler = new RotationGestureHandler(undefined) + obj.peer = new Finalizable(ptr, RotationGestureHandler.getFinalizer()) + return obj + } +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkSwipeGestureHandlerMaterialized.ts b/arkoala/arkui/src/ArkSwipeGestureHandlerMaterialized.ts new file mode 100644 index 000000000..3465a03dd --- /dev/null +++ b/arkoala/arkui/src/ArkSwipeGestureHandlerMaterialized.ts @@ -0,0 +1,56 @@ +import { GestureHandler } from "./ArkGestureHandlerMaterialized" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { unsafeCast } from "./shared/generated-utils" +import { CallbackKind } from "./peers/CallbackKind" +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +export class SwipeGestureHandler extends GestureHandler implements MaterializedBase { + peer?: Finalizable | undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(options?: SwipeGestureHandlerOptions): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeSwipeGestureHandlerOptions(options_value) + } + const retval = ArkUIGeneratedNativeModule._SwipeGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + return retval + } + constructor(options?: SwipeGestureHandlerOptions) { + super() + const ctorPtr: KPointer = SwipeGestureHandler.ctor(options) + this.peer = new Finalizable(ctorPtr, SwipeGestureHandler.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._SwipeGestureHandler_getFinalizer() + } + onAction(event: ((event: GestureEvent) => void)): SwipeGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onAction_serialize(event_casted) + } + private onAction_serialize(event: ((event: GestureEvent) => void)): SwipeGestureHandler { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._SwipeGestureHandler_onAction(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj: SwipeGestureHandler = SwipeGestureHandlerInternal.fromPtr(retval) + return obj + } +} +export class SwipeGestureHandlerInternal { + public static fromPtr(ptr: KPointer): SwipeGestureHandler { + const obj: SwipeGestureHandler = new SwipeGestureHandler(undefined) + obj.peer = new Finalizable(ptr, SwipeGestureHandler.getFinalizer()) + return obj + } +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkTapGestureHandlerMaterialized.ts b/arkoala/arkui/src/ArkTapGestureHandlerMaterialized.ts new file mode 100644 index 000000000..f02c17e6b --- /dev/null +++ b/arkoala/arkui/src/ArkTapGestureHandlerMaterialized.ts @@ -0,0 +1,56 @@ +import { GestureHandler } from "./ArkGestureHandlerMaterialized" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { unsafeCast } from "./shared/generated-utils" +import { CallbackKind } from "./peers/CallbackKind" +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +export class TapGestureHandler extends GestureHandler implements MaterializedBase { + peer?: Finalizable | undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(options?: TapGestureHandlerOptions): KPointer { + const thisSerializer: Serializer = Serializer.hold() + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeTapGestureHandlerOptions(options_value) + } + const retval = ArkUIGeneratedNativeModule._TapGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + return retval + } + constructor(options?: TapGestureHandlerOptions) { + super() + const ctorPtr: KPointer = TapGestureHandler.ctor(options) + this.peer = new Finalizable(ctorPtr, TapGestureHandler.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._TapGestureHandler_getFinalizer() + } + onAction(event: ((event: GestureEvent) => void)): TapGestureHandler { + const event_casted = event as (((event: GestureEvent) => void)) + return this.onAction_serialize(event_casted) + } + private onAction_serialize(event: ((event: GestureEvent) => void)): TapGestureHandler { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.holdAndWriteCallback(event) + const retval = ArkUIGeneratedNativeModule._TapGestureHandler_onAction(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj: TapGestureHandler = TapGestureHandlerInternal.fromPtr(retval) + return obj + } +} +export class TapGestureHandlerInternal { + public static fromPtr(ptr: KPointer): TapGestureHandler { + const obj: TapGestureHandler = new TapGestureHandler(undefined) + obj.peer = new Finalizable(ptr, TapGestureHandler.getFinalizer()) + return obj + } +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkWebviewControllerMaterialized.ts b/arkoala/arkui/src/ArkWebviewControllerMaterialized.ts new file mode 100644 index 000000000..bf16dead3 --- /dev/null +++ b/arkoala/arkui/src/ArkWebviewControllerMaterialized.ts @@ -0,0 +1,77 @@ +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { unsafeCast } from "./shared/generated-utils" +import { CallbackKind } from "./peers/CallbackKind" +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +export class WebviewController implements MaterializedBase { + peer?: Finalizable | undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._WebviewController_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 = WebviewController.ctor() + this.peer = new Finalizable(ctorPtr, WebviewController.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._WebviewController_getFinalizer() + } + static initializeWebEngine(): void { + WebviewController.initializeWebEngine_serialize() + return + } + loadUrl(url: string | Resource, headers?: Array): void { + const url_casted = url as (string | Resource) + const headers_casted = headers as (Array | undefined) + this?.loadUrl_serialize(url_casted, headers_casted) + return + } + private static initializeWebEngine_serialize(): void { + ArkUIGeneratedNativeModule._WebviewController_initializeWebEngine() + } + private loadUrl_serialize(url: string | Resource, headers?: Array): void { + const thisSerializer: Serializer = Serializer.hold() + let url_type: int32 = RuntimeType.UNDEFINED + url_type = runtimeType(url) + if (((RuntimeType.STRING == url_type))) { + thisSerializer.writeInt8(0) + const url_0 = unsafeCast(url) + thisSerializer.writeString(url_0) + } + else if (((RuntimeType.OBJECT == url_type))) { + thisSerializer.writeInt8(1) + const url_1 = unsafeCast(url) + thisSerializer.writeResource(url_1) + } + let headers_type: int32 = RuntimeType.UNDEFINED + headers_type = runtimeType(headers) + thisSerializer.writeInt8(headers_type) + if ((RuntimeType.UNDEFINED) != (headers_type)) { + const headers_value = headers! + thisSerializer.writeInt32(headers_value.length) + for (let i = 0; i < headers_value.length; i++) { + const headers_value_element: WebHeader = headers_value[i] + thisSerializer.writeWebHeader(headers_value_element) + } + } + ArkUIGeneratedNativeModule._WebviewController_loadUrl(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } +} +export class WebviewControllerInternal { + public static fromPtr(ptr: KPointer): WebviewController { + const obj: WebviewController = new WebviewController() + obj.peer = new Finalizable(ptr, WebviewController.getFinalizer()) + return obj + } +} \ No newline at end of file -- Gitee From f793c6a86f77b0de26195a7330e654c7679e2155 Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Wed, 5 Feb 2025 16:33:35 +0300 Subject: [PATCH 4/9] Gneerate with 2.0.19 candidate Signed-off-by: Nikolay Igotti --- .../generated/ArkArkui-externalInterfaces.ts | 20 +- .../src/generated/ArkArkui-stubsInterfaces.ts | 5 - .../arkui/src/generated/ArkCommon.ts | 2 +- .../src/generated/ArkCommonInterfaces.ts | 9 +- .../src/generated/ArkDigitIndicatorBuilder.ts | 2 +- .../src/generated/ArkDotIndicatorBuilder.ts | 2 +- .../arkui/src/generated/ArkFlexInterfaces.ts | 2 +- .../arkui/src/generated/ArkFocusInterfaces.ts | 2 +- .../src/generated/ArkGestureInterfaces.ts | 14 + ...OhosArkuiComponentSnapshotMaterialized.ts} | 66 +- ...OhosArkuiPerformanceMonitorMaterialized.ts | 74 + .../src/generated/ArkIndicatorBuilder.ts | 2 +- .../generated/ArkLengthMetricsMaterialized.ts | 101 ++ .../generated/ArkLinearindicatorInterfaces.ts | 2 +- .../ArkLongPressGestureHandlerMaterialized.ts | 82 -- ...alized.ts => ArkMeasurableMaterialized.ts} | 71 +- .../src/generated/ArkNavigationInterfaces.ts | 3 +- .../ArkPanGestureHandlerMaterialized.ts | 94 -- .../src/generated/ArkPatternLockInterfaces.ts | 2 +- .../ArkPinchGestureHandlerMaterialized.ts | 94 -- .../ArkRotationGestureHandlerMaterialized.ts | 94 -- .../src/generated/ArkScrollInterfaces.ts | 2 +- arkoala-arkts/arkui/src/generated/ArkSpan.ts | 2 +- .../arkui/src/generated/ArkSpanInterfaces.ts | 2 +- .../generated/ArkStyledStringInterfaces.ts | 2 +- .../ArkTapGestureHandlerMaterialized.ts | 58 - arkoala-arkts/arkui/src/generated/ArkText.ts | 2 +- .../arkui/src/generated/ArkTextArea.ts | 2 +- .../src/generated/ArkTextAreaInterfaces.ts | 2 +- .../arkui/src/generated/ArkTextInterfaces.ts | 2 +- .../arkui/src/generated/ArkUnitsInterfaces.ts | 2 +- .../arkui/src/generated/EnumsImpl.ts | 12 + .../src/generated/SyntheticDeclarations.ts | 40 +- .../arkts/ArkUIGeneratedNativeModule.ts | 55 +- .../arkui/src/generated/arkts/type_check.ts | 36 +- arkoala-arkts/arkui/src/generated/index.ts | 4 +- .../src/generated/peers/ArkCommonPeer.ts | 4 +- .../arkui/src/generated/peers/ArkSpanPeer.ts | 2 +- .../src/generated/peers/ArkTextAreaPeer.ts | 2 +- .../arkui/src/generated/peers/ArkTextPeer.ts | 2 +- .../src/generated/peers/ArkUINodeType.ts | 118 -- .../peers/CallbackDeserializeCall.ts | 10 +- .../arkui/src/generated/peers/CallbackKind.ts | 1 + .../arkui/src/generated/peers/Deserializer.ts | 327 ++--- .../arkui/src/generated/peers/Serializer.ts | 299 ++-- .../arkui/src/generated/ts/NativeModule.ts | 4 - .../arkui/src/generated/ts/type_check.ts | 72 +- arkoala-arkts/arkui/types/index-full.d.ts | 29 +- arkoala/arkui-types/index-full.d.ts | 29 +- ...OhosArkuiComponentSnapshotMaterialized.ts} | 60 +- ...OhosArkuiPerformanceMonitorMaterialized.ts | 73 + .../arkui/src/ArkLengthMetricsMaterialized.ts | 99 ++ .../ArkLongPressGestureHandlerMaterialized.ts | 80 -- ...alized.ts => ArkMeasurableMaterialized.ts} | 59 +- .../src/ArkPanGestureHandlerMaterialized.ts | 92 -- .../src/ArkPinchGestureHandlerMaterialized.ts | 92 -- .../ArkRotationGestureHandlerMaterialized.ts | 92 -- .../src/ArkSwipeGestureHandlerMaterialized.ts | 56 - .../arkui/src/ArkUIGeneratedNativeModule.ts | 385 ++--- .../src/ArkUIGeneratedNativeModuleEmpty.ts | 214 ++- arkoala/arkui/src/EnumsImpl.ts | 14 + arkoala/arkui/src/peers/ArkCommonPeer.ts | 2 +- .../src/peers/CallbackDeserializeCall.ts | 7 + arkoala/arkui/src/peers/CallbackKind.ts | 1 + arkoala/arkui/src/peers/Deserializer.ts | 328 ++--- arkoala/arkui/src/peers/Serializer.ts | 300 ++-- .../native/src/generated/Serializers.h | 1259 ++++++----------- .../src/generated/arkoala_api_generated.h | 348 ++--- .../native/src/generated/bridge_generated.cc | 375 ++--- .../generated/callback_deserialize_call.cc | 20 + .../native/src/generated/callback_kind.h | 1 + .../src/generated/callback_managed_caller.cc | 22 + .../native/src/generated/dummy_impl.cc | 1159 +++++++-------- .../native/src/generated/real_impl.cc | 526 +++---- 74 files changed, 2807 insertions(+), 4722 deletions(-) delete mode 100644 arkoala-arkts/arkui/src/generated/ArkArkui-stubsInterfaces.ts rename arkoala-arkts/arkui/src/generated/{ArkSwipeGestureHandlerMaterialized.ts => ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized.ts} (35%) create mode 100644 arkoala-arkts/arkui/src/generated/ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized.ts create mode 100644 arkoala-arkts/arkui/src/generated/ArkLengthMetricsMaterialized.ts delete mode 100644 arkoala-arkts/arkui/src/generated/ArkLongPressGestureHandlerMaterialized.ts rename arkoala-arkts/arkui/src/generated/{ArkGestureHandlerMaterialized.ts => ArkMeasurableMaterialized.ts} (31%) delete mode 100644 arkoala-arkts/arkui/src/generated/ArkPanGestureHandlerMaterialized.ts delete mode 100644 arkoala-arkts/arkui/src/generated/ArkPinchGestureHandlerMaterialized.ts delete mode 100644 arkoala-arkts/arkui/src/generated/ArkRotationGestureHandlerMaterialized.ts delete mode 100644 arkoala-arkts/arkui/src/generated/ArkTapGestureHandlerMaterialized.ts delete mode 100644 arkoala-arkts/arkui/src/generated/peers/ArkUINodeType.ts delete mode 100644 arkoala-arkts/arkui/src/generated/ts/NativeModule.ts rename arkoala/arkui/src/{ArkTapGestureHandlerMaterialized.ts => ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized.ts} (39%) create mode 100644 arkoala/arkui/src/ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized.ts create mode 100644 arkoala/arkui/src/ArkLengthMetricsMaterialized.ts delete mode 100644 arkoala/arkui/src/ArkLongPressGestureHandlerMaterialized.ts rename arkoala/arkui/src/{ArkGestureHandlerMaterialized.ts => ArkMeasurableMaterialized.ts} (37%) delete mode 100644 arkoala/arkui/src/ArkPanGestureHandlerMaterialized.ts delete mode 100644 arkoala/arkui/src/ArkPinchGestureHandlerMaterialized.ts delete mode 100644 arkoala/arkui/src/ArkRotationGestureHandlerMaterialized.ts delete mode 100644 arkoala/arkui/src/ArkSwipeGestureHandlerMaterialized.ts diff --git a/arkoala-arkts/arkui/src/generated/ArkArkui-externalInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkArkui-externalInterfaces.ts index 868fa8f47..ce7bcc910 100644 --- a/arkoala-arkts/arkui/src/generated/ArkArkui-externalInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkArkui-externalInterfaces.ts @@ -36,11 +36,23 @@ export enum LengthUnit { PERCENT = 3, LPX = 4 } -export interface LengthMetrics { - unit: LengthUnit; - value: number; -} export interface WebHeader { headerKey: string; headerValue: string; +} +export interface SnapshotOptions { + scale?: number; + waitUntilRenderFinished?: boolean; +} +export enum PerfMonitorActionType { + LAST_DOWN = 0, + LAST_UP = 1, + FIRST_MOVE = 2 +} +export enum PerfMonitorSourceType { + PERF_TOUCH_EVENT = 0, + PERF_MOUSE_EVENT = 1, + PERF_TOUCHPAD_EVENT = 2, + PERF_JOYSTICK_EVENT = 3, + PERF_KEY_EVENT = 4 } \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkArkui-stubsInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkArkui-stubsInterfaces.ts deleted file mode 100644 index 9536646c4..000000000 --- a/arkoala-arkts/arkui/src/generated/ArkArkui-stubsInterfaces.ts +++ /dev/null @@ -1,5 +0,0 @@ -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/ArkCommon.ts b/arkoala-arkts/arkui/src/generated/ArkCommon.ts index 0f71682d4..92b37808d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCommon.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCommon.ts @@ -28,7 +28,7 @@ import { DrawModifier } from "./ArkDrawModifierMaterialized" 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_Number_Void } from "./SyntheticDeclarations" -import { LengthMetrics } from "./ArkArkui-externalInterfaces" +import { LengthMetrics } from "./ArkLengthMetricsMaterialized" import { ResizableOptions } from "./ArkImageInterfaces" import { Resource } from "./ArkResourceInterfaces" import { ClickEvent } from "./ArkClickEventMaterialized" diff --git a/arkoala-arkts/arkui/src/generated/ArkCommonInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkCommonInterfaces.ts index e902d2883..515443e15 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCommonInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCommonInterfaces.ts @@ -2,7 +2,7 @@ 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, 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 { 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 } 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_Number_Void } from "./SyntheticDeclarations" import { TransitionEffect } from "./ArkTransitionEffectMaterialized" @@ -11,8 +11,8 @@ import { ButtonType, ButtonStyleMode, ButtonRole } from "./ArkButtonInterfaces" import { Resource } from "./ArkResourceInterfaces" import { BaseGestureEvent } from "./ArkBaseGestureEventMaterialized" import { GestureRecognizer } from "./ArkGestureRecognizerMaterialized" -import { GestureJudgeResult, GestureInfo, GestureType, GestureMask, GesturePriority } from "./ArkGestureInterfaces" -import { LengthMetrics } from "./ArkArkui-externalInterfaces" +import { GestureJudgeResult, GestureInfo, GestureType, GestureMask, GestureHandler, GesturePriority } from "./ArkGestureInterfaces" +import { LengthMetrics } from "./ArkLengthMetricsMaterialized" import { DrawModifier } from "./ArkDrawModifierMaterialized" import { ResizableOptions } from "./ArkImageInterfaces" import { ClickEvent } from "./ArkClickEventMaterialized" @@ -32,7 +32,6 @@ import { GestureModifier } from "./ArkGestureModifierMaterialized" import { ScrollOnWillScrollCallback, ScrollOnScrollCallback } from "./ArkScrollInterfaces" import { ScrollState } from "./ArkListInterfaces" import { AccessibilityHoverEvent } from "./ArkAccessibilityHoverEventMaterialized" -import { GestureHandler } from "./ArkGestureHandlerMaterialized" export interface ComponentOptions { freezeWhenInactive: boolean; } @@ -985,8 +984,6 @@ export interface GeometryInfo extends SizeResult { export interface Layoutable { stub: string; } -export interface Measurable { -} export interface SizeResult { width: number; height: number; diff --git a/arkoala-arkts/arkui/src/generated/ArkDigitIndicatorBuilder.ts b/arkoala-arkts/arkui/src/generated/ArkDigitIndicatorBuilder.ts index 648aa8e9b..1e9187655 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDigitIndicatorBuilder.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDigitIndicatorBuilder.ts @@ -1,7 +1,7 @@ import { KBoolean, KStringPtr } from "@koalaui/interop" import { Indicator } from "./ArkIndicatorBuilder" import { ResourceColor, Font, Length } from "./ArkUnitsInterfaces" -import { LengthMetrics } from "./ArkArkui-externalInterfaces" +import { LengthMetrics } from "./ArkLengthMetricsMaterialized" import { DotIndicator } from "./ArkDotIndicatorBuilder" export class DigitIndicator { _left?: Length | undefined diff --git a/arkoala-arkts/arkui/src/generated/ArkDotIndicatorBuilder.ts b/arkoala-arkts/arkui/src/generated/ArkDotIndicatorBuilder.ts index 885acba78..b7348ed80 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDotIndicatorBuilder.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDotIndicatorBuilder.ts @@ -1,7 +1,7 @@ import { KBoolean, KStringPtr } from "@koalaui/interop" import { Indicator } from "./ArkIndicatorBuilder" import { Length, ResourceColor } from "./ArkUnitsInterfaces" -import { LengthMetrics } from "./ArkArkui-externalInterfaces" +import { LengthMetrics } from "./ArkLengthMetricsMaterialized" import { DigitIndicator } from "./ArkDigitIndicatorBuilder" export class DotIndicator { _left?: Length | undefined diff --git a/arkoala-arkts/arkui/src/generated/ArkFlexInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkFlexInterfaces.ts index f95398c89..d2b781c56 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFlexInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFlexInterfaces.ts @@ -2,7 +2,7 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { FlexDirection, FlexWrap, FlexAlign, ItemAlign } from "./ArkEnumsInterfaces" -import { LengthMetrics } from "./ArkArkui-externalInterfaces" +import { LengthMetrics } from "./ArkLengthMetricsMaterialized" import { CommonMethod, PointLightStyle } from "./ArkCommonInterfaces" export interface FlexOptions { direction?: FlexDirection; diff --git a/arkoala-arkts/arkui/src/generated/ArkFocusInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkFocusInterfaces.ts index 3fe96f4dc..562ba3f0a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFocusInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFocusInterfaces.ts @@ -1,7 +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" -import { LengthMetrics } from "./ArkArkui-externalInterfaces" +import { LengthMetrics } from "./ArkLengthMetricsMaterialized" import { ColorMetrics } from "./ArkUnitsInterfaces" export interface FocusBoxStyle { margin?: LengthMetrics; diff --git a/arkoala-arkts/arkui/src/generated/ArkGestureInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkGestureInterfaces.ts index 8bc02a2ba..1fb030fc4 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGestureInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGestureInterfaces.ts @@ -95,33 +95,47 @@ export interface RotationGestureInterface extends GestureInterface): GestureGroupInterface; } +export interface GestureHandler { +} export interface TapGestureHandlerOptions { count?: number; fingers?: number; } +export interface TapGestureHandler extends GestureHandler { +} export interface LongPressGestureHandlerOptions { fingers?: number; repeat?: boolean; duration?: number; } +export interface LongPressGestureHandler extends GestureHandler { +} export interface PanGestureHandlerOptions { fingers?: number; direction?: PanDirection; distance?: number; } +export interface PanGestureHandler extends GestureHandler { +} export interface SwipeGestureHandlerOptions { fingers?: number; direction?: SwipeDirection; speed?: number; } +export interface SwipeGestureHandler extends GestureHandler { +} export interface PinchGestureHandlerOptions { fingers?: number; distance?: number; } +export interface PinchGestureHandler extends GestureHandler { +} export interface RotationGestureHandlerOptions { fingers?: number; angle?: number; } +export interface RotationGestureHandler extends GestureHandler { +} export interface GestureGroupGestureHandlerOptions { stub: string; } diff --git a/arkoala-arkts/arkui/src/generated/ArkSwipeGestureHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized.ts similarity index 35% rename from arkoala-arkts/arkui/src/generated/ArkSwipeGestureHandlerMaterialized.ts rename to arkoala-arkts/arkui/src/generated/ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized.ts index 09f1b2f51..4aff991b7 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSwipeGestureHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized.ts @@ -1,7 +1,6 @@ -import { GestureHandler, GestureHandlerInternal } from "./ArkGestureHandlerMaterialized" -import { SwipeGestureHandlerOptions } from "./ArkGestureInterfaces" -import { Callback_GestureEvent_Void, INTERFACE_SwipeGestureHandler } from "./SyntheticDeclarations" -import { GestureEvent, GestureEventInternal } from "./ArkGestureEventMaterialized" +import { AsyncCallback_image_PixelMap_Void, INTERFACE_GlobalScope_ohos_arkui_componentSnapshot } from "./SyntheticDeclarations" +import { PixelMap, PixelMapInternal } from "./ArkPixelMapMaterialized" +import { SnapshotOptions } from "./ArkArkui-externalInterfaces" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -10,49 +9,50 @@ import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" import { int32 } from "@koalaui/common" import { CallbackTransformer } from "./peers/CallbackTransformer" -export class SwipeGestureHandler extends GestureHandler implements MaterializedBase { +export class GlobalScope_ohos_arkui_componentSnapshot implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor(options?: SwipeGestureHandlerOptions): KPointer { - const thisSerializer : Serializer = Serializer.hold() - let options_type : int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeSwipeGestureHandlerOptions(options_value) - } - const retval = ArkUIGeneratedNativeModule._SwipeGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._GlobalScope_ohos_arkui_componentSnapshot_ctor() return retval } - constructor(options?: SwipeGestureHandlerOptions) { - super() - const ctorPtr : KPointer = SwipeGestureHandler.ctor(options) - this.peer = new Finalizable(ctorPtr, SwipeGestureHandler.getFinalizer()) + 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_ohos_arkui_componentSnapshot.ctor() + this.peer = new Finalizable(ctorPtr, GlobalScope_ohos_arkui_componentSnapshot.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._SwipeGestureHandler_getFinalizer() + return ArkUIGeneratedNativeModule._GlobalScope_ohos_arkui_componentSnapshot_getFinalizer() } - onAction(event: ((event: GestureEvent) => void)): SwipeGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onAction_serialize(event_casted) + static get(id: string, callback: ((result: PixelMap) => void), options?: SnapshotOptions): void { + const id_casted = id as (string) + const callback_casted = callback as (((result: PixelMap) => void)) + const options_casted = options as (SnapshotOptions | undefined) + GlobalScope_ohos_arkui_componentSnapshot.get_serialize(id_casted, callback_casted, options_casted) + return } - private onAction_serialize(event: ((event: GestureEvent) => void)): SwipeGestureHandler { + private static get_serialize(id: string, callback: ((result: PixelMap) => void), options?: SnapshotOptions): void { const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._SwipeGestureHandler_onAction(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.holdAndWriteCallback(callback) + let options_type : int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type as int32) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeSnapshotOptions(options_value) + } + ArkUIGeneratedNativeModule._GlobalScope_ohos_arkui_componentSnapshot_get(id, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() - const obj : SwipeGestureHandler = SwipeGestureHandlerInternal.fromPtr(retval) - return obj } } -export class SwipeGestureHandlerInternal { - public static fromPtr(ptr: KPointer): SwipeGestureHandler { - const obj : SwipeGestureHandler = new SwipeGestureHandler(undefined) - obj.peer = new Finalizable(ptr, SwipeGestureHandler.getFinalizer()) +export class GlobalScope_ohos_arkui_componentSnapshotInternal { + public static fromPtr(ptr: KPointer): GlobalScope_ohos_arkui_componentSnapshot { + const obj : GlobalScope_ohos_arkui_componentSnapshot = new GlobalScope_ohos_arkui_componentSnapshot() + obj.peer = new Finalizable(ptr, GlobalScope_ohos_arkui_componentSnapshot.getFinalizer()) return obj } } \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized.ts new file mode 100644 index 000000000..b4abe21a4 --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized.ts @@ -0,0 +1,74 @@ +import { PerfMonitorActionType, PerfMonitorSourceType } from "./ArkArkui-externalInterfaces" +import { INTERFACE_GlobalScope_ohos_arkui_performanceMonitor } from "./SyntheticDeclarations" +import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { unsafeCast } from "./shared/generated-utils" +import { CallbackKind } from "./peers/CallbackKind" +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class GlobalScope_ohos_arkui_performanceMonitor implements MaterializedBase { + peer?: Finalizable | undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._GlobalScope_ohos_arkui_performanceMonitor_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_ohos_arkui_performanceMonitor.ctor() + this.peer = new Finalizable(ctorPtr, GlobalScope_ohos_arkui_performanceMonitor.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._GlobalScope_ohos_arkui_performanceMonitor_getFinalizer() + } + static begin(scene: string, startInputType: PerfMonitorActionType, note?: string): void { + const scene_casted = scene as (string) + const startInputType_casted = startInputType as (PerfMonitorActionType) + const note_casted = note as (string | undefined) + GlobalScope_ohos_arkui_performanceMonitor.begin_serialize(scene_casted, startInputType_casted, note_casted) + return + } + static end(scene: string): void { + const scene_casted = scene as (string) + GlobalScope_ohos_arkui_performanceMonitor.end_serialize(scene_casted) + return + } + static recordInputEventTime(type: PerfMonitorActionType, sourceType: PerfMonitorSourceType, time: number): void { + const type_casted = type as (PerfMonitorActionType) + const sourceType_casted = sourceType as (PerfMonitorSourceType) + const time_casted = time as (number) + GlobalScope_ohos_arkui_performanceMonitor.recordInputEventTime_serialize(type_casted, sourceType_casted, time_casted) + return + } + private static begin_serialize(scene: string, startInputType: PerfMonitorActionType, note?: string): void { + const thisSerializer : Serializer = Serializer.hold() + let note_type : int32 = RuntimeType.UNDEFINED + note_type = runtimeType(note) + thisSerializer.writeInt8(note_type as int32) + if ((RuntimeType.UNDEFINED) != (note_type)) { + const note_value = note! + thisSerializer.writeString(note_value) + } + ArkUIGeneratedNativeModule._GlobalScope_ohos_arkui_performanceMonitor_begin(scene, (startInputType.valueOf() as int32), thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private static end_serialize(scene: string): void { + ArkUIGeneratedNativeModule._GlobalScope_ohos_arkui_performanceMonitor_end(scene) + } + private static recordInputEventTime_serialize(type: PerfMonitorActionType, sourceType: PerfMonitorSourceType, time: number): void { + ArkUIGeneratedNativeModule._GlobalScope_ohos_arkui_performanceMonitor_recordInputEventTime((type.valueOf() as int32), (sourceType.valueOf() as int32), time) + } +} +export class GlobalScope_ohos_arkui_performanceMonitorInternal { + public static fromPtr(ptr: KPointer): GlobalScope_ohos_arkui_performanceMonitor { + const obj : GlobalScope_ohos_arkui_performanceMonitor = new GlobalScope_ohos_arkui_performanceMonitor() + obj.peer = new Finalizable(ptr, GlobalScope_ohos_arkui_performanceMonitor.getFinalizer()) + return obj + } +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkIndicatorBuilder.ts b/arkoala-arkts/arkui/src/generated/ArkIndicatorBuilder.ts index e66ce738d..591b41544 100644 --- a/arkoala-arkts/arkui/src/generated/ArkIndicatorBuilder.ts +++ b/arkoala-arkts/arkui/src/generated/ArkIndicatorBuilder.ts @@ -1,6 +1,6 @@ import { KBoolean, KStringPtr } from "@koalaui/interop" import { Length } from "./ArkUnitsInterfaces" -import { LengthMetrics } from "./ArkArkui-externalInterfaces" +import { LengthMetrics } from "./ArkLengthMetricsMaterialized" import { DotIndicator } from "./ArkDotIndicatorBuilder" import { DigitIndicator } from "./ArkDigitIndicatorBuilder" export class Indicator { diff --git a/arkoala-arkts/arkui/src/generated/ArkLengthMetricsMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkLengthMetricsMaterialized.ts new file mode 100644 index 000000000..85f140fbc --- /dev/null +++ b/arkoala-arkts/arkui/src/generated/ArkLengthMetricsMaterialized.ts @@ -0,0 +1,101 @@ +import { LengthUnit } from "./ArkArkui-externalInterfaces" +import { Resource } from "./ArkResourceInterfaces" +import { INTERFACE_LengthMetrics } from "./SyntheticDeclarations" +import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { unsafeCast } from "./shared/generated-utils" +import { CallbackKind } from "./peers/CallbackKind" +import { int32 } from "@koalaui/common" +import { CallbackTransformer } from "./peers/CallbackTransformer" +export class LengthMetrics implements MaterializedBase { + peer?: Finalizable | undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + get unit(): LengthUnit { + return this.getUnit() + } + set unit(unit: LengthUnit) { + this.setUnit(unit) + } + get value(): number { + return this.getValue() + } + set value(value: number) { + this.setValue(value) + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._LengthMetrics_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 = LengthMetrics.ctor() + this.peer = new Finalizable(ctorPtr, LengthMetrics.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._LengthMetrics_getFinalizer() + } + static px(value: number): LengthMetrics { + const value_casted = value as (number) + return LengthMetrics.px_serialize(value_casted) + } + static resource(value: Resource): LengthMetrics { + const value_casted = value as (Resource) + return LengthMetrics.resource_serialize(value_casted) + } + private getUnit(): LengthUnit { + return this.getUnit_serialize() + } + private setUnit(unit: LengthUnit): void { + const unit_casted = unit as (LengthUnit) + this.setUnit_serialize(unit_casted) + return + } + private getValue(): number { + return this.getValue_serialize() + } + private setValue(value: number): void { + const value_casted = value as (number) + this.setValue_serialize(value_casted) + return + } + private static px_serialize(value: number): LengthMetrics { + const retval = ArkUIGeneratedNativeModule._LengthMetrics_px(value) + const obj : LengthMetrics = LengthMetricsInternal.fromPtr(retval) + return obj + } + private static resource_serialize(value: Resource): LengthMetrics { + const thisSerializer : Serializer = Serializer.hold() + thisSerializer.writeResource(value) + const retval = ArkUIGeneratedNativeModule._LengthMetrics_resource(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj : LengthMetrics = LengthMetricsInternal.fromPtr(retval) + return obj + } + private getUnit_serialize(): LengthUnit { + const retval = ArkUIGeneratedNativeModule._LengthMetrics_getUnit(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setUnit_serialize(unit: LengthUnit): void { + ArkUIGeneratedNativeModule._LengthMetrics_setUnit(this.peer!.ptr, (unit.valueOf() as int32)) + } + private getValue_serialize(): number { + const retval = ArkUIGeneratedNativeModule._LengthMetrics_getValue(this.peer!.ptr) + return retval + } + private setValue_serialize(value: number): void { + ArkUIGeneratedNativeModule._LengthMetrics_setValue(this.peer!.ptr, value) + } +} +export class LengthMetricsInternal { + public static fromPtr(ptr: KPointer): LengthMetrics { + const obj : LengthMetrics = new LengthMetrics() + obj.peer = new Finalizable(ptr, LengthMetrics.getFinalizer()) + return obj + } +} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkLinearindicatorInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkLinearindicatorInterfaces.ts index 374ff6e91..a8b81f2be 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLinearindicatorInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLinearindicatorInterfaces.ts @@ -1,7 +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" -import { LengthMetrics } from "./ArkArkui-externalInterfaces" +import { LengthMetrics } from "./ArkLengthMetricsMaterialized" import { ColorMetrics } from "./ArkUnitsInterfaces" import { LinearIndicatorController } from "./ArkLinearIndicatorControllerMaterialized" import { CommonMethod } from "./ArkCommonInterfaces" diff --git a/arkoala-arkts/arkui/src/generated/ArkLongPressGestureHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkLongPressGestureHandlerMaterialized.ts deleted file mode 100644 index a68c4f0b9..000000000 --- a/arkoala-arkts/arkui/src/generated/ArkLongPressGestureHandlerMaterialized.ts +++ /dev/null @@ -1,82 +0,0 @@ -import { GestureHandler, GestureHandlerInternal } from "./ArkGestureHandlerMaterialized" -import { LongPressGestureHandlerOptions } from "./ArkGestureInterfaces" -import { Callback_GestureEvent_Void, Callback_Void, INTERFACE_LongPressGestureHandler } from "./SyntheticDeclarations" -import { GestureEvent, GestureEventInternal } from "./ArkGestureEventMaterialized" -import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" -import { MaterializedBase } from "./MaterializedBase" -import { Serializer } from "./peers/Serializer" -import { unsafeCast } from "./shared/generated-utils" -import { CallbackKind } from "./peers/CallbackKind" -import { int32 } from "@koalaui/common" -import { CallbackTransformer } from "./peers/CallbackTransformer" -export class LongPressGestureHandler extends GestureHandler implements MaterializedBase { - peer?: Finalizable | undefined - public getPeer(): Finalizable | undefined { - return this.peer - } - static ctor(options?: LongPressGestureHandlerOptions): KPointer { - const thisSerializer : Serializer = Serializer.hold() - let options_type : int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeLongPressGestureHandlerOptions(options_value) - } - const retval = ArkUIGeneratedNativeModule._LongPressGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - return retval - } - constructor(options?: LongPressGestureHandlerOptions) { - super() - const ctorPtr : KPointer = LongPressGestureHandler.ctor(options) - this.peer = new Finalizable(ctorPtr, LongPressGestureHandler.getFinalizer()) - } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._LongPressGestureHandler_getFinalizer() - } - onAction(event: ((event: GestureEvent) => void)): LongPressGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onAction_serialize(event_casted) - } - onActionEnd(event: ((event: GestureEvent) => void)): LongPressGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionEnd_serialize(event_casted) - } - onActionCancel(event: (() => void)): LongPressGestureHandler { - const event_casted = event as ((() => void)) - return this.onActionCancel_serialize(event_casted) - } - private onAction_serialize(event: ((event: GestureEvent) => void)): LongPressGestureHandler { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._LongPressGestureHandler_onAction(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj : LongPressGestureHandler = LongPressGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionEnd_serialize(event: ((event: GestureEvent) => void)): LongPressGestureHandler { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._LongPressGestureHandler_onActionEnd(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj : LongPressGestureHandler = LongPressGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionCancel_serialize(event: (() => void)): LongPressGestureHandler { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._LongPressGestureHandler_onActionCancel(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj : LongPressGestureHandler = LongPressGestureHandlerInternal.fromPtr(retval) - return obj - } -} -export class LongPressGestureHandlerInternal { - public static fromPtr(ptr: KPointer): LongPressGestureHandler { - const obj : LongPressGestureHandler = new LongPressGestureHandler(undefined) - obj.peer = new Finalizable(ptr, LongPressGestureHandler.getFinalizer()) - return obj - } -} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkGestureHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkMeasurableMaterialized.ts similarity index 31% rename from arkoala-arkts/arkui/src/generated/ArkGestureHandlerMaterialized.ts rename to arkoala-arkts/arkui/src/generated/ArkMeasurableMaterialized.ts index 59f74bc0e..b5751d755 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGestureHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMeasurableMaterialized.ts @@ -1,6 +1,6 @@ -import { GestureInterface } from "./ArkGestureInterfaces" -import { SourceTool } from "./ArkCommonInterfaces" -import { INTERFACE_GestureHandler } from "./SyntheticDeclarations" +import { ConstraintSizeOptions, DirectionalEdgesT } from "./ArkUnitsInterfaces" +import { MeasureResult } from "./ArkCommonInterfaces" +import { INTERFACE_Measurable } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -9,50 +9,63 @@ import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" import { int32 } from "@koalaui/common" import { CallbackTransformer } from "./peers/CallbackTransformer" -export class GestureHandler implements MaterializedBase { +export interface Measurable { + measure(constraint: ConstraintSizeOptions): MeasureResult + getMargin(): DirectionalEdgesT + getPadding(): DirectionalEdgesT + getBorderWidth(): DirectionalEdgesT +} +export class MeasurableInternal implements MaterializedBase,Measurable { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { return this.peer } static ctor(): KPointer { - const retval = ArkUIGeneratedNativeModule._GestureHandler_ctor() + const retval = ArkUIGeneratedNativeModule._Measurable_ctor() return retval } constructor() { - const ctorPtr : KPointer = GestureHandler.ctor() - this.peer = new Finalizable(ctorPtr, GestureHandler.getFinalizer()) + const ctorPtr : KPointer = MeasurableInternal.ctor() + this.peer = new Finalizable(ctorPtr, MeasurableInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._GestureHandler_getFinalizer() + return ArkUIGeneratedNativeModule._Measurable_getFinalizer() } - tag(tag: string): T { - const tag_casted = tag as (string) - return this.tag_serialize(tag_casted) + measure(constraint: ConstraintSizeOptions): MeasureResult { + const constraint_casted = constraint as (ConstraintSizeOptions) + return this.measure_serialize(constraint_casted) } - allowedTypes(types: Array): T { - const types_casted = types as (Array) - return this.allowedTypes_serialize(types_casted) + getMargin(): DirectionalEdgesT { + return this.getMargin_serialize() } - private tag_serialize(tag: string): T { - const retval = ArkUIGeneratedNativeModule._GestureHandler_tag(this.peer!.ptr, tag) - throw new Error("Object deserialization is not implemented.") + getPadding(): DirectionalEdgesT { + return this.getPadding_serialize() + } + getBorderWidth(): DirectionalEdgesT { + return this.getBorderWidth_serialize() } - private allowedTypes_serialize(types: Array): T { + private measure_serialize(constraint: ConstraintSizeOptions): MeasureResult { const thisSerializer : Serializer = Serializer.hold() - thisSerializer.writeInt32(types.length as int32) - for (let i = 0; i < types.length; i++) { - const types_element : SourceTool = types[i] - thisSerializer.writeInt32((types_element.valueOf() as int32)) - } - const retval = ArkUIGeneratedNativeModule._GestureHandler_allowedTypes(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.writeConstraintSizeOptions(constraint) + const retval = ArkUIGeneratedNativeModule._Measurable_measure(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() throw new Error("Object deserialization is not implemented.") } -} -export class GestureHandlerInternal { - public static fromPtr(ptr: KPointer): GestureHandler { - const obj : GestureHandler = new GestureHandler() - obj.peer = new Finalizable(ptr, GestureHandler.getFinalizer()) + private getMargin_serialize(): DirectionalEdgesT { + const retval = ArkUIGeneratedNativeModule._Measurable_getMargin(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private getPadding_serialize(): DirectionalEdgesT { + const retval = ArkUIGeneratedNativeModule._Measurable_getPadding(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private getBorderWidth_serialize(): DirectionalEdgesT { + const retval = ArkUIGeneratedNativeModule._Measurable_getBorderWidth(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + public static fromPtr(ptr: KPointer): MeasurableInternal { + const obj : MeasurableInternal = new MeasurableInternal() + obj.peer = new Finalizable(ptr, MeasurableInternal.getFinalizer()) return obj } } \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkNavigationInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkNavigationInterfaces.ts index e2067d447..8b540b6f4 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavigationInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavigationInterfaces.ts @@ -9,7 +9,8 @@ import { Callback_Void, Callback_PopInfo_Void, Callback_Boolean_Void, Callback_N import { NavDestinationContext } from "./ArkNavDestinationContextMaterialized" import { NavigationAttribute } from "./../handwritten" import { NavPathStack } from "./ArkNavPathStackMaterialized" -import { LengthMetrics, TextModifier } from "./ArkArkui-externalInterfaces" +import { LengthMetrics } from "./ArkLengthMetricsMaterialized" +import { TextModifier } from "./ArkArkui-externalInterfaces" import { NavigationTransitionProxy } from "./ArkNavigationTransitionProxyMaterialized" import { NavDestinationMode } from "./ArkNavDestinationInterfaces" export interface SystemBarStyle { diff --git a/arkoala-arkts/arkui/src/generated/ArkPanGestureHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPanGestureHandlerMaterialized.ts deleted file mode 100644 index 58d0611b9..000000000 --- a/arkoala-arkts/arkui/src/generated/ArkPanGestureHandlerMaterialized.ts +++ /dev/null @@ -1,94 +0,0 @@ -import { GestureHandler, GestureHandlerInternal } from "./ArkGestureHandlerMaterialized" -import { PanGestureHandlerOptions } from "./ArkGestureInterfaces" -import { Callback_GestureEvent_Void, Callback_Void, INTERFACE_PanGestureHandler } from "./SyntheticDeclarations" -import { GestureEvent, GestureEventInternal } from "./ArkGestureEventMaterialized" -import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" -import { MaterializedBase } from "./MaterializedBase" -import { Serializer } from "./peers/Serializer" -import { unsafeCast } from "./shared/generated-utils" -import { CallbackKind } from "./peers/CallbackKind" -import { int32 } from "@koalaui/common" -import { CallbackTransformer } from "./peers/CallbackTransformer" -export class PanGestureHandler extends GestureHandler implements MaterializedBase { - peer?: Finalizable | undefined - public getPeer(): Finalizable | undefined { - return this.peer - } - static ctor(options?: PanGestureHandlerOptions): KPointer { - const thisSerializer : Serializer = Serializer.hold() - let options_type : int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writePanGestureHandlerOptions(options_value) - } - const retval = ArkUIGeneratedNativeModule._PanGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - return retval - } - constructor(options?: PanGestureHandlerOptions) { - super() - const ctorPtr : KPointer = PanGestureHandler.ctor(options) - this.peer = new Finalizable(ctorPtr, PanGestureHandler.getFinalizer()) - } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._PanGestureHandler_getFinalizer() - } - onActionStart(event: ((event: GestureEvent) => void)): PanGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionStart_serialize(event_casted) - } - onActionUpdate(event: ((event: GestureEvent) => void)): PanGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionUpdate_serialize(event_casted) - } - onActionEnd(event: ((event: GestureEvent) => void)): PanGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionEnd_serialize(event_casted) - } - onActionCancel(event: (() => void)): PanGestureHandler { - const event_casted = event as ((() => void)) - return this.onActionCancel_serialize(event_casted) - } - private onActionStart_serialize(event: ((event: GestureEvent) => void)): PanGestureHandler { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PanGestureHandler_onActionStart(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj : PanGestureHandler = PanGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionUpdate_serialize(event: ((event: GestureEvent) => void)): PanGestureHandler { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PanGestureHandler_onActionUpdate(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj : PanGestureHandler = PanGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionEnd_serialize(event: ((event: GestureEvent) => void)): PanGestureHandler { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PanGestureHandler_onActionEnd(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj : PanGestureHandler = PanGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionCancel_serialize(event: (() => void)): PanGestureHandler { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PanGestureHandler_onActionCancel(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj : PanGestureHandler = PanGestureHandlerInternal.fromPtr(retval) - return obj - } -} -export class PanGestureHandlerInternal { - public static fromPtr(ptr: KPointer): PanGestureHandler { - const obj : PanGestureHandler = new PanGestureHandler(undefined) - obj.peer = new Finalizable(ptr, PanGestureHandler.getFinalizer()) - return obj - } -} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkPatternLockInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkPatternLockInterfaces.ts index 444954412..c6eaac27d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPatternLockInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPatternLockInterfaces.ts @@ -2,7 +2,7 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { ResourceColor, Length } from "./ArkUnitsInterfaces" -import { LengthMetrics } from "./ArkArkui-externalInterfaces" +import { LengthMetrics } from "./ArkLengthMetricsMaterialized" import { PatternLockController } from "./ArkPatternLockControllerMaterialized" import { CommonMethod } from "./ArkCommonInterfaces" import { Callback_Array_Number_Void, Callback_Number_Void } from "./SyntheticDeclarations" diff --git a/arkoala-arkts/arkui/src/generated/ArkPinchGestureHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPinchGestureHandlerMaterialized.ts deleted file mode 100644 index c328b97f7..000000000 --- a/arkoala-arkts/arkui/src/generated/ArkPinchGestureHandlerMaterialized.ts +++ /dev/null @@ -1,94 +0,0 @@ -import { GestureHandler, GestureHandlerInternal } from "./ArkGestureHandlerMaterialized" -import { PinchGestureHandlerOptions } from "./ArkGestureInterfaces" -import { Callback_GestureEvent_Void, Callback_Void, INTERFACE_PinchGestureHandler } from "./SyntheticDeclarations" -import { GestureEvent, GestureEventInternal } from "./ArkGestureEventMaterialized" -import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" -import { MaterializedBase } from "./MaterializedBase" -import { Serializer } from "./peers/Serializer" -import { unsafeCast } from "./shared/generated-utils" -import { CallbackKind } from "./peers/CallbackKind" -import { int32 } from "@koalaui/common" -import { CallbackTransformer } from "./peers/CallbackTransformer" -export class PinchGestureHandler extends GestureHandler implements MaterializedBase { - peer?: Finalizable | undefined - public getPeer(): Finalizable | undefined { - return this.peer - } - static ctor(options?: PinchGestureHandlerOptions): KPointer { - const thisSerializer : Serializer = Serializer.hold() - let options_type : int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writePinchGestureHandlerOptions(options_value) - } - const retval = ArkUIGeneratedNativeModule._PinchGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - return retval - } - constructor(options?: PinchGestureHandlerOptions) { - super() - const ctorPtr : KPointer = PinchGestureHandler.ctor(options) - this.peer = new Finalizable(ctorPtr, PinchGestureHandler.getFinalizer()) - } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._PinchGestureHandler_getFinalizer() - } - onActionStart(event: ((event: GestureEvent) => void)): PinchGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionStart_serialize(event_casted) - } - onActionUpdate(event: ((event: GestureEvent) => void)): PinchGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionUpdate_serialize(event_casted) - } - onActionEnd(event: ((event: GestureEvent) => void)): PinchGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionEnd_serialize(event_casted) - } - onActionCancel(event: (() => void)): PinchGestureHandler { - const event_casted = event as ((() => void)) - return this.onActionCancel_serialize(event_casted) - } - private onActionStart_serialize(event: ((event: GestureEvent) => void)): PinchGestureHandler { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PinchGestureHandler_onActionStart(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj : PinchGestureHandler = PinchGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionUpdate_serialize(event: ((event: GestureEvent) => void)): PinchGestureHandler { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PinchGestureHandler_onActionUpdate(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj : PinchGestureHandler = PinchGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionEnd_serialize(event: ((event: GestureEvent) => void)): PinchGestureHandler { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PinchGestureHandler_onActionEnd(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj : PinchGestureHandler = PinchGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionCancel_serialize(event: (() => void)): PinchGestureHandler { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PinchGestureHandler_onActionCancel(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj : PinchGestureHandler = PinchGestureHandlerInternal.fromPtr(retval) - return obj - } -} -export class PinchGestureHandlerInternal { - public static fromPtr(ptr: KPointer): PinchGestureHandler { - const obj : PinchGestureHandler = new PinchGestureHandler(undefined) - obj.peer = new Finalizable(ptr, PinchGestureHandler.getFinalizer()) - return obj - } -} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkRotationGestureHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkRotationGestureHandlerMaterialized.ts deleted file mode 100644 index 007ff5bf6..000000000 --- a/arkoala-arkts/arkui/src/generated/ArkRotationGestureHandlerMaterialized.ts +++ /dev/null @@ -1,94 +0,0 @@ -import { GestureHandler, GestureHandlerInternal } from "./ArkGestureHandlerMaterialized" -import { RotationGestureHandlerOptions } from "./ArkGestureInterfaces" -import { Callback_GestureEvent_Void, Callback_Void, INTERFACE_RotationGestureHandler } from "./SyntheticDeclarations" -import { GestureEvent, GestureEventInternal } from "./ArkGestureEventMaterialized" -import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" -import { MaterializedBase } from "./MaterializedBase" -import { Serializer } from "./peers/Serializer" -import { unsafeCast } from "./shared/generated-utils" -import { CallbackKind } from "./peers/CallbackKind" -import { int32 } from "@koalaui/common" -import { CallbackTransformer } from "./peers/CallbackTransformer" -export class RotationGestureHandler extends GestureHandler implements MaterializedBase { - peer?: Finalizable | undefined - public getPeer(): Finalizable | undefined { - return this.peer - } - static ctor(options?: RotationGestureHandlerOptions): KPointer { - const thisSerializer : Serializer = Serializer.hold() - let options_type : int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeRotationGestureHandlerOptions(options_value) - } - const retval = ArkUIGeneratedNativeModule._RotationGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - return retval - } - constructor(options?: RotationGestureHandlerOptions) { - super() - const ctorPtr : KPointer = RotationGestureHandler.ctor(options) - this.peer = new Finalizable(ctorPtr, RotationGestureHandler.getFinalizer()) - } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._RotationGestureHandler_getFinalizer() - } - onActionStart(event: ((event: GestureEvent) => void)): RotationGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionStart_serialize(event_casted) - } - onActionUpdate(event: ((event: GestureEvent) => void)): RotationGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionUpdate_serialize(event_casted) - } - onActionEnd(event: ((event: GestureEvent) => void)): RotationGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionEnd_serialize(event_casted) - } - onActionCancel(event: (() => void)): RotationGestureHandler { - const event_casted = event as ((() => void)) - return this.onActionCancel_serialize(event_casted) - } - private onActionStart_serialize(event: ((event: GestureEvent) => void)): RotationGestureHandler { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._RotationGestureHandler_onActionStart(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj : RotationGestureHandler = RotationGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionUpdate_serialize(event: ((event: GestureEvent) => void)): RotationGestureHandler { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._RotationGestureHandler_onActionUpdate(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj : RotationGestureHandler = RotationGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionEnd_serialize(event: ((event: GestureEvent) => void)): RotationGestureHandler { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._RotationGestureHandler_onActionEnd(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj : RotationGestureHandler = RotationGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionCancel_serialize(event: (() => void)): RotationGestureHandler { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._RotationGestureHandler_onActionCancel(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj : RotationGestureHandler = RotationGestureHandlerInternal.fromPtr(retval) - return obj - } -} -export class RotationGestureHandlerInternal { - public static fromPtr(ptr: KPointer): RotationGestureHandler { - const obj : RotationGestureHandler = new RotationGestureHandler(undefined) - obj.peer = new Finalizable(ptr, RotationGestureHandler.getFinalizer()) - return obj - } -} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkScrollInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkScrollInterfaces.ts index 3e44f034c..f52b939d4 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScrollInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScrollInterfaces.ts @@ -1,7 +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" -import { LengthMetrics } from "./ArkArkui-externalInterfaces" +import { LengthMetrics } from "./ArkLengthMetricsMaterialized" import { Curve, Edge, BarState, Color, EdgeEffect, ScrollSource } from "./ArkEnumsInterfaces" import { ICurve } from "./ArkICurveMaterialized" import { Dimension, VoidCallback } from "./ArkUnitsInterfaces" diff --git a/arkoala-arkts/arkui/src/generated/ArkSpan.ts b/arkoala-arkts/arkui/src/generated/ArkSpan.ts index 10916df58..a3e380872 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSpan.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSpan.ts @@ -25,7 +25,7 @@ import { ArkCommonMethodComponent } from "./ArkCommon" import { ArkBaseSpanPeer, ArkSpanPeer } from "./peers/ArkSpanPeer" import { CommonMethod, ShadowOptions } from "./ArkCommonInterfaces" import { TextBackgroundStyle, BaseSpan, SpanAttribute } from "./ArkSpanInterfaces" -import { LengthMetrics } from "./ArkArkui-externalInterfaces" +import { LengthMetrics } from "./ArkLengthMetricsMaterialized" import { Font, ResourceColor, Length } from "./ArkUnitsInterfaces" import { Resource } from "./ArkResourceInterfaces" import { FontStyle, FontWeight, TextCase } from "./ArkEnumsInterfaces" diff --git a/arkoala-arkts/arkui/src/generated/ArkSpanInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkSpanInterfaces.ts index 77a44308f..b40a3b299 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSpanInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSpanInterfaces.ts @@ -3,7 +3,7 @@ import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from import { NodeAttach, remember } from "@koalaui/runtime" import { ResourceColor, Dimension, BorderRadiuses, Font, Length } from "./ArkUnitsInterfaces" import { CommonMethod, ShadowOptions } from "./ArkCommonInterfaces" -import { LengthMetrics } from "./ArkArkui-externalInterfaces" +import { LengthMetrics } from "./ArkLengthMetricsMaterialized" import { Resource } from "./ArkResourceInterfaces" import { FontStyle, FontWeight, TextCase } from "./ArkEnumsInterfaces" import { DecorationStyleInterface } from "./ArkStyledStringInterfaces" diff --git a/arkoala-arkts/arkui/src/generated/ArkStyledStringInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkStyledStringInterfaces.ts index eaf6f11be..88d7d29a7 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStyledStringInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStyledStringInterfaces.ts @@ -3,7 +3,7 @@ import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from 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 { LengthMetrics } from "./ArkLengthMetricsMaterialized" import { ShadowOptions } from "./ArkCommonInterfaces" import { TextBackgroundStyle } from "./ArkSpanInterfaces" import { Callback_ClickEvent_Void, Callback_GestureEvent_Void } from "./SyntheticDeclarations" diff --git a/arkoala-arkts/arkui/src/generated/ArkTapGestureHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTapGestureHandlerMaterialized.ts deleted file mode 100644 index 142aa4136..000000000 --- a/arkoala-arkts/arkui/src/generated/ArkTapGestureHandlerMaterialized.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { GestureHandler, GestureHandlerInternal } from "./ArkGestureHandlerMaterialized" -import { TapGestureHandlerOptions } from "./ArkGestureInterfaces" -import { Callback_GestureEvent_Void, INTERFACE_TapGestureHandler } from "./SyntheticDeclarations" -import { GestureEvent, GestureEventInternal } from "./ArkGestureEventMaterialized" -import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" -import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" -import { MaterializedBase } from "./MaterializedBase" -import { Serializer } from "./peers/Serializer" -import { unsafeCast } from "./shared/generated-utils" -import { CallbackKind } from "./peers/CallbackKind" -import { int32 } from "@koalaui/common" -import { CallbackTransformer } from "./peers/CallbackTransformer" -export class TapGestureHandler extends GestureHandler implements MaterializedBase { - peer?: Finalizable | undefined - public getPeer(): Finalizable | undefined { - return this.peer - } - static ctor(options?: TapGestureHandlerOptions): KPointer { - const thisSerializer : Serializer = Serializer.hold() - let options_type : int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type as int32) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeTapGestureHandlerOptions(options_value) - } - const retval = ArkUIGeneratedNativeModule._TapGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - return retval - } - constructor(options?: TapGestureHandlerOptions) { - super() - const ctorPtr : KPointer = TapGestureHandler.ctor(options) - this.peer = new Finalizable(ctorPtr, TapGestureHandler.getFinalizer()) - } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._TapGestureHandler_getFinalizer() - } - onAction(event: ((event: GestureEvent) => void)): TapGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onAction_serialize(event_casted) - } - private onAction_serialize(event: ((event: GestureEvent) => void)): TapGestureHandler { - const thisSerializer : Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._TapGestureHandler_onAction(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj : TapGestureHandler = TapGestureHandlerInternal.fromPtr(retval) - return obj - } -} -export class TapGestureHandlerInternal { - public static fromPtr(ptr: KPointer): TapGestureHandler { - const obj : TapGestureHandler = new TapGestureHandler(undefined) - obj.peer = new Finalizable(ptr, TapGestureHandler.getFinalizer()) - return obj - } -} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkText.ts b/arkoala-arkts/arkui/src/generated/ArkText.ts index 453c826c6..014593a8f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkText.ts +++ b/arkoala-arkts/arkui/src/generated/ArkText.ts @@ -29,7 +29,7 @@ import { TextAttribute, TextOverflowOptions, TextSpanType, TextResponseType, Tex import { Font, ResourceColor, Length } from "./ArkUnitsInterfaces" import { Resource } from "./ArkResourceInterfaces" import { FontStyle, FontWeight, TextAlign, TextCase, CopyOptions, TextHeightAdaptivePolicy, WordBreak, LineBreakStrategy, EllipsisMode, TextSelectableMode } from "./ArkEnumsInterfaces" -import { LengthMetrics } from "./ArkArkui-externalInterfaces" +import { LengthMetrics } from "./ArkLengthMetricsMaterialized" import { DecorationStyleInterface } from "./ArkStyledStringInterfaces" import { Callback_String_Void, Callback_Number_Number_Void } from "./SyntheticDeclarations" import { TextDataDetectorConfig, FontSettingOptions } from "./ArkTextCommonInterfaces" diff --git a/arkoala-arkts/arkui/src/generated/ArkTextArea.ts b/arkoala-arkts/arkui/src/generated/ArkTextArea.ts index 0a08719d4..f4f46595c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextArea.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextArea.ts @@ -33,7 +33,7 @@ import { CaretStyle, EditableTextOnChangeCallback, InsertValue, DeleteValue } fr import { Callback_EnterKeyType_Void, Callback_Number_Number_Void, Callback_Boolean_Void, Callback_String_Void, Callback_String_PasteEvent_Void, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_ResourceStr_Void } from "./SyntheticDeclarations" import { PasteEvent, KeyboardOptions } from "./ArkRichEditorInterfaces" import { Resource } from "./ArkResourceInterfaces" -import { LengthMetrics } from "./ArkArkui-externalInterfaces" +import { LengthMetrics } from "./ArkLengthMetricsMaterialized" import { EditMenuOptions } from "./ArkEditMenuOptionsMaterialized" /** @memo:stable */ export class ArkTextAreaComponent extends ArkCommonMethodComponent { diff --git a/arkoala-arkts/arkui/src/generated/ArkTextAreaInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkTextAreaInterfaces.ts index e6bbd1ff4..e6f2d043a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextAreaInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextAreaInterfaces.ts @@ -11,7 +11,7 @@ import { CaretStyle, EditableTextOnChangeCallback, InsertValue, DeleteValue } fr import { Callback_EnterKeyType_Void, Callback_Number_Number_Void, Callback_Boolean_Void, Callback_String_Void, Callback_String_PasteEvent_Void, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_ResourceStr_Void } from "./SyntheticDeclarations" import { PasteEvent, KeyboardOptions } from "./ArkRichEditorInterfaces" import { Resource } from "./ArkResourceInterfaces" -import { LengthMetrics } from "./ArkArkui-externalInterfaces" +import { LengthMetrics } from "./ArkLengthMetricsMaterialized" import { EditMenuOptions } from "./ArkEditMenuOptionsMaterialized" export interface TextAreaOptions { placeholder?: ResourceStr; diff --git a/arkoala-arkts/arkui/src/generated/ArkTextInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkTextInterfaces.ts index 1cf613b8e..ca7102daf 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextInterfaces.ts @@ -5,7 +5,7 @@ import { TextOverflow, FontStyle, FontWeight, TextAlign, TextCase, CopyOptions, import { Resource } from "./ArkResourceInterfaces" import { CommonMethod, ShadowOptions, CustomBuilder } from "./ArkCommonInterfaces" import { Font, ResourceColor, Length } from "./ArkUnitsInterfaces" -import { LengthMetrics } from "./ArkArkui-externalInterfaces" +import { LengthMetrics } from "./ArkLengthMetricsMaterialized" import { DecorationStyleInterface } from "./ArkStyledStringInterfaces" import { Callback_String_Void, Callback_Number_Number_Void } from "./SyntheticDeclarations" import { TextDataDetectorConfig, FontSettingOptions } from "./ArkTextCommonInterfaces" diff --git a/arkoala-arkts/arkui/src/generated/ArkUnitsInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkUnitsInterfaces.ts index 524d4a749..e77fb4f55 100644 --- a/arkoala-arkts/arkui/src/generated/ArkUnitsInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkUnitsInterfaces.ts @@ -2,7 +2,7 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { Resource } from "./ArkResourceInterfaces" -import { LengthMetrics } from "./ArkArkui-externalInterfaces" +import { LengthMetrics } from "./ArkLengthMetricsMaterialized" import { BorderStyle, Color, FontWeight, FontStyle } from "./ArkEnumsInterfaces" import { OutlineStyle } from "./ArkCommonInterfaces" export type Length = string | number | Resource; diff --git a/arkoala-arkts/arkui/src/generated/EnumsImpl.ts b/arkoala-arkts/arkui/src/generated/EnumsImpl.ts index 8bc2f8e53..42cfc7780 100644 --- a/arkoala-arkts/arkui/src/generated/EnumsImpl.ts +++ b/arkoala-arkts/arkui/src/generated/EnumsImpl.ts @@ -64,6 +64,18 @@ export enum LengthUnit { PERCENT = 3, LPX = 4 } +export enum PerfMonitorActionType { + LAST_DOWN = 0, + LAST_UP = 1, + FIRST_MOVE = 2 +} +export enum PerfMonitorSourceType { + PERF_TOUCH_EVENT = 0, + PERF_MOUSE_EVENT = 1, + PERF_TOUCHPAD_EVENT = 2, + PERF_JOYSTICK_EVENT = 3, + PERF_KEY_EVENT = 4 +} export enum DialogAlignment { TOP = 0, Top = 0, diff --git a/arkoala-arkts/arkui/src/generated/SyntheticDeclarations.ts b/arkoala-arkts/arkui/src/generated/SyntheticDeclarations.ts index 0cc3f24ce..dab72246b 100644 --- a/arkoala-arkts/arkui/src/generated/SyntheticDeclarations.ts +++ b/arkoala-arkts/arkui/src/generated/SyntheticDeclarations.ts @@ -1,14 +1,15 @@ import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" -import { AnimateParam, UIContext, DrawContext, TransitionEffects, TranslateOptions, RotateOptions, ScaleOptions, TransitionEdge, 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 { AnimateParam, UIContext, DrawContext, TransitionEffects, TranslateOptions, RotateOptions, ScaleOptions, TransitionEdge, EventTarget, SourceType, SourceTool, TouchObject, HistoricalPoint, DragBehavior, Summary, DragResult, Rectangle, IntentionCode, DismissContentCoverAction, SheetSize, SheetDismiss, DismissSheetAction, SpringBackAction, SheetType, DismissPopupAction, TouchResult, TouchTestInfo, CustomBuilder, DragItemInfo, PreDragStatus, MeasureResult, CaretOffset, RectResult, OnMoveHandler, HoverCallback, SizeChangeCallback, VisibleAreaEventOptions, VisibleAreaChangeCallback, UIGestureEvent, LinearGradient_common, ItemDragInfo, SelectionOptions } from "./ArkCommonInterfaces" import { DoubleAnimationParam } from "./ArkAnimationExtenderInterfaces" import { Callback_RangeUpdate } from "./ArkArkui-customInterfaces" import { PixelMap } from "./ArkPixelMapMaterialized" +import { LengthUnit, WebHeader, SnapshotOptions, PerfMonitorActionType, PerfMonitorSourceType, Want, RectWidthStyle, RectHeightStyle } from "./ArkArkui-externalInterfaces" +import { LengthMetrics } from "./ArkLengthMetricsMaterialized" import { Resource } from "./ArkResourceInterfaces" -import { WebHeader, Want, RectWidthStyle, RectHeightStyle } from "./ArkArkui-externalInterfaces" import { FrameNode } from "./ArkFrameNodeMaterialized" -import { Position, LengthMetricsUnit, Length, ResourceColor, Area, Dimension, ResourceStr, VoidCallback } from "./ArkUnitsInterfaces" +import { Position, LengthMetricsUnit, Length, ResourceColor, Area, ConstraintSizeOptions, DirectionalEdgesT, Dimension, ResourceStr, VoidCallback } from "./ArkUnitsInterfaces" import { NavPathStack } from "./ArkNavPathStackMaterialized" import { NavExtender_OnUpdateStack } from "./ArkNavigationExtenderInterfaces" import { ClickEvent } from "./ArkClickEventMaterialized" @@ -27,7 +28,7 @@ import { ImageAnalyzerConfig, ImageAnalyzerType } from "./ArkImageCommonInterfac import { DrawingCanvas } from "./ArkDrawingCanvasMaterialized" import { HorizontalAlign, VerticalAlign, MouseButton, MouseAction, AccessibilityHoverType, TouchType, KeyType, KeySource, GradientDirection, HitTestMode, Alignment, Axis, Edge } from "./ArkEnumsInterfaces" import { TransitionEffect } from "./ArkTransitionEffectMaterialized" -import { GestureJudgeResult, GestureInfo, FingerInfo, PanDirection, SwipeDirection, TapGestureHandlerOptions, LongPressGestureHandlerOptions, PanGestureHandlerOptions, SwipeGestureHandlerOptions, PinchGestureHandlerOptions, RotationGestureHandlerOptions, GestureRecognizerState } from "./ArkGestureInterfaces" +import { GestureJudgeResult, GestureInfo, FingerInfo, PanDirection, SwipeDirection, GestureRecognizerState } from "./ArkGestureInterfaces" import { GestureRecognizer } from "./ArkGestureRecognizerMaterialized" import { UnifiedData } from "./ArkUnifiedDataMaterialized" import { HoverEvent } from "./ArkHoverEventMaterialized" @@ -41,12 +42,6 @@ import { DatePickerResult, DatePickerDialogOptions } from "./ArkDatePickerInterf import { TerminationInfo } from "./ArkEmbeddedComponentInterfaces" import { FormCallbackInfo } from "./ArkFormComponentInterfaces" import { GestureEvent } from "./ArkGestureEventMaterialized" -import { TapGestureHandler } from "./ArkTapGestureHandlerMaterialized" -import { LongPressGestureHandler } from "./ArkLongPressGestureHandlerMaterialized" -import { PanGestureHandler } from "./ArkPanGestureHandlerMaterialized" -import { SwipeGestureHandler } from "./ArkSwipeGestureHandlerMaterialized" -import { PinchGestureHandler } from "./ArkPinchGestureHandlerMaterialized" -import { RotationGestureHandler } from "./ArkRotationGestureHandlerMaterialized" import { GestureControl_GestureType } from "./ArkGestureControlNamespace" import { EventTargetInfo } from "./ArkEventTargetInfoMaterialized" import { PanGestureOptions } from "./ArkPanGestureOptionsMaterialized" @@ -101,8 +96,17 @@ export interface INTERFACE_LazyForEachOps { } export interface INTERFACE_DrawingCanvas { } +export interface INTERFACE_LengthMetrics { + unit: LengthUnit; + value: number; +} export interface INTERFACE_WebviewController { } +export type AsyncCallback_image_PixelMap_Void = (result: PixelMap) => void; +export interface INTERFACE_GlobalScope_ohos_arkui_componentSnapshot { +} +export interface INTERFACE_GlobalScope_ohos_arkui_performanceMonitor { +} export interface INTERFACE_FrameNode { } export interface INTERFACE_PixelMap { @@ -376,6 +380,8 @@ export interface Literal_Alignment_align { } export type Callback_Pointer_Void = (value: KPointer) => void; export type CustomNodeBuilder = (parentNode: KPointer) => KPointer; +export interface INTERFACE_Measurable { +} export interface Literal_Empty { } export interface INTERFACE_View { @@ -481,20 +487,6 @@ export interface Literal_Number_angle_fingers { fingers?: number; angle?: number; } -export interface INTERFACE_GestureHandler { -} -export interface INTERFACE_TapGestureHandler { -} -export interface INTERFACE_LongPressGestureHandler { -} -export interface INTERFACE_PanGestureHandler { -} -export interface INTERFACE_SwipeGestureHandler { -} -export interface INTERFACE_PinchGestureHandler { -} -export interface INTERFACE_RotationGestureHandler { -} export interface INTERFACE_ScrollableTargetInfo { } export interface INTERFACE_EventTargetInfo { diff --git a/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts b/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts index fa9f3ac5a..c34110a33 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/ArkUIGeneratedNativeModule.ts @@ -1578,10 +1578,26 @@ export class ArkUIGeneratedNativeModule { 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 + native static _LengthMetrics_ctor(): KPointer + native static _LengthMetrics_getFinalizer(): KPointer + native static _LengthMetrics_px(value: number): KPointer + native static _LengthMetrics_resource(thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _LengthMetrics_getUnit(ptr: KPointer): KPointer + native static _LengthMetrics_setUnit(ptr: KPointer, unit: KInt): void + native static _LengthMetrics_getValue(ptr: KPointer): number + native static _LengthMetrics_setValue(ptr: KPointer, value: number): void native static _WebviewController_ctor(): KPointer native static _WebviewController_getFinalizer(): KPointer native static _WebviewController_initializeWebEngine(): void native static _WebviewController_loadUrl(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _GlobalScope_ohos_arkui_componentSnapshot_ctor(): KPointer + native static _GlobalScope_ohos_arkui_componentSnapshot_getFinalizer(): KPointer + native static _GlobalScope_ohos_arkui_componentSnapshot_get(id: KStringPtr, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _GlobalScope_ohos_arkui_performanceMonitor_ctor(): KPointer + native static _GlobalScope_ohos_arkui_performanceMonitor_getFinalizer(): KPointer + native static _GlobalScope_ohos_arkui_performanceMonitor_begin(scene: KStringPtr, startInputType: KInt, thisArray: KUint8ArrayPtr, thisLength: int32): void + native static _GlobalScope_ohos_arkui_performanceMonitor_end(scene: KStringPtr): void + native static _GlobalScope_ohos_arkui_performanceMonitor_recordInputEventTime(type: KInt, sourceType: KInt, time: number): void native static _FrameNode_ctor(thisArray: KUint8ArrayPtr, thisLength: int32): KPointer native static _FrameNode_getFinalizer(): KPointer native static _FrameNode_isModifiable(ptr: KPointer): boolean @@ -1910,6 +1926,12 @@ export class ArkUIGeneratedNativeModule { native static _ProgressMask_updateProgress(ptr: KPointer, value: number): void native static _ProgressMask_updateColor(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): void native static _ProgressMask_enableBreathingAnimation(ptr: KPointer, value: KInt): void + native static _Measurable_ctor(): KPointer + native static _Measurable_getFinalizer(): KPointer + native static _Measurable_measure(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer + native static _Measurable_getMargin(ptr: KPointer): KPointer + native static _Measurable_getPadding(ptr: KPointer): KPointer + native static _Measurable_getBorderWidth(ptr: KPointer): KPointer native static _View_ctor(): KPointer native static _View_getFinalizer(): KPointer native static _View_create(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): object @@ -2040,39 +2062,6 @@ export class ArkUIGeneratedNativeModule { native static _PanGestureOptions_setDistance(ptr: KPointer, value: number): undefined native static _PanGestureOptions_setFingers(ptr: KPointer, value: number): undefined native static _PanGestureOptions_getDirection(ptr: KPointer): KPointer - native static _GestureHandler_ctor(): KPointer - native static _GestureHandler_getFinalizer(): KPointer - native static _GestureHandler_tag(ptr: KPointer, tag: KStringPtr): KPointer - native static _GestureHandler_allowedTypes(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _TapGestureHandler_ctor(thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _TapGestureHandler_getFinalizer(): KPointer - native static _TapGestureHandler_onAction(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _LongPressGestureHandler_ctor(thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _LongPressGestureHandler_getFinalizer(): KPointer - native static _LongPressGestureHandler_onAction(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _LongPressGestureHandler_onActionEnd(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _LongPressGestureHandler_onActionCancel(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _PanGestureHandler_ctor(thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _PanGestureHandler_getFinalizer(): KPointer - native static _PanGestureHandler_onActionStart(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _PanGestureHandler_onActionUpdate(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _PanGestureHandler_onActionEnd(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _PanGestureHandler_onActionCancel(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _SwipeGestureHandler_ctor(thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _SwipeGestureHandler_getFinalizer(): KPointer - native static _SwipeGestureHandler_onAction(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _PinchGestureHandler_ctor(thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _PinchGestureHandler_getFinalizer(): KPointer - native static _PinchGestureHandler_onActionStart(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _PinchGestureHandler_onActionUpdate(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _PinchGestureHandler_onActionEnd(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _PinchGestureHandler_onActionCancel(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _RotationGestureHandler_ctor(thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _RotationGestureHandler_getFinalizer(): KPointer - native static _RotationGestureHandler_onActionStart(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _RotationGestureHandler_onActionUpdate(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _RotationGestureHandler_onActionEnd(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer - native static _RotationGestureHandler_onActionCancel(ptr: KPointer, thisArray: KUint8ArrayPtr, thisLength: int32): KPointer native static _ScrollableTargetInfo_ctor(): KPointer native static _ScrollableTargetInfo_getFinalizer(): KPointer native static _ScrollableTargetInfo_isBegin(ptr: KPointer): boolean diff --git a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts index 88693d16a..8c6b1d3bf 100644 --- a/arkoala-arkts/arkui/src/generated/arkts/type_check.ts +++ b/arkoala-arkts/arkui/src/generated/arkts/type_check.ts @@ -4,15 +4,19 @@ import { DoubleAnimationParam, Callback_Extender_OnProgress, Callback_Extender_O import { Curve, DialogButtonStyle, BorderStyle, WordBreak, AnimationStatus, FillMode, PlayMode, FontWeight, TextOverflow, TextHeightAdaptivePolicy, FontStyle, Axis, CheckBoxShape, HorizontalAlign, FlexAlign, TextDecorationType, TextDecorationStyle, SharedTransitionEffectType, VerticalAlign, TransitionType, Color, ColoringStrategy, MouseButton, MouseAction, AccessibilityHoverType, TouchType, KeyType, KeySource, Placement, ArrowPointPosition, ClickEffectLevel, NestedScrollMode, GradientDirection, Alignment, HitTestMode, ImageSize, HoverEffect, Visibility, ItemAlign, Direction, ObscuredReasons, RenderFit, ImageRepeat, ResponseType, FunctionKey, ModifierKey, LineCapStyle, LineJoinStyle, PixelRoundCalcPolicy, BarState, EdgeEffect, IlluminatedType, EmbeddedType, ImageFit, Edge, Week, RelateType, FlexDirection, FlexWrap, TextAlign, TextCase, CopyOptions, TitleHeight, ImageSpanAlignment, TextContentStyle, XComponentType, ScrollSource, LineBreakStrategy, EllipsisMode, OptionWidthMode, FoldStatus, AppRotation, MarqueeUpdateStrategy, TextSelectableMode, WidthBreakpoint, HeightBreakpoint } from "./../ArkEnumsInterfaces" import { ICurve } from "./../ArkICurveMaterialized" import { AnimationExtender } from "./../ArkAnimationExtenderMaterialized" -import { AnimateParam, 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, 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 { AnimateParam, 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, 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, MeasureResult, NavDestinationInfo, NavigationInfo, RouterPageInfo, Theme, CaretOffset, ContentClipMode, ScrollableCommonMethod, EdgeEffectOptions, ScrollResult, OnWillScrollCallback, OnMoveHandler, LightSource, KeyframeAnimateParam, KeyframeState, Callback, VisibleAreaEventOptions, HoverCallback, UIGestureEvent, SelectionOptions, KeyboardAvoidMode } from "./../ArkCommonInterfaces" import { PointerStyle, Callback_RangeUpdate } from "./../ArkArkui-customInterfaces" import { UnifiedData } from "./../ArkUnifiedDataMaterialized" import { LazyForEachOps } from "./../ArkLazyForEachOpsMaterialized" import { DrawingCanvas } from "./../ArkDrawingCanvasMaterialized" import { PixelMap } from "./../ArkPixelMapMaterialized" -import { NodeController, TextModifier, RectWidthStyle, RectHeightStyle, Want, LengthUnit, LengthMetrics, WebHeader } from "./../ArkArkui-externalInterfaces" -import { WebviewController } from "./../ArkWebviewControllerMaterialized" +import { NodeController, TextModifier, RectWidthStyle, RectHeightStyle, Want, LengthUnit, WebHeader, SnapshotOptions, PerfMonitorActionType, PerfMonitorSourceType } from "./../ArkArkui-externalInterfaces" +import { LengthMetrics } from "./../ArkLengthMetricsMaterialized" import { Resource } from "./../ArkResourceInterfaces" +import { WebviewController } from "./../ArkWebviewControllerMaterialized" +import { GlobalScope_ohos_arkui_componentSnapshot } from "./../ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized" +import { AsyncCallback_image_PixelMap_Void, 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_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_Union_Number_Resource_Void, Callback_ResourceStr_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_Union_Number_Array_Number_Void, Callback_Union_String_Array_String_Void, 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 { GlobalScope_ohos_arkui_performanceMonitor } from "./../ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized" import { FrameNode } from "./../ArkFrameNodeMaterialized" import { Position, VoidCallback, ResourceStr, ResourceColor, Dimension, BorderRadiuses, LocalizedBorderRadiuses, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, EdgeStyles, Offset, Font, Length, LengthMetricsUnit, MarkStyle, Bias, Area, Margin, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, LocalizedMargin, BorderOptions, OutlineOptions, EdgeOutlineStyles, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions, EdgeWidth, DirectionalEdgesT, ColorMetrics, ColorFilter, LengthConstrain, DividerStyleOptions, VP, PX, LPX, TouchPoint } from "./../ArkUnitsInterfaces" import { NavExtender } from "./../ArkNavExtenderMaterialized" @@ -22,7 +26,6 @@ import { Point } from "./../ArkPointInterfaces" import { Root, ComponentRoot } from "./../ArkStaticComponentsInterfaces" import { EventEmulator } from "./../ArkEventEmulatorMaterialized" 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_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_Union_Number_Resource_Void, Callback_ResourceStr_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_Union_Number_Array_Number_Void, Callback_Union_String_Array_String_Void, 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 { DialogAlignment, DialogButtonDirection, AlertDialogButtonBaseOptions, AlertDialogButtonOptions, TextStyle_alert_dialog, AlertDialogParam, AlertDialogParamWithConfirm, AlertDialogParamWithButtons, AlertDialogParamWithOptions } from "./../ArkAlertDialogInterfaces" @@ -71,15 +74,15 @@ 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, GestureJudgeResult, GestureType, GestureMask, GesturePriority, PanDirection, SwipeDirection, GestureMode, FingerInfo, GestureInterface, TapGestureParameters, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, SwipeGestureInterface, PinchGestureInterface, RotationGestureInterface, GestureGroupInterface, TapGestureHandlerOptions, LongPressGestureHandlerOptions, PanGestureHandlerOptions, SwipeGestureHandlerOptions, PinchGestureHandlerOptions, RotationGestureHandlerOptions, GestureGroupGestureHandlerOptions, GestureRecognizerState } from "./../ArkGestureInterfaces" +import { GestureInfo, GestureJudgeResult, 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 { Measurable } from "./../ArkMeasurableMaterialized" import { View } from "./../ArkViewMaterialized" import { TextContentControllerBase } from "./../ArkTextContentControllerBaseMaterialized" 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 { GestureHandler } from "./../ArkGestureHandlerMaterialized" import { EnvPropsOptions, PersistPropsOptions } from "./../ArkCommonTsEtsApiInterfaces" import { Scene, ModelType, SceneOptions, Component3DInterface, Component3DAttribute } from "./../ArkComponent3dInterfaces" import { ContainerSpanInterface, ContainerSpanAttribute } from "./../ArkContainerSpanInterfaces" @@ -112,12 +115,6 @@ import { RotationGestureEvent } from "./../ArkRotationGestureEventMaterialized" import { SwipeGestureEvent } from "./../ArkSwipeGestureEventMaterialized" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { PanGestureOptions } from "./../ArkPanGestureOptionsMaterialized" -import { TapGestureHandler } from "./../ArkTapGestureHandlerMaterialized" -import { LongPressGestureHandler } from "./../ArkLongPressGestureHandlerMaterialized" -import { PanGestureHandler } from "./../ArkPanGestureHandlerMaterialized" -import { SwipeGestureHandler } from "./../ArkSwipeGestureHandlerMaterialized" -import { PinchGestureHandler } from "./../ArkPinchGestureHandlerMaterialized" -import { RotationGestureHandler } from "./../ArkRotationGestureHandlerMaterialized" import { ScrollableTargetInfo } from "./../ArkScrollableTargetInfoMaterialized" import { EventTargetInfo } from "./../ArkEventTargetInfoMaterialized" import { GestureRecognizer } from "./../ArkGestureRecognizerMaterialized" @@ -1404,6 +1401,12 @@ export class TypeChecker { static isGestureStyleInterface(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean): boolean { return value instanceof GestureStyleInterface } + static isGlobalScope_ohos_arkui_componentSnapshot(value: object|string|number|undefined|null): boolean { + return value instanceof GlobalScope_ohos_arkui_componentSnapshot + } + static isGlobalScope_ohos_arkui_performanceMonitor(value: object|string|number|undefined|null): boolean { + return value instanceof GlobalScope_ohos_arkui_performanceMonitor + } static isGradientDirection(value: object|string|number|undefined|null): boolean { return value instanceof GradientDirection } @@ -2592,6 +2595,12 @@ export class TypeChecker { static isPatternLockInterface(value: object|string|number|undefined|null): boolean { return value instanceof PatternLockInterface } + static isPerfMonitorActionType(value: object|string|number|undefined|null): boolean { + return value instanceof PerfMonitorActionType + } + static isPerfMonitorSourceType(value: object|string|number|undefined|null): boolean { + return value instanceof PerfMonitorSourceType + } static isPermissionRequest(value: object|string|number|undefined|null): boolean { return value instanceof PermissionRequest } @@ -3360,6 +3369,9 @@ export class TypeChecker { static isSliderStyle(value: object|string|number|undefined|null): boolean { return value instanceof SliderStyle } + static isSnapshotOptions(value: object|string|number|undefined|null, arg0: boolean, arg1: boolean): boolean { + return value instanceof SnapshotOptions + } static isSourceTool(value: object|string|number|undefined|null): boolean { return value instanceof SourceTool } diff --git a/arkoala-arkts/arkui/src/generated/index.ts b/arkoala-arkts/arkui/src/generated/index.ts index 9e0ab19a7..09d05192f 100644 --- a/arkoala-arkts/arkui/src/generated/index.ts +++ b/arkoala-arkts/arkui/src/generated/index.ts @@ -249,6 +249,4 @@ export * from "./ArkStyledStringInterfaces" export * from "./ArkLinearindicatorInterfaces" export * from "./ArkRawFileDescriptorInterfaces" export * from "./GlobalScope" -export * from "./ArkNavPathStackMaterialized" -export * from "./ArkClickEventMaterialized" -export * from "./ArkTabsControllerMaterialized" +export * from "./ArkMeasurableMaterialized" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkCommonPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkCommonPeer.ts index 2cdd6d85e..28bbea4f0 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkCommonPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkCommonPeer.ts @@ -28,7 +28,7 @@ import { DrawModifier } from "./../ArkDrawModifierMaterialized" 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_Number_Void } from "./../SyntheticDeclarations" -import { LengthMetrics } from "./../ArkArkui-externalInterfaces" +import { LengthMetrics } from "./../ArkLengthMetricsMaterialized" import { ResizableOptions } from "./../ArkImageInterfaces" import { Resource } from "./../ArkResourceInterfaces" import { ClickEvent } from "./../ArkClickEventMaterialized" @@ -270,7 +270,7 @@ export class ArkCommonMethodPeer extends PeerNode { thisSerializer.writeLength(value_0_left_value) } } - else if (TypeChecker.isLengthMetrics(value, false, false)) { + else if (((RuntimeType.OBJECT) == (value_type)) && (TypeChecker.isLengthMetrics(value, false, false))) { thisSerializer.writeInt8(1 as int32) const value_1 = value as LengthMetrics thisSerializer.writeLengthMetrics(value_1) diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkSpanPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkSpanPeer.ts index 364733047..b22cd8be8 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkSpanPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkSpanPeer.ts @@ -26,7 +26,7 @@ import { ArkUIGeneratedNativeModule } from "#components" import { ArkCommonMethodPeer, ArkCommonMethodAttributes } from "./ArkCommonPeer" import { CommonMethod, ShadowOptions } from "./../ArkCommonInterfaces" import { TextBackgroundStyle, BaseSpan, SpanAttribute } from "./../ArkSpanInterfaces" -import { LengthMetrics } from "./../ArkArkui-externalInterfaces" +import { LengthMetrics } from "./../ArkLengthMetricsMaterialized" import { Font, ResourceColor, Length } from "./../ArkUnitsInterfaces" import { Resource } from "./../ArkResourceInterfaces" import { FontStyle, FontWeight, TextCase, Color } from "./../ArkEnumsInterfaces" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTextAreaPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTextAreaPeer.ts index 2a56bd41e..d6ff5cc76 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTextAreaPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTextAreaPeer.ts @@ -33,7 +33,7 @@ import { CaretStyle, EditableTextOnChangeCallback, InsertValue, DeleteValue } fr import { Callback_EnterKeyType_Void, Callback_Number_Number_Void, Callback_Boolean_Void, Callback_String_Void, Callback_String_PasteEvent_Void, Callback_InsertValue_Boolean, Callback_InsertValue_Void, Callback_DeleteValue_Boolean, Callback_DeleteValue_Void, Callback_ResourceStr_Void } from "./../SyntheticDeclarations" import { PasteEvent, KeyboardOptions } from "./../ArkRichEditorInterfaces" import { Resource } from "./../ArkResourceInterfaces" -import { LengthMetrics } from "./../ArkArkui-externalInterfaces" +import { LengthMetrics } from "./../ArkLengthMetricsMaterialized" import { EditMenuOptions } from "./../ArkEditMenuOptionsMaterialized" import { CallbackKind } from "./CallbackKind" import { CallbackTransformer } from "./CallbackTransformer" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkTextPeer.ts b/arkoala-arkts/arkui/src/generated/peers/ArkTextPeer.ts index 73c8426a2..42903731e 100644 --- a/arkoala-arkts/arkui/src/generated/peers/ArkTextPeer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/ArkTextPeer.ts @@ -29,7 +29,7 @@ import { TextAttribute, TextOverflowOptions, TextSpanType, TextResponseType, Tex import { Font, ResourceColor, Length } from "./../ArkUnitsInterfaces" import { Resource } from "./../ArkResourceInterfaces" import { FontStyle, FontWeight, TextAlign, TextCase, CopyOptions, TextHeightAdaptivePolicy, WordBreak, LineBreakStrategy, EllipsisMode, TextSelectableMode, Color } from "./../ArkEnumsInterfaces" -import { LengthMetrics } from "./../ArkArkui-externalInterfaces" +import { LengthMetrics } from "./../ArkLengthMetricsMaterialized" import { DecorationStyleInterface } from "./../ArkStyledStringInterfaces" import { Callback_String_Void, Callback_Number_Number_Void } from "./../SyntheticDeclarations" import { TextDataDetectorConfig, FontSettingOptions } from "./../ArkTextCommonInterfaces" diff --git a/arkoala-arkts/arkui/src/generated/peers/ArkUINodeType.ts b/arkoala-arkts/arkui/src/generated/peers/ArkUINodeType.ts deleted file mode 100644 index 3534ca642..000000000 --- a/arkoala-arkts/arkui/src/generated/peers/ArkUINodeType.ts +++ /dev/null @@ -1,118 +0,0 @@ -export enum ArkUINodeType { - CustomNode, - AbilityComponent, - AlphabetIndexer, - Animator, - Badge, - BaseSpan, - Blank, - Button, - Calendar, - CalendarPicker, - Canvas, - Checkbox, - CheckboxGroup, - Circle, - Column, - ColumnSplit, - Common, - CommonMethod, - CommonShapeMethod, - Component3D, - ComponentRoot, - ContainerSpan, - Counter, - DataPanel, - DatePicker, - Divider, - EffectComponent, - Ellipse, - EmbeddedComponent, - Flex, - FlowItem, - FolderStack, - FormComponent, - FormLink, - Gauge, - Grid, - GridCol, - GridContainer, - GridItem, - GridRow, - Hyperlink, - Image, - ImageAnimator, - ImageSpan, - IndicatorComponent, - Line, - LinearIndicator, - List, - ListItem, - ListItemGroup, - LoadingProgress, - LocationButton, - Marquee, - MediaCachedImage, - Menu, - MenuItem, - MenuItemGroup, - NavDestination, - NavRouter, - Navigator, - NodeContainer, - Panel, - PasteButton, - Path, - PatternLock, - PluginComponent, - Polygon, - Polyline, - Progress, - QRCode, - Radio, - Rating, - Rect, - Refresh, - RelativeContainer, - RemoteWindow, - RichEditor, - RichText, - Root, - RootScene, - Row, - RowSplit, - SaveButton, - Screen, - Scroll, - ScrollBar, - ScrollableCommonMethod, - Search, - SecurityComponentMethod, - Select, - Shape, - SideBarContainer, - Slider, - Span, - Stack, - Stepper, - StepperItem, - Swiper, - SymbolGlyph, - SymbolSpan, - TabContent, - Tabs, - Text, - TextArea, - TextClock, - TextInput, - TextPicker, - TextTimer, - TimePicker, - Toggle, - UIExtensionComponent, - Video, - WaterFlow, - Web, - WindowScene, - XComponent, -} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts b/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts index fcaab7203..bcf26d8e4 100644 --- a/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts +++ b/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts @@ -20,8 +20,9 @@ import { ResourceHolder, KInt, KStringPtr, wrapSystemCallback, KPointer, Runtime import { CallbackTransformer } from "./CallbackTransformer" import { AccessibilityCallback, TouchTestInfo, TouchResult, CustomBuilder, DismissContentCoverAction, DismissPopupAction, DismissSheetAction, DragItemInfo, ItemDragInfo, PreDragStatus, SheetDismiss, SheetType, SpringBackAction, GestureRecognizerJudgeBeginCallback, HoverCallback, OnMoveHandler, OnScrollCallback, ShouldBuiltInRecognizerParallelWithCallback, SizeChangeCallback, TransitionFinishCallback, VisibleAreaChangeCallback } from "./../ArkCommonInterfaces" import { AccessibilityHoverEvent } from "./../ArkAccessibilityHoverEventMaterialized" +import { AsyncCallback_image_PixelMap_Void, 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_PanelMode_Void, Callback_PlaybackInfo_Void, Callback_Pointer_Void, Callback_PopInfo_Void, Callback_PreDragStatus_Void, Callback_PreparedInfo_Void, Callback_RefreshStatus_Void, Callback_ResourceStr_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_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_Union_Number_Array_Number_Void, Callback_Union_Number_Resource_Void, Callback_Union_String_Array_String_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 { PixelMap } from "./../ArkPixelMapMaterialized" import { ButtonTriggerClickCallback } from "./../ArkButtonInterfaces" -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_PanelMode_Void, Callback_PlaybackInfo_Void, Callback_Pointer_Void, Callback_PopInfo_Void, Callback_PreDragStatus_Void, Callback_PreparedInfo_Void, Callback_RefreshStatus_Void, Callback_ResourceStr_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_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_Union_Number_Array_Number_Void, Callback_Union_Number_Resource_Void, Callback_Union_String_Array_String_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, ResourceStr, SizeOptions, VoidCallback } from "./../ArkUnitsInterfaces" import { HoverEvent } from "./../ArkHoverEventMaterialized" import { CalendarRequestedData, CalendarSelectedDate } from "./../ArkCalendarInterfaces" @@ -100,6 +101,12 @@ export function deserializeAndCallAccessibilityCallback(thisDeserializer: Deseri let event : AccessibilityHoverEvent = (thisDeserializer.readAccessibilityHoverEvent() as AccessibilityHoverEvent) _call(isHover, event) } +export function deserializeAndCallAsyncCallback_image_PixelMap_Void(thisDeserializer: Deserializer) { + const _resourceId : int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((result: PixelMap) => void)) + let result : PixelMap = (thisDeserializer.readPixelMap() as PixelMap) + _call(result) +} export function deserializeAndCallButtonTriggerClickCallback(thisDeserializer: Deserializer) { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ButtonTriggerClickCallback) @@ -1980,6 +1987,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer) { const kind : int32 = thisDeserializer.readInt32() switch (kind) { case 589030517/*CallbackKind.Kind_AccessibilityCallback*/: return deserializeAndCallAccessibilityCallback(thisDeserializer); + case 1289587365/*CallbackKind.Kind_AsyncCallback_image_PixelMap_Void*/: return deserializeAndCallAsyncCallback_image_PixelMap_Void(thisDeserializer); case -1964292933/*CallbackKind.Kind_ButtonTriggerClickCallback*/: return deserializeAndCallButtonTriggerClickCallback(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); diff --git a/arkoala-arkts/arkui/src/generated/peers/CallbackKind.ts b/arkoala-arkts/arkui/src/generated/peers/CallbackKind.ts index 11fc4e8be..a818b2bc3 100644 --- a/arkoala-arkts/arkui/src/generated/peers/CallbackKind.ts +++ b/arkoala-arkts/arkui/src/generated/peers/CallbackKind.ts @@ -1,6 +1,7 @@ import { int32 } from "@koalaui/common" export enum CallbackKind { Kind_AccessibilityCallback = 589030517, + Kind_AsyncCallback_image_PixelMap_Void = 1289587365, Kind_ButtonTriggerClickCallback = -1964292933, Kind_Callback_Any_Void = 197193081, Kind_Callback_Area_Area_Void = -2024393616, diff --git a/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts b/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts index eaeeaff75..7c510e9b2 100644 --- a/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/Deserializer.ts @@ -51,13 +51,14 @@ import { PluginErrorCallback, PluginComponentTemplate, PluginErrorData, PluginCo 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 { 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, ConstraintSizeOptions, AccessibilityOptions, EdgeWidths, EdgeColors, EdgeStyles, Bias, LocalizedPosition, OutlineOptions, EdgeOutlineWidths, OutlineRadiuses, EdgeOutlineStyles, BorderOptions, ChainWeightOptions, MarkStyle } from "./../ArkUnitsInterfaces" import { WithThemeInterface, CustomTheme, WithThemeOptions, WithThemeAttribute } from "./../ArkWithThemeInterfaces" -import { LengthUnit, LengthMetrics, WebHeader, TextModifier, Want, RectHeightStyle, RectWidthStyle, NodeController } from "./../ArkArkui-externalInterfaces" +import { LengthUnit, WebHeader, TextModifier, Want, RectHeightStyle, RectWidthStyle, PerfMonitorSourceType, PerfMonitorActionType, SnapshotOptions, 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, 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, Literal_Number_angle_fingers, Literal_Number_fingers_speed_SwipeDirection_direction, Literal_Number_distance_fingers, Literal_Number_distance_fingers_PanDirection_direction, Literal_Number_duration_fingers_Boolean_repeat, Callback_DismissDialogAction_Void, Callback_UIExtensionProxy_Void, Literal_Boolean_next_Axis_direction, Literal_Number_surfaceHeight_surfaceWidth, Callback_Literal_String_plainText_Void, Literal_String_plainText, Callback_Union_String_Array_String_Void, Callback_Union_Number_Array_Number_Void, Callback_ResourceStr_Void, Callback_SwiperContentTransitionProxy_Void, Callback_Union_Number_Resource_Void, Callback_PanelMode_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_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 { LengthMetrics, LengthMetricsInternal } from "./../ArkLengthMetricsMaterialized" +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, Literal_Number_angle_fingers, Literal_Number_fingers_speed_SwipeDirection_direction, Literal_Number_distance_fingers, Literal_Number_distance_fingers_PanDirection_direction, Literal_Number_duration_fingers_Boolean_repeat, Callback_DismissDialogAction_Void, Callback_UIExtensionProxy_Void, Literal_Boolean_next_Axis_direction, Literal_Number_surfaceHeight_surfaceWidth, Callback_Literal_String_plainText_Void, Literal_String_plainText, Callback_Union_String_Array_String_Void, Callback_Union_Number_Array_Number_Void, Callback_ResourceStr_Void, Callback_SwiperContentTransitionProxy_Void, Callback_Union_Number_Resource_Void, Callback_PanelMode_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, AsyncCallback_image_PixelMap_Void, 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_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" @@ -96,7 +97,7 @@ import { NavDestinationContext, NavDestinationContextInternal } from "./../ArkNa import { GridColColumnOption, GridColOptions } from "./../ArkGridColInterfaces" import { DatePickerResult, LunarSwitchStyle, DatePickerDialogOptions, DatePickerOptions } from "./../ArkDatePickerInterfaces" import { Scene, ModelType, SceneOptions } from "./../ArkComponent3dInterfaces" -import { GestureGroupInterface, GestureMode, GestureType, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, PinchGestureInterface, SwipeGestureInterface, RotationGestureInterface, GestureInterface, SwipeDirection, PanDirection, TapGestureParameters, GesturePriority, GestureMask, GestureJudgeResult, GestureRecognizerState, RotationGestureHandlerOptions, PinchGestureHandlerOptions, SwipeGestureHandlerOptions, PanGestureHandlerOptions, LongPressGestureHandlerOptions, TapGestureHandlerOptions, FingerInfo, GestureInfo } from "./../ArkGestureInterfaces" +import { GestureGroupInterface, GestureMode, GestureType, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, PinchGestureInterface, SwipeGestureInterface, RotationGestureInterface, GestureInterface, SwipeDirection, PanDirection, TapGestureParameters, GestureHandler, GesturePriority, GestureMask, GestureJudgeResult, FingerInfo, GestureRecognizerState, GestureInfo } from "./../ArkGestureInterfaces" import { PanGestureOptions, PanGestureOptionsInternal } from "./../ArkPanGestureOptionsMaterialized" import { DrawingCanvas, DrawingCanvasInternal } from "./../ArkDrawingCanvasMaterialized" import { Size, RenderingContextSettings, ImageData } from "./../ArkCanvasInterfaces" @@ -174,7 +175,6 @@ import { GridItemAlignment, ComputedBarAttribute, GridDirection, GridLayoutOptio import { FormShape, FormRenderingMode, FormDimension, FormCallbackInfo, FormInfo } from "./../ArkFormComponentInterfaces" import { FlexSpaceOptions, FlexOptions } from "./../ArkFlexInterfaces" import { LinearGradient_data_panel, ColorStop, DataPanelType, DataPanelShadowOptions, DataPanelOptions } from "./../ArkDataPanelInterfaces" -import { GestureHandler, GestureHandlerInternal } from "./../ArkGestureHandlerMaterialized" import { MouseEvent, MouseEventInternal } from "./../ArkMouseEventMaterialized" import { HoverEvent, HoverEventInternal } from "./../ArkHoverEventMaterialized" import { KeyEvent, KeyEventInternal } from "./../ArkKeyEventMaterialized" @@ -274,10 +274,8 @@ export class Deserializer extends DeserializerBase { } readLengthMetrics(): LengthMetrics { let valueDeserializer : Deserializer = this - const unit_result : LengthUnit = (valueDeserializer.readInt32() as LengthUnit) - const value_result : number = (valueDeserializer.readNumber() as number) - let value : LengthMetrics = ({unit: unit_result,value: value_result} as LengthMetrics) - return value + let ptr : KPointer = valueDeserializer.readPointer() + return LengthMetricsInternal.fromPtr(ptr) } readLeadingMarginPlaceholder(): LeadingMarginPlaceholder { let valueDeserializer : Deserializer = this @@ -377,7 +375,7 @@ export class Deserializer extends DeserializerBase { const margin_buf__selector : int32 = valueDeserializer.readInt8() let margin_buf_ : LengthMetrics | Margin | undefined if (margin_buf__selector == 0) { - margin_buf_ = valueDeserializer.readLengthMetrics() + margin_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) } else if (margin_buf__selector == 1) { const margin_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -423,7 +421,7 @@ export class Deserializer extends DeserializerBase { const padding_buf__selector : int32 = valueDeserializer.readInt8() let padding_buf_ : LengthMetrics | Padding | undefined if (padding_buf__selector == 0) { - padding_buf_ = valueDeserializer.readLengthMetrics() + padding_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) } else if (padding_buf__selector == 1) { const padding_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -469,7 +467,7 @@ export class Deserializer extends DeserializerBase { const borderRadius_buf__selector : int32 = valueDeserializer.readInt8() let borderRadius_buf_ : LengthMetrics | BorderRadiuses | undefined if (borderRadius_buf__selector == 0) { - borderRadius_buf_ = valueDeserializer.readLengthMetrics() + borderRadius_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) } else if (borderRadius_buf__selector == 1) { const borderRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -1414,28 +1412,28 @@ return (_continuationValue as KPointer); } let top_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { - top_buf = valueDeserializer.readLengthMetrics() + top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const top_result : LengthMetrics | undefined = top_buf const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) let end_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) { - end_buf = valueDeserializer.readLengthMetrics() + end_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const end_result : LengthMetrics | undefined = end_buf const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) let bottom_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) { - bottom_buf = valueDeserializer.readLengthMetrics() + bottom_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const bottom_result : LengthMetrics | undefined = bottom_buf const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) let start_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) { - start_buf = valueDeserializer.readLengthMetrics() + start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const start_result : LengthMetrics | undefined = start_buf let value : LocalizedEdgeWidths = ({top: top_result,end: end_result,bottom: bottom_result,start: start_result} as LocalizedEdgeWidths) @@ -1487,28 +1485,28 @@ return (_continuationValue as KPointer); } let topStart_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (topStart_buf_runtimeType)) { - topStart_buf = valueDeserializer.readLengthMetrics() + topStart_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const topStart_result : LengthMetrics | undefined = topStart_buf const topEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) let topEnd_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (topEnd_buf_runtimeType)) { - topEnd_buf = valueDeserializer.readLengthMetrics() + topEnd_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const topEnd_result : LengthMetrics | undefined = topEnd_buf const bottomStart_buf_runtimeType = (valueDeserializer.readInt8() as int32) let bottomStart_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (bottomStart_buf_runtimeType)) { - bottomStart_buf = valueDeserializer.readLengthMetrics() + bottomStart_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const bottomStart_result : LengthMetrics | undefined = bottomStart_buf const bottomEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) let bottomEnd_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (bottomEnd_buf_runtimeType)) { - bottomEnd_buf = valueDeserializer.readLengthMetrics() + bottomEnd_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const bottomEnd_result : LengthMetrics | undefined = bottomEnd_buf let value : LocalizedBorderRadiuses = ({topStart: topStart_result,topEnd: topEnd_result,bottomStart: bottomStart_result,bottomEnd: bottomEnd_result} as LocalizedBorderRadiuses) @@ -4052,21 +4050,21 @@ return; } let space_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (space_buf_runtimeType)) { - space_buf = valueDeserializer.readLengthMetrics() + space_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const space_result : LengthMetrics | undefined = space_buf const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) let strokeWidth_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) { - strokeWidth_buf = valueDeserializer.readLengthMetrics() + strokeWidth_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const strokeWidth_result : LengthMetrics | undefined = strokeWidth_buf const strokeRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) let strokeRadius_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (strokeRadius_buf_runtimeType)) { - strokeRadius_buf = valueDeserializer.readLengthMetrics() + strokeRadius_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const strokeRadius_result : LengthMetrics | undefined = strokeRadius_buf const trackBackgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -5925,28 +5923,28 @@ return; } let top_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { - top_buf = valueDeserializer.readLengthMetrics() + top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const top_result : LengthMetrics | undefined = top_buf const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) let start_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) { - start_buf = valueDeserializer.readLengthMetrics() + start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const start_result : LengthMetrics | undefined = start_buf const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) let bottom_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) { - bottom_buf = valueDeserializer.readLengthMetrics() + bottom_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const bottom_result : LengthMetrics | undefined = bottom_buf const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) let end_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) { - end_buf = valueDeserializer.readLengthMetrics() + end_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const end_result : LengthMetrics | undefined = end_buf let value : LocalizedEdges = ({top: top_result,start: start_result,bottom: bottom_result,end: end_result} as LocalizedEdges) @@ -6117,7 +6115,7 @@ return (_continuationValue as OffsetResult); } let extraOffset_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (extraOffset_buf_runtimeType)) { - extraOffset_buf = valueDeserializer.readLengthMetrics() + extraOffset_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const extraOffset_result : LengthMetrics | undefined = extraOffset_buf let value : ScrollToIndexOptions = ({extraOffset: extraOffset_result} as ScrollToIndexOptions) @@ -6928,7 +6926,7 @@ return (_continuationValue as OffsetResult); } let radius_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) { - radius_buf = valueDeserializer.readLengthMetrics() + radius_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const radius_result : LengthMetrics | undefined = radius_buf const enableWaveEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -7091,14 +7089,14 @@ return; } let paddingStart_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (paddingStart_buf_runtimeType)) { - paddingStart_buf = valueDeserializer.readLengthMetrics() + paddingStart_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const paddingStart_result : LengthMetrics | undefined = paddingStart_buf const paddingEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) let paddingEnd_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (paddingEnd_buf_runtimeType)) { - paddingEnd_buf = valueDeserializer.readLengthMetrics() + paddingEnd_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const paddingEnd_result : LengthMetrics | undefined = paddingEnd_buf const mainTitleModifier_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -7282,7 +7280,7 @@ return; } let strokeWidth_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) { - strokeWidth_buf = valueDeserializer.readLengthMetrics() + strokeWidth_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const strokeWidth_result : LengthMetrics | undefined = strokeWidth_buf const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -7313,14 +7311,14 @@ return; } let startMargin_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) { - startMargin_buf = valueDeserializer.readLengthMetrics() + startMargin_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const startMargin_result : LengthMetrics | undefined = startMargin_buf const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) let endMargin_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) { - endMargin_buf = valueDeserializer.readLengthMetrics() + endMargin_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const endMargin_result : LengthMetrics | undefined = endMargin_buf let value : DividerStyleOptions = ({strokeWidth: strokeWidth_result,color: color_result,startMargin: startMargin_result,endMargin: endMargin_result} as DividerStyleOptions) @@ -7483,14 +7481,14 @@ return (_continuationValue as [ number, number ]); } let main_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (main_buf_runtimeType)) { - main_buf = valueDeserializer.readLengthMetrics() + main_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const main_result : LengthMetrics | undefined = main_buf const cross_buf_runtimeType = (valueDeserializer.readInt8() as int32) let cross_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (cross_buf_runtimeType)) { - cross_buf = valueDeserializer.readLengthMetrics() + cross_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const cross_result : LengthMetrics | undefined = cross_buf let value : FlexSpaceOptions = ({main: main_result,cross: cross_result} as FlexSpaceOptions) @@ -7956,7 +7954,7 @@ return; } let fadingEdgeLength_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (fadingEdgeLength_buf_runtimeType)) { - fadingEdgeLength_buf = valueDeserializer.readLengthMetrics() + fadingEdgeLength_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const fadingEdgeLength_result : LengthMetrics | undefined = fadingEdgeLength_buf let value : FadingEdgeOptions = ({fadingEdgeLength: fadingEdgeLength_result} as FadingEdgeOptions) @@ -7968,6 +7966,39 @@ return; } let value : RectShape = ({__RectShapeStub: __RectShapeStub_result} as RectShape) return value } + readConstraintSizeOptions(): ConstraintSizeOptions { + let valueDeserializer : Deserializer = this + const minWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let minWidth_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (minWidth_buf_runtimeType)) + { + minWidth_buf = (valueDeserializer.readLength() as Length) + } + const minWidth_result : Length | undefined = minWidth_buf + const maxWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let maxWidth_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (maxWidth_buf_runtimeType)) + { + maxWidth_buf = (valueDeserializer.readLength() as Length) + } + const maxWidth_result : Length | undefined = maxWidth_buf + const minHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let minHeight_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (minHeight_buf_runtimeType)) + { + minHeight_buf = (valueDeserializer.readLength() as Length) + } + const minHeight_result : Length | undefined = minHeight_buf + const maxHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let maxHeight_buf : Length | undefined + if ((RuntimeType.UNDEFINED) != (maxHeight_buf_runtimeType)) + { + maxHeight_buf = (valueDeserializer.readLength() as Length) + } + const maxHeight_result : Length | undefined = maxHeight_buf + let value : ConstraintSizeOptions = ({minWidth: minWidth_result,maxWidth: maxWidth_result,minHeight: minHeight_result,maxHeight: maxHeight_result} as ConstraintSizeOptions) + return value + } readGestureRecognizerJudgeBeginCallback(isSync: boolean = false): GestureRecognizerJudgeBeginCallback { const _resource : CallbackResource = this.readCallbackResource() const _call : KPointer = this.readPointer() @@ -9927,14 +9958,14 @@ return; } let start_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) { - start_buf = valueDeserializer.readLengthMetrics() + start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const start_result : LengthMetrics | undefined = start_buf const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) let top_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { - top_buf = valueDeserializer.readLengthMetrics() + top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const top_result : LengthMetrics | undefined = top_buf let value : LocalizedPosition = ({start: start_result,top: top_result} as LocalizedPosition) @@ -12411,6 +12442,38 @@ _argsSerializer.writePointer(_callSync); _argsSerializer.writeString(value); (isSync) ? (InteropNativeModule._CallCallbackSync(-588228933, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-588228933, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); +return; } + } + readSnapshotOptions(): SnapshotOptions { + let valueDeserializer : Deserializer = this + const scale_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scale_buf : number | undefined + if ((RuntimeType.UNDEFINED) != (scale_buf_runtimeType)) + { + scale_buf = (valueDeserializer.readNumber() as number) + } + const scale_result : number | undefined = scale_buf + const waitUntilRenderFinished_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let waitUntilRenderFinished_buf : boolean | undefined + if ((RuntimeType.UNDEFINED) != (waitUntilRenderFinished_buf_runtimeType)) + { + waitUntilRenderFinished_buf = valueDeserializer.readBoolean() + } + const waitUntilRenderFinished_result : boolean | undefined = waitUntilRenderFinished_buf + let value : SnapshotOptions = ({scale: scale_result,waitUntilRenderFinished: waitUntilRenderFinished_result} as SnapshotOptions) + return value + } + readAsyncCallback_image_PixelMap_Void(isSync: boolean = false): ((result: PixelMap) => void) { + const _resource : CallbackResource = this.readCallbackResource() + const _call : KPointer = this.readPointer() + const _callSync : KPointer = this.readPointer() + return (result: PixelMap):void => { const _argsSerializer : Serializer = Serializer.hold(); +_argsSerializer.writeInt32(_resource.resourceId); +_argsSerializer.writePointer(_call); +_argsSerializer.writePointer(_callSync); +_argsSerializer.writePixelMap(result); +(isSync) ? (InteropNativeModule._CallCallbackSync(1289587365, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1289587365, _argsSerializer.asArray(), _argsSerializer.length())); +_argsSerializer.release(); return; } } readCallback_RangeUpdate(isSync: boolean = false): Callback_RangeUpdate { @@ -16911,6 +16974,11 @@ return; } let value : StyledStringChangeValue = ({range: range_result,replacementString: replacementString_result,previewText: previewText_result} as StyledStringChangeValue) return value } + readGestureEvent(): GestureEvent { + let valueDeserializer : Deserializer = this + let ptr : KPointer = valueDeserializer.readPointer() + return GestureEventInternal.fromPtr(ptr) + } readLocalizedBarrierStyle(): LocalizedBarrierStyle { let valueDeserializer : Deserializer = this const id_result : string = (valueDeserializer.readString() as string) @@ -18622,146 +18690,6 @@ return (_continuationValue as ComputedBarAttribute); } let value : GridLayoutOptions = ({regularSize: regularSize_result,irregularIndexes: irregularIndexes_result,onGetIrregularSizeByIndex: onGetIrregularSizeByIndex_result,onGetRectByIndex: onGetRectByIndex_result} as GridLayoutOptions) return value } - readRotationGestureHandlerOptions(): RotationGestureHandlerOptions { - let valueDeserializer : Deserializer = this - const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fingers_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) - { - fingers_buf = (valueDeserializer.readNumber() as number) - } - const fingers_result : number | undefined = fingers_buf - const angle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let angle_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (angle_buf_runtimeType)) - { - angle_buf = (valueDeserializer.readNumber() as number) - } - const angle_result : number | undefined = angle_buf - let value : RotationGestureHandlerOptions = ({fingers: fingers_result,angle: angle_result} as RotationGestureHandlerOptions) - return value - } - readPinchGestureHandlerOptions(): PinchGestureHandlerOptions { - let valueDeserializer : Deserializer = this - const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fingers_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) - { - fingers_buf = (valueDeserializer.readNumber() as number) - } - const fingers_result : number | undefined = fingers_buf - const distance_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let distance_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (distance_buf_runtimeType)) - { - distance_buf = (valueDeserializer.readNumber() as number) - } - const distance_result : number | undefined = distance_buf - let value : PinchGestureHandlerOptions = ({fingers: fingers_result,distance: distance_result} as PinchGestureHandlerOptions) - return value - } - readSwipeGestureHandlerOptions(): SwipeGestureHandlerOptions { - let valueDeserializer : Deserializer = this - const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fingers_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) - { - fingers_buf = (valueDeserializer.readNumber() as number) - } - const fingers_result : number | undefined = fingers_buf - const direction_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let direction_buf : SwipeDirection | undefined - if ((RuntimeType.UNDEFINED) != (direction_buf_runtimeType)) - { - direction_buf = (valueDeserializer.readInt32() as SwipeDirection) - } - const direction_result : SwipeDirection | undefined = direction_buf - const speed_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let speed_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (speed_buf_runtimeType)) - { - speed_buf = (valueDeserializer.readNumber() as number) - } - const speed_result : number | undefined = speed_buf - let value : SwipeGestureHandlerOptions = ({fingers: fingers_result,direction: direction_result,speed: speed_result} as SwipeGestureHandlerOptions) - return value - } - readPanGestureHandlerOptions(): PanGestureHandlerOptions { - let valueDeserializer : Deserializer = this - const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fingers_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) - { - fingers_buf = (valueDeserializer.readNumber() as number) - } - const fingers_result : number | undefined = fingers_buf - const direction_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let direction_buf : PanDirection | undefined - if ((RuntimeType.UNDEFINED) != (direction_buf_runtimeType)) - { - direction_buf = (valueDeserializer.readInt32() as PanDirection) - } - const direction_result : PanDirection | undefined = direction_buf - const distance_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let distance_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (distance_buf_runtimeType)) - { - distance_buf = (valueDeserializer.readNumber() as number) - } - const distance_result : number | undefined = distance_buf - let value : PanGestureHandlerOptions = ({fingers: fingers_result,direction: direction_result,distance: distance_result} as PanGestureHandlerOptions) - return value - } - readLongPressGestureHandlerOptions(): LongPressGestureHandlerOptions { - let valueDeserializer : Deserializer = this - const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fingers_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) - { - fingers_buf = (valueDeserializer.readNumber() as number) - } - const fingers_result : number | undefined = fingers_buf - const repeat_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let repeat_buf : boolean | undefined - if ((RuntimeType.UNDEFINED) != (repeat_buf_runtimeType)) - { - repeat_buf = valueDeserializer.readBoolean() - } - const repeat_result : boolean | undefined = repeat_buf - const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let duration_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (duration_buf_runtimeType)) - { - duration_buf = (valueDeserializer.readNumber() as number) - } - const duration_result : number | undefined = duration_buf - let value : LongPressGestureHandlerOptions = ({fingers: fingers_result,repeat: repeat_result,duration: duration_result} as LongPressGestureHandlerOptions) - return value - } - readTapGestureHandlerOptions(): TapGestureHandlerOptions { - let valueDeserializer : Deserializer = this - const count_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let count_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (count_buf_runtimeType)) - { - count_buf = (valueDeserializer.readNumber() as number) - } - const count_result : number | undefined = count_buf - const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fingers_buf : number | undefined - if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) - { - fingers_buf = (valueDeserializer.readNumber() as number) - } - const fingers_result : number | undefined = fingers_buf - let value : TapGestureHandlerOptions = ({count: count_result,fingers: fingers_result} as TapGestureHandlerOptions) - return value - } - readGestureEvent(): GestureEvent { - let valueDeserializer : Deserializer = this - let ptr : KPointer = valueDeserializer.readPointer() - return GestureEventInternal.fromPtr(ptr) - } readGaugeIndicatorOptions(): GaugeIndicatorOptions { let valueDeserializer : Deserializer = this const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -20375,7 +20303,7 @@ return; } let margin_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) { - margin_buf = valueDeserializer.readLengthMetrics() + margin_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const margin_result : LengthMetrics | undefined = margin_buf const strokeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -20389,7 +20317,7 @@ return; } let strokeWidth_buf : LengthMetrics | undefined if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) { - strokeWidth_buf = valueDeserializer.readLengthMetrics() + strokeWidth_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const strokeWidth_result : LengthMetrics | undefined = strokeWidth_buf let value : FocusBoxStyle = ({margin: margin_result,strokeColor: strokeColor_result,strokeWidth: strokeWidth_result} as FocusBoxStyle) @@ -21241,7 +21169,7 @@ return; } dashGap_buf_ = ({top: dashGap_buf__u_top, right: dashGap_buf__u_right, bottom: dashGap_buf__u_bottom, left: dashGap_buf__u_left} as EdgeWidths) } else if (dashGap_buf__selector == 1) { - dashGap_buf_ = valueDeserializer.readLengthMetrics() + dashGap_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) } else if (dashGap_buf__selector == 2) { dashGap_buf_ = valueDeserializer.readLocalizedEdgeWidths() @@ -21290,7 +21218,7 @@ return; } dashWidth_buf_ = ({top: dashWidth_buf__u_top, right: dashWidth_buf__u_right, bottom: dashWidth_buf__u_bottom, left: dashWidth_buf__u_left} as EdgeWidths) } else if (dashWidth_buf__selector == 1) { - dashWidth_buf_ = valueDeserializer.readLengthMetrics() + dashWidth_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) } else if (dashWidth_buf__selector == 2) { dashWidth_buf_ = valueDeserializer.readLocalizedEdgeWidths() @@ -21556,39 +21484,6 @@ _argsSerializer.holdAndWriteCallback(_continuationCallback); _argsSerializer.release(); return (_continuationValue as TouchResult); } } - readConstraintSizeOptions(): ConstraintSizeOptions { - let valueDeserializer : Deserializer = this - const minWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let minWidth_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (minWidth_buf_runtimeType)) - { - minWidth_buf = (valueDeserializer.readLength() as Length) - } - const minWidth_result : Length | undefined = minWidth_buf - const maxWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let maxWidth_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (maxWidth_buf_runtimeType)) - { - maxWidth_buf = (valueDeserializer.readLength() as Length) - } - const maxWidth_result : Length | undefined = maxWidth_buf - const minHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let minHeight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (minHeight_buf_runtimeType)) - { - minHeight_buf = (valueDeserializer.readLength() as Length) - } - const minHeight_result : Length | undefined = minHeight_buf - const maxHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let maxHeight_buf : Length | undefined - if ((RuntimeType.UNDEFINED) != (maxHeight_buf_runtimeType)) - { - maxHeight_buf = (valueDeserializer.readLength() as Length) - } - const maxHeight_result : Length | undefined = maxHeight_buf - let value : ConstraintSizeOptions = ({minWidth: minWidth_result,maxWidth: maxWidth_result,minHeight: minHeight_result,maxHeight: maxHeight_result} as ConstraintSizeOptions) - return value - } readTouchObject(): TouchObject { let valueDeserializer : Deserializer = this const type_result : TouchType = (valueDeserializer.readInt32() as TouchType) diff --git a/arkoala-arkts/arkui/src/generated/peers/Serializer.ts b/arkoala-arkts/arkui/src/generated/peers/Serializer.ts index bb8ee679d..a869ede35 100644 --- a/arkoala-arkts/arkui/src/generated/peers/Serializer.ts +++ b/arkoala-arkts/arkui/src/generated/peers/Serializer.ts @@ -49,13 +49,14 @@ import { PluginErrorCallback, PluginComponentTemplate, PluginErrorData, PluginCo 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 { 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, ConstraintSizeOptions, AccessibilityOptions, EdgeWidths, EdgeColors, EdgeStyles, Bias, LocalizedPosition, OutlineOptions, EdgeOutlineWidths, OutlineRadiuses, EdgeOutlineStyles, BorderOptions, ChainWeightOptions, MarkStyle } from "./../ArkUnitsInterfaces" import { WithThemeInterface, CustomTheme, WithThemeOptions, WithThemeAttribute } from "./../ArkWithThemeInterfaces" -import { LengthUnit, LengthMetrics, WebHeader, TextModifier, Want, RectHeightStyle, RectWidthStyle, NodeController } from "./../ArkArkui-externalInterfaces" +import { LengthUnit, WebHeader, TextModifier, Want, RectHeightStyle, RectWidthStyle, PerfMonitorSourceType, PerfMonitorActionType, SnapshotOptions, 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, 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, Literal_Number_angle_fingers, Literal_Number_fingers_speed_SwipeDirection_direction, Literal_Number_distance_fingers, Literal_Number_distance_fingers_PanDirection_direction, Literal_Number_duration_fingers_Boolean_repeat, Callback_DismissDialogAction_Void, Callback_UIExtensionProxy_Void, Literal_Boolean_next_Axis_direction, Literal_Number_surfaceHeight_surfaceWidth, Callback_Literal_String_plainText_Void, Literal_String_plainText, Callback_Union_String_Array_String_Void, Callback_Union_Number_Array_Number_Void, Callback_ResourceStr_Void, Callback_SwiperContentTransitionProxy_Void, Callback_Union_Number_Resource_Void, Callback_PanelMode_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_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 { LengthMetrics, LengthMetricsInternal } from "./../ArkLengthMetricsMaterialized" +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, Literal_Number_angle_fingers, Literal_Number_fingers_speed_SwipeDirection_direction, Literal_Number_distance_fingers, Literal_Number_distance_fingers_PanDirection_direction, Literal_Number_duration_fingers_Boolean_repeat, Callback_DismissDialogAction_Void, Callback_UIExtensionProxy_Void, Literal_Boolean_next_Axis_direction, Literal_Number_surfaceHeight_surfaceWidth, Callback_Literal_String_plainText_Void, Literal_String_plainText, Callback_Union_String_Array_String_Void, Callback_Union_Number_Array_Number_Void, Callback_ResourceStr_Void, Callback_SwiperContentTransitionProxy_Void, Callback_Union_Number_Resource_Void, Callback_PanelMode_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, AsyncCallback_image_PixelMap_Void, 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_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" @@ -94,7 +95,7 @@ import { NavDestinationContext, NavDestinationContextInternal } from "./../ArkNa import { GridColColumnOption, GridColOptions } from "./../ArkGridColInterfaces" import { DatePickerResult, LunarSwitchStyle, DatePickerDialogOptions, DatePickerOptions } from "./../ArkDatePickerInterfaces" import { Scene, ModelType, SceneOptions } from "./../ArkComponent3dInterfaces" -import { GestureGroupInterface, GestureMode, GestureType, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, PinchGestureInterface, SwipeGestureInterface, RotationGestureInterface, GestureInterface, SwipeDirection, PanDirection, TapGestureParameters, GesturePriority, GestureMask, GestureJudgeResult, GestureRecognizerState, RotationGestureHandlerOptions, PinchGestureHandlerOptions, SwipeGestureHandlerOptions, PanGestureHandlerOptions, LongPressGestureHandlerOptions, TapGestureHandlerOptions, FingerInfo, GestureInfo } from "./../ArkGestureInterfaces" +import { GestureGroupInterface, GestureMode, GestureType, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, PinchGestureInterface, SwipeGestureInterface, RotationGestureInterface, GestureInterface, SwipeDirection, PanDirection, TapGestureParameters, GestureHandler, GesturePriority, GestureMask, GestureJudgeResult, FingerInfo, GestureRecognizerState, GestureInfo } from "./../ArkGestureInterfaces" import { PanGestureOptions, PanGestureOptionsInternal } from "./../ArkPanGestureOptionsMaterialized" import { DrawingCanvas, DrawingCanvasInternal } from "./../ArkDrawingCanvasMaterialized" import { Size, RenderingContextSettings, ImageData } from "./../ArkCanvasInterfaces" @@ -172,7 +173,6 @@ import { GridItemAlignment, ComputedBarAttribute, GridDirection, GridLayoutOptio import { FormShape, FormRenderingMode, FormDimension, FormCallbackInfo, FormInfo } from "./../ArkFormComponentInterfaces" import { FlexSpaceOptions, FlexOptions } from "./../ArkFlexInterfaces" import { LinearGradient_data_panel, ColorStop, DataPanelType, DataPanelShadowOptions, DataPanelOptions } from "./../ArkDataPanelInterfaces" -import { GestureHandler, GestureHandlerInternal } from "./../ArkGestureHandlerMaterialized" import { MouseEvent, MouseEventInternal } from "./../ArkMouseEventMaterialized" import { HoverEvent, HoverEventInternal } from "./../ArkHoverEventMaterialized" import { KeyEvent, KeyEventInternal } from "./../ArkKeyEventMaterialized" @@ -319,10 +319,20 @@ export class Serializer extends SerializerBase { } writeLengthMetrics(value: LengthMetrics): void { let valueSerializer : Serializer = this - const value_unit = value.unit - valueSerializer.writeInt32((value_unit.valueOf() as int32)) - const value_value = value.value - valueSerializer.writeNumber(value_value) + 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!") + } } writeLeadingMarginPlaceholder(value: LeadingMarginPlaceholder): void { let valueSerializer : Serializer = this @@ -443,7 +453,7 @@ export class Serializer extends SerializerBase { const value_margin_value = value_margin! let value_margin_value_type : int32 = RuntimeType.UNDEFINED value_margin_value_type = runtimeType(value_margin_value) - if (TypeChecker.isLengthMetrics(value_margin_value, false, false)) { + if (((RuntimeType.OBJECT) == (value_margin_value_type)) && (TypeChecker.isLengthMetrics(value_margin_value, false, false))) { valueSerializer.writeInt8(0 as int32) const value_margin_value_0 = value_margin_value as LengthMetrics valueSerializer.writeLengthMetrics(value_margin_value_0) @@ -493,7 +503,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 (TypeChecker.isLengthMetrics(value_padding_value, false, false)) { + if (((RuntimeType.OBJECT) == (value_padding_value_type)) && (TypeChecker.isLengthMetrics(value_padding_value, false, false))) { valueSerializer.writeInt8(0 as int32) const value_padding_value_0 = value_padding_value as LengthMetrics valueSerializer.writeLengthMetrics(value_padding_value_0) @@ -543,7 +553,7 @@ export class Serializer extends SerializerBase { const value_borderRadius_value = value_borderRadius! let value_borderRadius_value_type : int32 = RuntimeType.UNDEFINED value_borderRadius_value_type = runtimeType(value_borderRadius_value) - if (TypeChecker.isLengthMetrics(value_borderRadius_value, false, false)) { + if (((RuntimeType.OBJECT) == (value_borderRadius_value_type)) && (TypeChecker.isLengthMetrics(value_borderRadius_value, false, false))) { valueSerializer.writeInt8(0 as int32) const value_borderRadius_value_0 = value_borderRadius_value as LengthMetrics valueSerializer.writeLengthMetrics(value_borderRadius_value_0) @@ -8872,6 +8882,41 @@ export class Serializer extends SerializerBase { const value___RectShapeStub = value.__RectShapeStub valueSerializer.writeString(value___RectShapeStub) } + writeConstraintSizeOptions(value: ConstraintSizeOptions): void { + let valueSerializer : Serializer = this + const value_minWidth = value.minWidth + let value_minWidth_type : int32 = RuntimeType.UNDEFINED + value_minWidth_type = runtimeType(value_minWidth) + valueSerializer.writeInt8(value_minWidth_type as int32) + if ((RuntimeType.UNDEFINED) != (value_minWidth_type)) { + const value_minWidth_value = value_minWidth! + valueSerializer.writeLength(value_minWidth_value) + } + const value_maxWidth = value.maxWidth + let value_maxWidth_type : int32 = RuntimeType.UNDEFINED + value_maxWidth_type = runtimeType(value_maxWidth) + valueSerializer.writeInt8(value_maxWidth_type as int32) + if ((RuntimeType.UNDEFINED) != (value_maxWidth_type)) { + const value_maxWidth_value = value_maxWidth! + valueSerializer.writeLength(value_maxWidth_value) + } + const value_minHeight = value.minHeight + let value_minHeight_type : int32 = RuntimeType.UNDEFINED + value_minHeight_type = runtimeType(value_minHeight) + valueSerializer.writeInt8(value_minHeight_type as int32) + if ((RuntimeType.UNDEFINED) != (value_minHeight_type)) { + const value_minHeight_value = value_minHeight! + valueSerializer.writeLength(value_minHeight_value) + } + const value_maxHeight = value.maxHeight + let value_maxHeight_type : int32 = RuntimeType.UNDEFINED + value_maxHeight_type = runtimeType(value_maxHeight) + valueSerializer.writeInt8(value_maxHeight_type as int32) + if ((RuntimeType.UNDEFINED) != (value_maxHeight_type)) { + const value_maxHeight_value = value_maxHeight! + valueSerializer.writeLength(value_maxHeight_value) + } + } writeAccessibilityOptions(value: AccessibilityOptions): void { let valueSerializer : Serializer = this const value_accessibilityPreferred = value.accessibilityPreferred @@ -13894,6 +13939,25 @@ export class Serializer extends SerializerBase { throw new Error("Value is not a MaterializedBase instance!") } } + writeSnapshotOptions(value: SnapshotOptions): void { + let valueSerializer : Serializer = this + const value_scale = value.scale + let value_scale_type : int32 = RuntimeType.UNDEFINED + value_scale_type = runtimeType(value_scale) + valueSerializer.writeInt8(value_scale_type as int32) + if ((RuntimeType.UNDEFINED) != (value_scale_type)) { + const value_scale_value = value_scale! + valueSerializer.writeNumber(value_scale_value) + } + const value_waitUntilRenderFinished = value.waitUntilRenderFinished + let value_waitUntilRenderFinished_type : int32 = RuntimeType.UNDEFINED + value_waitUntilRenderFinished_type = runtimeType(value_waitUntilRenderFinished) + valueSerializer.writeInt8(value_waitUntilRenderFinished_type as int32) + if ((RuntimeType.UNDEFINED) != (value_waitUntilRenderFinished_type)) { + const value_waitUntilRenderFinished_value = value_waitUntilRenderFinished! + valueSerializer.writeBoolean(value_waitUntilRenderFinished_value) + } + } writeDoubleAnimationParam(value: DoubleAnimationParam): void { let valueSerializer : Serializer = this const value_propertyName = value.propertyName @@ -16546,6 +16610,23 @@ export class Serializer extends SerializerBase { valueSerializer.writeStyledString(value_previewText_value) } } + writeGestureEvent(value: GestureEvent): void { + let valueSerializer : Serializer = this + 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 const value_id = value.id @@ -18000,161 +18081,6 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(value_onGetRectByIndex_value) } } - writeRotationGestureHandlerOptions(value: RotationGestureHandlerOptions): void { - let valueSerializer : Serializer = this - const value_fingers = value.fingers - let value_fingers_type : int32 = RuntimeType.UNDEFINED - value_fingers_type = runtimeType(value_fingers) - valueSerializer.writeInt8(value_fingers_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { - const value_fingers_value = value_fingers! - valueSerializer.writeNumber(value_fingers_value) - } - const value_angle = value.angle - let value_angle_type : int32 = RuntimeType.UNDEFINED - value_angle_type = runtimeType(value_angle) - valueSerializer.writeInt8(value_angle_type as int32) - if ((RuntimeType.UNDEFINED) != (value_angle_type)) { - const value_angle_value = value_angle! - valueSerializer.writeNumber(value_angle_value) - } - } - writePinchGestureHandlerOptions(value: PinchGestureHandlerOptions): void { - let valueSerializer : Serializer = this - const value_fingers = value.fingers - let value_fingers_type : int32 = RuntimeType.UNDEFINED - value_fingers_type = runtimeType(value_fingers) - valueSerializer.writeInt8(value_fingers_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { - const value_fingers_value = value_fingers! - valueSerializer.writeNumber(value_fingers_value) - } - const value_distance = value.distance - let value_distance_type : int32 = RuntimeType.UNDEFINED - value_distance_type = runtimeType(value_distance) - valueSerializer.writeInt8(value_distance_type as int32) - if ((RuntimeType.UNDEFINED) != (value_distance_type)) { - const value_distance_value = value_distance! - valueSerializer.writeNumber(value_distance_value) - } - } - writeSwipeGestureHandlerOptions(value: SwipeGestureHandlerOptions): void { - let valueSerializer : Serializer = this - const value_fingers = value.fingers - let value_fingers_type : int32 = RuntimeType.UNDEFINED - value_fingers_type = runtimeType(value_fingers) - valueSerializer.writeInt8(value_fingers_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { - const value_fingers_value = value_fingers! - valueSerializer.writeNumber(value_fingers_value) - } - const value_direction = value.direction - let value_direction_type : int32 = RuntimeType.UNDEFINED - value_direction_type = runtimeType(value_direction) - valueSerializer.writeInt8(value_direction_type as int32) - if ((RuntimeType.UNDEFINED) != (value_direction_type)) { - const value_direction_value = (value_direction as SwipeDirection) - valueSerializer.writeInt32((value_direction_value.valueOf() as int32)) - } - const value_speed = value.speed - let value_speed_type : int32 = RuntimeType.UNDEFINED - value_speed_type = runtimeType(value_speed) - valueSerializer.writeInt8(value_speed_type as int32) - if ((RuntimeType.UNDEFINED) != (value_speed_type)) { - const value_speed_value = value_speed! - valueSerializer.writeNumber(value_speed_value) - } - } - writePanGestureHandlerOptions(value: PanGestureHandlerOptions): void { - let valueSerializer : Serializer = this - const value_fingers = value.fingers - let value_fingers_type : int32 = RuntimeType.UNDEFINED - value_fingers_type = runtimeType(value_fingers) - valueSerializer.writeInt8(value_fingers_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { - const value_fingers_value = value_fingers! - valueSerializer.writeNumber(value_fingers_value) - } - const value_direction = value.direction - let value_direction_type : int32 = RuntimeType.UNDEFINED - value_direction_type = runtimeType(value_direction) - valueSerializer.writeInt8(value_direction_type as int32) - if ((RuntimeType.UNDEFINED) != (value_direction_type)) { - const value_direction_value = (value_direction as PanDirection) - valueSerializer.writeInt32((value_direction_value.valueOf() as int32)) - } - const value_distance = value.distance - let value_distance_type : int32 = RuntimeType.UNDEFINED - value_distance_type = runtimeType(value_distance) - valueSerializer.writeInt8(value_distance_type as int32) - if ((RuntimeType.UNDEFINED) != (value_distance_type)) { - const value_distance_value = value_distance! - valueSerializer.writeNumber(value_distance_value) - } - } - writeLongPressGestureHandlerOptions(value: LongPressGestureHandlerOptions): void { - let valueSerializer : Serializer = this - const value_fingers = value.fingers - let value_fingers_type : int32 = RuntimeType.UNDEFINED - value_fingers_type = runtimeType(value_fingers) - valueSerializer.writeInt8(value_fingers_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { - const value_fingers_value = value_fingers! - valueSerializer.writeNumber(value_fingers_value) - } - const value_repeat = value.repeat - let value_repeat_type : int32 = RuntimeType.UNDEFINED - value_repeat_type = runtimeType(value_repeat) - valueSerializer.writeInt8(value_repeat_type as int32) - if ((RuntimeType.UNDEFINED) != (value_repeat_type)) { - const value_repeat_value = value_repeat! - valueSerializer.writeBoolean(value_repeat_value) - } - const value_duration = value.duration - let value_duration_type : int32 = RuntimeType.UNDEFINED - value_duration_type = runtimeType(value_duration) - valueSerializer.writeInt8(value_duration_type as int32) - if ((RuntimeType.UNDEFINED) != (value_duration_type)) { - const value_duration_value = value_duration! - valueSerializer.writeNumber(value_duration_value) - } - } - writeTapGestureHandlerOptions(value: TapGestureHandlerOptions): void { - let valueSerializer : Serializer = this - const value_count = value.count - let value_count_type : int32 = RuntimeType.UNDEFINED - value_count_type = runtimeType(value_count) - valueSerializer.writeInt8(value_count_type as int32) - if ((RuntimeType.UNDEFINED) != (value_count_type)) { - const value_count_value = value_count! - valueSerializer.writeNumber(value_count_value) - } - const value_fingers = value.fingers - let value_fingers_type : int32 = RuntimeType.UNDEFINED - value_fingers_type = runtimeType(value_fingers) - valueSerializer.writeInt8(value_fingers_type as int32) - if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { - const value_fingers_value = value_fingers! - valueSerializer.writeNumber(value_fingers_value) - } - } - writeGestureEvent(value: GestureEvent): void { - let valueSerializer : Serializer = this - 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!") - } - } writeGaugeIndicatorOptions(value: GaugeIndicatorOptions): void { let valueSerializer : Serializer = this const value_icon = value.icon @@ -20690,7 +20616,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeLength(value_dashGap_value_0_left_value) } } - else if (TypeChecker.isLengthMetrics(value_dashGap_value, false, false)) { + else if (((RuntimeType.OBJECT) == (value_dashGap_value_type)) && (TypeChecker.isLengthMetrics(value_dashGap_value, false, false))) { valueSerializer.writeInt8(1 as int32) const value_dashGap_value_1 = value_dashGap_value as LengthMetrics valueSerializer.writeLengthMetrics(value_dashGap_value_1) @@ -20745,7 +20671,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeLength(value_dashWidth_value_0_left_value) } } - else if (TypeChecker.isLengthMetrics(value_dashWidth_value, false, false)) { + else if (((RuntimeType.OBJECT) == (value_dashWidth_value_type)) && (TypeChecker.isLengthMetrics(value_dashWidth_value, false, false))) { valueSerializer.writeInt8(1 as int32) const value_dashWidth_value_1 = value_dashWidth_value as LengthMetrics valueSerializer.writeLengthMetrics(value_dashWidth_value_1) @@ -21011,41 +20937,6 @@ export class Serializer extends SerializerBase { const value_id = value.id valueSerializer.writeString(value_id) } - writeConstraintSizeOptions(value: ConstraintSizeOptions): void { - let valueSerializer : Serializer = this - const value_minWidth = value.minWidth - let value_minWidth_type : int32 = RuntimeType.UNDEFINED - value_minWidth_type = runtimeType(value_minWidth) - valueSerializer.writeInt8(value_minWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_minWidth_type)) { - const value_minWidth_value = value_minWidth! - valueSerializer.writeLength(value_minWidth_value) - } - const value_maxWidth = value.maxWidth - let value_maxWidth_type : int32 = RuntimeType.UNDEFINED - value_maxWidth_type = runtimeType(value_maxWidth) - valueSerializer.writeInt8(value_maxWidth_type as int32) - if ((RuntimeType.UNDEFINED) != (value_maxWidth_type)) { - const value_maxWidth_value = value_maxWidth! - valueSerializer.writeLength(value_maxWidth_value) - } - const value_minHeight = value.minHeight - let value_minHeight_type : int32 = RuntimeType.UNDEFINED - value_minHeight_type = runtimeType(value_minHeight) - valueSerializer.writeInt8(value_minHeight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_minHeight_type)) { - const value_minHeight_value = value_minHeight! - valueSerializer.writeLength(value_minHeight_value) - } - const value_maxHeight = value.maxHeight - let value_maxHeight_type : int32 = RuntimeType.UNDEFINED - value_maxHeight_type = runtimeType(value_maxHeight) - valueSerializer.writeInt8(value_maxHeight_type as int32) - if ((RuntimeType.UNDEFINED) != (value_maxHeight_type)) { - const value_maxHeight_value = value_maxHeight! - valueSerializer.writeLength(value_maxHeight_value) - } - } writeTouchObject(value: TouchObject): void { let valueSerializer : Serializer = this const value_type = value.type diff --git a/arkoala-arkts/arkui/src/generated/ts/NativeModule.ts b/arkoala-arkts/arkui/src/generated/ts/NativeModule.ts deleted file mode 100644 index 16bdf49a3..000000000 --- a/arkoala-arkts/arkui/src/generated/ts/NativeModule.ts +++ /dev/null @@ -1,4 +0,0 @@ -export function nativeModule(): any { - throw new Error("Not expected to be called, just a stub") -} -export const NativeModule: any = undefined \ 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 9c6a3ff00..4dabe5b96 100644 --- a/arkoala-arkts/arkui/src/generated/ts/type_check.ts +++ b/arkoala-arkts/arkui/src/generated/ts/type_check.ts @@ -4,15 +4,19 @@ import { DoubleAnimationParam, Callback_Extender_OnProgress, Callback_Extender_O import { Curve, DialogButtonStyle, BorderStyle, WordBreak, AnimationStatus, FillMode, PlayMode, FontWeight, TextOverflow, TextHeightAdaptivePolicy, FontStyle, Axis, CheckBoxShape, HorizontalAlign, FlexAlign, TextDecorationType, TextDecorationStyle, SharedTransitionEffectType, VerticalAlign, TransitionType, Color, ColoringStrategy, MouseButton, MouseAction, AccessibilityHoverType, TouchType, KeyType, KeySource, Placement, ArrowPointPosition, ClickEffectLevel, NestedScrollMode, GradientDirection, Alignment, HitTestMode, ImageSize, HoverEffect, Visibility, ItemAlign, Direction, ObscuredReasons, RenderFit, ImageRepeat, ResponseType, FunctionKey, ModifierKey, LineCapStyle, LineJoinStyle, PixelRoundCalcPolicy, BarState, EdgeEffect, IlluminatedType, EmbeddedType, ImageFit, Edge, Week, RelateType, FlexDirection, FlexWrap, TextAlign, TextCase, CopyOptions, TitleHeight, ImageSpanAlignment, TextContentStyle, XComponentType, ScrollSource, LineBreakStrategy, EllipsisMode, OptionWidthMode, FoldStatus, AppRotation, MarqueeUpdateStrategy, TextSelectableMode, WidthBreakpoint, HeightBreakpoint } from "./../ArkEnumsInterfaces" import { ICurve } from "./../ArkICurveMaterialized" import { AnimationExtender } from "./../ArkAnimationExtenderMaterialized" -import { AnimateParam, 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, 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 { AnimateParam, 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, 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, MeasureResult, NavDestinationInfo, NavigationInfo, RouterPageInfo, Theme, CaretOffset, ContentClipMode, ScrollableCommonMethod, EdgeEffectOptions, ScrollResult, OnWillScrollCallback, OnMoveHandler, LightSource, KeyframeAnimateParam, KeyframeState, Callback, VisibleAreaEventOptions, HoverCallback, UIGestureEvent, SelectionOptions, KeyboardAvoidMode } from "./../ArkCommonInterfaces" import { PointerStyle, Callback_RangeUpdate } from "./../ArkArkui-customInterfaces" import { UnifiedData } from "./../ArkUnifiedDataMaterialized" import { LazyForEachOps } from "./../ArkLazyForEachOpsMaterialized" import { DrawingCanvas } from "./../ArkDrawingCanvasMaterialized" import { PixelMap } from "./../ArkPixelMapMaterialized" -import { NodeController, TextModifier, RectWidthStyle, RectHeightStyle, Want, LengthUnit, LengthMetrics, WebHeader } from "./../ArkArkui-externalInterfaces" -import { WebviewController } from "./../ArkWebviewControllerMaterialized" +import { NodeController, TextModifier, RectWidthStyle, RectHeightStyle, Want, LengthUnit, WebHeader, SnapshotOptions, PerfMonitorActionType, PerfMonitorSourceType } from "./../ArkArkui-externalInterfaces" +import { LengthMetrics } from "./../ArkLengthMetricsMaterialized" import { Resource } from "./../ArkResourceInterfaces" +import { WebviewController } from "./../ArkWebviewControllerMaterialized" +import { GlobalScope_ohos_arkui_componentSnapshot } from "./../ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized" +import { AsyncCallback_image_PixelMap_Void, 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_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_Union_Number_Resource_Void, Callback_ResourceStr_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_Union_Number_Array_Number_Void, Callback_Union_String_Array_String_Void, 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 { GlobalScope_ohos_arkui_performanceMonitor } from "./../ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized" import { FrameNode } from "./../ArkFrameNodeMaterialized" import { Position, VoidCallback, ResourceStr, ResourceColor, Dimension, BorderRadiuses, LocalizedBorderRadiuses, EdgeWidths, LocalizedEdgeWidths, EdgeColors, LocalizedEdgeColors, EdgeStyles, Offset, Font, Length, LengthMetricsUnit, MarkStyle, Bias, Area, Margin, SizeOptions, ConstraintSizeOptions, ChainWeightOptions, Padding, LocalizedPadding, LocalizedMargin, BorderOptions, OutlineOptions, EdgeOutlineStyles, EdgeOutlineWidths, OutlineRadiuses, Edges, LocalizedEdges, LocalizedPosition, AccessibilityOptions, EdgeWidth, DirectionalEdgesT, ColorMetrics, ColorFilter, LengthConstrain, DividerStyleOptions, VP, PX, LPX, TouchPoint } from "./../ArkUnitsInterfaces" import { NavExtender } from "./../ArkNavExtenderMaterialized" @@ -22,7 +26,6 @@ import { Point } from "./../ArkPointInterfaces" import { Root, ComponentRoot } from "./../ArkStaticComponentsInterfaces" import { EventEmulator } from "./../ArkEventEmulatorMaterialized" 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_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_Union_Number_Resource_Void, Callback_ResourceStr_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_Union_Number_Array_Number_Void, Callback_Union_String_Array_String_Void, 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 { DialogAlignment, DialogButtonDirection, AlertDialogButtonBaseOptions, AlertDialogButtonOptions, TextStyle_alert_dialog, AlertDialogParam, AlertDialogParamWithConfirm, AlertDialogParamWithButtons, AlertDialogParamWithOptions } from "./../ArkAlertDialogInterfaces" @@ -71,15 +74,15 @@ 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, GestureJudgeResult, GestureType, GestureMask, GesturePriority, PanDirection, SwipeDirection, GestureMode, FingerInfo, GestureInterface, TapGestureParameters, TapGestureInterface, LongPressGestureInterface, PanGestureInterface, SwipeGestureInterface, PinchGestureInterface, RotationGestureInterface, GestureGroupInterface, TapGestureHandlerOptions, LongPressGestureHandlerOptions, PanGestureHandlerOptions, SwipeGestureHandlerOptions, PinchGestureHandlerOptions, RotationGestureHandlerOptions, GestureGroupGestureHandlerOptions, GestureRecognizerState } from "./../ArkGestureInterfaces" +import { GestureInfo, GestureJudgeResult, 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 { Measurable } from "./../ArkMeasurableMaterialized" import { View } from "./../ArkViewMaterialized" import { TextContentControllerBase } from "./../ArkTextContentControllerBaseMaterialized" 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 { GestureHandler } from "./../ArkGestureHandlerMaterialized" import { EnvPropsOptions, PersistPropsOptions } from "./../ArkCommonTsEtsApiInterfaces" import { Scene, ModelType, SceneOptions, Component3DInterface, Component3DAttribute } from "./../ArkComponent3dInterfaces" import { ContainerSpanInterface, ContainerSpanAttribute } from "./../ArkContainerSpanInterfaces" @@ -112,12 +115,6 @@ import { RotationGestureEvent } from "./../ArkRotationGestureEventMaterialized" import { SwipeGestureEvent } from "./../ArkSwipeGestureEventMaterialized" import { GestureEvent } from "./../ArkGestureEventMaterialized" import { PanGestureOptions } from "./../ArkPanGestureOptionsMaterialized" -import { TapGestureHandler } from "./../ArkTapGestureHandlerMaterialized" -import { LongPressGestureHandler } from "./../ArkLongPressGestureHandlerMaterialized" -import { PanGestureHandler } from "./../ArkPanGestureHandlerMaterialized" -import { SwipeGestureHandler } from "./../ArkSwipeGestureHandlerMaterialized" -import { PinchGestureHandler } from "./../ArkPinchGestureHandlerMaterialized" -import { RotationGestureHandler } from "./../ArkRotationGestureHandlerMaterialized" import { ScrollableTargetInfo } from "./../ArkScrollableTargetInfoMaterialized" import { EventTargetInfo } from "./../ArkEventTargetInfoMaterialized" import { GestureRecognizer } from "./../ArkGestureRecognizerMaterialized" @@ -6112,6 +6109,12 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof GestureStyleInterface") } } + static isGlobalScope_ohos_arkui_componentSnapshot(value: object|string|number|undefined|null|boolean): boolean { + throw new Error("Can not discriminate value typeof GlobalScope_ohos_arkui_componentSnapshot") + } + static isGlobalScope_ohos_arkui_performanceMonitor(value: object|string|number|undefined|null|boolean): boolean { + throw new Error("Can not discriminate value typeof GlobalScope_ohos_arkui_performanceMonitor") + } static isGradientDirection(value: object|string|number|undefined|null|boolean): boolean { if (((value) === (GradientDirection.Left))) { return true @@ -11380,6 +11383,40 @@ export class TypeChecker { static isPatternLockInterface(value: object|string|number|undefined|null|boolean): boolean { throw new Error("Can not discriminate value typeof PatternLockInterface") } + static isPerfMonitorActionType(value: object|string|number|undefined|null|boolean): boolean { + if (((value) === (PerfMonitorActionType.LAST_DOWN))) { + return true + } + else if (((value) === (PerfMonitorActionType.LAST_UP))) { + return true + } + else if (((value) === (PerfMonitorActionType.FIRST_MOVE))) { + return true + } + else { + throw new Error("Can not discriminate value typeof PerfMonitorActionType") + } + } + static isPerfMonitorSourceType(value: object|string|number|undefined|null|boolean): boolean { + if (((value) === (PerfMonitorSourceType.PERF_TOUCH_EVENT))) { + return true + } + else if (((value) === (PerfMonitorSourceType.PERF_MOUSE_EVENT))) { + return true + } + else if (((value) === (PerfMonitorSourceType.PERF_TOUCHPAD_EVENT))) { + return true + } + else if (((value) === (PerfMonitorSourceType.PERF_JOYSTICK_EVENT))) { + return true + } + else if (((value) === (PerfMonitorSourceType.PERF_KEY_EVENT))) { + return true + } + else { + throw new Error("Can not discriminate value typeof PerfMonitorSourceType") + } + } static isPermissionRequest(value: object|string|number|undefined|null|boolean): boolean { throw new Error("Can not discriminate value typeof PermissionRequest") } @@ -15300,6 +15337,17 @@ export class TypeChecker { throw new Error("Can not discriminate value typeof SliderStyle") } } + static isSnapshotOptions(value: object|string|number|undefined|null|boolean, duplicated_scale: boolean, duplicated_waitUntilRenderFinished: boolean): boolean { + if ((!duplicated_scale) && (value?.hasOwnProperty("scale"))) { + return true + } + else if ((!duplicated_waitUntilRenderFinished) && (value?.hasOwnProperty("waitUntilRenderFinished"))) { + return true + } + else { + throw new Error("Can not discriminate value typeof SnapshotOptions") + } + } static isSourceTool(value: object|string|number|undefined|null|boolean): boolean { if (((value) === (SourceTool.Unknown))) { return true diff --git a/arkoala-arkts/arkui/types/index-full.d.ts b/arkoala-arkts/arkui/types/index-full.d.ts index 10f71d49d..8fb3a139a 100644 --- a/arkoala-arkts/arkui/types/index-full.d.ts +++ b/arkoala-arkts/arkui/types/index-full.d.ts @@ -294,9 +294,11 @@ declare enum LengthUnit { PERCENT = 3, LPX = 4, } -declare interface LengthMetrics { +declare class LengthMetrics { unit: LengthUnit; value: number; + static px(value: number): LengthMetrics; + static resource(value: Resource): LengthMetrics; } declare interface WebHeader { headerKey: string; @@ -306,6 +308,31 @@ declare class WebviewController { static initializeWebEngine(): void; loadUrl(url: (string|Resource), headers?: WebHeader[]): void; } +declare interface SnapshotOptions { + scale?: number; + waitUntilRenderFinished?: boolean; +} +declare type AsyncCallback_image_PixelMap_Void = ((result: PixelMap) => void); +declare class GlobalScope_ohos_arkui_componentSnapshot { + static get(id: string, callback_: ((result: PixelMap) => void), options?: SnapshotOptions): void; +} +declare enum PerfMonitorActionType { + LAST_DOWN = 0, + LAST_UP = 1, + FIRST_MOVE = 2, +} +declare enum PerfMonitorSourceType { + PERF_TOUCH_EVENT = 0, + PERF_MOUSE_EVENT = 1, + PERF_TOUCHPAD_EVENT = 2, + PERF_JOYSTICK_EVENT = 3, + PERF_KEY_EVENT = 4, +} +declare class GlobalScope_ohos_arkui_performanceMonitor { + static begin(scene: string, startInputType: PerfMonitorActionType, note?: string): void; + static end(scene: string): void; + static recordInputEventTime(type: PerfMonitorActionType, sourceType: PerfMonitorSourceType, time: number): void; +} declare class FrameNode { constructor(uiContext: UIContext); isModifiable(): boolean; diff --git a/arkoala/arkui-types/index-full.d.ts b/arkoala/arkui-types/index-full.d.ts index 78dc263e9..736562fce 100644 --- a/arkoala/arkui-types/index-full.d.ts +++ b/arkoala/arkui-types/index-full.d.ts @@ -370,9 +370,11 @@ declare enum LengthUnit { PERCENT = 3, LPX = 4, } -declare interface LengthMetrics { +declare class LengthMetrics { unit: LengthUnit; value: number; + static px(value: number): LengthMetrics; + static resource(value: Resource): LengthMetrics; } declare interface WebHeader { headerKey: string; @@ -382,6 +384,31 @@ declare class WebviewController { static initializeWebEngine(): void; loadUrl(url: (string|Resource), headers?: WebHeader[]): void; } +declare interface SnapshotOptions { + scale?: number; + waitUntilRenderFinished?: boolean; +} +declare type AsyncCallback_image_PixelMap_Void = ((result: PixelMap) => void); +declare class GlobalScope_ohos_arkui_componentSnapshot { + static get(id: string, callback_: ((result: PixelMap) => void), options?: SnapshotOptions): void; +} +declare enum PerfMonitorActionType { + LAST_DOWN = 0, + LAST_UP = 1, + FIRST_MOVE = 2, +} +declare enum PerfMonitorSourceType { + PERF_TOUCH_EVENT = 0, + PERF_MOUSE_EVENT = 1, + PERF_TOUCHPAD_EVENT = 2, + PERF_JOYSTICK_EVENT = 3, + PERF_KEY_EVENT = 4, +} +declare class GlobalScope_ohos_arkui_performanceMonitor { + static begin(scene: string, startInputType: PerfMonitorActionType, note?: string): void; + static end(scene: string): void; + static recordInputEventTime(type: PerfMonitorActionType, sourceType: PerfMonitorSourceType, time: number): void; +} declare class FrameNode { constructor(uiContext: UIContext); isModifiable(): boolean; diff --git a/arkoala/arkui/src/ArkTapGestureHandlerMaterialized.ts b/arkoala/arkui/src/ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized.ts similarity index 39% rename from arkoala/arkui/src/ArkTapGestureHandlerMaterialized.ts rename to arkoala/arkui/src/ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized.ts index f02c17e6b..c561a1345 100644 --- a/arkoala/arkui/src/ArkTapGestureHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized.ts @@ -1,4 +1,3 @@ -import { GestureHandler } from "./ArkGestureHandlerMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -8,49 +7,50 @@ import { int32 } from "@koalaui/common" import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackTransformer } from "./peers/CallbackTransformer" import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" -export class TapGestureHandler extends GestureHandler implements MaterializedBase { +export class GlobalScope_ohos_arkui_componentSnapshot implements MaterializedBase { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { return this.peer } - static ctor(options?: TapGestureHandlerOptions): KPointer { - const thisSerializer: Serializer = Serializer.hold() - let options_type: int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeTapGestureHandlerOptions(options_value) - } - const retval = ArkUIGeneratedNativeModule._TapGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._GlobalScope_ohos_arkui_componentSnapshot_ctor() return retval } - constructor(options?: TapGestureHandlerOptions) { - super() - const ctorPtr: KPointer = TapGestureHandler.ctor(options) - this.peer = new Finalizable(ctorPtr, TapGestureHandler.getFinalizer()) + 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_ohos_arkui_componentSnapshot.ctor() + this.peer = new Finalizable(ctorPtr, GlobalScope_ohos_arkui_componentSnapshot.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._TapGestureHandler_getFinalizer() + return ArkUIGeneratedNativeModule._GlobalScope_ohos_arkui_componentSnapshot_getFinalizer() } - onAction(event: ((event: GestureEvent) => void)): TapGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onAction_serialize(event_casted) + static get(id: string, callback: ((result: PixelMap) => void), options?: SnapshotOptions): void { + const id_casted = id as (string) + const callback_casted = callback as (((result: PixelMap) => void)) + const options_casted = options as (SnapshotOptions | undefined) + GlobalScope_ohos_arkui_componentSnapshot.get_serialize(id_casted, callback_casted, options_casted) + return } - private onAction_serialize(event: ((event: GestureEvent) => void)): TapGestureHandler { + private static get_serialize(id: string, callback: ((result: PixelMap) => void), options?: SnapshotOptions): void { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._TapGestureHandler_onAction(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.holdAndWriteCallback(callback) + let options_type: int32 = RuntimeType.UNDEFINED + options_type = runtimeType(options) + thisSerializer.writeInt8(options_type) + if ((RuntimeType.UNDEFINED) != (options_type)) { + const options_value = options! + thisSerializer.writeSnapshotOptions(options_value) + } + ArkUIGeneratedNativeModule._GlobalScope_ohos_arkui_componentSnapshot_get(id, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() - const obj: TapGestureHandler = TapGestureHandlerInternal.fromPtr(retval) - return obj } } -export class TapGestureHandlerInternal { - public static fromPtr(ptr: KPointer): TapGestureHandler { - const obj: TapGestureHandler = new TapGestureHandler(undefined) - obj.peer = new Finalizable(ptr, TapGestureHandler.getFinalizer()) +export class GlobalScope_ohos_arkui_componentSnapshotInternal { + public static fromPtr(ptr: KPointer): GlobalScope_ohos_arkui_componentSnapshot { + const obj: GlobalScope_ohos_arkui_componentSnapshot = new GlobalScope_ohos_arkui_componentSnapshot() + obj.peer = new Finalizable(ptr, GlobalScope_ohos_arkui_componentSnapshot.getFinalizer()) return obj } } \ No newline at end of file diff --git a/arkoala/arkui/src/ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized.ts b/arkoala/arkui/src/ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized.ts new file mode 100644 index 000000000..95270c451 --- /dev/null +++ b/arkoala/arkui/src/ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized.ts @@ -0,0 +1,73 @@ +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { unsafeCast } from "./shared/generated-utils" +import { CallbackKind } from "./peers/CallbackKind" +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +export class GlobalScope_ohos_arkui_performanceMonitor implements MaterializedBase { + peer?: Finalizable | undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._GlobalScope_ohos_arkui_performanceMonitor_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_ohos_arkui_performanceMonitor.ctor() + this.peer = new Finalizable(ctorPtr, GlobalScope_ohos_arkui_performanceMonitor.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._GlobalScope_ohos_arkui_performanceMonitor_getFinalizer() + } + static begin(scene: string, startInputType: PerfMonitorActionType, note?: string): void { + const scene_casted = scene as (string) + const startInputType_casted = startInputType as (PerfMonitorActionType) + const note_casted = note as (string | undefined) + GlobalScope_ohos_arkui_performanceMonitor.begin_serialize(scene_casted, startInputType_casted, note_casted) + return + } + static end(scene: string): void { + const scene_casted = scene as (string) + GlobalScope_ohos_arkui_performanceMonitor.end_serialize(scene_casted) + return + } + static recordInputEventTime(type: PerfMonitorActionType, sourceType: PerfMonitorSourceType, time: number): void { + const type_casted = type as (PerfMonitorActionType) + const sourceType_casted = sourceType as (PerfMonitorSourceType) + const time_casted = time as (number) + GlobalScope_ohos_arkui_performanceMonitor.recordInputEventTime_serialize(type_casted, sourceType_casted, time_casted) + return + } + private static begin_serialize(scene: string, startInputType: PerfMonitorActionType, note?: string): void { + const thisSerializer: Serializer = Serializer.hold() + let note_type: int32 = RuntimeType.UNDEFINED + note_type = runtimeType(note) + thisSerializer.writeInt8(note_type) + if ((RuntimeType.UNDEFINED) != (note_type)) { + const note_value = note! + thisSerializer.writeString(note_value) + } + ArkUIGeneratedNativeModule._GlobalScope_ohos_arkui_performanceMonitor_begin(scene, startInputType, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + } + private static end_serialize(scene: string): void { + ArkUIGeneratedNativeModule._GlobalScope_ohos_arkui_performanceMonitor_end(scene) + } + private static recordInputEventTime_serialize(type: PerfMonitorActionType, sourceType: PerfMonitorSourceType, time: number): void { + ArkUIGeneratedNativeModule._GlobalScope_ohos_arkui_performanceMonitor_recordInputEventTime(type, sourceType, time) + } +} +export class GlobalScope_ohos_arkui_performanceMonitorInternal { + public static fromPtr(ptr: KPointer): GlobalScope_ohos_arkui_performanceMonitor { + const obj: GlobalScope_ohos_arkui_performanceMonitor = new GlobalScope_ohos_arkui_performanceMonitor() + obj.peer = new Finalizable(ptr, GlobalScope_ohos_arkui_performanceMonitor.getFinalizer()) + return obj + } +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkLengthMetricsMaterialized.ts b/arkoala/arkui/src/ArkLengthMetricsMaterialized.ts new file mode 100644 index 000000000..d7e8bb65b --- /dev/null +++ b/arkoala/arkui/src/ArkLengthMetricsMaterialized.ts @@ -0,0 +1,99 @@ +import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" +import { MaterializedBase } from "./MaterializedBase" +import { Serializer } from "./peers/Serializer" +import { unsafeCast } from "./shared/generated-utils" +import { CallbackKind } from "./peers/CallbackKind" +import { int32 } from "@koalaui/common" +import { Deserializer, createDeserializer } from "./peers/Deserializer" +import { CallbackTransformer } from "./peers/CallbackTransformer" +import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" +export class LengthMetrics implements MaterializedBase { + peer?: Finalizable | undefined + public getPeer(): Finalizable | undefined { + return this.peer + } + get unit(): LengthUnit { + return this.getUnit() + } + set unit(unit: LengthUnit) { + this.setUnit(unit) + } + get value(): number { + return this.getValue() + } + set value(value: number) { + this.setValue(value) + } + static ctor(): KPointer { + const retval = ArkUIGeneratedNativeModule._LengthMetrics_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 = LengthMetrics.ctor() + this.peer = new Finalizable(ctorPtr, LengthMetrics.getFinalizer()) + } + static getFinalizer(): KPointer { + return ArkUIGeneratedNativeModule._LengthMetrics_getFinalizer() + } + static px(value: number): LengthMetrics { + const value_casted = value as (number) + return LengthMetrics.px_serialize(value_casted) + } + static resource(value: Resource): LengthMetrics { + const value_casted = value as (Resource) + return LengthMetrics.resource_serialize(value_casted) + } + private getUnit(): LengthUnit { + return this.getUnit_serialize() + } + private setUnit(unit: LengthUnit): void { + const unit_casted = unit as (LengthUnit) + this?.setUnit_serialize(unit_casted) + return + } + private getValue(): number { + return this.getValue_serialize() + } + private setValue(value: number): void { + const value_casted = value as (number) + this?.setValue_serialize(value_casted) + return + } + private static px_serialize(value: number): LengthMetrics { + const retval = ArkUIGeneratedNativeModule._LengthMetrics_px(value) + const obj: LengthMetrics = LengthMetricsInternal.fromPtr(retval) + return obj + } + private static resource_serialize(value: Resource): LengthMetrics { + const thisSerializer: Serializer = Serializer.hold() + thisSerializer.writeResource(value) + const retval = ArkUIGeneratedNativeModule._LengthMetrics_resource(thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.release() + const obj: LengthMetrics = LengthMetricsInternal.fromPtr(retval) + return obj + } + private getUnit_serialize(): LengthUnit { + const retval = ArkUIGeneratedNativeModule._LengthMetrics_getUnit(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private setUnit_serialize(unit: LengthUnit): void { + ArkUIGeneratedNativeModule._LengthMetrics_setUnit(this.peer!.ptr, unit) + } + private getValue_serialize(): number { + const retval = ArkUIGeneratedNativeModule._LengthMetrics_getValue(this.peer!.ptr) + return retval + } + private setValue_serialize(value: number): void { + ArkUIGeneratedNativeModule._LengthMetrics_setValue(this.peer!.ptr, value) + } +} +export class LengthMetricsInternal { + public static fromPtr(ptr: KPointer): LengthMetrics { + const obj: LengthMetrics = new LengthMetrics() + obj.peer = new Finalizable(ptr, LengthMetrics.getFinalizer()) + return obj + } +} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkLongPressGestureHandlerMaterialized.ts b/arkoala/arkui/src/ArkLongPressGestureHandlerMaterialized.ts deleted file mode 100644 index b3384ff21..000000000 --- a/arkoala/arkui/src/ArkLongPressGestureHandlerMaterialized.ts +++ /dev/null @@ -1,80 +0,0 @@ -import { GestureHandler } from "./ArkGestureHandlerMaterialized" -import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" -import { MaterializedBase } from "./MaterializedBase" -import { Serializer } from "./peers/Serializer" -import { unsafeCast } from "./shared/generated-utils" -import { CallbackKind } from "./peers/CallbackKind" -import { int32 } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./peers/Deserializer" -import { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" -export class LongPressGestureHandler extends GestureHandler implements MaterializedBase { - peer?: Finalizable | undefined - public getPeer(): Finalizable | undefined { - return this.peer - } - static ctor(options?: LongPressGestureHandlerOptions): KPointer { - const thisSerializer: Serializer = Serializer.hold() - let options_type: int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeLongPressGestureHandlerOptions(options_value) - } - const retval = ArkUIGeneratedNativeModule._LongPressGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - return retval - } - constructor(options?: LongPressGestureHandlerOptions) { - super() - const ctorPtr: KPointer = LongPressGestureHandler.ctor(options) - this.peer = new Finalizable(ctorPtr, LongPressGestureHandler.getFinalizer()) - } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._LongPressGestureHandler_getFinalizer() - } - onAction(event: ((event: GestureEvent) => void)): LongPressGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onAction_serialize(event_casted) - } - onActionEnd(event: ((event: GestureEvent) => void)): LongPressGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionEnd_serialize(event_casted) - } - onActionCancel(event: (() => void)): LongPressGestureHandler { - const event_casted = event as ((() => void)) - return this.onActionCancel_serialize(event_casted) - } - private onAction_serialize(event: ((event: GestureEvent) => void)): LongPressGestureHandler { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._LongPressGestureHandler_onAction(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj: LongPressGestureHandler = LongPressGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionEnd_serialize(event: ((event: GestureEvent) => void)): LongPressGestureHandler { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._LongPressGestureHandler_onActionEnd(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj: LongPressGestureHandler = LongPressGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionCancel_serialize(event: (() => void)): LongPressGestureHandler { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._LongPressGestureHandler_onActionCancel(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj: LongPressGestureHandler = LongPressGestureHandlerInternal.fromPtr(retval) - return obj - } -} -export class LongPressGestureHandlerInternal { - public static fromPtr(ptr: KPointer): LongPressGestureHandler { - const obj: LongPressGestureHandler = new LongPressGestureHandler(undefined) - obj.peer = new Finalizable(ptr, LongPressGestureHandler.getFinalizer()) - return obj - } -} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkGestureHandlerMaterialized.ts b/arkoala/arkui/src/ArkMeasurableMaterialized.ts similarity index 37% rename from arkoala/arkui/src/ArkGestureHandlerMaterialized.ts rename to arkoala/arkui/src/ArkMeasurableMaterialized.ts index 8709125bb..c399b0d99 100644 --- a/arkoala/arkui/src/ArkGestureHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkMeasurableMaterialized.ts @@ -7,50 +7,57 @@ import { int32 } from "@koalaui/common" import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackTransformer } from "./peers/CallbackTransformer" import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" -export class GestureHandler implements MaterializedBase { +export class MeasurableInternal implements MaterializedBase,Measurable { peer?: Finalizable | undefined public getPeer(): Finalizable | undefined { return this.peer } static ctor(): KPointer { - const retval = ArkUIGeneratedNativeModule._GestureHandler_ctor() + const retval = ArkUIGeneratedNativeModule._Measurable_ctor() return retval } constructor() { - const ctorPtr: KPointer = GestureHandler.ctor() - this.peer = new Finalizable(ctorPtr, GestureHandler.getFinalizer()) + const ctorPtr: KPointer = MeasurableInternal.ctor() + this.peer = new Finalizable(ctorPtr, MeasurableInternal.getFinalizer()) } static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._GestureHandler_getFinalizer() + return ArkUIGeneratedNativeModule._Measurable_getFinalizer() } - tag(tag: string): T { - const tag_casted = tag as (string) - return this.tag_serialize(tag_casted) + measure(constraint: ConstraintSizeOptions): MeasureResult { + const constraint_casted = constraint as (ConstraintSizeOptions) + return this.measure_serialize(constraint_casted) } - allowedTypes(types: Array): T { - const types_casted = types as (Array) - return this.allowedTypes_serialize(types_casted) + getMargin(): DirectionalEdgesT { + return this.getMargin_serialize() } - private tag_serialize(tag: string): T { - const retval = ArkUIGeneratedNativeModule._GestureHandler_tag(this.peer!.ptr, tag) - throw new Error("Object deserialization is not implemented.") + getPadding(): DirectionalEdgesT { + return this.getPadding_serialize() + } + getBorderWidth(): DirectionalEdgesT { + return this.getBorderWidth_serialize() } - private allowedTypes_serialize(types: Array): T { + private measure_serialize(constraint: ConstraintSizeOptions): MeasureResult { const thisSerializer: Serializer = Serializer.hold() - thisSerializer.writeInt32(types.length) - for (let i = 0; i < types.length; i++) { - const types_element: SourceTool = types[i] - thisSerializer.writeInt32(types_element) - } - const retval = ArkUIGeneratedNativeModule._GestureHandler_allowedTypes(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) + thisSerializer.writeConstraintSizeOptions(constraint) + const retval = ArkUIGeneratedNativeModule._Measurable_measure(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) thisSerializer.release() throw new Error("Object deserialization is not implemented.") } -} -export class GestureHandlerInternal { - public static fromPtr(ptr: KPointer): GestureHandler { - const obj: GestureHandler = new GestureHandler() - obj.peer = new Finalizable(ptr, GestureHandler.getFinalizer()) + private getMargin_serialize(): DirectionalEdgesT { + const retval = ArkUIGeneratedNativeModule._Measurable_getMargin(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private getPadding_serialize(): DirectionalEdgesT { + const retval = ArkUIGeneratedNativeModule._Measurable_getPadding(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + private getBorderWidth_serialize(): DirectionalEdgesT { + const retval = ArkUIGeneratedNativeModule._Measurable_getBorderWidth(this.peer!.ptr) + throw new Error("Object deserialization is not implemented.") + } + public static fromPtr(ptr: KPointer): MeasurableInternal { + const obj: MeasurableInternal = new MeasurableInternal() + obj.peer = new Finalizable(ptr, MeasurableInternal.getFinalizer()) return obj } } \ No newline at end of file diff --git a/arkoala/arkui/src/ArkPanGestureHandlerMaterialized.ts b/arkoala/arkui/src/ArkPanGestureHandlerMaterialized.ts deleted file mode 100644 index ed15574c6..000000000 --- a/arkoala/arkui/src/ArkPanGestureHandlerMaterialized.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { GestureHandler } from "./ArkGestureHandlerMaterialized" -import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" -import { MaterializedBase } from "./MaterializedBase" -import { Serializer } from "./peers/Serializer" -import { unsafeCast } from "./shared/generated-utils" -import { CallbackKind } from "./peers/CallbackKind" -import { int32 } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./peers/Deserializer" -import { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" -export class PanGestureHandler extends GestureHandler implements MaterializedBase { - peer?: Finalizable | undefined - public getPeer(): Finalizable | undefined { - return this.peer - } - static ctor(options?: PanGestureHandlerOptions): KPointer { - const thisSerializer: Serializer = Serializer.hold() - let options_type: int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writePanGestureHandlerOptions(options_value) - } - const retval = ArkUIGeneratedNativeModule._PanGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - return retval - } - constructor(options?: PanGestureHandlerOptions) { - super() - const ctorPtr: KPointer = PanGestureHandler.ctor(options) - this.peer = new Finalizable(ctorPtr, PanGestureHandler.getFinalizer()) - } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._PanGestureHandler_getFinalizer() - } - onActionStart(event: ((event: GestureEvent) => void)): PanGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionStart_serialize(event_casted) - } - onActionUpdate(event: ((event: GestureEvent) => void)): PanGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionUpdate_serialize(event_casted) - } - onActionEnd(event: ((event: GestureEvent) => void)): PanGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionEnd_serialize(event_casted) - } - onActionCancel(event: (() => void)): PanGestureHandler { - const event_casted = event as ((() => void)) - return this.onActionCancel_serialize(event_casted) - } - private onActionStart_serialize(event: ((event: GestureEvent) => void)): PanGestureHandler { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PanGestureHandler_onActionStart(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj: PanGestureHandler = PanGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionUpdate_serialize(event: ((event: GestureEvent) => void)): PanGestureHandler { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PanGestureHandler_onActionUpdate(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj: PanGestureHandler = PanGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionEnd_serialize(event: ((event: GestureEvent) => void)): PanGestureHandler { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PanGestureHandler_onActionEnd(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj: PanGestureHandler = PanGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionCancel_serialize(event: (() => void)): PanGestureHandler { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PanGestureHandler_onActionCancel(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj: PanGestureHandler = PanGestureHandlerInternal.fromPtr(retval) - return obj - } -} -export class PanGestureHandlerInternal { - public static fromPtr(ptr: KPointer): PanGestureHandler { - const obj: PanGestureHandler = new PanGestureHandler(undefined) - obj.peer = new Finalizable(ptr, PanGestureHandler.getFinalizer()) - return obj - } -} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkPinchGestureHandlerMaterialized.ts b/arkoala/arkui/src/ArkPinchGestureHandlerMaterialized.ts deleted file mode 100644 index 6e4479909..000000000 --- a/arkoala/arkui/src/ArkPinchGestureHandlerMaterialized.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { GestureHandler } from "./ArkGestureHandlerMaterialized" -import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" -import { MaterializedBase } from "./MaterializedBase" -import { Serializer } from "./peers/Serializer" -import { unsafeCast } from "./shared/generated-utils" -import { CallbackKind } from "./peers/CallbackKind" -import { int32 } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./peers/Deserializer" -import { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" -export class PinchGestureHandler extends GestureHandler implements MaterializedBase { - peer?: Finalizable | undefined - public getPeer(): Finalizable | undefined { - return this.peer - } - static ctor(options?: PinchGestureHandlerOptions): KPointer { - const thisSerializer: Serializer = Serializer.hold() - let options_type: int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writePinchGestureHandlerOptions(options_value) - } - const retval = ArkUIGeneratedNativeModule._PinchGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - return retval - } - constructor(options?: PinchGestureHandlerOptions) { - super() - const ctorPtr: KPointer = PinchGestureHandler.ctor(options) - this.peer = new Finalizable(ctorPtr, PinchGestureHandler.getFinalizer()) - } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._PinchGestureHandler_getFinalizer() - } - onActionStart(event: ((event: GestureEvent) => void)): PinchGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionStart_serialize(event_casted) - } - onActionUpdate(event: ((event: GestureEvent) => void)): PinchGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionUpdate_serialize(event_casted) - } - onActionEnd(event: ((event: GestureEvent) => void)): PinchGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionEnd_serialize(event_casted) - } - onActionCancel(event: (() => void)): PinchGestureHandler { - const event_casted = event as ((() => void)) - return this.onActionCancel_serialize(event_casted) - } - private onActionStart_serialize(event: ((event: GestureEvent) => void)): PinchGestureHandler { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PinchGestureHandler_onActionStart(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj: PinchGestureHandler = PinchGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionUpdate_serialize(event: ((event: GestureEvent) => void)): PinchGestureHandler { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PinchGestureHandler_onActionUpdate(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj: PinchGestureHandler = PinchGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionEnd_serialize(event: ((event: GestureEvent) => void)): PinchGestureHandler { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PinchGestureHandler_onActionEnd(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj: PinchGestureHandler = PinchGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionCancel_serialize(event: (() => void)): PinchGestureHandler { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._PinchGestureHandler_onActionCancel(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj: PinchGestureHandler = PinchGestureHandlerInternal.fromPtr(retval) - return obj - } -} -export class PinchGestureHandlerInternal { - public static fromPtr(ptr: KPointer): PinchGestureHandler { - const obj: PinchGestureHandler = new PinchGestureHandler(undefined) - obj.peer = new Finalizable(ptr, PinchGestureHandler.getFinalizer()) - return obj - } -} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkRotationGestureHandlerMaterialized.ts b/arkoala/arkui/src/ArkRotationGestureHandlerMaterialized.ts deleted file mode 100644 index b0e99a4a0..000000000 --- a/arkoala/arkui/src/ArkRotationGestureHandlerMaterialized.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { GestureHandler } from "./ArkGestureHandlerMaterialized" -import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" -import { MaterializedBase } from "./MaterializedBase" -import { Serializer } from "./peers/Serializer" -import { unsafeCast } from "./shared/generated-utils" -import { CallbackKind } from "./peers/CallbackKind" -import { int32 } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./peers/Deserializer" -import { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" -export class RotationGestureHandler extends GestureHandler implements MaterializedBase { - peer?: Finalizable | undefined - public getPeer(): Finalizable | undefined { - return this.peer - } - static ctor(options?: RotationGestureHandlerOptions): KPointer { - const thisSerializer: Serializer = Serializer.hold() - let options_type: int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeRotationGestureHandlerOptions(options_value) - } - const retval = ArkUIGeneratedNativeModule._RotationGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - return retval - } - constructor(options?: RotationGestureHandlerOptions) { - super() - const ctorPtr: KPointer = RotationGestureHandler.ctor(options) - this.peer = new Finalizable(ctorPtr, RotationGestureHandler.getFinalizer()) - } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._RotationGestureHandler_getFinalizer() - } - onActionStart(event: ((event: GestureEvent) => void)): RotationGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionStart_serialize(event_casted) - } - onActionUpdate(event: ((event: GestureEvent) => void)): RotationGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionUpdate_serialize(event_casted) - } - onActionEnd(event: ((event: GestureEvent) => void)): RotationGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onActionEnd_serialize(event_casted) - } - onActionCancel(event: (() => void)): RotationGestureHandler { - const event_casted = event as ((() => void)) - return this.onActionCancel_serialize(event_casted) - } - private onActionStart_serialize(event: ((event: GestureEvent) => void)): RotationGestureHandler { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._RotationGestureHandler_onActionStart(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj: RotationGestureHandler = RotationGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionUpdate_serialize(event: ((event: GestureEvent) => void)): RotationGestureHandler { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._RotationGestureHandler_onActionUpdate(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj: RotationGestureHandler = RotationGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionEnd_serialize(event: ((event: GestureEvent) => void)): RotationGestureHandler { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._RotationGestureHandler_onActionEnd(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj: RotationGestureHandler = RotationGestureHandlerInternal.fromPtr(retval) - return obj - } - private onActionCancel_serialize(event: (() => void)): RotationGestureHandler { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._RotationGestureHandler_onActionCancel(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj: RotationGestureHandler = RotationGestureHandlerInternal.fromPtr(retval) - return obj - } -} -export class RotationGestureHandlerInternal { - public static fromPtr(ptr: KPointer): RotationGestureHandler { - const obj: RotationGestureHandler = new RotationGestureHandler(undefined) - obj.peer = new Finalizable(ptr, RotationGestureHandler.getFinalizer()) - return obj - } -} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkSwipeGestureHandlerMaterialized.ts b/arkoala/arkui/src/ArkSwipeGestureHandlerMaterialized.ts deleted file mode 100644 index 3465a03dd..000000000 --- a/arkoala/arkui/src/ArkSwipeGestureHandlerMaterialized.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { GestureHandler } from "./ArkGestureHandlerMaterialized" -import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" -import { MaterializedBase } from "./MaterializedBase" -import { Serializer } from "./peers/Serializer" -import { unsafeCast } from "./shared/generated-utils" -import { CallbackKind } from "./peers/CallbackKind" -import { int32 } from "@koalaui/common" -import { Deserializer, createDeserializer } from "./peers/Deserializer" -import { CallbackTransformer } from "./peers/CallbackTransformer" -import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" -export class SwipeGestureHandler extends GestureHandler implements MaterializedBase { - peer?: Finalizable | undefined - public getPeer(): Finalizable | undefined { - return this.peer - } - static ctor(options?: SwipeGestureHandlerOptions): KPointer { - const thisSerializer: Serializer = Serializer.hold() - let options_type: int32 = RuntimeType.UNDEFINED - options_type = runtimeType(options) - thisSerializer.writeInt8(options_type) - if ((RuntimeType.UNDEFINED) != (options_type)) { - const options_value = options! - thisSerializer.writeSwipeGestureHandlerOptions(options_value) - } - const retval = ArkUIGeneratedNativeModule._SwipeGestureHandler_ctor(thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - return retval - } - constructor(options?: SwipeGestureHandlerOptions) { - super() - const ctorPtr: KPointer = SwipeGestureHandler.ctor(options) - this.peer = new Finalizable(ctorPtr, SwipeGestureHandler.getFinalizer()) - } - static getFinalizer(): KPointer { - return ArkUIGeneratedNativeModule._SwipeGestureHandler_getFinalizer() - } - onAction(event: ((event: GestureEvent) => void)): SwipeGestureHandler { - const event_casted = event as (((event: GestureEvent) => void)) - return this.onAction_serialize(event_casted) - } - private onAction_serialize(event: ((event: GestureEvent) => void)): SwipeGestureHandler { - const thisSerializer: Serializer = Serializer.hold() - thisSerializer.holdAndWriteCallback(event) - const retval = ArkUIGeneratedNativeModule._SwipeGestureHandler_onAction(this.peer!.ptr, thisSerializer.asArray(), thisSerializer.length()) - thisSerializer.release() - const obj: SwipeGestureHandler = SwipeGestureHandlerInternal.fromPtr(retval) - return obj - } -} -export class SwipeGestureHandlerInternal { - public static fromPtr(ptr: KPointer): SwipeGestureHandler { - const obj: SwipeGestureHandler = new SwipeGestureHandler(undefined) - obj.peer = new Finalizable(ptr, SwipeGestureHandler.getFinalizer()) - return obj - } -} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkUIGeneratedNativeModule.ts b/arkoala/arkui/src/ArkUIGeneratedNativeModule.ts index 285a6a1a3..5a2d368a4 100644 --- a/arkoala/arkui/src/ArkUIGeneratedNativeModule.ts +++ b/arkoala/arkui/src/ArkUIGeneratedNativeModule.ts @@ -10926,6 +10926,62 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _LengthMetrics_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_ctor() + } + throw new Error("Not implemented") + } + static _LengthMetrics_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_getFinalizer() + } + throw new Error("Not implemented") + } + static _LengthMetrics_px(value: number): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_px(value) + } + throw new Error("Not implemented") + } + static _LengthMetrics_resource(thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_resource(thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _LengthMetrics_getUnit(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_getUnit(ptr) + } + throw new Error("Not implemented") + } + static _LengthMetrics_setUnit(ptr: KPointer, unit: KInt): void { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_setUnit(ptr, unit) + } + throw new Error("Not implemented") + } + static _LengthMetrics_getValue(ptr: KPointer): number { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_getValue(ptr) + } + throw new Error("Not implemented") + } + static _LengthMetrics_setValue(ptr: KPointer, value: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._LengthMetrics_setValue(ptr, value) + } + throw new Error("Not implemented") + } static _WebviewController_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { @@ -10954,6 +11010,62 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _GlobalScope_ohos_arkui_componentSnapshot_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_arkui_componentSnapshot_ctor() + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_arkui_componentSnapshot_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_arkui_componentSnapshot_getFinalizer() + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_arkui_componentSnapshot_get(id: KStringPtr, thisArray: Uint8Array, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_arkui_componentSnapshot_get(id, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_arkui_performanceMonitor_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_arkui_performanceMonitor_ctor() + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_arkui_performanceMonitor_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_arkui_performanceMonitor_getFinalizer() + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_arkui_performanceMonitor_begin(scene: KStringPtr, startInputType: KInt, thisArray: Uint8Array, thisLength: int32): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_arkui_performanceMonitor_begin(scene, startInputType, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_arkui_performanceMonitor_end(scene: KStringPtr): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_arkui_performanceMonitor_end(scene) + } + throw new Error("Not implemented") + } + static _GlobalScope_ohos_arkui_performanceMonitor_recordInputEventTime(type: KInt, sourceType: KInt, time: number): void { + if ((this._LoadOnce()) == (true)) + { + return this._GlobalScope_ohos_arkui_performanceMonitor_recordInputEventTime(type, sourceType, time) + } + throw new Error("Not implemented") + } static _FrameNode_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { if ((this._LoadOnce()) == (true)) { @@ -13250,6 +13362,48 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } + static _Measurable_ctor(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Measurable_ctor() + } + throw new Error("Not implemented") + } + static _Measurable_getFinalizer(): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Measurable_getFinalizer() + } + throw new Error("Not implemented") + } + static _Measurable_measure(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Measurable_measure(ptr, thisArray, thisLength) + } + throw new Error("Not implemented") + } + static _Measurable_getMargin(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Measurable_getMargin(ptr) + } + throw new Error("Not implemented") + } + static _Measurable_getPadding(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Measurable_getPadding(ptr) + } + throw new Error("Not implemented") + } + static _Measurable_getBorderWidth(ptr: KPointer): KPointer { + if ((this._LoadOnce()) == (true)) + { + return this._Measurable_getBorderWidth(ptr) + } + throw new Error("Not implemented") + } static _View_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { @@ -14160,237 +14314,6 @@ export class ArkUIGeneratedNativeModule { } throw new Error("Not implemented") } - static _GestureHandler_ctor(): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._GestureHandler_ctor() - } - throw new Error("Not implemented") - } - static _GestureHandler_getFinalizer(): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._GestureHandler_getFinalizer() - } - throw new Error("Not implemented") - } - static _GestureHandler_tag(ptr: KPointer, tag: KStringPtr): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._GestureHandler_tag(ptr, tag) - } - throw new Error("Not implemented") - } - static _GestureHandler_allowedTypes(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._GestureHandler_allowedTypes(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _TapGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._TapGestureHandler_ctor(thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _TapGestureHandler_getFinalizer(): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._TapGestureHandler_getFinalizer() - } - throw new Error("Not implemented") - } - static _TapGestureHandler_onAction(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._TapGestureHandler_onAction(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _LongPressGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._LongPressGestureHandler_ctor(thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _LongPressGestureHandler_getFinalizer(): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._LongPressGestureHandler_getFinalizer() - } - throw new Error("Not implemented") - } - static _LongPressGestureHandler_onAction(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._LongPressGestureHandler_onAction(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _LongPressGestureHandler_onActionEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._LongPressGestureHandler_onActionEnd(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _LongPressGestureHandler_onActionCancel(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._LongPressGestureHandler_onActionCancel(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _PanGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._PanGestureHandler_ctor(thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _PanGestureHandler_getFinalizer(): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._PanGestureHandler_getFinalizer() - } - throw new Error("Not implemented") - } - static _PanGestureHandler_onActionStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._PanGestureHandler_onActionStart(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _PanGestureHandler_onActionUpdate(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._PanGestureHandler_onActionUpdate(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _PanGestureHandler_onActionEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._PanGestureHandler_onActionEnd(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _PanGestureHandler_onActionCancel(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._PanGestureHandler_onActionCancel(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _SwipeGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._SwipeGestureHandler_ctor(thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _SwipeGestureHandler_getFinalizer(): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._SwipeGestureHandler_getFinalizer() - } - throw new Error("Not implemented") - } - static _SwipeGestureHandler_onAction(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._SwipeGestureHandler_onAction(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _PinchGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._PinchGestureHandler_ctor(thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _PinchGestureHandler_getFinalizer(): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._PinchGestureHandler_getFinalizer() - } - throw new Error("Not implemented") - } - static _PinchGestureHandler_onActionStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._PinchGestureHandler_onActionStart(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _PinchGestureHandler_onActionUpdate(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._PinchGestureHandler_onActionUpdate(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _PinchGestureHandler_onActionEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._PinchGestureHandler_onActionEnd(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _PinchGestureHandler_onActionCancel(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._PinchGestureHandler_onActionCancel(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _RotationGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._RotationGestureHandler_ctor(thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _RotationGestureHandler_getFinalizer(): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._RotationGestureHandler_getFinalizer() - } - throw new Error("Not implemented") - } - static _RotationGestureHandler_onActionStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._RotationGestureHandler_onActionStart(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _RotationGestureHandler_onActionUpdate(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._RotationGestureHandler_onActionUpdate(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _RotationGestureHandler_onActionEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._RotationGestureHandler_onActionEnd(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } - static _RotationGestureHandler_onActionCancel(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - if ((this._LoadOnce()) == (true)) - { - return this._RotationGestureHandler_onActionCancel(ptr, thisArray, thisLength) - } - throw new Error("Not implemented") - } static _ScrollableTargetInfo_ctor(): KPointer { if ((this._LoadOnce()) == (true)) { diff --git a/arkoala/arkui/src/ArkUIGeneratedNativeModuleEmpty.ts b/arkoala/arkui/src/ArkUIGeneratedNativeModuleEmpty.ts index 9324e4070..7fdd80714 100644 --- a/arkoala/arkui/src/ArkUIGeneratedNativeModuleEmpty.ts +++ b/arkoala/arkui/src/ArkUIGeneratedNativeModuleEmpty.ts @@ -4814,6 +4814,36 @@ export class ArkUIGeneratedNativeModuleEmpty { _DrawingCanvas_drawRect(ptr: KPointer, left: number, top: number, right: number, bottom: number): void { console.log("_DrawingCanvas_drawRect") } + _LengthMetrics_ctor(): KPointer { + console.log("_LengthMetrics_ctor") + return -1 + } + _LengthMetrics_getFinalizer(): KPointer { + console.log("_LengthMetrics_getFinalizer") + return -1 + } + _LengthMetrics_px(value: number): KPointer { + console.log("_LengthMetrics_px") + return -1 + } + _LengthMetrics_resource(thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_LengthMetrics_resource") + return -1 + } + _LengthMetrics_getUnit(ptr: KPointer): KPointer { + console.log("_LengthMetrics_getUnit") + return -1 + } + _LengthMetrics_setUnit(ptr: KPointer, unit: KInt): void { + console.log("_LengthMetrics_setUnit") + } + _LengthMetrics_getValue(ptr: KPointer): number { + console.log("_LengthMetrics_getValue") + return 1 + } + _LengthMetrics_setValue(ptr: KPointer, value: number): void { + console.log("_LengthMetrics_setValue") + } _WebviewController_ctor(): KPointer { console.log("_WebviewController_ctor") return -1 @@ -4828,6 +4858,34 @@ export class ArkUIGeneratedNativeModuleEmpty { _WebviewController_loadUrl(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): void { console.log("_WebviewController_loadUrl") } + _GlobalScope_ohos_arkui_componentSnapshot_ctor(): KPointer { + console.log("_GlobalScope_ohos_arkui_componentSnapshot_ctor") + return -1 + } + _GlobalScope_ohos_arkui_componentSnapshot_getFinalizer(): KPointer { + console.log("_GlobalScope_ohos_arkui_componentSnapshot_getFinalizer") + return -1 + } + _GlobalScope_ohos_arkui_componentSnapshot_get(id: KStringPtr, thisArray: Uint8Array, thisLength: int32): void { + console.log("_GlobalScope_ohos_arkui_componentSnapshot_get") + } + _GlobalScope_ohos_arkui_performanceMonitor_ctor(): KPointer { + console.log("_GlobalScope_ohos_arkui_performanceMonitor_ctor") + return -1 + } + _GlobalScope_ohos_arkui_performanceMonitor_getFinalizer(): KPointer { + console.log("_GlobalScope_ohos_arkui_performanceMonitor_getFinalizer") + return -1 + } + _GlobalScope_ohos_arkui_performanceMonitor_begin(scene: KStringPtr, startInputType: KInt, thisArray: Uint8Array, thisLength: int32): void { + console.log("_GlobalScope_ohos_arkui_performanceMonitor_begin") + } + _GlobalScope_ohos_arkui_performanceMonitor_end(scene: KStringPtr): void { + console.log("_GlobalScope_ohos_arkui_performanceMonitor_end") + } + _GlobalScope_ohos_arkui_performanceMonitor_recordInputEventTime(type: KInt, sourceType: KInt, time: number): void { + console.log("_GlobalScope_ohos_arkui_performanceMonitor_recordInputEventTime") + } _FrameNode_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { console.log("_FrameNode_ctor") return -1 @@ -5991,6 +6049,30 @@ export class ArkUIGeneratedNativeModuleEmpty { _ProgressMask_enableBreathingAnimation(ptr: KPointer, value: KInt): void { console.log("_ProgressMask_enableBreathingAnimation") } + _Measurable_ctor(): KPointer { + console.log("_Measurable_ctor") + return -1 + } + _Measurable_getFinalizer(): KPointer { + console.log("_Measurable_getFinalizer") + return -1 + } + _Measurable_measure(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { + console.log("_Measurable_measure") + return -1 + } + _Measurable_getMargin(ptr: KPointer): KPointer { + console.log("_Measurable_getMargin") + return -1 + } + _Measurable_getPadding(ptr: KPointer): KPointer { + console.log("_Measurable_getPadding") + return -1 + } + _Measurable_getBorderWidth(ptr: KPointer): KPointer { + console.log("_Measurable_getBorderWidth") + return -1 + } _View_ctor(): KPointer { console.log("_View_ctor") return -1 @@ -6466,138 +6548,6 @@ export class ArkUIGeneratedNativeModuleEmpty { console.log("_PanGestureOptions_getDirection") return -1 } - _GestureHandler_ctor(): KPointer { - console.log("_GestureHandler_ctor") - return -1 - } - _GestureHandler_getFinalizer(): KPointer { - console.log("_GestureHandler_getFinalizer") - return -1 - } - _GestureHandler_tag(ptr: KPointer, tag: KStringPtr): KPointer { - console.log("_GestureHandler_tag") - return -1 - } - _GestureHandler_allowedTypes(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_GestureHandler_allowedTypes") - return -1 - } - _TapGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_TapGestureHandler_ctor") - return -1 - } - _TapGestureHandler_getFinalizer(): KPointer { - console.log("_TapGestureHandler_getFinalizer") - return -1 - } - _TapGestureHandler_onAction(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_TapGestureHandler_onAction") - return -1 - } - _LongPressGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_LongPressGestureHandler_ctor") - return -1 - } - _LongPressGestureHandler_getFinalizer(): KPointer { - console.log("_LongPressGestureHandler_getFinalizer") - return -1 - } - _LongPressGestureHandler_onAction(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_LongPressGestureHandler_onAction") - return -1 - } - _LongPressGestureHandler_onActionEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_LongPressGestureHandler_onActionEnd") - return -1 - } - _LongPressGestureHandler_onActionCancel(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_LongPressGestureHandler_onActionCancel") - return -1 - } - _PanGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_PanGestureHandler_ctor") - return -1 - } - _PanGestureHandler_getFinalizer(): KPointer { - console.log("_PanGestureHandler_getFinalizer") - return -1 - } - _PanGestureHandler_onActionStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_PanGestureHandler_onActionStart") - return -1 - } - _PanGestureHandler_onActionUpdate(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_PanGestureHandler_onActionUpdate") - return -1 - } - _PanGestureHandler_onActionEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_PanGestureHandler_onActionEnd") - return -1 - } - _PanGestureHandler_onActionCancel(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_PanGestureHandler_onActionCancel") - return -1 - } - _SwipeGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_SwipeGestureHandler_ctor") - return -1 - } - _SwipeGestureHandler_getFinalizer(): KPointer { - console.log("_SwipeGestureHandler_getFinalizer") - return -1 - } - _SwipeGestureHandler_onAction(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_SwipeGestureHandler_onAction") - return -1 - } - _PinchGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_PinchGestureHandler_ctor") - return -1 - } - _PinchGestureHandler_getFinalizer(): KPointer { - console.log("_PinchGestureHandler_getFinalizer") - return -1 - } - _PinchGestureHandler_onActionStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_PinchGestureHandler_onActionStart") - return -1 - } - _PinchGestureHandler_onActionUpdate(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_PinchGestureHandler_onActionUpdate") - return -1 - } - _PinchGestureHandler_onActionEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_PinchGestureHandler_onActionEnd") - return -1 - } - _PinchGestureHandler_onActionCancel(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_PinchGestureHandler_onActionCancel") - return -1 - } - _RotationGestureHandler_ctor(thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_RotationGestureHandler_ctor") - return -1 - } - _RotationGestureHandler_getFinalizer(): KPointer { - console.log("_RotationGestureHandler_getFinalizer") - return -1 - } - _RotationGestureHandler_onActionStart(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_RotationGestureHandler_onActionStart") - return -1 - } - _RotationGestureHandler_onActionUpdate(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_RotationGestureHandler_onActionUpdate") - return -1 - } - _RotationGestureHandler_onActionEnd(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_RotationGestureHandler_onActionEnd") - return -1 - } - _RotationGestureHandler_onActionCancel(ptr: KPointer, thisArray: Uint8Array, thisLength: int32): KPointer { - console.log("_RotationGestureHandler_onActionCancel") - return -1 - } _ScrollableTargetInfo_ctor(): KPointer { console.log("_ScrollableTargetInfo_ctor") return -1 diff --git a/arkoala/arkui/src/EnumsImpl.ts b/arkoala/arkui/src/EnumsImpl.ts index 547ed6edc..012ec86b0 100644 --- a/arkoala/arkui/src/EnumsImpl.ts +++ b/arkoala/arkui/src/EnumsImpl.ts @@ -64,6 +64,18 @@ export enum LengthUnit { PERCENT = 3, LPX = 4, } +export enum PerfMonitorActionType { + LAST_DOWN, + LAST_UP = 1, + FIRST_MOVE = 2, +} +export enum PerfMonitorSourceType { + PERF_TOUCH_EVENT, + PERF_MOUSE_EVENT = 1, + PERF_TOUCHPAD_EVENT = 2, + PERF_JOYSTICK_EVENT = 3, + PERF_KEY_EVENT = 4, +} export enum DialogAlignment { TOP, Top = TOP, @@ -2121,6 +2133,8 @@ Object.assign(globalThis, { RectWidthStyle: RectWidthStyle, RectHeightStyle: RectHeightStyle, LengthUnit: LengthUnit, + PerfMonitorActionType: PerfMonitorActionType, + PerfMonitorSourceType: PerfMonitorSourceType, DialogAlignment: DialogAlignment, DialogButtonDirection: DialogButtonDirection, IndexerAlign: IndexerAlign, diff --git a/arkoala/arkui/src/peers/ArkCommonPeer.ts b/arkoala/arkui/src/peers/ArkCommonPeer.ts index 0b16217f6..01201f71f 100644 --- a/arkoala/arkui/src/peers/ArkCommonPeer.ts +++ b/arkoala/arkui/src/peers/ArkCommonPeer.ts @@ -244,7 +244,7 @@ export class ArkCommonMethodPeer extends PeerNode { thisSerializer.writeLength(value_0_left_value) } } - else if (((RuntimeType.OBJECT) == (value_type)) && (((value!.hasOwnProperty("unit"))))) { + else if (((RuntimeType.OBJECT) == (value_type)) && (value instanceof LengthMetrics)) { thisSerializer.writeInt8(1) const value_1 = unsafeCast(value) thisSerializer.writeLengthMetrics(value_1) diff --git a/arkoala/arkui/src/peers/CallbackDeserializeCall.ts b/arkoala/arkui/src/peers/CallbackDeserializeCall.ts index b21c87d91..283e43fbb 100644 --- a/arkoala/arkui/src/peers/CallbackDeserializeCall.ts +++ b/arkoala/arkui/src/peers/CallbackDeserializeCall.ts @@ -26,6 +26,12 @@ export function deserializeAndCallAccessibilityCallback(thisDeserializer: Deseri let event: AccessibilityHoverEvent = (thisDeserializer.readAccessibilityHoverEvent() as AccessibilityHoverEvent) _call(isHover, event) } +export function deserializeAndCallAsyncCallback_image_PixelMap_Void(thisDeserializer: Deserializer) { + const _resourceId: int32 = thisDeserializer.readInt32() + const _call = (ResourceHolder.instance().get(_resourceId) as ((result: PixelMap) => void)) + let result: PixelMap = (thisDeserializer.readPixelMap() as PixelMap) + _call(result) +} export function deserializeAndCallButtonTriggerClickCallback(thisDeserializer: Deserializer) { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ButtonTriggerClickCallback) @@ -1910,6 +1916,7 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer) { const kind: int32 = thisDeserializer.readInt32() switch (kind) { case 589030517/*CallbackKind.Kind_AccessibilityCallback*/: return deserializeAndCallAccessibilityCallback(thisDeserializer); + case 1289587365/*CallbackKind.Kind_AsyncCallback_image_PixelMap_Void*/: return deserializeAndCallAsyncCallback_image_PixelMap_Void(thisDeserializer); case -1964292933/*CallbackKind.Kind_ButtonTriggerClickCallback*/: return deserializeAndCallButtonTriggerClickCallback(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); diff --git a/arkoala/arkui/src/peers/CallbackKind.ts b/arkoala/arkui/src/peers/CallbackKind.ts index 049c8fd5b..d3516f890 100644 --- a/arkoala/arkui/src/peers/CallbackKind.ts +++ b/arkoala/arkui/src/peers/CallbackKind.ts @@ -1,5 +1,6 @@ export enum CallbackKind { Kind_AccessibilityCallback = 589030517, + Kind_AsyncCallback_image_PixelMap_Void = 1289587365, Kind_ButtonTriggerClickCallback = -1964292933, Kind_Callback_Any_Void = 197193081, Kind_Callback_Area_Area_Void = -2024393616, diff --git a/arkoala/arkui/src/peers/Deserializer.ts b/arkoala/arkui/src/peers/Deserializer.ts index 869df719d..517a60cd1 100644 --- a/arkoala/arkui/src/peers/Deserializer.ts +++ b/arkoala/arkui/src/peers/Deserializer.ts @@ -31,7 +31,10 @@ import { AnimationExtenderInternal } from "./../ArkAnimationExtenderMaterialized import { UnifiedDataInternal } from "./../ArkUnifiedDataMaterialized" import { LazyForEachOpsInternal } from "./../ArkLazyForEachOpsMaterialized" import { DrawingCanvasInternal } from "./../ArkDrawingCanvasMaterialized" +import { LengthMetricsInternal } from "./../ArkLengthMetricsMaterialized" import { WebviewControllerInternal } from "./../ArkWebviewControllerMaterialized" +import { GlobalScope_ohos_arkui_componentSnapshotInternal } from "./../ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized" +import { GlobalScope_ohos_arkui_performanceMonitorInternal } from "./../ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized" import { FrameNodeInternal } from "./../ArkFrameNodeMaterialized" import { PixelMapInternal } from "./../ArkPixelMapMaterialized" import { NavExtenderInternal } from "./../ArkNavExtenderMaterialized" @@ -61,6 +64,7 @@ import { PixelMapMockInternal } from "./../ArkPixelMapMockMaterialized" import { DragEventInternal } from "./../ArkDragEventMaterialized" import { KeyEventInternal } from "./../ArkKeyEventMaterialized" import { ProgressMaskInternal } from "./../ArkProgressMaskMaterialized" +import { MeasurableInternal } from "./../ArkMeasurableMaterialized" import { ViewInternal } from "./../ArkViewMaterialized" import { TextContentControllerBaseInternal } from "./../ArkTextContentControllerBaseMaterialized" import { DynamicNodeInternal } from "./../ArkDynamicNodeMaterialized" @@ -80,13 +84,6 @@ import { RotationGestureEventInternal } from "./../ArkRotationGestureEventMateri import { SwipeGestureEventInternal } from "./../ArkSwipeGestureEventMaterialized" import { GestureEventInternal } from "./../ArkGestureEventMaterialized" import { PanGestureOptionsInternal } from "./../ArkPanGestureOptionsMaterialized" -import { GestureHandlerInternal } from "./../ArkGestureHandlerMaterialized" -import { TapGestureHandlerInternal } from "./../ArkTapGestureHandlerMaterialized" -import { LongPressGestureHandlerInternal } from "./../ArkLongPressGestureHandlerMaterialized" -import { PanGestureHandlerInternal } from "./../ArkPanGestureHandlerMaterialized" -import { SwipeGestureHandlerInternal } from "./../ArkSwipeGestureHandlerMaterialized" -import { PinchGestureHandlerInternal } from "./../ArkPinchGestureHandlerMaterialized" -import { RotationGestureHandlerInternal } from "./../ArkRotationGestureHandlerMaterialized" import { ScrollableTargetInfoInternal } from "./../ArkScrollableTargetInfoMaterialized" import { EventTargetInfoInternal } from "./../ArkEventTargetInfoMaterialized" import { GestureRecognizerInternal } from "./../ArkGestureRecognizerMaterialized" @@ -189,10 +186,8 @@ export class Deserializer extends DeserializerBase { } readLengthMetrics(): LengthMetrics { let valueDeserializer: Deserializer = this - const unit_result: LengthUnit = (valueDeserializer.readInt32() as LengthUnit) - const value_result: number = (valueDeserializer.readNumber() as number) - let value: LengthMetrics = ({unit: unit_result,value: value_result} as LengthMetrics) - return value + let ptr: KPointer = valueDeserializer.readPointer() + return LengthMetricsInternal.fromPtr(ptr) } readLeadingMarginPlaceholder(): LeadingMarginPlaceholder { let valueDeserializer: Deserializer = this @@ -292,7 +287,7 @@ export class Deserializer extends DeserializerBase { const margin_buf__selector: number = valueDeserializer.readInt8() let margin_buf_: LengthMetrics | Margin | undefined|undefined if (margin_buf__selector == 0) { - margin_buf_ = valueDeserializer.readLengthMetrics() + margin_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) } else if (margin_buf__selector == 1) { const margin_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -338,7 +333,7 @@ export class Deserializer extends DeserializerBase { const padding_buf__selector: number = valueDeserializer.readInt8() let padding_buf_: LengthMetrics | Padding | undefined|undefined if (padding_buf__selector == 0) { - padding_buf_ = valueDeserializer.readLengthMetrics() + padding_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) } else if (padding_buf__selector == 1) { const padding_buf__u_top_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -384,7 +379,7 @@ export class Deserializer extends DeserializerBase { const borderRadius_buf__selector: number = valueDeserializer.readInt8() let borderRadius_buf_: LengthMetrics | BorderRadiuses | undefined|undefined if (borderRadius_buf__selector == 0) { - borderRadius_buf_ = valueDeserializer.readLengthMetrics() + borderRadius_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) } else if (borderRadius_buf__selector == 1) { const borderRadius_buf__u_topLeft_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -1329,28 +1324,28 @@ return (_continuationValue as KPointer); } let top_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { - top_buf = valueDeserializer.readLengthMetrics() + top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const top_result: LengthMetrics | undefined|undefined = top_buf const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) let end_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) { - end_buf = valueDeserializer.readLengthMetrics() + end_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const end_result: LengthMetrics | undefined|undefined = end_buf const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) let bottom_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) { - bottom_buf = valueDeserializer.readLengthMetrics() + bottom_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const bottom_result: LengthMetrics | undefined|undefined = bottom_buf const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) let start_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) { - start_buf = valueDeserializer.readLengthMetrics() + start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const start_result: LengthMetrics | undefined|undefined = start_buf let value: LocalizedEdgeWidths = ({top: top_result,end: end_result,bottom: bottom_result,start: start_result} as LocalizedEdgeWidths) @@ -1402,28 +1397,28 @@ return (_continuationValue as KPointer); } let topStart_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (topStart_buf_runtimeType)) { - topStart_buf = valueDeserializer.readLengthMetrics() + topStart_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const topStart_result: LengthMetrics | undefined|undefined = topStart_buf const topEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) let topEnd_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (topEnd_buf_runtimeType)) { - topEnd_buf = valueDeserializer.readLengthMetrics() + topEnd_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const topEnd_result: LengthMetrics | undefined|undefined = topEnd_buf const bottomStart_buf_runtimeType = (valueDeserializer.readInt8() as int32) let bottomStart_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (bottomStart_buf_runtimeType)) { - bottomStart_buf = valueDeserializer.readLengthMetrics() + bottomStart_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const bottomStart_result: LengthMetrics | undefined|undefined = bottomStart_buf const bottomEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) let bottomEnd_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (bottomEnd_buf_runtimeType)) { - bottomEnd_buf = valueDeserializer.readLengthMetrics() + bottomEnd_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const bottomEnd_result: LengthMetrics | undefined|undefined = bottomEnd_buf let value: LocalizedBorderRadiuses = ({topStart: topStart_result,topEnd: topEnd_result,bottomStart: bottomStart_result,bottomEnd: bottomEnd_result} as LocalizedBorderRadiuses) @@ -3978,21 +3973,21 @@ return; } let space_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (space_buf_runtimeType)) { - space_buf = valueDeserializer.readLengthMetrics() + space_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const space_result: LengthMetrics | undefined|undefined = space_buf const strokeWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) let strokeWidth_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) { - strokeWidth_buf = valueDeserializer.readLengthMetrics() + strokeWidth_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const strokeWidth_result: LengthMetrics | undefined|undefined = strokeWidth_buf const strokeRadius_buf_runtimeType = (valueDeserializer.readInt8() as int32) let strokeRadius_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (strokeRadius_buf_runtimeType)) { - strokeRadius_buf = valueDeserializer.readLengthMetrics() + strokeRadius_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const strokeRadius_result: LengthMetrics | undefined|undefined = strokeRadius_buf const trackBackgroundColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -5851,28 +5846,28 @@ return; } let top_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { - top_buf = valueDeserializer.readLengthMetrics() + top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const top_result: LengthMetrics | undefined|undefined = top_buf const start_buf_runtimeType = (valueDeserializer.readInt8() as int32) let start_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) { - start_buf = valueDeserializer.readLengthMetrics() + start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const start_result: LengthMetrics | undefined|undefined = start_buf const bottom_buf_runtimeType = (valueDeserializer.readInt8() as int32) let bottom_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (bottom_buf_runtimeType)) { - bottom_buf = valueDeserializer.readLengthMetrics() + bottom_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const bottom_result: LengthMetrics | undefined|undefined = bottom_buf const end_buf_runtimeType = (valueDeserializer.readInt8() as int32) let end_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (end_buf_runtimeType)) { - end_buf = valueDeserializer.readLengthMetrics() + end_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const end_result: LengthMetrics | undefined|undefined = end_buf let value: LocalizedEdges = ({top: top_result,start: start_result,bottom: bottom_result,end: end_result} as LocalizedEdges) @@ -6043,7 +6038,7 @@ return (_continuationValue as OffsetResult); } let extraOffset_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (extraOffset_buf_runtimeType)) { - extraOffset_buf = valueDeserializer.readLengthMetrics() + extraOffset_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const extraOffset_result: LengthMetrics | undefined|undefined = extraOffset_buf let value: ScrollToIndexOptions = ({extraOffset: extraOffset_result} as ScrollToIndexOptions) @@ -6854,7 +6849,7 @@ return (_continuationValue as OffsetResult); } let radius_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (radius_buf_runtimeType)) { - radius_buf = valueDeserializer.readLengthMetrics() + radius_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const radius_result: LengthMetrics | undefined|undefined = radius_buf const enableWaveEffect_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -7017,14 +7012,14 @@ return; } let paddingStart_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (paddingStart_buf_runtimeType)) { - paddingStart_buf = valueDeserializer.readLengthMetrics() + paddingStart_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const paddingStart_result: LengthMetrics | undefined|undefined = paddingStart_buf const paddingEnd_buf_runtimeType = (valueDeserializer.readInt8() as int32) let paddingEnd_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (paddingEnd_buf_runtimeType)) { - paddingEnd_buf = valueDeserializer.readLengthMetrics() + paddingEnd_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const paddingEnd_result: LengthMetrics | undefined|undefined = paddingEnd_buf const mainTitleModifier_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -7208,7 +7203,7 @@ return; } let strokeWidth_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) { - strokeWidth_buf = valueDeserializer.readLengthMetrics() + strokeWidth_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const strokeWidth_result: LengthMetrics | undefined|undefined = strokeWidth_buf const color_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -7239,14 +7234,14 @@ return; } let startMargin_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (startMargin_buf_runtimeType)) { - startMargin_buf = valueDeserializer.readLengthMetrics() + startMargin_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const startMargin_result: LengthMetrics | undefined|undefined = startMargin_buf const endMargin_buf_runtimeType = (valueDeserializer.readInt8() as int32) let endMargin_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (endMargin_buf_runtimeType)) { - endMargin_buf = valueDeserializer.readLengthMetrics() + endMargin_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const endMargin_result: LengthMetrics | undefined|undefined = endMargin_buf let value: DividerStyleOptions = ({strokeWidth: strokeWidth_result,color: color_result,startMargin: startMargin_result,endMargin: endMargin_result} as DividerStyleOptions) @@ -7409,14 +7404,14 @@ return (_continuationValue as [ number, number ]); } let main_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (main_buf_runtimeType)) { - main_buf = valueDeserializer.readLengthMetrics() + main_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const main_result: LengthMetrics | undefined|undefined = main_buf const cross_buf_runtimeType = (valueDeserializer.readInt8() as int32) let cross_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (cross_buf_runtimeType)) { - cross_buf = valueDeserializer.readLengthMetrics() + cross_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const cross_result: LengthMetrics | undefined|undefined = cross_buf let value: FlexSpaceOptions = ({main: main_result,cross: cross_result} as FlexSpaceOptions) @@ -7883,7 +7878,7 @@ return; } let fadingEdgeLength_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (fadingEdgeLength_buf_runtimeType)) { - fadingEdgeLength_buf = valueDeserializer.readLengthMetrics() + fadingEdgeLength_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const fadingEdgeLength_result: LengthMetrics | undefined|undefined = fadingEdgeLength_buf let value: FadingEdgeOptions = ({fadingEdgeLength: fadingEdgeLength_result} as FadingEdgeOptions) @@ -7895,6 +7890,39 @@ return; } let value: RectShape = ({__RectShapeStub: __RectShapeStub_result} as RectShape) return value } + readConstraintSizeOptions(): ConstraintSizeOptions { + let valueDeserializer: Deserializer = this + const minWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let minWidth_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (minWidth_buf_runtimeType)) + { + minWidth_buf = (valueDeserializer.readLength() as Length) + } + const minWidth_result: Length | undefined|undefined = minWidth_buf + const maxWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let maxWidth_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (maxWidth_buf_runtimeType)) + { + maxWidth_buf = (valueDeserializer.readLength() as Length) + } + const maxWidth_result: Length | undefined|undefined = maxWidth_buf + const minHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let minHeight_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (minHeight_buf_runtimeType)) + { + minHeight_buf = (valueDeserializer.readLength() as Length) + } + const minHeight_result: Length | undefined|undefined = minHeight_buf + const maxHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let maxHeight_buf: Length | undefined|undefined + if ((RuntimeType.UNDEFINED) != (maxHeight_buf_runtimeType)) + { + maxHeight_buf = (valueDeserializer.readLength() as Length) + } + const maxHeight_result: Length | undefined|undefined = maxHeight_buf + let value: ConstraintSizeOptions = ({minWidth: minWidth_result,maxWidth: maxWidth_result,minHeight: minHeight_result,maxHeight: maxHeight_result} as ConstraintSizeOptions) + return value + } readGestureRecognizerJudgeBeginCallback(isSync: boolean = false): GestureRecognizerJudgeBeginCallback { const _resource: CallbackResource = this.readCallbackResource() const _call: KPointer = this.readPointer() @@ -9854,14 +9882,14 @@ return; } let start_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (start_buf_runtimeType)) { - start_buf = valueDeserializer.readLengthMetrics() + start_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const start_result: LengthMetrics | undefined|undefined = start_buf const top_buf_runtimeType = (valueDeserializer.readInt8() as int32) let top_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (top_buf_runtimeType)) { - top_buf = valueDeserializer.readLengthMetrics() + top_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const top_result: LengthMetrics | undefined|undefined = top_buf let value: LocalizedPosition = ({start: start_result,top: top_result} as LocalizedPosition) @@ -12338,6 +12366,38 @@ _argsSerializer.writePointer(_callSync); _argsSerializer.writeString(value); (isSync) ? (InteropNativeModule._CallCallbackSync(-588228933, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(-588228933, _argsSerializer.asArray(), _argsSerializer.length())); _argsSerializer.release(); +return; } + } + readSnapshotOptions(): SnapshotOptions { + let valueDeserializer: Deserializer = this + const scale_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let scale_buf: number | undefined|undefined + if ((RuntimeType.UNDEFINED) != (scale_buf_runtimeType)) + { + scale_buf = (valueDeserializer.readNumber() as number) + } + const scale_result: number | undefined|undefined = scale_buf + const waitUntilRenderFinished_buf_runtimeType = (valueDeserializer.readInt8() as int32) + let waitUntilRenderFinished_buf: boolean | undefined|undefined + if ((RuntimeType.UNDEFINED) != (waitUntilRenderFinished_buf_runtimeType)) + { + waitUntilRenderFinished_buf = valueDeserializer.readBoolean() + } + const waitUntilRenderFinished_result: boolean | undefined|undefined = waitUntilRenderFinished_buf + let value: SnapshotOptions = ({scale: scale_result,waitUntilRenderFinished: waitUntilRenderFinished_result} as SnapshotOptions) + return value + } + readAsyncCallback_image_PixelMap_Void(isSync: boolean = false): ((result: PixelMap) => void) { + const _resource: CallbackResource = this.readCallbackResource() + const _call: KPointer = this.readPointer() + const _callSync: KPointer = this.readPointer() + return (result: PixelMap): void => { const _argsSerializer: Serializer = Serializer.hold(); +_argsSerializer.writeInt32(_resource.resourceId); +_argsSerializer.writePointer(_call); +_argsSerializer.writePointer(_callSync); +_argsSerializer.writePixelMap(result); +(isSync) ? (InteropNativeModule._CallCallbackSync(1289587365, _argsSerializer.asArray(), _argsSerializer.length())) : (InteropNativeModule._CallCallback(1289587365, _argsSerializer.asArray(), _argsSerializer.length())); +_argsSerializer.release(); return; } } readCallback_RangeUpdate(isSync: boolean = false): Callback_RangeUpdate { @@ -16839,6 +16899,11 @@ return; } let value: StyledStringChangeValue = ({range: range_result,replacementString: replacementString_result,previewText: previewText_result} as StyledStringChangeValue) return value } + readGestureEvent(): GestureEvent { + let valueDeserializer: Deserializer = this + let ptr: KPointer = valueDeserializer.readPointer() + return GestureEventInternal.fromPtr(ptr) + } readLocalizedBarrierStyle(): LocalizedBarrierStyle { let valueDeserializer: Deserializer = this const id_result: string = (valueDeserializer.readString() as string) @@ -18550,146 +18615,6 @@ return (_continuationValue as ComputedBarAttribute); } let value: GridLayoutOptions = ({regularSize: regularSize_result,irregularIndexes: irregularIndexes_result,onGetIrregularSizeByIndex: onGetIrregularSizeByIndex_result,onGetRectByIndex: onGetRectByIndex_result} as GridLayoutOptions) return value } - readRotationGestureHandlerOptions(): RotationGestureHandlerOptions { - let valueDeserializer: Deserializer = this - const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fingers_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) - { - fingers_buf = (valueDeserializer.readNumber() as number) - } - const fingers_result: number | undefined|undefined = fingers_buf - const angle_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let angle_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (angle_buf_runtimeType)) - { - angle_buf = (valueDeserializer.readNumber() as number) - } - const angle_result: number | undefined|undefined = angle_buf - let value: RotationGestureHandlerOptions = ({fingers: fingers_result,angle: angle_result} as RotationGestureHandlerOptions) - return value - } - readPinchGestureHandlerOptions(): PinchGestureHandlerOptions { - let valueDeserializer: Deserializer = this - const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fingers_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) - { - fingers_buf = (valueDeserializer.readNumber() as number) - } - const fingers_result: number | undefined|undefined = fingers_buf - const distance_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let distance_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (distance_buf_runtimeType)) - { - distance_buf = (valueDeserializer.readNumber() as number) - } - const distance_result: number | undefined|undefined = distance_buf - let value: PinchGestureHandlerOptions = ({fingers: fingers_result,distance: distance_result} as PinchGestureHandlerOptions) - return value - } - readSwipeGestureHandlerOptions(): SwipeGestureHandlerOptions { - let valueDeserializer: Deserializer = this - const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fingers_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) - { - fingers_buf = (valueDeserializer.readNumber() as number) - } - const fingers_result: number | undefined|undefined = fingers_buf - const direction_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let direction_buf: SwipeDirection | undefined|undefined - if ((RuntimeType.UNDEFINED) != (direction_buf_runtimeType)) - { - direction_buf = (valueDeserializer.readInt32() as SwipeDirection) - } - const direction_result: SwipeDirection | undefined|undefined = direction_buf - const speed_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let speed_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (speed_buf_runtimeType)) - { - speed_buf = (valueDeserializer.readNumber() as number) - } - const speed_result: number | undefined|undefined = speed_buf - let value: SwipeGestureHandlerOptions = ({fingers: fingers_result,direction: direction_result,speed: speed_result} as SwipeGestureHandlerOptions) - return value - } - readPanGestureHandlerOptions(): PanGestureHandlerOptions { - let valueDeserializer: Deserializer = this - const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fingers_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) - { - fingers_buf = (valueDeserializer.readNumber() as number) - } - const fingers_result: number | undefined|undefined = fingers_buf - const direction_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let direction_buf: PanDirection | undefined|undefined - if ((RuntimeType.UNDEFINED) != (direction_buf_runtimeType)) - { - direction_buf = (valueDeserializer.readInt32() as PanDirection) - } - const direction_result: PanDirection | undefined|undefined = direction_buf - const distance_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let distance_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (distance_buf_runtimeType)) - { - distance_buf = (valueDeserializer.readNumber() as number) - } - const distance_result: number | undefined|undefined = distance_buf - let value: PanGestureHandlerOptions = ({fingers: fingers_result,direction: direction_result,distance: distance_result} as PanGestureHandlerOptions) - return value - } - readLongPressGestureHandlerOptions(): LongPressGestureHandlerOptions { - let valueDeserializer: Deserializer = this - const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fingers_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) - { - fingers_buf = (valueDeserializer.readNumber() as number) - } - const fingers_result: number | undefined|undefined = fingers_buf - const repeat_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let repeat_buf: boolean | undefined|undefined - if ((RuntimeType.UNDEFINED) != (repeat_buf_runtimeType)) - { - repeat_buf = valueDeserializer.readBoolean() - } - const repeat_result: boolean | undefined|undefined = repeat_buf - const duration_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let duration_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (duration_buf_runtimeType)) - { - duration_buf = (valueDeserializer.readNumber() as number) - } - const duration_result: number | undefined|undefined = duration_buf - let value: LongPressGestureHandlerOptions = ({fingers: fingers_result,repeat: repeat_result,duration: duration_result} as LongPressGestureHandlerOptions) - return value - } - readTapGestureHandlerOptions(): TapGestureHandlerOptions { - let valueDeserializer: Deserializer = this - const count_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let count_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (count_buf_runtimeType)) - { - count_buf = (valueDeserializer.readNumber() as number) - } - const count_result: number | undefined|undefined = count_buf - const fingers_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let fingers_buf: number | undefined|undefined - if ((RuntimeType.UNDEFINED) != (fingers_buf_runtimeType)) - { - fingers_buf = (valueDeserializer.readNumber() as number) - } - const fingers_result: number | undefined|undefined = fingers_buf - let value: TapGestureHandlerOptions = ({count: count_result,fingers: fingers_result} as TapGestureHandlerOptions) - return value - } - readGestureEvent(): GestureEvent { - let valueDeserializer: Deserializer = this - let ptr: KPointer = valueDeserializer.readPointer() - return GestureEventInternal.fromPtr(ptr) - } readGaugeIndicatorOptions(): GaugeIndicatorOptions { let valueDeserializer: Deserializer = this const icon_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -20303,7 +20228,7 @@ return; } let margin_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (margin_buf_runtimeType)) { - margin_buf = valueDeserializer.readLengthMetrics() + margin_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const margin_result: LengthMetrics | undefined|undefined = margin_buf const strokeColor_buf_runtimeType = (valueDeserializer.readInt8() as int32) @@ -20317,7 +20242,7 @@ return; } let strokeWidth_buf: LengthMetrics | undefined|undefined if ((RuntimeType.UNDEFINED) != (strokeWidth_buf_runtimeType)) { - strokeWidth_buf = valueDeserializer.readLengthMetrics() + strokeWidth_buf = (valueDeserializer.readLengthMetrics() as LengthMetrics) } const strokeWidth_result: LengthMetrics | undefined|undefined = strokeWidth_buf let value: FocusBoxStyle = ({margin: margin_result,strokeColor: strokeColor_result,strokeWidth: strokeWidth_result} as FocusBoxStyle) @@ -21169,7 +21094,7 @@ return; } dashGap_buf_ = ({top: dashGap_buf__u_top, right: dashGap_buf__u_right, bottom: dashGap_buf__u_bottom, left: dashGap_buf__u_left} as EdgeWidths) } else if (dashGap_buf__selector == 1) { - dashGap_buf_ = valueDeserializer.readLengthMetrics() + dashGap_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) } else if (dashGap_buf__selector == 2) { dashGap_buf_ = valueDeserializer.readLocalizedEdgeWidths() @@ -21218,7 +21143,7 @@ return; } dashWidth_buf_ = ({top: dashWidth_buf__u_top, right: dashWidth_buf__u_right, bottom: dashWidth_buf__u_bottom, left: dashWidth_buf__u_left} as EdgeWidths) } else if (dashWidth_buf__selector == 1) { - dashWidth_buf_ = valueDeserializer.readLengthMetrics() + dashWidth_buf_ = (valueDeserializer.readLengthMetrics() as LengthMetrics) } else if (dashWidth_buf__selector == 2) { dashWidth_buf_ = valueDeserializer.readLocalizedEdgeWidths() @@ -21484,39 +21409,6 @@ _argsSerializer.holdAndWriteCallback(_continuationCallback); _argsSerializer.release(); return (_continuationValue as TouchResult); } } - readConstraintSizeOptions(): ConstraintSizeOptions { - let valueDeserializer: Deserializer = this - const minWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let minWidth_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (minWidth_buf_runtimeType)) - { - minWidth_buf = (valueDeserializer.readLength() as Length) - } - const minWidth_result: Length | undefined|undefined = minWidth_buf - const maxWidth_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let maxWidth_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (maxWidth_buf_runtimeType)) - { - maxWidth_buf = (valueDeserializer.readLength() as Length) - } - const maxWidth_result: Length | undefined|undefined = maxWidth_buf - const minHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let minHeight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (minHeight_buf_runtimeType)) - { - minHeight_buf = (valueDeserializer.readLength() as Length) - } - const minHeight_result: Length | undefined|undefined = minHeight_buf - const maxHeight_buf_runtimeType = (valueDeserializer.readInt8() as int32) - let maxHeight_buf: Length | undefined|undefined - if ((RuntimeType.UNDEFINED) != (maxHeight_buf_runtimeType)) - { - maxHeight_buf = (valueDeserializer.readLength() as Length) - } - const maxHeight_result: Length | undefined|undefined = maxHeight_buf - let value: ConstraintSizeOptions = ({minWidth: minWidth_result,maxWidth: maxWidth_result,minHeight: minHeight_result,maxHeight: maxHeight_result} as ConstraintSizeOptions) - return value - } readTouchObject(): TouchObject { let valueDeserializer: Deserializer = this const type_result: TouchType = (valueDeserializer.readInt32() as TouchType) diff --git a/arkoala/arkui/src/peers/Serializer.ts b/arkoala/arkui/src/peers/Serializer.ts index 999b255d2..c9f3ba70b 100644 --- a/arkoala/arkui/src/peers/Serializer.ts +++ b/arkoala/arkui/src/peers/Serializer.ts @@ -28,7 +28,10 @@ import { AnimationExtenderInternal } from "./../ArkAnimationExtenderMaterialized import { UnifiedDataInternal } from "./../ArkUnifiedDataMaterialized" import { LazyForEachOpsInternal } from "./../ArkLazyForEachOpsMaterialized" import { DrawingCanvasInternal } from "./../ArkDrawingCanvasMaterialized" +import { LengthMetricsInternal } from "./../ArkLengthMetricsMaterialized" import { WebviewControllerInternal } from "./../ArkWebviewControllerMaterialized" +import { GlobalScope_ohos_arkui_componentSnapshotInternal } from "./../ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized" +import { GlobalScope_ohos_arkui_performanceMonitorInternal } from "./../ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized" import { FrameNodeInternal } from "./../ArkFrameNodeMaterialized" import { PixelMapInternal } from "./../ArkPixelMapMaterialized" import { NavExtenderInternal } from "./../ArkNavExtenderMaterialized" @@ -58,6 +61,7 @@ import { PixelMapMockInternal } from "./../ArkPixelMapMockMaterialized" import { DragEventInternal } from "./../ArkDragEventMaterialized" import { KeyEventInternal } from "./../ArkKeyEventMaterialized" import { ProgressMaskInternal } from "./../ArkProgressMaskMaterialized" +import { MeasurableInternal } from "./../ArkMeasurableMaterialized" import { ViewInternal } from "./../ArkViewMaterialized" import { TextContentControllerBaseInternal } from "./../ArkTextContentControllerBaseMaterialized" import { DynamicNodeInternal } from "./../ArkDynamicNodeMaterialized" @@ -77,13 +81,6 @@ import { RotationGestureEventInternal } from "./../ArkRotationGestureEventMateri import { SwipeGestureEventInternal } from "./../ArkSwipeGestureEventMaterialized" import { GestureEventInternal } from "./../ArkGestureEventMaterialized" import { PanGestureOptionsInternal } from "./../ArkPanGestureOptionsMaterialized" -import { GestureHandlerInternal } from "./../ArkGestureHandlerMaterialized" -import { TapGestureHandlerInternal } from "./../ArkTapGestureHandlerMaterialized" -import { LongPressGestureHandlerInternal } from "./../ArkLongPressGestureHandlerMaterialized" -import { PanGestureHandlerInternal } from "./../ArkPanGestureHandlerMaterialized" -import { SwipeGestureHandlerInternal } from "./../ArkSwipeGestureHandlerMaterialized" -import { PinchGestureHandlerInternal } from "./../ArkPinchGestureHandlerMaterialized" -import { RotationGestureHandlerInternal } from "./../ArkRotationGestureHandlerMaterialized" import { ScrollableTargetInfoInternal } from "./../ArkScrollableTargetInfoMaterialized" import { EventTargetInfoInternal } from "./../ArkEventTargetInfoMaterialized" import { GestureRecognizerInternal } from "./../ArkGestureRecognizerMaterialized" @@ -236,10 +233,20 @@ export class Serializer extends SerializerBase { } writeLengthMetrics(value: LengthMetrics): void { let valueSerializer: Serializer = this - const value_unit = value.unit - valueSerializer.writeInt32(value_unit) - const value_value = value.value - valueSerializer.writeNumber(value_value) + 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!") + } } writeLeadingMarginPlaceholder(value: LeadingMarginPlaceholder): void { let valueSerializer: Serializer = this @@ -360,7 +367,7 @@ export class Serializer extends SerializerBase { const value_margin_value = value_margin! let value_margin_value_type: int32 = RuntimeType.UNDEFINED value_margin_value_type = runtimeType(value_margin_value) - if (((RuntimeType.OBJECT) == (value_margin_value_type)) && (((value_margin_value!.hasOwnProperty("unit"))))) { + if (((RuntimeType.OBJECT) == (value_margin_value_type)) && (value_margin_value instanceof LengthMetrics)) { valueSerializer.writeInt8(0) const value_margin_value_0 = unsafeCast(value_margin_value) valueSerializer.writeLengthMetrics(value_margin_value_0) @@ -410,7 +417,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)) && (((value_padding_value!.hasOwnProperty("unit"))))) { + if (((RuntimeType.OBJECT) == (value_padding_value_type)) && (value_padding_value instanceof LengthMetrics)) { valueSerializer.writeInt8(0) const value_padding_value_0 = unsafeCast(value_padding_value) valueSerializer.writeLengthMetrics(value_padding_value_0) @@ -460,7 +467,7 @@ export class Serializer extends SerializerBase { const value_borderRadius_value = value_borderRadius! let value_borderRadius_value_type: int32 = RuntimeType.UNDEFINED value_borderRadius_value_type = runtimeType(value_borderRadius_value) - if (((RuntimeType.OBJECT) == (value_borderRadius_value_type)) && (((value_borderRadius_value!.hasOwnProperty("unit"))))) { + if (((RuntimeType.OBJECT) == (value_borderRadius_value_type)) && (value_borderRadius_value instanceof LengthMetrics)) { valueSerializer.writeInt8(0) const value_borderRadius_value_0 = unsafeCast(value_borderRadius_value) valueSerializer.writeLengthMetrics(value_borderRadius_value_0) @@ -8795,6 +8802,41 @@ export class Serializer extends SerializerBase { const value___RectShapeStub = value.__RectShapeStub valueSerializer.writeString(value___RectShapeStub) } + writeConstraintSizeOptions(value: ConstraintSizeOptions): void { + let valueSerializer: Serializer = this + const value_minWidth = value.minWidth + let value_minWidth_type: int32 = RuntimeType.UNDEFINED + value_minWidth_type = runtimeType(value_minWidth) + valueSerializer.writeInt8(value_minWidth_type) + if ((RuntimeType.UNDEFINED) != (value_minWidth_type)) { + const value_minWidth_value = value_minWidth! + valueSerializer.writeLength(value_minWidth_value) + } + const value_maxWidth = value.maxWidth + let value_maxWidth_type: int32 = RuntimeType.UNDEFINED + value_maxWidth_type = runtimeType(value_maxWidth) + valueSerializer.writeInt8(value_maxWidth_type) + if ((RuntimeType.UNDEFINED) != (value_maxWidth_type)) { + const value_maxWidth_value = value_maxWidth! + valueSerializer.writeLength(value_maxWidth_value) + } + const value_minHeight = value.minHeight + let value_minHeight_type: int32 = RuntimeType.UNDEFINED + value_minHeight_type = runtimeType(value_minHeight) + valueSerializer.writeInt8(value_minHeight_type) + if ((RuntimeType.UNDEFINED) != (value_minHeight_type)) { + const value_minHeight_value = value_minHeight! + valueSerializer.writeLength(value_minHeight_value) + } + const value_maxHeight = value.maxHeight + let value_maxHeight_type: int32 = RuntimeType.UNDEFINED + value_maxHeight_type = runtimeType(value_maxHeight) + valueSerializer.writeInt8(value_maxHeight_type) + if ((RuntimeType.UNDEFINED) != (value_maxHeight_type)) { + const value_maxHeight_value = value_maxHeight! + valueSerializer.writeLength(value_maxHeight_value) + } + } writeAccessibilityOptions(value: AccessibilityOptions): void { let valueSerializer: Serializer = this const value_accessibilityPreferred = value.accessibilityPreferred @@ -13817,6 +13859,25 @@ export class Serializer extends SerializerBase { throw new Error("Value is not a MaterializedBase instance!") } } + writeSnapshotOptions(value: SnapshotOptions): void { + let valueSerializer: Serializer = this + const value_scale = value.scale + let value_scale_type: int32 = RuntimeType.UNDEFINED + value_scale_type = runtimeType(value_scale) + valueSerializer.writeInt8(value_scale_type) + if ((RuntimeType.UNDEFINED) != (value_scale_type)) { + const value_scale_value = value_scale! + valueSerializer.writeNumber(value_scale_value) + } + const value_waitUntilRenderFinished = value.waitUntilRenderFinished + let value_waitUntilRenderFinished_type: int32 = RuntimeType.UNDEFINED + value_waitUntilRenderFinished_type = runtimeType(value_waitUntilRenderFinished) + valueSerializer.writeInt8(value_waitUntilRenderFinished_type) + if ((RuntimeType.UNDEFINED) != (value_waitUntilRenderFinished_type)) { + const value_waitUntilRenderFinished_value = value_waitUntilRenderFinished! + valueSerializer.writeBoolean(value_waitUntilRenderFinished_value) + } + } writeDoubleAnimationParam(value: DoubleAnimationParam): void { let valueSerializer: Serializer = this const value_propertyName = value.propertyName @@ -16475,6 +16536,23 @@ export class Serializer extends SerializerBase { valueSerializer.writeStyledString(value_previewText_value) } } + writeGestureEvent(value: GestureEvent): void { + let valueSerializer: Serializer = this + 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 const value_id = value.id @@ -17929,161 +18007,6 @@ export class Serializer extends SerializerBase { valueSerializer.holdAndWriteCallback(value_onGetRectByIndex_value) } } - writeRotationGestureHandlerOptions(value: RotationGestureHandlerOptions): void { - let valueSerializer: Serializer = this - const value_fingers = value.fingers - let value_fingers_type: int32 = RuntimeType.UNDEFINED - value_fingers_type = runtimeType(value_fingers) - valueSerializer.writeInt8(value_fingers_type) - if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { - const value_fingers_value = value_fingers! - valueSerializer.writeNumber(value_fingers_value) - } - const value_angle = value.angle - let value_angle_type: int32 = RuntimeType.UNDEFINED - value_angle_type = runtimeType(value_angle) - valueSerializer.writeInt8(value_angle_type) - if ((RuntimeType.UNDEFINED) != (value_angle_type)) { - const value_angle_value = value_angle! - valueSerializer.writeNumber(value_angle_value) - } - } - writePinchGestureHandlerOptions(value: PinchGestureHandlerOptions): void { - let valueSerializer: Serializer = this - const value_fingers = value.fingers - let value_fingers_type: int32 = RuntimeType.UNDEFINED - value_fingers_type = runtimeType(value_fingers) - valueSerializer.writeInt8(value_fingers_type) - if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { - const value_fingers_value = value_fingers! - valueSerializer.writeNumber(value_fingers_value) - } - const value_distance = value.distance - let value_distance_type: int32 = RuntimeType.UNDEFINED - value_distance_type = runtimeType(value_distance) - valueSerializer.writeInt8(value_distance_type) - if ((RuntimeType.UNDEFINED) != (value_distance_type)) { - const value_distance_value = value_distance! - valueSerializer.writeNumber(value_distance_value) - } - } - writeSwipeGestureHandlerOptions(value: SwipeGestureHandlerOptions): void { - let valueSerializer: Serializer = this - const value_fingers = value.fingers - let value_fingers_type: int32 = RuntimeType.UNDEFINED - value_fingers_type = runtimeType(value_fingers) - valueSerializer.writeInt8(value_fingers_type) - if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { - const value_fingers_value = value_fingers! - valueSerializer.writeNumber(value_fingers_value) - } - const value_direction = value.direction - let value_direction_type: int32 = RuntimeType.UNDEFINED - value_direction_type = runtimeType(value_direction) - valueSerializer.writeInt8(value_direction_type) - if ((RuntimeType.UNDEFINED) != (value_direction_type)) { - const value_direction_value = value_direction! - valueSerializer.writeInt32(value_direction_value) - } - const value_speed = value.speed - let value_speed_type: int32 = RuntimeType.UNDEFINED - value_speed_type = runtimeType(value_speed) - valueSerializer.writeInt8(value_speed_type) - if ((RuntimeType.UNDEFINED) != (value_speed_type)) { - const value_speed_value = value_speed! - valueSerializer.writeNumber(value_speed_value) - } - } - writePanGestureHandlerOptions(value: PanGestureHandlerOptions): void { - let valueSerializer: Serializer = this - const value_fingers = value.fingers - let value_fingers_type: int32 = RuntimeType.UNDEFINED - value_fingers_type = runtimeType(value_fingers) - valueSerializer.writeInt8(value_fingers_type) - if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { - const value_fingers_value = value_fingers! - valueSerializer.writeNumber(value_fingers_value) - } - const value_direction = value.direction - let value_direction_type: int32 = RuntimeType.UNDEFINED - value_direction_type = runtimeType(value_direction) - valueSerializer.writeInt8(value_direction_type) - if ((RuntimeType.UNDEFINED) != (value_direction_type)) { - const value_direction_value = value_direction! - valueSerializer.writeInt32(value_direction_value) - } - const value_distance = value.distance - let value_distance_type: int32 = RuntimeType.UNDEFINED - value_distance_type = runtimeType(value_distance) - valueSerializer.writeInt8(value_distance_type) - if ((RuntimeType.UNDEFINED) != (value_distance_type)) { - const value_distance_value = value_distance! - valueSerializer.writeNumber(value_distance_value) - } - } - writeLongPressGestureHandlerOptions(value: LongPressGestureHandlerOptions): void { - let valueSerializer: Serializer = this - const value_fingers = value.fingers - let value_fingers_type: int32 = RuntimeType.UNDEFINED - value_fingers_type = runtimeType(value_fingers) - valueSerializer.writeInt8(value_fingers_type) - if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { - const value_fingers_value = value_fingers! - valueSerializer.writeNumber(value_fingers_value) - } - const value_repeat = value.repeat - let value_repeat_type: int32 = RuntimeType.UNDEFINED - value_repeat_type = runtimeType(value_repeat) - valueSerializer.writeInt8(value_repeat_type) - if ((RuntimeType.UNDEFINED) != (value_repeat_type)) { - const value_repeat_value = value_repeat! - valueSerializer.writeBoolean(value_repeat_value) - } - const value_duration = value.duration - let value_duration_type: int32 = RuntimeType.UNDEFINED - value_duration_type = runtimeType(value_duration) - valueSerializer.writeInt8(value_duration_type) - if ((RuntimeType.UNDEFINED) != (value_duration_type)) { - const value_duration_value = value_duration! - valueSerializer.writeNumber(value_duration_value) - } - } - writeTapGestureHandlerOptions(value: TapGestureHandlerOptions): void { - let valueSerializer: Serializer = this - const value_count = value.count - let value_count_type: int32 = RuntimeType.UNDEFINED - value_count_type = runtimeType(value_count) - valueSerializer.writeInt8(value_count_type) - if ((RuntimeType.UNDEFINED) != (value_count_type)) { - const value_count_value = value_count! - valueSerializer.writeNumber(value_count_value) - } - const value_fingers = value.fingers - let value_fingers_type: int32 = RuntimeType.UNDEFINED - value_fingers_type = runtimeType(value_fingers) - valueSerializer.writeInt8(value_fingers_type) - if ((RuntimeType.UNDEFINED) != (value_fingers_type)) { - const value_fingers_value = value_fingers! - valueSerializer.writeNumber(value_fingers_value) - } - } - writeGestureEvent(value: GestureEvent): void { - let valueSerializer: Serializer = this - 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!") - } - } writeGaugeIndicatorOptions(value: GaugeIndicatorOptions): void { let valueSerializer: Serializer = this const value_icon = value.icon @@ -20619,7 +20542,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeLength(value_dashGap_value_0_left_value) } } - else if (((RuntimeType.OBJECT) == (value_dashGap_value_type)) && (((value_dashGap_value!.hasOwnProperty("unit"))))) { + else if (((RuntimeType.OBJECT) == (value_dashGap_value_type)) && (value_dashGap_value instanceof LengthMetrics)) { valueSerializer.writeInt8(1) const value_dashGap_value_1 = unsafeCast(value_dashGap_value) valueSerializer.writeLengthMetrics(value_dashGap_value_1) @@ -20674,7 +20597,7 @@ export class Serializer extends SerializerBase { valueSerializer.writeLength(value_dashWidth_value_0_left_value) } } - else if (((RuntimeType.OBJECT) == (value_dashWidth_value_type)) && (((value_dashWidth_value!.hasOwnProperty("unit"))))) { + else if (((RuntimeType.OBJECT) == (value_dashWidth_value_type)) && (value_dashWidth_value instanceof LengthMetrics)) { valueSerializer.writeInt8(1) const value_dashWidth_value_1 = unsafeCast(value_dashWidth_value) valueSerializer.writeLengthMetrics(value_dashWidth_value_1) @@ -20940,41 +20863,6 @@ export class Serializer extends SerializerBase { const value_id = value.id valueSerializer.writeString(value_id) } - writeConstraintSizeOptions(value: ConstraintSizeOptions): void { - let valueSerializer: Serializer = this - const value_minWidth = value.minWidth - let value_minWidth_type: int32 = RuntimeType.UNDEFINED - value_minWidth_type = runtimeType(value_minWidth) - valueSerializer.writeInt8(value_minWidth_type) - if ((RuntimeType.UNDEFINED) != (value_minWidth_type)) { - const value_minWidth_value = value_minWidth! - valueSerializer.writeLength(value_minWidth_value) - } - const value_maxWidth = value.maxWidth - let value_maxWidth_type: int32 = RuntimeType.UNDEFINED - value_maxWidth_type = runtimeType(value_maxWidth) - valueSerializer.writeInt8(value_maxWidth_type) - if ((RuntimeType.UNDEFINED) != (value_maxWidth_type)) { - const value_maxWidth_value = value_maxWidth! - valueSerializer.writeLength(value_maxWidth_value) - } - const value_minHeight = value.minHeight - let value_minHeight_type: int32 = RuntimeType.UNDEFINED - value_minHeight_type = runtimeType(value_minHeight) - valueSerializer.writeInt8(value_minHeight_type) - if ((RuntimeType.UNDEFINED) != (value_minHeight_type)) { - const value_minHeight_value = value_minHeight! - valueSerializer.writeLength(value_minHeight_value) - } - const value_maxHeight = value.maxHeight - let value_maxHeight_type: int32 = RuntimeType.UNDEFINED - value_maxHeight_type = runtimeType(value_maxHeight) - valueSerializer.writeInt8(value_maxHeight_type) - if ((RuntimeType.UNDEFINED) != (value_maxHeight_type)) { - const value_maxHeight_value = value_maxHeight! - valueSerializer.writeLength(value_maxHeight_value) - } - } writeTouchObject(value: TouchObject): void { let valueSerializer: Serializer = this const value_type = value.type diff --git a/arkoala/framework/native/src/generated/Serializers.h b/arkoala/framework/native/src/generated/Serializers.h index d37ebe02a..2af7ff337 100644 --- a/arkoala/framework/native/src/generated/Serializers.h +++ b/arkoala/framework/native/src/generated/Serializers.h @@ -339,23 +339,6 @@ inline Ark_RuntimeType runtimeType(const Opt_PixelMap& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_LengthMetrics& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_LengthMetrics* value) { - result->append("{"); - // Ark_LengthUnit unit - result->append(".unit="); - WriteToString(result, value->unit); - // Ark_Number value - result->append(", "); - result->append(".value="); - WriteToString(result, &value->value); - result->append("}"); -} -template <> inline void WriteToString(std::string* result, const Opt_LengthMetrics* value) { result->append("{.tag="); result->append(tagNameExact((Ark_Tag)(value->tag))); @@ -16891,6 +16874,45 @@ inline Ark_RuntimeType runtimeType(const Opt_RichEditorImageSpanOptions& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Array_FingerInfo& value) +{ + return INTEROP_RUNTIME_OBJECT; +} + +template <> +inline void WriteToString(std::string* result, const Ark_FingerInfo* value); + +inline void WriteToString(std::string* result, const Array_FingerInfo* 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_FingerInfo*)&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_FingerInfo* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != 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_FingerInfo& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_RichEditorTextSpanOptions& value) { return INTEROP_RUNTIME_OBJECT; @@ -19124,35 +19146,6 @@ inline Ark_RuntimeType runtimeType(const Opt_Callback_Number_Tuple_Number_Number 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_PanDirection& value) { return INTEROP_RUNTIME_NUMBER; @@ -19182,45 +19175,6 @@ inline Ark_RuntimeType runtimeType(const Opt_PanDirection& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Array_FingerInfo& value) -{ - return INTEROP_RUNTIME_OBJECT; -} - -template <> -inline void WriteToString(std::string* result, const Ark_FingerInfo* value); - -inline void WriteToString(std::string* result, const Array_FingerInfo* 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_FingerInfo*)&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_FingerInfo* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != 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_FingerInfo& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_Union_ResourceColor_LinearGradient_common& value) { switch (value.selector) { @@ -20535,6 +20489,49 @@ inline Ark_RuntimeType runtimeType(const Opt_ContentClipMode& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_ConstraintSizeOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_ConstraintSizeOptions* value) { + result->append("{"); + // Ark_Length minWidth + result->append(".minWidth="); + WriteToString(result, &value->minWidth); + // Ark_Length maxWidth + result->append(", "); + result->append(".maxWidth="); + WriteToString(result, &value->maxWidth); + // Ark_Length minHeight + result->append(", "); + result->append(".minHeight="); + WriteToString(result, &value->minHeight); + // Ark_Length maxHeight + result->append(", "); + result->append(".maxHeight="); + WriteToString(result, &value->maxHeight); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_ConstraintSizeOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_ConstraintSizeOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const GestureRecognizerJudgeBeginCallback& value) { return INTEROP_RUNTIME_OBJECT; @@ -24975,6 +24972,130 @@ inline Ark_RuntimeType runtimeType(const Opt_NavExtender_OnUpdateStack& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> +inline Ark_RuntimeType runtimeType(const Ark_PerfMonitorSourceType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_PerfMonitorSourceType value) { + result->append("Ark_PerfMonitorSourceType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PerfMonitorSourceType* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PerfMonitorSourceType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_PerfMonitorActionType& value) +{ + return INTEROP_RUNTIME_NUMBER; +} +template <> +inline void WriteToString(std::string* result, const Ark_PerfMonitorActionType value) { + result->append("Ark_PerfMonitorActionType("); + WriteToString(result, (Ark_Int32) value); + result->append(")"); +} +template <> +inline void WriteToString(std::string* result, const Opt_PerfMonitorActionType* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_PerfMonitorActionType& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const Ark_SnapshotOptions& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const Ark_SnapshotOptions* value) { + result->append("{"); + // Ark_Number scale + result->append(".scale="); + WriteToString(result, &value->scale); + // Ark_Boolean waitUntilRenderFinished + result->append(", "); + result->append(".waitUntilRenderFinished="); + WriteToString(result, &value->waitUntilRenderFinished); + result->append("}"); +} +template <> +inline void WriteToString(std::string* result, const Opt_SnapshotOptions* value) { + result->append("{.tag="); + result->append(tagNameExact((Ark_Tag)(value->tag))); + result->append(", .value="); + if (value->tag != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_SnapshotOptions& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> +inline Ark_RuntimeType runtimeType(const AsyncCallback_image_PixelMap_Void& value) +{ + return INTEROP_RUNTIME_OBJECT; +} +template <> +inline void WriteToString(std::string* result, const AsyncCallback_image_PixelMap_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_AsyncCallback_image_PixelMap_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_AsyncCallback_image_PixelMap_Void& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Callback_RangeUpdate& value) { return INTEROP_RUNTIME_OBJECT; @@ -36427,6 +36548,24 @@ inline Ark_RuntimeType runtimeType(const Opt_Union_PixelMap_ResourceStr& value) 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 != INTEROP_TAG_UNDEFINED) { + WriteToString(result, &value->value); + } else { + Ark_Undefined undefined = { 0 }; + WriteToString(result, undefined); + } + result->append("}"); +} +template <> +inline Ark_RuntimeType runtimeType(const Opt_GestureEvent& value) +{ + return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); +} +template <> inline Ark_RuntimeType runtimeType(const Ark_LocalizedBarrierStyle& value) { return INTEROP_RUNTIME_OBJECT; @@ -41105,285 +41244,6 @@ 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_RotationGestureHandlerOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_RotationGestureHandlerOptions* value) { - result->append("{"); - // Ark_Number fingers - result->append(".fingers="); - WriteToString(result, &value->fingers); - // Ark_Number angle - result->append(", "); - result->append(".angle="); - WriteToString(result, &value->angle); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_RotationGestureHandlerOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_RotationGestureHandlerOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_PinchGestureHandlerOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_PinchGestureHandlerOptions* value) { - result->append("{"); - // Ark_Number fingers - result->append(".fingers="); - WriteToString(result, &value->fingers); - // Ark_Number distance - result->append(", "); - result->append(".distance="); - WriteToString(result, &value->distance); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_PinchGestureHandlerOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_PinchGestureHandlerOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_SwipeGestureHandlerOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_SwipeGestureHandlerOptions* value) { - result->append("{"); - // Ark_Number fingers - result->append(".fingers="); - WriteToString(result, &value->fingers); - // Ark_SwipeDirection direction - result->append(", "); - result->append(".direction="); - WriteToString(result, &value->direction); - // Ark_Number speed - result->append(", "); - result->append(".speed="); - WriteToString(result, &value->speed); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_SwipeGestureHandlerOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_SwipeGestureHandlerOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_PanGestureHandlerOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_PanGestureHandlerOptions* value) { - result->append("{"); - // Ark_Number fingers - result->append(".fingers="); - WriteToString(result, &value->fingers); - // Ark_PanDirection direction - result->append(", "); - result->append(".direction="); - WriteToString(result, &value->direction); - // Ark_Number distance - result->append(", "); - result->append(".distance="); - WriteToString(result, &value->distance); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_PanGestureHandlerOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_PanGestureHandlerOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_LongPressGestureHandlerOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_LongPressGestureHandlerOptions* value) { - result->append("{"); - // Ark_Number fingers - result->append(".fingers="); - WriteToString(result, &value->fingers); - // Ark_Boolean repeat - result->append(", "); - result->append(".repeat="); - WriteToString(result, &value->repeat); - // Ark_Number duration - result->append(", "); - result->append(".duration="); - WriteToString(result, &value->duration); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_LongPressGestureHandlerOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_LongPressGestureHandlerOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Ark_TapGestureHandlerOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_TapGestureHandlerOptions* value) { - result->append("{"); - // Ark_Number count - result->append(".count="); - WriteToString(result, &value->count); - // Ark_Number fingers - result->append(", "); - result->append(".fingers="); - WriteToString(result, &value->fingers); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_TapGestureHandlerOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_TapGestureHandlerOptions& value) -{ - 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 != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_GestureEvent& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> -inline Ark_RuntimeType runtimeType(const Array_SourceTool& value) -{ - return INTEROP_RUNTIME_OBJECT; -} - -template <> -inline void WriteToString(std::string* result, const Ark_SourceTool value); - -inline void WriteToString(std::string* result, const Array_SourceTool* value) { - int32_t count = value->length; - result->append("{.array=allocArray({{"); - for (int i = 0; i < count; i++) { - if (i > 0) result->append(", "); - WriteToString(result, value->array[i]); - } - result->append("}})"); - result->append(", .length="); - result->append(std::to_string(value->length)); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_Array_SourceTool* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != 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_SourceTool& 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 INTEROP_RUNTIME_OBJECT; @@ -41452,6 +41312,35 @@ 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 INTEROP_RUNTIME_OBJECT; @@ -46724,49 +46613,6 @@ inline Ark_RuntimeType runtimeType(const Opt_HitTestMode& value) return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); } template <> -inline Ark_RuntimeType runtimeType(const Ark_ConstraintSizeOptions& value) -{ - return INTEROP_RUNTIME_OBJECT; -} -template <> -inline void WriteToString(std::string* result, const Ark_ConstraintSizeOptions* value) { - result->append("{"); - // Ark_Length minWidth - result->append(".minWidth="); - WriteToString(result, &value->minWidth); - // Ark_Length maxWidth - result->append(", "); - result->append(".maxWidth="); - WriteToString(result, &value->maxWidth); - // Ark_Length minHeight - result->append(", "); - result->append(".minHeight="); - WriteToString(result, &value->minHeight); - // Ark_Length maxHeight - result->append(", "); - result->append(".maxHeight="); - WriteToString(result, &value->maxHeight); - result->append("}"); -} -template <> -inline void WriteToString(std::string* result, const Opt_ConstraintSizeOptions* value) { - result->append("{.tag="); - result->append(tagNameExact((Ark_Tag)(value->tag))); - result->append(", .value="); - if (value->tag != INTEROP_TAG_UNDEFINED) { - WriteToString(result, &value->value); - } else { - Ark_Undefined undefined = { 0 }; - WriteToString(result, undefined); - } - result->append("}"); -} -template <> -inline Ark_RuntimeType runtimeType(const Opt_ConstraintSizeOptions& value) -{ - return (value.tag != INTEROP_TAG_UNDEFINED) ? (INTEROP_RUNTIME_OBJECT) : (INTEROP_RUNTIME_UNDEFINED); -} -template <> inline Ark_RuntimeType runtimeType(const Ark_Union_Array_Rectangle_Rectangle& value) { switch (value.selector) { @@ -48966,10 +48812,7 @@ class Serializer : public SerializerBase { void writeLengthMetrics(Ark_LengthMetrics value) { Serializer& valueSerializer = *this; - const auto value_unit = value.unit; - valueSerializer.writeInt32(static_cast(value_unit)); - const auto value_value = value.value; - valueSerializer.writeNumber(value_value); + valueSerializer.writePointer(value.ptr); } void writeLeadingMarginPlaceholder(Ark_LeadingMarginPlaceholder value) { @@ -57234,6 +57077,42 @@ class Serializer : public SerializerBase { const auto value___RectShapeStub = value.__RectShapeStub; valueSerializer.writeString(value___RectShapeStub); } + void writeConstraintSizeOptions(Ark_ConstraintSizeOptions value) + { + Serializer& valueSerializer = *this; + const auto value_minWidth = value.minWidth; + Ark_Int32 value_minWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_minWidth_type = runtimeType(value_minWidth); + valueSerializer.writeInt8(value_minWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_minWidth_type)) { + const auto value_minWidth_value = value_minWidth.value; + valueSerializer.writeLength(value_minWidth_value); + } + const auto value_maxWidth = value.maxWidth; + Ark_Int32 value_maxWidth_type = INTEROP_RUNTIME_UNDEFINED; + value_maxWidth_type = runtimeType(value_maxWidth); + valueSerializer.writeInt8(value_maxWidth_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maxWidth_type)) { + const auto value_maxWidth_value = value_maxWidth.value; + valueSerializer.writeLength(value_maxWidth_value); + } + const auto value_minHeight = value.minHeight; + Ark_Int32 value_minHeight_type = INTEROP_RUNTIME_UNDEFINED; + value_minHeight_type = runtimeType(value_minHeight); + valueSerializer.writeInt8(value_minHeight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_minHeight_type)) { + const auto value_minHeight_value = value_minHeight.value; + valueSerializer.writeLength(value_minHeight_value); + } + const auto value_maxHeight = value.maxHeight; + Ark_Int32 value_maxHeight_type = INTEROP_RUNTIME_UNDEFINED; + value_maxHeight_type = runtimeType(value_maxHeight); + valueSerializer.writeInt8(value_maxHeight_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_maxHeight_type)) { + const auto value_maxHeight_value = value_maxHeight.value; + valueSerializer.writeLength(value_maxHeight_value); + } + } void writeAccessibilityOptions(Ark_AccessibilityOptions value) { Serializer& valueSerializer = *this; @@ -62291,6 +62170,26 @@ class Serializer : public SerializerBase { Serializer& valueSerializer = *this; valueSerializer.writePointer(value.ptr); } + void writeSnapshotOptions(Ark_SnapshotOptions value) + { + Serializer& valueSerializer = *this; + const auto value_scale = value.scale; + Ark_Int32 value_scale_type = INTEROP_RUNTIME_UNDEFINED; + value_scale_type = runtimeType(value_scale); + valueSerializer.writeInt8(value_scale_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_scale_type)) { + const auto value_scale_value = value_scale.value; + valueSerializer.writeNumber(value_scale_value); + } + const auto value_waitUntilRenderFinished = value.waitUntilRenderFinished; + Ark_Int32 value_waitUntilRenderFinished_type = INTEROP_RUNTIME_UNDEFINED; + value_waitUntilRenderFinished_type = runtimeType(value_waitUntilRenderFinished); + valueSerializer.writeInt8(value_waitUntilRenderFinished_type); + if ((INTEROP_RUNTIME_UNDEFINED) != (value_waitUntilRenderFinished_type)) { + const auto value_waitUntilRenderFinished_value = value_waitUntilRenderFinished.value; + valueSerializer.writeBoolean(value_waitUntilRenderFinished_value); + } + } void writeDoubleAnimationParam(Ark_DoubleAnimationParam value) { Serializer& valueSerializer = *this; @@ -64987,6 +64886,11 @@ class Serializer : public SerializerBase { valueSerializer.writeStyledString(value_previewText_value); } } + void writeGestureEvent(Ark_GestureEvent value) + { + Serializer& valueSerializer = *this; + valueSerializer.writePointer(value.ptr); + } void writeLocalizedBarrierStyle(Ark_LocalizedBarrierStyle value) { Serializer& valueSerializer = *this; @@ -66486,155 +66390,6 @@ class Serializer : public SerializerBase { valueSerializer.writePointer(reinterpret_cast(value_onGetRectByIndex_value.callSync)); } } - void writeRotationGestureHandlerOptions(Ark_RotationGestureHandlerOptions value) - { - Serializer& valueSerializer = *this; - const auto value_fingers = value.fingers; - Ark_Int32 value_fingers_type = INTEROP_RUNTIME_UNDEFINED; - value_fingers_type = runtimeType(value_fingers); - valueSerializer.writeInt8(value_fingers_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fingers_type)) { - const auto value_fingers_value = value_fingers.value; - valueSerializer.writeNumber(value_fingers_value); - } - const auto value_angle = value.angle; - Ark_Int32 value_angle_type = INTEROP_RUNTIME_UNDEFINED; - value_angle_type = runtimeType(value_angle); - valueSerializer.writeInt8(value_angle_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_angle_type)) { - const auto value_angle_value = value_angle.value; - valueSerializer.writeNumber(value_angle_value); - } - } - void writePinchGestureHandlerOptions(Ark_PinchGestureHandlerOptions value) - { - Serializer& valueSerializer = *this; - const auto value_fingers = value.fingers; - Ark_Int32 value_fingers_type = INTEROP_RUNTIME_UNDEFINED; - value_fingers_type = runtimeType(value_fingers); - valueSerializer.writeInt8(value_fingers_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fingers_type)) { - const auto value_fingers_value = value_fingers.value; - valueSerializer.writeNumber(value_fingers_value); - } - const auto value_distance = value.distance; - Ark_Int32 value_distance_type = INTEROP_RUNTIME_UNDEFINED; - value_distance_type = runtimeType(value_distance); - valueSerializer.writeInt8(value_distance_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_distance_type)) { - const auto value_distance_value = value_distance.value; - valueSerializer.writeNumber(value_distance_value); - } - } - void writeSwipeGestureHandlerOptions(Ark_SwipeGestureHandlerOptions value) - { - Serializer& valueSerializer = *this; - const auto value_fingers = value.fingers; - Ark_Int32 value_fingers_type = INTEROP_RUNTIME_UNDEFINED; - value_fingers_type = runtimeType(value_fingers); - valueSerializer.writeInt8(value_fingers_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fingers_type)) { - const auto value_fingers_value = value_fingers.value; - valueSerializer.writeNumber(value_fingers_value); - } - const auto value_direction = value.direction; - Ark_Int32 value_direction_type = INTEROP_RUNTIME_UNDEFINED; - value_direction_type = runtimeType(value_direction); - valueSerializer.writeInt8(value_direction_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_direction_type)) { - const auto value_direction_value = value_direction.value; - valueSerializer.writeInt32(static_cast(value_direction_value)); - } - const auto value_speed = value.speed; - Ark_Int32 value_speed_type = INTEROP_RUNTIME_UNDEFINED; - value_speed_type = runtimeType(value_speed); - valueSerializer.writeInt8(value_speed_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_speed_type)) { - const auto value_speed_value = value_speed.value; - valueSerializer.writeNumber(value_speed_value); - } - } - void writePanGestureHandlerOptions(Ark_PanGestureHandlerOptions value) - { - Serializer& valueSerializer = *this; - const auto value_fingers = value.fingers; - Ark_Int32 value_fingers_type = INTEROP_RUNTIME_UNDEFINED; - value_fingers_type = runtimeType(value_fingers); - valueSerializer.writeInt8(value_fingers_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fingers_type)) { - const auto value_fingers_value = value_fingers.value; - valueSerializer.writeNumber(value_fingers_value); - } - const auto value_direction = value.direction; - Ark_Int32 value_direction_type = INTEROP_RUNTIME_UNDEFINED; - value_direction_type = runtimeType(value_direction); - valueSerializer.writeInt8(value_direction_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_direction_type)) { - const auto value_direction_value = value_direction.value; - valueSerializer.writeInt32(static_cast(value_direction_value)); - } - const auto value_distance = value.distance; - Ark_Int32 value_distance_type = INTEROP_RUNTIME_UNDEFINED; - value_distance_type = runtimeType(value_distance); - valueSerializer.writeInt8(value_distance_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_distance_type)) { - const auto value_distance_value = value_distance.value; - valueSerializer.writeNumber(value_distance_value); - } - } - void writeLongPressGestureHandlerOptions(Ark_LongPressGestureHandlerOptions value) - { - Serializer& valueSerializer = *this; - const auto value_fingers = value.fingers; - Ark_Int32 value_fingers_type = INTEROP_RUNTIME_UNDEFINED; - value_fingers_type = runtimeType(value_fingers); - valueSerializer.writeInt8(value_fingers_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fingers_type)) { - const auto value_fingers_value = value_fingers.value; - valueSerializer.writeNumber(value_fingers_value); - } - const auto value_repeat = value.repeat; - Ark_Int32 value_repeat_type = INTEROP_RUNTIME_UNDEFINED; - value_repeat_type = runtimeType(value_repeat); - valueSerializer.writeInt8(value_repeat_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_repeat_type)) { - const auto value_repeat_value = value_repeat.value; - valueSerializer.writeBoolean(value_repeat_value); - } - const auto value_duration = value.duration; - Ark_Int32 value_duration_type = INTEROP_RUNTIME_UNDEFINED; - value_duration_type = runtimeType(value_duration); - valueSerializer.writeInt8(value_duration_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_duration_type)) { - const auto value_duration_value = value_duration.value; - valueSerializer.writeNumber(value_duration_value); - } - } - void writeTapGestureHandlerOptions(Ark_TapGestureHandlerOptions value) - { - Serializer& valueSerializer = *this; - const auto value_count = value.count; - Ark_Int32 value_count_type = INTEROP_RUNTIME_UNDEFINED; - value_count_type = runtimeType(value_count); - valueSerializer.writeInt8(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_fingers = value.fingers; - Ark_Int32 value_fingers_type = INTEROP_RUNTIME_UNDEFINED; - value_fingers_type = runtimeType(value_fingers); - valueSerializer.writeInt8(value_fingers_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_fingers_type)) { - const auto value_fingers_value = value_fingers.value; - valueSerializer.writeNumber(value_fingers_value); - } - } - void writeGestureEvent(Ark_GestureEvent value) - { - Serializer& valueSerializer = *this; - valueSerializer.writePointer(value.ptr); - } void writeGaugeIndicatorOptions(Ark_GaugeIndicatorOptions value) { Serializer& valueSerializer = *this; @@ -69458,42 +69213,6 @@ class Serializer : public SerializerBase { const auto value_id = value.id; valueSerializer.writeString(value_id); } - void writeConstraintSizeOptions(Ark_ConstraintSizeOptions value) - { - Serializer& valueSerializer = *this; - const auto value_minWidth = value.minWidth; - Ark_Int32 value_minWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_minWidth_type = runtimeType(value_minWidth); - valueSerializer.writeInt8(value_minWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_minWidth_type)) { - const auto value_minWidth_value = value_minWidth.value; - valueSerializer.writeLength(value_minWidth_value); - } - const auto value_maxWidth = value.maxWidth; - Ark_Int32 value_maxWidth_type = INTEROP_RUNTIME_UNDEFINED; - value_maxWidth_type = runtimeType(value_maxWidth); - valueSerializer.writeInt8(value_maxWidth_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_maxWidth_type)) { - const auto value_maxWidth_value = value_maxWidth.value; - valueSerializer.writeLength(value_maxWidth_value); - } - const auto value_minHeight = value.minHeight; - Ark_Int32 value_minHeight_type = INTEROP_RUNTIME_UNDEFINED; - value_minHeight_type = runtimeType(value_minHeight); - valueSerializer.writeInt8(value_minHeight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_minHeight_type)) { - const auto value_minHeight_value = value_minHeight.value; - valueSerializer.writeLength(value_minHeight_value); - } - const auto value_maxHeight = value.maxHeight; - Ark_Int32 value_maxHeight_type = INTEROP_RUNTIME_UNDEFINED; - value_maxHeight_type = runtimeType(value_maxHeight); - valueSerializer.writeInt8(value_maxHeight_type); - if ((INTEROP_RUNTIME_UNDEFINED) != (value_maxHeight_type)) { - const auto value_maxHeight_value = value_maxHeight.value; - valueSerializer.writeLength(value_maxHeight_value); - } - } void writeTouchObject(Ark_TouchObject value) { Serializer& valueSerializer = *this; @@ -70844,11 +70563,9 @@ class Deserializer : public DeserializerBase { } Ark_LengthMetrics readLengthMetrics() { - Ark_LengthMetrics value = {}; Deserializer& valueDeserializer = *this; - value.unit = static_cast(valueDeserializer.readInt32()); - value.value = static_cast(valueDeserializer.readNumber()); - return value; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return { ptr }; } Ark_LeadingMarginPlaceholder readLeadingMarginPlaceholder() { @@ -70972,7 +70689,7 @@ class Deserializer : public DeserializerBase { margin_buf_.selector = margin_buf__selector; if (margin_buf__selector == 0) { margin_buf_.selector = 0; - margin_buf_.value0 = valueDeserializer.readLengthMetrics(); + margin_buf_.value0 = static_cast(valueDeserializer.readLengthMetrics()); } else if (margin_buf__selector == 1) { margin_buf_.selector = 1; @@ -71027,7 +70744,7 @@ class Deserializer : public DeserializerBase { padding_buf_.selector = padding_buf__selector; if (padding_buf__selector == 0) { padding_buf_.selector = 0; - padding_buf_.value0 = valueDeserializer.readLengthMetrics(); + padding_buf_.value0 = static_cast(valueDeserializer.readLengthMetrics()); } else if (padding_buf__selector == 1) { padding_buf_.selector = 1; @@ -71082,7 +70799,7 @@ class Deserializer : public DeserializerBase { borderRadius_buf_.selector = borderRadius_buf__selector; if (borderRadius_buf__selector == 0) { borderRadius_buf_.selector = 0; - borderRadius_buf_.value0 = valueDeserializer.readLengthMetrics(); + borderRadius_buf_.value0 = static_cast(valueDeserializer.readLengthMetrics()); } else if (borderRadius_buf__selector == 1) { borderRadius_buf_.selector = 1; @@ -72117,7 +71834,7 @@ class Deserializer : public DeserializerBase { 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(); + top_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.top = top_buf; const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -72125,7 +71842,7 @@ class Deserializer : public DeserializerBase { 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(); + end_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.end = end_buf; const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -72133,7 +71850,7 @@ class Deserializer : public DeserializerBase { 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(); + bottom_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.bottom = bottom_buf; const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -72141,7 +71858,7 @@ class Deserializer : public DeserializerBase { 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(); + start_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.start = start_buf; return value; @@ -72204,7 +71921,7 @@ class Deserializer : public DeserializerBase { 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(); + topStart_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.topStart = topStart_buf; const auto topEnd_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -72212,7 +71929,7 @@ class Deserializer : public DeserializerBase { 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(); + topEnd_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.topEnd = topEnd_buf; const auto bottomStart_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -72220,7 +71937,7 @@ class Deserializer : public DeserializerBase { 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(); + bottomStart_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.bottomStart = bottomStart_buf; const auto bottomEnd_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -72228,7 +71945,7 @@ class Deserializer : public DeserializerBase { 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(); + bottomEnd_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.bottomEnd = bottomEnd_buf; return value; @@ -74833,7 +74550,7 @@ class Deserializer : public DeserializerBase { 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(); + space_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.space = space_buf; const auto strokeWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -74841,7 +74558,7 @@ class Deserializer : public DeserializerBase { 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(); + strokeWidth_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.strokeWidth = strokeWidth_buf; const auto strokeRadius_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -74849,7 +74566,7 @@ class Deserializer : public DeserializerBase { 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(); + strokeRadius_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.strokeRadius = strokeRadius_buf; const auto trackBackgroundColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -77110,7 +76827,7 @@ class Deserializer : public DeserializerBase { _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(); + _start_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value._start = _start_buf; const auto _end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -77118,7 +76835,7 @@ class Deserializer : public DeserializerBase { _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(); + _end_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value._end = _end_buf; const auto _fontColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -77240,7 +76957,7 @@ class Deserializer : public DeserializerBase { _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(); + _start_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value._start = _start_buf; const auto _end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -77248,7 +76965,7 @@ class Deserializer : public DeserializerBase { _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(); + _end_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value._end = _end_buf; const auto _itemWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -77489,7 +77206,7 @@ class Deserializer : public DeserializerBase { 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(); + top_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.top = top_buf; const auto start_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -77497,7 +77214,7 @@ class Deserializer : public DeserializerBase { 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(); + start_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.start = start_buf; const auto bottom_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -77505,7 +77222,7 @@ class Deserializer : public DeserializerBase { 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(); + bottom_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.bottom = bottom_buf; const auto end_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -77513,7 +77230,7 @@ class Deserializer : public DeserializerBase { 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(); + end_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.end = end_buf; return value; @@ -77674,7 +77391,7 @@ class Deserializer : public DeserializerBase { 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(); + extraOffset_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.extraOffset = extraOffset_buf; return value; @@ -78639,7 +78356,7 @@ class Deserializer : public DeserializerBase { 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(); + radius_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.radius = radius_buf; const auto enableWaveEffect_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -78817,7 +78534,7 @@ class Deserializer : public DeserializerBase { 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(); + paddingStart_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.paddingStart = paddingStart_buf; const auto paddingEnd_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -78825,7 +78542,7 @@ class Deserializer : public DeserializerBase { 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(); + paddingEnd_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.paddingEnd = paddingEnd_buf; const auto mainTitleModifier_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -79046,7 +78763,7 @@ class Deserializer : public DeserializerBase { 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(); + strokeWidth_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.strokeWidth = strokeWidth_buf; const auto color_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -79084,7 +78801,7 @@ class Deserializer : public DeserializerBase { 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(); + startMargin_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.startMargin = startMargin_buf; const auto endMargin_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -79092,7 +78809,7 @@ class Deserializer : public DeserializerBase { 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(); + endMargin_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.endMargin = endMargin_buf; return value; @@ -79249,7 +78966,7 @@ class Deserializer : public DeserializerBase { 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(); + main_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.main = main_buf; const auto cross_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -79257,7 +78974,7 @@ class Deserializer : public DeserializerBase { 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(); + cross_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.cross = cross_buf; return value; @@ -79692,7 +79409,7 @@ class Deserializer : public DeserializerBase { 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(); + fadingEdgeLength_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.fadingEdgeLength = fadingEdgeLength_buf; return value; @@ -79704,6 +79421,44 @@ class Deserializer : public DeserializerBase { value.__RectShapeStub = static_cast(valueDeserializer.readString()); return value; } + Ark_ConstraintSizeOptions readConstraintSizeOptions() + { + Ark_ConstraintSizeOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto minWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Length minWidth_buf = {}; + minWidth_buf.tag = minWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (minWidth_buf_runtimeType)) + { + 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 == 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 == 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 == 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_AccessibilityOptions readAccessibilityOptions() { Ark_AccessibilityOptions value = {}; @@ -82000,7 +81755,7 @@ class Deserializer : public DeserializerBase { 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(); + start_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.start = start_buf; const auto top_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -82008,7 +81763,7 @@ class Deserializer : public DeserializerBase { 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(); + top_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.top = top_buf; return value; @@ -84985,6 +84740,28 @@ class Deserializer : public DeserializerBase { Ark_NativePointer ptr = valueDeserializer.readPointer(); return { ptr }; } + Ark_SnapshotOptions readSnapshotOptions() + { + Ark_SnapshotOptions value = {}; + Deserializer& valueDeserializer = *this; + const auto scale_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Number scale_buf = {}; + scale_buf.tag = scale_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (scale_buf_runtimeType)) + { + scale_buf.value = static_cast(valueDeserializer.readNumber()); + } + value.scale = scale_buf; + const auto waitUntilRenderFinished_buf_runtimeType = static_cast(valueDeserializer.readInt8()); + Opt_Boolean waitUntilRenderFinished_buf = {}; + waitUntilRenderFinished_buf.tag = waitUntilRenderFinished_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (waitUntilRenderFinished_buf_runtimeType)) + { + waitUntilRenderFinished_buf.value = valueDeserializer.readBoolean(); + } + value.waitUntilRenderFinished = waitUntilRenderFinished_buf; + return value; + } Ark_DoubleAnimationParam readDoubleAnimationParam() { Ark_DoubleAnimationParam value = {}; @@ -87916,6 +87693,12 @@ class Deserializer : public DeserializerBase { value.previewText = previewText_buf; return value; } + Ark_GestureEvent readGestureEvent() + { + Deserializer& valueDeserializer = *this; + Ark_NativePointer ptr = valueDeserializer.readPointer(); + return { ptr }; + } Ark_LocalizedBarrierStyle readLocalizedBarrierStyle() { Ark_LocalizedBarrierStyle value = {}; @@ -89546,168 +89329,6 @@ class Deserializer : public DeserializerBase { value.onGetRectByIndex = onGetRectByIndex_buf; return value; } - Ark_RotationGestureHandlerOptions readRotationGestureHandlerOptions() - { - Ark_RotationGestureHandlerOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto fingers_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number fingers_buf = {}; - fingers_buf.tag = fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fingers_buf_runtimeType)) - { - fingers_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.fingers = fingers_buf; - const auto angle_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number angle_buf = {}; - angle_buf.tag = angle_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (angle_buf_runtimeType)) - { - angle_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.angle = angle_buf; - return value; - } - Ark_PinchGestureHandlerOptions readPinchGestureHandlerOptions() - { - Ark_PinchGestureHandlerOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto fingers_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number fingers_buf = {}; - fingers_buf.tag = fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fingers_buf_runtimeType)) - { - fingers_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.fingers = fingers_buf; - const auto distance_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number distance_buf = {}; - distance_buf.tag = distance_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (distance_buf_runtimeType)) - { - distance_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.distance = distance_buf; - return value; - } - Ark_SwipeGestureHandlerOptions readSwipeGestureHandlerOptions() - { - Ark_SwipeGestureHandlerOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto fingers_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number fingers_buf = {}; - fingers_buf.tag = fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fingers_buf_runtimeType)) - { - fingers_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.fingers = fingers_buf; - const auto direction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_SwipeDirection direction_buf = {}; - direction_buf.tag = direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) - { - direction_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.direction = direction_buf; - const auto speed_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number speed_buf = {}; - speed_buf.tag = speed_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (speed_buf_runtimeType)) - { - speed_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.speed = speed_buf; - return value; - } - Ark_PanGestureHandlerOptions readPanGestureHandlerOptions() - { - Ark_PanGestureHandlerOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto fingers_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number fingers_buf = {}; - fingers_buf.tag = fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fingers_buf_runtimeType)) - { - fingers_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.fingers = fingers_buf; - const auto direction_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_PanDirection direction_buf = {}; - direction_buf.tag = direction_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (direction_buf_runtimeType)) - { - direction_buf.value = static_cast(valueDeserializer.readInt32()); - } - value.direction = direction_buf; - const auto distance_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number distance_buf = {}; - distance_buf.tag = distance_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (distance_buf_runtimeType)) - { - distance_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.distance = distance_buf; - return value; - } - Ark_LongPressGestureHandlerOptions readLongPressGestureHandlerOptions() - { - Ark_LongPressGestureHandlerOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto fingers_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number fingers_buf = {}; - fingers_buf.tag = fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fingers_buf_runtimeType)) - { - fingers_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.fingers = fingers_buf; - const auto repeat_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Boolean repeat_buf = {}; - repeat_buf.tag = repeat_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (repeat_buf_runtimeType)) - { - repeat_buf.value = valueDeserializer.readBoolean(); - } - value.repeat = repeat_buf; - const auto duration_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number duration_buf = {}; - duration_buf.tag = duration_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (duration_buf_runtimeType)) - { - duration_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.duration = duration_buf; - return value; - } - Ark_TapGestureHandlerOptions readTapGestureHandlerOptions() - { - Ark_TapGestureHandlerOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto count_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number count_buf = {}; - count_buf.tag = count_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (count_buf_runtimeType)) - { - count_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.count = count_buf; - const auto fingers_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Number fingers_buf = {}; - fingers_buf.tag = fingers_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (fingers_buf_runtimeType)) - { - fingers_buf.value = static_cast(valueDeserializer.readNumber()); - } - value.fingers = fingers_buf; - return value; - } - Ark_GestureEvent readGestureEvent() - { - Deserializer& valueDeserializer = *this; - Ark_NativePointer ptr = valueDeserializer.readPointer(); - return { ptr }; - } Ark_GaugeIndicatorOptions readGaugeIndicatorOptions() { Ark_GaugeIndicatorOptions value = {}; @@ -91370,7 +90991,7 @@ class Deserializer : public DeserializerBase { 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(); + margin_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.margin = margin_buf; const auto strokeColor_buf_runtimeType = static_cast(valueDeserializer.readInt8()); @@ -91386,7 +91007,7 @@ class Deserializer : public DeserializerBase { 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(); + strokeWidth_buf.value = static_cast(valueDeserializer.readLengthMetrics()); } value.strokeWidth = strokeWidth_buf; return value; @@ -92373,7 +91994,7 @@ class Deserializer : public DeserializerBase { } else if (dashGap_buf__selector == 1) { dashGap_buf_.selector = 1; - dashGap_buf_.value1 = valueDeserializer.readLengthMetrics(); + dashGap_buf_.value1 = static_cast(valueDeserializer.readLengthMetrics()); } else if (dashGap_buf__selector == 2) { dashGap_buf_.selector = 2; @@ -92432,7 +92053,7 @@ class Deserializer : public DeserializerBase { } else if (dashWidth_buf__selector == 1) { dashWidth_buf_.selector = 1; - dashWidth_buf_.value1 = valueDeserializer.readLengthMetrics(); + dashWidth_buf_.value1 = static_cast(valueDeserializer.readLengthMetrics()); } else if (dashWidth_buf__selector == 2) { dashWidth_buf_.selector = 2; @@ -92718,44 +92339,6 @@ class Deserializer : public DeserializerBase { value.id = static_cast(valueDeserializer.readString()); return value; } - Ark_ConstraintSizeOptions readConstraintSizeOptions() - { - Ark_ConstraintSizeOptions value = {}; - Deserializer& valueDeserializer = *this; - const auto minWidth_buf_runtimeType = static_cast(valueDeserializer.readInt8()); - Opt_Length minWidth_buf = {}; - minWidth_buf.tag = minWidth_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; - if ((INTEROP_RUNTIME_UNDEFINED) != (minWidth_buf_runtimeType)) - { - 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 == 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 == 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 == 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 = {}; diff --git a/arkoala/framework/native/src/generated/arkoala_api_generated.h b/arkoala/framework/native/src/generated/arkoala_api_generated.h index 119f457f2..737dca039 100644 --- a/arkoala/framework/native/src/generated/arkoala_api_generated.h +++ b/arkoala/framework/native/src/generated/arkoala_api_generated.h @@ -25,8 +25,7 @@ #define _INTEROP_TYPES_H_ #include - -#define INTEROP_FATAL(msg, ...) fprintf(stderr, msg "\n", ##__VA_ARGS__); assert(false); +#define INTEROP_FATAL(msg, ...) fprintf(stderr, msg "\n", ##__VA_ARGS__); abort(); typedef enum InteropTag { @@ -245,7 +244,7 @@ typedef struct Ark_Tuple_Dimension_Dimension Ark_Tuple_Dimension_Dimension; typedef struct Opt_Tuple_Dimension_Dimension Opt_Tuple_Dimension_Dimension; typedef Ark_Materialized Ark_PixelMap; typedef struct Opt_PixelMap Opt_PixelMap; -typedef struct Ark_LengthMetrics Ark_LengthMetrics; +typedef Ark_Materialized Ark_LengthMetrics; typedef struct Opt_LengthMetrics Opt_LengthMetrics; typedef struct Ark_Padding Ark_Padding; typedef struct Opt_Padding Opt_Padding; @@ -949,6 +948,8 @@ typedef struct Ark_RichEditorBuilderSpanOptions Ark_RichEditorBuilderSpanOptions typedef struct Opt_RichEditorBuilderSpanOptions Opt_RichEditorBuilderSpanOptions; typedef struct Ark_RichEditorImageSpanOptions Ark_RichEditorImageSpanOptions; typedef struct Opt_RichEditorImageSpanOptions Opt_RichEditorImageSpanOptions; +typedef struct Array_FingerInfo Array_FingerInfo; +typedef struct Opt_Array_FingerInfo Opt_Array_FingerInfo; typedef struct Ark_RichEditorTextSpanOptions Ark_RichEditorTextSpanOptions; typedef struct Opt_RichEditorTextSpanOptions Opt_RichEditorTextSpanOptions; typedef struct Ark_GuideLinePosition Ark_GuideLinePosition; @@ -1029,8 +1030,6 @@ typedef struct Callback_Number_Tuple_Number_Number_Number_Number Callback_Number typedef struct Opt_Callback_Number_Tuple_Number_Number_Number_Number Opt_Callback_Number_Tuple_Number_Number_Number_Number; typedef struct Callback_Number_Tuple_Number_Number Callback_Number_Tuple_Number_Number; typedef struct Opt_Callback_Number_Tuple_Number_Number Opt_Callback_Number_Tuple_Number_Number; -typedef struct Array_FingerInfo Array_FingerInfo; -typedef struct Opt_Array_FingerInfo Opt_Array_FingerInfo; typedef struct Ark_Union_ResourceColor_LinearGradient_common Ark_Union_ResourceColor_LinearGradient_common; typedef struct Opt_Union_ResourceColor_LinearGradient_common Opt_Union_ResourceColor_LinearGradient_common; typedef struct Array_Tuple_Union_ResourceColor_LinearGradient_common_Number Array_Tuple_Union_ResourceColor_LinearGradient_common_Number; @@ -1075,6 +1074,8 @@ typedef struct Ark_FadingEdgeOptions Ark_FadingEdgeOptions; typedef struct Opt_FadingEdgeOptions Opt_FadingEdgeOptions; typedef struct Ark_RectShape Ark_RectShape; typedef struct Opt_RectShape Opt_RectShape; +typedef struct Ark_ConstraintSizeOptions Ark_ConstraintSizeOptions; +typedef struct Opt_ConstraintSizeOptions Opt_ConstraintSizeOptions; typedef struct GestureRecognizerJudgeBeginCallback GestureRecognizerJudgeBeginCallback; typedef struct Opt_GestureRecognizerJudgeBeginCallback Opt_GestureRecognizerJudgeBeginCallback; typedef struct Ark_AccessibilityOptions Ark_AccessibilityOptions; @@ -1227,6 +1228,10 @@ typedef Ark_Materialized Ark_ClickEvent; typedef struct Opt_ClickEvent Opt_ClickEvent; typedef struct NavExtender_OnUpdateStack NavExtender_OnUpdateStack; typedef struct Opt_NavExtender_OnUpdateStack Opt_NavExtender_OnUpdateStack; +typedef struct Ark_SnapshotOptions Ark_SnapshotOptions; +typedef struct Opt_SnapshotOptions Opt_SnapshotOptions; +typedef struct AsyncCallback_image_PixelMap_Void AsyncCallback_image_PixelMap_Void; +typedef struct Opt_AsyncCallback_image_PixelMap_Void Opt_AsyncCallback_image_PixelMap_Void; typedef struct Callback_RangeUpdate Callback_RangeUpdate; typedef struct Opt_Callback_RangeUpdate Opt_Callback_RangeUpdate; typedef struct Ark_DoubleAnimationParam Ark_DoubleAnimationParam; @@ -1827,6 +1832,8 @@ 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 Ark_Materialized Ark_GestureEvent; +typedef struct Opt_GestureEvent Opt_GestureEvent; typedef struct Ark_LocalizedBarrierStyle Ark_LocalizedBarrierStyle; typedef struct Opt_LocalizedBarrierStyle Opt_LocalizedBarrierStyle; typedef struct Array_LocalizedBarrierStyle Array_LocalizedBarrierStyle; @@ -2019,22 +2026,6 @@ typedef struct Ark_Tuple_Number_Number_Number_Number Ark_Tuple_Number_Number_Num typedef struct Opt_Tuple_Number_Number_Number_Number Opt_Tuple_Number_Number_Number_Number; typedef struct Ark_GridLayoutOptions Ark_GridLayoutOptions; typedef struct Opt_GridLayoutOptions Opt_GridLayoutOptions; -typedef struct Ark_RotationGestureHandlerOptions Ark_RotationGestureHandlerOptions; -typedef struct Opt_RotationGestureHandlerOptions Opt_RotationGestureHandlerOptions; -typedef struct Ark_PinchGestureHandlerOptions Ark_PinchGestureHandlerOptions; -typedef struct Opt_PinchGestureHandlerOptions Opt_PinchGestureHandlerOptions; -typedef struct Ark_SwipeGestureHandlerOptions Ark_SwipeGestureHandlerOptions; -typedef struct Opt_SwipeGestureHandlerOptions Opt_SwipeGestureHandlerOptions; -typedef struct Ark_PanGestureHandlerOptions Ark_PanGestureHandlerOptions; -typedef struct Opt_PanGestureHandlerOptions Opt_PanGestureHandlerOptions; -typedef struct Ark_LongPressGestureHandlerOptions Ark_LongPressGestureHandlerOptions; -typedef struct Opt_LongPressGestureHandlerOptions Opt_LongPressGestureHandlerOptions; -typedef struct Ark_TapGestureHandlerOptions Ark_TapGestureHandlerOptions; -typedef struct Opt_TapGestureHandlerOptions Opt_TapGestureHandlerOptions; -typedef Ark_Materialized Ark_GestureEvent; -typedef struct Opt_GestureEvent Opt_GestureEvent; -typedef struct Array_SourceTool Array_SourceTool; -typedef struct Opt_Array_SourceTool Opt_Array_SourceTool; typedef struct Ark_Literal_Number_distance_fingers_PanDirection_direction Ark_Literal_Number_distance_fingers_PanDirection_direction; typedef struct Opt_Literal_Number_distance_fingers_PanDirection_direction Opt_Literal_Number_distance_fingers_PanDirection_direction; typedef struct Ark_GaugeIndicatorOptions Ark_GaugeIndicatorOptions; @@ -2269,8 +2260,6 @@ typedef struct Array_TouchTestInfo Array_TouchTestInfo; typedef struct Opt_Array_TouchTestInfo Opt_Array_TouchTestInfo; typedef struct Callback_Array_TouchTestInfo_TouchResult Callback_Array_TouchTestInfo_TouchResult; typedef struct Opt_Callback_Array_TouchTestInfo_TouchResult Opt_Callback_Array_TouchTestInfo_TouchResult; -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; @@ -3683,16 +3672,6 @@ typedef struct Opt_GridItemAlignment { Ark_Tag tag; Ark_GridItemAlignment value; } Opt_GridItemAlignment; -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_PanDirection { ARK_PAN_DIRECTION_NONE = 0, ARK_PAN_DIRECTION_HORIZONTAL = 1, @@ -4181,6 +4160,26 @@ typedef struct Opt_IndexerAlign { Ark_Tag tag; Ark_IndexerAlign value; } Opt_IndexerAlign; +typedef enum Ark_PerfMonitorSourceType { + ARK_PERF_MONITOR_SOURCE_TYPE_PERF_TOUCH_EVENT = 0, + ARK_PERF_MONITOR_SOURCE_TYPE_PERF_MOUSE_EVENT = 1, + ARK_PERF_MONITOR_SOURCE_TYPE_PERF_TOUCHPAD_EVENT = 2, + ARK_PERF_MONITOR_SOURCE_TYPE_PERF_JOYSTICK_EVENT = 3, + ARK_PERF_MONITOR_SOURCE_TYPE_PERF_KEY_EVENT = 4, +} Ark_PerfMonitorSourceType; +typedef struct Opt_PerfMonitorSourceType { + Ark_Tag tag; + Ark_PerfMonitorSourceType value; +} Opt_PerfMonitorSourceType; +typedef enum Ark_PerfMonitorActionType { + ARK_PERF_MONITOR_ACTION_TYPE_LAST_DOWN = 0, + ARK_PERF_MONITOR_ACTION_TYPE_LAST_UP = 1, + ARK_PERF_MONITOR_ACTION_TYPE_FIRST_MOVE = 2, +} Ark_PerfMonitorActionType; +typedef struct Opt_PerfMonitorActionType { + Ark_Tag tag; + Ark_PerfMonitorActionType value; +} Opt_PerfMonitorActionType; typedef enum Ark_SideBarPosition { ARK_SIDE_BAR_POSITION_START = 0, ARK_SIDE_BAR_POSITION_END = 1, @@ -4865,6 +4864,16 @@ 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, @@ -5224,10 +5233,6 @@ typedef struct Opt_PixelMap { Ark_Tag tag; Ark_PixelMap value; } Opt_PixelMap; -typedef struct Ark_LengthMetrics { - Ark_LengthUnit unit; - Ark_Number value; -} Ark_LengthMetrics; typedef struct Opt_LengthMetrics { Ark_Tag tag; Ark_LengthMetrics value; @@ -8384,6 +8389,14 @@ typedef struct Opt_RichEditorImageSpanOptions { Ark_Tag tag; Ark_RichEditorImageSpanOptions value; } Opt_RichEditorImageSpanOptions; +typedef struct Array_FingerInfo { + Ark_FingerInfo* array; + Ark_Int32 length; +} Array_FingerInfo; +typedef struct Opt_Array_FingerInfo { + Ark_Tag tag; + Array_FingerInfo value; +} Opt_Array_FingerInfo; typedef struct Ark_RichEditorTextSpanOptions { Opt_Number offset; Opt_RichEditorTextStyle style; @@ -8746,14 +8759,6 @@ typedef struct Opt_Callback_Number_Tuple_Number_Number { Ark_Tag tag; Callback_Number_Tuple_Number_Number value; } Opt_Callback_Number_Tuple_Number_Number; -typedef struct Array_FingerInfo { - Ark_FingerInfo* array; - Ark_Int32 length; -} Array_FingerInfo; -typedef struct Opt_Array_FingerInfo { - Ark_Tag tag; - Array_FingerInfo value; -} Opt_Array_FingerInfo; typedef struct Ark_Union_ResourceColor_LinearGradient_common { Ark_Int32 selector; union { @@ -8980,6 +8985,16 @@ typedef struct Opt_RectShape { Ark_Tag tag; Ark_RectShape value; } Opt_RectShape; +typedef struct Ark_ConstraintSizeOptions { + Opt_Length minWidth; + Opt_Length maxWidth; + Opt_Length minHeight; + Opt_Length maxHeight; +} Ark_ConstraintSizeOptions; +typedef struct Opt_ConstraintSizeOptions { + Ark_Tag tag; + Ark_ConstraintSizeOptions value; +} Opt_ConstraintSizeOptions; typedef struct GestureRecognizerJudgeBeginCallback { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_BaseGestureEvent event, const Ark_GestureRecognizer current, const Array_GestureRecognizer recognizers, const Callback_GestureJudgeResult_Void continuation); @@ -9845,6 +9860,23 @@ typedef struct Opt_NavExtender_OnUpdateStack { Ark_Tag tag; NavExtender_OnUpdateStack value; } Opt_NavExtender_OnUpdateStack; +typedef struct Ark_SnapshotOptions { + Opt_Number scale; + Opt_Boolean waitUntilRenderFinished; +} Ark_SnapshotOptions; +typedef struct Opt_SnapshotOptions { + Ark_Tag tag; + Ark_SnapshotOptions value; +} Opt_SnapshotOptions; +typedef struct AsyncCallback_image_PixelMap_Void { + Ark_CallbackResource resource; + void (*call)(const Ark_Int32 resourceId, const Ark_PixelMap result); + void (*callSync)(Ark_VMContext context, const Ark_Int32 resourceId, const Ark_PixelMap result); +} AsyncCallback_image_PixelMap_Void; +typedef struct Opt_AsyncCallback_image_PixelMap_Void { + Ark_Tag tag; + AsyncCallback_image_PixelMap_Void value; +} Opt_AsyncCallback_image_PixelMap_Void; typedef struct Callback_RangeUpdate { Ark_CallbackResource resource; void (*call)(const Ark_Int32 resourceId, const Ark_Int32 index, const Ark_NativePointer mark, const Ark_Int32 end); @@ -12481,6 +12513,10 @@ typedef struct Opt_Union_PixelMap_ResourceStr { Ark_Tag tag; Ark_Union_PixelMap_ResourceStr value; } Opt_Union_PixelMap_ResourceStr; +typedef struct Opt_GestureEvent { + Ark_Tag tag; + Ark_GestureEvent value; +} Opt_GestureEvent; typedef struct Ark_LocalizedBarrierStyle { Ark_String id; Ark_LocalizedBarrierDirection localizedDirection; @@ -13394,69 +13430,6 @@ typedef struct Opt_GridLayoutOptions { Ark_Tag tag; Ark_GridLayoutOptions value; } Opt_GridLayoutOptions; -typedef struct Ark_RotationGestureHandlerOptions { - Opt_Number fingers; - Opt_Number angle; -} Ark_RotationGestureHandlerOptions; -typedef struct Opt_RotationGestureHandlerOptions { - Ark_Tag tag; - Ark_RotationGestureHandlerOptions value; -} Opt_RotationGestureHandlerOptions; -typedef struct Ark_PinchGestureHandlerOptions { - Opt_Number fingers; - Opt_Number distance; -} Ark_PinchGestureHandlerOptions; -typedef struct Opt_PinchGestureHandlerOptions { - Ark_Tag tag; - Ark_PinchGestureHandlerOptions value; -} Opt_PinchGestureHandlerOptions; -typedef struct Ark_SwipeGestureHandlerOptions { - Opt_Number fingers; - Opt_SwipeDirection direction; - Opt_Number speed; -} Ark_SwipeGestureHandlerOptions; -typedef struct Opt_SwipeGestureHandlerOptions { - Ark_Tag tag; - Ark_SwipeGestureHandlerOptions value; -} Opt_SwipeGestureHandlerOptions; -typedef struct Ark_PanGestureHandlerOptions { - Opt_Number fingers; - Opt_PanDirection direction; - Opt_Number distance; -} Ark_PanGestureHandlerOptions; -typedef struct Opt_PanGestureHandlerOptions { - Ark_Tag tag; - Ark_PanGestureHandlerOptions value; -} Opt_PanGestureHandlerOptions; -typedef struct Ark_LongPressGestureHandlerOptions { - Opt_Number fingers; - Opt_Boolean repeat; - Opt_Number duration; -} Ark_LongPressGestureHandlerOptions; -typedef struct Opt_LongPressGestureHandlerOptions { - Ark_Tag tag; - Ark_LongPressGestureHandlerOptions value; -} Opt_LongPressGestureHandlerOptions; -typedef struct Ark_TapGestureHandlerOptions { - Opt_Number count; - Opt_Number fingers; -} Ark_TapGestureHandlerOptions; -typedef struct Opt_TapGestureHandlerOptions { - Ark_Tag tag; - Ark_TapGestureHandlerOptions value; -} Opt_TapGestureHandlerOptions; -typedef struct Opt_GestureEvent { - Ark_Tag tag; - Ark_GestureEvent value; -} Opt_GestureEvent; -typedef struct Array_SourceTool { - Ark_SourceTool* array; - Ark_Int32 length; -} Array_SourceTool; -typedef struct Opt_Array_SourceTool { - Ark_Tag tag; - Array_SourceTool value; -} Opt_Array_SourceTool; typedef struct Ark_Literal_Number_distance_fingers_PanDirection_direction { Opt_Number fingers; Opt_PanDirection direction; @@ -14573,16 +14546,6 @@ typedef struct Opt_Callback_Array_TouchTestInfo_TouchResult { Ark_Tag tag; Callback_Array_TouchTestInfo_TouchResult value; } Opt_Callback_Array_TouchTestInfo_TouchResult; -typedef struct Ark_ConstraintSizeOptions { - Opt_Length minWidth; - Opt_Length maxWidth; - Opt_Length minHeight; - Opt_Length maxHeight; -} Ark_ConstraintSizeOptions; -typedef struct Opt_ConstraintSizeOptions { - Ark_Tag tag; - Ark_ConstraintSizeOptions value; -} Opt_ConstraintSizeOptions; typedef struct Ark_Union_Array_Rectangle_Rectangle { Ark_Int32 selector; union { @@ -18601,6 +18564,21 @@ typedef struct GENERATED_ArkUIDrawingCanvasAccessor { const Ark_Number* bottom); } GENERATED_ArkUIDrawingCanvasAccessor; +typedef struct LengthMetricsPeer LengthMetricsPeer; +typedef struct GENERATED_ArkUILengthMetricsAccessor { + void (*destroyPeer)(LengthMetricsPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_NativePointer (*px)(const Ark_Number* value); + Ark_NativePointer (*resource)(const Ark_Resource* value); + Ark_NativePointer (*getUnit)(LengthMetricsPeer* peer); + void (*setUnit)(LengthMetricsPeer* peer, + Ark_LengthUnit unit); + Ark_Int32 (*getValue)(LengthMetricsPeer* peer); + void (*setValue)(LengthMetricsPeer* peer, + const Ark_Number* value); +} GENERATED_ArkUILengthMetricsAccessor; + typedef struct WebviewControllerPeer WebviewControllerPeer; typedef struct GENERATED_ArkUIWebviewControllerAccessor { void (*destroyPeer)(WebviewControllerPeer* peer); @@ -18612,6 +18590,30 @@ typedef struct GENERATED_ArkUIWebviewControllerAccessor { const Opt_Array_WebHeader* headers); } GENERATED_ArkUIWebviewControllerAccessor; +typedef struct GlobalScope_ohos_arkui_componentSnapshotPeer GlobalScope_ohos_arkui_componentSnapshotPeer; +typedef struct GENERATED_ArkUIGlobalScope_ohos_arkui_componentSnapshotAccessor { + void (*destroyPeer)(GlobalScope_ohos_arkui_componentSnapshotPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + void (*get)(const Ark_String* id, + const AsyncCallback_image_PixelMap_Void* callback, + const Opt_SnapshotOptions* options); +} GENERATED_ArkUIGlobalScope_ohos_arkui_componentSnapshotAccessor; + +typedef struct GlobalScope_ohos_arkui_performanceMonitorPeer GlobalScope_ohos_arkui_performanceMonitorPeer; +typedef struct GENERATED_ArkUIGlobalScope_ohos_arkui_performanceMonitorAccessor { + void (*destroyPeer)(GlobalScope_ohos_arkui_performanceMonitorPeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + void (*begin)(const Ark_String* scene, + Ark_PerfMonitorActionType startInputType, + const Opt_String* note); + void (*end)(const Ark_String* scene); + void (*recordInputEventTime)(Ark_PerfMonitorActionType type, + Ark_PerfMonitorSourceType sourceType, + const Ark_Number* time); +} GENERATED_ArkUIGlobalScope_ohos_arkui_performanceMonitorAccessor; + typedef struct FrameNodePeer FrameNodePeer; typedef struct GENERATED_ArkUIFrameNodeAccessor { void (*destroyPeer)(FrameNodePeer* peer); @@ -19343,6 +19345,18 @@ typedef struct GENERATED_ArkUIProgressMaskAccessor { Ark_Boolean value); } GENERATED_ArkUIProgressMaskAccessor; +typedef struct MeasurablePeer MeasurablePeer; +typedef struct GENERATED_ArkUIMeasurableAccessor { + void (*destroyPeer)(MeasurablePeer* peer); + Ark_NativePointer (*ctor)(); + Ark_NativePointer (*getFinalizer)(); + Ark_NativePointer (*measure)(MeasurablePeer* peer, + const Ark_ConstraintSizeOptions* constraint); + Ark_NativePointer (*getMargin)(MeasurablePeer* peer); + Ark_NativePointer (*getPadding)(MeasurablePeer* peer); + Ark_NativePointer (*getBorderWidth)(MeasurablePeer* peer); +} GENERATED_ArkUIMeasurableAccessor; + typedef struct ViewPeer ViewPeer; typedef struct GENERATED_ArkUIViewAccessor { void (*destroyPeer)(ViewPeer* peer); @@ -19621,93 +19635,6 @@ typedef struct GENERATED_ArkUIPanGestureOptionsAccessor { Ark_NativePointer (*getDirection)(PanGestureOptionsPeer* peer); } GENERATED_ArkUIPanGestureOptionsAccessor; -typedef struct GestureHandlerPeer GestureHandlerPeer; -typedef struct GENERATED_ArkUIGestureHandlerAccessor { - void (*destroyPeer)(GestureHandlerPeer* peer); - Ark_NativePointer (*ctor)(); - Ark_NativePointer (*getFinalizer)(); - void (*tag)(GestureHandlerPeer* peer, - const Ark_String* tag); - void (*allowedTypes)(GestureHandlerPeer* peer, - const Array_SourceTool* types); -} GENERATED_ArkUIGestureHandlerAccessor; - -typedef struct TapGestureHandlerPeer TapGestureHandlerPeer; -typedef struct GENERATED_ArkUITapGestureHandlerAccessor { - void (*destroyPeer)(TapGestureHandlerPeer* peer); - Ark_NativePointer (*ctor)(const Opt_TapGestureHandlerOptions* options); - Ark_NativePointer (*getFinalizer)(); - Ark_NativePointer (*onAction)(TapGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event); -} GENERATED_ArkUITapGestureHandlerAccessor; - -typedef struct LongPressGestureHandlerPeer LongPressGestureHandlerPeer; -typedef struct GENERATED_ArkUILongPressGestureHandlerAccessor { - void (*destroyPeer)(LongPressGestureHandlerPeer* peer); - Ark_NativePointer (*ctor)(const Opt_LongPressGestureHandlerOptions* options); - Ark_NativePointer (*getFinalizer)(); - Ark_NativePointer (*onAction)(LongPressGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event); - Ark_NativePointer (*onActionEnd)(LongPressGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event); - Ark_NativePointer (*onActionCancel)(LongPressGestureHandlerPeer* peer, - const Callback_Void* event); -} GENERATED_ArkUILongPressGestureHandlerAccessor; - -typedef struct PanGestureHandlerPeer PanGestureHandlerPeer; -typedef struct GENERATED_ArkUIPanGestureHandlerAccessor { - void (*destroyPeer)(PanGestureHandlerPeer* peer); - Ark_NativePointer (*ctor)(const Opt_PanGestureHandlerOptions* options); - Ark_NativePointer (*getFinalizer)(); - Ark_NativePointer (*onActionStart)(PanGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event); - Ark_NativePointer (*onActionUpdate)(PanGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event); - Ark_NativePointer (*onActionEnd)(PanGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event); - Ark_NativePointer (*onActionCancel)(PanGestureHandlerPeer* peer, - const Callback_Void* event); -} GENERATED_ArkUIPanGestureHandlerAccessor; - -typedef struct SwipeGestureHandlerPeer SwipeGestureHandlerPeer; -typedef struct GENERATED_ArkUISwipeGestureHandlerAccessor { - void (*destroyPeer)(SwipeGestureHandlerPeer* peer); - Ark_NativePointer (*ctor)(const Opt_SwipeGestureHandlerOptions* options); - Ark_NativePointer (*getFinalizer)(); - Ark_NativePointer (*onAction)(SwipeGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event); -} GENERATED_ArkUISwipeGestureHandlerAccessor; - -typedef struct PinchGestureHandlerPeer PinchGestureHandlerPeer; -typedef struct GENERATED_ArkUIPinchGestureHandlerAccessor { - void (*destroyPeer)(PinchGestureHandlerPeer* peer); - Ark_NativePointer (*ctor)(const Opt_PinchGestureHandlerOptions* options); - Ark_NativePointer (*getFinalizer)(); - Ark_NativePointer (*onActionStart)(PinchGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event); - Ark_NativePointer (*onActionUpdate)(PinchGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event); - Ark_NativePointer (*onActionEnd)(PinchGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event); - Ark_NativePointer (*onActionCancel)(PinchGestureHandlerPeer* peer, - const Callback_Void* event); -} GENERATED_ArkUIPinchGestureHandlerAccessor; - -typedef struct RotationGestureHandlerPeer RotationGestureHandlerPeer; -typedef struct GENERATED_ArkUIRotationGestureHandlerAccessor { - void (*destroyPeer)(RotationGestureHandlerPeer* peer); - Ark_NativePointer (*ctor)(const Opt_RotationGestureHandlerOptions* options); - Ark_NativePointer (*getFinalizer)(); - Ark_NativePointer (*onActionStart)(RotationGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event); - Ark_NativePointer (*onActionUpdate)(RotationGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event); - Ark_NativePointer (*onActionEnd)(RotationGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event); - Ark_NativePointer (*onActionCancel)(RotationGestureHandlerPeer* peer, - const Callback_Void* event); -} GENERATED_ArkUIRotationGestureHandlerAccessor; - typedef struct ScrollableTargetInfoPeer ScrollableTargetInfoPeer; typedef struct GENERATED_ArkUIScrollableTargetInfoAccessor { void (*destroyPeer)(ScrollableTargetInfoPeer* peer); @@ -21814,7 +21741,10 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIUnifiedDataAccessor* (*getUnifiedDataAccessor)(); const GENERATED_ArkUILazyForEachOpsAccessor* (*getLazyForEachOpsAccessor)(); const GENERATED_ArkUIDrawingCanvasAccessor* (*getDrawingCanvasAccessor)(); + const GENERATED_ArkUILengthMetricsAccessor* (*getLengthMetricsAccessor)(); const GENERATED_ArkUIWebviewControllerAccessor* (*getWebviewControllerAccessor)(); + const GENERATED_ArkUIGlobalScope_ohos_arkui_componentSnapshotAccessor* (*getGlobalScope_ohos_arkui_componentSnapshotAccessor)(); + const GENERATED_ArkUIGlobalScope_ohos_arkui_performanceMonitorAccessor* (*getGlobalScope_ohos_arkui_performanceMonitorAccessor)(); const GENERATED_ArkUIFrameNodeAccessor* (*getFrameNodeAccessor)(); const GENERATED_ArkUIPixelMapAccessor* (*getPixelMapAccessor)(); const GENERATED_ArkUINavExtenderAccessor* (*getNavExtenderAccessor)(); @@ -21844,6 +21774,7 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUIDragEventAccessor* (*getDragEventAccessor)(); const GENERATED_ArkUIKeyEventAccessor* (*getKeyEventAccessor)(); const GENERATED_ArkUIProgressMaskAccessor* (*getProgressMaskAccessor)(); + const GENERATED_ArkUIMeasurableAccessor* (*getMeasurableAccessor)(); const GENERATED_ArkUIViewAccessor* (*getViewAccessor)(); const GENERATED_ArkUITextContentControllerBaseAccessor* (*getTextContentControllerBaseAccessor)(); const GENERATED_ArkUIDynamicNodeAccessor* (*getDynamicNodeAccessor)(); @@ -21863,13 +21794,6 @@ typedef struct GENERATED_ArkUIAccessors { const GENERATED_ArkUISwipeGestureEventAccessor* (*getSwipeGestureEventAccessor)(); const GENERATED_ArkUIGestureEventAccessor* (*getGestureEventAccessor)(); const GENERATED_ArkUIPanGestureOptionsAccessor* (*getPanGestureOptionsAccessor)(); - const GENERATED_ArkUIGestureHandlerAccessor* (*getGestureHandlerAccessor)(); - const GENERATED_ArkUITapGestureHandlerAccessor* (*getTapGestureHandlerAccessor)(); - const GENERATED_ArkUILongPressGestureHandlerAccessor* (*getLongPressGestureHandlerAccessor)(); - const GENERATED_ArkUIPanGestureHandlerAccessor* (*getPanGestureHandlerAccessor)(); - const GENERATED_ArkUISwipeGestureHandlerAccessor* (*getSwipeGestureHandlerAccessor)(); - const GENERATED_ArkUIPinchGestureHandlerAccessor* (*getPinchGestureHandlerAccessor)(); - const GENERATED_ArkUIRotationGestureHandlerAccessor* (*getRotationGestureHandlerAccessor)(); const GENERATED_ArkUIScrollableTargetInfoAccessor* (*getScrollableTargetInfoAccessor)(); const GENERATED_ArkUIEventTargetInfoAccessor* (*getEventTargetInfoAccessor)(); const GENERATED_ArkUIGestureRecognizerAccessor* (*getGestureRecognizerAccessor)(); diff --git a/arkoala/framework/native/src/generated/bridge_generated.cc b/arkoala/framework/native/src/generated/bridge_generated.cc index faae9d8ab..f7681234e 100644 --- a/arkoala/framework/native/src/generated/bridge_generated.cc +++ b/arkoala/framework/native/src/generated/bridge_generated.cc @@ -1632,7 +1632,7 @@ void impl_CommonMethod_safeAreaPadding(Ark_NativePointer thisPtr, uint8_t* thisA } else if (value_value_buf_selector == 1) { value_value_buf.selector = 1; - value_value_buf.value1 = thisDeserializer.readLengthMetrics(); + value_value_buf.value1 = static_cast(thisDeserializer.readLengthMetrics()); } else if (value_value_buf_selector == 2) { value_value_buf.selector = 2; @@ -11881,7 +11881,7 @@ KOALA_INTEROP_V3(BaseSpan_textBackgroundStyle, Ark_NativePointer, uint8_t*, int3 void impl_BaseSpan_baselineOffset(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_LengthMetrics value_value = thisDeserializer.readLengthMetrics();; + Ark_LengthMetrics value_value = static_cast(thisDeserializer.readLengthMetrics());; GetNodeModifiers()->getBaseSpanModifier()->setBaselineOffset(self, (const Ark_LengthMetrics*)&value_value); } KOALA_INTEROP_V3(BaseSpan_baselineOffset, Ark_NativePointer, uint8_t*, int32_t) @@ -13430,7 +13430,7 @@ KOALA_INTEROP_V3(TextAttribute_fontWeight1, Ark_NativePointer, uint8_t*, int32_t void impl_TextAttribute_lineSpacing(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_LengthMetrics value_value = thisDeserializer.readLengthMetrics();; + Ark_LengthMetrics value_value = static_cast(thisDeserializer.readLengthMetrics());; GetNodeModifiers()->getTextModifier()->setLineSpacing(self, (const Ark_LengthMetrics*)&value_value); } KOALA_INTEROP_V3(TextAttribute_lineSpacing, Ark_NativePointer, uint8_t*, int32_t) @@ -14172,7 +14172,7 @@ KOALA_INTEROP_V3(TextAreaAttribute_letterSpacing, Ark_NativePointer, uint8_t*, i void impl_TextAreaAttribute_lineSpacing(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { Ark_NodeHandle self = reinterpret_cast(thisPtr); Deserializer thisDeserializer(thisArray, thisLength); - Ark_LengthMetrics value_value = thisDeserializer.readLengthMetrics();; + Ark_LengthMetrics value_value = static_cast(thisDeserializer.readLengthMetrics());; GetNodeModifiers()->getTextAreaModifier()->setLineSpacing(self, (const Ark_LengthMetrics*)&value_value); } KOALA_INTEROP_V3(TextAreaAttribute_lineSpacing, Ark_NativePointer, uint8_t*, int32_t) @@ -17192,6 +17192,44 @@ void impl_DrawingCanvas_drawRect(Ark_NativePointer thisPtr, KInteropNumber left, 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) +Ark_NativePointer impl_LengthMetrics_ctor() { + return GetAccessors()->getLengthMetricsAccessor()->ctor(); +} +KOALA_INTEROP_0(LengthMetrics_ctor, Ark_NativePointer) +Ark_NativePointer impl_LengthMetrics_getFinalizer() { + return GetAccessors()->getLengthMetricsAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(LengthMetrics_getFinalizer, Ark_NativePointer) +Ark_NativePointer impl_LengthMetrics_px(KInteropNumber value) { + return GetAccessors()->getLengthMetricsAccessor()->px((const Ark_Number*) (&value)); +} +KOALA_INTEROP_1(LengthMetrics_px, Ark_NativePointer, KInteropNumber) +Ark_NativePointer impl_LengthMetrics_resource(uint8_t* thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + Ark_Resource value_value = thisDeserializer.readResource();; + return GetAccessors()->getLengthMetricsAccessor()->resource((const Ark_Resource*)&value_value); +} +KOALA_INTEROP_2(LengthMetrics_resource, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_LengthMetrics_getUnit(Ark_NativePointer thisPtr) { + LengthMetricsPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getLengthMetricsAccessor()->getUnit(self); +} +KOALA_INTEROP_1(LengthMetrics_getUnit, Ark_NativePointer, Ark_NativePointer) +void impl_LengthMetrics_setUnit(Ark_NativePointer thisPtr, Ark_Int32 unit) { + LengthMetricsPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getLengthMetricsAccessor()->setUnit(self, static_cast(unit)); +} +KOALA_INTEROP_V2(LengthMetrics_setUnit, Ark_NativePointer, Ark_Int32) +Ark_Int32 impl_LengthMetrics_getValue(Ark_NativePointer thisPtr) { + LengthMetricsPeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getLengthMetricsAccessor()->getValue(self); +} +KOALA_INTEROP_1(LengthMetrics_getValue, Ark_Int32, Ark_NativePointer) +void impl_LengthMetrics_setValue(Ark_NativePointer thisPtr, KInteropNumber value) { + LengthMetricsPeer* self = reinterpret_cast(thisPtr); + GetAccessors()->getLengthMetricsAccessor()->setValue(self, (const Ark_Number*) (&value)); +} +KOALA_INTEROP_V2(LengthMetrics_setValue, Ark_NativePointer, KInteropNumber) Ark_NativePointer impl_WebviewController_ctor() { return GetAccessors()->getWebviewControllerAccessor()->ctor(); } @@ -17240,6 +17278,57 @@ void impl_WebviewController_loadUrl(Ark_NativePointer thisPtr, uint8_t* thisArra GetAccessors()->getWebviewControllerAccessor()->loadUrl(self, (const Ark_Union_String_Resource*)&url_value, (const Opt_Array_WebHeader*)&headers_value); } KOALA_INTEROP_V3(WebviewController_loadUrl, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_GlobalScope_ohos_arkui_componentSnapshot_ctor() { + return GetAccessors()->getGlobalScope_ohos_arkui_componentSnapshotAccessor()->ctor(); +} +KOALA_INTEROP_0(GlobalScope_ohos_arkui_componentSnapshot_ctor, Ark_NativePointer) +Ark_NativePointer impl_GlobalScope_ohos_arkui_componentSnapshot_getFinalizer() { + return GetAccessors()->getGlobalScope_ohos_arkui_componentSnapshotAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(GlobalScope_ohos_arkui_componentSnapshot_getFinalizer, Ark_NativePointer) +void impl_GlobalScope_ohos_arkui_componentSnapshot_get(const KStringPtr& id, uint8_t* thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + AsyncCallback_image_PixelMap_Void callback_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_AsyncCallback_image_PixelMap_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_AsyncCallback_image_PixelMap_Void))))};; + const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_SnapshotOptions 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.readSnapshotOptions(); + } + Opt_SnapshotOptions options_value = options_value_buf;; + GetAccessors()->getGlobalScope_ohos_arkui_componentSnapshotAccessor()->get((const Ark_String*) (&id), (const AsyncCallback_image_PixelMap_Void*)&callback_value, (const Opt_SnapshotOptions*)&options_value); +} +KOALA_INTEROP_V3(GlobalScope_ohos_arkui_componentSnapshot_get, KStringPtr, uint8_t*, int32_t) +Ark_NativePointer impl_GlobalScope_ohos_arkui_performanceMonitor_ctor() { + return GetAccessors()->getGlobalScope_ohos_arkui_performanceMonitorAccessor()->ctor(); +} +KOALA_INTEROP_0(GlobalScope_ohos_arkui_performanceMonitor_ctor, Ark_NativePointer) +Ark_NativePointer impl_GlobalScope_ohos_arkui_performanceMonitor_getFinalizer() { + return GetAccessors()->getGlobalScope_ohos_arkui_performanceMonitorAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(GlobalScope_ohos_arkui_performanceMonitor_getFinalizer, Ark_NativePointer) +void impl_GlobalScope_ohos_arkui_performanceMonitor_begin(const KStringPtr& scene, Ark_Int32 startInputType, uint8_t* thisArray, int32_t thisLength) { + Deserializer thisDeserializer(thisArray, thisLength); + const auto note_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); + Opt_String note_value_buf = {}; + note_value_buf.tag = note_value_buf_runtimeType == INTEROP_RUNTIME_UNDEFINED ? INTEROP_TAG_UNDEFINED : INTEROP_TAG_OBJECT; + if ((INTEROP_RUNTIME_UNDEFINED) != (note_value_buf_runtimeType)) + { + note_value_buf.value = static_cast(thisDeserializer.readString()); + } + Opt_String note_value = note_value_buf;; + GetAccessors()->getGlobalScope_ohos_arkui_performanceMonitorAccessor()->begin((const Ark_String*) (&scene), static_cast(startInputType), (const Opt_String*)¬e_value); +} +KOALA_INTEROP_V4(GlobalScope_ohos_arkui_performanceMonitor_begin, KStringPtr, Ark_Int32, uint8_t*, int32_t) +void impl_GlobalScope_ohos_arkui_performanceMonitor_end(const KStringPtr& scene) { + GetAccessors()->getGlobalScope_ohos_arkui_performanceMonitorAccessor()->end((const Ark_String*) (&scene)); +} +KOALA_INTEROP_V1(GlobalScope_ohos_arkui_performanceMonitor_end, KStringPtr) +void impl_GlobalScope_ohos_arkui_performanceMonitor_recordInputEventTime(Ark_Int32 type, Ark_Int32 sourceType, KInteropNumber time) { + GetAccessors()->getGlobalScope_ohos_arkui_performanceMonitorAccessor()->recordInputEventTime(static_cast(type), static_cast(sourceType), (const Ark_Number*) (&time)); +} +KOALA_INTEROP_V3(GlobalScope_ohos_arkui_performanceMonitor_recordInputEventTime, Ark_Int32, Ark_Int32, KInteropNumber) Ark_NativePointer impl_FrameNode_ctor(uint8_t* thisArray, int32_t thisLength) { Deserializer thisDeserializer(thisArray, thisLength); Ark_UIContext uiContext_value = thisDeserializer.readUIContext();; @@ -19425,6 +19514,36 @@ void impl_ProgressMask_enableBreathingAnimation(Ark_NativePointer thisPtr, Ark_B GetAccessors()->getProgressMaskAccessor()->enableBreathingAnimation(self, value); } KOALA_INTEROP_V2(ProgressMask_enableBreathingAnimation, Ark_NativePointer, Ark_Boolean) +Ark_NativePointer impl_Measurable_ctor() { + return GetAccessors()->getMeasurableAccessor()->ctor(); +} +KOALA_INTEROP_0(Measurable_ctor, Ark_NativePointer) +Ark_NativePointer impl_Measurable_getFinalizer() { + return GetAccessors()->getMeasurableAccessor()->getFinalizer(); +} +KOALA_INTEROP_0(Measurable_getFinalizer, Ark_NativePointer) +Ark_NativePointer impl_Measurable_measure(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { + MeasurablePeer* self = reinterpret_cast(thisPtr); + Deserializer thisDeserializer(thisArray, thisLength); + Ark_ConstraintSizeOptions constraint_value = thisDeserializer.readConstraintSizeOptions();; + return GetAccessors()->getMeasurableAccessor()->measure(self, (const Ark_ConstraintSizeOptions*)&constraint_value); +} +KOALA_INTEROP_3(Measurable_measure, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) +Ark_NativePointer impl_Measurable_getMargin(Ark_NativePointer thisPtr) { + MeasurablePeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getMeasurableAccessor()->getMargin(self); +} +KOALA_INTEROP_1(Measurable_getMargin, Ark_NativePointer, Ark_NativePointer) +Ark_NativePointer impl_Measurable_getPadding(Ark_NativePointer thisPtr) { + MeasurablePeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getMeasurableAccessor()->getPadding(self); +} +KOALA_INTEROP_1(Measurable_getPadding, Ark_NativePointer, Ark_NativePointer) +Ark_NativePointer impl_Measurable_getBorderWidth(Ark_NativePointer thisPtr) { + MeasurablePeer* self = reinterpret_cast(thisPtr); + return GetAccessors()->getMeasurableAccessor()->getBorderWidth(self); +} +KOALA_INTEROP_1(Measurable_getBorderWidth, Ark_NativePointer, Ark_NativePointer) Ark_NativePointer impl_View_ctor() { return GetAccessors()->getViewAccessor()->ctor(); } @@ -20247,254 +20366,6 @@ Ark_NativePointer impl_PanGestureOptions_getDirection(Ark_NativePointer thisPtr) return GetAccessors()->getPanGestureOptionsAccessor()->getDirection(self); } KOALA_INTEROP_1(PanGestureOptions_getDirection, Ark_NativePointer, Ark_NativePointer) -Ark_NativePointer impl_GestureHandler_ctor() { - return GetAccessors()->getGestureHandlerAccessor()->ctor(); -} -KOALA_INTEROP_0(GestureHandler_ctor, Ark_NativePointer) -Ark_NativePointer impl_GestureHandler_getFinalizer() { - return GetAccessors()->getGestureHandlerAccessor()->getFinalizer(); -} -KOALA_INTEROP_0(GestureHandler_getFinalizer, Ark_NativePointer) -void impl_GestureHandler_tag(Ark_NativePointer thisPtr, const KStringPtr& tag) { - GestureHandlerPeer* self = reinterpret_cast(thisPtr); - GetAccessors()->getGestureHandlerAccessor()->tag(self, (const Ark_String*) (&tag)); -} -KOALA_INTEROP_V2(GestureHandler_tag, Ark_NativePointer, KStringPtr) -void impl_GestureHandler_allowedTypes(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - GestureHandlerPeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - const Ark_Int32 types_value_buf_length = thisDeserializer.readInt32(); - Array_SourceTool types_value_buf = {}; - thisDeserializer.resizeArray::type, - std::decay::type>(&types_value_buf, types_value_buf_length); - for (int types_value_buf_i = 0; types_value_buf_i < types_value_buf_length; types_value_buf_i++) { - types_value_buf.array[types_value_buf_i] = static_cast(thisDeserializer.readInt32()); - } - Array_SourceTool types_value = types_value_buf;; - GetAccessors()->getGestureHandlerAccessor()->allowedTypes(self, (const Array_SourceTool*)&types_value); -} -KOALA_INTEROP_V3(GestureHandler_allowedTypes, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_TapGestureHandler_ctor(uint8_t* thisArray, int32_t thisLength) { - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_TapGestureHandlerOptions 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.readTapGestureHandlerOptions(); - } - Opt_TapGestureHandlerOptions options_value = options_value_buf;; - return GetAccessors()->getTapGestureHandlerAccessor()->ctor((const Opt_TapGestureHandlerOptions*)&options_value); -} -KOALA_INTEROP_2(TapGestureHandler_ctor, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_TapGestureHandler_getFinalizer() { - return GetAccessors()->getTapGestureHandlerAccessor()->getFinalizer(); -} -KOALA_INTEROP_0(TapGestureHandler_getFinalizer, Ark_NativePointer) -Ark_NativePointer impl_TapGestureHandler_onAction(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - TapGestureHandlerPeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; - return GetAccessors()->getTapGestureHandlerAccessor()->onAction(self, (const Callback_GestureEvent_Void*)&event_value); -} -KOALA_INTEROP_3(TapGestureHandler_onAction, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_LongPressGestureHandler_ctor(uint8_t* thisArray, int32_t thisLength) { - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_LongPressGestureHandlerOptions 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.readLongPressGestureHandlerOptions(); - } - Opt_LongPressGestureHandlerOptions options_value = options_value_buf;; - return GetAccessors()->getLongPressGestureHandlerAccessor()->ctor((const Opt_LongPressGestureHandlerOptions*)&options_value); -} -KOALA_INTEROP_2(LongPressGestureHandler_ctor, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_LongPressGestureHandler_getFinalizer() { - return GetAccessors()->getLongPressGestureHandlerAccessor()->getFinalizer(); -} -KOALA_INTEROP_0(LongPressGestureHandler_getFinalizer, Ark_NativePointer) -Ark_NativePointer impl_LongPressGestureHandler_onAction(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - LongPressGestureHandlerPeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; - return GetAccessors()->getLongPressGestureHandlerAccessor()->onAction(self, (const Callback_GestureEvent_Void*)&event_value); -} -KOALA_INTEROP_3(LongPressGestureHandler_onAction, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_LongPressGestureHandler_onActionEnd(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - LongPressGestureHandlerPeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; - return GetAccessors()->getLongPressGestureHandlerAccessor()->onActionEnd(self, (const Callback_GestureEvent_Void*)&event_value); -} -KOALA_INTEROP_3(LongPressGestureHandler_onActionEnd, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_LongPressGestureHandler_onActionCancel(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - LongPressGestureHandlerPeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - return GetAccessors()->getLongPressGestureHandlerAccessor()->onActionCancel(self, (const Callback_Void*)&event_value); -} -KOALA_INTEROP_3(LongPressGestureHandler_onActionCancel, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_PanGestureHandler_ctor(uint8_t* thisArray, int32_t thisLength) { - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_PanGestureHandlerOptions 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.readPanGestureHandlerOptions(); - } - Opt_PanGestureHandlerOptions options_value = options_value_buf;; - return GetAccessors()->getPanGestureHandlerAccessor()->ctor((const Opt_PanGestureHandlerOptions*)&options_value); -} -KOALA_INTEROP_2(PanGestureHandler_ctor, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_PanGestureHandler_getFinalizer() { - return GetAccessors()->getPanGestureHandlerAccessor()->getFinalizer(); -} -KOALA_INTEROP_0(PanGestureHandler_getFinalizer, Ark_NativePointer) -Ark_NativePointer impl_PanGestureHandler_onActionStart(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - PanGestureHandlerPeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; - return GetAccessors()->getPanGestureHandlerAccessor()->onActionStart(self, (const Callback_GestureEvent_Void*)&event_value); -} -KOALA_INTEROP_3(PanGestureHandler_onActionStart, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_PanGestureHandler_onActionUpdate(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - PanGestureHandlerPeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; - return GetAccessors()->getPanGestureHandlerAccessor()->onActionUpdate(self, (const Callback_GestureEvent_Void*)&event_value); -} -KOALA_INTEROP_3(PanGestureHandler_onActionUpdate, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_PanGestureHandler_onActionEnd(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - PanGestureHandlerPeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; - return GetAccessors()->getPanGestureHandlerAccessor()->onActionEnd(self, (const Callback_GestureEvent_Void*)&event_value); -} -KOALA_INTEROP_3(PanGestureHandler_onActionEnd, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_PanGestureHandler_onActionCancel(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - PanGestureHandlerPeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - return GetAccessors()->getPanGestureHandlerAccessor()->onActionCancel(self, (const Callback_Void*)&event_value); -} -KOALA_INTEROP_3(PanGestureHandler_onActionCancel, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_SwipeGestureHandler_ctor(uint8_t* thisArray, int32_t thisLength) { - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_SwipeGestureHandlerOptions 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.readSwipeGestureHandlerOptions(); - } - Opt_SwipeGestureHandlerOptions options_value = options_value_buf;; - return GetAccessors()->getSwipeGestureHandlerAccessor()->ctor((const Opt_SwipeGestureHandlerOptions*)&options_value); -} -KOALA_INTEROP_2(SwipeGestureHandler_ctor, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_SwipeGestureHandler_getFinalizer() { - return GetAccessors()->getSwipeGestureHandlerAccessor()->getFinalizer(); -} -KOALA_INTEROP_0(SwipeGestureHandler_getFinalizer, Ark_NativePointer) -Ark_NativePointer impl_SwipeGestureHandler_onAction(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - SwipeGestureHandlerPeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; - return GetAccessors()->getSwipeGestureHandlerAccessor()->onAction(self, (const Callback_GestureEvent_Void*)&event_value); -} -KOALA_INTEROP_3(SwipeGestureHandler_onAction, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_PinchGestureHandler_ctor(uint8_t* thisArray, int32_t thisLength) { - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_PinchGestureHandlerOptions 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.readPinchGestureHandlerOptions(); - } - Opt_PinchGestureHandlerOptions options_value = options_value_buf;; - return GetAccessors()->getPinchGestureHandlerAccessor()->ctor((const Opt_PinchGestureHandlerOptions*)&options_value); -} -KOALA_INTEROP_2(PinchGestureHandler_ctor, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_PinchGestureHandler_getFinalizer() { - return GetAccessors()->getPinchGestureHandlerAccessor()->getFinalizer(); -} -KOALA_INTEROP_0(PinchGestureHandler_getFinalizer, Ark_NativePointer) -Ark_NativePointer impl_PinchGestureHandler_onActionStart(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - PinchGestureHandlerPeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; - return GetAccessors()->getPinchGestureHandlerAccessor()->onActionStart(self, (const Callback_GestureEvent_Void*)&event_value); -} -KOALA_INTEROP_3(PinchGestureHandler_onActionStart, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_PinchGestureHandler_onActionUpdate(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - PinchGestureHandlerPeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; - return GetAccessors()->getPinchGestureHandlerAccessor()->onActionUpdate(self, (const Callback_GestureEvent_Void*)&event_value); -} -KOALA_INTEROP_3(PinchGestureHandler_onActionUpdate, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_PinchGestureHandler_onActionEnd(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - PinchGestureHandlerPeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; - return GetAccessors()->getPinchGestureHandlerAccessor()->onActionEnd(self, (const Callback_GestureEvent_Void*)&event_value); -} -KOALA_INTEROP_3(PinchGestureHandler_onActionEnd, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_PinchGestureHandler_onActionCancel(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - PinchGestureHandlerPeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - return GetAccessors()->getPinchGestureHandlerAccessor()->onActionCancel(self, (const Callback_Void*)&event_value); -} -KOALA_INTEROP_3(PinchGestureHandler_onActionCancel, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_RotationGestureHandler_ctor(uint8_t* thisArray, int32_t thisLength) { - Deserializer thisDeserializer(thisArray, thisLength); - const auto options_value_buf_runtimeType = static_cast(thisDeserializer.readInt8()); - Opt_RotationGestureHandlerOptions 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.readRotationGestureHandlerOptions(); - } - Opt_RotationGestureHandlerOptions options_value = options_value_buf;; - return GetAccessors()->getRotationGestureHandlerAccessor()->ctor((const Opt_RotationGestureHandlerOptions*)&options_value); -} -KOALA_INTEROP_2(RotationGestureHandler_ctor, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_RotationGestureHandler_getFinalizer() { - return GetAccessors()->getRotationGestureHandlerAccessor()->getFinalizer(); -} -KOALA_INTEROP_0(RotationGestureHandler_getFinalizer, Ark_NativePointer) -Ark_NativePointer impl_RotationGestureHandler_onActionStart(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - RotationGestureHandlerPeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; - return GetAccessors()->getRotationGestureHandlerAccessor()->onActionStart(self, (const Callback_GestureEvent_Void*)&event_value); -} -KOALA_INTEROP_3(RotationGestureHandler_onActionStart, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_RotationGestureHandler_onActionUpdate(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - RotationGestureHandlerPeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; - return GetAccessors()->getRotationGestureHandlerAccessor()->onActionUpdate(self, (const Callback_GestureEvent_Void*)&event_value); -} -KOALA_INTEROP_3(RotationGestureHandler_onActionUpdate, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_RotationGestureHandler_onActionEnd(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - RotationGestureHandlerPeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_GestureEvent_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_GestureEvent_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_GestureEvent_Void))))};; - return GetAccessors()->getRotationGestureHandlerAccessor()->onActionEnd(self, (const Callback_GestureEvent_Void*)&event_value); -} -KOALA_INTEROP_3(RotationGestureHandler_onActionEnd, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) -Ark_NativePointer impl_RotationGestureHandler_onActionCancel(Ark_NativePointer thisPtr, uint8_t* thisArray, int32_t thisLength) { - RotationGestureHandlerPeer* self = reinterpret_cast(thisPtr); - Deserializer thisDeserializer(thisArray, thisLength); - Callback_Void event_value = {thisDeserializer.readCallbackResource(), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCaller(Kind_Callback_Void)))), reinterpret_cast(thisDeserializer.readPointerOrDefault(reinterpret_cast(getManagedCallbackCallerSync(Kind_Callback_Void))))};; - return GetAccessors()->getRotationGestureHandlerAccessor()->onActionCancel(self, (const Callback_Void*)&event_value); -} -KOALA_INTEROP_3(RotationGestureHandler_onActionCancel, Ark_NativePointer, Ark_NativePointer, uint8_t*, int32_t) Ark_NativePointer impl_ScrollableTargetInfo_ctor() { return GetAccessors()->getScrollableTargetInfoAccessor()->ctor(); } diff --git a/arkoala/framework/native/src/generated/callback_deserialize_call.cc b/arkoala/framework/native/src/generated/callback_deserialize_call.cc index 80fc15d30..9a56dbcab 100644 --- a/arkoala/framework/native/src/generated/callback_deserialize_call.cc +++ b/arkoala/framework/native/src/generated/callback_deserialize_call.cc @@ -40,6 +40,24 @@ void deserializeAndCallSyncAccessibilityCallback(Ark_VMContext vmContext, uint8_ Ark_AccessibilityHoverEvent event = static_cast(thisDeserializer.readAccessibilityHoverEvent()); _callSync(vmContext, _resourceId, isHover, event); } +void deserializeAndCallAsyncCallback_image_PixelMap_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_PixelMap result = static_cast(thisDeserializer.readPixelMap()); + _call(_resourceId, result); +} +void deserializeAndCallSyncAsyncCallback_image_PixelMap_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_PixelMap result = static_cast(thisDeserializer.readPixelMap()); + _callSync(vmContext, _resourceId, result); +} void deserializeAndCallButtonTriggerClickCallback(uint8_t* thisArray, Ark_Int32 thisLength) { Deserializer thisDeserializer = Deserializer(thisArray, thisLength); @@ -5294,6 +5312,7 @@ void deserializeAndCallCallback(Ark_Int32 kind, uint8_t* thisArray, Ark_Int32 th { switch (kind) { case 589030517/*Kind_AccessibilityCallback*/: return deserializeAndCallAccessibilityCallback(thisArray, thisLength); + case 1289587365/*Kind_AsyncCallback_image_PixelMap_Void*/: return deserializeAndCallAsyncCallback_image_PixelMap_Void(thisArray, thisLength); case -1964292933/*Kind_ButtonTriggerClickCallback*/: return deserializeAndCallButtonTriggerClickCallback(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); @@ -5537,6 +5556,7 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, uin { switch (kind) { case 589030517/*Kind_AccessibilityCallback*/: return deserializeAndCallSyncAccessibilityCallback(vmContext, thisArray, thisLength); + case 1289587365/*Kind_AsyncCallback_image_PixelMap_Void*/: return deserializeAndCallSyncAsyncCallback_image_PixelMap_Void(vmContext, thisArray, thisLength); case -1964292933/*Kind_ButtonTriggerClickCallback*/: return deserializeAndCallSyncButtonTriggerClickCallback(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); diff --git a/arkoala/framework/native/src/generated/callback_kind.h b/arkoala/framework/native/src/generated/callback_kind.h index 8f4455bb0..b7d5b9346 100644 --- a/arkoala/framework/native/src/generated/callback_kind.h +++ b/arkoala/framework/native/src/generated/callback_kind.h @@ -4,6 +4,7 @@ typedef enum CallbackKind { Kind_AccessibilityCallback = 589030517, + Kind_AsyncCallback_image_PixelMap_Void = 1289587365, Kind_ButtonTriggerClickCallback = -1964292933, Kind_Callback_Any_Void = 197193081, Kind_Callback_Area_Area_Void = -2024393616, diff --git a/arkoala/framework/native/src/generated/callback_managed_caller.cc b/arkoala/framework/native/src/generated/callback_managed_caller.cc index 63b141e82..96209d14b 100644 --- a/arkoala/framework/native/src/generated/callback_managed_caller.cc +++ b/arkoala/framework/native/src/generated/callback_managed_caller.cc @@ -42,6 +42,26 @@ void callManagedAccessibilityCallbackSync(Ark_VMContext vmContext, Ark_Int32 res argsSerializer.writeAccessibilityHoverEvent(event); KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(__buffer), __buffer); } +void callManagedAsyncCallback_image_PixelMap_Void(Ark_Int32 resourceId, Ark_PixelMap result) +{ + CallbackBuffer __buffer = {{}, {}}; + const Ark_CallbackResource __callbackResource = {resourceId, holdManagedCallbackResource, releaseManagedCallbackResource}; + __buffer.resourceHolder.holdCallbackResource(&__callbackResource); + Serializer argsSerializer = Serializer(__buffer.buffer, sizeof(__buffer.buffer), &(__buffer.resourceHolder)); + argsSerializer.writeInt32(Kind_AsyncCallback_image_PixelMap_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writePixelMap(result); + enqueueCallback(&__buffer); +} +void callManagedAsyncCallback_image_PixelMap_VoidSync(Ark_VMContext vmContext, Ark_Int32 resourceId, Ark_PixelMap result) +{ + uint8_t __buffer[60 * 4]; + Serializer argsSerializer = Serializer(__buffer, sizeof(__buffer), nullptr); + argsSerializer.writeInt32(Kind_AsyncCallback_image_PixelMap_Void); + argsSerializer.writeInt32(resourceId); + argsSerializer.writePixelMap(result); + KOALA_INTEROP_CALL_VOID(vmContext, 1, sizeof(__buffer), __buffer); +} void callManagedButtonTriggerClickCallback(Ark_Int32 resourceId, Ark_Number xPos, Ark_Number yPos) { CallbackBuffer __buffer = {{}, {}}; @@ -5802,6 +5822,7 @@ Ark_NativePointer getManagedCallbackCaller(CallbackKind kind) { switch (kind) { case Kind_AccessibilityCallback: return reinterpret_cast(callManagedAccessibilityCallback); + case Kind_AsyncCallback_image_PixelMap_Void: return reinterpret_cast(callManagedAsyncCallback_image_PixelMap_Void); case Kind_ButtonTriggerClickCallback: return reinterpret_cast(callManagedButtonTriggerClickCallback); case Kind_Callback_Any_Void: return reinterpret_cast(callManagedCallback_Any_Void); case Kind_Callback_Area_Area_Void: return reinterpret_cast(callManagedCallback_Area_Area_Void); @@ -6045,6 +6066,7 @@ Ark_NativePointer getManagedCallbackCallerSync(CallbackKind kind) { switch (kind) { case Kind_AccessibilityCallback: return reinterpret_cast(callManagedAccessibilityCallbackSync); + case Kind_AsyncCallback_image_PixelMap_Void: return reinterpret_cast(callManagedAsyncCallback_image_PixelMap_VoidSync); case Kind_ButtonTriggerClickCallback: return reinterpret_cast(callManagedButtonTriggerClickCallbackSync); case Kind_Callback_Any_Void: return reinterpret_cast(callManagedCallback_Any_VoidSync); case Kind_Callback_Area_Area_Void: return reinterpret_cast(callManagedCallback_Area_Area_VoidSync); diff --git a/arkoala/framework/native/src/generated/dummy_impl.cc b/arkoala/framework/native/src/generated/dummy_impl.cc index 18c26ffe7..9c2088d81 100644 --- a/arkoala/framework/native/src/generated/dummy_impl.cc +++ b/arkoala/framework/native/src/generated/dummy_impl.cc @@ -20322,6 +20322,98 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } } // DrawingCanvasAccessor + namespace LengthMetricsAccessor { + void DestroyPeerImpl(LengthMetricsPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (LengthMetricsPeer*) 100; + string out("new LengthMetrics("); + out.append(") \n"); + out.append("[return (LengthMetricsPeer*) 100] \n"); + appendGroupedLog(1, out); + return (LengthMetricsPeer*) 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 PxImpl(const Ark_Number* value) + { + if (!needGroupedLog(1)) + return (void*) 300; + string out("px("); + WriteToString(&out, value); + out.append(") \n"); + out.append("[return (void*) 300] \n"); + appendGroupedLog(1, out); + return (void*) 300; + } + Ark_NativePointer ResourceImpl(const Ark_Resource* value) + { + if (!needGroupedLog(1)) + return (void*) 300; + string out("resource("); + WriteToString(&out, value); + out.append(") \n"); + out.append("[return (void*) 300] \n"); + appendGroupedLog(1, out); + return (void*) 300; + } + Ark_NativePointer GetUnitImpl(LengthMetricsPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getUnit("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetUnitImpl(LengthMetricsPeer* peer, + Ark_LengthUnit unit) + { + if (!needGroupedLog(1)) + return; + string out("setUnit("); + WriteToString(&out, unit); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_Int32 GetValueImpl(LengthMetricsPeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getValue("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + void SetValueImpl(LengthMetricsPeer* peer, + const Ark_Number* value) + { + if (!needGroupedLog(1)) + return; + string out("setValue("); + WriteToString(&out, value); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // LengthMetricsAccessor namespace WebviewControllerAccessor { void DestroyPeerImpl(WebviewControllerPeer* peer) { @@ -20373,6 +20465,120 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } } // WebviewControllerAccessor + namespace GlobalScope_ohos_arkui_componentSnapshotAccessor { + void DestroyPeerImpl(GlobalScope_ohos_arkui_componentSnapshotPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (GlobalScope_ohos_arkui_componentSnapshotPeer*) 100; + string out("new GlobalScope_ohos_arkui_componentSnapshot("); + out.append(") \n"); + out.append("[return (GlobalScope_ohos_arkui_componentSnapshotPeer*) 100] \n"); + appendGroupedLog(1, out); + return (GlobalScope_ohos_arkui_componentSnapshotPeer*) 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 GetImpl(const Ark_String* id, + const AsyncCallback_image_PixelMap_Void* callback, + const Opt_SnapshotOptions* options) + { + if (!needGroupedLog(1)) + return; + string out("get("); + WriteToString(&out, id); + out.append(", "); + WriteToString(&out, callback); + out.append(", "); + WriteToString(&out, options); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // GlobalScope_ohos_arkui_componentSnapshotAccessor + namespace GlobalScope_ohos_arkui_performanceMonitorAccessor { + void DestroyPeerImpl(GlobalScope_ohos_arkui_performanceMonitorPeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (GlobalScope_ohos_arkui_performanceMonitorPeer*) 100; + string out("new GlobalScope_ohos_arkui_performanceMonitor("); + out.append(") \n"); + out.append("[return (GlobalScope_ohos_arkui_performanceMonitorPeer*) 100] \n"); + appendGroupedLog(1, out); + return (GlobalScope_ohos_arkui_performanceMonitorPeer*) 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 BeginImpl(const Ark_String* scene, + Ark_PerfMonitorActionType startInputType, + const Opt_String* note) + { + if (!needGroupedLog(1)) + return; + string out("begin("); + WriteToString(&out, scene); + out.append(", "); + WriteToString(&out, startInputType); + out.append(", "); + WriteToString(&out, note); + out.append(") \n"); + appendGroupedLog(1, out); + } + void EndImpl(const Ark_String* scene) + { + if (!needGroupedLog(1)) + return; + string out("end("); + WriteToString(&out, scene); + out.append(") \n"); + appendGroupedLog(1, out); + } + void RecordInputEventTimeImpl(Ark_PerfMonitorActionType type, + Ark_PerfMonitorSourceType sourceType, + const Ark_Number* time) + { + if (!needGroupedLog(1)) + return; + string out("recordInputEventTime("); + WriteToString(&out, type); + out.append(", "); + WriteToString(&out, sourceType); + out.append(", "); + WriteToString(&out, time); + out.append(") \n"); + appendGroupedLog(1, out); + } + } // GlobalScope_ohos_arkui_performanceMonitorAccessor namespace FrameNodeAccessor { void DestroyPeerImpl(FrameNodePeer* peer) { @@ -24263,6 +24469,78 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); } } // ProgressMaskAccessor + namespace MeasurableAccessor { + void DestroyPeerImpl(MeasurablePeer* peer) + { + if (!needGroupedLog(1)) + return; + string out("destroyPeer("); + out.append(") \n"); + appendGroupedLog(1, out); + } + Ark_NativePointer CtorImpl() + { + if (!needGroupedLog(1)) + return (MeasurablePeer*) 100; + string out("new Measurable("); + out.append(") \n"); + out.append("[return (MeasurablePeer*) 100] \n"); + appendGroupedLog(1, out); + return (MeasurablePeer*) 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 MeasureImpl(MeasurablePeer* peer, + const Ark_ConstraintSizeOptions* constraint) + { + if (!needGroupedLog(1)) + return 0; + string out("measure("); + WriteToString(&out, constraint); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_NativePointer GetMarginImpl(MeasurablePeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getMargin("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_NativePointer GetPaddingImpl(MeasurablePeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getPadding("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + Ark_NativePointer GetBorderWidthImpl(MeasurablePeer* peer) + { + if (!needGroupedLog(1)) + return 0; + string out("getBorderWidth("); + out.append(") \n"); + out.append("[return 0] \n"); + appendGroupedLog(1, out); + return 0; + } + } // MeasurableAccessor namespace ViewAccessor { void DestroyPeerImpl(ViewPeer* peer) { @@ -25433,402 +25711,21 @@ namespace OHOS::Ace::NG::GeneratedModifier { 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; - } - void SetScaleImpl(GestureEventPeer* peer, - const Ark_Number* scale) - { - if (!needGroupedLog(1)) - return; - string out("setScale("); - WriteToString(&out, scale); - out.append(") \n"); - appendGroupedLog(1, out); - } - 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("setPinchCenterX("); - WriteToString(&out, pinchCenterX); - out.append(") \n"); - appendGroupedLog(1, out); - } - 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("setPinchCenterY("); - WriteToString(&out, pinchCenterY); - out.append(") \n"); - appendGroupedLog(1, out); - } - 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("setVelocityX("); - WriteToString(&out, velocityX); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_Int32 GetVelocityYImpl(GestureEventPeer* peer) - { - if (!needGroupedLog(1)) - return 0; - string out("getVelocityY("); - out.append(") \n"); - out.append("[return 0] \n"); - appendGroupedLog(1, out); - return 0; - } - void SetVelocityYImpl(GestureEventPeer* peer, - const Ark_Number* velocityY) - { - if (!needGroupedLog(1)) - return; - string out("setVelocityY("); - WriteToString(&out, velocityY); - out.append(") \n"); - appendGroupedLog(1, out); - } - 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("setVelocity("); - WriteToString(&out, velocity); - out.append(") \n"); - appendGroupedLog(1, out); - } - } // GestureEventAccessor - namespace PanGestureOptionsAccessor { - void DestroyPeerImpl(PanGestureOptionsPeer* peer) - { - if (!needGroupedLog(1)) - return; - string out("destroyPeer("); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_NativePointer CtorImpl(const Opt_Literal_Number_distance_fingers_PanDirection_direction* value) - { - if (!needGroupedLog(1)) - return (PanGestureOptionsPeer*) 100; - string out("new PanGestureOptions("); - WriteToString(&out, value); - out.append(") \n"); - out.append("[return (PanGestureOptionsPeer*) 100] \n"); - appendGroupedLog(1, out); - return (PanGestureOptionsPeer*) 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 SetDirectionImpl(PanGestureOptionsPeer* peer, - Ark_PanDirection value) - { - if (!needGroupedLog(1)) - return; - string out("setDirection("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void SetDistanceImpl(PanGestureOptionsPeer* peer, - const Ark_Number* value) - { - if (!needGroupedLog(1)) - return; - string out("setDistance("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - void SetFingersImpl(PanGestureOptionsPeer* peer, - const Ark_Number* value) - { - if (!needGroupedLog(1)) - return; - string out("setFingers("); - WriteToString(&out, value); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_NativePointer GetDirectionImpl(PanGestureOptionsPeer* peer) - { - if (!needGroupedLog(1)) - return 0; - string out("getDirection("); - out.append(") \n"); - out.append("[return 0] \n"); - appendGroupedLog(1, out); - return 0; - } - } // PanGestureOptionsAccessor - namespace GestureHandlerAccessor { - void DestroyPeerImpl(GestureHandlerPeer* peer) - { - if (!needGroupedLog(1)) - return; - string out("destroyPeer("); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_NativePointer CtorImpl() - { - if (!needGroupedLog(1)) - return (GestureHandlerPeer*) 100; - string out("new GestureHandler("); - out.append(") \n"); - out.append("[return (GestureHandlerPeer*) 100] \n"); - appendGroupedLog(1, out); - return (GestureHandlerPeer*) 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 TagImpl(GestureHandlerPeer* peer, - const Ark_String* tag) - { - if (!needGroupedLog(1)) - return; - string out("tag("); - WriteToString(&out, tag); - out.append(") \n"); - appendGroupedLog(1, out); + return 0; } - void AllowedTypesImpl(GestureHandlerPeer* peer, - const Array_SourceTool* types) + void SetSpeedImpl(SwipeGestureEventPeer* peer, + const Ark_Number* speed) { if (!needGroupedLog(1)) return; - string out("allowedTypes("); - WriteToString(&out, types); + string out("setSpeed("); + WriteToString(&out, speed); out.append(") \n"); appendGroupedLog(1, out); } - } // GestureHandlerAccessor - namespace TapGestureHandlerAccessor { - void DestroyPeerImpl(TapGestureHandlerPeer* peer) + } // SwipeGestureEventAccessor + namespace GestureEventAccessor { + void DestroyPeerImpl(GestureEventPeer* peer) { if (!needGroupedLog(1)) return; @@ -25836,16 +25733,15 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_NativePointer CtorImpl(const Opt_TapGestureHandlerOptions* options) + Ark_NativePointer CtorImpl() { if (!needGroupedLog(1)) - return (TapGestureHandlerPeer*) 100; - string out("new TapGestureHandler("); - WriteToString(&out, options); + return (GestureEventPeer*) 100; + string out("new GestureEvent("); out.append(") \n"); - out.append("[return (TapGestureHandlerPeer*) 100] \n"); + out.append("[return (GestureEventPeer*) 100] \n"); appendGroupedLog(1, out); - return (TapGestureHandlerPeer*) 100; + return (GestureEventPeer*) 100; } Ark_NativePointer GetFinalizerImpl() { @@ -25857,289 +25753,239 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_NativePointer OnActionImpl(TapGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) + Ark_Boolean GetRepeatImpl(GestureEventPeer* peer) { if (!needGroupedLog(1)) return 0; - string out("onAction("); - WriteToString(&out, event); + string out("getRepeat("); out.append(") \n"); out.append("[return 0] \n"); appendGroupedLog(1, out); return 0; } - } // TapGestureHandlerAccessor - namespace LongPressGestureHandlerAccessor { - void DestroyPeerImpl(LongPressGestureHandlerPeer* peer) + void SetRepeatImpl(GestureEventPeer* peer, + Ark_Boolean repeat) { if (!needGroupedLog(1)) return; - string out("destroyPeer("); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_NativePointer CtorImpl(const Opt_LongPressGestureHandlerOptions* options) - { - if (!needGroupedLog(1)) - return (LongPressGestureHandlerPeer*) 100; - string out("new LongPressGestureHandler("); - WriteToString(&out, options); + string out("setRepeat("); + WriteToString(&out, repeat); out.append(") \n"); - out.append("[return (LongPressGestureHandlerPeer*) 100] \n"); appendGroupedLog(1, out); - return (LongPressGestureHandlerPeer*) 100; } - Ark_NativePointer GetFinalizerImpl() + void SetFingerListImpl(GestureEventPeer* peer, + const Array_FingerInfo* fingerList) { if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); + return; + string out("setFingerList("); + WriteToString(&out, fingerList); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_NativePointer OnActionImpl(LongPressGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) + Ark_Int32 GetOffsetXImpl(GestureEventPeer* peer) { if (!needGroupedLog(1)) return 0; - string out("onAction("); - WriteToString(&out, event); + string out("getOffsetX("); out.append(") \n"); out.append("[return 0] \n"); appendGroupedLog(1, out); return 0; } - Ark_NativePointer OnActionEndImpl(LongPressGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) + void SetOffsetXImpl(GestureEventPeer* peer, + const Ark_Number* offsetX) { if (!needGroupedLog(1)) - return 0; - string out("onActionEnd("); - WriteToString(&out, event); + return; + string out("setOffsetX("); + WriteToString(&out, offsetX); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_NativePointer OnActionCancelImpl(LongPressGestureHandlerPeer* peer, - const Callback_Void* event) + Ark_Int32 GetOffsetYImpl(GestureEventPeer* peer) { if (!needGroupedLog(1)) return 0; - string out("onActionCancel("); - WriteToString(&out, event); + string out("getOffsetY("); out.append(") \n"); out.append("[return 0] \n"); appendGroupedLog(1, out); return 0; } - } // LongPressGestureHandlerAccessor - namespace PanGestureHandlerAccessor { - void DestroyPeerImpl(PanGestureHandlerPeer* peer) + void SetOffsetYImpl(GestureEventPeer* peer, + const Ark_Number* offsetY) { if (!needGroupedLog(1)) return; - string out("destroyPeer("); - out.append(") \n"); - appendGroupedLog(1, out); - } - Ark_NativePointer CtorImpl(const Opt_PanGestureHandlerOptions* options) - { - if (!needGroupedLog(1)) - return (PanGestureHandlerPeer*) 100; - string out("new PanGestureHandler("); - WriteToString(&out, options); + string out("setOffsetY("); + WriteToString(&out, offsetY); out.append(") \n"); - out.append("[return (PanGestureHandlerPeer*) 100] \n"); appendGroupedLog(1, out); - return (PanGestureHandlerPeer*) 100; } - Ark_NativePointer GetFinalizerImpl() + Ark_Int32 GetAngleImpl(GestureEventPeer* peer) { if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); + return 0; + string out("getAngle("); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); + return 0; } - Ark_NativePointer OnActionStartImpl(PanGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) + void SetAngleImpl(GestureEventPeer* peer, + const Ark_Number* angle) { if (!needGroupedLog(1)) - return 0; - string out("onActionStart("); - WriteToString(&out, event); + return; + string out("setAngle("); + WriteToString(&out, angle); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_NativePointer OnActionUpdateImpl(PanGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) + Ark_Int32 GetSpeedImpl(GestureEventPeer* peer) { if (!needGroupedLog(1)) return 0; - string out("onActionUpdate("); - WriteToString(&out, event); + string out("getSpeed("); out.append(") \n"); out.append("[return 0] \n"); appendGroupedLog(1, out); return 0; } - Ark_NativePointer OnActionEndImpl(PanGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) + void SetSpeedImpl(GestureEventPeer* peer, + const Ark_Number* speed) { if (!needGroupedLog(1)) - return 0; - string out("onActionEnd("); - WriteToString(&out, event); + return; + string out("setSpeed("); + WriteToString(&out, speed); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_NativePointer OnActionCancelImpl(PanGestureHandlerPeer* peer, - const Callback_Void* event) + Ark_Int32 GetScaleImpl(GestureEventPeer* peer) { if (!needGroupedLog(1)) return 0; - string out("onActionCancel("); - WriteToString(&out, event); + string out("getScale("); out.append(") \n"); out.append("[return 0] \n"); appendGroupedLog(1, out); return 0; } - } // PanGestureHandlerAccessor - namespace SwipeGestureHandlerAccessor { - void DestroyPeerImpl(SwipeGestureHandlerPeer* peer) + void SetScaleImpl(GestureEventPeer* peer, + const Ark_Number* scale) { if (!needGroupedLog(1)) return; - string out("destroyPeer("); + string out("setScale("); + WriteToString(&out, scale); out.append(") \n"); appendGroupedLog(1, out); } - Ark_NativePointer CtorImpl(const Opt_SwipeGestureHandlerOptions* options) + Ark_Int32 GetPinchCenterXImpl(GestureEventPeer* peer) { if (!needGroupedLog(1)) - return (SwipeGestureHandlerPeer*) 100; - string out("new SwipeGestureHandler("); - WriteToString(&out, options); + return 0; + string out("getPinchCenterX("); out.append(") \n"); - out.append("[return (SwipeGestureHandlerPeer*) 100] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return (SwipeGestureHandlerPeer*) 100; + return 0; } - Ark_NativePointer GetFinalizerImpl() + void SetPinchCenterXImpl(GestureEventPeer* peer, + const Ark_Number* pinchCenterX) { if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); + return; + string out("setPinchCenterX("); + WriteToString(&out, pinchCenterX); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_NativePointer OnActionImpl(SwipeGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) + Ark_Int32 GetPinchCenterYImpl(GestureEventPeer* peer) { if (!needGroupedLog(1)) return 0; - string out("onAction("); - WriteToString(&out, event); + string out("getPinchCenterY("); out.append(") \n"); out.append("[return 0] \n"); appendGroupedLog(1, out); return 0; } - } // SwipeGestureHandlerAccessor - namespace PinchGestureHandlerAccessor { - void DestroyPeerImpl(PinchGestureHandlerPeer* peer) + void SetPinchCenterYImpl(GestureEventPeer* peer, + const Ark_Number* pinchCenterY) { if (!needGroupedLog(1)) return; - string out("destroyPeer("); + string out("setPinchCenterY("); + WriteToString(&out, pinchCenterY); out.append(") \n"); appendGroupedLog(1, out); } - Ark_NativePointer CtorImpl(const Opt_PinchGestureHandlerOptions* options) + Ark_Int32 GetVelocityXImpl(GestureEventPeer* peer) { if (!needGroupedLog(1)) - return (PinchGestureHandlerPeer*) 100; - string out("new PinchGestureHandler("); - WriteToString(&out, options); + return 0; + string out("getVelocityX("); out.append(") \n"); - out.append("[return (PinchGestureHandlerPeer*) 100] \n"); + out.append("[return 0] \n"); appendGroupedLog(1, out); - return (PinchGestureHandlerPeer*) 100; + return 0; } - Ark_NativePointer GetFinalizerImpl() + void SetVelocityXImpl(GestureEventPeer* peer, + const Ark_Number* velocityX) { if (!needGroupedLog(1)) - return fnPtr(dummyClassFinalizer); - string out("getFinalizer("); + return; + string out("setVelocityX("); + WriteToString(&out, velocityX); out.append(") \n"); - out.append("[return fnPtr(dummyClassFinalizer)] \n"); appendGroupedLog(1, out); - return fnPtr(dummyClassFinalizer); } - Ark_NativePointer OnActionStartImpl(PinchGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) + Ark_Int32 GetVelocityYImpl(GestureEventPeer* peer) { if (!needGroupedLog(1)) return 0; - string out("onActionStart("); - WriteToString(&out, event); + string out("getVelocityY("); out.append(") \n"); out.append("[return 0] \n"); appendGroupedLog(1, out); return 0; } - Ark_NativePointer OnActionUpdateImpl(PinchGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) + void SetVelocityYImpl(GestureEventPeer* peer, + const Ark_Number* velocityY) { if (!needGroupedLog(1)) - return 0; - string out("onActionUpdate("); - WriteToString(&out, event); + return; + string out("setVelocityY("); + WriteToString(&out, velocityY); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_NativePointer OnActionEndImpl(PinchGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) + Ark_Int32 GetVelocityImpl(GestureEventPeer* peer) { if (!needGroupedLog(1)) return 0; - string out("onActionEnd("); - WriteToString(&out, event); + string out("getVelocity("); out.append(") \n"); out.append("[return 0] \n"); appendGroupedLog(1, out); return 0; } - Ark_NativePointer OnActionCancelImpl(PinchGestureHandlerPeer* peer, - const Callback_Void* event) + void SetVelocityImpl(GestureEventPeer* peer, + const Ark_Number* velocity) { if (!needGroupedLog(1)) - return 0; - string out("onActionCancel("); - WriteToString(&out, event); + return; + string out("setVelocity("); + WriteToString(&out, velocity); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - } // PinchGestureHandlerAccessor - namespace RotationGestureHandlerAccessor { - void DestroyPeerImpl(RotationGestureHandlerPeer* peer) + } // GestureEventAccessor + namespace PanGestureOptionsAccessor { + void DestroyPeerImpl(PanGestureOptionsPeer* peer) { if (!needGroupedLog(1)) return; @@ -26147,16 +25993,16 @@ namespace OHOS::Ace::NG::GeneratedModifier { out.append(") \n"); appendGroupedLog(1, out); } - Ark_NativePointer CtorImpl(const Opt_RotationGestureHandlerOptions* options) + Ark_NativePointer CtorImpl(const Opt_Literal_Number_distance_fingers_PanDirection_direction* value) { if (!needGroupedLog(1)) - return (RotationGestureHandlerPeer*) 100; - string out("new RotationGestureHandler("); - WriteToString(&out, options); + return (PanGestureOptionsPeer*) 100; + string out("new PanGestureOptions("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return (RotationGestureHandlerPeer*) 100] \n"); + out.append("[return (PanGestureOptionsPeer*) 100] \n"); appendGroupedLog(1, out); - return (RotationGestureHandlerPeer*) 100; + return (PanGestureOptionsPeer*) 100; } Ark_NativePointer GetFinalizerImpl() { @@ -26168,55 +26014,47 @@ namespace OHOS::Ace::NG::GeneratedModifier { appendGroupedLog(1, out); return fnPtr(dummyClassFinalizer); } - Ark_NativePointer OnActionStartImpl(RotationGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) + void SetDirectionImpl(PanGestureOptionsPeer* peer, + Ark_PanDirection value) { if (!needGroupedLog(1)) - return 0; - string out("onActionStart("); - WriteToString(&out, event); + return; + string out("setDirection("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_NativePointer OnActionUpdateImpl(RotationGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) + void SetDistanceImpl(PanGestureOptionsPeer* peer, + const Ark_Number* value) { if (!needGroupedLog(1)) - return 0; - string out("onActionUpdate("); - WriteToString(&out, event); + return; + string out("setDistance("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_NativePointer OnActionEndImpl(RotationGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) + void SetFingersImpl(PanGestureOptionsPeer* peer, + const Ark_Number* value) { if (!needGroupedLog(1)) - return 0; - string out("onActionEnd("); - WriteToString(&out, event); + return; + string out("setFingers("); + WriteToString(&out, value); out.append(") \n"); - out.append("[return 0] \n"); appendGroupedLog(1, out); - return 0; } - Ark_NativePointer OnActionCancelImpl(RotationGestureHandlerPeer* peer, - const Callback_Void* event) + Ark_NativePointer GetDirectionImpl(PanGestureOptionsPeer* peer) { if (!needGroupedLog(1)) return 0; - string out("onActionCancel("); - WriteToString(&out, event); + string out("getDirection("); out.append(") \n"); out.append("[return 0] \n"); appendGroupedLog(1, out); return 0; } - } // RotationGestureHandlerAccessor + } // PanGestureOptionsAccessor namespace ScrollableTargetInfoAccessor { void DestroyPeerImpl(ScrollableTargetInfoPeer* peer) { @@ -31949,6 +31787,25 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct DrawingCanvasPeer { virtual ~DrawingCanvasPeer() = default; }; + const GENERATED_ArkUILengthMetricsAccessor* GetLengthMetricsAccessor() + { + static const GENERATED_ArkUILengthMetricsAccessor LengthMetricsAccessorImpl { + LengthMetricsAccessor::DestroyPeerImpl, + LengthMetricsAccessor::CtorImpl, + LengthMetricsAccessor::GetFinalizerImpl, + LengthMetricsAccessor::PxImpl, + LengthMetricsAccessor::ResourceImpl, + LengthMetricsAccessor::GetUnitImpl, + LengthMetricsAccessor::SetUnitImpl, + LengthMetricsAccessor::GetValueImpl, + LengthMetricsAccessor::SetValueImpl, + }; + return &LengthMetricsAccessorImpl; + } + + struct LengthMetricsPeer { + virtual ~LengthMetricsPeer() = default; + }; const GENERATED_ArkUIWebviewControllerAccessor* GetWebviewControllerAccessor() { static const GENERATED_ArkUIWebviewControllerAccessor WebviewControllerAccessorImpl { @@ -31964,6 +31821,36 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct WebviewControllerPeer { virtual ~WebviewControllerPeer() = default; }; + const GENERATED_ArkUIGlobalScope_ohos_arkui_componentSnapshotAccessor* GetGlobalScope_ohos_arkui_componentSnapshotAccessor() + { + static const GENERATED_ArkUIGlobalScope_ohos_arkui_componentSnapshotAccessor GlobalScope_ohos_arkui_componentSnapshotAccessorImpl { + GlobalScope_ohos_arkui_componentSnapshotAccessor::DestroyPeerImpl, + GlobalScope_ohos_arkui_componentSnapshotAccessor::CtorImpl, + GlobalScope_ohos_arkui_componentSnapshotAccessor::GetFinalizerImpl, + GlobalScope_ohos_arkui_componentSnapshotAccessor::GetImpl, + }; + return &GlobalScope_ohos_arkui_componentSnapshotAccessorImpl; + } + + struct GlobalScope_ohos_arkui_componentSnapshotPeer { + virtual ~GlobalScope_ohos_arkui_componentSnapshotPeer() = default; + }; + const GENERATED_ArkUIGlobalScope_ohos_arkui_performanceMonitorAccessor* GetGlobalScope_ohos_arkui_performanceMonitorAccessor() + { + static const GENERATED_ArkUIGlobalScope_ohos_arkui_performanceMonitorAccessor GlobalScope_ohos_arkui_performanceMonitorAccessorImpl { + GlobalScope_ohos_arkui_performanceMonitorAccessor::DestroyPeerImpl, + GlobalScope_ohos_arkui_performanceMonitorAccessor::CtorImpl, + GlobalScope_ohos_arkui_performanceMonitorAccessor::GetFinalizerImpl, + GlobalScope_ohos_arkui_performanceMonitorAccessor::BeginImpl, + GlobalScope_ohos_arkui_performanceMonitorAccessor::EndImpl, + GlobalScope_ohos_arkui_performanceMonitorAccessor::RecordInputEventTimeImpl, + }; + return &GlobalScope_ohos_arkui_performanceMonitorAccessorImpl; + } + + struct GlobalScope_ohos_arkui_performanceMonitorPeer { + virtual ~GlobalScope_ohos_arkui_performanceMonitorPeer() = default; + }; const GENERATED_ArkUIFrameNodeAccessor* GetFrameNodeAccessor() { static const GENERATED_ArkUIFrameNodeAccessor FrameNodeAccessorImpl { @@ -32611,6 +32498,23 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct ProgressMaskPeer { virtual ~ProgressMaskPeer() = default; }; + const GENERATED_ArkUIMeasurableAccessor* GetMeasurableAccessor() + { + static const GENERATED_ArkUIMeasurableAccessor MeasurableAccessorImpl { + MeasurableAccessor::DestroyPeerImpl, + MeasurableAccessor::CtorImpl, + MeasurableAccessor::GetFinalizerImpl, + MeasurableAccessor::MeasureImpl, + MeasurableAccessor::GetMarginImpl, + MeasurableAccessor::GetPaddingImpl, + MeasurableAccessor::GetBorderWidthImpl, + }; + return &MeasurableAccessorImpl; + } + + struct MeasurablePeer { + virtual ~MeasurablePeer() = default; + }; const GENERATED_ArkUIViewAccessor* GetViewAccessor() { static const GENERATED_ArkUIViewAccessor ViewAccessorImpl { @@ -32950,116 +32854,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct PanGestureOptionsPeer { virtual ~PanGestureOptionsPeer() = default; }; - const GENERATED_ArkUIGestureHandlerAccessor* GetGestureHandlerAccessor() - { - static const GENERATED_ArkUIGestureHandlerAccessor GestureHandlerAccessorImpl { - GestureHandlerAccessor::DestroyPeerImpl, - GestureHandlerAccessor::CtorImpl, - GestureHandlerAccessor::GetFinalizerImpl, - GestureHandlerAccessor::TagImpl, - GestureHandlerAccessor::AllowedTypesImpl, - }; - return &GestureHandlerAccessorImpl; - } - - struct GestureHandlerPeer { - virtual ~GestureHandlerPeer() = default; - }; - const GENERATED_ArkUITapGestureHandlerAccessor* GetTapGestureHandlerAccessor() - { - static const GENERATED_ArkUITapGestureHandlerAccessor TapGestureHandlerAccessorImpl { - TapGestureHandlerAccessor::DestroyPeerImpl, - TapGestureHandlerAccessor::CtorImpl, - TapGestureHandlerAccessor::GetFinalizerImpl, - TapGestureHandlerAccessor::OnActionImpl, - }; - return &TapGestureHandlerAccessorImpl; - } - - struct TapGestureHandlerPeer { - virtual ~TapGestureHandlerPeer() = default; - }; - const GENERATED_ArkUILongPressGestureHandlerAccessor* GetLongPressGestureHandlerAccessor() - { - static const GENERATED_ArkUILongPressGestureHandlerAccessor LongPressGestureHandlerAccessorImpl { - LongPressGestureHandlerAccessor::DestroyPeerImpl, - LongPressGestureHandlerAccessor::CtorImpl, - LongPressGestureHandlerAccessor::GetFinalizerImpl, - LongPressGestureHandlerAccessor::OnActionImpl, - LongPressGestureHandlerAccessor::OnActionEndImpl, - LongPressGestureHandlerAccessor::OnActionCancelImpl, - }; - return &LongPressGestureHandlerAccessorImpl; - } - - struct LongPressGestureHandlerPeer { - virtual ~LongPressGestureHandlerPeer() = default; - }; - const GENERATED_ArkUIPanGestureHandlerAccessor* GetPanGestureHandlerAccessor() - { - static const GENERATED_ArkUIPanGestureHandlerAccessor PanGestureHandlerAccessorImpl { - PanGestureHandlerAccessor::DestroyPeerImpl, - PanGestureHandlerAccessor::CtorImpl, - PanGestureHandlerAccessor::GetFinalizerImpl, - PanGestureHandlerAccessor::OnActionStartImpl, - PanGestureHandlerAccessor::OnActionUpdateImpl, - PanGestureHandlerAccessor::OnActionEndImpl, - PanGestureHandlerAccessor::OnActionCancelImpl, - }; - return &PanGestureHandlerAccessorImpl; - } - - struct PanGestureHandlerPeer { - virtual ~PanGestureHandlerPeer() = default; - }; - const GENERATED_ArkUISwipeGestureHandlerAccessor* GetSwipeGestureHandlerAccessor() - { - static const GENERATED_ArkUISwipeGestureHandlerAccessor SwipeGestureHandlerAccessorImpl { - SwipeGestureHandlerAccessor::DestroyPeerImpl, - SwipeGestureHandlerAccessor::CtorImpl, - SwipeGestureHandlerAccessor::GetFinalizerImpl, - SwipeGestureHandlerAccessor::OnActionImpl, - }; - return &SwipeGestureHandlerAccessorImpl; - } - - struct SwipeGestureHandlerPeer { - virtual ~SwipeGestureHandlerPeer() = default; - }; - const GENERATED_ArkUIPinchGestureHandlerAccessor* GetPinchGestureHandlerAccessor() - { - static const GENERATED_ArkUIPinchGestureHandlerAccessor PinchGestureHandlerAccessorImpl { - PinchGestureHandlerAccessor::DestroyPeerImpl, - PinchGestureHandlerAccessor::CtorImpl, - PinchGestureHandlerAccessor::GetFinalizerImpl, - PinchGestureHandlerAccessor::OnActionStartImpl, - PinchGestureHandlerAccessor::OnActionUpdateImpl, - PinchGestureHandlerAccessor::OnActionEndImpl, - PinchGestureHandlerAccessor::OnActionCancelImpl, - }; - return &PinchGestureHandlerAccessorImpl; - } - - struct PinchGestureHandlerPeer { - virtual ~PinchGestureHandlerPeer() = default; - }; - const GENERATED_ArkUIRotationGestureHandlerAccessor* GetRotationGestureHandlerAccessor() - { - static const GENERATED_ArkUIRotationGestureHandlerAccessor RotationGestureHandlerAccessorImpl { - RotationGestureHandlerAccessor::DestroyPeerImpl, - RotationGestureHandlerAccessor::CtorImpl, - RotationGestureHandlerAccessor::GetFinalizerImpl, - RotationGestureHandlerAccessor::OnActionStartImpl, - RotationGestureHandlerAccessor::OnActionUpdateImpl, - RotationGestureHandlerAccessor::OnActionEndImpl, - RotationGestureHandlerAccessor::OnActionCancelImpl, - }; - return &RotationGestureHandlerAccessorImpl; - } - - struct RotationGestureHandlerPeer { - virtual ~RotationGestureHandlerPeer() = default; - }; const GENERATED_ArkUIScrollableTargetInfoAccessor* GetScrollableTargetInfoAccessor() { static const GENERATED_ArkUIScrollableTargetInfoAccessor ScrollableTargetInfoAccessorImpl { @@ -34275,7 +34069,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetUnifiedDataAccessor, GetLazyForEachOpsAccessor, GetDrawingCanvasAccessor, + GetLengthMetricsAccessor, GetWebviewControllerAccessor, + GetGlobalScope_ohos_arkui_componentSnapshotAccessor, + GetGlobalScope_ohos_arkui_performanceMonitorAccessor, GetFrameNodeAccessor, GetPixelMapAccessor, GetNavExtenderAccessor, @@ -34305,6 +34102,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetDragEventAccessor, GetKeyEventAccessor, GetProgressMaskAccessor, + GetMeasurableAccessor, GetViewAccessor, GetTextContentControllerBaseAccessor, GetDynamicNodeAccessor, @@ -34324,13 +34122,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetSwipeGestureEventAccessor, GetGestureEventAccessor, GetPanGestureOptionsAccessor, - GetGestureHandlerAccessor, - GetTapGestureHandlerAccessor, - GetLongPressGestureHandlerAccessor, - GetPanGestureHandlerAccessor, - GetSwipeGestureHandlerAccessor, - GetPinchGestureHandlerAccessor, - GetRotationGestureHandlerAccessor, GetScrollableTargetInfoAccessor, GetEventTargetInfoAccessor, GetGestureRecognizerAccessor, diff --git a/arkoala/framework/native/src/generated/real_impl.cc b/arkoala/framework/native/src/generated/real_impl.cc index 83113b9c1..dfe1aaa34 100644 --- a/arkoala/framework/native/src/generated/real_impl.cc +++ b/arkoala/framework/native/src/generated/real_impl.cc @@ -10490,6 +10490,47 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } } // DrawingCanvasAccessor + namespace LengthMetricsAccessor { + void DestroyPeerImpl(LengthMetricsPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new LengthMetricsPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_NativePointer PxImpl(const Ark_Number* value) + { + return nullptr; + } + Ark_NativePointer ResourceImpl(const Ark_Resource* value) + { + return nullptr; + } + Ark_NativePointer GetUnitImpl(LengthMetricsPeer* peer) + { + return nullptr; + } + void SetUnitImpl(LengthMetricsPeer* peer, + Ark_LengthUnit unit) + { + } + Ark_Int32 GetValueImpl(LengthMetricsPeer* peer) + { + return 0; + } + void SetValueImpl(LengthMetricsPeer* peer, + const Ark_Number* value) + { + } + } // LengthMetricsAccessor namespace WebviewControllerAccessor { void DestroyPeerImpl(WebviewControllerPeer* peer) { @@ -10515,6 +10556,58 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } } // WebviewControllerAccessor + namespace GlobalScope_ohos_arkui_componentSnapshotAccessor { + void DestroyPeerImpl(GlobalScope_ohos_arkui_componentSnapshotPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new GlobalScope_ohos_arkui_componentSnapshotPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void GetImpl(const Ark_String* id, + const AsyncCallback_image_PixelMap_Void* callback, + const Opt_SnapshotOptions* options) + { + } + } // GlobalScope_ohos_arkui_componentSnapshotAccessor + namespace GlobalScope_ohos_arkui_performanceMonitorAccessor { + void DestroyPeerImpl(GlobalScope_ohos_arkui_performanceMonitorPeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new GlobalScope_ohos_arkui_performanceMonitorPeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + void BeginImpl(const Ark_String* scene, + Ark_PerfMonitorActionType startInputType, + const Opt_String* note) + { + } + void EndImpl(const Ark_String* scene) + { + } + void RecordInputEventTimeImpl(Ark_PerfMonitorActionType type, + Ark_PerfMonitorSourceType sourceType, + const Ark_Number* time) + { + } + } // GlobalScope_ohos_arkui_performanceMonitorAccessor namespace FrameNodeAccessor { void DestroyPeerImpl(FrameNodePeer* peer) { @@ -12194,6 +12287,40 @@ namespace OHOS::Ace::NG::GeneratedModifier { { } } // ProgressMaskAccessor + namespace MeasurableAccessor { + void DestroyPeerImpl(MeasurablePeer* peer) + { + auto peerImpl = reinterpret_cast(peer); + if (peerImpl) { + delete peerImpl; + } + } + Ark_NativePointer CtorImpl() + { + return new MeasurablePeer(); + } + Ark_NativePointer GetFinalizerImpl() + { + return reinterpret_cast(&DestroyPeerImpl); + } + Ark_NativePointer MeasureImpl(MeasurablePeer* peer, + const Ark_ConstraintSizeOptions* constraint) + { + return nullptr; + } + Ark_NativePointer GetMarginImpl(MeasurablePeer* peer) + { + return nullptr; + } + Ark_NativePointer GetPaddingImpl(MeasurablePeer* peer) + { + return nullptr; + } + Ark_NativePointer GetBorderWidthImpl(MeasurablePeer* peer) + { + return nullptr; + } + } // MeasurableAccessor namespace ViewAccessor { void DestroyPeerImpl(ViewPeer* peer) { @@ -12884,218 +13011,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { return nullptr; } } // PanGestureOptionsAccessor - namespace GestureHandlerAccessor { - void DestroyPeerImpl(GestureHandlerPeer* peer) - { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } - } - Ark_NativePointer CtorImpl() - { - return new GestureHandlerPeer(); - } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - void TagImpl(GestureHandlerPeer* peer, - const Ark_String* tag) - { - } - void AllowedTypesImpl(GestureHandlerPeer* peer, - const Array_SourceTool* types) - { - } - } // GestureHandlerAccessor - namespace TapGestureHandlerAccessor { - void DestroyPeerImpl(TapGestureHandlerPeer* peer) - { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } - } - Ark_NativePointer CtorImpl(const Opt_TapGestureHandlerOptions* options) - { - return new TapGestureHandlerPeer(options); - } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - Ark_NativePointer OnActionImpl(TapGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) - { - return nullptr; - } - } // TapGestureHandlerAccessor - namespace LongPressGestureHandlerAccessor { - void DestroyPeerImpl(LongPressGestureHandlerPeer* peer) - { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } - } - Ark_NativePointer CtorImpl(const Opt_LongPressGestureHandlerOptions* options) - { - return new LongPressGestureHandlerPeer(options); - } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - Ark_NativePointer OnActionImpl(LongPressGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) - { - return nullptr; - } - Ark_NativePointer OnActionEndImpl(LongPressGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) - { - return nullptr; - } - Ark_NativePointer OnActionCancelImpl(LongPressGestureHandlerPeer* peer, - const Callback_Void* event) - { - return nullptr; - } - } // LongPressGestureHandlerAccessor - namespace PanGestureHandlerAccessor { - void DestroyPeerImpl(PanGestureHandlerPeer* peer) - { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } - } - Ark_NativePointer CtorImpl(const Opt_PanGestureHandlerOptions* options) - { - return new PanGestureHandlerPeer(options); - } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - Ark_NativePointer OnActionStartImpl(PanGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) - { - return nullptr; - } - Ark_NativePointer OnActionUpdateImpl(PanGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) - { - return nullptr; - } - Ark_NativePointer OnActionEndImpl(PanGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) - { - return nullptr; - } - Ark_NativePointer OnActionCancelImpl(PanGestureHandlerPeer* peer, - const Callback_Void* event) - { - return nullptr; - } - } // PanGestureHandlerAccessor - namespace SwipeGestureHandlerAccessor { - void DestroyPeerImpl(SwipeGestureHandlerPeer* peer) - { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } - } - Ark_NativePointer CtorImpl(const Opt_SwipeGestureHandlerOptions* options) - { - return new SwipeGestureHandlerPeer(options); - } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - Ark_NativePointer OnActionImpl(SwipeGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) - { - return nullptr; - } - } // SwipeGestureHandlerAccessor - namespace PinchGestureHandlerAccessor { - void DestroyPeerImpl(PinchGestureHandlerPeer* peer) - { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } - } - Ark_NativePointer CtorImpl(const Opt_PinchGestureHandlerOptions* options) - { - return new PinchGestureHandlerPeer(options); - } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - Ark_NativePointer OnActionStartImpl(PinchGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) - { - return nullptr; - } - Ark_NativePointer OnActionUpdateImpl(PinchGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) - { - return nullptr; - } - Ark_NativePointer OnActionEndImpl(PinchGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) - { - return nullptr; - } - Ark_NativePointer OnActionCancelImpl(PinchGestureHandlerPeer* peer, - const Callback_Void* event) - { - return nullptr; - } - } // PinchGestureHandlerAccessor - namespace RotationGestureHandlerAccessor { - void DestroyPeerImpl(RotationGestureHandlerPeer* peer) - { - auto peerImpl = reinterpret_cast(peer); - if (peerImpl) { - delete peerImpl; - } - } - Ark_NativePointer CtorImpl(const Opt_RotationGestureHandlerOptions* options) - { - return new RotationGestureHandlerPeer(options); - } - Ark_NativePointer GetFinalizerImpl() - { - return reinterpret_cast(&DestroyPeerImpl); - } - Ark_NativePointer OnActionStartImpl(RotationGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) - { - return nullptr; - } - Ark_NativePointer OnActionUpdateImpl(RotationGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) - { - return nullptr; - } - Ark_NativePointer OnActionEndImpl(RotationGestureHandlerPeer* peer, - const Callback_GestureEvent_Void* event) - { - return nullptr; - } - Ark_NativePointer OnActionCancelImpl(RotationGestureHandlerPeer* peer, - const Callback_Void* event) - { - return nullptr; - } - } // RotationGestureHandlerAccessor namespace ScrollableTargetInfoAccessor { void DestroyPeerImpl(ScrollableTargetInfoPeer* peer) { @@ -15719,6 +15634,25 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct DrawingCanvasPeer { virtual ~DrawingCanvasPeer() = default; }; + const GENERATED_ArkUILengthMetricsAccessor* GetLengthMetricsAccessor() + { + static const GENERATED_ArkUILengthMetricsAccessor LengthMetricsAccessorImpl { + LengthMetricsAccessor::DestroyPeerImpl, + LengthMetricsAccessor::CtorImpl, + LengthMetricsAccessor::GetFinalizerImpl, + LengthMetricsAccessor::PxImpl, + LengthMetricsAccessor::ResourceImpl, + LengthMetricsAccessor::GetUnitImpl, + LengthMetricsAccessor::SetUnitImpl, + LengthMetricsAccessor::GetValueImpl, + LengthMetricsAccessor::SetValueImpl, + }; + return &LengthMetricsAccessorImpl; + } + + struct LengthMetricsPeer { + virtual ~LengthMetricsPeer() = default; + }; const GENERATED_ArkUIWebviewControllerAccessor* GetWebviewControllerAccessor() { static const GENERATED_ArkUIWebviewControllerAccessor WebviewControllerAccessorImpl { @@ -15734,6 +15668,36 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct WebviewControllerPeer { virtual ~WebviewControllerPeer() = default; }; + const GENERATED_ArkUIGlobalScope_ohos_arkui_componentSnapshotAccessor* GetGlobalScope_ohos_arkui_componentSnapshotAccessor() + { + static const GENERATED_ArkUIGlobalScope_ohos_arkui_componentSnapshotAccessor GlobalScope_ohos_arkui_componentSnapshotAccessorImpl { + GlobalScope_ohos_arkui_componentSnapshotAccessor::DestroyPeerImpl, + GlobalScope_ohos_arkui_componentSnapshotAccessor::CtorImpl, + GlobalScope_ohos_arkui_componentSnapshotAccessor::GetFinalizerImpl, + GlobalScope_ohos_arkui_componentSnapshotAccessor::GetImpl, + }; + return &GlobalScope_ohos_arkui_componentSnapshotAccessorImpl; + } + + struct GlobalScope_ohos_arkui_componentSnapshotPeer { + virtual ~GlobalScope_ohos_arkui_componentSnapshotPeer() = default; + }; + const GENERATED_ArkUIGlobalScope_ohos_arkui_performanceMonitorAccessor* GetGlobalScope_ohos_arkui_performanceMonitorAccessor() + { + static const GENERATED_ArkUIGlobalScope_ohos_arkui_performanceMonitorAccessor GlobalScope_ohos_arkui_performanceMonitorAccessorImpl { + GlobalScope_ohos_arkui_performanceMonitorAccessor::DestroyPeerImpl, + GlobalScope_ohos_arkui_performanceMonitorAccessor::CtorImpl, + GlobalScope_ohos_arkui_performanceMonitorAccessor::GetFinalizerImpl, + GlobalScope_ohos_arkui_performanceMonitorAccessor::BeginImpl, + GlobalScope_ohos_arkui_performanceMonitorAccessor::EndImpl, + GlobalScope_ohos_arkui_performanceMonitorAccessor::RecordInputEventTimeImpl, + }; + return &GlobalScope_ohos_arkui_performanceMonitorAccessorImpl; + } + + struct GlobalScope_ohos_arkui_performanceMonitorPeer { + virtual ~GlobalScope_ohos_arkui_performanceMonitorPeer() = default; + }; const GENERATED_ArkUIFrameNodeAccessor* GetFrameNodeAccessor() { static const GENERATED_ArkUIFrameNodeAccessor FrameNodeAccessorImpl { @@ -16381,6 +16345,23 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct ProgressMaskPeer { virtual ~ProgressMaskPeer() = default; }; + const GENERATED_ArkUIMeasurableAccessor* GetMeasurableAccessor() + { + static const GENERATED_ArkUIMeasurableAccessor MeasurableAccessorImpl { + MeasurableAccessor::DestroyPeerImpl, + MeasurableAccessor::CtorImpl, + MeasurableAccessor::GetFinalizerImpl, + MeasurableAccessor::MeasureImpl, + MeasurableAccessor::GetMarginImpl, + MeasurableAccessor::GetPaddingImpl, + MeasurableAccessor::GetBorderWidthImpl, + }; + return &MeasurableAccessorImpl; + } + + struct MeasurablePeer { + virtual ~MeasurablePeer() = default; + }; const GENERATED_ArkUIViewAccessor* GetViewAccessor() { static const GENERATED_ArkUIViewAccessor ViewAccessorImpl { @@ -16720,116 +16701,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { struct PanGestureOptionsPeer { virtual ~PanGestureOptionsPeer() = default; }; - const GENERATED_ArkUIGestureHandlerAccessor* GetGestureHandlerAccessor() - { - static const GENERATED_ArkUIGestureHandlerAccessor GestureHandlerAccessorImpl { - GestureHandlerAccessor::DestroyPeerImpl, - GestureHandlerAccessor::CtorImpl, - GestureHandlerAccessor::GetFinalizerImpl, - GestureHandlerAccessor::TagImpl, - GestureHandlerAccessor::AllowedTypesImpl, - }; - return &GestureHandlerAccessorImpl; - } - - struct GestureHandlerPeer { - virtual ~GestureHandlerPeer() = default; - }; - const GENERATED_ArkUITapGestureHandlerAccessor* GetTapGestureHandlerAccessor() - { - static const GENERATED_ArkUITapGestureHandlerAccessor TapGestureHandlerAccessorImpl { - TapGestureHandlerAccessor::DestroyPeerImpl, - TapGestureHandlerAccessor::CtorImpl, - TapGestureHandlerAccessor::GetFinalizerImpl, - TapGestureHandlerAccessor::OnActionImpl, - }; - return &TapGestureHandlerAccessorImpl; - } - - struct TapGestureHandlerPeer { - virtual ~TapGestureHandlerPeer() = default; - }; - const GENERATED_ArkUILongPressGestureHandlerAccessor* GetLongPressGestureHandlerAccessor() - { - static const GENERATED_ArkUILongPressGestureHandlerAccessor LongPressGestureHandlerAccessorImpl { - LongPressGestureHandlerAccessor::DestroyPeerImpl, - LongPressGestureHandlerAccessor::CtorImpl, - LongPressGestureHandlerAccessor::GetFinalizerImpl, - LongPressGestureHandlerAccessor::OnActionImpl, - LongPressGestureHandlerAccessor::OnActionEndImpl, - LongPressGestureHandlerAccessor::OnActionCancelImpl, - }; - return &LongPressGestureHandlerAccessorImpl; - } - - struct LongPressGestureHandlerPeer { - virtual ~LongPressGestureHandlerPeer() = default; - }; - const GENERATED_ArkUIPanGestureHandlerAccessor* GetPanGestureHandlerAccessor() - { - static const GENERATED_ArkUIPanGestureHandlerAccessor PanGestureHandlerAccessorImpl { - PanGestureHandlerAccessor::DestroyPeerImpl, - PanGestureHandlerAccessor::CtorImpl, - PanGestureHandlerAccessor::GetFinalizerImpl, - PanGestureHandlerAccessor::OnActionStartImpl, - PanGestureHandlerAccessor::OnActionUpdateImpl, - PanGestureHandlerAccessor::OnActionEndImpl, - PanGestureHandlerAccessor::OnActionCancelImpl, - }; - return &PanGestureHandlerAccessorImpl; - } - - struct PanGestureHandlerPeer { - virtual ~PanGestureHandlerPeer() = default; - }; - const GENERATED_ArkUISwipeGestureHandlerAccessor* GetSwipeGestureHandlerAccessor() - { - static const GENERATED_ArkUISwipeGestureHandlerAccessor SwipeGestureHandlerAccessorImpl { - SwipeGestureHandlerAccessor::DestroyPeerImpl, - SwipeGestureHandlerAccessor::CtorImpl, - SwipeGestureHandlerAccessor::GetFinalizerImpl, - SwipeGestureHandlerAccessor::OnActionImpl, - }; - return &SwipeGestureHandlerAccessorImpl; - } - - struct SwipeGestureHandlerPeer { - virtual ~SwipeGestureHandlerPeer() = default; - }; - const GENERATED_ArkUIPinchGestureHandlerAccessor* GetPinchGestureHandlerAccessor() - { - static const GENERATED_ArkUIPinchGestureHandlerAccessor PinchGestureHandlerAccessorImpl { - PinchGestureHandlerAccessor::DestroyPeerImpl, - PinchGestureHandlerAccessor::CtorImpl, - PinchGestureHandlerAccessor::GetFinalizerImpl, - PinchGestureHandlerAccessor::OnActionStartImpl, - PinchGestureHandlerAccessor::OnActionUpdateImpl, - PinchGestureHandlerAccessor::OnActionEndImpl, - PinchGestureHandlerAccessor::OnActionCancelImpl, - }; - return &PinchGestureHandlerAccessorImpl; - } - - struct PinchGestureHandlerPeer { - virtual ~PinchGestureHandlerPeer() = default; - }; - const GENERATED_ArkUIRotationGestureHandlerAccessor* GetRotationGestureHandlerAccessor() - { - static const GENERATED_ArkUIRotationGestureHandlerAccessor RotationGestureHandlerAccessorImpl { - RotationGestureHandlerAccessor::DestroyPeerImpl, - RotationGestureHandlerAccessor::CtorImpl, - RotationGestureHandlerAccessor::GetFinalizerImpl, - RotationGestureHandlerAccessor::OnActionStartImpl, - RotationGestureHandlerAccessor::OnActionUpdateImpl, - RotationGestureHandlerAccessor::OnActionEndImpl, - RotationGestureHandlerAccessor::OnActionCancelImpl, - }; - return &RotationGestureHandlerAccessorImpl; - } - - struct RotationGestureHandlerPeer { - virtual ~RotationGestureHandlerPeer() = default; - }; const GENERATED_ArkUIScrollableTargetInfoAccessor* GetScrollableTargetInfoAccessor() { static const GENERATED_ArkUIScrollableTargetInfoAccessor ScrollableTargetInfoAccessorImpl { @@ -18045,7 +17916,10 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetUnifiedDataAccessor, GetLazyForEachOpsAccessor, GetDrawingCanvasAccessor, + GetLengthMetricsAccessor, GetWebviewControllerAccessor, + GetGlobalScope_ohos_arkui_componentSnapshotAccessor, + GetGlobalScope_ohos_arkui_performanceMonitorAccessor, GetFrameNodeAccessor, GetPixelMapAccessor, GetNavExtenderAccessor, @@ -18075,6 +17949,7 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetDragEventAccessor, GetKeyEventAccessor, GetProgressMaskAccessor, + GetMeasurableAccessor, GetViewAccessor, GetTextContentControllerBaseAccessor, GetDynamicNodeAccessor, @@ -18094,13 +17969,6 @@ namespace OHOS::Ace::NG::GeneratedModifier { GetSwipeGestureEventAccessor, GetGestureEventAccessor, GetPanGestureOptionsAccessor, - GetGestureHandlerAccessor, - GetTapGestureHandlerAccessor, - GetLongPressGestureHandlerAccessor, - GetPanGestureHandlerAccessor, - GetSwipeGestureHandlerAccessor, - GetPinchGestureHandlerAccessor, - GetRotationGestureHandlerAccessor, GetScrollableTargetInfoAccessor, GetEventTargetInfoAccessor, GetGestureRecognizerAccessor, -- Gitee From 7d17918288d930a28f9566c00bf1411b242e609e Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Wed, 5 Feb 2025 16:37:45 +0300 Subject: [PATCH 5/9] Temp Signed-off-by: Nikolay Igotti --- arkoala-arkts/arkui/src/generated/index.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arkoala-arkts/arkui/src/generated/index.ts b/arkoala-arkts/arkui/src/generated/index.ts index 09d05192f..64c88727c 100644 --- a/arkoala-arkts/arkui/src/generated/index.ts +++ b/arkoala-arkts/arkui/src/generated/index.ts @@ -250,3 +250,9 @@ export * from "./ArkLinearindicatorInterfaces" export * from "./ArkRawFileDescriptorInterfaces" export * from "./GlobalScope" export * from "./ArkMeasurableMaterialized" +export * from "./ArkNavPathStackMaterialized" +export * from "./ArkClickEventMaterialized" +export * from "./ArkTabsControllerMaterialized" + + + -- Gitee From ded638418d2028f541791dfc1633fe5ab385be8e Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Wed, 5 Feb 2025 16:45:14 +0300 Subject: [PATCH 6/9] Compiles Signed-off-by: Nikolay Igotti --- arkoala-arkts/arkui/src/generated/index.ts | 126 +++++++++++++++++- .../peers/CallbackDeserializeCall.ts | 2 +- .../src/peers/CallbackDeserializeCall.ts | 2 +- .../generated/callback_deserialize_call.cc | 4 +- 4 files changed, 125 insertions(+), 9 deletions(-) diff --git a/arkoala-arkts/arkui/src/generated/index.ts b/arkoala-arkts/arkui/src/generated/index.ts index 64c88727c..18f0f293d 100644 --- a/arkoala-arkts/arkui/src/generated/index.ts +++ b/arkoala-arkts/arkui/src/generated/index.ts @@ -248,11 +248,127 @@ export * from "./ArkUiExtensionComponentInterfaces" export * from "./ArkStyledStringInterfaces" export * from "./ArkLinearindicatorInterfaces" export * from "./ArkRawFileDescriptorInterfaces" -export * from "./GlobalScope" +export * from "./ArkAnimationExtenderMaterialized" +export * from "./ArkUnifiedDataMaterialized" +export * from "./ArkLazyForEachOpsMaterialized" +export * from "./ArkDrawingCanvasMaterialized" +export * from "./ArkLengthMetricsMaterialized" +export * from "./ArkWebviewControllerMaterialized" +export * from "./ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized" +export * from "./ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized" +export * from "./ArkFrameNodeMaterialized" +export * from "./ArkPixelMapMaterialized" +export * from "./ArkNavExtenderMaterialized" +export * from "./ArkEventEmulatorMaterialized" +export * from "./ArkActionSheetMaterialized" +export * from "./ArkAlertDialogMaterialized" +export * from "./ArkCalendarControllerMaterialized" +export * from "./ArkCalendarPickerDialogMaterialized" +export * from "./ArkCanvasGradientMaterialized" +export * from "./ArkCanvasPathMaterialized" +export * from "./ArkPath2DMaterialized" +export * from "./ArkCanvasPatternMaterialized" +export * from "./ArkImageBitmapMaterialized" +export * from "./ArkCanvasRendererMaterialized" +export * from "./ArkCanvasRenderingContext2DMaterialized" +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 "./ArkMeasurableMaterialized" +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" +export * from "./ArkGestureRecognizerMaterialized" +export * from "./ArkPanRecognizerMaterialized" +export * from "./ArkImageAnalyzerControllerMaterialized" +export * from "./ArkListScrollerMaterialized" +export * from "./ArkMatrix2DMaterialized" +export * from "./ArkNavDestinationContextMaterialized" export * from "./ArkNavPathStackMaterialized" -export * from "./ArkClickEventMaterialized" +export * from "./ArkNavigationTransitionProxyMaterialized" +export * from "./ArkPatternLockControllerMaterialized" +export * from "./ArkRichEditorBaseControllerMaterialized" +export * from "./ArkRichEditorControllerMaterialized" +export * from "./ArkRichEditorStyledStringControllerMaterialized" +export * from "./ArkScrollerMaterialized" +export * from "./ArkSearchControllerMaterialized" +export * from "./ArkSwiperControllerMaterialized" +export * from "./ArkSwiperContentTransitionProxyMaterialized" +export * from "./ArkIndicatorComponentControllerMaterialized" export * from "./ArkTabsControllerMaterialized" - - - +export * from "./ArkTabContentTransitionProxyMaterialized" +export * from "./ArkTextControllerMaterialized" +export * from "./ArkTextAreaControllerMaterialized" +export * from "./ArkTextClockControllerMaterialized" +export * from "./ArkTextBaseControllerMaterialized" +export * from "./ArkTextEditControllerExMaterialized" +export * from "./ArkStyledStringControllerMaterialized" +export * from "./ArkLayoutManagerMaterialized" +export * from "./ArkTextMenuItemIdMaterialized" +export * from "./ArkEditMenuOptionsMaterialized" +export * from "./ArkSubmitEventMaterialized" +export * from "./ArkTextInputControllerMaterialized" +export * from "./ArkTextPickerDialogMaterialized" +export * from "./ArkTextTimerControllerMaterialized" +export * from "./ArkTimePickerDialogMaterialized" +export * from "./ArkVideoControllerMaterialized" +export * from "./ArkWebKeyboardControllerMaterialized" +export * from "./ArkFullScreenExitHandlerMaterialized" +export * from "./ArkFileSelectorParamMaterialized" +export * from "./ArkJsResultMaterialized" +export * from "./ArkFileSelectorResultMaterialized" +export * from "./ArkHttpAuthHandlerMaterialized" +export * from "./ArkSslErrorHandlerMaterialized" +export * from "./ArkClientAuthenticationHandlerMaterialized" +export * from "./ArkPermissionRequestMaterialized" +export * from "./ArkScreenCaptureHandlerMaterialized" +export * from "./ArkDataResubmissionHandlerMaterialized" +export * from "./ArkControllerHandlerMaterialized" +export * from "./ArkWebContextMenuParamMaterialized" +export * from "./ArkWebContextMenuResultMaterialized" +export * from "./ArkConsoleMessageMaterialized" +export * from "./ArkWebResourceRequestMaterialized" +export * from "./ArkWebResourceResponseMaterialized" +export * from "./ArkWebResourceErrorMaterialized" +export * from "./ArkJsGeolocationMaterialized" +export * from "./ArkWebCookieMaterialized" +export * from "./ArkEventResultMaterialized" +export * from "./ArkWebControllerMaterialized" +export * from "./ArkXComponentControllerMaterialized" +export * from "./ArkWaterFlowSectionsMaterialized" +export * from "./ArkUIExtensionProxyMaterialized" +export * from "./ArkStyledStringMaterialized" +export * from "./ArkMutableStyledStringMaterialized" +export * from "./ArkCustomSpanMaterialized" +export * from "./ArkLinearIndicatorControllerMaterialized" +export * from "./ArkGlobalScopeInspectorMaterialized" +export * from "./GlobalScope" \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts b/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts index bcf26d8e4..7e61f089d 100644 --- a/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts +++ b/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts @@ -2225,5 +2225,5 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer) { case -1829763354/*CallbackKind.Kind_WebKeyboardCallback*/: return deserializeAndCallWebKeyboardCallback(thisDeserializer); case 219587748/*CallbackKind.Kind_WithThemeInterface*/: return deserializeAndCallWithThemeInterface(thisDeserializer); } - throw new Error("Unknown callback kind") + console.log("Unknown callback kind") } \ No newline at end of file diff --git a/arkoala/arkui/src/peers/CallbackDeserializeCall.ts b/arkoala/arkui/src/peers/CallbackDeserializeCall.ts index 283e43fbb..60cbd54eb 100644 --- a/arkoala/arkui/src/peers/CallbackDeserializeCall.ts +++ b/arkoala/arkui/src/peers/CallbackDeserializeCall.ts @@ -2154,6 +2154,6 @@ export function deserializeAndCallCallback(thisDeserializer: Deserializer) { case -1829763354/*CallbackKind.Kind_WebKeyboardCallback*/: return deserializeAndCallWebKeyboardCallback(thisDeserializer); case 219587748/*CallbackKind.Kind_WithThemeInterface*/: return deserializeAndCallWithThemeInterface(thisDeserializer); } - throw new Error("Unknown callback kind") + console.log("Unknown callback kind") } wrapSystemCallback(1, (buff:Uint8Array, len:int32) => { deserializeAndCallCallback(new Deserializer(buff.buffer, len)); return 0 }) \ 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 9a56dbcab..7e9b0855a 100644 --- a/arkoala/framework/native/src/generated/callback_deserialize_call.cc +++ b/arkoala/framework/native/src/generated/callback_deserialize_call.cc @@ -5550,7 +5550,7 @@ void deserializeAndCallCallback(Ark_Int32 kind, uint8_t* thisArray, Ark_Int32 th case -1829763354/*Kind_WebKeyboardCallback*/: return deserializeAndCallWebKeyboardCallback(thisArray, thisLength); case 219587748/*Kind_WithThemeInterface*/: return deserializeAndCallWithThemeInterface(thisArray, thisLength); } - throw "Unknown callback kind"; + printf("Unknown callback kind\n"); } void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, uint8_t* thisArray, Ark_Int32 thisLength) { @@ -5794,5 +5794,5 @@ void deserializeAndCallCallbackSync(Ark_VMContext vmContext, Ark_Int32 kind, uin case -1829763354/*Kind_WebKeyboardCallback*/: return deserializeAndCallSyncWebKeyboardCallback(vmContext, thisArray, thisLength); case 219587748/*Kind_WithThemeInterface*/: return deserializeAndCallSyncWithThemeInterface(vmContext, thisArray, thisLength); } - throw "Unknown callback kind"; + printf("Unknown callback kind\n"); } \ No newline at end of file -- Gitee From 337ae9f867a393bf0eb0d89ed19b714d8458d94d Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Thu, 6 Feb 2025 17:17:58 +0300 Subject: [PATCH 7/9] 2.0.19 Signed-off-by: Nikolay Igotti --- arkoala-arkts/arkui/src/generated/GlobalScope.ts | 2 +- arkoala/arkui/src/ArkCanvasPatternMaterialized.ts | 1 + arkoala/arkui/src/ArkDragEventMaterialized.ts | 1 + arkoala/arkui/src/ArkNavDestinationContextMaterialized.ts | 1 + arkoala/arkui/src/ArkStyledStringControllerMaterialized.ts | 2 ++ arkoala/arkui/src/GlobalScope.ts | 4 ++-- .../framework/native/src/generated/arkoala_api_generated.h | 3 ++- arkoala/framework/native/src/generated/dummy_impl.cc | 1 + arkoala/framework/native/src/generated/real_impl.cc | 1 + arkoala/tools/peer-generator/package.json | 2 +- 10 files changed, 13 insertions(+), 5 deletions(-) diff --git a/arkoala-arkts/arkui/src/generated/GlobalScope.ts b/arkoala-arkts/arkui/src/generated/GlobalScope.ts index fa9f58875..065d01e9e 100644 --- a/arkoala-arkts/arkui/src/generated/GlobalScope.ts +++ b/arkoala-arkts/arkui/src/generated/GlobalScope.ts @@ -16,11 +16,11 @@ // WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! +import { GlobalScope_common } from "./ArkGlobalScopeCommonMaterialized" 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) diff --git a/arkoala/arkui/src/ArkCanvasPatternMaterialized.ts b/arkoala/arkui/src/ArkCanvasPatternMaterialized.ts index a2266a517..358895416 100644 --- a/arkoala/arkui/src/ArkCanvasPatternMaterialized.ts +++ b/arkoala/arkui/src/ArkCanvasPatternMaterialized.ts @@ -1,3 +1,4 @@ +import { Matrix2D } from "./ArkMatrix2DMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" diff --git a/arkoala/arkui/src/ArkDragEventMaterialized.ts b/arkoala/arkui/src/ArkDragEventMaterialized.ts index 9f2dd2d94..50802a50f 100644 --- a/arkoala/arkui/src/ArkDragEventMaterialized.ts +++ b/arkoala/arkui/src/ArkDragEventMaterialized.ts @@ -1,3 +1,4 @@ +import { UnifiedData } from "./ArkUnifiedDataMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" diff --git a/arkoala/arkui/src/ArkNavDestinationContextMaterialized.ts b/arkoala/arkui/src/ArkNavDestinationContextMaterialized.ts index 0c47250a6..42e6b7568 100644 --- a/arkoala/arkui/src/ArkNavDestinationContextMaterialized.ts +++ b/arkoala/arkui/src/ArkNavDestinationContextMaterialized.ts @@ -1,3 +1,4 @@ +import { NavPathStack } from "./ArkNavPathStackMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" diff --git a/arkoala/arkui/src/ArkStyledStringControllerMaterialized.ts b/arkoala/arkui/src/ArkStyledStringControllerMaterialized.ts index 567c4c4a3..9460c1809 100644 --- a/arkoala/arkui/src/ArkStyledStringControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkStyledStringControllerMaterialized.ts @@ -1,3 +1,5 @@ +import { StyledString } from "./ArkStyledStringMaterialized" +import { MutableStyledString } from "./ArkMutableStyledStringMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" diff --git a/arkoala/arkui/src/GlobalScope.ts b/arkoala/arkui/src/GlobalScope.ts index 29a81abd3..9ec9ef88a 100644 --- a/arkoala/arkui/src/GlobalScope.ts +++ b/arkoala/arkui/src/GlobalScope.ts @@ -16,8 +16,8 @@ // 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" +import { GlobalScope_common } from "./ArkGlobalScopeCommonMaterialized" +import { GlobalScope_inspector } from "./ArkGlobalScopeInspectorMaterialized" export function getContext(component: Object) { return GlobalScope_common.getContext(component) } diff --git a/arkoala/framework/native/src/generated/arkoala_api_generated.h b/arkoala/framework/native/src/generated/arkoala_api_generated.h index 737dca039..1dec22e24 100644 --- a/arkoala/framework/native/src/generated/arkoala_api_generated.h +++ b/arkoala/framework/native/src/generated/arkoala_api_generated.h @@ -25,6 +25,7 @@ #define _INTEROP_TYPES_H_ #include + #define INTEROP_FATAL(msg, ...) fprintf(stderr, msg "\n", ##__VA_ARGS__); abort(); typedef enum InteropTag @@ -154,7 +155,7 @@ typedef struct InteropBuffer { // The only include allowed in this file! Do not add anything else ever. #include -#define GENERATED_ARKUI_FULL_API_VERSION 115 +#define GENERATED_ARKUI_FULL_API_VERSION 116 #define GENERATED_ARKUI_NODE_API_VERSION GENERATED_ARKUI_FULL_API_VERSION #define GENERATED_ARKUI_BASIC_NODE_API_VERSION 1 diff --git a/arkoala/framework/native/src/generated/dummy_impl.cc b/arkoala/framework/native/src/generated/dummy_impl.cc index 9c2088d81..a70dd92ff 100644 --- a/arkoala/framework/native/src/generated/dummy_impl.cc +++ b/arkoala/framework/native/src/generated/dummy_impl.cc @@ -777,6 +777,7 @@ Ark_PipelineContext GetPipelineContext(Ark_NodeHandle node) { return (Ark_PipelineContext)42; } void SetVsyncCallback(Ark_PipelineContext pipelineContext, Ark_VsyncCallback callback) { + using namespace std::chrono_literals; auto producer = std::thread([pipelineContext, callback] { while (true) { std::this_thread::sleep_for(1000ms); diff --git a/arkoala/framework/native/src/generated/real_impl.cc b/arkoala/framework/native/src/generated/real_impl.cc index dfe1aaa34..ab0c645d5 100644 --- a/arkoala/framework/native/src/generated/real_impl.cc +++ b/arkoala/framework/native/src/generated/real_impl.cc @@ -777,6 +777,7 @@ Ark_PipelineContext GetPipelineContext(Ark_NodeHandle node) { return (Ark_PipelineContext)42; } void SetVsyncCallback(Ark_PipelineContext pipelineContext, Ark_VsyncCallback callback) { + using namespace std::chrono_literals; auto producer = std::thread([pipelineContext, callback] { while (true) { std::this_thread::sleep_for(1000ms); diff --git a/arkoala/tools/peer-generator/package.json b/arkoala/tools/peer-generator/package.json index c05559876..c559375a5 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.18", + "idlize_version": "2.0.19", "api_version": "115", "input_dir": "../../arkui-common/interface_sdk-js/api/@internal/component/ets/,../../arkui-common/interface_sdk-js/api/global" }, -- Gitee From 1c1463c75a414aeb6a4612287571571cec6d51e6 Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Thu, 6 Feb 2025 17:19:27 +0300 Subject: [PATCH 8/9] Update Signed-off-by: Nikolay Igotti --- arkoala/framework/native/src/generated/arkoala_api_generated.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arkoala/framework/native/src/generated/arkoala_api_generated.h b/arkoala/framework/native/src/generated/arkoala_api_generated.h index 1dec22e24..bfb132d27 100644 --- a/arkoala/framework/native/src/generated/arkoala_api_generated.h +++ b/arkoala/framework/native/src/generated/arkoala_api_generated.h @@ -155,7 +155,7 @@ typedef struct InteropBuffer { // The only include allowed in this file! Do not add anything else ever. #include -#define GENERATED_ARKUI_FULL_API_VERSION 116 +#define GENERATED_ARKUI_FULL_API_VERSION 115 #define GENERATED_ARKUI_NODE_API_VERSION GENERATED_ARKUI_FULL_API_VERSION #define GENERATED_ARKUI_BASIC_NODE_API_VERSION 1 -- Gitee From f1e94e048313ff68f21d38efe1b4473b5cdc2bee Mon Sep 17 00:00:00 2001 From: Nikolay Igotti Date: Thu, 6 Feb 2025 18:08:45 +0300 Subject: [PATCH 9/9] Restored copyright Signed-off-by: Nikolay Igotti --- .../ArkAbilityComponentInterfaces.ts | 20 +- .../ArkAccessibilityHoverEventMaterialized.ts | 20 +- .../src/generated/ArkActionSheetInterfaces.ts | 20 +- .../generated/ArkActionSheetMaterialized.ts | 20 +- .../src/generated/ArkAlertDialogInterfaces.ts | 20 +- .../generated/ArkAlertDialogMaterialized.ts | 20 +- .../generated/ArkAlphabetIndexerInterfaces.ts | 20 +- .../ArkAnimationExtenderInterfaces.ts | 20 +- .../ArkAnimationExtenderMaterialized.ts | 20 +- .../src/generated/ArkAnimatorInterfaces.ts | 20 +- .../generated/ArkArkui-customInterfaces.ts | 20 +- .../generated/ArkArkui-externalInterfaces.ts | 20 +- .../arkui/src/generated/ArkBadgeInterfaces.ts | 20 +- .../src/generated/ArkBaseEventMaterialized.ts | 20 +- .../ArkBaseGestureEventMaterialized.ts | 20 +- .../arkui/src/generated/ArkBlankInterfaces.ts | 20 +- .../src/generated/ArkButtonInterfaces.ts | 20 +- .../ArkCalendarControllerMaterialized.ts | 20 +- .../src/generated/ArkCalendarInterfaces.ts | 20 +- .../ArkCalendarPickerDialogMaterialized.ts | 20 +- .../generated/ArkCalendarPickerInterfaces.ts | 20 +- .../ArkCanvasGradientMaterialized.ts | 20 +- .../src/generated/ArkCanvasInterfaces.ts | 20 +- .../generated/ArkCanvasPathMaterialized.ts | 20 +- .../generated/ArkCanvasPatternMaterialized.ts | 20 +- .../ArkCanvasRendererMaterialized.ts | 20 +- ...ArkCanvasRenderingContext2DMaterialized.ts | 20 +- .../src/generated/ArkCheckboxInterfaces.ts | 20 +- .../generated/ArkCheckboxgroupInterfaces.ts | 20 +- .../ArkChildrenMainSizeMaterialized.ts | 20 +- .../src/generated/ArkCircleInterfaces.ts | 20 +- .../generated/ArkClickEventMaterialized.ts | 20 +- ...ClientAuthenticationHandlerMaterialized.ts | 20 +- .../src/generated/ArkColumnInterfaces.ts | 20 +- .../src/generated/ArkColumnSplitInterfaces.ts | 20 +- .../src/generated/ArkCommonInterfaces.ts | 20 +- .../generated/ArkCommonTsEtsApiInterfaces.ts | 20 +- .../src/generated/ArkComponent3dInterfaces.ts | 20 +- .../ArkConsoleMessageMaterialized.ts | 20 +- .../generated/ArkContainerSpanInterfaces.ts | 20 +- .../src/generated/ArkContentSlotInterfaces.ts | 20 +- .../generated/ArkContextMenuMaterialized.ts | 20 +- .../ArkControllerHandlerMaterialized.ts | 20 +- .../src/generated/ArkCounterInterfaces.ts | 20 +- .../ArkCustomDialogControllerInterfaces.ts | 20 +- .../ArkCustomDialogControllerMaterialized.ts | 20 +- .../generated/ArkCustomSpanMaterialized.ts | 20 +- .../src/generated/ArkDataPanelInterfaces.ts | 20 +- .../ArkDataResubmissionHandlerMaterialized.ts | 20 +- .../ArkDatePickerDialogMaterialized.ts | 20 +- .../src/generated/ArkDatePickerInterfaces.ts | 20 +- .../src/generated/ArkDividerInterfaces.ts | 20 +- .../src/generated/ArkDragEventMaterialized.ts | 20 +- .../generated/ArkDrawModifierMaterialized.ts | 20 +- .../generated/ArkDrawingCanvasMaterialized.ts | 20 +- .../ArkDrawingRenderingContextMaterialized.ts | 20 +- .../generated/ArkDynamicNodeMaterialized.ts | 20 +- .../ArkEditMenuOptionsMaterialized.ts | 20 +- .../generated/ArkEffectComponentInterfaces.ts | 20 +- .../src/generated/ArkEllipseInterfaces.ts | 20 +- .../ArkEmbeddedComponentInterfaces.ts | 20 +- .../arkui/src/generated/ArkEnumsInterfaces.ts | 20 +- .../generated/ArkEventEmulatorMaterialized.ts | 20 +- .../generated/ArkEventResultMaterialized.ts | 20 +- .../ArkEventTargetInfoMaterialized.ts | 20 +- .../ArkFileSelectorParamMaterialized.ts | 20 +- .../ArkFileSelectorResultMaterialized.ts | 20 +- .../arkui/src/generated/ArkFlexInterfaces.ts | 20 +- .../src/generated/ArkFlowItemInterfaces.ts | 20 +- .../arkui/src/generated/ArkFocusInterfaces.ts | 20 +- .../src/generated/ArkFolderStackInterfaces.ts | 20 +- .../generated/ArkFormComponentInterfaces.ts | 20 +- .../src/generated/ArkFormLinkInterfaces.ts | 20 +- .../src/generated/ArkFrameNodeMaterialized.ts | 20 +- .../ArkFullScreenExitHandlerMaterialized.ts | 20 +- .../arkui/src/generated/ArkGaugeInterfaces.ts | 20 +- .../generated/ArkGestureControlNamespace.ts | 20 +- .../generated/ArkGestureEventMaterialized.ts | 20 +- .../src/generated/ArkGestureInterfaces.ts | 20 +- .../ArkGestureModifierMaterialized.ts | 20 +- .../ArkGestureRecognizerMaterialized.ts | 20 +- .../ArkGlobalScopeCommonMaterialized.ts | 45 +- .../ArkGlobalScopeInspectorMaterialized.ts | 45 +- ...eOhosArkuiComponentSnapshotMaterialized.ts | 20 +- ...OhosArkuiPerformanceMonitorMaterialized.ts | 20 +- .../src/generated/ArkGridColInterfaces.ts | 20 +- .../generated/ArkGridContainerInterfaces.ts | 20 +- .../arkui/src/generated/ArkGridInterfaces.ts | 20 +- .../src/generated/ArkGridItemInterfaces.ts | 20 +- .../src/generated/ArkGridRowInterfaces.ts | 20 +- .../generated/ArkHoverEventMaterialized.ts | 20 +- .../ArkHttpAuthHandlerMaterialized.ts | 20 +- .../src/generated/ArkHyperlinkInterfaces.ts | 20 +- .../src/generated/ArkICurveMaterialized.ts | 20 +- .../ArkImageAnalyzerControllerMaterialized.ts | 20 +- .../generated/ArkImageAnimatorInterfaces.ts | 20 +- .../generated/ArkImageBitmapMaterialized.ts | 20 +- .../src/generated/ArkImageCommonInterfaces.ts | 20 +- .../arkui/src/generated/ArkImageInterfaces.ts | 20 +- .../src/generated/ArkImageSpanInterfaces.ts | 20 +- ...ndicatorComponentControllerMaterialized.ts | 20 +- .../ArkIndicatorcomponentInterfaces.ts | 20 +- .../ArkIsolatedComponentInterfaces.ts | 20 +- .../generated/ArkJsGeolocationMaterialized.ts | 20 +- .../src/generated/ArkJsResultMaterialized.ts | 20 +- .../src/generated/ArkKeyEventMaterialized.ts | 20 +- .../generated/ArkLayoutManagerMaterialized.ts | 20 +- .../src/generated/ArkLazyForEachInterfaces.ts | 20 +- .../ArkLazyForEachOpsMaterialized.ts | 20 +- .../generated/ArkLengthMetricsMaterialized.ts | 20 +- .../arkui/src/generated/ArkLineInterfaces.ts | 20 +- ...rkLinearIndicatorControllerMaterialized.ts | 20 +- .../generated/ArkLinearindicatorInterfaces.ts | 20 +- .../arkui/src/generated/ArkListInterfaces.ts | 20 +- .../generated/ArkListItemGroupInterfaces.ts | 20 +- .../src/generated/ArkListItemInterfaces.ts | 20 +- .../generated/ArkListScrollerMaterialized.ts | 20 +- .../generated/ArkLoadingProgressInterfaces.ts | 20 +- .../generated/ArkLocationButtonInterfaces.ts | 20 +- .../ArkLongPressGestureEventMaterialized.ts | 20 +- .../src/generated/ArkMarqueeInterfaces.ts | 20 +- .../src/generated/ArkMatrix2DMaterialized.ts | 20 +- .../generated/ArkMeasurableMaterialized.ts | 20 +- .../ArkMediaCachedImageInterfaces.ts | 20 +- .../arkui/src/generated/ArkMenuInterfaces.ts | 20 +- .../generated/ArkMenuItemGroupInterfaces.ts | 20 +- .../src/generated/ArkMenuItemInterfaces.ts | 20 +- .../generated/ArkMouseEventMaterialized.ts | 20 +- .../ArkMutableStyledStringMaterialized.ts | 20 +- .../ArkNavDestinationContextMaterialized.ts | 20 +- .../generated/ArkNavDestinationInterfaces.ts | 20 +- .../generated/ArkNavExtenderMaterialized.ts | 20 +- .../generated/ArkNavPathStackMaterialized.ts | 20 +- .../src/generated/ArkNavRouterInterfaces.ts | 20 +- .../ArkNavigationExtenderInterfaces.ts | 20 +- .../src/generated/ArkNavigationInterfaces.ts | 20 +- ...rkNavigationTransitionProxyMaterialized.ts | 20 +- .../src/generated/ArkNavigatorInterfaces.ts | 20 +- .../generated/ArkNodeContainerInterfaces.ts | 20 +- .../generated/ArkPageTransitionInterfaces.ts | 20 +- .../ArkPanGestureEventMaterialized.ts | 20 +- .../ArkPanGestureOptionsMaterialized.ts | 20 +- .../generated/ArkPanRecognizerMaterialized.ts | 20 +- .../arkui/src/generated/ArkPanelInterfaces.ts | 20 +- .../src/generated/ArkParticleInterfaces.ts | 20 +- .../src/generated/ArkPasteButtonInterfaces.ts | 20 +- .../src/generated/ArkPath2DMaterialized.ts | 20 +- .../arkui/src/generated/ArkPathInterfaces.ts | 20 +- .../ArkPatternLockControllerMaterialized.ts | 20 +- .../src/generated/ArkPatternLockInterfaces.ts | 20 +- .../ArkPermissionRequestMaterialized.ts | 20 +- .../ArkPinchGestureEventMaterialized.ts | 20 +- .../src/generated/ArkPixelMapMaterialized.ts | 20 +- .../generated/ArkPixelMapMockMaterialized.ts | 20 +- .../generated/ArkPluginComponentInterfaces.ts | 20 +- .../arkui/src/generated/ArkPointInterfaces.ts | 20 +- .../src/generated/ArkPolygonInterfaces.ts | 20 +- .../src/generated/ArkPolylineInterfaces.ts | 20 +- .../src/generated/ArkProgressInterfaces.ts | 20 +- .../generated/ArkProgressMaskMaterialized.ts | 20 +- .../src/generated/ArkQrcodeInterfaces.ts | 20 +- .../arkui/src/generated/ArkRadioInterfaces.ts | 20 +- .../src/generated/ArkRatingInterfaces.ts | 20 +- .../ArkRawFileDescriptorInterfaces.ts | 20 +- .../arkui/src/generated/ArkRectInterfaces.ts | 20 +- .../src/generated/ArkRefreshInterfaces.ts | 20 +- .../ArkRelativeContainerInterfaces.ts | 20 +- .../generated/ArkRemoteWindowInterfaces.ts | 20 +- .../src/generated/ArkRepeatInterfaces.ts | 20 +- .../src/generated/ArkResourceInterfaces.ts | 20 +- ...ArkRichEditorBaseControllerMaterialized.ts | 20 +- .../ArkRichEditorControllerMaterialized.ts | 20 +- .../src/generated/ArkRichEditorInterfaces.ts | 20 +- ...ditorStyledStringControllerMaterialized.ts | 20 +- .../src/generated/ArkRichTextInterfaces.ts | 20 +- .../src/generated/ArkRootSceneInterfaces.ts | 20 +- .../ArkRotationGestureEventMaterialized.ts | 20 +- .../arkui/src/generated/ArkRowInterfaces.ts | 20 +- .../src/generated/ArkRowSplitInterfaces.ts | 20 +- .../src/generated/ArkSaveButtonInterfaces.ts | 20 +- .../ArkScreenCaptureHandlerMaterialized.ts | 20 +- .../src/generated/ArkScreenInterfaces.ts | 20 +- .../src/generated/ArkScrollBarInterfaces.ts | 20 +- .../src/generated/ArkScrollInterfaces.ts | 20 +- .../ArkScrollableTargetInfoMaterialized.ts | 20 +- .../src/generated/ArkScrollerMaterialized.ts | 20 +- .../ArkSearchControllerMaterialized.ts | 20 +- .../src/generated/ArkSearchInterfaces.ts | 20 +- .../ArkSecurityComponentInterfaces.ts | 20 +- .../src/generated/ArkSelectInterfaces.ts | 20 +- .../arkui/src/generated/ArkShapeInterfaces.ts | 20 +- .../src/generated/ArkSidebarInterfaces.ts | 20 +- .../src/generated/ArkSliderInterfaces.ts | 20 +- .../arkui/src/generated/ArkSpanInterfaces.ts | 20 +- .../ArkSslErrorHandlerMaterialized.ts | 20 +- .../arkui/src/generated/ArkStackInterfaces.ts | 20 +- .../generated/ArkStateManagementInterfaces.ts | 20 +- .../ArkStaticComponentsInterfaces.ts | 20 +- .../src/generated/ArkStdlibInterfaces.ts | 20 +- .../src/generated/ArkStepperInterfaces.ts | 20 +- .../src/generated/ArkStepperItemInterfaces.ts | 20 +- .../ArkStyledStringControllerMaterialized.ts | 20 +- .../generated/ArkStyledStringInterfaces.ts | 20 +- .../generated/ArkStyledStringMaterialized.ts | 20 +- .../generated/ArkSubmitEventMaterialized.ts | 20 +- .../ArkSwipeGestureEventMaterialized.ts | 20 +- ...wiperContentTransitionProxyMaterialized.ts | 20 +- .../ArkSwiperControllerMaterialized.ts | 20 +- .../src/generated/ArkSwiperInterfaces.ts | 20 +- .../src/generated/ArkSymbolSpanInterfaces.ts | 20 +- .../src/generated/ArkSymbolglyphInterfaces.ts | 20 +- .../src/generated/ArkTabContentInterfaces.ts | 20 +- ...rkTabContentTransitionProxyMaterialized.ts | 20 +- .../ArkTabsControllerMaterialized.ts | 20 +- .../arkui/src/generated/ArkTabsInterfaces.ts | 20 +- .../ArkTapGestureEventMaterialized.ts | 20 +- .../ArkTextAreaControllerMaterialized.ts | 20 +- .../src/generated/ArkTextAreaInterfaces.ts | 20 +- .../ArkTextBaseControllerMaterialized.ts | 20 +- .../ArkTextClockControllerMaterialized.ts | 20 +- .../src/generated/ArkTextClockInterfaces.ts | 20 +- .../src/generated/ArkTextCommonInterfaces.ts | 20 +- ...rkTextContentControllerBaseMaterialized.ts | 20 +- .../ArkTextControllerMaterialized.ts | 20 +- .../ArkTextEditControllerExMaterialized.ts | 20 +- .../ArkTextInputControllerMaterialized.ts | 20 +- .../src/generated/ArkTextInputInterfaces.ts | 20 +- .../arkui/src/generated/ArkTextInterfaces.ts | 20 +- .../ArkTextMenuItemIdMaterialized.ts | 20 +- .../ArkTextPickerDialogMaterialized.ts | 20 +- .../src/generated/ArkTextPickerInterfaces.ts | 20 +- .../ArkTextTimerControllerMaterialized.ts | 20 +- .../src/generated/ArkTextTimerInterfaces.ts | 20 +- .../ArkTimePickerDialogMaterialized.ts | 20 +- .../src/generated/ArkTimePickerInterfaces.ts | 20 +- .../src/generated/ArkToggleInterfaces.ts | 20 +- .../generated/ArkTouchEventMaterialized.ts | 20 +- .../ArkTransitionEffectMaterialized.ts | 20 +- .../generated/ArkUICommonEventMaterialized.ts | 20 +- .../ArkUIExtensionProxyMaterialized.ts | 20 +- .../ArkUiExtensionComponentInterfaces.ts | 20 +- .../generated/ArkUnifiedDataMaterialized.ts | 20 +- .../arkui/src/generated/ArkUnitsInterfaces.ts | 20 +- .../ArkVideoControllerMaterialized.ts | 20 +- .../arkui/src/generated/ArkVideoInterfaces.ts | 20 +- .../src/generated/ArkViewMaterialized.ts | 20 +- .../src/generated/ArkWaterFlowInterfaces.ts | 20 +- .../ArkWaterFlowSectionsMaterialized.ts | 20 +- .../ArkWebContextMenuParamMaterialized.ts | 20 +- .../ArkWebContextMenuResultMaterialized.ts | 20 +- .../generated/ArkWebControllerMaterialized.ts | 20 +- .../src/generated/ArkWebCookieMaterialized.ts | 20 +- .../arkui/src/generated/ArkWebInterfaces.ts | 20 +- .../ArkWebKeyboardControllerMaterialized.ts | 20 +- .../ArkWebResourceErrorMaterialized.ts | 20 +- .../ArkWebResourceRequestMaterialized.ts | 20 +- .../ArkWebResourceResponseMaterialized.ts | 20 +- .../ArkWebviewControllerMaterialized.ts | 20 +- .../src/generated/ArkWindowSceneInterfaces.ts | 20 +- .../src/generated/ArkWithThemeInterfaces.ts | 20 +- .../ArkXComponentControllerMaterialized.ts | 20 +- .../src/generated/ArkXcomponentInterfaces.ts | 20 +- .../arkui/src/generated/GlobalScope.ts | 40 +- .../src/generated/SyntheticDeclarations.ts | 20 +- arkoala-arkts/arkui/src/generated/index.ts | 20 +- .../peers/CallbackDeserializeCall.ts | 478 +++++++++--------- .../ArkAccessibilityHoverEventMaterialized.ts | 20 +- .../arkui/src/ArkActionSheetMaterialized.ts | 20 +- .../arkui/src/ArkAlertDialogMaterialized.ts | 20 +- .../src/ArkAnimationExtenderMaterialized.ts | 20 +- arkoala/arkui/src/ArkBaseEventMaterialized.ts | 20 +- .../src/ArkBaseGestureEventMaterialized.ts | 20 +- .../src/ArkCalendarControllerMaterialized.ts | 20 +- .../ArkCalendarPickerDialogMaterialized.ts | 20 +- .../src/ArkCanvasGradientMaterialized.ts | 20 +- .../arkui/src/ArkCanvasPathMaterialized.ts | 20 +- .../arkui/src/ArkCanvasPatternMaterialized.ts | 20 +- .../src/ArkCanvasRendererMaterialized.ts | 20 +- ...ArkCanvasRenderingContext2DMaterialized.ts | 20 +- .../src/ArkChildrenMainSizeMaterialized.ts | 20 +- .../arkui/src/ArkClickEventMaterialized.ts | 20 +- ...ClientAuthenticationHandlerMaterialized.ts | 20 +- .../src/ArkConsoleMessageMaterialized.ts | 20 +- .../arkui/src/ArkContextMenuMaterialized.ts | 20 +- .../src/ArkControllerHandlerMaterialized.ts | 20 +- .../ArkCustomDialogControllerMaterialized.ts | 20 +- .../arkui/src/ArkCustomSpanMaterialized.ts | 20 +- .../ArkDataResubmissionHandlerMaterialized.ts | 20 +- .../src/ArkDatePickerDialogMaterialized.ts | 20 +- arkoala/arkui/src/ArkDragEventMaterialized.ts | 20 +- .../arkui/src/ArkDrawModifierMaterialized.ts | 20 +- .../arkui/src/ArkDrawingCanvasMaterialized.ts | 20 +- .../ArkDrawingRenderingContextMaterialized.ts | 20 +- .../arkui/src/ArkDynamicNodeMaterialized.ts | 20 +- .../src/ArkEditMenuOptionsMaterialized.ts | 20 +- .../arkui/src/ArkEventEmulatorMaterialized.ts | 20 +- .../arkui/src/ArkEventResultMaterialized.ts | 20 +- .../src/ArkEventTargetInfoMaterialized.ts | 20 +- .../src/ArkFileSelectorParamMaterialized.ts | 20 +- .../src/ArkFileSelectorResultMaterialized.ts | 20 +- arkoala/arkui/src/ArkFrameNodeMaterialized.ts | 20 +- .../ArkFullScreenExitHandlerMaterialized.ts | 20 +- .../arkui/src/ArkGestureEventMaterialized.ts | 20 +- .../src/ArkGestureModifierMaterialized.ts | 20 +- .../src/ArkGestureRecognizerMaterialized.ts | 20 +- .../src/ArkGlobalScopeCommonMaterialized.ts | 45 +- .../ArkGlobalScopeInspectorMaterialized.ts | 45 +- ...eOhosArkuiComponentSnapshotMaterialized.ts | 20 +- ...OhosArkuiPerformanceMonitorMaterialized.ts | 20 +- .../arkui/src/ArkHoverEventMaterialized.ts | 20 +- .../src/ArkHttpAuthHandlerMaterialized.ts | 20 +- arkoala/arkui/src/ArkICurveMaterialized.ts | 20 +- .../ArkImageAnalyzerControllerMaterialized.ts | 20 +- .../arkui/src/ArkImageBitmapMaterialized.ts | 20 +- ...ndicatorComponentControllerMaterialized.ts | 20 +- .../arkui/src/ArkJsGeolocationMaterialized.ts | 20 +- arkoala/arkui/src/ArkJsResultMaterialized.ts | 20 +- arkoala/arkui/src/ArkKeyEventMaterialized.ts | 20 +- .../arkui/src/ArkLayoutManagerMaterialized.ts | 20 +- .../src/ArkLazyForEachOpsMaterialized.ts | 20 +- .../arkui/src/ArkLengthMetricsMaterialized.ts | 20 +- ...rkLinearIndicatorControllerMaterialized.ts | 20 +- .../arkui/src/ArkListScrollerMaterialized.ts | 20 +- .../ArkLongPressGestureEventMaterialized.ts | 20 +- arkoala/arkui/src/ArkMatrix2DMaterialized.ts | 20 +- .../arkui/src/ArkMeasurableMaterialized.ts | 20 +- .../arkui/src/ArkMouseEventMaterialized.ts | 20 +- .../src/ArkMutableStyledStringMaterialized.ts | 20 +- .../ArkNavDestinationContextMaterialized.ts | 20 +- .../arkui/src/ArkNavExtenderMaterialized.ts | 20 +- .../arkui/src/ArkNavPathStackMaterialized.ts | 20 +- ...rkNavigationTransitionProxyMaterialized.ts | 20 +- .../src/ArkPanGestureEventMaterialized.ts | 20 +- .../src/ArkPanGestureOptionsMaterialized.ts | 20 +- .../arkui/src/ArkPanRecognizerMaterialized.ts | 20 +- arkoala/arkui/src/ArkPath2DMaterialized.ts | 20 +- .../ArkPatternLockControllerMaterialized.ts | 20 +- .../src/ArkPermissionRequestMaterialized.ts | 20 +- .../src/ArkPinchGestureEventMaterialized.ts | 20 +- arkoala/arkui/src/ArkPixelMapMaterialized.ts | 20 +- .../arkui/src/ArkPixelMapMockMaterialized.ts | 20 +- .../arkui/src/ArkProgressMaskMaterialized.ts | 20 +- ...ArkRichEditorBaseControllerMaterialized.ts | 20 +- .../ArkRichEditorControllerMaterialized.ts | 20 +- ...ditorStyledStringControllerMaterialized.ts | 20 +- .../ArkRotationGestureEventMaterialized.ts | 20 +- .../ArkScreenCaptureHandlerMaterialized.ts | 20 +- .../ArkScrollableTargetInfoMaterialized.ts | 20 +- arkoala/arkui/src/ArkScrollerMaterialized.ts | 20 +- .../src/ArkSearchControllerMaterialized.ts | 20 +- .../src/ArkSslErrorHandlerMaterialized.ts | 20 +- .../ArkStyledStringControllerMaterialized.ts | 20 +- .../arkui/src/ArkStyledStringMaterialized.ts | 20 +- .../arkui/src/ArkSubmitEventMaterialized.ts | 20 +- .../src/ArkSwipeGestureEventMaterialized.ts | 20 +- ...wiperContentTransitionProxyMaterialized.ts | 20 +- .../src/ArkSwiperControllerMaterialized.ts | 20 +- ...rkTabContentTransitionProxyMaterialized.ts | 20 +- .../src/ArkTabsControllerMaterialized.ts | 20 +- .../src/ArkTapGestureEventMaterialized.ts | 20 +- .../src/ArkTextAreaControllerMaterialized.ts | 20 +- .../src/ArkTextBaseControllerMaterialized.ts | 20 +- .../src/ArkTextClockControllerMaterialized.ts | 20 +- ...rkTextContentControllerBaseMaterialized.ts | 20 +- .../src/ArkTextControllerMaterialized.ts | 20 +- .../ArkTextEditControllerExMaterialized.ts | 20 +- .../src/ArkTextInputControllerMaterialized.ts | 20 +- .../src/ArkTextMenuItemIdMaterialized.ts | 20 +- .../src/ArkTextPickerDialogMaterialized.ts | 20 +- .../src/ArkTextTimerControllerMaterialized.ts | 20 +- .../src/ArkTimePickerDialogMaterialized.ts | 20 +- .../arkui/src/ArkTouchEventMaterialized.ts | 20 +- .../src/ArkTransitionEffectMaterialized.ts | 20 +- .../arkui/src/ArkUICommonEventMaterialized.ts | 20 +- .../src/ArkUIExtensionProxyMaterialized.ts | 20 +- .../arkui/src/ArkUnifiedDataMaterialized.ts | 20 +- .../src/ArkVideoControllerMaterialized.ts | 20 +- arkoala/arkui/src/ArkViewMaterialized.ts | 20 +- .../src/ArkWaterFlowSectionsMaterialized.ts | 20 +- .../src/ArkWebContextMenuParamMaterialized.ts | 20 +- .../ArkWebContextMenuResultMaterialized.ts | 20 +- .../arkui/src/ArkWebControllerMaterialized.ts | 20 +- arkoala/arkui/src/ArkWebCookieMaterialized.ts | 20 +- .../ArkWebKeyboardControllerMaterialized.ts | 20 +- .../src/ArkWebResourceErrorMaterialized.ts | 20 +- .../src/ArkWebResourceRequestMaterialized.ts | 20 +- .../src/ArkWebResourceResponseMaterialized.ts | 20 +- .../src/ArkWebviewControllerMaterialized.ts | 20 +- .../ArkXComponentControllerMaterialized.ts | 20 +- arkoala/arkui/src/GlobalScope.ts | 40 +- .../src/peers/CallbackDeserializeCall.ts | 478 +++++++++--------- arkoala/arkui/src/peers/Deserializer.ts | 2 - arkoala/arkui/src/peers/Serializer.ts | 2 - .../native/src/generated/dummy_impl.cc | 2 +- .../native/src/generated/real_impl.cc | 2 +- arkoala/tools/peer-generator/package.json | 2 +- 396 files changed, 7874 insertions(+), 1012 deletions(-) diff --git a/arkoala-arkts/arkui/src/generated/ArkAbilityComponentInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkAbilityComponentInterfaces.ts index 44ffae6bd..c0e472418 100644 --- a/arkoala-arkts/arkui/src/generated/ArkAbilityComponentInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkAbilityComponentInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -8,4 +26,4 @@ export type AbilityComponentInterface = (value: Literal_Want_want) => AbilityCom export interface AbilityComponentAttribute extends CommonMethod { onConnect: (() => void); onDisconnect: (() => void); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkAccessibilityHoverEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkAccessibilityHoverEventMaterialized.ts index c09793b45..9e591ef2f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkAccessibilityHoverEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkAccessibilityHoverEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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" @@ -187,4 +205,4 @@ export class AccessibilityHoverEventInternal extends BaseEventInternal implement obj.peer = new Finalizable(ptr, AccessibilityHoverEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkActionSheetInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkActionSheetInterfaces.ts index b9e728a65..1d2f86f87 100644 --- a/arkoala-arkts/arkui/src/generated/ArkActionSheetInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkActionSheetInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -54,4 +72,4 @@ export interface ActionSheetOptions { shadow?: ShadowOptions | ShadowStyle; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkActionSheetMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkActionSheetMaterialized.ts index fe3b0c25e..dd6742dea 100644 --- a/arkoala-arkts/arkui/src/generated/ArkActionSheetMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkActionSheetMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { ActionSheetOptions } from "./ArkActionSheetInterfaces" import { INTERFACE_ActionSheet } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -45,4 +63,4 @@ export class ActionSheetInternal { obj.peer = new Finalizable(ptr, ActionSheet.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkAlertDialogInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkAlertDialogInterfaces.ts index 0b61d3e8f..a837d026f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkAlertDialogInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkAlertDialogInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -86,4 +104,4 @@ export interface AlertDialogParamWithButtons extends AlertDialogParam { export interface AlertDialogParamWithOptions extends AlertDialogParam { buttons: Array; buttonDirection?: DialogButtonDirection; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkAlertDialogMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkAlertDialogMaterialized.ts index 0ebccd973..cb32c99fa 100644 --- a/arkoala-arkts/arkui/src/generated/ArkAlertDialogMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkAlertDialogMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { AlertDialogParamWithConfirm, AlertDialogParamWithButtons, AlertDialogParamWithOptions } from "./ArkAlertDialogInterfaces" import { INTERFACE_AlertDialog } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -61,4 +79,4 @@ export class AlertDialogInternal { obj.peer = new Finalizable(ptr, AlertDialog.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkAlphabetIndexerInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkAlphabetIndexerInterfaces.ts index 727039ee3..d1fd7fb4e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkAlphabetIndexerInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkAlphabetIndexerInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -47,4 +65,4 @@ export interface AlphabetIndexerAttribute extends CommonMethod { onCancel: (() => void); onFinish: (() => void); onFrame: ((index: number) => void); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkArkui-customInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkArkui-customInterfaces.ts index b9cf5dc74..bf685e380 100644 --- a/arkoala-arkts/arkui/src/generated/ArkArkui-customInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkArkui-customInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -47,4 +65,4 @@ export enum PointerStyle { LOADING = 42, RUNNING = 43 } -export type Callback_RangeUpdate = (index: int32, mark: KPointer, end: int32) => void; \ No newline at end of file +export type Callback_RangeUpdate = (index: int32, mark: KPointer, end: int32) => void; diff --git a/arkoala-arkts/arkui/src/generated/ArkArkui-externalInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkArkui-externalInterfaces.ts index ce7bcc910..24b35a21b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkArkui-externalInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkArkui-externalInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -55,4 +73,4 @@ export enum PerfMonitorSourceType { PERF_TOUCHPAD_EVENT = 2, PERF_JOYSTICK_EVENT = 3, PERF_KEY_EVENT = 4 -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkBadgeInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkBadgeInterfaces.ts index 113831c26..5d22f1b9b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkBadgeInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkBadgeInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -37,4 +55,4 @@ export interface BadgeInterface { } export interface BadgeAttribute extends CommonMethod { -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkBaseEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkBaseEventMaterialized.ts index b262294cb..82fbccd49 100644 --- a/arkoala-arkts/arkui/src/generated/ArkBaseEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkBaseEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" @@ -266,4 +284,4 @@ export class BaseEventInternal implements MaterializedBase,BaseEvent { obj.peer = new Finalizable(ptr, BaseEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkBaseGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkBaseGestureEventMaterialized.ts index 50d80ea2c..fbb40d738 100644 --- a/arkoala-arkts/arkui/src/generated/ArkBaseGestureEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkBaseGestureEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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" @@ -55,4 +73,4 @@ export class BaseGestureEventInternal extends BaseEventInternal implements Mater obj.peer = new Finalizable(ptr, BaseGestureEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkBlankInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkBlankInterfaces.ts index 3ae832af3..a553a5093 100644 --- a/arkoala-arkts/arkui/src/generated/ArkBlankInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkBlankInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -6,4 +24,4 @@ import { ResourceColor } from "./ArkUnitsInterfaces" export type BlankInterface = (min?: number | string) => BlankAttribute; export interface BlankAttribute extends CommonMethod { color: ResourceColor; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkButtonInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkButtonInterfaces.ts index b434dc883..e721a016a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkButtonInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkButtonInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -66,4 +84,4 @@ export interface ButtonAttribute extends CommonMethod { fontFamily: string | Resource; contentModifier: ContentModifier; labelStyle: LabelStyle; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkCalendarControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCalendarControllerMaterialized.ts index 56d986512..37ee3253a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCalendarControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCalendarControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { Literal_Number_day_month_year, INTERFACE_CalendarController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -53,4 +71,4 @@ export class CalendarControllerInternal { obj.peer = new Finalizable(ptr, CalendarController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkCalendarInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkCalendarInterfaces.ts index 8474ee656..8def87e26 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCalendarInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCalendarInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -105,4 +123,4 @@ export interface CalendarAttribute { workStateStyle: WorkStateStyle; onSelectChange: ((event: CalendarSelectedDate) => void); onRequestData: ((event: CalendarRequestedData) => void); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkCalendarPickerDialogMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCalendarPickerDialogMaterialized.ts index c4e827e42..661b472a1 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCalendarPickerDialogMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCalendarPickerDialogMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { CalendarDialogOptions } from "./ArkCalendarPickerInterfaces" import { INTERFACE_CalendarPickerDialog } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -51,4 +69,4 @@ export class CalendarPickerDialogInternal { obj.peer = new Finalizable(ptr, CalendarPickerDialog.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkCalendarPickerInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkCalendarPickerInterfaces.ts index 6cd63d8e2..2ce075885 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCalendarPickerInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCalendarPickerInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -34,4 +52,4 @@ export interface CalendarDialogOptions extends CalendarOptions { shadow?: ShadowOptions | ShadowStyle; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasGradientMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasGradientMaterialized.ts index ace0f6d16..6f3e7b903 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasGradientMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasGradientMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_CanvasGradient } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -39,4 +57,4 @@ export class CanvasGradientInternal { obj.peer = new Finalizable(ptr, CanvasGradient.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasInterfaces.ts index b2150135d..193bb5235 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -47,4 +65,4 @@ export interface CanvasInterface { export interface CanvasAttribute extends CommonMethod { onReady: VoidCallback; enableAnalyzer: boolean; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasPathMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasPathMaterialized.ts index 020e6ac84..0d2eba6c4 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasPathMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasPathMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_CanvasPath } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -148,4 +166,4 @@ export class CanvasPathInternal { obj.peer = new Finalizable(ptr, CanvasPath.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasPatternMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasPatternMaterialized.ts index d80e62f54..71bb20bcc 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasPatternMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasPatternMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { Matrix2D, Matrix2DInternal } from "./ArkMatrix2DMaterialized" import { INTERFACE_CanvasPattern } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -49,4 +67,4 @@ export class CanvasPatternInternal implements MaterializedBase,CanvasPattern { obj.peer = new Finalizable(ptr, CanvasPatternInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasRendererMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasRendererMaterialized.ts index c7f87e143..c01bc02fc 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasRendererMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasRendererMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { CanvasPath, CanvasPathInternal } from "./ArkCanvasPathMaterialized" import { CanvasGradient, CanvasGradientInternal } from "./ArkCanvasGradientMaterialized" import { CanvasPattern, CanvasPatternInternal } from "./ArkCanvasPatternMaterialized" @@ -1190,4 +1208,4 @@ export class CanvasRendererInternal { obj.peer = new Finalizable(ptr, CanvasRenderer.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkCanvasRenderingContext2DMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCanvasRenderingContext2DMaterialized.ts index 868cb1e4c..125e0740b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCanvasRenderingContext2DMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCanvasRenderingContext2DMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { CanvasRenderer, CanvasRendererInternal } from "./ArkCanvasRendererMaterialized" import { FrameNode, FrameNodeInternal } from "./ArkFrameNodeMaterialized" import { RenderingContextSettings } from "./ArkCanvasInterfaces" @@ -174,4 +192,4 @@ export class CanvasRenderingContext2DInternal { obj.peer = new Finalizable(ptr, CanvasRenderingContext2D.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkCheckboxInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkCheckboxInterfaces.ts index dbba4695e..f89ed7483 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCheckboxInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCheckboxInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -25,4 +43,4 @@ export interface CheckboxAttribute extends CommonMethod { mark: MarkStyle; onChange: OnCheckboxChangeCallback; contentModifier: ContentModifier; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkCheckboxgroupInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkCheckboxgroupInterfaces.ts index 162848b74..88c4a5192 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCheckboxgroupInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCheckboxgroupInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -29,4 +47,4 @@ export interface CheckboxGroupAttribute extends CommonMethod CircleAttribute; export interface CircleAttribute extends CommonShapeMethod { -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkClickEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkClickEventMaterialized.ts index 82a05102a..584aa83e8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkClickEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkClickEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" @@ -226,4 +244,4 @@ export class ClickEventInternal extends BaseEventInternal implements Materialize obj.peer = new Finalizable(ptr, ClickEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkClientAuthenticationHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkClientAuthenticationHandlerMaterialized.ts index d9daf3266..e7be31054 100644 --- a/arkoala-arkts/arkui/src/generated/ArkClientAuthenticationHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkClientAuthenticationHandlerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_ClientAuthenticationHandler } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -66,4 +84,4 @@ export class ClientAuthenticationHandlerInternal { obj.peer = new Finalizable(ptr, ClientAuthenticationHandler.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkColumnInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkColumnInterfaces.ts index 071665e09..a857a62fb 100644 --- a/arkoala-arkts/arkui/src/generated/ArkColumnInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkColumnInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -12,4 +30,4 @@ export interface ColumnAttribute extends CommonMethod { justifyContent: FlexAlign; pointLight: PointLightStyle; reverse: boolean | undefined; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkColumnSplitInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkColumnSplitInterfaces.ts index 5a148e808..42b5759d5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkColumnSplitInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkColumnSplitInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -11,4 +29,4 @@ export interface ColumnSplitDividerStyle { export interface ColumnSplitAttribute extends CommonMethod { resizeable: boolean; divider: ColumnSplitDividerStyle | undefined; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkCommonInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkCommonInterfaces.ts index 515443e15..c052eda9f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCommonInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCommonInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -1110,4 +1128,4 @@ export enum KeyboardAvoidMode { export enum HoverModeAreaType { TOP_SCREEN = 0, BOTTOM_SCREEN = 1 -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkCommonTsEtsApiInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkCommonTsEtsApiInterfaces.ts index 8972cf959..92f67b460 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCommonTsEtsApiInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCommonTsEtsApiInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -8,4 +26,4 @@ export interface EnvPropsOptions { export interface PersistPropsOptions { key: string; defaultValue: number | string | boolean | Object; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkComponent3dInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkComponent3dInterfaces.ts index a2a6dac43..bb7c2656b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkComponent3dInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkComponent3dInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -22,4 +40,4 @@ export interface Component3DAttribute extends CommonMethod shaderInputBuffer: Array; renderWidth: Dimension; renderHeight: Dimension; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkConsoleMessageMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkConsoleMessageMaterialized.ts index 31ea4ec53..2802be7bd 100644 --- a/arkoala-arkts/arkui/src/generated/ArkConsoleMessageMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkConsoleMessageMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { MessageLevel } from "./ArkWebInterfaces" import { INTERFACE_ConsoleMessage } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -62,4 +80,4 @@ export class ConsoleMessageInternal { obj.peer = new Finalizable(ptr, ConsoleMessage.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkContainerSpanInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkContainerSpanInterfaces.ts index 3ff24c044..f8450436b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkContainerSpanInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkContainerSpanInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -7,4 +25,4 @@ export type ContainerSpanInterface = () => ContainerSpanAttribute; export interface ContainerSpanAttribute { textBackgroundStyle: TextBackgroundStyle; attributeModifier: AttributeModifier; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkContentSlotInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkContentSlotInterfaces.ts index 4a0931c4a..29d68c1e6 100644 --- a/arkoala-arkts/arkui/src/generated/ArkContentSlotInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkContentSlotInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -6,4 +24,4 @@ export interface Content { } export interface ContentSlotAttribute { } -export type ContentSlotInterface = (content: Content) => ContentSlotAttribute; \ No newline at end of file +export type ContentSlotInterface = (content: Content) => ContentSlotAttribute; diff --git a/arkoala-arkts/arkui/src/generated/ArkContextMenuMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkContextMenuMaterialized.ts index 979df0b6c..5eaaaf03a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkContextMenuMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkContextMenuMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_ContextMenu } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -40,4 +58,4 @@ export class ContextMenuInternal { obj.peer = new Finalizable(ptr, ContextMenu.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkControllerHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkControllerHandlerMaterialized.ts index f95fc6758..6f709d97f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkControllerHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkControllerHandlerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { WebviewController, WebviewControllerInternal } from "./ArkWebviewControllerMaterialized" import { INTERFACE_ControllerHandler } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -42,4 +60,4 @@ export class ControllerHandlerInternal { obj.peer = new Finalizable(ptr, ControllerHandler.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkCounterInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkCounterInterfaces.ts index c27caa673..37f1e0d35 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCounterInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCounterInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -9,4 +27,4 @@ export interface CounterAttribute extends CommonMethod { onDec: VoidCallback; enableDec: boolean; enableInc: boolean; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkCustomDialogControllerInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkCustomDialogControllerInterfaces.ts index 371166817..a9f70e95b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCustomDialogControllerInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCustomDialogControllerInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -34,4 +52,4 @@ export interface CustomDialogControllerOptions { keyboardAvoidMode?: KeyboardAvoidMode; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkCustomDialogControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCustomDialogControllerMaterialized.ts index 1237f52aa..d2ce37df1 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCustomDialogControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCustomDialogControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { CustomDialogControllerOptions } from "./ArkCustomDialogControllerInterfaces" import { INTERFACE_CustomDialogController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -51,4 +69,4 @@ export class CustomDialogControllerInternal { obj.peer = new Finalizable(ptr, CustomDialogController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkCustomSpanMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkCustomSpanMaterialized.ts index 39ecc21da..d26ac7c56 100644 --- a/arkoala-arkts/arkui/src/generated/ArkCustomSpanMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkCustomSpanMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { CustomSpanMeasureInfo, CustomSpanMetrics, CustomSpanDrawInfo } from "./ArkStyledStringInterfaces" import { DrawContext } from "./ArkCommonInterfaces" import { INTERFACE_CustomSpan } from "./SyntheticDeclarations" @@ -63,4 +81,4 @@ export class CustomSpanInternal { obj.peer = new Finalizable(ptr, CustomSpan.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkDataPanelInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkDataPanelInterfaces.ts index 7053d0732..198ed129c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDataPanelInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDataPanelInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -35,4 +53,4 @@ export interface DataPanelAttribute extends CommonMethod { strokeWidth: Length; trackShadow: DataPanelShadowOptions; contentModifier: ContentModifier; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkDataResubmissionHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDataResubmissionHandlerMaterialized.ts index 9a3cbe171..607124115 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDataResubmissionHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDataResubmissionHandlerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_DataResubmissionHandler } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -44,4 +62,4 @@ export class DataResubmissionHandlerInternal { obj.peer = new Finalizable(ptr, DataResubmissionHandler.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkDatePickerDialogMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDatePickerDialogMaterialized.ts index 49ce9196c..b87c88493 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDatePickerDialogMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDatePickerDialogMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { DatePickerDialogOptions } from "./ArkDatePickerInterfaces" import { INTERFACE_DatePickerDialog } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -51,4 +69,4 @@ export class DatePickerDialogInternal { obj.peer = new Finalizable(ptr, DatePickerDialog.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkDatePickerInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkDatePickerInterfaces.ts index c1a719270..12fcd2dd2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDatePickerInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDatePickerInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -59,4 +77,4 @@ export interface DatePickerDialogOptions extends DatePickerOptions { dateTimeOptions?: DateTimeOptions; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkDividerInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkDividerInterfaces.ts index e0366caf9..e56257373 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDividerInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDividerInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -10,4 +28,4 @@ export interface DividerAttribute extends CommonMethod { color: ResourceColor; strokeWidth: number | string; lineCap: LineCapStyle; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkDragEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDragEventMaterialized.ts index 8acf5ec8a..f0f3a9e59 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDragEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDragEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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" @@ -217,4 +235,4 @@ export class DragEventInternal implements MaterializedBase,DragEvent { obj.peer = new Finalizable(ptr, DragEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkDrawModifierMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDrawModifierMaterialized.ts index a3242f964..be4cca396 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDrawModifierMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDrawModifierMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { DrawContext } from "./ArkCommonInterfaces" import { INTERFACE_DrawModifier } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -71,4 +89,4 @@ export class DrawModifierInternal { obj.peer = new Finalizable(ptr, DrawModifier.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkDrawingCanvasMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDrawingCanvasMaterialized.ts index afa74b7b9..ccda1aa88 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDrawingCanvasMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDrawingCanvasMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { PixelMap, PixelMapInternal } from "./ArkPixelMapMaterialized" import { INTERFACE_DrawingCanvas } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -48,4 +66,4 @@ export class DrawingCanvasInternal { obj.peer = new Finalizable(ptr, DrawingCanvas.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkDrawingRenderingContextMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDrawingRenderingContextMaterialized.ts index 7e2fdfffa..89d01d142 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDrawingRenderingContextMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDrawingRenderingContextMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { Size } from "./ArkCanvasInterfaces" import { DrawingCanvas, DrawingCanvasInternal } from "./ArkDrawingCanvasMaterialized" import { LengthMetricsUnit } from "./ArkUnitsInterfaces" @@ -55,4 +73,4 @@ export class DrawingRenderingContextInternal { obj.peer = new Finalizable(ptr, DrawingRenderingContext.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkDynamicNodeMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkDynamicNodeMaterialized.ts index 44bb2edc2..b68600334 100644 --- a/arkoala-arkts/arkui/src/generated/ArkDynamicNodeMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkDynamicNodeMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { OnMoveHandler } from "./ArkCommonInterfaces" import { INTERFACE_DynamicNode } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -48,4 +66,4 @@ export class DynamicNodeInternal { obj.peer = new Finalizable(ptr, DynamicNode.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkEditMenuOptionsMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkEditMenuOptionsMaterialized.ts index b60845800..6d20e8305 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEditMenuOptionsMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEditMenuOptionsMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { TextMenuItem, TextRange } from "./ArkTextCommonInterfaces" import { INTERFACE_EditMenuOptions } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -61,4 +79,4 @@ export class EditMenuOptionsInternal implements MaterializedBase,EditMenuOptions obj.peer = new Finalizable(ptr, EditMenuOptionsInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkEffectComponentInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkEffectComponentInterfaces.ts index 8e5eef6bb..95b6b483d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEffectComponentInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEffectComponentInterfaces.ts @@ -1,7 +1,25 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { CommonMethod } from "./ArkCommonInterfaces" export type EffectComponentInterface = () => EffectComponentAttribute; export interface EffectComponentAttribute extends CommonMethod { -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkEllipseInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkEllipseInterfaces.ts index 629b774dc..5eade750c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEllipseInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEllipseInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -8,4 +26,4 @@ export interface EllipseOptions { } export type EllipseInterface = (options?: EllipseOptions) => EllipseAttribute; export interface EllipseAttribute extends CommonShapeMethod { -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkEmbeddedComponentInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkEmbeddedComponentInterfaces.ts index 9e4bdade2..3a9c048c6 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEmbeddedComponentInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEmbeddedComponentInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -14,4 +32,4 @@ export interface TerminationInfo { export interface EmbeddedComponentAttribute extends CommonMethod { onTerminated: ((parameter: TerminationInfo) => void); onError: ErrorCallback; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkEnumsInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkEnumsInterfaces.ts index 0f79d462c..3dc3d2230 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEnumsInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEnumsInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -694,4 +712,4 @@ export enum HeightBreakpoint { HEIGHT_SM = 0, HEIGHT_MD = 1, HEIGHT_LG = 2 -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkEventEmulatorMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkEventEmulatorMaterialized.ts index b121d4010..091ea058e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEventEmulatorMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEventEmulatorMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { ClickEvent, ClickEventInternal } from "./ArkClickEventMaterialized" import { INTERFACE_EventEmulator } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -55,4 +73,4 @@ export class EventEmulatorInternal { obj.peer = new Finalizable(ptr, EventEmulator.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkEventResultMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkEventResultMaterialized.ts index e14b5f227..fdd781951 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEventResultMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEventResultMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_EventResult } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -38,4 +56,4 @@ export class EventResultInternal { obj.peer = new Finalizable(ptr, EventResult.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkEventTargetInfoMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkEventTargetInfoMaterialized.ts index 5fd740356..0a9df0895 100644 --- a/arkoala-arkts/arkui/src/generated/ArkEventTargetInfoMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkEventTargetInfoMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_EventTargetInfo } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -37,4 +55,4 @@ export class EventTargetInfoInternal { obj.peer = new Finalizable(ptr, EventTargetInfo.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkFileSelectorParamMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkFileSelectorParamMaterialized.ts index e84850620..e402121d5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFileSelectorParamMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFileSelectorParamMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { FileSelectorMode } from "./ArkWebInterfaces" import { INTERFACE_FileSelectorParam } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -59,4 +77,4 @@ export class FileSelectorParamInternal { obj.peer = new Finalizable(ptr, FileSelectorParam.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkFileSelectorResultMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkFileSelectorResultMaterialized.ts index 874d0d71f..44297c4f7 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFileSelectorResultMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFileSelectorResultMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_FileSelectorResult } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -45,4 +63,4 @@ export class FileSelectorResultInternal { obj.peer = new Finalizable(ptr, FileSelectorResult.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkFlexInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkFlexInterfaces.ts index d2b781c56..978269db1 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFlexInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFlexInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -19,4 +37,4 @@ export interface FlexSpaceOptions { export type FlexInterface = (value?: FlexOptions) => FlexAttribute; export interface FlexAttribute extends CommonMethod { pointLight: PointLightStyle; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkFlowItemInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkFlowItemInterfaces.ts index f1344248d..9054b2acb 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFlowItemInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFlowItemInterfaces.ts @@ -1,7 +1,25 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { CommonMethod } from "./ArkCommonInterfaces" export type FlowItemInterface = () => FlowItemAttribute; export interface FlowItemAttribute extends CommonMethod { -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkFocusInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkFocusInterfaces.ts index 562ba3f0a..a614eccb8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFocusInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFocusInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -12,4 +30,4 @@ export enum FocusPriority { AUTO = 0, PRIOR = 2000, PREVIOUS = 3000 -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkFolderStackInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkFolderStackInterfaces.ts index 16018f066..a9c826c0a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFolderStackInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFolderStackInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -27,4 +45,4 @@ export interface HoverEventParam { isHoverMode: boolean; appRotation: AppRotation; windowStatusType: WindowStatusType; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkFormComponentInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkFormComponentInterfaces.ts index 3f405e2f1..4265c22dc 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFormComponentInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFormComponentInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -56,4 +74,4 @@ export interface FormComponentAttribute extends CommonMethod void); onUninstall: ((parameter: FormCallbackInfo) => void); onLoad: (() => void); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkFormLinkInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkFormLinkInterfaces.ts index 49c815eda..3b6e3f1bd 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFormLinkInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFormLinkInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -12,4 +30,4 @@ export interface FormLinkOptions { } export type FormLinkInterface = (options: FormLinkOptions) => FormLinkAttribute; export interface FormLinkAttribute extends CommonMethod { -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkFrameNodeMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkFrameNodeMaterialized.ts index 8d57272c2..df263e991 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFrameNodeMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFrameNodeMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { UIContext } from "./ArkCommonInterfaces" import { Position } from "./ArkUnitsInterfaces" import { INTERFACE_FrameNode } from "./SyntheticDeclarations" @@ -156,4 +174,4 @@ export class FrameNodeInternal { obj.peer = new Finalizable(ptr, FrameNode.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkFullScreenExitHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkFullScreenExitHandlerMaterialized.ts index f94fd7ed2..76e413b49 100644 --- a/arkoala-arkts/arkui/src/generated/ArkFullScreenExitHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkFullScreenExitHandlerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_FullScreenExitHandler } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -37,4 +55,4 @@ export class FullScreenExitHandlerInternal { obj.peer = new Finalizable(ptr, FullScreenExitHandler.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkGaugeInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkGaugeInterfaces.ts index baff0ed84..ec21ce408 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGaugeInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGaugeInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -32,4 +50,4 @@ export interface GaugeAttribute extends CommonMethod { indicator: GaugeIndicatorOptions; privacySensitive: boolean | undefined; contentModifier: ContentModifier; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkGestureControlNamespace.ts b/arkoala-arkts/arkui/src/generated/ArkGestureControlNamespace.ts index 9190f2f6c..5cec8a06b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGestureControlNamespace.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGestureControlNamespace.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -10,4 +28,4 @@ export enum GestureControl_GestureType { ROTATION_GESTURE = 5, DRAG = 6, CLICK = 7 -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGestureEventMaterialized.ts index d8400795c..1496ddffc 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGestureEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGestureEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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" @@ -297,4 +315,4 @@ export class GestureEventInternal extends BaseEventInternal implements Materiali obj.peer = new Finalizable(ptr, GestureEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkGestureInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkGestureInterfaces.ts index 1fb030fc4..728e2ea5a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGestureInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGestureInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -150,4 +168,4 @@ export enum GestureRecognizerState { BLOCKED = 3, SUCCESSFUL = 4, FAILED = 5 -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkGestureModifierMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGestureModifierMaterialized.ts index 1c95a62ba..03bbb3fda 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGestureModifierMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGestureModifierMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { UIGestureEvent } from "./ArkCommonInterfaces" import { INTERFACE_GestureModifier } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -43,4 +61,4 @@ export class GestureModifierInternal implements MaterializedBase,GestureModifier obj.peer = new Finalizable(ptr, GestureModifierInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkGestureRecognizerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGestureRecognizerMaterialized.ts index 312268dea..b7e3e0564 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGestureRecognizerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGestureRecognizerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { GestureControl_GestureType } from "./ArkGestureControlNamespace" import { GestureRecognizerState } from "./ArkGestureInterfaces" import { EventTargetInfo, EventTargetInfoInternal } from "./ArkEventTargetInfoMaterialized" @@ -90,4 +108,4 @@ export class GestureRecognizerInternal { obj.peer = new Finalizable(ptr, GestureRecognizer.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkGlobalScopeCommonMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGlobalScopeCommonMaterialized.ts index 12b4c8800..08cd4ca33 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGlobalScopeCommonMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGlobalScopeCommonMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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" @@ -10,25 +28,7 @@ import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" import { int32 } from "@koalaui/common" import { CallbackTransformer } from "./peers/CallbackTransformer" -export class GlobalScope_common implements MaterializedBase { - peer?: Finalizable | undefined - public 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() - } +export class GlobalScope_common { static getContext(component?: Object): Context { const component_casted = component as (Object | undefined) return GlobalScope_common.getContext_serialize(component_casted) @@ -181,10 +181,3 @@ export class GlobalScope_common implements MaterializedBase { 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 - } -} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkGlobalScopeInspectorMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGlobalScopeInspectorMaterialized.ts index 6b0a8910c..da2c54018 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGlobalScopeInspectorMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGlobalScopeInspectorMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -7,25 +25,7 @@ import { unsafeCast } from "./shared/generated-utils" import { CallbackKind } from "./peers/CallbackKind" import { int32 } from "@koalaui/common" import { CallbackTransformer } from "./peers/CallbackTransformer" -export class GlobalScope_inspector implements MaterializedBase { - peer?: Finalizable | undefined - public 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() - } +export class GlobalScope_inspector { static getInspectorNodes(): Object { return GlobalScope_inspector.getInspectorNodes_serialize() } @@ -68,10 +68,3 @@ export class GlobalScope_inspector implements MaterializedBase { 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 - } -} \ No newline at end of file diff --git a/arkoala-arkts/arkui/src/generated/ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized.ts index 4aff991b7..f653bd7a0 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { AsyncCallback_image_PixelMap_Void, INTERFACE_GlobalScope_ohos_arkui_componentSnapshot } from "./SyntheticDeclarations" import { PixelMap, PixelMapInternal } from "./ArkPixelMapMaterialized" import { SnapshotOptions } from "./ArkArkui-externalInterfaces" @@ -55,4 +73,4 @@ export class GlobalScope_ohos_arkui_componentSnapshotInternal { obj.peer = new Finalizable(ptr, GlobalScope_ohos_arkui_componentSnapshot.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized.ts index b4abe21a4..5dfd2e554 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { PerfMonitorActionType, PerfMonitorSourceType } from "./ArkArkui-externalInterfaces" import { INTERFACE_GlobalScope_ohos_arkui_performanceMonitor } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -71,4 +89,4 @@ export class GlobalScope_ohos_arkui_performanceMonitorInternal { obj.peer = new Finalizable(ptr, GlobalScope_ohos_arkui_performanceMonitor.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkGridColInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkGridColInterfaces.ts index f04638b85..cf0a1c555 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGridColInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGridColInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -20,4 +38,4 @@ export interface GridColAttribute extends CommonMethod { span: number | GridColColumnOption; gridColOffset: number | GridColColumnOption; order: number | GridColColumnOption; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkGridContainerInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkGridContainerInterfaces.ts index f206894cc..63ad6ead9 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGridContainerInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGridContainerInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -18,4 +36,4 @@ export interface GridContainerOptions { } export type GridContainerInterface = (value?: GridContainerOptions) => GridContainerAttribute; export interface GridContainerAttribute extends ColumnAttribute { -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkGridInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkGridInterfaces.ts index cff113711..0bb162b04 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGridInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGridInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -67,4 +85,4 @@ export interface GridAttribute extends ScrollableCommonMethod { onScrollStop: (() => void); onScrollFrameBegin: ((offset: number,state: ScrollState) => Literal_Number_offsetRemain); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkGridItemInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkGridItemInterfaces.ts index ba79ec837..51f574116 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGridItemInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGridItemInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -20,4 +38,4 @@ export interface GridItemAttribute extends CommonMethod { selectable: boolean; selected: boolean; onSelect: ((parameter: boolean) => void); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkGridRowInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkGridRowInterfaces.ts index f15c19dd1..84c28169f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkGridRowInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkGridRowInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -51,4 +69,4 @@ export type GridRowInterface = (option?: GridRowOptions) => GridRowAttribute; export interface GridRowAttribute extends CommonMethod { onBreakpointChange: ((breakpoints: string) => void); alignItems: ItemAlign; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkHoverEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkHoverEventMaterialized.ts index 2816a6754..7aeb63fb0 100644 --- a/arkoala-arkts/arkui/src/generated/ArkHoverEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkHoverEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" @@ -50,4 +68,4 @@ export class HoverEventInternal extends BaseEventInternal implements Materialize obj.peer = new Finalizable(ptr, HoverEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkHttpAuthHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkHttpAuthHandlerMaterialized.ts index 2fb42b4b0..f7be8df92 100644 --- a/arkoala-arkts/arkui/src/generated/ArkHttpAuthHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkHttpAuthHandlerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_HttpAuthHandler } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -53,4 +71,4 @@ export class HttpAuthHandlerInternal { obj.peer = new Finalizable(ptr, HttpAuthHandler.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkHyperlinkInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkHyperlinkInterfaces.ts index 8d31a93d9..e25dc9e48 100644 --- a/arkoala-arkts/arkui/src/generated/ArkHyperlinkInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkHyperlinkInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -7,4 +25,4 @@ import { Color } from "./ArkEnumsInterfaces" export type HyperlinkInterface = (address: string | Resource, content?: string | Resource) => HyperlinkAttribute; export interface HyperlinkAttribute extends CommonMethod { color: Color | number | string | Resource; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkICurveMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkICurveMaterialized.ts index e612e334a..9e851fc65 100644 --- a/arkoala-arkts/arkui/src/generated/ArkICurveMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkICurveMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_ICurve } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -39,4 +57,4 @@ export class ICurveInternal implements MaterializedBase,ICurve { obj.peer = new Finalizable(ptr, ICurveInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkImageAnalyzerControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkImageAnalyzerControllerMaterialized.ts index 908cefe68..476ad3140 100644 --- a/arkoala-arkts/arkui/src/generated/ArkImageAnalyzerControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkImageAnalyzerControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { ImageAnalyzerType } from "./ArkImageCommonInterfaces" import { INTERFACE_ImageAnalyzerController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -38,4 +56,4 @@ export class ImageAnalyzerControllerInternal { obj.peer = new Finalizable(ptr, ImageAnalyzerController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkImageAnimatorInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkImageAnimatorInterfaces.ts index 6b6e6575e..47e957c9e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkImageAnimatorInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkImageAnimatorInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -29,4 +47,4 @@ export interface ImageAnimatorAttribute extends CommonMethod void); onCancel: (() => void); onFinish: (() => void); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkImageBitmapMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkImageBitmapMaterialized.ts index fc42f18de..380bba1ac 100644 --- a/arkoala-arkts/arkui/src/generated/ArkImageBitmapMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkImageBitmapMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { LengthMetricsUnit } from "./ArkUnitsInterfaces" import { PixelMap, PixelMapInternal } from "./ArkPixelMapMaterialized" import { INTERFACE_ImageBitmap } from "./SyntheticDeclarations" @@ -62,4 +80,4 @@ export class ImageBitmapInternal { obj.peer = new Finalizable(ptr, ImageBitmap.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkImageCommonInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkImageCommonInterfaces.ts index eee8f2382..d9be6835f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkImageCommonInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkImageCommonInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -13,4 +31,4 @@ export interface ImageAnalyzerConfig { export interface ImageAIOptions { types?: Array; aiController?: ImageAnalyzerController; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkImageInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkImageInterfaces.ts index da51831ca..5185ed4fe 100644 --- a/arkoala-arkts/arkui/src/generated/ArkImageInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkImageInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -89,4 +107,4 @@ export interface ImageError { export interface ResizableOptions { slice?: EdgeWidths; lattice?: DrawingLattice; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkImageSpanInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkImageSpanInterfaces.ts index 139326b88..8669b7e6e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkImageSpanInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkImageSpanInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -26,4 +44,4 @@ export interface ImageLoadResult { contentHeight: number; contentOffsetX: number; contentOffsetY: number; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkIndicatorComponentControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkIndicatorComponentControllerMaterialized.ts index 712f87ce3..5b31f1dba 100644 --- a/arkoala-arkts/arkui/src/generated/ArkIndicatorComponentControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkIndicatorComponentControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_IndicatorComponentController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -62,4 +80,4 @@ export class IndicatorComponentControllerInternal { obj.peer = new Finalizable(ptr, IndicatorComponentController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkIndicatorcomponentInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkIndicatorcomponentInterfaces.ts index ea8d0f4b2..9b14c1350 100644 --- a/arkoala-arkts/arkui/src/generated/ArkIndicatorcomponentInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkIndicatorcomponentInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -14,4 +32,4 @@ export interface IndicatorComponentAttribute extends CommonMethod void); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkIsolatedComponentInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkIsolatedComponentInterfaces.ts index efc34657c..b7837c33b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkIsolatedComponentInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkIsolatedComponentInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -16,4 +34,4 @@ export interface IsolatedOptions { export type IsolatedComponentInterface = (options: IsolatedOptions) => IsolatedComponentAttribute; export interface IsolatedComponentAttribute extends CommonMethod { onError: ErrorCallback; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkJsGeolocationMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkJsGeolocationMaterialized.ts index f1aa97024..414bc77c8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkJsGeolocationMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkJsGeolocationMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_JsGeolocation } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -40,4 +58,4 @@ export class JsGeolocationInternal { obj.peer = new Finalizable(ptr, JsGeolocation.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkJsResultMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkJsResultMaterialized.ts index 6d3ac495b..9f8209c31 100644 --- a/arkoala-arkts/arkui/src/generated/ArkJsResultMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkJsResultMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_JsResult } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -52,4 +70,4 @@ export class JsResultInternal { obj.peer = new Finalizable(ptr, JsResult.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkKeyEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkKeyEventMaterialized.ts index 0b71171fb..bd54f6c76 100644 --- a/arkoala-arkts/arkui/src/generated/ArkKeyEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkKeyEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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" @@ -261,4 +279,4 @@ export class KeyEventInternal implements MaterializedBase,KeyEvent { obj.peer = new Finalizable(ptr, KeyEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkLayoutManagerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkLayoutManagerMaterialized.ts index cb38b3b8d..0c5813c74 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLayoutManagerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLayoutManagerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { PositionWithAffinity, LineMetrics, TextRange, TextBox } from "./ArkTextCommonInterfaces" import { RectWidthStyle, RectHeightStyle } from "./ArkArkui-externalInterfaces" import { INTERFACE_LayoutManager } from "./SyntheticDeclarations" @@ -73,4 +91,4 @@ export class LayoutManagerInternal implements MaterializedBase,LayoutManager { obj.peer = new Finalizable(ptr, LayoutManagerInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkLazyForEachInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkLazyForEachInterfaces.ts index 226f31ffc..933f06927 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLazyForEachInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLazyForEachInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -38,4 +56,4 @@ export interface DataExchangeOperation { } export interface DataOperation { stub: string; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkLazyForEachOpsMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkLazyForEachOpsMaterialized.ts index 2b5fceff2..eb6608128 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLazyForEachOpsMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLazyForEachOpsMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_RangeUpdate } from "./ArkArkui-customInterfaces" import { INTERFACE_LazyForEachOps } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -74,4 +92,4 @@ export class LazyForEachOpsInternal { obj.peer = new Finalizable(ptr, LazyForEachOps.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkLengthMetricsMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkLengthMetricsMaterialized.ts index 85f140fbc..00c800cf4 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLengthMetricsMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLengthMetricsMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { LengthUnit } from "./ArkArkui-externalInterfaces" import { Resource } from "./ArkResourceInterfaces" import { INTERFACE_LengthMetrics } from "./SyntheticDeclarations" @@ -98,4 +116,4 @@ export class LengthMetricsInternal { obj.peer = new Finalizable(ptr, LengthMetrics.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkLineInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkLineInterfaces.ts index 74ee96d8e..908b2009d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLineInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLineInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -11,4 +29,4 @@ export type LineInterface = (options?: LineOptions) => LineAttribute; export interface LineAttribute extends CommonShapeMethod { 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 e3947a275..5887c2c88 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLinearIndicatorControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLinearIndicatorControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { LinearIndicatorStartOptions } from "./ArkLinearindicatorInterfaces" import { INTERFACE_LinearIndicatorController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -71,4 +89,4 @@ export class LinearIndicatorControllerInternal { obj.peer = new Finalizable(ptr, LinearIndicatorController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkLinearindicatorInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkLinearindicatorInterfaces.ts index a8b81f2be..e7a3c792d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLinearindicatorInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLinearindicatorInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -22,4 +40,4 @@ export interface LinearIndicatorAttribute extends CommonMethod void; \ No newline at end of file +export type OnLinearIndicatorChangeCallback = (index: number, progress: number) => void; diff --git a/arkoala-arkts/arkui/src/generated/ArkListInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkListInterfaces.ts index 1dd63119b..765a96295 100644 --- a/arkoala-arkts/arkui/src/generated/ArkListInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkListInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -113,4 +131,4 @@ export interface ListAttribute extends ScrollableCommonMethod { onItemDrop: ((event: ItemDragInfo,itemIndex: number,insertIndex: number,isSuccess: boolean) => void); onScrollFrameBegin: ((offset: number,state: ScrollState) => Literal_Number_offsetRemain); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkListItemGroupInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkListItemGroupInterfaces.ts index 42399a1ee..158fde48a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkListItemGroupInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkListItemGroupInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -20,4 +38,4 @@ export type ListItemGroupInterface = (options?: ListItemGroupOptions) => ListIte export interface ListItemGroupAttribute extends CommonMethod { divider: ListDividerOptions | undefined; childrenMainSize: ChildrenMainSize; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkListItemInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkListItemInterfaces.ts index 778bc80f0..2b674547c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkListItemInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkListItemInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -63,4 +81,4 @@ export interface ListItemAttribute extends CommonMethod { selected: boolean; swipeAction: SwipeActionOptions; onSelect: ((parameter: boolean) => void); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkListScrollerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkListScrollerMaterialized.ts index 44f611e45..81b2ad8f4 100644 --- a/arkoala-arkts/arkui/src/generated/ArkListScrollerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkListScrollerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { Scroller, ScrollerInternal } from "./ArkScrollerMaterialized" import { RectResult } from "./ArkCommonInterfaces" import { ScrollAlign } from "./ArkScrollInterfaces" @@ -97,4 +115,4 @@ export class ListScrollerInternal { obj.peer = new Finalizable(ptr, ListScroller.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkLoadingProgressInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkLoadingProgressInterfaces.ts index 0200c6a77..c1e997817 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLoadingProgressInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLoadingProgressInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -19,4 +37,4 @@ export interface LoadingProgressAttribute extends CommonMethod { enableLoading: boolean; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkLocationButtonInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkLocationButtonInterfaces.ts index 00d90009c..5490c6cd2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLocationButtonInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLocationButtonInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -37,4 +55,4 @@ export interface LocationButtonInterface { } export interface LocationButtonAttribute extends SecurityComponentMethod { onClick: ((event: ClickEvent,result: LocationButtonOnClickResult) => void); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkLongPressGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkLongPressGestureEventMaterialized.ts index e7713f8d5..eba18852c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkLongPressGestureEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkLongPressGestureEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" @@ -54,4 +72,4 @@ export class LongPressGestureEventInternal extends BaseGestureEventInternal impl obj.peer = new Finalizable(ptr, LongPressGestureEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkMarqueeInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkMarqueeInterfaces.ts index 88049dafc..99ff9cab7 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMarqueeInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMarqueeInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -24,4 +42,4 @@ export interface MarqueeAttribute extends CommonMethod { onStart: (() => void); onBounce: (() => void); onFinish: (() => void); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkMatrix2DMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkMatrix2DMaterialized.ts index 384dbf558..b82bde490 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMatrix2DMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMatrix2DMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { LengthMetricsUnit } from "./ArkUnitsInterfaces" import { INTERFACE_Matrix2D } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -308,4 +326,4 @@ export class Matrix2DInternal { obj.peer = new Finalizable(ptr, Matrix2D.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkMeasurableMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkMeasurableMaterialized.ts index b5751d755..e16839bb5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMeasurableMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMeasurableMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { ConstraintSizeOptions, DirectionalEdgesT } from "./ArkUnitsInterfaces" import { MeasureResult } from "./ArkCommonInterfaces" import { INTERFACE_Measurable } from "./SyntheticDeclarations" @@ -68,4 +86,4 @@ export class MeasurableInternal implements MaterializedBase,Measurable { obj.peer = new Finalizable(ptr, MeasurableInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkMediaCachedImageInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkMediaCachedImageInterfaces.ts index f4d2bfcc3..6192dfec9 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMediaCachedImageInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMediaCachedImageInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -10,4 +28,4 @@ export interface ASTCResource { } export type MediaCachedImageInterface = (src: PixelMap | ResourceStr | DrawableDescriptor | ASTCResource) => MediaCachedImageAttribute; export interface MediaCachedImageAttribute extends ImageAttribute { -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkMenuInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkMenuInterfaces.ts index a19a9f6e9..1a814a754 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMenuInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMenuInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -17,4 +35,4 @@ export interface MenuAttribute extends CommonMethod { menuItemDivider: DividerStyleOptions | undefined; menuItemGroupDivider: DividerStyleOptions | undefined; subMenuExpandingMode: SubMenuExpandingMode; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkMenuItemGroupInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkMenuItemGroupInterfaces.ts index 6a022aff0..7e90aab05 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMenuItemGroupInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMenuItemGroupInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -9,4 +27,4 @@ export interface MenuItemGroupOptions { } export type MenuItemGroupInterface = (value?: MenuItemGroupOptions) => MenuItemGroupAttribute; export interface MenuItemGroupAttribute extends CommonMethod { -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkMenuItemInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkMenuItemInterfaces.ts index dd35fe005..feb14f6f4 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMenuItemInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMenuItemInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -22,4 +40,4 @@ export interface MenuItemAttribute extends CommonMethod { contentFontColor: ResourceColor; labelFont: Font; labelFontColor: ResourceColor; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkMouseEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkMouseEventMaterialized.ts index d7e18eb4b..affecd663 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMouseEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMouseEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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" @@ -271,4 +289,4 @@ export class MouseEventInternal extends BaseEventInternal implements Materialize obj.peer = new Finalizable(ptr, MouseEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkMutableStyledStringMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkMutableStyledStringMaterialized.ts index 0353e2868..7af7cfe52 100644 --- a/arkoala-arkts/arkui/src/generated/ArkMutableStyledStringMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkMutableStyledStringMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { StyledString, StyledStringInternal } from "./ArkStyledStringMaterialized" import { SpanStyle, StyledStringKey } from "./ArkStyledStringInterfaces" import { INTERFACE_MutableStyledString } from "./SyntheticDeclarations" @@ -145,4 +163,4 @@ export class MutableStyledStringInternal { obj.peer = new Finalizable(ptr, MutableStyledString.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkNavDestinationContextMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkNavDestinationContextMaterialized.ts index eff7d4585..e9b413e69 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavDestinationContextMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavDestinationContextMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { NavPathInfo } from "./ArkNavigationInterfaces" import { NavPathStack, NavPathStackInternal } from "./ArkNavPathStackMaterialized" import { RouteMapConfig } from "./ArkNavDestinationInterfaces" @@ -100,4 +118,4 @@ export class NavDestinationContextInternal implements MaterializedBase,NavDestin obj.peer = new Finalizable(ptr, NavDestinationContextInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkNavDestinationInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkNavDestinationInterfaces.ts index f1fe13339..17d5c86ac 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavDestinationInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavDestinationInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -50,4 +68,4 @@ export interface NavDestinationAttribute extends CommonMethod { onStateChange: ((parameter: boolean) => void); mode: NavRouteMode; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkNavigationExtenderInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkNavigationExtenderInterfaces.ts index 0002e3171..fe225ba80 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavigationExtenderInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavigationExtenderInterfaces.ts @@ -1,4 +1,22 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" -export type NavExtender_OnUpdateStack = (value: string) => void; \ No newline at end of file +export type NavExtender_OnUpdateStack = (value: string) => void; diff --git a/arkoala-arkts/arkui/src/generated/ArkNavigationInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkNavigationInterfaces.ts index 8b540b6f4..79d222663 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavigationInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavigationInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -136,4 +154,4 @@ export interface NavContentInfo { mode?: NavDestinationMode; param?: Object; navDestinationId?: string; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkNavigationTransitionProxyMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkNavigationTransitionProxyMaterialized.ts index f8a84d4a3..b43171f0e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavigationTransitionProxyMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavigationTransitionProxyMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { NavContentInfo } from "./ArkNavigationInterfaces" import { INTERFACE_NavigationTransitionProxy } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -115,4 +133,4 @@ export class NavigationTransitionProxyInternal implements MaterializedBase,Navig obj.peer = new Finalizable(ptr, NavigationTransitionProxyInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkNavigatorInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkNavigatorInterfaces.ts index d22a08a56..2fea2be89 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNavigatorInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNavigatorInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -20,4 +38,4 @@ export interface NavigatorAttribute extends CommonMethod { type: NavigationType; target: string; params: Object; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkNodeContainerInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkNodeContainerInterfaces.ts index 77c10691e..ef7f3bbe8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkNodeContainerInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkNodeContainerInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -5,4 +23,4 @@ import { NodeController } from "./ArkArkui-externalInterfaces" import { CommonMethod } from "./ArkCommonInterfaces" export type NodeContainerInterface = (controller: NodeController) => NodeContainerAttribute; export interface NodeContainerAttribute extends CommonMethod { -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkPageTransitionInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkPageTransitionInterfaces.ts index 4da0496e4..ce469db98 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPageTransitionInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPageTransitionInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -29,4 +47,4 @@ export interface PageTransitionOptions { curve?: Curve | string | ICurve; delay?: number; } -export type PageTransitionCallback = (type: RouteType, progress: number) => void; \ No newline at end of file +export type PageTransitionCallback = (type: RouteType, progress: number) => void; diff --git a/arkoala-arkts/arkui/src/generated/ArkPanGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPanGestureEventMaterialized.ts index 7ee10f2af..48e494221 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPanGestureEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPanGestureEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" @@ -142,4 +160,4 @@ export class PanGestureEventInternal extends BaseGestureEventInternal implements obj.peer = new Finalizable(ptr, PanGestureEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkPanGestureOptionsMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPanGestureOptionsMaterialized.ts index debda4662..3c1a581b3 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPanGestureOptionsMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPanGestureOptionsMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { Literal_Number_distance_fingers_PanDirection_direction, INTERFACE_PanGestureOptions } from "./SyntheticDeclarations" import { PanDirection } from "./ArkGestureInterfaces" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -94,4 +112,4 @@ export class PanGestureOptionsInternal { obj.peer = new Finalizable(ptr, PanGestureOptions.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkPanRecognizerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPanRecognizerMaterialized.ts index 4768be3cc..c82e1734f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPanRecognizerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPanRecognizerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { GestureRecognizer, GestureRecognizerInternal } from "./ArkGestureRecognizerMaterialized" import { PanGestureOptions, PanGestureOptionsInternal } from "./ArkPanGestureOptionsMaterialized" import { INTERFACE_PanRecognizer } from "./SyntheticDeclarations" @@ -40,4 +58,4 @@ export class PanRecognizerInternal { obj.peer = new Finalizable(ptr, PanRecognizer.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkPanelInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkPanelInterfaces.ts index cddf6a489..5810df901 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPanelInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPanelInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -38,4 +56,4 @@ export interface PanelAttribute extends CommonMethod { showCloseIcon: boolean; onChange: ((width: number,height: number,mode: PanelMode) => void); onHeightChange: ((index: number) => void); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkParticleInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkParticleInterfaces.ts index 237001994..f803fa8f0 100644 --- a/arkoala-arkts/arkui/src/generated/ArkParticleInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkParticleInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -79,4 +97,4 @@ export enum DisturbanceFieldShape { RECT = 0, CIRCLE = 1, ELLIPSE = 2 -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkPasteButtonInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkPasteButtonInterfaces.ts index c5ff4da99..69ca4b8b7 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPasteButtonInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPasteButtonInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -26,4 +44,4 @@ export interface PasteButtonInterface { } export interface PasteButtonAttribute extends SecurityComponentMethod { onClick: ((event: ClickEvent,result: PasteButtonOnClickResult) => void); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkPath2DMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPath2DMaterialized.ts index 833a25be3..501d64c80 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPath2DMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPath2DMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { CanvasPath, CanvasPathInternal } from "./ArkCanvasPathMaterialized" import { LengthMetricsUnit } from "./ArkUnitsInterfaces" import { Matrix2D, Matrix2DInternal } from "./ArkMatrix2DMaterialized" @@ -53,4 +71,4 @@ export class Path2DInternal { obj.peer = new Finalizable(ptr, Path2D.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkPathInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkPathInterfaces.ts index 01eae657d..07fa7f8ce 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPathInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPathInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -10,4 +28,4 @@ export interface PathOptions { export type PathInterface = (options?: PathOptions) => PathAttribute; export interface PathAttribute extends CommonShapeMethod { commands: string; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkPatternLockControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPatternLockControllerMaterialized.ts index 530ab46c9..6c8b35611 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPatternLockControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPatternLockControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { PatternLockChallengeResult } from "./ArkPatternLockInterfaces" import { INTERFACE_PatternLockController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -46,4 +64,4 @@ export class PatternLockControllerInternal { obj.peer = new Finalizable(ptr, PatternLockController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkPatternLockInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkPatternLockInterfaces.ts index c6eaac27d..7ed10460d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPatternLockInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPatternLockInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -29,4 +47,4 @@ export interface PatternLockAttribute extends CommonMethod autoReset: boolean; onDotConnect: ((index: number) => void); activateCircleStyle: CircleStyleOptions | undefined; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkPermissionRequestMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPermissionRequestMaterialized.ts index 26ed655a0..67fb5388f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPermissionRequestMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPermissionRequestMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_PermissionRequest } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -66,4 +84,4 @@ export class PermissionRequestInternal { obj.peer = new Finalizable(ptr, PermissionRequest.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkPinchGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPinchGestureEventMaterialized.ts index 82187026a..e9befbebb 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPinchGestureEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPinchGestureEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" @@ -98,4 +116,4 @@ export class PinchGestureEventInternal extends BaseGestureEventInternal implemen obj.peer = new Finalizable(ptr, PinchGestureEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkPixelMapMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPixelMapMaterialized.ts index de985942c..8c97b400b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPixelMapMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPixelMapMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_PixelMap } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -98,4 +116,4 @@ export class PixelMapInternal implements MaterializedBase,PixelMap { obj.peer = new Finalizable(ptr, PixelMapInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkPixelMapMockMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkPixelMapMockMaterialized.ts index 97fb1e3bb..b01a0e861 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPixelMapMockMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPixelMapMockMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_PixelMapMock } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -38,4 +56,4 @@ export class PixelMapMockInternal implements MaterializedBase,PixelMapMock { obj.peer = new Finalizable(ptr, PixelMapMockInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkPluginComponentInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkPluginComponentInterfaces.ts index b819a1e30..005088022 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPluginComponentInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPluginComponentInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -20,4 +38,4 @@ export type PluginComponentInterface = (options: PluginComponentOptions) => Plug export interface PluginComponentAttribute extends CommonMethod { onComplete: VoidCallback; onError: PluginErrorCallback; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkPointInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkPointInterfaces.ts index feca1b8c2..caf2b7706 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPointInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPointInterfaces.ts @@ -1,7 +1,25 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { 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/ArkPolygonInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkPolygonInterfaces.ts index 007502dbe..b659eff46 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPolygonInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPolygonInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -10,4 +28,4 @@ export interface PolygonOptions { export type PolygonInterface = (options?: PolygonOptions) => PolygonAttribute; export interface PolygonAttribute extends CommonShapeMethod { points: Array; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkPolylineInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkPolylineInterfaces.ts index 6c5dbc4c3..7a0afd2a8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkPolylineInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkPolylineInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -10,4 +28,4 @@ export interface PolylineOptions { export type PolylineInterface = (options?: PolylineOptions) => PolylineAttribute; export interface PolylineAttribute extends CommonShapeMethod { points: Array; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkProgressInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkProgressInterfaces.ts index ae14968bf..aae9a24f8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkProgressInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkProgressInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -86,4 +104,4 @@ export interface ProgressAttribute extends CommonMethod { export interface ProgressConfiguration extends CommonConfiguration { value: number; total: number; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkProgressMaskMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkProgressMaskMaterialized.ts index 9aebbf8fe..11e1a04ca 100644 --- a/arkoala-arkts/arkui/src/generated/ArkProgressMaskMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkProgressMaskMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { ResourceColor } from "./ArkUnitsInterfaces" import { Color } from "./ArkEnumsInterfaces" import { Resource } from "./ArkResourceInterfaces" @@ -108,4 +126,4 @@ export class ProgressMaskInternal { obj.peer = new Finalizable(ptr, ProgressMask.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkQrcodeInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkQrcodeInterfaces.ts index f4bc31aff..c638ae37d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkQrcodeInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkQrcodeInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -9,4 +27,4 @@ export interface QRCodeAttribute extends CommonMethod { color: ResourceColor; backgroundColor: ResourceColor; contentOpacity: number | Resource; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkRadioInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkRadioInterfaces.ts index ca84e9435..f4185d93d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRadioInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRadioInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -31,4 +49,4 @@ export interface RadioConfiguration extends CommonConfiguration void); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkRatingInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkRatingInterfaces.ts index dff105525..bd5b8116d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRatingInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRatingInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -26,4 +44,4 @@ export interface RatingAttribute extends CommonMethod { starStyle: StarStyleOptions; onChange: ((index: number) => void); contentModifier: ContentModifier; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkRawFileDescriptorInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkRawFileDescriptorInterfaces.ts index 31510e6ec..4396d3d69 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRawFileDescriptorInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRawFileDescriptorInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -5,4 +23,4 @@ export interface RawFileDescriptor { fd: number; offset: number; length: number; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkRectInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkRectInterfaces.ts index 2bd0aebda..71fbd9dde 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRectInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRectInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -18,4 +36,4 @@ export interface RectAttribute extends CommonShapeMethod { radiusWidth: number | string; radiusHeight: number | string; radius: number | string | Array; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkRefreshInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkRefreshInterfaces.ts index bfa6e9636..bc1173eb2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRefreshInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRefreshInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -32,4 +50,4 @@ export interface RefreshAttribute extends CommonMethod { pullToRefresh: boolean; onOffsetChange: ((index: number) => void); pullDownRatio: number | undefined; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkRelativeContainerInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkRelativeContainerInterfaces.ts index ea9846611..8d04973ad 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRelativeContainerInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRelativeContainerInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -40,4 +58,4 @@ export interface RelativeContainerAttribute extends CommonMethod; barrier: Array; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkRemoteWindowInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkRemoteWindowInterfaces.ts index 1f9265b6d..6fbed6f63 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRemoteWindowInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRemoteWindowInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -17,4 +35,4 @@ export interface WindowAnimationTarget { } export type RemoteWindowInterface = (target: WindowAnimationTarget) => RemoteWindowAttribute; export interface RemoteWindowAttribute extends CommonMethod { -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkRepeatInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkRepeatInterfaces.ts index 7d9a231c2..de202861f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRepeatInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRepeatInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -6,4 +24,4 @@ export interface VirtualScrollOptions { } export interface TemplateOptions { cachedCount?: number; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkResourceInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkResourceInterfaces.ts index d8ec50559..2d4eb0c4c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkResourceInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkResourceInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -7,4 +25,4 @@ export interface Resource { id: number; params?: Array; type?: number; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkRichEditorBaseControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkRichEditorBaseControllerMaterialized.ts index 97768f49d..3434af578 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRichEditorBaseControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRichEditorBaseControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { TextEditControllerEx, TextEditControllerExInternal } from "./ArkTextEditControllerExMaterialized" import { RichEditorTextStyle } from "./ArkRichEditorInterfaces" import { SelectionOptions } from "./ArkCommonInterfaces" @@ -122,4 +140,4 @@ export class RichEditorBaseControllerInternal { obj.peer = new Finalizable(ptr, RichEditorBaseController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkRichEditorControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkRichEditorControllerMaterialized.ts index 325a319bb..bd03d7a22 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRichEditorControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRichEditorControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { RichEditorBaseController, RichEditorBaseControllerInternal } from "./ArkRichEditorBaseControllerMaterialized" import { RichEditorTextSpanOptions, RichEditorImageSpanOptions, RichEditorBuilderSpanOptions, RichEditorSymbolSpanOptions, RichEditorUpdateTextSpanStyleOptions, RichEditorUpdateImageSpanStyleOptions, RichEditorUpdateSymbolSpanStyleOptions, RichEditorParagraphStyleOptions, RichEditorRange, RichEditorImageSpanResult, RichEditorTextSpanResult, RichEditorParagraphResult, RichEditorSelection, RichEditorSpan } from "./ArkRichEditorInterfaces" import { PixelMap, PixelMapInternal } from "./ArkPixelMapMaterialized" @@ -253,4 +271,4 @@ export class RichEditorControllerInternal { obj.peer = new Finalizable(ptr, RichEditorController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkRichEditorInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkRichEditorInterfaces.ts index 1f13671fc..5982f7e22 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRichEditorInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRichEditorInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -254,4 +272,4 @@ export type PasteEventCallback = (event?: PasteEvent) => void; export interface RichEditorInterface { invoke(value: RichEditorOptions): RichEditorAttribute; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkRichEditorStyledStringControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkRichEditorStyledStringControllerMaterialized.ts index af71a7b07..9af82ce94 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRichEditorStyledStringControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRichEditorStyledStringControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { RichEditorBaseController, RichEditorBaseControllerInternal } from "./ArkRichEditorBaseControllerMaterialized" import { StyledStringController, StyledStringControllerInternal } from "./ArkStyledStringControllerMaterialized" import { StyledString, StyledStringInternal } from "./ArkStyledStringMaterialized" @@ -73,4 +91,4 @@ export class RichEditorStyledStringControllerInternal { obj.peer = new Finalizable(ptr, RichEditorStyledStringController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkRichTextInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkRichTextInterfaces.ts index 9837b2bc2..7d33f30b5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRichTextInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRichTextInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -7,4 +25,4 @@ export type RichTextInterface = (content: string) => RichTextAttribute; export interface RichTextAttribute extends CommonMethod { onStart: (() => void); onComplete: (() => void); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkRootSceneInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkRootSceneInterfaces.ts index 6f6686a1e..49186bb24 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRootSceneInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRootSceneInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -6,4 +24,4 @@ export interface RootSceneSession { } export type RootSceneInterface = (session: RootSceneSession) => RootSceneAttribute; export interface RootSceneAttribute extends CommonMethod { -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkRotationGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkRotationGestureEventMaterialized.ts index da316ad40..165a234ca 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRotationGestureEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRotationGestureEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" @@ -54,4 +72,4 @@ export class RotationGestureEventInternal extends BaseGestureEventInternal imple obj.peer = new Finalizable(ptr, RotationGestureEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkRowInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkRowInterfaces.ts index 8229d694d..e2fb3d8c9 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRowInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRowInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -12,4 +30,4 @@ export interface RowAttribute extends CommonMethod { justifyContent: FlexAlign; pointLight: PointLightStyle; reverse: boolean | undefined; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkRowSplitInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkRowSplitInterfaces.ts index f5fdf6735..0affb0471 100644 --- a/arkoala-arkts/arkui/src/generated/ArkRowSplitInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkRowSplitInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -5,4 +23,4 @@ import { CommonMethod } from "./ArkCommonInterfaces" export type RowSplitInterface = () => RowSplitAttribute; export interface RowSplitAttribute extends CommonMethod { resizeable: boolean; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkSaveButtonInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkSaveButtonInterfaces.ts index 5c100d271..e0b13c7b6 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSaveButtonInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSaveButtonInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -39,4 +57,4 @@ export interface SaveButtonInterface { } export interface SaveButtonAttribute extends SecurityComponentMethod { onClick: ((event: ClickEvent,result: SaveButtonOnClickResult) => void); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkScreenCaptureHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkScreenCaptureHandlerMaterialized.ts index ede0db6c7..16bf434dd 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScreenCaptureHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScreenCaptureHandlerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { ScreenCaptureConfig } from "./ArkWebInterfaces" import { INTERFACE_ScreenCaptureHandler } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -56,4 +74,4 @@ export class ScreenCaptureHandlerInternal { obj.peer = new Finalizable(ptr, ScreenCaptureHandler.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkScreenInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkScreenInterfaces.ts index e70e86a8a..4e64a2140 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScreenInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScreenInterfaces.ts @@ -1,7 +1,25 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" import { CommonMethod } from "./ArkCommonInterfaces" export type ScreenInterface = (screenId: number) => ScreenAttribute; export interface ScreenAttribute extends CommonMethod { -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkScrollBarInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkScrollBarInterfaces.ts index bb8e84a30..a4ff4647e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScrollBarInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScrollBarInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -18,4 +36,4 @@ export interface ScrollBarOptions { export type ScrollBarInterface = (value: ScrollBarOptions) => ScrollBarAttribute; export interface ScrollBarAttribute extends CommonMethod { enableNestedScroll: boolean | undefined; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkScrollInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkScrollInterfaces.ts index f52b939d4..d2aba3ed5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScrollInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScrollInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -87,4 +105,4 @@ export interface ScrollAttribute extends ScrollableCommonMethod initialOffset: OffsetOptions; } export type ScrollOnScrollCallback = (xOffset: number, yOffset: number, scrollState: ScrollState) => void; -export type ScrollOnWillScrollCallback = (xOffset: number, yOffset: number, scrollState: ScrollState, scrollSource: ScrollSource) => OffsetResult; \ No newline at end of file +export type ScrollOnWillScrollCallback = (xOffset: number, yOffset: number, scrollState: ScrollState, scrollSource: ScrollSource) => OffsetResult; diff --git a/arkoala-arkts/arkui/src/generated/ArkScrollableTargetInfoMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkScrollableTargetInfoMaterialized.ts index fa37bb592..1375d1a01 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScrollableTargetInfoMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScrollableTargetInfoMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { EventTargetInfo, EventTargetInfoInternal } from "./ArkEventTargetInfoMaterialized" import { INTERFACE_ScrollableTargetInfo } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -46,4 +64,4 @@ export class ScrollableTargetInfoInternal { obj.peer = new Finalizable(ptr, ScrollableTargetInfo.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkScrollerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkScrollerMaterialized.ts index 801f45c7f..8dc0a74e6 100644 --- a/arkoala-arkts/arkui/src/generated/ArkScrollerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkScrollerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { ScrollOptions, ScrollEdgeOptions, ScrollPageOptions, OffsetResult, ScrollAlign, ScrollToIndexOptions } from "./ArkScrollInterfaces" import { Edge, Axis } from "./ArkEnumsInterfaces" import { Literal_Boolean_next_Axis_direction, INTERFACE_Scroller } from "./SyntheticDeclarations" @@ -181,4 +199,4 @@ export class ScrollerInternal { obj.peer = new Finalizable(ptr, Scroller.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkSearchControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSearchControllerMaterialized.ts index 817b8a5ae..9228d8717 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSearchControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSearchControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { TextContentControllerBase, TextContentControllerBaseInternal } from "./ArkTextContentControllerBaseMaterialized" import { SelectionOptions } from "./ArkCommonInterfaces" import { INTERFACE_SearchController } from "./SyntheticDeclarations" @@ -67,4 +85,4 @@ export class SearchControllerInternal { obj.peer = new Finalizable(ptr, SearchController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkSearchInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkSearchInterfaces.ts index 8a89736e3..b91fa0603 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSearchInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSearchInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -90,4 +108,4 @@ export interface SearchAttribute extends CommonMethod { editMenuOptions: EditMenuOptions; enablePreviewText: boolean; enableHapticFeedback: boolean; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkSecurityComponentInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkSecurityComponentInterfaces.ts index e60fa5ec7..9aae20aec 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSecurityComponentInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSecurityComponentInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -32,4 +50,4 @@ export interface SecurityComponentMethod { height: Length; size: SizeOptions; constraintSize: ConstraintSizeOptions; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkSelectInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkSelectInterfaces.ts index 9a48e98d2..5db54da63 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSelectInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSelectInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -51,4 +69,4 @@ export interface MenuItemConfiguration extends CommonConfiguration { fillOpacity: number | string | Resource; strokeWidth: number | string; antiAlias: boolean; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkSidebarInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkSidebarInterfaces.ts index bdacffffa..2d973f1e2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSidebarInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSidebarInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -48,4 +66,4 @@ export interface SideBarContainerAttribute extends CommonMethod { minResponsiveDistance: number; contentModifier: ContentModifier; slideRange: SlideRange; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkSpanInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkSpanInterfaces.ts index b40a3b299..935c8018b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSpanInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSpanInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -28,4 +46,4 @@ export interface SpanAttribute extends BaseSpan { textCase: TextCase; lineHeight: Length; textShadow: ShadowOptions | Array; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkSslErrorHandlerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSslErrorHandlerMaterialized.ts index e00e1c023..c6ecf32d8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSslErrorHandlerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSslErrorHandlerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_SslErrorHandler } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -44,4 +62,4 @@ export class SslErrorHandlerInternal { obj.peer = new Finalizable(ptr, SslErrorHandler.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkStackInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkStackInterfaces.ts index cb790d5bb..ddb30c3ab 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStackInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStackInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -10,4 +28,4 @@ export type StackInterface = (options?: StackOptions) => StackAttribute; export interface StackAttribute extends CommonMethod { alignContent: Alignment; pointLight: PointLightStyle; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkStateManagementInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkStateManagementInterfaces.ts index 88e14f0ee..a17d6a0a8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStateManagementInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStateManagementInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -10,4 +28,4 @@ export enum LayoutDirection { RTL = 1, AUTO = 2, Auto = 2 -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkStaticComponentsInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkStaticComponentsInterfaces.ts index 69f66e19e..21dcb3077 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStaticComponentsInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStaticComponentsInterfaces.ts @@ -1,7 +1,25 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" export interface Root { } export interface ComponentRoot { -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkStdlibInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkStdlibInterfaces.ts index 0bfa0ae41..6194ebfed 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStdlibInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStdlibInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -8,4 +26,4 @@ export interface Materialized { export interface CallbackResource { } export interface VMContext { -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkStepperInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkStepperInterfaces.ts index 91cbacb86..e9e1fe012 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStepperInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStepperInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -10,4 +28,4 @@ export interface StepperAttribute extends CommonMethod { onChange: ((first: number,last: number) => void); onNext: ((first: number,last: number) => void); onPrevious: ((first: number,last: number) => void); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkStepperItemInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkStepperItemInterfaces.ts index accd1628c..b9eaedf79 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStepperItemInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStepperItemInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -17,4 +35,4 @@ export interface StepperItemAttribute extends CommonMethod prevLabel: string; nextLabel: string; status?: ItemState; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkStyledStringControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkStyledStringControllerMaterialized.ts index 323b88f14..6854a895c 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStyledStringControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStyledStringControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { StyledString, StyledStringInternal } from "./ArkStyledStringMaterialized" import { MutableStyledString, MutableStyledStringInternal } from "./ArkMutableStyledStringMaterialized" import { INTERFACE_StyledStringController } from "./SyntheticDeclarations" @@ -52,4 +70,4 @@ export class StyledStringControllerInternal implements MaterializedBase,StyledSt obj.peer = new Finalizable(ptr, StyledStringControllerInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkStyledStringInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkStyledStringInterfaces.ts index 88d7d29a7..43efb0aad 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStyledStringInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStyledStringInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -137,4 +155,4 @@ export interface CustomSpanMeasureInfo { fontSize: number; } export interface UserDataSpan { -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkStyledStringMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkStyledStringMaterialized.ts index bd4acfbc3..0462540ca 100644 --- a/arkoala-arkts/arkui/src/generated/ArkStyledStringMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkStyledStringMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { ImageAttachment, StyleOptions, StyledStringKey, SpanStyle } from "./ArkStyledStringInterfaces" import { CustomSpan, CustomSpanInternal } from "./ArkCustomSpanMaterialized" import { INTERFACE_StyledString } from "./SyntheticDeclarations" @@ -176,4 +194,4 @@ export class StyledStringInternal { obj.peer = new Finalizable(ptr, StyledString.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkSubmitEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSubmitEventMaterialized.ts index 13c4f7d3a..6fdae806b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSubmitEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSubmitEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -60,4 +78,4 @@ export class SubmitEventInternal implements MaterializedBase,SubmitEvent { obj.peer = new Finalizable(ptr, SubmitEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkSwipeGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSwipeGestureEventMaterialized.ts index 2197d176e..e33a5af5a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSwipeGestureEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSwipeGestureEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" @@ -76,4 +94,4 @@ export class SwipeGestureEventInternal extends BaseGestureEventInternal implemen obj.peer = new Finalizable(ptr, SwipeGestureEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkSwiperContentTransitionProxyMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSwiperContentTransitionProxyMaterialized.ts index 83950c482..70599bc00 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSwiperContentTransitionProxyMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSwiperContentTransitionProxyMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_SwiperContentTransitionProxy } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -126,4 +144,4 @@ export class SwiperContentTransitionProxyInternal implements MaterializedBase,Sw obj.peer = new Finalizable(ptr, SwiperContentTransitionProxyInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkSwiperControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkSwiperControllerMaterialized.ts index 6729984cc..fcf2d2966 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSwiperControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSwiperControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { VoidCallback } from "./ArkUnitsInterfaces" import { INTERFACE_SwiperController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -80,4 +98,4 @@ export class SwiperControllerInternal { obj.peer = new Finalizable(ptr, SwiperController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkSwiperInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkSwiperInterfaces.ts index 566c6fe6b..a2e65de9e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSwiperInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSwiperInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -82,4 +100,4 @@ export interface SwiperContentAnimatedTransition { timeout?: number; transition: ((parameter: SwiperContentTransitionProxy) => void); } -export type ContentDidScrollCallback = (selectedIndex: number, index: number, position: number, mainAxisLength: number) => void; \ No newline at end of file +export type ContentDidScrollCallback = (selectedIndex: number, index: number, position: number, mainAxisLength: number) => void; diff --git a/arkoala-arkts/arkui/src/generated/ArkSymbolSpanInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkSymbolSpanInterfaces.ts index 5e31d229b..3cbc01fb7 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSymbolSpanInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSymbolSpanInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -15,4 +33,4 @@ export interface SymbolSpanAttribute extends CommonMethod { effectStrategy: SymbolEffectStrategy; renderingStrategy: SymbolRenderingStrategy; attributeModifier: AttributeModifier; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkSymbolglyphInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkSymbolglyphInterfaces.ts index 63c71ac64..a435a3d83 100644 --- a/arkoala-arkts/arkui/src/generated/ArkSymbolglyphInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkSymbolglyphInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -59,4 +77,4 @@ export interface SymbolGlyphAttribute extends CommonMethod effectStrategy: SymbolEffectStrategy; renderingStrategy: SymbolRenderingStrategy; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTabContentInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkTabContentInterfaces.ts index c9ed2d583..0e49289f9 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTabContentInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTabContentInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -36,4 +54,4 @@ export interface TabContentAttribute extends CommonMethod { onWillShow: VoidCallback; onWillHide: VoidCallback; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTabContentTransitionProxyMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTabContentTransitionProxyMaterialized.ts index 2e9c2ceaa..f70a70682 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTabContentTransitionProxyMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTabContentTransitionProxyMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_TabContentTransitionProxy } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -82,4 +100,4 @@ export class TabContentTransitionProxyInternal implements MaterializedBase,TabCo obj.peer = new Finalizable(ptr, TabContentTransitionProxyInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTabsControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTabsControllerMaterialized.ts index 1aeffb4f8..5d1b24f5f 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTabsControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTabsControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { TranslateOptions } from "./ArkCommonInterfaces" import { INTERFACE_TabsController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -80,4 +98,4 @@ export class TabsControllerInternal { obj.peer = new Finalizable(ptr, TabsController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTabsInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkTabsInterfaces.ts index 3cd2cfd48..89b5fc52a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTabsInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTabsInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -92,4 +110,4 @@ export interface TabsAttribute extends CommonMethod { export interface TabContentAnimatedTransition { timeout?: number; transition: ((parameter: TabContentTransitionProxy) => void); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTapGestureEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTapGestureEventMaterialized.ts index 639937438..05e83d938 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTapGestureEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTapGestureEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, ArkUIGeneratedNativeModule } from "#components" @@ -32,4 +50,4 @@ export class TapGestureEventInternal extends BaseGestureEventInternal implements obj.peer = new Finalizable(ptr, TapGestureEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTextAreaControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextAreaControllerMaterialized.ts index 949ef44ec..ec9b880f9 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextAreaControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextAreaControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { TextContentControllerBase, TextContentControllerBaseInternal } from "./ArkTextContentControllerBaseMaterialized" import { SelectionOptions } from "./ArkCommonInterfaces" import { INTERFACE_TextAreaController } from "./SyntheticDeclarations" @@ -67,4 +85,4 @@ export class TextAreaControllerInternal { obj.peer = new Finalizable(ptr, TextAreaController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTextAreaInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkTextAreaInterfaces.ts index e6f2d043a..d9d3b7afb 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextAreaInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextAreaInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -102,4 +120,4 @@ export interface TextAreaAttribute extends CommonMethod { editMenuOptions: EditMenuOptions; enablePreviewText: boolean; enableHapticFeedback: boolean; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTextBaseControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextBaseControllerMaterialized.ts index 9daa239cc..addbd465e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextBaseControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextBaseControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { SelectionOptions } from "./ArkCommonInterfaces" import { LayoutManager, LayoutManagerInternal } from "./ArkLayoutManagerMaterialized" import { INTERFACE_TextBaseController } from "./SyntheticDeclarations" @@ -68,4 +86,4 @@ export class TextBaseControllerInternal implements MaterializedBase,TextBaseCont obj.peer = new Finalizable(ptr, TextBaseControllerInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTextClockControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextClockControllerMaterialized.ts index 69f705d6c..83b1d8a84 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextClockControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextClockControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_TextClockController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -44,4 +62,4 @@ export class TextClockControllerInternal { obj.peer = new Finalizable(ptr, TextClockController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTextClockInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkTextClockInterfaces.ts index cf5872edf..4353a3be4 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextClockInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextClockInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -29,4 +47,4 @@ export interface TextClockAttribute extends CommonMethod { fontFeature: string; contentModifier: ContentModifier; dateTimeOptions: DateTimeOptions | undefined; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTextCommonInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkTextCommonInterfaces.ts index f7a8c8943..3d6e5ceed 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextCommonInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextCommonInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -85,4 +103,4 @@ export interface DecorationStyleResult { } export interface FontSettingOptions { enableVariableFontWeight?: boolean; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTextContentControllerBaseMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextContentControllerBaseMaterialized.ts index a7d25c21c..cdc64ebf6 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextContentControllerBaseMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextContentControllerBaseMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { CaretOffset, RectResult } from "./ArkCommonInterfaces" import { INTERFACE_TextContentControllerBase } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -52,4 +70,4 @@ export class TextContentControllerBaseInternal { obj.peer = new Finalizable(ptr, TextContentControllerBase.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTextControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextControllerMaterialized.ts index 7f394e50c..d3612fdcf 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { StyledString, StyledStringInternal } from "./ArkStyledStringMaterialized" import { LayoutManager, LayoutManagerInternal } from "./ArkLayoutManagerMaterialized" import { INTERFACE_TextController } from "./SyntheticDeclarations" @@ -57,4 +75,4 @@ export class TextControllerInternal { obj.peer = new Finalizable(ptr, TextController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTextEditControllerExMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextEditControllerExMaterialized.ts index 2fce46be9..ff6444eeb 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextEditControllerExMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextEditControllerExMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { TextBaseController, TextBaseControllerInternal } from "./ArkTextBaseControllerMaterialized" import { PreviewText } from "./ArkTextCommonInterfaces" import { INTERFACE_TextEditControllerEx } from "./SyntheticDeclarations" @@ -74,4 +92,4 @@ export class TextEditControllerExInternal extends TextBaseControllerInternal imp obj.peer = new Finalizable(ptr, TextEditControllerExInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTextInputControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextInputControllerMaterialized.ts index 613cc5531..94ca76e12 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextInputControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextInputControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { TextContentControllerBase, TextContentControllerBaseInternal } from "./ArkTextContentControllerBaseMaterialized" import { SelectionOptions } from "./ArkCommonInterfaces" import { INTERFACE_TextInputController } from "./SyntheticDeclarations" @@ -67,4 +85,4 @@ export class TextInputControllerInternal { obj.peer = new Finalizable(ptr, TextInputController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTextInputInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkTextInputInterfaces.ts index 3e73c73e7..ea92c84c5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextInputInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextInputInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -134,4 +152,4 @@ export interface TextInputAttribute extends CommonMethod { editMenuOptions: EditMenuOptions; enablePreviewText: boolean; enableHapticFeedback: boolean; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTextInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkTextInterfaces.ts index ca7102daf..7d11b8782 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -71,4 +89,4 @@ export enum TextResponseType { } export interface TextOptions { controller: TextController; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTextMenuItemIdMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextMenuItemIdMaterialized.ts index ff97bd077..27e9802b5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextMenuItemIdMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextMenuItemIdMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { ResourceStr } from "./ArkUnitsInterfaces" import { Resource } from "./ArkResourceInterfaces" import { INTERFACE_TextMenuItemId } from "./SyntheticDeclarations" @@ -90,4 +108,4 @@ export class TextMenuItemIdInternal { obj.peer = new Finalizable(ptr, TextMenuItemId.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTextPickerDialogMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextPickerDialogMaterialized.ts index 117f0b47e..7858e114d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextPickerDialogMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextPickerDialogMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { TextPickerDialogOptions } from "./ArkTextPickerInterfaces" import { INTERFACE_TextPickerDialog } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -51,4 +69,4 @@ export class TextPickerDialogInternal { obj.peer = new Finalizable(ptr, TextPickerDialog.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTextPickerInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkTextPickerInterfaces.ts index 5f3ec8cf4..133a6f9b4 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextPickerInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextPickerInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -66,4 +84,4 @@ export interface TextPickerDialogOptions extends TextPickerOptions { shadow?: ShadowOptions | ShadowStyle; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTextTimerControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTextTimerControllerMaterialized.ts index 88b9bbb24..aa8c76b25 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextTimerControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextTimerControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_TextTimerController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -51,4 +69,4 @@ export class TextTimerControllerInternal { obj.peer = new Finalizable(ptr, TextTimerController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTextTimerInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkTextTimerInterfaces.ts index 0114aa316..47cb37d05 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTextTimerInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTextTimerInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -28,4 +46,4 @@ export interface TextTimerAttribute extends CommonMethod { onTimer: ((first: number,last: number) => void); textShadow: ShadowOptions | Array; contentModifier: ContentModifier; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTimePickerDialogMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTimePickerDialogMaterialized.ts index d52696483..116c921e2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTimePickerDialogMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTimePickerDialogMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { TimePickerDialogOptions } from "./ArkTimePickerInterfaces" import { INTERFACE_TimePickerDialog } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -51,4 +69,4 @@ export class TimePickerDialogInternal { obj.peer = new Finalizable(ptr, TimePickerDialog.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTimePickerInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkTimePickerInterfaces.ts index ddad66275..a7ea563b5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTimePickerInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTimePickerInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -55,4 +73,4 @@ export interface TimePickerDialogOptions extends TimePickerOptions { dateTimeOptions?: DateTimeOptions; enableHoverMode?: boolean; hoverModeArea?: HoverModeAreaType; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkToggleInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkToggleInterfaces.ts index c5e5bf19b..282d03bc9 100644 --- a/arkoala-arkts/arkui/src/generated/ArkToggleInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkToggleInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -35,4 +53,4 @@ export interface ToggleAttribute extends CommonMethod { selectedColor: ResourceColor; switchPointColor: ResourceColor; switchStyle: SwitchStyle; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTouchEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTouchEventMaterialized.ts index 2f236bbe4..cd6d3d5e5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTouchEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTouchEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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" @@ -144,4 +162,4 @@ export class TouchEventInternal extends BaseEventInternal implements Materialize obj.peer = new Finalizable(ptr, TouchEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkTransitionEffectMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkTransitionEffectMaterialized.ts index d7dd0b68e..6c21dc1d5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkTransitionEffectMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkTransitionEffectMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { TransitionEffects, TranslateOptions, RotateOptions, ScaleOptions, TransitionEdge, AnimateParam } from "./ArkCommonInterfaces" import { INTERFACE_TransitionEffect } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -157,4 +175,4 @@ export class TransitionEffectInternal { obj.peer = new Finalizable(ptr, TransitionEffect.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkUICommonEventMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkUICommonEventMaterialized.ts index 74e474a39..b8f1c7815 100644 --- a/arkoala-arkts/arkui/src/generated/ArkUICommonEventMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkUICommonEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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" @@ -235,4 +253,4 @@ export class UICommonEventInternal implements MaterializedBase,UICommonEvent { obj.peer = new Finalizable(ptr, UICommonEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts index 854cd5a37..102006112 100644 --- a/arkoala-arkts/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkUIExtensionProxyMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_UIExtensionProxy_Void, INTERFACE_UIExtensionProxy } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -122,4 +140,4 @@ export class UIExtensionProxyInternal implements MaterializedBase,UIExtensionPro obj.peer = new Finalizable(ptr, UIExtensionProxyInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkUiExtensionComponentInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkUiExtensionComponentInterfaces.ts index 34cef2b85..c0ef5230d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkUiExtensionComponentInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkUiExtensionComponentInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -28,4 +46,4 @@ export interface UIExtensionComponentAttribute extends CommonMethod void); onError: ErrorCallback; onTerminated: ((parameter: TerminationInfo) => void); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkUnifiedDataMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkUnifiedDataMaterialized.ts index f57260ccd..bc16a6b25 100644 --- a/arkoala-arkts/arkui/src/generated/ArkUnifiedDataMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkUnifiedDataMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_UnifiedData } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -45,4 +63,4 @@ export class UnifiedDataInternal { obj.peer = new Finalizable(ptr, UnifiedData.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkUnitsInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkUnitsInterfaces.ts index e77fb4f55..910dbdb65 100644 --- a/arkoala-arkts/arkui/src/generated/ArkUnitsInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkUnitsInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -191,4 +209,4 @@ export interface ChainWeightOptions { } export interface AccessibilityOptions { accessibilityPreferred?: boolean; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkVideoControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkVideoControllerMaterialized.ts index 2ff6f56ed..eca05ef3d 100644 --- a/arkoala-arkts/arkui/src/generated/ArkVideoControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkVideoControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { SeekMode } from "./ArkVideoInterfaces" import { INTERFACE_VideoController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -96,4 +114,4 @@ export class VideoControllerInternal { obj.peer = new Finalizable(ptr, VideoController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkVideoInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkVideoInterfaces.ts index 62065ce09..175dc50b8 100644 --- a/arkoala-arkts/arkui/src/generated/ArkVideoInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkVideoInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -66,4 +84,4 @@ export interface VideoAttribute extends CommonMethod { onStop: (() => void); enableAnalyzer: boolean; analyzerConfig: ImageAnalyzerConfig; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkViewMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkViewMaterialized.ts index 6c5b273c6..d6fd3c03b 100644 --- a/arkoala-arkts/arkui/src/generated/ArkViewMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkViewMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_View } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -41,4 +59,4 @@ export class ViewInternal { obj.peer = new Finalizable(ptr, View.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkWaterFlowInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkWaterFlowInterfaces.ts index 91b9086a4..b87d828d3 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWaterFlowInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWaterFlowInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -45,4 +63,4 @@ export interface WaterFlowAttribute extends ScrollableCommonMethod Literal_Number_offsetRemain); onScrollIndex: ((first: number,last: number) => void); -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkWaterFlowSectionsMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWaterFlowSectionsMaterialized.ts index 031b4a55b..414fabe68 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWaterFlowSectionsMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWaterFlowSectionsMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { SectionOptions } from "./ArkWaterFlowInterfaces" import { INTERFACE_WaterFlowSections } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -98,4 +116,4 @@ export class WaterFlowSectionsInternal { obj.peer = new Finalizable(ptr, WaterFlowSections.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkWebContextMenuParamMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebContextMenuParamMaterialized.ts index 6eb265394..2fad82fe2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebContextMenuParamMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebContextMenuParamMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { ContextMenuMediaType, ContextMenuSourceType, ContextMenuInputFieldType } from "./ArkWebInterfaces" import { INTERFACE_WebContextMenuParam } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -129,4 +147,4 @@ export class WebContextMenuParamInternal { obj.peer = new Finalizable(ptr, WebContextMenuParam.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkWebContextMenuResultMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebContextMenuResultMaterialized.ts index eb4f6b644..86e7a2ff7 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebContextMenuResultMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebContextMenuResultMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_WebContextMenuResult } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -72,4 +90,4 @@ export class WebContextMenuResultInternal { obj.peer = new Finalizable(ptr, WebContextMenuResult.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkWebControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebControllerMaterialized.ts index 208b8525d..52f573c1a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { 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" @@ -248,4 +266,4 @@ export class WebControllerInternal { obj.peer = new Finalizable(ptr, WebController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkWebCookieMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebCookieMaterialized.ts index 41f16a343..c2c9659d2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebCookieMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebCookieMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_WebCookie } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -44,4 +62,4 @@ export class WebCookieInternal { obj.peer = new Finalizable(ptr, WebCookie.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkWebInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkWebInterfaces.ts index ce4df3d20..a63db8eb2 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -631,4 +649,4 @@ export interface NestedScrollOptionsExt { scrollDown?: NestedScrollMode; scrollRight?: NestedScrollMode; scrollLeft?: NestedScrollMode; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkWebKeyboardControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebKeyboardControllerMaterialized.ts index 0012f8cba..dba747c97 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebKeyboardControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebKeyboardControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_WebKeyboardController } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -69,4 +87,4 @@ export class WebKeyboardControllerInternal { obj.peer = new Finalizable(ptr, WebKeyboardController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkWebResourceErrorMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebResourceErrorMaterialized.ts index fbf7d5567..9a3305ab5 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebResourceErrorMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebResourceErrorMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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_WebResourceError } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer, NativeBuffer } from "@koalaui/interop" @@ -44,4 +62,4 @@ export class WebResourceErrorInternal { obj.peer = new Finalizable(ptr, WebResourceError.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkWebResourceRequestMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebResourceRequestMaterialized.ts index 47b9dc35d..ea01cff59 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebResourceRequestMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebResourceRequestMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { Header } from "./ArkWebInterfaces" import { INTERFACE_WebResourceRequest } from "./SyntheticDeclarations" import { TypeChecker, ArkUIGeneratedNativeModule } from "#components" @@ -73,4 +91,4 @@ export class WebResourceRequestInternal { obj.peer = new Finalizable(ptr, WebResourceRequest.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkWebResourceResponseMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebResourceResponseMaterialized.ts index 799833be7..009918d97 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebResourceResponseMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebResourceResponseMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { Resource } from "./ArkResourceInterfaces" import { Header } from "./ArkWebInterfaces" import { INTERFACE_WebResourceResponse } from "./SyntheticDeclarations" @@ -175,4 +193,4 @@ export class WebResourceResponseInternal { obj.peer = new Finalizable(ptr, WebResourceResponse.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkWebviewControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkWebviewControllerMaterialized.ts index 9d2f45285..6a47dca4a 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWebviewControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWebviewControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { Resource } from "./ArkResourceInterfaces" import { WebHeader } from "./ArkArkui-externalInterfaces" import { INTERFACE_WebviewController } from "./SyntheticDeclarations" @@ -76,4 +94,4 @@ export class WebviewControllerInternal { obj.peer = new Finalizable(ptr, WebviewController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkWindowSceneInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkWindowSceneInterfaces.ts index 472d49005..39f0b7953 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWindowSceneInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWindowSceneInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -5,4 +23,4 @@ import { CommonMethod } from "./ArkCommonInterfaces" import { Position } from "./ArkUnitsInterfaces" export type WindowSceneInterface = (persistentId: number) => WindowSceneAttribute; export interface WindowSceneAttribute extends CommonMethod { -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkWithThemeInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkWithThemeInterfaces.ts index 5ed6faad2..7216b838e 100644 --- a/arkoala-arkts/arkui/src/generated/ArkWithThemeInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkWithThemeInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -11,4 +29,4 @@ export interface WithThemeOptions { } export type WithThemeInterface = (options: WithThemeOptions) => WithThemeAttribute; export interface WithThemeAttribute { -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkXComponentControllerMaterialized.ts b/arkoala-arkts/arkui/src/generated/ArkXComponentControllerMaterialized.ts index c596c44b2..2a7c77cd0 100644 --- a/arkoala-arkts/arkui/src/generated/ArkXComponentControllerMaterialized.ts +++ b/arkoala-arkts/arkui/src/generated/ArkXComponentControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { Literal_Number_surfaceHeight_surfaceWidth, INTERFACE_XComponentController } from "./SyntheticDeclarations" import { SurfaceRect, SurfaceRotationOptions } from "./ArkXcomponentInterfaces" import { ImageAnalyzerConfig } from "./ArkImageCommonInterfaces" @@ -143,4 +161,4 @@ export class XComponentControllerInternal { obj.peer = new Finalizable(ptr, XComponentController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/ArkXcomponentInterfaces.ts b/arkoala-arkts/arkui/src/generated/ArkXcomponentInterfaces.ts index 7f92312f5..9225add87 100644 --- a/arkoala-arkts/arkui/src/generated/ArkXcomponentInterfaces.ts +++ b/arkoala-arkts/arkui/src/generated/ArkXcomponentInterfaces.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -32,4 +50,4 @@ export interface XComponentAttribute extends CommonMethod { onDestroy: VoidCallback; enableAnalyzer: boolean; enableSecure: boolean; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/GlobalScope.ts b/arkoala-arkts/arkui/src/generated/GlobalScope.ts index 065d01e9e..52b4a28af 100644 --- a/arkoala-arkts/arkui/src/generated/GlobalScope.ts +++ b/arkoala-arkts/arkui/src/generated/GlobalScope.ts @@ -22,63 +22,63 @@ import { Resource } from "./ArkResourceInterfaces" import { Callback_Void, Callback_String_Void } from "./SyntheticDeclarations" import { PointerStyle } from "./ArkArkui-customInterfaces" import { GlobalScope_inspector } from "./ArkGlobalScopeInspectorMaterialized" -export function getContext(component: Object) { +export function getContext(component: Object): Context { return GlobalScope_common.getContext(component) } -export function postCardAction(component: Object, action: Object) { +export function postCardAction(component: Object, action: Object): void { GlobalScope_common.postCardAction(component, action) } -export function dollar_r(value: string, params: Array) { +export function dollar_r(value: string, params: Array): Resource { return GlobalScope_common.dollar_r(value, params) } -export function dollar_rawfile(value: string) { +export function dollar_rawfile(value: string): Resource { return GlobalScope_common.dollar_rawfile(value) } -export function animateTo(value: AnimateParam, event: (() => void)) { +export function animateTo(value: AnimateParam, event: (() => void)): void { GlobalScope_common.animateTo(value, event) } -export function animateToImmediately(value: AnimateParam, event: (() => void)) { +export function animateToImmediately(value: AnimateParam, event: (() => void)): void { GlobalScope_common.animateToImmediately(value, event) } -export function vp2px(value: number) { +export function vp2px(value: number): number { return GlobalScope_common.vp2px(value) } -export function px2vp(value: number) { +export function px2vp(value: number): number { return GlobalScope_common.px2vp(value) } -export function fp2px(value: number) { +export function fp2px(value: number): number { return GlobalScope_common.fp2px(value) } -export function px2fp(value: number) { +export function px2fp(value: number): number { return GlobalScope_common.px2fp(value) } -export function lpx2px(value: number) { +export function lpx2px(value: number): number { return GlobalScope_common.lpx2px(value) } -export function px2lpx(value: number) { +export function px2lpx(value: number): number { return GlobalScope_common.px2lpx(value) } -export function requestFocus(value: string) { +export function requestFocus(value: string): boolean { return GlobalScope_common.requestFocus(value) } -export function setCursor(value: PointerStyle) { +export function setCursor(value: PointerStyle): void { GlobalScope_common.setCursor(value) } -export function restoreDefault() { +export function restoreDefault(): void { GlobalScope_common.restoreDefault() } -export function getInspectorNodes() { +export function getInspectorNodes(): Object { return GlobalScope_inspector.getInspectorNodes() } -export function getInspectorNodeById(id: number) { +export function getInspectorNodeById(id: number): Object { return GlobalScope_inspector.getInspectorNodeById(id) } -export function registerVsyncCallback(callback_: ((info: string) => void)) { +export function registerVsyncCallback(callback_: ((info: string) => void)): void { GlobalScope_inspector.registerVsyncCallback(callback_) } -export function unregisterVsyncCallback() { +export function unregisterVsyncCallback(): void { GlobalScope_inspector.unregisterVsyncCallback() } -export function setAppBgColor(value: string) { +export function setAppBgColor(value: string): void { GlobalScope_inspector.setAppBgColor(value) } diff --git a/arkoala-arkts/arkui/src/generated/SyntheticDeclarations.ts b/arkoala-arkts/arkui/src/generated/SyntheticDeclarations.ts index dab72246b..7a311468b 100644 --- a/arkoala-arkts/arkui/src/generated/SyntheticDeclarations.ts +++ b/arkoala-arkts/arkui/src/generated/SyntheticDeclarations.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + + +// WARNING! THIS FILE IS AUTO-GENERATED, DO NOT MAKE CHANGES, THEY WILL BE LOST ON NEXT GENERATION! + import { int32, int64, float32 } from "@koalaui/common" import { KInt, KPointer, KBoolean, KStringPtr, wrapCallback, NativeBuffer } from "@koalaui/interop" import { NodeAttach, remember } from "@koalaui/runtime" @@ -858,4 +876,4 @@ export interface INTERFACE_LinearIndicatorController { } namespace Profiler { export type Callback_String_Void = (info: string) => void; -} \ No newline at end of file +} diff --git a/arkoala-arkts/arkui/src/generated/index.ts b/arkoala-arkts/arkui/src/generated/index.ts index 18f0f293d..ffdff7778 100644 --- a/arkoala-arkts/arkui/src/generated/index.ts +++ b/arkoala-arkts/arkui/src/generated/index.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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! + export * from "./ArkStaticComponents" export * from "./ArkAbilityComponent" export * from "./ArkAlphabetIndexer" @@ -371,4 +389,4 @@ export * from "./ArkMutableStyledStringMaterialized" export * from "./ArkCustomSpanMaterialized" export * from "./ArkLinearIndicatorControllerMaterialized" export * from "./ArkGlobalScopeInspectorMaterialized" -export * from "./GlobalScope" \ No newline at end of file +export * from "./GlobalScope" diff --git a/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts b/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts index 7e61f089d..a20897513 100644 --- a/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts +++ b/arkoala-arkts/arkui/src/generated/peers/CallbackDeserializeCall.ts @@ -94,40 +94,40 @@ import { DigitIndicator } from "./../ArkDigitIndicatorBuilder" import { SubTabBarStyle } from "./../ArkSubTabBarStyleBuilder" import { BottomTabBarStyle } from "./../ArkBottomTabBarStyleBuilder" -export function deserializeAndCallAccessibilityCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallAccessibilityCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as AccessibilityCallback) let isHover : boolean = thisDeserializer.readBoolean() let event : AccessibilityHoverEvent = (thisDeserializer.readAccessibilityHoverEvent() as AccessibilityHoverEvent) _call(isHover, event) } -export function deserializeAndCallAsyncCallback_image_PixelMap_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallAsyncCallback_image_PixelMap_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((result: PixelMap) => void)) let result : PixelMap = (thisDeserializer.readPixelMap() as PixelMap) _call(result) } -export function deserializeAndCallButtonTriggerClickCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallButtonTriggerClickCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ButtonTriggerClickCallback) let xPos : number = (thisDeserializer.readNumber() as number) let yPos : number = (thisDeserializer.readNumber() as number) _call(xPos, yPos) } -export function deserializeAndCallCallback_Any_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Any_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((info: object) => void)) let info : object = (thisDeserializer.readCustomObject("Any") as Object) _call(info) } -export function deserializeAndCallCallback_Area_Area_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Area_Area_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((oldValue: Area,newValue: Area) => void)) let oldValue : Area = thisDeserializer.readArea() let newValue : Area = thisDeserializer.readArea() _call(oldValue, newValue) } -export function deserializeAndCallCallback_Array_Number_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Array_Number_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((input: Array) => void)) const input_buf_length : int32 = thisDeserializer.readInt32() @@ -138,7 +138,7 @@ export function deserializeAndCallCallback_Array_Number_Void(thisDeserializer: D let input : Array = input_buf _call(input) } -export function deserializeAndCallCallback_Array_String_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Array_String_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: Array) => void)) const value_buf_length : int32 = thisDeserializer.readInt32() @@ -149,7 +149,7 @@ export function deserializeAndCallCallback_Array_String_Void(thisDeserializer: D let value : Array = value_buf _call(value) } -export function deserializeAndCallCallback_Array_TouchTestInfo_TouchResult(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Array_TouchTestInfo_TouchResult(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: Array) => TouchResult)) const value_buf_length : int32 = thisDeserializer.readInt32() @@ -162,102 +162,102 @@ export function deserializeAndCallCallback_Array_TouchTestInfo_TouchResult(thisD const _callResult = _call(value) _continuation(_callResult) } -export function deserializeAndCallCallback_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as (() => boolean)) let _continuation : ((parameter: boolean) => void) = thisDeserializer.readCallback_Boolean_Void(true) const _callResult = _call() _continuation(_callResult) } -export function deserializeAndCallCallback_Boolean_HoverEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Boolean_HoverEvent_Void(thisDeserializer: Deserializer): void { 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() as HoverEvent) _call(isHover, event) } -export function deserializeAndCallCallback_Boolean_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Boolean_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: boolean) => void)) let parameter : boolean = thisDeserializer.readBoolean() _call(parameter) } -export function deserializeAndCallCallback_CalendarRequestedData_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_CalendarRequestedData_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: CalendarRequestedData) => void)) let event : CalendarRequestedData = thisDeserializer.readCalendarRequestedData() _call(event) } -export function deserializeAndCallCallback_CalendarSelectedDate_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_CalendarSelectedDate_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: CalendarSelectedDate) => void)) let event : CalendarSelectedDate = thisDeserializer.readCalendarSelectedDate() _call(event) } -export function deserializeAndCallCallback_ClickEvent_LocationButtonOnClickResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ClickEvent_LocationButtonOnClickResult_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent,result: LocationButtonOnClickResult) => void)) let event : ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) let result : LocationButtonOnClickResult = (thisDeserializer.readInt32() as LocationButtonOnClickResult) _call(event, result) } -export function deserializeAndCallCallback_ClickEvent_PasteButtonOnClickResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ClickEvent_PasteButtonOnClickResult_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent,result: PasteButtonOnClickResult) => void)) let event : ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) let result : PasteButtonOnClickResult = (thisDeserializer.readInt32() as PasteButtonOnClickResult) _call(event, result) } -export function deserializeAndCallCallback_ClickEvent_SaveButtonOnClickResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ClickEvent_SaveButtonOnClickResult_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent,result: SaveButtonOnClickResult) => void)) let event : ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) let result : SaveButtonOnClickResult = (thisDeserializer.readInt32() as SaveButtonOnClickResult) _call(event, result) } -export function deserializeAndCallCallback_ClickEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ClickEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent) => void)) let event : ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) _call(event) } -export function deserializeAndCallCallback_ComputedBarAttribute_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ComputedBarAttribute_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: ComputedBarAttribute) => void)) let value : ComputedBarAttribute = thisDeserializer.readComputedBarAttribute() _call(value) } -export function deserializeAndCallCallback_CopyEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_CopyEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: CopyEvent) => void)) let parameter : CopyEvent = thisDeserializer.readCopyEvent() _call(parameter) } -export function deserializeAndCallCallback_CustomBuilder_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_CustomBuilder_Void(thisDeserializer: Deserializer): void { 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) { +export function deserializeAndCallCallback_CutEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: CutEvent) => void)) let parameter : CutEvent = thisDeserializer.readCutEvent() _call(parameter) } -export function deserializeAndCallCallback_Date_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Date_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: Date) => void)) let parameter : Date = new Date(thisDeserializer.readInt64()) _call(parameter) } -export function deserializeAndCallCallback_DatePickerResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_DatePickerResult_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: DatePickerResult) => void)) let value : DatePickerResult = thisDeserializer.readDatePickerResult() _call(value) } -export function deserializeAndCallCallback_DeleteValue_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_DeleteValue_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: DeleteValue) => boolean)) let parameter : DeleteValue = thisDeserializer.readDeleteValue() @@ -265,37 +265,37 @@ export function deserializeAndCallCallback_DeleteValue_Boolean(thisDeserializer: const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_DeleteValue_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_DeleteValue_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: DeleteValue) => void)) let parameter : DeleteValue = thisDeserializer.readDeleteValue() _call(parameter) } -export function deserializeAndCallCallback_DismissContentCoverAction_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_DismissContentCoverAction_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: DismissContentCoverAction) => void)) let parameter : DismissContentCoverAction = thisDeserializer.readDismissContentCoverAction() _call(parameter) } -export function deserializeAndCallCallback_DismissDialogAction_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_DismissDialogAction_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: DismissDialogAction) => void)) let parameter : DismissDialogAction = thisDeserializer.readDismissDialogAction() _call(parameter) } -export function deserializeAndCallCallback_DismissPopupAction_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_DismissPopupAction_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: DismissPopupAction) => void)) let parameter : DismissPopupAction = thisDeserializer.readDismissPopupAction() _call(parameter) } -export function deserializeAndCallCallback_DismissSheetAction_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_DismissSheetAction_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: DismissSheetAction) => void)) let parameter : DismissSheetAction = thisDeserializer.readDismissSheetAction() _call(parameter) } -export function deserializeAndCallCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: DragEvent,extraParams?: string) => CustomBuilder | DragItemInfo)) let event : DragEvent = (thisDeserializer.readDragEvent() as DragEvent) @@ -310,7 +310,7 @@ export function deserializeAndCallCallback_DragEvent_String_Union_CustomBuilder_ const _callResult = _call(event, extraParams) _continuation(_callResult) } -export function deserializeAndCallCallback_DragEvent_String_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_DragEvent_String_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: DragEvent,extraParams?: string) => void)) let event : DragEvent = (thisDeserializer.readDragEvent() as DragEvent) @@ -323,42 +323,42 @@ export function deserializeAndCallCallback_DragEvent_String_Void(thisDeserialize let extraParams : string | undefined = extraParams_buf _call(event, extraParams) } -export function deserializeAndCallCallback_EnterKeyType_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_EnterKeyType_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((enterKey: EnterKeyType) => void)) let enterKey : EnterKeyType = (thisDeserializer.readInt32() as EnterKeyType) _call(enterKey) } -export function deserializeAndCallCallback_Extender_OnFinish(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Extender_OnFinish(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as Callback_Extender_OnFinish) _call() } -export function deserializeAndCallCallback_Extender_OnProgress(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Extender_OnProgress(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as Callback_Extender_OnProgress) let value : float32 = thisDeserializer.readFloat32() _call(value) } -export function deserializeAndCallCallback_FormCallbackInfo_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_FormCallbackInfo_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: FormCallbackInfo) => void)) let parameter : FormCallbackInfo = thisDeserializer.readFormCallbackInfo() _call(parameter) } -export function deserializeAndCallCallback_FullscreenInfo_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_FullscreenInfo_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: FullscreenInfo) => void)) let parameter : FullscreenInfo = thisDeserializer.readFullscreenInfo() _call(parameter) } -export function deserializeAndCallCallback_GestureEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_GestureEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: GestureEvent) => void)) let event : GestureEvent = (thisDeserializer.readGestureEvent() as GestureEvent) _call(event) } -export function deserializeAndCallCallback_GestureInfo_BaseGestureEvent_GestureJudgeResult(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_GestureInfo_BaseGestureEvent_GestureJudgeResult(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((gestureInfo: GestureInfo,event: BaseGestureEvent) => GestureJudgeResult)) let gestureInfo : GestureInfo = thisDeserializer.readGestureInfo() @@ -367,25 +367,25 @@ export function deserializeAndCallCallback_GestureInfo_BaseGestureEvent_GestureJ const _callResult = _call(gestureInfo, event) _continuation(_callResult) } -export function deserializeAndCallCallback_GestureJudgeResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_GestureJudgeResult_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: GestureJudgeResult) => void)) let value : GestureJudgeResult = (thisDeserializer.readInt32() as GestureJudgeResult) _call(value) } -export function deserializeAndCallCallback_GestureRecognizer_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_GestureRecognizer_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: GestureRecognizer) => void)) let value : GestureRecognizer = (thisDeserializer.readGestureRecognizer() as GestureRecognizer) _call(value) } -export function deserializeAndCallCallback_HitTestMode_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_HitTestMode_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: HitTestMode) => void)) let value : HitTestMode = (thisDeserializer.readInt32() as HitTestMode) _call(value) } -export function deserializeAndCallCallback_InsertValue_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_InsertValue_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: InsertValue) => boolean)) let parameter : InsertValue = thisDeserializer.readInsertValue() @@ -393,19 +393,19 @@ export function deserializeAndCallCallback_InsertValue_Boolean(thisDeserializer: const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_InsertValue_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_InsertValue_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: InsertValue) => void)) let parameter : InsertValue = thisDeserializer.readInsertValue() _call(parameter) } -export function deserializeAndCallCallback_IsolatedComponentAttribute_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_IsolatedComponentAttribute_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: IsolatedComponentAttribute) => void)) let value : IsolatedComponentAttribute = thisDeserializer.readIsolatedComponentAttribute() _call(value) } -export function deserializeAndCallCallback_ItemDragInfo_Number_CustomBuilder(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ItemDragInfo_Number_CustomBuilder(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ItemDragInfo,itemIndex: number) => CustomBuilder)) let event : ItemDragInfo = thisDeserializer.readItemDragInfo() @@ -414,7 +414,7 @@ export function deserializeAndCallCallback_ItemDragInfo_Number_CustomBuilder(thi const _callResult = _call(event, itemIndex) _continuation(_callResult) } -export function deserializeAndCallCallback_ItemDragInfo_Number_Number_Boolean_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ItemDragInfo_Number_Number_Boolean_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ItemDragInfo,itemIndex: number,insertIndex: number,isSuccess: boolean) => void)) let event : ItemDragInfo = thisDeserializer.readItemDragInfo() @@ -423,7 +423,7 @@ export function deserializeAndCallCallback_ItemDragInfo_Number_Number_Boolean_Vo let isSuccess : boolean = thisDeserializer.readBoolean() _call(event, itemIndex, insertIndex, isSuccess) } -export function deserializeAndCallCallback_ItemDragInfo_Number_Number_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ItemDragInfo_Number_Number_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ItemDragInfo,itemIndex: number,insertIndex: number) => void)) let event : ItemDragInfo = thisDeserializer.readItemDragInfo() @@ -431,20 +431,20 @@ export function deserializeAndCallCallback_ItemDragInfo_Number_Number_Void(thisD let insertIndex : number = (thisDeserializer.readNumber() as number) _call(event, itemIndex, insertIndex) } -export function deserializeAndCallCallback_ItemDragInfo_Number_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ItemDragInfo_Number_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ItemDragInfo,itemIndex: number) => void)) let event : ItemDragInfo = thisDeserializer.readItemDragInfo() let itemIndex : number = (thisDeserializer.readNumber() as number) _call(event, itemIndex) } -export function deserializeAndCallCallback_ItemDragInfo_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ItemDragInfo_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ItemDragInfo) => void)) let event : ItemDragInfo = thisDeserializer.readItemDragInfo() _call(event) } -export function deserializeAndCallCallback_KeyEvent_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_KeyEvent_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: KeyEvent) => boolean)) let parameter : KeyEvent = (thisDeserializer.readKeyEvent() as KeyEvent) @@ -452,20 +452,20 @@ export function deserializeAndCallCallback_KeyEvent_Boolean(thisDeserializer: De const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_KeyEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_KeyEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: KeyEvent) => void)) let event : KeyEvent = (thisDeserializer.readKeyEvent() as KeyEvent) _call(event) } -export function deserializeAndCallCallback_Literal_Boolean_isVisible_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Literal_Boolean_isVisible_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: Literal_Boolean_isVisible) => void)) const event_buf_isVisible : boolean = thisDeserializer.readBoolean() let event : Literal_Boolean_isVisible = ({isVisible: event_buf_isVisible} as Literal_Boolean_isVisible) _call(event) } -export function deserializeAndCallCallback_Literal_Function_handler_Object_error_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Literal_Function_handler_Object_error_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: Literal_Function_handler_Object_error) => void)) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) @@ -477,7 +477,7 @@ export function deserializeAndCallCallback_Literal_Function_handler_Object_error let event : Literal_Function_handler_Object_error | undefined = event_buf _call(event) } -export function deserializeAndCallCallback_Literal_Number_code_Want_want_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Literal_Number_code_Want_want_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: Literal_Number_code_Want_want) => void)) const parameter_buf_code : number = (thisDeserializer.readNumber() as number) @@ -491,7 +491,7 @@ export function deserializeAndCallCallback_Literal_Number_code_Want_want_Void(th let parameter : Literal_Number_code_Want_want = ({code: parameter_buf_code, want: parameter_buf_want} as Literal_Number_code_Want_want) _call(parameter) } -export function deserializeAndCallCallback_Literal_Number_errcode_String_msg_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Literal_Number_errcode_String_msg_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((info: Literal_Number_errcode_String_msg) => void)) const info_buf_errcode : number = (thisDeserializer.readNumber() as number) @@ -499,14 +499,14 @@ export function deserializeAndCallCallback_Literal_Number_errcode_String_msg_Voi let info : Literal_Number_errcode_String_msg = ({errcode: info_buf_errcode, msg: info_buf_msg} as Literal_Number_errcode_String_msg) _call(info) } -export function deserializeAndCallCallback_Literal_Number_offsetRemain_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Literal_Number_offsetRemain_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: Literal_Number_offsetRemain) => void)) const value_buf_offsetRemain : number = (thisDeserializer.readNumber() as number) let value : Literal_Number_offsetRemain = ({offsetRemain: value_buf_offsetRemain} as Literal_Number_offsetRemain) _call(value) } -export function deserializeAndCallCallback_Literal_Object_detail_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Literal_Object_detail_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: Literal_Object_detail) => boolean)) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) @@ -521,56 +521,56 @@ export function deserializeAndCallCallback_Literal_Object_detail_Boolean(thisDes const _callResult = _call(event) _continuation(_callResult) } -export function deserializeAndCallCallback_Literal_String_plainText_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Literal_String_plainText_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((selectedText: Literal_String_plainText) => void)) const selectedText_buf_plainText : string = (thisDeserializer.readString() as string) let selectedText : Literal_String_plainText = ({plainText: selectedText_buf_plainText} as Literal_String_plainText) _call(selectedText) } -export function deserializeAndCallCallback_MouseEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_MouseEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: MouseEvent) => void)) let event : MouseEvent = (thisDeserializer.readMouseEvent() as MouseEvent) _call(event) } -export function deserializeAndCallCallback_NativeEmbedDataInfo_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_NativeEmbedDataInfo_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: NativeEmbedDataInfo) => void)) let event : NativeEmbedDataInfo = thisDeserializer.readNativeEmbedDataInfo() _call(event) } -export function deserializeAndCallCallback_NativeEmbedTouchInfo_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_NativeEmbedTouchInfo_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: NativeEmbedTouchInfo) => void)) let event : NativeEmbedTouchInfo = thisDeserializer.readNativeEmbedTouchInfo() _call(event) } -export function deserializeAndCallCallback_NavDestinationContext_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_NavDestinationContext_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: NavDestinationContext) => void)) let parameter : NavDestinationContext = (thisDeserializer.readNavDestinationContext() as NavDestinationContext) _call(parameter) } -export function deserializeAndCallCallback_NavigationMode_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_NavigationMode_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((mode: NavigationMode) => void)) let mode : NavigationMode = (thisDeserializer.readInt32() as NavigationMode) _call(mode) } -export function deserializeAndCallCallback_NavigationTitleMode_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_NavigationTitleMode_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((titleMode: NavigationTitleMode) => void)) let titleMode : NavigationTitleMode = (thisDeserializer.readInt32() as NavigationTitleMode) _call(titleMode) } -export function deserializeAndCallCallback_NavigationTransitionProxy_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_NavigationTransitionProxy_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((transitionProxy: NavigationTransitionProxy) => void)) let transitionProxy : NavigationTransitionProxy = (thisDeserializer.readNavigationTransitionProxy() as NavigationTransitionProxy) _call(transitionProxy) } -export function deserializeAndCallCallback_Number_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((index: number) => boolean)) let index : number = (thisDeserializer.readNumber() as number) @@ -578,7 +578,7 @@ export function deserializeAndCallCallback_Number_Boolean(thisDeserializer: Dese const _callResult = _call(index) _continuation(_callResult) } -export function deserializeAndCallCallback_Number_Number_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_Number_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((from: number,to: number) => boolean)) let from : number = (thisDeserializer.readNumber() as number) @@ -587,7 +587,7 @@ export function deserializeAndCallCallback_Number_Number_Boolean(thisDeserialize const _callResult = _call(from, to) _continuation(_callResult) } -export function deserializeAndCallCallback_Number_Number_ComputedBarAttribute(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_Number_ComputedBarAttribute(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((index: number,offset: number) => ComputedBarAttribute)) let index : number = (thisDeserializer.readNumber() as number) @@ -596,7 +596,7 @@ export function deserializeAndCallCallback_Number_Number_ComputedBarAttribute(th const _callResult = _call(index, offset) _continuation(_callResult) } -export function deserializeAndCallCallback_Number_Number_Number_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_Number_Number_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((start: number,end: number,center: number) => void)) let start : number = (thisDeserializer.readNumber() as number) @@ -604,7 +604,7 @@ export function deserializeAndCallCallback_Number_Number_Number_Void(thisDeseria let center : number = (thisDeserializer.readNumber() as number) _call(start, end, center) } -export function deserializeAndCallCallback_Number_Number_PanelMode_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_Number_PanelMode_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((width: number,height: number,mode: PanelMode) => void)) let width : number = (thisDeserializer.readNumber() as number) @@ -612,14 +612,14 @@ export function deserializeAndCallCallback_Number_Number_PanelMode_Void(thisDese let mode : PanelMode = (thisDeserializer.readInt32() as PanelMode) _call(width, height, mode) } -export function deserializeAndCallCallback_Number_Number_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_Number_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((first: number,last: number) => void)) let first : number = (thisDeserializer.readNumber() as number) let last : number = (thisDeserializer.readNumber() as number) _call(first, last) } -export function deserializeAndCallCallback_Number_ScrollState_Literal_Number_offsetRemain(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_ScrollState_Literal_Number_offsetRemain(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((offset: number,state: ScrollState) => Literal_Number_offsetRemain)) let offset : number = (thisDeserializer.readNumber() as number) @@ -628,21 +628,21 @@ export function deserializeAndCallCallback_Number_ScrollState_Literal_Number_off const _callResult = _call(offset, state) _continuation(_callResult) } -export function deserializeAndCallCallback_Number_SliderChangeMode_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_SliderChangeMode_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: number,mode: SliderChangeMode) => void)) let value : number = (thisDeserializer.readNumber() as number) let mode : SliderChangeMode = (thisDeserializer.readInt32() as SliderChangeMode) _call(value, mode) } -export function deserializeAndCallCallback_Number_String_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_String_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((index: number,value: string) => void)) let index : number = (thisDeserializer.readNumber() as number) let value : string = (thisDeserializer.readString() as string) _call(index, value) } -export function deserializeAndCallCallback_Number_Tuple_Number_Number(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_Tuple_Number_Number(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((index: number) => [ number, number ])) let index : number = (thisDeserializer.readNumber() as number) @@ -650,7 +650,7 @@ export function deserializeAndCallCallback_Number_Tuple_Number_Number(thisDeseri const _callResult = _call(index) _continuation(_callResult) } -export function deserializeAndCallCallback_Number_Tuple_Number_Number_Number_Number(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_Tuple_Number_Number_Number_Number(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((index: number) => [ number, number, number, number ])) let index : number = (thisDeserializer.readNumber() as number) @@ -658,19 +658,19 @@ export function deserializeAndCallCallback_Number_Tuple_Number_Number_Number_Num const _callResult = _call(index) _continuation(_callResult) } -export function deserializeAndCallCallback_Number_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((index: number) => void)) let index : number = (thisDeserializer.readNumber() as number) _call(index) } -export function deserializeAndCallCallback_OffsetResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OffsetResult_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: OffsetResult) => void)) let value : OffsetResult = thisDeserializer.readOffsetResult() _call(value) } -export function deserializeAndCallCallback_OnAlertEvent_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnAlertEvent_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnAlertEvent) => boolean)) let parameter : OnAlertEvent = thisDeserializer.readOnAlertEvent() @@ -678,13 +678,13 @@ export function deserializeAndCallCallback_OnAlertEvent_Boolean(thisDeserializer const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_OnAudioStateChangedEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnAudioStateChangedEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnAudioStateChangedEvent) => void)) let parameter : OnAudioStateChangedEvent = thisDeserializer.readOnAudioStateChangedEvent() _call(parameter) } -export function deserializeAndCallCallback_OnBeforeUnloadEvent_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnBeforeUnloadEvent_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnBeforeUnloadEvent) => boolean)) let parameter : OnBeforeUnloadEvent = thisDeserializer.readOnBeforeUnloadEvent() @@ -692,13 +692,13 @@ export function deserializeAndCallCallback_OnBeforeUnloadEvent_Boolean(thisDeser const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_OnClientAuthenticationEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnClientAuthenticationEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnClientAuthenticationEvent) => void)) let parameter : OnClientAuthenticationEvent = thisDeserializer.readOnClientAuthenticationEvent() _call(parameter) } -export function deserializeAndCallCallback_OnConfirmEvent_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnConfirmEvent_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnConfirmEvent) => boolean)) let parameter : OnConfirmEvent = thisDeserializer.readOnConfirmEvent() @@ -706,7 +706,7 @@ export function deserializeAndCallCallback_OnConfirmEvent_Boolean(thisDeserializ const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_OnConsoleEvent_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnConsoleEvent_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnConsoleEvent) => boolean)) let parameter : OnConsoleEvent = thisDeserializer.readOnConsoleEvent() @@ -714,7 +714,7 @@ export function deserializeAndCallCallback_OnConsoleEvent_Boolean(thisDeserializ const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_OnContextMenuShowEvent_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnContextMenuShowEvent_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnContextMenuShowEvent) => boolean)) let parameter : OnContextMenuShowEvent = thisDeserializer.readOnContextMenuShowEvent() @@ -722,43 +722,43 @@ export function deserializeAndCallCallback_OnContextMenuShowEvent_Boolean(thisDe const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_OnDataResubmittedEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnDataResubmittedEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnDataResubmittedEvent) => void)) let parameter : OnDataResubmittedEvent = thisDeserializer.readOnDataResubmittedEvent() _call(parameter) } -export function deserializeAndCallCallback_OnDownloadStartEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnDownloadStartEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnDownloadStartEvent) => void)) let parameter : OnDownloadStartEvent = thisDeserializer.readOnDownloadStartEvent() _call(parameter) } -export function deserializeAndCallCallback_OnErrorReceiveEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnErrorReceiveEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnErrorReceiveEvent) => void)) let parameter : OnErrorReceiveEvent = thisDeserializer.readOnErrorReceiveEvent() _call(parameter) } -export function deserializeAndCallCallback_OnFaviconReceivedEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnFaviconReceivedEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnFaviconReceivedEvent) => void)) let parameter : OnFaviconReceivedEvent = thisDeserializer.readOnFaviconReceivedEvent() _call(parameter) } -export function deserializeAndCallCallback_OnFirstContentfulPaintEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnFirstContentfulPaintEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnFirstContentfulPaintEvent) => void)) let parameter : OnFirstContentfulPaintEvent = thisDeserializer.readOnFirstContentfulPaintEvent() _call(parameter) } -export function deserializeAndCallCallback_OnGeolocationShowEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnGeolocationShowEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnGeolocationShowEvent) => void)) let parameter : OnGeolocationShowEvent = thisDeserializer.readOnGeolocationShowEvent() _call(parameter) } -export function deserializeAndCallCallback_OnHttpAuthRequestEvent_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnHttpAuthRequestEvent_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnHttpAuthRequestEvent) => boolean)) let parameter : OnHttpAuthRequestEvent = thisDeserializer.readOnHttpAuthRequestEvent() @@ -766,13 +766,13 @@ export function deserializeAndCallCallback_OnHttpAuthRequestEvent_Boolean(thisDe const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_OnHttpErrorReceiveEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnHttpErrorReceiveEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnHttpErrorReceiveEvent) => void)) let parameter : OnHttpErrorReceiveEvent = thisDeserializer.readOnHttpErrorReceiveEvent() _call(parameter) } -export function deserializeAndCallCallback_OnInterceptRequestEvent_WebResourceResponse(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnInterceptRequestEvent_WebResourceResponse(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnInterceptRequestEvent) => WebResourceResponse)) let parameter : OnInterceptRequestEvent = thisDeserializer.readOnInterceptRequestEvent() @@ -780,7 +780,7 @@ export function deserializeAndCallCallback_OnInterceptRequestEvent_WebResourceRe const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_OnLoadInterceptEvent_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnLoadInterceptEvent_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnLoadInterceptEvent) => boolean)) let parameter : OnLoadInterceptEvent = thisDeserializer.readOnLoadInterceptEvent() @@ -788,43 +788,43 @@ export function deserializeAndCallCallback_OnLoadInterceptEvent_Boolean(thisDese const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_OnOverScrollEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnOverScrollEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnOverScrollEvent) => void)) let parameter : OnOverScrollEvent = thisDeserializer.readOnOverScrollEvent() _call(parameter) } -export function deserializeAndCallCallback_OnPageBeginEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnPageBeginEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnPageBeginEvent) => void)) let parameter : OnPageBeginEvent = thisDeserializer.readOnPageBeginEvent() _call(parameter) } -export function deserializeAndCallCallback_OnPageEndEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnPageEndEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnPageEndEvent) => void)) let parameter : OnPageEndEvent = thisDeserializer.readOnPageEndEvent() _call(parameter) } -export function deserializeAndCallCallback_OnPageVisibleEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnPageVisibleEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnPageVisibleEvent) => void)) let parameter : OnPageVisibleEvent = thisDeserializer.readOnPageVisibleEvent() _call(parameter) } -export function deserializeAndCallCallback_OnPermissionRequestEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnPermissionRequestEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnPermissionRequestEvent) => void)) let parameter : OnPermissionRequestEvent = thisDeserializer.readOnPermissionRequestEvent() _call(parameter) } -export function deserializeAndCallCallback_OnProgressChangeEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnProgressChangeEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnProgressChangeEvent) => void)) let parameter : OnProgressChangeEvent = thisDeserializer.readOnProgressChangeEvent() _call(parameter) } -export function deserializeAndCallCallback_OnPromptEvent_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnPromptEvent_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnPromptEvent) => boolean)) let parameter : OnPromptEvent = thisDeserializer.readOnPromptEvent() @@ -832,55 +832,55 @@ export function deserializeAndCallCallback_OnPromptEvent_Boolean(thisDeserialize const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_OnRefreshAccessedHistoryEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnRefreshAccessedHistoryEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnRefreshAccessedHistoryEvent) => void)) let parameter : OnRefreshAccessedHistoryEvent = thisDeserializer.readOnRefreshAccessedHistoryEvent() _call(parameter) } -export function deserializeAndCallCallback_OnRenderExitedEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnRenderExitedEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnRenderExitedEvent) => void)) let parameter : OnRenderExitedEvent = thisDeserializer.readOnRenderExitedEvent() _call(parameter) } -export function deserializeAndCallCallback_OnResourceLoadEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnResourceLoadEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnResourceLoadEvent) => void)) let parameter : OnResourceLoadEvent = thisDeserializer.readOnResourceLoadEvent() _call(parameter) } -export function deserializeAndCallCallback_OnScaleChangeEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnScaleChangeEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnScaleChangeEvent) => void)) let parameter : OnScaleChangeEvent = thisDeserializer.readOnScaleChangeEvent() _call(parameter) } -export function deserializeAndCallCallback_OnScreenCaptureRequestEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnScreenCaptureRequestEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnScreenCaptureRequestEvent) => void)) let parameter : OnScreenCaptureRequestEvent = thisDeserializer.readOnScreenCaptureRequestEvent() _call(parameter) } -export function deserializeAndCallCallback_OnScrollEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnScrollEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnScrollEvent) => void)) let parameter : OnScrollEvent = thisDeserializer.readOnScrollEvent() _call(parameter) } -export function deserializeAndCallCallback_OnScrollFrameBeginHandlerResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnScrollFrameBeginHandlerResult_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: OnScrollFrameBeginHandlerResult) => void)) let value : OnScrollFrameBeginHandlerResult = thisDeserializer.readOnScrollFrameBeginHandlerResult() _call(value) } -export function deserializeAndCallCallback_OnSearchResultReceiveEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnSearchResultReceiveEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnSearchResultReceiveEvent) => void)) let parameter : OnSearchResultReceiveEvent = thisDeserializer.readOnSearchResultReceiveEvent() _call(parameter) } -export function deserializeAndCallCallback_OnShowFileSelectorEvent_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnShowFileSelectorEvent_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnShowFileSelectorEvent) => boolean)) let parameter : OnShowFileSelectorEvent = thisDeserializer.readOnShowFileSelectorEvent() @@ -888,31 +888,31 @@ export function deserializeAndCallCallback_OnShowFileSelectorEvent_Boolean(thisD const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_OnSslErrorEventReceiveEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnSslErrorEventReceiveEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnSslErrorEventReceiveEvent) => void)) let parameter : OnSslErrorEventReceiveEvent = thisDeserializer.readOnSslErrorEventReceiveEvent() _call(parameter) } -export function deserializeAndCallCallback_OnTitleReceiveEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnTitleReceiveEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnTitleReceiveEvent) => void)) let parameter : OnTitleReceiveEvent = thisDeserializer.readOnTitleReceiveEvent() _call(parameter) } -export function deserializeAndCallCallback_OnTouchIconUrlReceivedEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnTouchIconUrlReceivedEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnTouchIconUrlReceivedEvent) => void)) let parameter : OnTouchIconUrlReceivedEvent = thisDeserializer.readOnTouchIconUrlReceivedEvent() _call(parameter) } -export function deserializeAndCallCallback_OnWindowNewEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnWindowNewEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnWindowNewEvent) => void)) let parameter : OnWindowNewEvent = thisDeserializer.readOnWindowNewEvent() _call(parameter) } -export function deserializeAndCallCallback_Opt_Array_String_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Opt_Array_String_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((error?: Array | undefined) => void)) const error_buf_runtimeType = (thisDeserializer.readInt8() as int32) @@ -929,7 +929,7 @@ export function deserializeAndCallCallback_Opt_Array_String_Void(thisDeserialize let error : Array | undefined = error_buf _call(error) } -export function deserializeAndCallCallback_Opt_NavigationAnimatedTransition_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Opt_NavigationAnimatedTransition_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: NavigationAnimatedTransition | undefined) => void)) const value_buf_runtimeType = (thisDeserializer.readInt8() as int32) @@ -941,7 +941,7 @@ export function deserializeAndCallCallback_Opt_NavigationAnimatedTransition_Void let value : NavigationAnimatedTransition | undefined = value_buf _call(value) } -export function deserializeAndCallCallback_Opt_StyledString_Opt_Array_String_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Opt_StyledString_Opt_Array_String_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value?: StyledString | undefined,error?: Array | undefined) => void)) const value_buf_runtimeType = (thisDeserializer.readInt8() as int32) @@ -965,7 +965,7 @@ export function deserializeAndCallCallback_Opt_StyledString_Opt_Array_String_Voi let error : Array | undefined = error_buf _call(value, error) } -export function deserializeAndCallCallback_Opt_TabContentAnimatedTransition_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Opt_TabContentAnimatedTransition_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: TabContentAnimatedTransition | undefined) => void)) const value_buf_runtimeType = (thisDeserializer.readInt8() as int32) @@ -977,43 +977,43 @@ export function deserializeAndCallCallback_Opt_TabContentAnimatedTransition_Void let value : TabContentAnimatedTransition | undefined = value_buf _call(value) } -export function deserializeAndCallCallback_PanelMode_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_PanelMode_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((mode: PanelMode) => void)) let mode : PanelMode = (thisDeserializer.readInt32() as PanelMode) _call(mode) } -export function deserializeAndCallCallback_PlaybackInfo_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_PlaybackInfo_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: PlaybackInfo) => void)) let parameter : PlaybackInfo = thisDeserializer.readPlaybackInfo() _call(parameter) } -export function deserializeAndCallCallback_Pointer_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Pointer_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: KPointer) => void)) let value : KPointer = thisDeserializer.readPointer() _call(value) } -export function deserializeAndCallCallback_PopInfo_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_PopInfo_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: PopInfo) => void)) let parameter : PopInfo = thisDeserializer.readPopInfo() _call(parameter) } -export function deserializeAndCallCallback_PreDragStatus_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_PreDragStatus_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: PreDragStatus) => void)) let parameter : PreDragStatus = (thisDeserializer.readInt32() as PreDragStatus) _call(parameter) } -export function deserializeAndCallCallback_PreparedInfo_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_PreparedInfo_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: PreparedInfo) => void)) let parameter : PreparedInfo = thisDeserializer.readPreparedInfo() _call(parameter) } -export function deserializeAndCallCallback_RangeUpdate(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_RangeUpdate(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as Callback_RangeUpdate) let index : int32 = thisDeserializer.readInt32() @@ -1021,13 +1021,13 @@ export function deserializeAndCallCallback_RangeUpdate(thisDeserializer: Deseria let end : int32 = thisDeserializer.readInt32() _call(index, mark, end) } -export function deserializeAndCallCallback_RefreshStatus_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_RefreshStatus_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((state: RefreshStatus) => void)) let state : RefreshStatus = (thisDeserializer.readInt32() as RefreshStatus) _call(state) } -export function deserializeAndCallCallback_ResourceStr_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ResourceStr_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: ResourceStr) => void)) const value_buf_selector : int32 = thisDeserializer.readInt8() @@ -1044,7 +1044,7 @@ export function deserializeAndCallCallback_ResourceStr_Void(thisDeserializer: De let value : ResourceStr = (value_buf as string | Resource) _call(value) } -export function deserializeAndCallCallback_RichEditorChangeValue_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_RichEditorChangeValue_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: RichEditorChangeValue) => boolean)) let parameter : RichEditorChangeValue = thisDeserializer.readRichEditorChangeValue() @@ -1052,7 +1052,7 @@ export function deserializeAndCallCallback_RichEditorChangeValue_Boolean(thisDes const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_RichEditorDeleteValue_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_RichEditorDeleteValue_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: RichEditorDeleteValue) => boolean)) let parameter : RichEditorDeleteValue = thisDeserializer.readRichEditorDeleteValue() @@ -1060,7 +1060,7 @@ export function deserializeAndCallCallback_RichEditorDeleteValue_Boolean(thisDes const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_RichEditorInsertValue_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_RichEditorInsertValue_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: RichEditorInsertValue) => boolean)) let parameter : RichEditorInsertValue = thisDeserializer.readRichEditorInsertValue() @@ -1068,70 +1068,70 @@ export function deserializeAndCallCallback_RichEditorInsertValue_Boolean(thisDes const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_RichEditorRange_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_RichEditorRange_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: RichEditorRange) => void)) let parameter : RichEditorRange = thisDeserializer.readRichEditorRange() _call(parameter) } -export function deserializeAndCallCallback_RichEditorSelection_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_RichEditorSelection_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: RichEditorSelection) => void)) let parameter : RichEditorSelection = thisDeserializer.readRichEditorSelection() _call(parameter) } -export function deserializeAndCallCallback_RichEditorTextSpanResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_RichEditorTextSpanResult_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: RichEditorTextSpanResult) => void)) let parameter : RichEditorTextSpanResult = thisDeserializer.readRichEditorTextSpanResult() _call(parameter) } -export function deserializeAndCallCallback_SheetDismiss_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_SheetDismiss_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((sheetDismiss: SheetDismiss) => void)) let sheetDismiss : SheetDismiss = thisDeserializer.readSheetDismiss() _call(sheetDismiss) } -export function deserializeAndCallCallback_SheetType_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_SheetType_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: SheetType) => void)) let parameter : SheetType = (thisDeserializer.readInt32() as SheetType) _call(parameter) } -export function deserializeAndCallCallback_SpringBackAction_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_SpringBackAction_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: SpringBackAction) => void)) let parameter : SpringBackAction = thisDeserializer.readSpringBackAction() _call(parameter) } -export function deserializeAndCallCallback_String_Number_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_String_Number_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: string,index: number) => void)) let value : string = (thisDeserializer.readString() as string) let index : number = (thisDeserializer.readNumber() as number) _call(value, index) } -export function deserializeAndCallCallback_String_PasteEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_String_PasteEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: string,event: PasteEvent) => void)) let value : string = (thisDeserializer.readString() as string) let event : PasteEvent = thisDeserializer.readPasteEvent() _call(value, event) } -export function deserializeAndCallCallback_String_Unknown_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_String_Unknown_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((name: string,param: object) => void)) let name : string = (thisDeserializer.readString() as string) let param : object = (thisDeserializer.readCustomObject("Any") as Object) _call(name, param) } -export function deserializeAndCallCallback_String_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_String_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((breakpoints: string) => void)) let breakpoints : string = (thisDeserializer.readString() as string) _call(breakpoints) } -export function deserializeAndCallCallback_StyledStringChangeValue_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_StyledStringChangeValue_Boolean(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: StyledStringChangeValue) => boolean)) let parameter : StyledStringChangeValue = thisDeserializer.readStyledStringChangeValue() @@ -1139,49 +1139,49 @@ export function deserializeAndCallCallback_StyledStringChangeValue_Boolean(thisD const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_SwipeActionState_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_SwipeActionState_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((state: SwipeActionState) => void)) let state : SwipeActionState = (thisDeserializer.readInt32() as SwipeActionState) _call(state) } -export function deserializeAndCallCallback_SwiperContentTransitionProxy_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_SwiperContentTransitionProxy_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: SwiperContentTransitionProxy) => void)) let parameter : SwiperContentTransitionProxy = (thisDeserializer.readSwiperContentTransitionProxy() as SwiperContentTransitionProxy) _call(parameter) } -export function deserializeAndCallCallback_TabContentTransitionProxy_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_TabContentTransitionProxy_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: TabContentTransitionProxy) => void)) let parameter : TabContentTransitionProxy = (thisDeserializer.readTabContentTransitionProxy() as TabContentTransitionProxy) _call(parameter) } -export function deserializeAndCallCallback_TerminationInfo_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_TerminationInfo_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: TerminationInfo) => void)) let parameter : TerminationInfo = thisDeserializer.readTerminationInfo() _call(parameter) } -export function deserializeAndCallCallback_TextPickerResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_TextPickerResult_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: TextPickerResult) => void)) let value : TextPickerResult = thisDeserializer.readTextPickerResult() _call(value) } -export function deserializeAndCallCallback_TextRange_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_TextRange_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: TextRange) => void)) let parameter : TextRange = thisDeserializer.readTextRange() _call(parameter) } -export function deserializeAndCallCallback_TimePickerResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_TimePickerResult_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: TimePickerResult) => void)) let value : TimePickerResult = thisDeserializer.readTimePickerResult() _call(value) } -export function deserializeAndCallCallback_TouchEvent_HitTestMode(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_TouchEvent_HitTestMode(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: TouchEvent) => HitTestMode)) let parameter : TouchEvent = (thisDeserializer.readTouchEvent() as TouchEvent) @@ -1189,19 +1189,19 @@ export function deserializeAndCallCallback_TouchEvent_HitTestMode(thisDeserializ const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_TouchEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_TouchEvent_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: TouchEvent) => void)) let event : TouchEvent = (thisDeserializer.readTouchEvent() as TouchEvent) _call(event) } -export function deserializeAndCallCallback_TouchResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_TouchResult_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: TouchResult) => void)) let value : TouchResult = thisDeserializer.readTouchResult() _call(value) } -export function deserializeAndCallCallback_Tuple_Number_Number_Number_Number_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Tuple_Number_Number_Number_Number_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: [ number, number, number, number ]) => void)) const value_buf_value0 : number = (thisDeserializer.readNumber() as number) @@ -1211,7 +1211,7 @@ export function deserializeAndCallCallback_Tuple_Number_Number_Number_Number_Voi let value : [ number, number, number, number ] = ([value_buf_value0, value_buf_value1, value_buf_value2, value_buf_value3] as [ number, number, number, number ]) _call(value) } -export function deserializeAndCallCallback_Tuple_Number_Number_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Tuple_Number_Number_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: [ number, number ]) => void)) const value_buf_value0 : number = (thisDeserializer.readNumber() as number) @@ -1219,7 +1219,7 @@ export function deserializeAndCallCallback_Tuple_Number_Number_Void(thisDeserial let value : [ number, number ] = ([value_buf_value0, value_buf_value1] as [ number, number ]) _call(value) } -export function deserializeAndCallCallback_Type_ImageAttribute_onComplete_callback_event_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Type_ImageAttribute_onComplete_callback_event_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: Type_ImageAttribute_onComplete_callback_event) => void)) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) @@ -1240,13 +1240,13 @@ export function deserializeAndCallCallback_Type_ImageAttribute_onComplete_callba let event : Type_ImageAttribute_onComplete_callback_event | undefined = event_buf _call(event) } -export function deserializeAndCallCallback_UIExtensionProxy_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_UIExtensionProxy_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: UIExtensionProxy) => void)) let parameter : UIExtensionProxy = (thisDeserializer.readUIExtensionProxy() as UIExtensionProxy) _call(parameter) } -export function deserializeAndCallCallback_Union_CustomBuilder_DragItemInfo_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Union_CustomBuilder_DragItemInfo_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: CustomBuilder | DragItemInfo) => void)) const value_buf_selector : int32 = thisDeserializer.readInt8() @@ -1263,7 +1263,7 @@ export function deserializeAndCallCallback_Union_CustomBuilder_DragItemInfo_Void let value : CustomBuilder | DragItemInfo = (value_buf as CustomBuilder | DragItemInfo) _call(value) } -export function deserializeAndCallCallback_Union_Number_Array_Number_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Union_Number_Array_Number_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((selected: number | Array) => void)) const selected_buf_selector : int32 = thisDeserializer.readInt8() @@ -1285,7 +1285,7 @@ export function deserializeAndCallCallback_Union_Number_Array_Number_Void(thisDe let selected : number | Array = (selected_buf as number | Array) _call(selected) } -export function deserializeAndCallCallback_Union_Number_Resource_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Union_Number_Resource_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((selected: number | Resource) => void)) const selected_buf_selector : int32 = thisDeserializer.readInt8() @@ -1302,7 +1302,7 @@ export function deserializeAndCallCallback_Union_Number_Resource_Void(thisDeseri let selected : number | Resource = (selected_buf as number | Resource) _call(selected) } -export function deserializeAndCallCallback_Union_String_Array_String_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Union_String_Array_String_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: string | Array) => void)) const value_buf_selector : int32 = thisDeserializer.readInt8() @@ -1324,30 +1324,30 @@ export function deserializeAndCallCallback_Union_String_Array_String_Void(thisDe let value : string | Array = (value_buf as string | Array) _call(value) } -export function deserializeAndCallCallback_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as (() => void)) _call() } -export function deserializeAndCallCallback_WebKeyboardOptions_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_WebKeyboardOptions_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: WebKeyboardOptions) => void)) let value : WebKeyboardOptions = thisDeserializer.readWebKeyboardOptions() _call(value) } -export function deserializeAndCallCallback_WebResourceResponse_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_WebResourceResponse_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: WebResourceResponse) => void)) let value : WebResourceResponse = (thisDeserializer.readWebResourceResponse() as WebResourceResponse) _call(value) } -export function deserializeAndCallCallback_WithThemeAttribute_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_WithThemeAttribute_Void(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: WithThemeAttribute) => void)) let value : WithThemeAttribute = thisDeserializer.readWithThemeAttribute() _call(value) } -export function deserializeAndCallContentDidScrollCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallContentDidScrollCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ContentDidScrollCallback) let selectedIndex : number = (thisDeserializer.readNumber() as number) @@ -1356,7 +1356,7 @@ export function deserializeAndCallContentDidScrollCallback(thisDeserializer: Des let mainAxisLength : number = (thisDeserializer.readNumber() as number) _call(selectedIndex, index, position, mainAxisLength) } -export function deserializeAndCallCustomNodeBuilder(thisDeserializer: Deserializer) { +export function deserializeAndCallCustomNodeBuilder(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parentNode: KPointer) => KPointer)) let parentNode : KPointer = thisDeserializer.readPointer() @@ -1364,7 +1364,7 @@ export function deserializeAndCallCustomNodeBuilder(thisDeserializer: Deserializ const _callResult = _call(parentNode) _continuation(_callResult) } -export function deserializeAndCallEditableTextOnChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallEditableTextOnChangeCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as EditableTextOnChangeCallback) let value : string = (thisDeserializer.readString() as string) @@ -1377,7 +1377,7 @@ export function deserializeAndCallEditableTextOnChangeCallback(thisDeserializer: let previewText : PreviewText | undefined = previewText_buf _call(value, previewText) } -export function deserializeAndCallGestureRecognizerJudgeBeginCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallGestureRecognizerJudgeBeginCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as GestureRecognizerJudgeBeginCallback) let event : BaseGestureEvent = (thisDeserializer.readBaseGestureEvent() as BaseGestureEvent) @@ -1392,7 +1392,7 @@ export function deserializeAndCallGestureRecognizerJudgeBeginCallback(thisDeseri const _callResult = _call(event, current, recognizers) _continuation(_callResult) } -export function deserializeAndCallGetItemMainSizeByIndex(thisDeserializer: Deserializer) { +export function deserializeAndCallGetItemMainSizeByIndex(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as GetItemMainSizeByIndex) let index : number = (thisDeserializer.readNumber() as number) @@ -1400,32 +1400,32 @@ export function deserializeAndCallGetItemMainSizeByIndex(thisDeserializer: Deser const _callResult = _call(index) _continuation(_callResult) } -export function deserializeAndCallHoverCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallHoverCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as HoverCallback) let isHover : boolean = thisDeserializer.readBoolean() let event : HoverEvent = (thisDeserializer.readHoverEvent() as HoverEvent) _call(isHover, event) } -export function deserializeAndCallImageCompleteCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallImageCompleteCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ImageCompleteCallback) let result : ImageLoadResult = thisDeserializer.readImageLoadResult() _call(result) } -export function deserializeAndCallImageErrorCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallImageErrorCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ImageErrorCallback) let error : ImageError = thisDeserializer.readImageError() _call(error) } -export function deserializeAndCallInterceptionModeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallInterceptionModeCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as InterceptionModeCallback) let mode : NavigationMode = (thisDeserializer.readInt32() as NavigationMode) _call(mode) } -export function deserializeAndCallInterceptionShowCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallInterceptionShowCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as InterceptionShowCallback) const from_buf_selector : int32 = thisDeserializer.readInt8() @@ -1456,7 +1456,7 @@ export function deserializeAndCallInterceptionShowCallback(thisDeserializer: Des let isAnimated : boolean = thisDeserializer.readBoolean() _call(from, to, operation, isAnimated) } -export function deserializeAndCallIsolatedComponentInterface(thisDeserializer: Deserializer) { +export function deserializeAndCallIsolatedComponentInterface(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as IsolatedComponentInterface) let options : IsolatedOptions = thisDeserializer.readIsolatedOptions() @@ -1464,32 +1464,32 @@ export function deserializeAndCallIsolatedComponentInterface(thisDeserializer: D const _callResult = _call(options) _continuation(_callResult) } -export function deserializeAndCallMenuOnAppearCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallMenuOnAppearCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as MenuOnAppearCallback) let start : number = (thisDeserializer.readNumber() as number) let end : number = (thisDeserializer.readNumber() as number) _call(start, end) } -export function deserializeAndCallNavExtender_OnUpdateStack(thisDeserializer: Deserializer) { +export function deserializeAndCallNavExtender_OnUpdateStack(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as NavExtender_OnUpdateStack) let value : string = (thisDeserializer.readString() as string) _call(value) } -export function deserializeAndCallOnAdsBlockedCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnAdsBlockedCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnAdsBlockedCallback) let details : AdsBlockedDetails = thisDeserializer.readAdsBlockedDetails() _call(details) } -export function deserializeAndCallOnAlphabetIndexerPopupSelectCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnAlphabetIndexerPopupSelectCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnAlphabetIndexerPopupSelectCallback) let index : number = (thisDeserializer.readNumber() as number) _call(index) } -export function deserializeAndCallOnAlphabetIndexerRequestPopupDataCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnAlphabetIndexerRequestPopupDataCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnAlphabetIndexerRequestPopupDataCallback) let index : number = (thisDeserializer.readNumber() as number) @@ -1497,100 +1497,100 @@ export function deserializeAndCallOnAlphabetIndexerRequestPopupDataCallback(this const _callResult = _call(index) _continuation(_callResult) } -export function deserializeAndCallOnAlphabetIndexerSelectCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnAlphabetIndexerSelectCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnAlphabetIndexerSelectCallback) let index : number = (thisDeserializer.readNumber() as number) _call(index) } -export function deserializeAndCallOnCheckboxChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnCheckboxChangeCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnCheckboxChangeCallback) let value : boolean = thisDeserializer.readBoolean() _call(value) } -export function deserializeAndCallOnCheckboxGroupChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnCheckboxGroupChangeCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnCheckboxGroupChangeCallback) let value : CheckboxGroupResult = thisDeserializer.readCheckboxGroupResult() _call(value) } -export function deserializeAndCallOnContentScrollCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnContentScrollCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnContentScrollCallback) let totalOffsetX : number = (thisDeserializer.readNumber() as number) let totalOffsetY : number = (thisDeserializer.readNumber() as number) _call(totalOffsetX, totalOffsetY) } -export function deserializeAndCallOnContextMenuHideCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnContextMenuHideCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnContextMenuHideCallback) _call() } -export function deserializeAndCallOnDidChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnDidChangeCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnDidChangeCallback) let rangeBefore : TextRange = thisDeserializer.readTextRange() let rangeAfter : TextRange = thisDeserializer.readTextRange() _call(rangeBefore, rangeAfter) } -export function deserializeAndCallOnFirstMeaningfulPaintCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnFirstMeaningfulPaintCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnFirstMeaningfulPaintCallback) let firstMeaningfulPaint : FirstMeaningfulPaint = thisDeserializer.readFirstMeaningfulPaint() _call(firstMeaningfulPaint) } -export function deserializeAndCallOnFoldStatusChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnFoldStatusChangeCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnFoldStatusChangeCallback) let event : OnFoldStatusChangeInfo = thisDeserializer.readOnFoldStatusChangeInfo() _call(event) } -export function deserializeAndCallOnFullScreenEnterCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnFullScreenEnterCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnFullScreenEnterCallback) let event : FullScreenEnterEvent = thisDeserializer.readFullScreenEnterEvent() _call(event) } -export function deserializeAndCallOnHoverStatusChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnHoverStatusChangeCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnHoverStatusChangeCallback) let param : HoverEventParam = thisDeserializer.readHoverEventParam() _call(param) } -export function deserializeAndCallOnIntelligentTrackingPreventionCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnIntelligentTrackingPreventionCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnIntelligentTrackingPreventionCallback) let details : IntelligentTrackingPreventionDetails = thisDeserializer.readIntelligentTrackingPreventionDetails() _call(details) } -export function deserializeAndCallOnLargestContentfulPaintCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnLargestContentfulPaintCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnLargestContentfulPaintCallback) let largestContentfulPaint : LargestContentfulPaint = thisDeserializer.readLargestContentfulPaint() _call(largestContentfulPaint) } -export function deserializeAndCallOnLinearIndicatorChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnLinearIndicatorChangeCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnLinearIndicatorChangeCallback) let index : number = (thisDeserializer.readNumber() as number) let progress : number = (thisDeserializer.readNumber() as number) _call(index, progress) } -export function deserializeAndCallOnMoveHandler(thisDeserializer: Deserializer) { +export function deserializeAndCallOnMoveHandler(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnMoveHandler) let from : number = (thisDeserializer.readNumber() as number) let to : number = (thisDeserializer.readNumber() as number) _call(from, to) } -export function deserializeAndCallOnNativeEmbedVisibilityChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnNativeEmbedVisibilityChangeCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnNativeEmbedVisibilityChangeCallback) let nativeEmbedVisibilityInfo : NativeEmbedVisibilityInfo = thisDeserializer.readNativeEmbedVisibilityInfo() _call(nativeEmbedVisibilityInfo) } -export function deserializeAndCallOnNativeLoadCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnNativeLoadCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnNativeLoadCallback) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) @@ -1602,13 +1602,13 @@ export function deserializeAndCallOnNativeLoadCallback(thisDeserializer: Deseria let event : Object | undefined = event_buf _call(event) } -export function deserializeAndCallOnNavigationEntryCommittedCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnNavigationEntryCommittedCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnNavigationEntryCommittedCallback) let loadCommittedDetails : LoadCommittedDetails = thisDeserializer.readLoadCommittedDetails() _call(loadCommittedDetails) } -export function deserializeAndCallOnOverrideUrlLoadingCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnOverrideUrlLoadingCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnOverrideUrlLoadingCallback) let webResourceRequest : WebResourceRequest = (thisDeserializer.readWebResourceRequest() as WebResourceRequest) @@ -1616,44 +1616,44 @@ export function deserializeAndCallOnOverrideUrlLoadingCallback(thisDeserializer: const _callResult = _call(webResourceRequest) _continuation(_callResult) } -export function deserializeAndCallOnPasteCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnPasteCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnPasteCallback) let content : string = (thisDeserializer.readString() as string) let event : PasteEvent = thisDeserializer.readPasteEvent() _call(content, event) } -export function deserializeAndCallOnRenderProcessNotRespondingCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnRenderProcessNotRespondingCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnRenderProcessNotRespondingCallback) let data : RenderProcessNotRespondingData = thisDeserializer.readRenderProcessNotRespondingData() _call(data) } -export function deserializeAndCallOnRenderProcessRespondingCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnRenderProcessRespondingCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnRenderProcessRespondingCallback) _call() } -export function deserializeAndCallOnSafeBrowsingCheckResultCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnSafeBrowsingCheckResultCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnSafeBrowsingCheckResultCallback) let threatType : ThreatType = (thisDeserializer.readInt32() as ThreatType) _call(threatType) } -export function deserializeAndCallOnScrollCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnScrollCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnScrollCallback) let scrollOffset : number = (thisDeserializer.readNumber() as number) let scrollState : ScrollState = (thisDeserializer.readInt32() as ScrollState) _call(scrollOffset, scrollState) } -export function deserializeAndCallOnScrollEdgeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnScrollEdgeCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnScrollEdgeCallback) let side : Edge = (thisDeserializer.readInt32() as Edge) _call(side) } -export function deserializeAndCallOnScrollFrameBeginCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnScrollFrameBeginCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnScrollFrameBeginCallback) let offset : number = (thisDeserializer.readNumber() as number) @@ -1662,34 +1662,34 @@ export function deserializeAndCallOnScrollFrameBeginCallback(thisDeserializer: D const _callResult = _call(offset, state) _continuation(_callResult) } -export function deserializeAndCallOnScrollVisibleContentChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnScrollVisibleContentChangeCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnScrollVisibleContentChangeCallback) let start : VisibleListContentInfo = thisDeserializer.readVisibleListContentInfo() let end : VisibleListContentInfo = thisDeserializer.readVisibleListContentInfo() _call(start, end) } -export function deserializeAndCallOnSslErrorEventCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnSslErrorEventCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnSslErrorEventCallback) let sslErrorEvent : SslErrorEvent = thisDeserializer.readSslErrorEvent() _call(sslErrorEvent) } -export function deserializeAndCallOnSubmitCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnSubmitCallback(thisDeserializer: Deserializer): void { 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() as SubmitEvent) _call(enterKey, event) } -export function deserializeAndCallOnSwiperAnimationEndCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnSwiperAnimationEndCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnSwiperAnimationEndCallback) let index : number = (thisDeserializer.readNumber() as number) let extraInfo : SwiperAnimationEvent = thisDeserializer.readSwiperAnimationEvent() _call(index, extraInfo) } -export function deserializeAndCallOnSwiperAnimationStartCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnSwiperAnimationStartCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnSwiperAnimationStartCallback) let index : number = (thisDeserializer.readNumber() as number) @@ -1697,21 +1697,21 @@ export function deserializeAndCallOnSwiperAnimationStartCallback(thisDeserialize let extraInfo : SwiperAnimationEvent = thisDeserializer.readSwiperAnimationEvent() _call(index, targetIndex, extraInfo) } -export function deserializeAndCallOnSwiperGestureSwipeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnSwiperGestureSwipeCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnSwiperGestureSwipeCallback) let index : number = (thisDeserializer.readNumber() as number) let extraInfo : SwiperAnimationEvent = thisDeserializer.readSwiperAnimationEvent() _call(index, extraInfo) } -export function deserializeAndCallOnTabsAnimationEndCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnTabsAnimationEndCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnTabsAnimationEndCallback) let index : number = (thisDeserializer.readNumber() as number) let extraInfo : TabsAnimationEvent = thisDeserializer.readTabsAnimationEvent() _call(index, extraInfo) } -export function deserializeAndCallOnTabsAnimationStartCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnTabsAnimationStartCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnTabsAnimationStartCallback) let index : number = (thisDeserializer.readNumber() as number) @@ -1719,7 +1719,7 @@ export function deserializeAndCallOnTabsAnimationStartCallback(thisDeserializer: let extraInfo : TabsAnimationEvent = thisDeserializer.readTabsAnimationEvent() _call(index, targetIndex, extraInfo) } -export function deserializeAndCallOnTabsContentWillChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnTabsContentWillChangeCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnTabsContentWillChangeCallback) let currentIndex : number = (thisDeserializer.readNumber() as number) @@ -1728,34 +1728,34 @@ export function deserializeAndCallOnTabsContentWillChangeCallback(thisDeserializ const _callResult = _call(currentIndex, comingIndex) _continuation(_callResult) } -export function deserializeAndCallOnTabsGestureSwipeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnTabsGestureSwipeCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnTabsGestureSwipeCallback) let index : number = (thisDeserializer.readNumber() as number) let extraInfo : TabsAnimationEvent = thisDeserializer.readTabsAnimationEvent() _call(index, extraInfo) } -export function deserializeAndCallOnTextSelectionChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnTextSelectionChangeCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnTextSelectionChangeCallback) let selectionStart : number = (thisDeserializer.readNumber() as number) let selectionEnd : number = (thisDeserializer.readNumber() as number) _call(selectionStart, selectionEnd) } -export function deserializeAndCallOnViewportFitChangedCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnViewportFitChangedCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnViewportFitChangedCallback) let viewportFit : ViewportFit = (thisDeserializer.readInt32() as ViewportFit) _call(viewportFit) } -export function deserializeAndCallPageTransitionCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallPageTransitionCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as PageTransitionCallback) let type : RouteType = (thisDeserializer.readInt32() as RouteType) let progress : number = (thisDeserializer.readNumber() as number) _call(type, progress) } -export function deserializeAndCallPasteEventCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallPasteEventCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as PasteEventCallback) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) @@ -1767,13 +1767,13 @@ export function deserializeAndCallPasteEventCallback(thisDeserializer: Deseriali let event : PasteEvent | undefined = event_buf _call(event) } -export function deserializeAndCallPluginErrorCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallPluginErrorCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as PluginErrorCallback) let info : PluginErrorData = thisDeserializer.readPluginErrorData() _call(info) } -export function deserializeAndCallScrollOnScrollCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallScrollOnScrollCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ScrollOnScrollCallback) let xOffset : number = (thisDeserializer.readNumber() as number) @@ -1781,7 +1781,7 @@ export function deserializeAndCallScrollOnScrollCallback(thisDeserializer: Deser let scrollState : ScrollState = (thisDeserializer.readInt32() as ScrollState) _call(xOffset, yOffset, scrollState) } -export function deserializeAndCallScrollOnWillScrollCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallScrollOnWillScrollCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ScrollOnWillScrollCallback) let xOffset : number = (thisDeserializer.readNumber() as number) @@ -1792,7 +1792,7 @@ export function deserializeAndCallScrollOnWillScrollCallback(thisDeserializer: D const _callResult = _call(xOffset, yOffset, scrollState, scrollSource) _continuation(_callResult) } -export function deserializeAndCallSearchSubmitCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallSearchSubmitCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as SearchSubmitCallback) let searchContent : string = (thisDeserializer.readString() as string) @@ -1805,7 +1805,7 @@ export function deserializeAndCallSearchSubmitCallback(thisDeserializer: Deseria let event : SubmitEvent | undefined = event_buf _call(searchContent, event) } -export function deserializeAndCallShouldBuiltInRecognizerParallelWithCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallShouldBuiltInRecognizerParallelWithCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ShouldBuiltInRecognizerParallelWithCallback) let current : GestureRecognizer = (thisDeserializer.readGestureRecognizer() as GestureRecognizer) @@ -1819,28 +1819,28 @@ export function deserializeAndCallShouldBuiltInRecognizerParallelWithCallback(th const _callResult = _call(current, others) _continuation(_callResult) } -export function deserializeAndCallSizeChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallSizeChangeCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as SizeChangeCallback) let oldValue : SizeOptions = thisDeserializer.readSizeOptions() let newValue : SizeOptions = thisDeserializer.readSizeOptions() _call(oldValue, newValue) } -export function deserializeAndCallSliderTriggerChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallSliderTriggerChangeCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as SliderTriggerChangeCallback) let value : number = (thisDeserializer.readNumber() as number) let mode : SliderChangeMode = (thisDeserializer.readInt32() as SliderChangeMode) _call(value, mode) } -export function deserializeAndCallSubmitCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallSubmitCallback(thisDeserializer: Deserializer): void { 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() as SubmitEvent) _call(enterKey, event) } -export function deserializeAndCallTabsCustomContentTransitionCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallTabsCustomContentTransitionCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as TabsCustomContentTransitionCallback) let from : number = (thisDeserializer.readNumber() as number) @@ -1849,7 +1849,7 @@ export function deserializeAndCallTabsCustomContentTransitionCallback(thisDeseri const _callResult = _call(from, to) _continuation(_callResult) } -export function deserializeAndCallTextAreaSubmitCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallTextAreaSubmitCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as TextAreaSubmitCallback) let enterKeyType : EnterKeyType = (thisDeserializer.readInt32() as EnterKeyType) @@ -1862,13 +1862,13 @@ export function deserializeAndCallTextAreaSubmitCallback(thisDeserializer: Deser let event : SubmitEvent | undefined = event_buf _call(enterKeyType, event) } -export function deserializeAndCallTransitionFinishCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallTransitionFinishCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as TransitionFinishCallback) let transitionIn : boolean = thisDeserializer.readBoolean() _call(transitionIn) } -export function deserializeAndCallType_NavigationAttribute_customNavContentTransition_delegate(thisDeserializer: Deserializer) { +export function deserializeAndCallType_NavigationAttribute_customNavContentTransition_delegate(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((from: NavContentInfo,to: NavContentInfo,operation: NavigationOperation) => NavigationAnimatedTransition | undefined)) let from : NavContentInfo = thisDeserializer.readNavContentInfo() @@ -1878,7 +1878,7 @@ export function deserializeAndCallType_NavigationAttribute_customNavContentTrans const _callResult = _call(from, to, operation) _continuation(_callResult) } -export function deserializeAndCallType_TextPickerAttribute_onChange_callback(thisDeserializer: Deserializer) { +export function deserializeAndCallType_TextPickerAttribute_onChange_callback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: string | Array,index: number | Array) => void)) const value_buf_selector : int32 = thisDeserializer.readInt8() @@ -1917,7 +1917,7 @@ 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) { +export function deserializeAndCallType_WebAttribute_onFileSelectorShow_callback(thisDeserializer: Deserializer): void { 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) @@ -1929,7 +1929,7 @@ export function deserializeAndCallType_WebAttribute_onFileSelectorShow_callback( let event : Literal_Function_callback__Object_fileSelector | undefined = event_buf _call(event) } -export function deserializeAndCallType_WebAttribute_onUrlLoadIntercept_callback(thisDeserializer: Deserializer) { +export function deserializeAndCallType_WebAttribute_onUrlLoadIntercept_callback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: Literal_Union_String_WebResourceRequest_data) => boolean)) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) @@ -1955,19 +1955,19 @@ export function deserializeAndCallType_WebAttribute_onUrlLoadIntercept_callback( const _callResult = _call(event) _continuation(_callResult) } -export function deserializeAndCallVisibleAreaChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallVisibleAreaChangeCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as VisibleAreaChangeCallback) let isExpanding : boolean = thisDeserializer.readBoolean() let currentRatio : number = (thisDeserializer.readNumber() as number) _call(isExpanding, currentRatio) } -export function deserializeAndCallVoidCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallVoidCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as VoidCallback) _call() } -export function deserializeAndCallWebKeyboardCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallWebKeyboardCallback(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as WebKeyboardCallback) let keyboardCallbackInfo : WebKeyboardCallbackInfo = thisDeserializer.readWebKeyboardCallbackInfo() @@ -1975,7 +1975,7 @@ export function deserializeAndCallWebKeyboardCallback(thisDeserializer: Deserial const _callResult = _call(keyboardCallbackInfo) _continuation(_callResult) } -export function deserializeAndCallWithThemeInterface(thisDeserializer: Deserializer) { +export function deserializeAndCallWithThemeInterface(thisDeserializer: Deserializer): void { const _resourceId : int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as WithThemeInterface) let options : WithThemeOptions = thisDeserializer.readWithThemeOptions() @@ -1983,7 +1983,7 @@ export function deserializeAndCallWithThemeInterface(thisDeserializer: Deseriali const _callResult = _call(options) _continuation(_callResult) } -export function deserializeAndCallCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback(thisDeserializer: Deserializer): void { const kind : int32 = thisDeserializer.readInt32() switch (kind) { case 589030517/*CallbackKind.Kind_AccessibilityCallback*/: return deserializeAndCallAccessibilityCallback(thisDeserializer); diff --git a/arkoala/arkui/src/ArkAccessibilityHoverEventMaterialized.ts b/arkoala/arkui/src/ArkAccessibilityHoverEventMaterialized.ts index 2a5aa0531..9715d0145 100644 --- a/arkoala/arkui/src/ArkAccessibilityHoverEventMaterialized.ts +++ b/arkoala/arkui/src/ArkAccessibilityHoverEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -177,4 +195,4 @@ export class AccessibilityHoverEventInternal extends BaseEventInternal implement obj.peer = new Finalizable(ptr, AccessibilityHoverEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkActionSheetMaterialized.ts b/arkoala/arkui/src/ArkActionSheetMaterialized.ts index 7fa0a8310..bbe784e0f 100644 --- a/arkoala/arkui/src/ArkActionSheetMaterialized.ts +++ b/arkoala/arkui/src/ArkActionSheetMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -44,4 +62,4 @@ export class ActionSheetInternal { obj.peer = new Finalizable(ptr, ActionSheet.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkAlertDialogMaterialized.ts b/arkoala/arkui/src/ArkAlertDialogMaterialized.ts index 03c067bb8..d37cb3c81 100644 --- a/arkoala/arkui/src/ArkAlertDialogMaterialized.ts +++ b/arkoala/arkui/src/ArkAlertDialogMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -60,4 +78,4 @@ export class AlertDialogInternal { obj.peer = new Finalizable(ptr, AlertDialog.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkAnimationExtenderMaterialized.ts b/arkoala/arkui/src/ArkAnimationExtenderMaterialized.ts index 126b2f39b..830a20f91 100644 --- a/arkoala/arkui/src/ArkAnimationExtenderMaterialized.ts +++ b/arkoala/arkui/src/ArkAnimationExtenderMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -77,4 +95,4 @@ export class AnimationExtenderInternal { obj.peer = new Finalizable(ptr, AnimationExtender.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkBaseEventMaterialized.ts b/arkoala/arkui/src/ArkBaseEventMaterialized.ts index 69b226173..27a92c78a 100644 --- a/arkoala/arkui/src/ArkBaseEventMaterialized.ts +++ b/arkoala/arkui/src/ArkBaseEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -252,4 +270,4 @@ export class BaseEventInternal implements MaterializedBase,BaseEvent { obj.peer = new Finalizable(ptr, BaseEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkBaseGestureEventMaterialized.ts b/arkoala/arkui/src/ArkBaseGestureEventMaterialized.ts index c8b8c1e9b..9f7697ce0 100644 --- a/arkoala/arkui/src/ArkBaseGestureEventMaterialized.ts +++ b/arkoala/arkui/src/ArkBaseGestureEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -51,4 +69,4 @@ export class BaseGestureEventInternal extends BaseEventInternal implements Mater obj.peer = new Finalizable(ptr, BaseGestureEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkCalendarControllerMaterialized.ts b/arkoala/arkui/src/ArkCalendarControllerMaterialized.ts index eae1b9640..9636bdd2a 100644 --- a/arkoala/arkui/src/ArkCalendarControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkCalendarControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -53,4 +71,4 @@ export class CalendarControllerInternal { obj.peer = new Finalizable(ptr, CalendarController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkCalendarPickerDialogMaterialized.ts b/arkoala/arkui/src/ArkCalendarPickerDialogMaterialized.ts index edc7a8576..363b7642c 100644 --- a/arkoala/arkui/src/ArkCalendarPickerDialogMaterialized.ts +++ b/arkoala/arkui/src/ArkCalendarPickerDialogMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -50,4 +68,4 @@ export class CalendarPickerDialogInternal { obj.peer = new Finalizable(ptr, CalendarPickerDialog.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkCanvasGradientMaterialized.ts b/arkoala/arkui/src/ArkCanvasGradientMaterialized.ts index f23473dea..e0af635c4 100644 --- a/arkoala/arkui/src/ArkCanvasGradientMaterialized.ts +++ b/arkoala/arkui/src/ArkCanvasGradientMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -39,4 +57,4 @@ export class CanvasGradientInternal { obj.peer = new Finalizable(ptr, CanvasGradient.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkCanvasPathMaterialized.ts b/arkoala/arkui/src/ArkCanvasPathMaterialized.ts index c50c377cc..4cd2812b5 100644 --- a/arkoala/arkui/src/ArkCanvasPathMaterialized.ts +++ b/arkoala/arkui/src/ArkCanvasPathMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -148,4 +166,4 @@ export class CanvasPathInternal { obj.peer = new Finalizable(ptr, CanvasPath.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkCanvasPatternMaterialized.ts b/arkoala/arkui/src/ArkCanvasPatternMaterialized.ts index 358895416..6a1d8ae17 100644 --- a/arkoala/arkui/src/ArkCanvasPatternMaterialized.ts +++ b/arkoala/arkui/src/ArkCanvasPatternMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { Matrix2D } from "./ArkMatrix2DMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -46,4 +64,4 @@ export class CanvasPatternInternal implements MaterializedBase,CanvasPattern { obj.peer = new Finalizable(ptr, CanvasPatternInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkCanvasRendererMaterialized.ts b/arkoala/arkui/src/ArkCanvasRendererMaterialized.ts index 69ad16b90..6f6244867 100644 --- a/arkoala/arkui/src/ArkCanvasRendererMaterialized.ts +++ b/arkoala/arkui/src/ArkCanvasRendererMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { CanvasPath } from "./ArkCanvasPathMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -1183,4 +1201,4 @@ export class CanvasRendererInternal { obj.peer = new Finalizable(ptr, CanvasRenderer.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkCanvasRenderingContext2DMaterialized.ts b/arkoala/arkui/src/ArkCanvasRenderingContext2DMaterialized.ts index 8d92e31b7..0ac2cd865 100644 --- a/arkoala/arkui/src/ArkCanvasRenderingContext2DMaterialized.ts +++ b/arkoala/arkui/src/ArkCanvasRenderingContext2DMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { CanvasRenderer } from "./ArkCanvasRendererMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -170,4 +188,4 @@ export class CanvasRenderingContext2DInternal { obj.peer = new Finalizable(ptr, CanvasRenderingContext2D.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkChildrenMainSizeMaterialized.ts b/arkoala/arkui/src/ArkChildrenMainSizeMaterialized.ts index 5b83d6d85..454142883 100644 --- a/arkoala/arkui/src/ArkChildrenMainSizeMaterialized.ts +++ b/arkoala/arkui/src/ArkChildrenMainSizeMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -93,4 +111,4 @@ export class ChildrenMainSizeInternal { obj.peer = new Finalizable(ptr, ChildrenMainSize.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkClickEventMaterialized.ts b/arkoala/arkui/src/ArkClickEventMaterialized.ts index e2547fa4c..c151ade15 100644 --- a/arkoala/arkui/src/ArkClickEventMaterialized.ts +++ b/arkoala/arkui/src/ArkClickEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -215,4 +233,4 @@ export class ClickEventInternal extends BaseEventInternal implements Materialize obj.peer = new Finalizable(ptr, ClickEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkClientAuthenticationHandlerMaterialized.ts b/arkoala/arkui/src/ArkClientAuthenticationHandlerMaterialized.ts index 17e3d4a15..cda807a1c 100644 --- a/arkoala/arkui/src/ArkClientAuthenticationHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkClientAuthenticationHandlerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -66,4 +84,4 @@ export class ClientAuthenticationHandlerInternal { obj.peer = new Finalizable(ptr, ClientAuthenticationHandler.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkConsoleMessageMaterialized.ts b/arkoala/arkui/src/ArkConsoleMessageMaterialized.ts index 9e9f67f17..4314ccdaf 100644 --- a/arkoala/arkui/src/ArkConsoleMessageMaterialized.ts +++ b/arkoala/arkui/src/ArkConsoleMessageMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -61,4 +79,4 @@ export class ConsoleMessageInternal { obj.peer = new Finalizable(ptr, ConsoleMessage.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkContextMenuMaterialized.ts b/arkoala/arkui/src/ArkContextMenuMaterialized.ts index 1153793df..09cd43592 100644 --- a/arkoala/arkui/src/ArkContextMenuMaterialized.ts +++ b/arkoala/arkui/src/ArkContextMenuMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -40,4 +58,4 @@ export class ContextMenuInternal { obj.peer = new Finalizable(ptr, ContextMenu.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkControllerHandlerMaterialized.ts b/arkoala/arkui/src/ArkControllerHandlerMaterialized.ts index 2c8dc7686..4d02bf9df 100644 --- a/arkoala/arkui/src/ArkControllerHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkControllerHandlerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -41,4 +59,4 @@ export class ControllerHandlerInternal { obj.peer = new Finalizable(ptr, ControllerHandler.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkCustomDialogControllerMaterialized.ts b/arkoala/arkui/src/ArkCustomDialogControllerMaterialized.ts index 140732994..1c03e746d 100644 --- a/arkoala/arkui/src/ArkCustomDialogControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkCustomDialogControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -50,4 +68,4 @@ export class CustomDialogControllerInternal { obj.peer = new Finalizable(ptr, CustomDialogController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkCustomSpanMaterialized.ts b/arkoala/arkui/src/ArkCustomSpanMaterialized.ts index ec1ef37f5..86dbedee7 100644 --- a/arkoala/arkui/src/ArkCustomSpanMaterialized.ts +++ b/arkoala/arkui/src/ArkCustomSpanMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -61,4 +79,4 @@ export class CustomSpanInternal { obj.peer = new Finalizable(ptr, CustomSpan.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkDataResubmissionHandlerMaterialized.ts b/arkoala/arkui/src/ArkDataResubmissionHandlerMaterialized.ts index 77ce0134f..bd08c0d10 100644 --- a/arkoala/arkui/src/ArkDataResubmissionHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkDataResubmissionHandlerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -44,4 +62,4 @@ export class DataResubmissionHandlerInternal { obj.peer = new Finalizable(ptr, DataResubmissionHandler.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkDatePickerDialogMaterialized.ts b/arkoala/arkui/src/ArkDatePickerDialogMaterialized.ts index dcf7e762a..5ed432bed 100644 --- a/arkoala/arkui/src/ArkDatePickerDialogMaterialized.ts +++ b/arkoala/arkui/src/ArkDatePickerDialogMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -50,4 +68,4 @@ export class DatePickerDialogInternal { obj.peer = new Finalizable(ptr, DatePickerDialog.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkDragEventMaterialized.ts b/arkoala/arkui/src/ArkDragEventMaterialized.ts index 50802a50f..b53592adf 100644 --- a/arkoala/arkui/src/ArkDragEventMaterialized.ts +++ b/arkoala/arkui/src/ArkDragEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { UnifiedData } from "./ArkUnifiedDataMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -196,4 +214,4 @@ export class DragEventInternal implements MaterializedBase,DragEvent { obj.peer = new Finalizable(ptr, DragEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkDrawModifierMaterialized.ts b/arkoala/arkui/src/ArkDrawModifierMaterialized.ts index 80be4566d..7da88996f 100644 --- a/arkoala/arkui/src/ArkDrawModifierMaterialized.ts +++ b/arkoala/arkui/src/ArkDrawModifierMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -70,4 +88,4 @@ export class DrawModifierInternal { obj.peer = new Finalizable(ptr, DrawModifier.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkDrawingCanvasMaterialized.ts b/arkoala/arkui/src/ArkDrawingCanvasMaterialized.ts index a43189dfe..da5d22832 100644 --- a/arkoala/arkui/src/ArkDrawingCanvasMaterialized.ts +++ b/arkoala/arkui/src/ArkDrawingCanvasMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -47,4 +65,4 @@ export class DrawingCanvasInternal { obj.peer = new Finalizable(ptr, DrawingCanvas.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkDrawingRenderingContextMaterialized.ts b/arkoala/arkui/src/ArkDrawingRenderingContextMaterialized.ts index 20cad6b64..9bd00e7f0 100644 --- a/arkoala/arkui/src/ArkDrawingRenderingContextMaterialized.ts +++ b/arkoala/arkui/src/ArkDrawingRenderingContextMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -52,4 +70,4 @@ export class DrawingRenderingContextInternal { obj.peer = new Finalizable(ptr, DrawingRenderingContext.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkDynamicNodeMaterialized.ts b/arkoala/arkui/src/ArkDynamicNodeMaterialized.ts index d452a538b..407004fe6 100644 --- a/arkoala/arkui/src/ArkDynamicNodeMaterialized.ts +++ b/arkoala/arkui/src/ArkDynamicNodeMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -47,4 +65,4 @@ export class DynamicNodeInternal { obj.peer = new Finalizable(ptr, DynamicNode.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkEditMenuOptionsMaterialized.ts b/arkoala/arkui/src/ArkEditMenuOptionsMaterialized.ts index 598889f7e..9e06ed477 100644 --- a/arkoala/arkui/src/ArkEditMenuOptionsMaterialized.ts +++ b/arkoala/arkui/src/ArkEditMenuOptionsMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -56,4 +74,4 @@ export class EditMenuOptionsInternal implements MaterializedBase,EditMenuOptions obj.peer = new Finalizable(ptr, EditMenuOptionsInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkEventEmulatorMaterialized.ts b/arkoala/arkui/src/ArkEventEmulatorMaterialized.ts index b4e2f16fe..aaca1a5f1 100644 --- a/arkoala/arkui/src/ArkEventEmulatorMaterialized.ts +++ b/arkoala/arkui/src/ArkEventEmulatorMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -54,4 +72,4 @@ export class EventEmulatorInternal { obj.peer = new Finalizable(ptr, EventEmulator.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkEventResultMaterialized.ts b/arkoala/arkui/src/ArkEventResultMaterialized.ts index 196c26311..201cfe81a 100644 --- a/arkoala/arkui/src/ArkEventResultMaterialized.ts +++ b/arkoala/arkui/src/ArkEventResultMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -38,4 +56,4 @@ export class EventResultInternal { obj.peer = new Finalizable(ptr, EventResult.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkEventTargetInfoMaterialized.ts b/arkoala/arkui/src/ArkEventTargetInfoMaterialized.ts index 32b78c0ee..a2cd400c9 100644 --- a/arkoala/arkui/src/ArkEventTargetInfoMaterialized.ts +++ b/arkoala/arkui/src/ArkEventTargetInfoMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -37,4 +55,4 @@ export class EventTargetInfoInternal { obj.peer = new Finalizable(ptr, EventTargetInfo.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkFileSelectorParamMaterialized.ts b/arkoala/arkui/src/ArkFileSelectorParamMaterialized.ts index 44c84820d..327438a96 100644 --- a/arkoala/arkui/src/ArkFileSelectorParamMaterialized.ts +++ b/arkoala/arkui/src/ArkFileSelectorParamMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -58,4 +76,4 @@ export class FileSelectorParamInternal { obj.peer = new Finalizable(ptr, FileSelectorParam.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkFileSelectorResultMaterialized.ts b/arkoala/arkui/src/ArkFileSelectorResultMaterialized.ts index 6614d7bb8..bf2892420 100644 --- a/arkoala/arkui/src/ArkFileSelectorResultMaterialized.ts +++ b/arkoala/arkui/src/ArkFileSelectorResultMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -45,4 +63,4 @@ export class FileSelectorResultInternal { obj.peer = new Finalizable(ptr, FileSelectorResult.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkFrameNodeMaterialized.ts b/arkoala/arkui/src/ArkFrameNodeMaterialized.ts index b747db9ef..7bf45dda9 100644 --- a/arkoala/arkui/src/ArkFrameNodeMaterialized.ts +++ b/arkoala/arkui/src/ArkFrameNodeMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -154,4 +172,4 @@ export class FrameNodeInternal { obj.peer = new Finalizable(ptr, FrameNode.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkFullScreenExitHandlerMaterialized.ts b/arkoala/arkui/src/ArkFullScreenExitHandlerMaterialized.ts index 52ee99a54..53b8f4378 100644 --- a/arkoala/arkui/src/ArkFullScreenExitHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkFullScreenExitHandlerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -37,4 +55,4 @@ export class FullScreenExitHandlerInternal { obj.peer = new Finalizable(ptr, FullScreenExitHandler.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkGestureEventMaterialized.ts b/arkoala/arkui/src/ArkGestureEventMaterialized.ts index 0433099ff..4ac2225bd 100644 --- a/arkoala/arkui/src/ArkGestureEventMaterialized.ts +++ b/arkoala/arkui/src/ArkGestureEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -282,4 +300,4 @@ export class GestureEventInternal extends BaseEventInternal implements Materiali obj.peer = new Finalizable(ptr, GestureEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkGestureModifierMaterialized.ts b/arkoala/arkui/src/ArkGestureModifierMaterialized.ts index 01c7ebb22..55a619257 100644 --- a/arkoala/arkui/src/ArkGestureModifierMaterialized.ts +++ b/arkoala/arkui/src/ArkGestureModifierMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -39,4 +57,4 @@ export class GestureModifierInternal implements MaterializedBase,GestureModifier obj.peer = new Finalizable(ptr, GestureModifierInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkGestureRecognizerMaterialized.ts b/arkoala/arkui/src/ArkGestureRecognizerMaterialized.ts index 1079aa7fb..da10119f2 100644 --- a/arkoala/arkui/src/ArkGestureRecognizerMaterialized.ts +++ b/arkoala/arkui/src/ArkGestureRecognizerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -87,4 +105,4 @@ export class GestureRecognizerInternal { obj.peer = new Finalizable(ptr, GestureRecognizer.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkGlobalScopeCommonMaterialized.ts b/arkoala/arkui/src/ArkGlobalScopeCommonMaterialized.ts index 8b6ab08ef..10333b76a 100644 --- a/arkoala/arkui/src/ArkGlobalScopeCommonMaterialized.ts +++ b/arkoala/arkui/src/ArkGlobalScopeCommonMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -7,25 +25,7 @@ import { int32 } from "@koalaui/common" import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackTransformer } from "./peers/CallbackTransformer" import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" -export class GlobalScope_common implements MaterializedBase { - peer?: Finalizable | undefined - public 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() - } +export class GlobalScope_common { static getContext(component?: Object): Context { const component_casted = component as (Object | undefined) return GlobalScope_common.getContext_serialize(component_casted) @@ -178,10 +178,3 @@ export class GlobalScope_common implements MaterializedBase { 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 - } -} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkGlobalScopeInspectorMaterialized.ts b/arkoala/arkui/src/ArkGlobalScopeInspectorMaterialized.ts index fa3b6d965..cb1eef880 100644 --- a/arkoala/arkui/src/ArkGlobalScopeInspectorMaterialized.ts +++ b/arkoala/arkui/src/ArkGlobalScopeInspectorMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -7,25 +25,7 @@ import { int32 } from "@koalaui/common" import { Deserializer, createDeserializer } from "./peers/Deserializer" import { CallbackTransformer } from "./peers/CallbackTransformer" import { ArkUIGeneratedNativeModule } from "./ArkUIGeneratedNativeModule" -export class GlobalScope_inspector implements MaterializedBase { - peer?: Finalizable | undefined - public 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() - } +export class GlobalScope_inspector { static getInspectorNodes(): Object { return GlobalScope_inspector.getInspectorNodes_serialize() } @@ -68,10 +68,3 @@ export class GlobalScope_inspector implements MaterializedBase { 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 - } -} \ No newline at end of file diff --git a/arkoala/arkui/src/ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized.ts b/arkoala/arkui/src/ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized.ts index c561a1345..f8e3a87d2 100644 --- a/arkoala/arkui/src/ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized.ts +++ b/arkoala/arkui/src/ArkGlobalScopeOhosArkuiComponentSnapshotMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -53,4 +71,4 @@ export class GlobalScope_ohos_arkui_componentSnapshotInternal { obj.peer = new Finalizable(ptr, GlobalScope_ohos_arkui_componentSnapshot.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized.ts b/arkoala/arkui/src/ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized.ts index 95270c451..492bc2130 100644 --- a/arkoala/arkui/src/ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized.ts +++ b/arkoala/arkui/src/ArkGlobalScopeOhosArkuiPerformanceMonitorMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -70,4 +88,4 @@ export class GlobalScope_ohos_arkui_performanceMonitorInternal { obj.peer = new Finalizable(ptr, GlobalScope_ohos_arkui_performanceMonitor.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkHoverEventMaterialized.ts b/arkoala/arkui/src/ArkHoverEventMaterialized.ts index fa9f0cb91..4640139b8 100644 --- a/arkoala/arkui/src/ArkHoverEventMaterialized.ts +++ b/arkoala/arkui/src/ArkHoverEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -47,4 +65,4 @@ export class HoverEventInternal extends BaseEventInternal implements Materialize obj.peer = new Finalizable(ptr, HoverEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkHttpAuthHandlerMaterialized.ts b/arkoala/arkui/src/ArkHttpAuthHandlerMaterialized.ts index 26a6a29c1..ff147f3cd 100644 --- a/arkoala/arkui/src/ArkHttpAuthHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkHttpAuthHandlerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -53,4 +71,4 @@ export class HttpAuthHandlerInternal { obj.peer = new Finalizable(ptr, HttpAuthHandler.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkICurveMaterialized.ts b/arkoala/arkui/src/ArkICurveMaterialized.ts index 79f35cb27..217b419bd 100644 --- a/arkoala/arkui/src/ArkICurveMaterialized.ts +++ b/arkoala/arkui/src/ArkICurveMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -36,4 +54,4 @@ export class ICurveInternal implements MaterializedBase,ICurve { obj.peer = new Finalizable(ptr, ICurveInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkImageAnalyzerControllerMaterialized.ts b/arkoala/arkui/src/ArkImageAnalyzerControllerMaterialized.ts index 52544a9d4..5543c71a6 100644 --- a/arkoala/arkui/src/ArkImageAnalyzerControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkImageAnalyzerControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -37,4 +55,4 @@ export class ImageAnalyzerControllerInternal { obj.peer = new Finalizable(ptr, ImageAnalyzerController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkImageBitmapMaterialized.ts b/arkoala/arkui/src/ArkImageBitmapMaterialized.ts index fb2ccbc2f..5978a3868 100644 --- a/arkoala/arkui/src/ArkImageBitmapMaterialized.ts +++ b/arkoala/arkui/src/ArkImageBitmapMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -60,4 +78,4 @@ export class ImageBitmapInternal { obj.peer = new Finalizable(ptr, ImageBitmap.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkIndicatorComponentControllerMaterialized.ts b/arkoala/arkui/src/ArkIndicatorComponentControllerMaterialized.ts index c34f620d7..ae89e70d0 100644 --- a/arkoala/arkui/src/ArkIndicatorComponentControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkIndicatorComponentControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -62,4 +80,4 @@ export class IndicatorComponentControllerInternal { obj.peer = new Finalizable(ptr, IndicatorComponentController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkJsGeolocationMaterialized.ts b/arkoala/arkui/src/ArkJsGeolocationMaterialized.ts index da60a8a74..9bd09f7e1 100644 --- a/arkoala/arkui/src/ArkJsGeolocationMaterialized.ts +++ b/arkoala/arkui/src/ArkJsGeolocationMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -40,4 +58,4 @@ export class JsGeolocationInternal { obj.peer = new Finalizable(ptr, JsGeolocation.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkJsResultMaterialized.ts b/arkoala/arkui/src/ArkJsResultMaterialized.ts index 6bf5540a3..26c1dcaeb 100644 --- a/arkoala/arkui/src/ArkJsResultMaterialized.ts +++ b/arkoala/arkui/src/ArkJsResultMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -52,4 +70,4 @@ export class JsResultInternal { obj.peer = new Finalizable(ptr, JsResult.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkKeyEventMaterialized.ts b/arkoala/arkui/src/ArkKeyEventMaterialized.ts index b000b1fd6..997ccd098 100644 --- a/arkoala/arkui/src/ArkKeyEventMaterialized.ts +++ b/arkoala/arkui/src/ArkKeyEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -246,4 +264,4 @@ export class KeyEventInternal implements MaterializedBase,KeyEvent { obj.peer = new Finalizable(ptr, KeyEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkLayoutManagerMaterialized.ts b/arkoala/arkui/src/ArkLayoutManagerMaterialized.ts index 273c81ecb..30966e05a 100644 --- a/arkoala/arkui/src/ArkLayoutManagerMaterialized.ts +++ b/arkoala/arkui/src/ArkLayoutManagerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -65,4 +83,4 @@ export class LayoutManagerInternal implements MaterializedBase,LayoutManager { obj.peer = new Finalizable(ptr, LayoutManagerInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkLazyForEachOpsMaterialized.ts b/arkoala/arkui/src/ArkLazyForEachOpsMaterialized.ts index a15948871..323027080 100644 --- a/arkoala/arkui/src/ArkLazyForEachOpsMaterialized.ts +++ b/arkoala/arkui/src/ArkLazyForEachOpsMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -73,4 +91,4 @@ export class LazyForEachOpsInternal { obj.peer = new Finalizable(ptr, LazyForEachOps.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkLengthMetricsMaterialized.ts b/arkoala/arkui/src/ArkLengthMetricsMaterialized.ts index d7e8bb65b..919950621 100644 --- a/arkoala/arkui/src/ArkLengthMetricsMaterialized.ts +++ b/arkoala/arkui/src/ArkLengthMetricsMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -96,4 +114,4 @@ export class LengthMetricsInternal { obj.peer = new Finalizable(ptr, LengthMetrics.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkLinearIndicatorControllerMaterialized.ts b/arkoala/arkui/src/ArkLinearIndicatorControllerMaterialized.ts index b9ac23763..5853401bf 100644 --- a/arkoala/arkui/src/ArkLinearIndicatorControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkLinearIndicatorControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -70,4 +88,4 @@ export class LinearIndicatorControllerInternal { obj.peer = new Finalizable(ptr, LinearIndicatorController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkListScrollerMaterialized.ts b/arkoala/arkui/src/ArkListScrollerMaterialized.ts index e69507485..5f86ff8e8 100644 --- a/arkoala/arkui/src/ArkListScrollerMaterialized.ts +++ b/arkoala/arkui/src/ArkListScrollerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { Scroller } from "./ArkScrollerMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -94,4 +112,4 @@ export class ListScrollerInternal { obj.peer = new Finalizable(ptr, ListScroller.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkLongPressGestureEventMaterialized.ts b/arkoala/arkui/src/ArkLongPressGestureEventMaterialized.ts index 5e4914b7e..f49580203 100644 --- a/arkoala/arkui/src/ArkLongPressGestureEventMaterialized.ts +++ b/arkoala/arkui/src/ArkLongPressGestureEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -51,4 +69,4 @@ export class LongPressGestureEventInternal extends BaseGestureEventInternal impl obj.peer = new Finalizable(ptr, LongPressGestureEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkMatrix2DMaterialized.ts b/arkoala/arkui/src/ArkMatrix2DMaterialized.ts index a7784b205..2a370d89d 100644 --- a/arkoala/arkui/src/ArkMatrix2DMaterialized.ts +++ b/arkoala/arkui/src/ArkMatrix2DMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -307,4 +325,4 @@ export class Matrix2DInternal { obj.peer = new Finalizable(ptr, Matrix2D.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkMeasurableMaterialized.ts b/arkoala/arkui/src/ArkMeasurableMaterialized.ts index c399b0d99..06171bd63 100644 --- a/arkoala/arkui/src/ArkMeasurableMaterialized.ts +++ b/arkoala/arkui/src/ArkMeasurableMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -60,4 +78,4 @@ export class MeasurableInternal implements MaterializedBase,Measurable { obj.peer = new Finalizable(ptr, MeasurableInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkMouseEventMaterialized.ts b/arkoala/arkui/src/ArkMouseEventMaterialized.ts index 739e11c8d..8df068155 100644 --- a/arkoala/arkui/src/ArkMouseEventMaterialized.ts +++ b/arkoala/arkui/src/ArkMouseEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -257,4 +275,4 @@ export class MouseEventInternal extends BaseEventInternal implements Materialize obj.peer = new Finalizable(ptr, MouseEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkMutableStyledStringMaterialized.ts b/arkoala/arkui/src/ArkMutableStyledStringMaterialized.ts index 893020e6d..6ead9aa7f 100644 --- a/arkoala/arkui/src/ArkMutableStyledStringMaterialized.ts +++ b/arkoala/arkui/src/ArkMutableStyledStringMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { StyledString } from "./ArkStyledStringMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -144,4 +162,4 @@ export class MutableStyledStringInternal { obj.peer = new Finalizable(ptr, MutableStyledString.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkNavDestinationContextMaterialized.ts b/arkoala/arkui/src/ArkNavDestinationContextMaterialized.ts index 42e6b7568..bd9359e0c 100644 --- a/arkoala/arkui/src/ArkNavDestinationContextMaterialized.ts +++ b/arkoala/arkui/src/ArkNavDestinationContextMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { NavPathStack } from "./ArkNavPathStackMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -92,4 +110,4 @@ export class NavDestinationContextInternal implements MaterializedBase,NavDestin obj.peer = new Finalizable(ptr, NavDestinationContextInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkNavExtenderMaterialized.ts b/arkoala/arkui/src/ArkNavExtenderMaterialized.ts index 7076bfaa8..11b948eb6 100644 --- a/arkoala/arkui/src/ArkNavExtenderMaterialized.ts +++ b/arkoala/arkui/src/ArkNavExtenderMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -46,4 +64,4 @@ export class NavExtenderInternal { obj.peer = new Finalizable(ptr, NavExtender.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkNavPathStackMaterialized.ts b/arkoala/arkui/src/ArkNavPathStackMaterialized.ts index ce594210b..6f5e442cf 100644 --- a/arkoala/arkui/src/ArkNavPathStackMaterialized.ts +++ b/arkoala/arkui/src/ArkNavPathStackMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -585,4 +603,4 @@ export class NavPathStackInternal { obj.peer = new Finalizable(ptr, NavPathStack.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkNavigationTransitionProxyMaterialized.ts b/arkoala/arkui/src/ArkNavigationTransitionProxyMaterialized.ts index d0043e024..87091cc94 100644 --- a/arkoala/arkui/src/ArkNavigationTransitionProxyMaterialized.ts +++ b/arkoala/arkui/src/ArkNavigationTransitionProxyMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -106,4 +124,4 @@ export class NavigationTransitionProxyInternal implements MaterializedBase,Navig obj.peer = new Finalizable(ptr, NavigationTransitionProxyInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkPanGestureEventMaterialized.ts b/arkoala/arkui/src/ArkPanGestureEventMaterialized.ts index 319fc675c..f5b9dfafc 100644 --- a/arkoala/arkui/src/ArkPanGestureEventMaterialized.ts +++ b/arkoala/arkui/src/ArkPanGestureEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -135,4 +153,4 @@ export class PanGestureEventInternal extends BaseGestureEventInternal implements obj.peer = new Finalizable(ptr, PanGestureEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkPanGestureOptionsMaterialized.ts b/arkoala/arkui/src/ArkPanGestureOptionsMaterialized.ts index adc0048b2..548493e7b 100644 --- a/arkoala/arkui/src/ArkPanGestureOptionsMaterialized.ts +++ b/arkoala/arkui/src/ArkPanGestureOptionsMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -93,4 +111,4 @@ export class PanGestureOptionsInternal { obj.peer = new Finalizable(ptr, PanGestureOptions.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkPanRecognizerMaterialized.ts b/arkoala/arkui/src/ArkPanRecognizerMaterialized.ts index 455da88c5..ee45b23a7 100644 --- a/arkoala/arkui/src/ArkPanRecognizerMaterialized.ts +++ b/arkoala/arkui/src/ArkPanRecognizerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { GestureRecognizer } from "./ArkGestureRecognizerMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -39,4 +57,4 @@ export class PanRecognizerInternal { obj.peer = new Finalizable(ptr, PanRecognizer.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkPath2DMaterialized.ts b/arkoala/arkui/src/ArkPath2DMaterialized.ts index 96fb2f9f0..5b7115b9b 100644 --- a/arkoala/arkui/src/ArkPath2DMaterialized.ts +++ b/arkoala/arkui/src/ArkPath2DMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { CanvasPath } from "./ArkCanvasPathMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -51,4 +69,4 @@ export class Path2DInternal { obj.peer = new Finalizable(ptr, Path2D.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkPatternLockControllerMaterialized.ts b/arkoala/arkui/src/ArkPatternLockControllerMaterialized.ts index 902861e76..ecca29dc3 100644 --- a/arkoala/arkui/src/ArkPatternLockControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkPatternLockControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -45,4 +63,4 @@ export class PatternLockControllerInternal { obj.peer = new Finalizable(ptr, PatternLockController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkPermissionRequestMaterialized.ts b/arkoala/arkui/src/ArkPermissionRequestMaterialized.ts index 4c45b1a94..dbb503da2 100644 --- a/arkoala/arkui/src/ArkPermissionRequestMaterialized.ts +++ b/arkoala/arkui/src/ArkPermissionRequestMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -66,4 +84,4 @@ export class PermissionRequestInternal { obj.peer = new Finalizable(ptr, PermissionRequest.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkPinchGestureEventMaterialized.ts b/arkoala/arkui/src/ArkPinchGestureEventMaterialized.ts index 0f33fe0e7..01f498689 100644 --- a/arkoala/arkui/src/ArkPinchGestureEventMaterialized.ts +++ b/arkoala/arkui/src/ArkPinchGestureEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -93,4 +111,4 @@ export class PinchGestureEventInternal extends BaseGestureEventInternal implemen obj.peer = new Finalizable(ptr, PinchGestureEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkPixelMapMaterialized.ts b/arkoala/arkui/src/ArkPixelMapMaterialized.ts index 714962273..621e8bcd3 100644 --- a/arkoala/arkui/src/ArkPixelMapMaterialized.ts +++ b/arkoala/arkui/src/ArkPixelMapMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -92,4 +110,4 @@ export class PixelMapInternal implements MaterializedBase,PixelMap { obj.peer = new Finalizable(ptr, PixelMapInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkPixelMapMockMaterialized.ts b/arkoala/arkui/src/ArkPixelMapMockMaterialized.ts index e2c26a894..51c6d980e 100644 --- a/arkoala/arkui/src/ArkPixelMapMockMaterialized.ts +++ b/arkoala/arkui/src/ArkPixelMapMockMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -35,4 +53,4 @@ export class PixelMapMockInternal implements MaterializedBase,PixelMapMock { obj.peer = new Finalizable(ptr, PixelMapMockInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkProgressMaskMaterialized.ts b/arkoala/arkui/src/ArkProgressMaskMaterialized.ts index 32f071cb7..8107edb57 100644 --- a/arkoala/arkui/src/ArkProgressMaskMaterialized.ts +++ b/arkoala/arkui/src/ArkProgressMaskMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -105,4 +123,4 @@ export class ProgressMaskInternal { obj.peer = new Finalizable(ptr, ProgressMask.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkRichEditorBaseControllerMaterialized.ts b/arkoala/arkui/src/ArkRichEditorBaseControllerMaterialized.ts index daefae571..6dd582923 100644 --- a/arkoala/arkui/src/ArkRichEditorBaseControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkRichEditorBaseControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -117,4 +135,4 @@ export class RichEditorBaseControllerInternal { obj.peer = new Finalizable(ptr, RichEditorBaseController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkRichEditorControllerMaterialized.ts b/arkoala/arkui/src/ArkRichEditorControllerMaterialized.ts index 1131ed1b4..c60ca7b16 100644 --- a/arkoala/arkui/src/ArkRichEditorControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkRichEditorControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { RichEditorBaseController } from "./ArkRichEditorBaseControllerMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -247,4 +265,4 @@ export class RichEditorControllerInternal { obj.peer = new Finalizable(ptr, RichEditorController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkRichEditorStyledStringControllerMaterialized.ts b/arkoala/arkui/src/ArkRichEditorStyledStringControllerMaterialized.ts index 89bf04037..6c10b9c2c 100644 --- a/arkoala/arkui/src/ArkRichEditorStyledStringControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkRichEditorStyledStringControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { RichEditorBaseController } from "./ArkRichEditorBaseControllerMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -68,4 +86,4 @@ export class RichEditorStyledStringControllerInternal { obj.peer = new Finalizable(ptr, RichEditorStyledStringController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkRotationGestureEventMaterialized.ts b/arkoala/arkui/src/ArkRotationGestureEventMaterialized.ts index 01bc52510..f4d6ca463 100644 --- a/arkoala/arkui/src/ArkRotationGestureEventMaterialized.ts +++ b/arkoala/arkui/src/ArkRotationGestureEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -51,4 +69,4 @@ export class RotationGestureEventInternal extends BaseGestureEventInternal imple obj.peer = new Finalizable(ptr, RotationGestureEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkScreenCaptureHandlerMaterialized.ts b/arkoala/arkui/src/ArkScreenCaptureHandlerMaterialized.ts index dd8e74773..539fe805c 100644 --- a/arkoala/arkui/src/ArkScreenCaptureHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkScreenCaptureHandlerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -55,4 +73,4 @@ export class ScreenCaptureHandlerInternal { obj.peer = new Finalizable(ptr, ScreenCaptureHandler.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkScrollableTargetInfoMaterialized.ts b/arkoala/arkui/src/ArkScrollableTargetInfoMaterialized.ts index 6d6a9224f..e7e99c304 100644 --- a/arkoala/arkui/src/ArkScrollableTargetInfoMaterialized.ts +++ b/arkoala/arkui/src/ArkScrollableTargetInfoMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { EventTargetInfo } from "./ArkEventTargetInfoMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -46,4 +64,4 @@ export class ScrollableTargetInfoInternal { obj.peer = new Finalizable(ptr, ScrollableTargetInfo.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkScrollerMaterialized.ts b/arkoala/arkui/src/ArkScrollerMaterialized.ts index 2f13f0433..3dc93c68c 100644 --- a/arkoala/arkui/src/ArkScrollerMaterialized.ts +++ b/arkoala/arkui/src/ArkScrollerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -176,4 +194,4 @@ export class ScrollerInternal { obj.peer = new Finalizable(ptr, Scroller.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkSearchControllerMaterialized.ts b/arkoala/arkui/src/ArkSearchControllerMaterialized.ts index b716aab51..f7291e5e2 100644 --- a/arkoala/arkui/src/ArkSearchControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkSearchControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { TextContentControllerBase } from "./ArkTextContentControllerBaseMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -66,4 +84,4 @@ export class SearchControllerInternal { obj.peer = new Finalizable(ptr, SearchController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkSslErrorHandlerMaterialized.ts b/arkoala/arkui/src/ArkSslErrorHandlerMaterialized.ts index 948b60709..f76b4f697 100644 --- a/arkoala/arkui/src/ArkSslErrorHandlerMaterialized.ts +++ b/arkoala/arkui/src/ArkSslErrorHandlerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -44,4 +62,4 @@ export class SslErrorHandlerInternal { obj.peer = new Finalizable(ptr, SslErrorHandler.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkStyledStringControllerMaterialized.ts b/arkoala/arkui/src/ArkStyledStringControllerMaterialized.ts index 9460c1809..5b9f66dfb 100644 --- a/arkoala/arkui/src/ArkStyledStringControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkStyledStringControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { StyledString } from "./ArkStyledStringMaterialized" import { MutableStyledString } from "./ArkMutableStyledStringMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" @@ -48,4 +66,4 @@ export class StyledStringControllerInternal implements MaterializedBase,StyledSt obj.peer = new Finalizable(ptr, StyledStringControllerInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkStyledStringMaterialized.ts b/arkoala/arkui/src/ArkStyledStringMaterialized.ts index e0c9dedbf..f2d37898e 100644 --- a/arkoala/arkui/src/ArkStyledStringMaterialized.ts +++ b/arkoala/arkui/src/ArkStyledStringMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -174,4 +192,4 @@ export class StyledStringInternal { obj.peer = new Finalizable(ptr, StyledString.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkSubmitEventMaterialized.ts b/arkoala/arkui/src/ArkSubmitEventMaterialized.ts index b9dc5b5a2..718520100 100644 --- a/arkoala/arkui/src/ArkSubmitEventMaterialized.ts +++ b/arkoala/arkui/src/ArkSubmitEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -56,4 +74,4 @@ export class SubmitEventInternal implements MaterializedBase,SubmitEvent { obj.peer = new Finalizable(ptr, SubmitEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkSwipeGestureEventMaterialized.ts b/arkoala/arkui/src/ArkSwipeGestureEventMaterialized.ts index 2e5407aa6..ea406b964 100644 --- a/arkoala/arkui/src/ArkSwipeGestureEventMaterialized.ts +++ b/arkoala/arkui/src/ArkSwipeGestureEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -72,4 +90,4 @@ export class SwipeGestureEventInternal extends BaseGestureEventInternal implemen obj.peer = new Finalizable(ptr, SwipeGestureEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkSwiperContentTransitionProxyMaterialized.ts b/arkoala/arkui/src/ArkSwiperContentTransitionProxyMaterialized.ts index 262936ee2..f8707c804 100644 --- a/arkoala/arkui/src/ArkSwiperContentTransitionProxyMaterialized.ts +++ b/arkoala/arkui/src/ArkSwiperContentTransitionProxyMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -119,4 +137,4 @@ export class SwiperContentTransitionProxyInternal implements MaterializedBase,Sw obj.peer = new Finalizable(ptr, SwiperContentTransitionProxyInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkSwiperControllerMaterialized.ts b/arkoala/arkui/src/ArkSwiperControllerMaterialized.ts index 49d6498e4..78619c17e 100644 --- a/arkoala/arkui/src/ArkSwiperControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkSwiperControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -79,4 +97,4 @@ export class SwiperControllerInternal { obj.peer = new Finalizable(ptr, SwiperController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkTabContentTransitionProxyMaterialized.ts b/arkoala/arkui/src/ArkTabContentTransitionProxyMaterialized.ts index ac3fe1880..75f67066e 100644 --- a/arkoala/arkui/src/ArkTabContentTransitionProxyMaterialized.ts +++ b/arkoala/arkui/src/ArkTabContentTransitionProxyMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -77,4 +95,4 @@ export class TabContentTransitionProxyInternal implements MaterializedBase,TabCo obj.peer = new Finalizable(ptr, TabContentTransitionProxyInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkTabsControllerMaterialized.ts b/arkoala/arkui/src/ArkTabsControllerMaterialized.ts index 4b35a329e..eaba1e550 100644 --- a/arkoala/arkui/src/ArkTabsControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTabsControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -79,4 +97,4 @@ export class TabsControllerInternal { obj.peer = new Finalizable(ptr, TabsController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkTapGestureEventMaterialized.ts b/arkoala/arkui/src/ArkTapGestureEventMaterialized.ts index 0b6b259a0..e16430d66 100644 --- a/arkoala/arkui/src/ArkTapGestureEventMaterialized.ts +++ b/arkoala/arkui/src/ArkTapGestureEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -30,4 +48,4 @@ export class TapGestureEventInternal extends BaseGestureEventInternal implements obj.peer = new Finalizable(ptr, TapGestureEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkTextAreaControllerMaterialized.ts b/arkoala/arkui/src/ArkTextAreaControllerMaterialized.ts index 66da02ec9..7427be7b4 100644 --- a/arkoala/arkui/src/ArkTextAreaControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTextAreaControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { TextContentControllerBase } from "./ArkTextContentControllerBaseMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -66,4 +84,4 @@ export class TextAreaControllerInternal { obj.peer = new Finalizable(ptr, TextAreaController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkTextBaseControllerMaterialized.ts b/arkoala/arkui/src/ArkTextBaseControllerMaterialized.ts index 9880a262a..2f49aea74 100644 --- a/arkoala/arkui/src/ArkTextBaseControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTextBaseControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -61,4 +79,4 @@ export class TextBaseControllerInternal implements MaterializedBase,TextBaseCont obj.peer = new Finalizable(ptr, TextBaseControllerInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkTextClockControllerMaterialized.ts b/arkoala/arkui/src/ArkTextClockControllerMaterialized.ts index e24038181..ff682e989 100644 --- a/arkoala/arkui/src/ArkTextClockControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTextClockControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -44,4 +62,4 @@ export class TextClockControllerInternal { obj.peer = new Finalizable(ptr, TextClockController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkTextContentControllerBaseMaterialized.ts b/arkoala/arkui/src/ArkTextContentControllerBaseMaterialized.ts index 61d5a91de..cdb4bf669 100644 --- a/arkoala/arkui/src/ArkTextContentControllerBaseMaterialized.ts +++ b/arkoala/arkui/src/ArkTextContentControllerBaseMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -51,4 +69,4 @@ export class TextContentControllerBaseInternal { obj.peer = new Finalizable(ptr, TextContentControllerBase.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkTextControllerMaterialized.ts b/arkoala/arkui/src/ArkTextControllerMaterialized.ts index eb9be8c78..9b83dd02a 100644 --- a/arkoala/arkui/src/ArkTextControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTextControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -55,4 +73,4 @@ export class TextControllerInternal { obj.peer = new Finalizable(ptr, TextController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkTextEditControllerExMaterialized.ts b/arkoala/arkui/src/ArkTextEditControllerExMaterialized.ts index 62a1012cc..bd8cebf15 100644 --- a/arkoala/arkui/src/ArkTextEditControllerExMaterialized.ts +++ b/arkoala/arkui/src/ArkTextEditControllerExMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { TextBaseControllerInternal } from "./ArkTextBaseControllerMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -66,4 +84,4 @@ export class TextEditControllerExInternal extends TextBaseControllerInternal imp obj.peer = new Finalizable(ptr, TextEditControllerExInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkTextInputControllerMaterialized.ts b/arkoala/arkui/src/ArkTextInputControllerMaterialized.ts index 572699916..199581998 100644 --- a/arkoala/arkui/src/ArkTextInputControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTextInputControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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 { TextContentControllerBase } from "./ArkTextContentControllerBaseMaterialized" import { Finalizable, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -66,4 +84,4 @@ export class TextInputControllerInternal { obj.peer = new Finalizable(ptr, TextInputController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkTextMenuItemIdMaterialized.ts b/arkoala/arkui/src/ArkTextMenuItemIdMaterialized.ts index b789858d1..54504939b 100644 --- a/arkoala/arkui/src/ArkTextMenuItemIdMaterialized.ts +++ b/arkoala/arkui/src/ArkTextMenuItemIdMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -88,4 +106,4 @@ export class TextMenuItemIdInternal { obj.peer = new Finalizable(ptr, TextMenuItemId.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkTextPickerDialogMaterialized.ts b/arkoala/arkui/src/ArkTextPickerDialogMaterialized.ts index fd7e806c4..f02fb111d 100644 --- a/arkoala/arkui/src/ArkTextPickerDialogMaterialized.ts +++ b/arkoala/arkui/src/ArkTextPickerDialogMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -50,4 +68,4 @@ export class TextPickerDialogInternal { obj.peer = new Finalizable(ptr, TextPickerDialog.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkTextTimerControllerMaterialized.ts b/arkoala/arkui/src/ArkTextTimerControllerMaterialized.ts index 7f7537f2e..d5b88eb65 100644 --- a/arkoala/arkui/src/ArkTextTimerControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkTextTimerControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -51,4 +69,4 @@ export class TextTimerControllerInternal { obj.peer = new Finalizable(ptr, TextTimerController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkTimePickerDialogMaterialized.ts b/arkoala/arkui/src/ArkTimePickerDialogMaterialized.ts index 67933e1bf..eb6d29acb 100644 --- a/arkoala/arkui/src/ArkTimePickerDialogMaterialized.ts +++ b/arkoala/arkui/src/ArkTimePickerDialogMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -50,4 +68,4 @@ export class TimePickerDialogInternal { obj.peer = new Finalizable(ptr, TimePickerDialog.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkTouchEventMaterialized.ts b/arkoala/arkui/src/ArkTouchEventMaterialized.ts index cdbcbe587..a834193d3 100644 --- a/arkoala/arkui/src/ArkTouchEventMaterialized.ts +++ b/arkoala/arkui/src/ArkTouchEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" @@ -134,4 +152,4 @@ export class TouchEventInternal extends BaseEventInternal implements Materialize obj.peer = new Finalizable(ptr, TouchEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkTransitionEffectMaterialized.ts b/arkoala/arkui/src/ArkTransitionEffectMaterialized.ts index 3b03d2ba3..f8d395869 100644 --- a/arkoala/arkui/src/ArkTransitionEffectMaterialized.ts +++ b/arkoala/arkui/src/ArkTransitionEffectMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -156,4 +174,4 @@ export class TransitionEffectInternal { obj.peer = new Finalizable(ptr, TransitionEffect.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkUICommonEventMaterialized.ts b/arkoala/arkui/src/ArkUICommonEventMaterialized.ts index 30518842f..266e9c298 100644 --- a/arkoala/arkui/src/ArkUICommonEventMaterialized.ts +++ b/arkoala/arkui/src/ArkUICommonEventMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -217,4 +235,4 @@ export class UICommonEventInternal implements MaterializedBase,UICommonEvent { obj.peer = new Finalizable(ptr, UICommonEventInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkUIExtensionProxyMaterialized.ts b/arkoala/arkui/src/ArkUIExtensionProxyMaterialized.ts index a8ae10487..87b6418ce 100644 --- a/arkoala/arkui/src/ArkUIExtensionProxyMaterialized.ts +++ b/arkoala/arkui/src/ArkUIExtensionProxyMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -120,4 +138,4 @@ export class UIExtensionProxyInternal implements MaterializedBase,UIExtensionPro obj.peer = new Finalizable(ptr, UIExtensionProxyInternal.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkUnifiedDataMaterialized.ts b/arkoala/arkui/src/ArkUnifiedDataMaterialized.ts index 691356ddb..573e1469b 100644 --- a/arkoala/arkui/src/ArkUnifiedDataMaterialized.ts +++ b/arkoala/arkui/src/ArkUnifiedDataMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -45,4 +63,4 @@ export class UnifiedDataInternal { obj.peer = new Finalizable(ptr, UnifiedData.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkVideoControllerMaterialized.ts b/arkoala/arkui/src/ArkVideoControllerMaterialized.ts index 2bb8f2edd..11dd87653 100644 --- a/arkoala/arkui/src/ArkVideoControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkVideoControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -95,4 +113,4 @@ export class VideoControllerInternal { obj.peer = new Finalizable(ptr, VideoController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkViewMaterialized.ts b/arkoala/arkui/src/ArkViewMaterialized.ts index b7dae9a26..72d4e6058 100644 --- a/arkoala/arkui/src/ArkViewMaterialized.ts +++ b/arkoala/arkui/src/ArkViewMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -41,4 +59,4 @@ export class ViewInternal { obj.peer = new Finalizable(ptr, View.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkWaterFlowSectionsMaterialized.ts b/arkoala/arkui/src/ArkWaterFlowSectionsMaterialized.ts index 390a3db37..1e300658e 100644 --- a/arkoala/arkui/src/ArkWaterFlowSectionsMaterialized.ts +++ b/arkoala/arkui/src/ArkWaterFlowSectionsMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -97,4 +115,4 @@ export class WaterFlowSectionsInternal { obj.peer = new Finalizable(ptr, WaterFlowSections.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkWebContextMenuParamMaterialized.ts b/arkoala/arkui/src/ArkWebContextMenuParamMaterialized.ts index 2f18fc192..26d52c23b 100644 --- a/arkoala/arkui/src/ArkWebContextMenuParamMaterialized.ts +++ b/arkoala/arkui/src/ArkWebContextMenuParamMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -128,4 +146,4 @@ export class WebContextMenuParamInternal { obj.peer = new Finalizable(ptr, WebContextMenuParam.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkWebContextMenuResultMaterialized.ts b/arkoala/arkui/src/ArkWebContextMenuResultMaterialized.ts index 2b68e1e77..09279fc4e 100644 --- a/arkoala/arkui/src/ArkWebContextMenuResultMaterialized.ts +++ b/arkoala/arkui/src/ArkWebContextMenuResultMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -72,4 +90,4 @@ export class WebContextMenuResultInternal { obj.peer = new Finalizable(ptr, WebContextMenuResult.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkWebControllerMaterialized.ts b/arkoala/arkui/src/ArkWebControllerMaterialized.ts index b9a6c9d8b..186eb8ffb 100644 --- a/arkoala/arkui/src/ArkWebControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkWebControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -245,4 +263,4 @@ export class WebControllerInternal { obj.peer = new Finalizable(ptr, WebController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkWebCookieMaterialized.ts b/arkoala/arkui/src/ArkWebCookieMaterialized.ts index 49a03480d..9ff107648 100644 --- a/arkoala/arkui/src/ArkWebCookieMaterialized.ts +++ b/arkoala/arkui/src/ArkWebCookieMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -44,4 +62,4 @@ export class WebCookieInternal { obj.peer = new Finalizable(ptr, WebCookie.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkWebKeyboardControllerMaterialized.ts b/arkoala/arkui/src/ArkWebKeyboardControllerMaterialized.ts index 5e47a330c..dbb54390f 100644 --- a/arkoala/arkui/src/ArkWebKeyboardControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkWebKeyboardControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -69,4 +87,4 @@ export class WebKeyboardControllerInternal { obj.peer = new Finalizable(ptr, WebKeyboardController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkWebResourceErrorMaterialized.ts b/arkoala/arkui/src/ArkWebResourceErrorMaterialized.ts index 614dc6ea7..f228d0fc1 100644 --- a/arkoala/arkui/src/ArkWebResourceErrorMaterialized.ts +++ b/arkoala/arkui/src/ArkWebResourceErrorMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -44,4 +62,4 @@ export class WebResourceErrorInternal { obj.peer = new Finalizable(ptr, WebResourceError.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkWebResourceRequestMaterialized.ts b/arkoala/arkui/src/ArkWebResourceRequestMaterialized.ts index e1dabc497..9158abd5e 100644 --- a/arkoala/arkui/src/ArkWebResourceRequestMaterialized.ts +++ b/arkoala/arkui/src/ArkWebResourceRequestMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -72,4 +90,4 @@ export class WebResourceRequestInternal { obj.peer = new Finalizable(ptr, WebResourceRequest.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkWebResourceResponseMaterialized.ts b/arkoala/arkui/src/ArkWebResourceResponseMaterialized.ts index 5c3f6030b..c9581176d 100644 --- a/arkoala/arkui/src/ArkWebResourceResponseMaterialized.ts +++ b/arkoala/arkui/src/ArkWebResourceResponseMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -173,4 +191,4 @@ export class WebResourceResponseInternal { obj.peer = new Finalizable(ptr, WebResourceResponse.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkWebviewControllerMaterialized.ts b/arkoala/arkui/src/ArkWebviewControllerMaterialized.ts index bf16dead3..563f7bcdb 100644 --- a/arkoala/arkui/src/ArkWebviewControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkWebviewControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -74,4 +92,4 @@ export class WebviewControllerInternal { obj.peer = new Finalizable(ptr, WebviewController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/ArkXComponentControllerMaterialized.ts b/arkoala/arkui/src/ArkXComponentControllerMaterialized.ts index c75e6034b..e335da149 100644 --- a/arkoala/arkui/src/ArkXComponentControllerMaterialized.ts +++ b/arkoala/arkui/src/ArkXComponentControllerMaterialized.ts @@ -1,3 +1,21 @@ +/* + * Copyright (c) 2024-2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.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, isResource, isInstanceOf, runtimeType, RuntimeType, SerializerBase, registerCallback, wrapCallback, KPointer } from "@koalaui/interop" import { MaterializedBase } from "./MaterializedBase" import { Serializer } from "./peers/Serializer" @@ -141,4 +159,4 @@ export class XComponentControllerInternal { obj.peer = new Finalizable(ptr, XComponentController.getFinalizer()) return obj } -} \ No newline at end of file +} diff --git a/arkoala/arkui/src/GlobalScope.ts b/arkoala/arkui/src/GlobalScope.ts index 9ec9ef88a..5b553a7f6 100644 --- a/arkoala/arkui/src/GlobalScope.ts +++ b/arkoala/arkui/src/GlobalScope.ts @@ -18,63 +18,63 @@ import { GlobalScope_common } from "./ArkGlobalScopeCommonMaterialized" import { GlobalScope_inspector } from "./ArkGlobalScopeInspectorMaterialized" -export function getContext(component: Object) { +export function getContext(component: Object): Context { return GlobalScope_common.getContext(component) } -export function postCardAction(component: Object, action: Object) { +export function postCardAction(component: Object, action: Object): void { GlobalScope_common.postCardAction(component, action) } -export function dollar_r(value: string, params: Array) { +export function dollar_r(value: string, params: Array): Resource { return GlobalScope_common.dollar_r(value, params) } -export function dollar_rawfile(value: string) { +export function dollar_rawfile(value: string): Resource { return GlobalScope_common.dollar_rawfile(value) } -export function animateTo(value: AnimateParam, event: (() => void)) { +export function animateTo(value: AnimateParam, event: (() => void)): void { GlobalScope_common.animateTo(value, event) } -export function animateToImmediately(value: AnimateParam, event: (() => void)) { +export function animateToImmediately(value: AnimateParam, event: (() => void)): void { GlobalScope_common.animateToImmediately(value, event) } -export function vp2px(value: number) { +export function vp2px(value: number): number { return GlobalScope_common.vp2px(value) } -export function px2vp(value: number) { +export function px2vp(value: number): number { return GlobalScope_common.px2vp(value) } -export function fp2px(value: number) { +export function fp2px(value: number): number { return GlobalScope_common.fp2px(value) } -export function px2fp(value: number) { +export function px2fp(value: number): number { return GlobalScope_common.px2fp(value) } -export function lpx2px(value: number) { +export function lpx2px(value: number): number { return GlobalScope_common.lpx2px(value) } -export function px2lpx(value: number) { +export function px2lpx(value: number): number { return GlobalScope_common.px2lpx(value) } -export function requestFocus(value: string) { +export function requestFocus(value: string): boolean { return GlobalScope_common.requestFocus(value) } -export function setCursor(value: PointerStyle) { +export function setCursor(value: PointerStyle): void { GlobalScope_common.setCursor(value) } -export function restoreDefault() { +export function restoreDefault(): void { GlobalScope_common.restoreDefault() } -export function getInspectorNodes() { +export function getInspectorNodes(): Object { return GlobalScope_inspector.getInspectorNodes() } -export function getInspectorNodeById(id: number) { +export function getInspectorNodeById(id: number): Object { return GlobalScope_inspector.getInspectorNodeById(id) } -export function registerVsyncCallback(callback_: ((info: string) => void)) { +export function registerVsyncCallback(callback_: ((info: string) => void)): void { GlobalScope_inspector.registerVsyncCallback(callback_) } -export function unregisterVsyncCallback() { +export function unregisterVsyncCallback(): void { GlobalScope_inspector.unregisterVsyncCallback() } -export function setAppBgColor(value: string) { +export function setAppBgColor(value: string): void { GlobalScope_inspector.setAppBgColor(value) } diff --git a/arkoala/arkui/src/peers/CallbackDeserializeCall.ts b/arkoala/arkui/src/peers/CallbackDeserializeCall.ts index 60cbd54eb..b03bc50de 100644 --- a/arkoala/arkui/src/peers/CallbackDeserializeCall.ts +++ b/arkoala/arkui/src/peers/CallbackDeserializeCall.ts @@ -19,40 +19,40 @@ import { int32, float32, int64 } from "@koalaui/common" import { ResourceHolder, KInt, KStringPtr, wrapSystemCallback, KPointer, RuntimeType } from "@koalaui/interop" import { CallbackTransformer } from "./CallbackTransformer" -export function deserializeAndCallAccessibilityCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallAccessibilityCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as AccessibilityCallback) let isHover: boolean = thisDeserializer.readBoolean() let event: AccessibilityHoverEvent = (thisDeserializer.readAccessibilityHoverEvent() as AccessibilityHoverEvent) _call(isHover, event) } -export function deserializeAndCallAsyncCallback_image_PixelMap_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallAsyncCallback_image_PixelMap_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((result: PixelMap) => void)) let result: PixelMap = (thisDeserializer.readPixelMap() as PixelMap) _call(result) } -export function deserializeAndCallButtonTriggerClickCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallButtonTriggerClickCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ButtonTriggerClickCallback) let xPos: number = (thisDeserializer.readNumber() as number) let yPos: number = (thisDeserializer.readNumber() as number) _call(xPos, yPos) } -export function deserializeAndCallCallback_Any_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Any_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((info: any) => void)) let info: any = (thisDeserializer.readCustomObject("Any") as Object) _call(info) } -export function deserializeAndCallCallback_Area_Area_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Area_Area_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((oldValue: Area, newValue: Area) => void)) let oldValue: Area = thisDeserializer.readArea() let newValue: Area = thisDeserializer.readArea() _call(oldValue, newValue) } -export function deserializeAndCallCallback_Array_Number_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Array_Number_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((input: Array) => void)) const input_buf_length: int32 = thisDeserializer.readInt32() @@ -63,7 +63,7 @@ export function deserializeAndCallCallback_Array_Number_Void(thisDeserializer: D let input: Array = input_buf _call(input) } -export function deserializeAndCallCallback_Array_String_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Array_String_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: Array) => void)) const value_buf_length: int32 = thisDeserializer.readInt32() @@ -74,7 +74,7 @@ export function deserializeAndCallCallback_Array_String_Void(thisDeserializer: D let value: Array = value_buf _call(value) } -export function deserializeAndCallCallback_Array_TouchTestInfo_TouchResult(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Array_TouchTestInfo_TouchResult(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: Array) => TouchResult)) const value_buf_length: int32 = thisDeserializer.readInt32() @@ -87,102 +87,102 @@ export function deserializeAndCallCallback_Array_TouchTestInfo_TouchResult(thisD const _callResult = _call(value) _continuation(_callResult) } -export function deserializeAndCallCallback_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as (() => boolean)) let _continuation: ((parameter: boolean) => void) = thisDeserializer.readCallback_Boolean_Void(true) const _callResult = _call() _continuation(_callResult) } -export function deserializeAndCallCallback_Boolean_HoverEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Boolean_HoverEvent_Void(thisDeserializer: Deserializer): void { 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() as HoverEvent) _call(isHover, event) } -export function deserializeAndCallCallback_Boolean_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Boolean_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: boolean) => void)) let parameter: boolean = thisDeserializer.readBoolean() _call(parameter) } -export function deserializeAndCallCallback_CalendarRequestedData_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_CalendarRequestedData_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: CalendarRequestedData) => void)) let event: CalendarRequestedData = thisDeserializer.readCalendarRequestedData() _call(event) } -export function deserializeAndCallCallback_CalendarSelectedDate_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_CalendarSelectedDate_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: CalendarSelectedDate) => void)) let event: CalendarSelectedDate = thisDeserializer.readCalendarSelectedDate() _call(event) } -export function deserializeAndCallCallback_ClickEvent_LocationButtonOnClickResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ClickEvent_LocationButtonOnClickResult_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent, result: LocationButtonOnClickResult) => void)) let event: ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) let result: LocationButtonOnClickResult = (thisDeserializer.readInt32() as LocationButtonOnClickResult) _call(event, result) } -export function deserializeAndCallCallback_ClickEvent_PasteButtonOnClickResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ClickEvent_PasteButtonOnClickResult_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent, result: PasteButtonOnClickResult) => void)) let event: ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) let result: PasteButtonOnClickResult = (thisDeserializer.readInt32() as PasteButtonOnClickResult) _call(event, result) } -export function deserializeAndCallCallback_ClickEvent_SaveButtonOnClickResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ClickEvent_SaveButtonOnClickResult_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent, result: SaveButtonOnClickResult) => void)) let event: ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) let result: SaveButtonOnClickResult = (thisDeserializer.readInt32() as SaveButtonOnClickResult) _call(event, result) } -export function deserializeAndCallCallback_ClickEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ClickEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ClickEvent) => void)) let event: ClickEvent = (thisDeserializer.readClickEvent() as ClickEvent) _call(event) } -export function deserializeAndCallCallback_ComputedBarAttribute_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ComputedBarAttribute_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: ComputedBarAttribute) => void)) let value: ComputedBarAttribute = thisDeserializer.readComputedBarAttribute() _call(value) } -export function deserializeAndCallCallback_CopyEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_CopyEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: CopyEvent) => void)) let parameter: CopyEvent = thisDeserializer.readCopyEvent() _call(parameter) } -export function deserializeAndCallCallback_CustomBuilder_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_CustomBuilder_Void(thisDeserializer: Deserializer): void { 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) { +export function deserializeAndCallCallback_CutEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: CutEvent) => void)) let parameter: CutEvent = thisDeserializer.readCutEvent() _call(parameter) } -export function deserializeAndCallCallback_Date_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Date_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: Date) => void)) let parameter: Date = new Date(thisDeserializer.readInt64()) _call(parameter) } -export function deserializeAndCallCallback_DatePickerResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_DatePickerResult_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: DatePickerResult) => void)) let value: DatePickerResult = thisDeserializer.readDatePickerResult() _call(value) } -export function deserializeAndCallCallback_DeleteValue_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_DeleteValue_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: DeleteValue) => boolean)) let parameter: DeleteValue = thisDeserializer.readDeleteValue() @@ -190,37 +190,37 @@ export function deserializeAndCallCallback_DeleteValue_Boolean(thisDeserializer: const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_DeleteValue_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_DeleteValue_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: DeleteValue) => void)) let parameter: DeleteValue = thisDeserializer.readDeleteValue() _call(parameter) } -export function deserializeAndCallCallback_DismissContentCoverAction_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_DismissContentCoverAction_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: DismissContentCoverAction) => void)) let parameter: DismissContentCoverAction = thisDeserializer.readDismissContentCoverAction() _call(parameter) } -export function deserializeAndCallCallback_DismissDialogAction_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_DismissDialogAction_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: DismissDialogAction) => void)) let parameter: DismissDialogAction = thisDeserializer.readDismissDialogAction() _call(parameter) } -export function deserializeAndCallCallback_DismissPopupAction_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_DismissPopupAction_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: DismissPopupAction) => void)) let parameter: DismissPopupAction = thisDeserializer.readDismissPopupAction() _call(parameter) } -export function deserializeAndCallCallback_DismissSheetAction_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_DismissSheetAction_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: DismissSheetAction) => void)) let parameter: DismissSheetAction = thisDeserializer.readDismissSheetAction() _call(parameter) } -export function deserializeAndCallCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_DragEvent_String_Union_CustomBuilder_DragItemInfo(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: DragEvent, extraParams?: string) => CustomBuilder | DragItemInfo)) let event: DragEvent = (thisDeserializer.readDragEvent() as DragEvent) @@ -235,7 +235,7 @@ export function deserializeAndCallCallback_DragEvent_String_Union_CustomBuilder_ const _callResult = _call(event, extraParams) _continuation(_callResult) } -export function deserializeAndCallCallback_DragEvent_String_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_DragEvent_String_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: DragEvent, extraParams?: string) => void)) let event: DragEvent = (thisDeserializer.readDragEvent() as DragEvent) @@ -248,42 +248,42 @@ export function deserializeAndCallCallback_DragEvent_String_Void(thisDeserialize let extraParams: string | undefined|undefined = extraParams_buf _call(event, extraParams) } -export function deserializeAndCallCallback_EnterKeyType_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_EnterKeyType_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((enterKey: EnterKeyType) => void)) let enterKey: EnterKeyType = (thisDeserializer.readInt32() as EnterKeyType) _call(enterKey) } -export function deserializeAndCallCallback_Extender_OnFinish(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Extender_OnFinish(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as Callback_Extender_OnFinish) _call() } -export function deserializeAndCallCallback_Extender_OnProgress(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Extender_OnProgress(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as Callback_Extender_OnProgress) let value: number = thisDeserializer.readFloat32() _call(value) } -export function deserializeAndCallCallback_FormCallbackInfo_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_FormCallbackInfo_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: FormCallbackInfo) => void)) let parameter: FormCallbackInfo = thisDeserializer.readFormCallbackInfo() _call(parameter) } -export function deserializeAndCallCallback_FullscreenInfo_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_FullscreenInfo_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: FullscreenInfo) => void)) let parameter: FullscreenInfo = thisDeserializer.readFullscreenInfo() _call(parameter) } -export function deserializeAndCallCallback_GestureEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_GestureEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: GestureEvent) => void)) let event: GestureEvent = (thisDeserializer.readGestureEvent() as GestureEvent) _call(event) } -export function deserializeAndCallCallback_GestureInfo_BaseGestureEvent_GestureJudgeResult(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_GestureInfo_BaseGestureEvent_GestureJudgeResult(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((gestureInfo: GestureInfo, event: BaseGestureEvent) => GestureJudgeResult)) let gestureInfo: GestureInfo = thisDeserializer.readGestureInfo() @@ -292,25 +292,25 @@ export function deserializeAndCallCallback_GestureInfo_BaseGestureEvent_GestureJ const _callResult = _call(gestureInfo, event) _continuation(_callResult) } -export function deserializeAndCallCallback_GestureJudgeResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_GestureJudgeResult_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: GestureJudgeResult) => void)) let value: GestureJudgeResult = (thisDeserializer.readInt32() as GestureJudgeResult) _call(value) } -export function deserializeAndCallCallback_GestureRecognizer_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_GestureRecognizer_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: GestureRecognizer) => void)) let value: GestureRecognizer = (thisDeserializer.readGestureRecognizer() as GestureRecognizer) _call(value) } -export function deserializeAndCallCallback_HitTestMode_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_HitTestMode_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: HitTestMode) => void)) let value: HitTestMode = (thisDeserializer.readInt32() as HitTestMode) _call(value) } -export function deserializeAndCallCallback_InsertValue_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_InsertValue_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: InsertValue) => boolean)) let parameter: InsertValue = thisDeserializer.readInsertValue() @@ -318,19 +318,19 @@ export function deserializeAndCallCallback_InsertValue_Boolean(thisDeserializer: const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_InsertValue_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_InsertValue_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: InsertValue) => void)) let parameter: InsertValue = thisDeserializer.readInsertValue() _call(parameter) } -export function deserializeAndCallCallback_IsolatedComponentAttribute_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_IsolatedComponentAttribute_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: IsolatedComponentAttribute) => void)) let value: IsolatedComponentAttribute = thisDeserializer.readIsolatedComponentAttribute() _call(value) } -export function deserializeAndCallCallback_ItemDragInfo_Number_CustomBuilder(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ItemDragInfo_Number_CustomBuilder(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ItemDragInfo, itemIndex: number) => CustomBuilder)) let event: ItemDragInfo = thisDeserializer.readItemDragInfo() @@ -339,7 +339,7 @@ export function deserializeAndCallCallback_ItemDragInfo_Number_CustomBuilder(thi const _callResult = _call(event, itemIndex) _continuation(_callResult) } -export function deserializeAndCallCallback_ItemDragInfo_Number_Number_Boolean_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ItemDragInfo_Number_Number_Boolean_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ItemDragInfo, itemIndex: number, insertIndex: number, isSuccess: boolean) => void)) let event: ItemDragInfo = thisDeserializer.readItemDragInfo() @@ -348,7 +348,7 @@ export function deserializeAndCallCallback_ItemDragInfo_Number_Number_Boolean_Vo let isSuccess: boolean = thisDeserializer.readBoolean() _call(event, itemIndex, insertIndex, isSuccess) } -export function deserializeAndCallCallback_ItemDragInfo_Number_Number_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ItemDragInfo_Number_Number_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ItemDragInfo, itemIndex: number, insertIndex: number) => void)) let event: ItemDragInfo = thisDeserializer.readItemDragInfo() @@ -356,20 +356,20 @@ export function deserializeAndCallCallback_ItemDragInfo_Number_Number_Void(thisD let insertIndex: number = (thisDeserializer.readNumber() as number) _call(event, itemIndex, insertIndex) } -export function deserializeAndCallCallback_ItemDragInfo_Number_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ItemDragInfo_Number_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ItemDragInfo, itemIndex: number) => void)) let event: ItemDragInfo = thisDeserializer.readItemDragInfo() let itemIndex: number = (thisDeserializer.readNumber() as number) _call(event, itemIndex) } -export function deserializeAndCallCallback_ItemDragInfo_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ItemDragInfo_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: ItemDragInfo) => void)) let event: ItemDragInfo = thisDeserializer.readItemDragInfo() _call(event) } -export function deserializeAndCallCallback_KeyEvent_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_KeyEvent_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: KeyEvent) => boolean)) let parameter: KeyEvent = (thisDeserializer.readKeyEvent() as KeyEvent) @@ -377,20 +377,20 @@ export function deserializeAndCallCallback_KeyEvent_Boolean(thisDeserializer: De const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_KeyEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_KeyEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: KeyEvent) => void)) let event: KeyEvent = (thisDeserializer.readKeyEvent() as KeyEvent) _call(event) } -export function deserializeAndCallCallback_Literal_Boolean_isVisible_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Literal_Boolean_isVisible_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: { isVisible: boolean }) => void)) const event_buf_isVisible: boolean = thisDeserializer.readBoolean() let event: { isVisible: boolean } = ({isVisible: event_buf_isVisible} as { isVisible: boolean }) _call(event) } -export function deserializeAndCallCallback_Literal_Function_handler_Object_error_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Literal_Function_handler_Object_error_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: { handler: Function, error: Object }) => void)) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) @@ -404,7 +404,7 @@ export function deserializeAndCallCallback_Literal_Function_handler_Object_error let event: { handler: Function, error: Object } | undefined|undefined = event_buf _call(event) } -export function deserializeAndCallCallback_Literal_Number_code_Want_want_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Literal_Number_code_Want_want_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: { code: number, want?: Want }) => void)) const parameter_buf_code: number = (thisDeserializer.readNumber() as number) @@ -418,7 +418,7 @@ export function deserializeAndCallCallback_Literal_Number_code_Want_want_Void(th let parameter: { code: number, want?: Want } = ({code: parameter_buf_code, want: parameter_buf_want} as { code: number, want?: Want }) _call(parameter) } -export function deserializeAndCallCallback_Literal_Number_errcode_String_msg_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Literal_Number_errcode_String_msg_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((info: { errcode: number, msg: string }) => void)) const info_buf_errcode: number = (thisDeserializer.readNumber() as number) @@ -426,14 +426,14 @@ export function deserializeAndCallCallback_Literal_Number_errcode_String_msg_Voi let info: { errcode: number, msg: string } = ({errcode: info_buf_errcode, msg: info_buf_msg} as { errcode: number, msg: string }) _call(info) } -export function deserializeAndCallCallback_Literal_Number_offsetRemain_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Literal_Number_offsetRemain_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: { offsetRemain: number }) => void)) const value_buf_offsetRemain: number = (thisDeserializer.readNumber() as number) let value: { offsetRemain: number } = ({offsetRemain: value_buf_offsetRemain} as { offsetRemain: number }) _call(value) } -export function deserializeAndCallCallback_Literal_Object_detail_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Literal_Object_detail_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: { detail: Object }) => boolean)) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) @@ -448,56 +448,56 @@ export function deserializeAndCallCallback_Literal_Object_detail_Boolean(thisDes const _callResult = _call(event) _continuation(_callResult) } -export function deserializeAndCallCallback_Literal_String_plainText_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Literal_String_plainText_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((selectedText: { plainText: string }) => void)) const selectedText_buf_plainText: string = (thisDeserializer.readString() as string) let selectedText: { plainText: string } = ({plainText: selectedText_buf_plainText} as { plainText: string }) _call(selectedText) } -export function deserializeAndCallCallback_MouseEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_MouseEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: MouseEvent) => void)) let event: MouseEvent = (thisDeserializer.readMouseEvent() as MouseEvent) _call(event) } -export function deserializeAndCallCallback_NativeEmbedDataInfo_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_NativeEmbedDataInfo_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: NativeEmbedDataInfo) => void)) let event: NativeEmbedDataInfo = thisDeserializer.readNativeEmbedDataInfo() _call(event) } -export function deserializeAndCallCallback_NativeEmbedTouchInfo_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_NativeEmbedTouchInfo_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: NativeEmbedTouchInfo) => void)) let event: NativeEmbedTouchInfo = thisDeserializer.readNativeEmbedTouchInfo() _call(event) } -export function deserializeAndCallCallback_NavDestinationContext_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_NavDestinationContext_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: NavDestinationContext) => void)) let parameter: NavDestinationContext = (thisDeserializer.readNavDestinationContext() as NavDestinationContext) _call(parameter) } -export function deserializeAndCallCallback_NavigationMode_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_NavigationMode_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((mode: NavigationMode) => void)) let mode: NavigationMode = (thisDeserializer.readInt32() as NavigationMode) _call(mode) } -export function deserializeAndCallCallback_NavigationTitleMode_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_NavigationTitleMode_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((titleMode: NavigationTitleMode) => void)) let titleMode: NavigationTitleMode = (thisDeserializer.readInt32() as NavigationTitleMode) _call(titleMode) } -export function deserializeAndCallCallback_NavigationTransitionProxy_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_NavigationTransitionProxy_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((transitionProxy: NavigationTransitionProxy) => void)) let transitionProxy: NavigationTransitionProxy = (thisDeserializer.readNavigationTransitionProxy() as NavigationTransitionProxy) _call(transitionProxy) } -export function deserializeAndCallCallback_Number_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((index: number) => boolean)) let index: number = (thisDeserializer.readNumber() as number) @@ -505,7 +505,7 @@ export function deserializeAndCallCallback_Number_Boolean(thisDeserializer: Dese const _callResult = _call(index) _continuation(_callResult) } -export function deserializeAndCallCallback_Number_Number_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_Number_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((from: number, to: number) => boolean)) let from: number = (thisDeserializer.readNumber() as number) @@ -514,7 +514,7 @@ export function deserializeAndCallCallback_Number_Number_Boolean(thisDeserialize const _callResult = _call(from, to) _continuation(_callResult) } -export function deserializeAndCallCallback_Number_Number_ComputedBarAttribute(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_Number_ComputedBarAttribute(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((index: number, offset: number) => ComputedBarAttribute)) let index: number = (thisDeserializer.readNumber() as number) @@ -523,7 +523,7 @@ export function deserializeAndCallCallback_Number_Number_ComputedBarAttribute(th const _callResult = _call(index, offset) _continuation(_callResult) } -export function deserializeAndCallCallback_Number_Number_Number_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_Number_Number_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((start: number, end: number, center: number) => void)) let start: number = (thisDeserializer.readNumber() as number) @@ -531,7 +531,7 @@ export function deserializeAndCallCallback_Number_Number_Number_Void(thisDeseria let center: number = (thisDeserializer.readNumber() as number) _call(start, end, center) } -export function deserializeAndCallCallback_Number_Number_PanelMode_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_Number_PanelMode_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((width: number, height: number, mode: PanelMode) => void)) let width: number = (thisDeserializer.readNumber() as number) @@ -539,14 +539,14 @@ export function deserializeAndCallCallback_Number_Number_PanelMode_Void(thisDese let mode: PanelMode = (thisDeserializer.readInt32() as PanelMode) _call(width, height, mode) } -export function deserializeAndCallCallback_Number_Number_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_Number_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((first: number, last: number) => void)) let first: number = (thisDeserializer.readNumber() as number) let last: number = (thisDeserializer.readNumber() as number) _call(first, last) } -export function deserializeAndCallCallback_Number_ScrollState_Literal_Number_offsetRemain(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_ScrollState_Literal_Number_offsetRemain(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((offset: number, state: ScrollState) => { offsetRemain: number })) let offset: number = (thisDeserializer.readNumber() as number) @@ -555,21 +555,21 @@ export function deserializeAndCallCallback_Number_ScrollState_Literal_Number_off const _callResult = _call(offset, state) _continuation(_callResult) } -export function deserializeAndCallCallback_Number_SliderChangeMode_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_SliderChangeMode_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: number, mode: SliderChangeMode) => void)) let value: number = (thisDeserializer.readNumber() as number) let mode: SliderChangeMode = (thisDeserializer.readInt32() as SliderChangeMode) _call(value, mode) } -export function deserializeAndCallCallback_Number_String_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_String_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((index: number, value: string) => void)) let index: number = (thisDeserializer.readNumber() as number) let value: string = (thisDeserializer.readString() as string) _call(index, value) } -export function deserializeAndCallCallback_Number_Tuple_Number_Number(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_Tuple_Number_Number(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((index: number) => [ number, number ])) let index: number = (thisDeserializer.readNumber() as number) @@ -577,7 +577,7 @@ export function deserializeAndCallCallback_Number_Tuple_Number_Number(thisDeseri const _callResult = _call(index) _continuation(_callResult) } -export function deserializeAndCallCallback_Number_Tuple_Number_Number_Number_Number(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_Tuple_Number_Number_Number_Number(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((index: number) => [ number, number, number, number ])) let index: number = (thisDeserializer.readNumber() as number) @@ -585,19 +585,19 @@ export function deserializeAndCallCallback_Number_Tuple_Number_Number_Number_Num const _callResult = _call(index) _continuation(_callResult) } -export function deserializeAndCallCallback_Number_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Number_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((index: number) => void)) let index: number = (thisDeserializer.readNumber() as number) _call(index) } -export function deserializeAndCallCallback_OffsetResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OffsetResult_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: OffsetResult) => void)) let value: OffsetResult = thisDeserializer.readOffsetResult() _call(value) } -export function deserializeAndCallCallback_OnAlertEvent_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnAlertEvent_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnAlertEvent) => boolean)) let parameter: OnAlertEvent = thisDeserializer.readOnAlertEvent() @@ -605,13 +605,13 @@ export function deserializeAndCallCallback_OnAlertEvent_Boolean(thisDeserializer const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_OnAudioStateChangedEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnAudioStateChangedEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnAudioStateChangedEvent) => void)) let parameter: OnAudioStateChangedEvent = thisDeserializer.readOnAudioStateChangedEvent() _call(parameter) } -export function deserializeAndCallCallback_OnBeforeUnloadEvent_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnBeforeUnloadEvent_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnBeforeUnloadEvent) => boolean)) let parameter: OnBeforeUnloadEvent = thisDeserializer.readOnBeforeUnloadEvent() @@ -619,13 +619,13 @@ export function deserializeAndCallCallback_OnBeforeUnloadEvent_Boolean(thisDeser const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_OnClientAuthenticationEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnClientAuthenticationEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnClientAuthenticationEvent) => void)) let parameter: OnClientAuthenticationEvent = thisDeserializer.readOnClientAuthenticationEvent() _call(parameter) } -export function deserializeAndCallCallback_OnConfirmEvent_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnConfirmEvent_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnConfirmEvent) => boolean)) let parameter: OnConfirmEvent = thisDeserializer.readOnConfirmEvent() @@ -633,7 +633,7 @@ export function deserializeAndCallCallback_OnConfirmEvent_Boolean(thisDeserializ const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_OnConsoleEvent_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnConsoleEvent_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnConsoleEvent) => boolean)) let parameter: OnConsoleEvent = thisDeserializer.readOnConsoleEvent() @@ -641,7 +641,7 @@ export function deserializeAndCallCallback_OnConsoleEvent_Boolean(thisDeserializ const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_OnContextMenuShowEvent_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnContextMenuShowEvent_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnContextMenuShowEvent) => boolean)) let parameter: OnContextMenuShowEvent = thisDeserializer.readOnContextMenuShowEvent() @@ -649,43 +649,43 @@ export function deserializeAndCallCallback_OnContextMenuShowEvent_Boolean(thisDe const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_OnDataResubmittedEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnDataResubmittedEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnDataResubmittedEvent) => void)) let parameter: OnDataResubmittedEvent = thisDeserializer.readOnDataResubmittedEvent() _call(parameter) } -export function deserializeAndCallCallback_OnDownloadStartEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnDownloadStartEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnDownloadStartEvent) => void)) let parameter: OnDownloadStartEvent = thisDeserializer.readOnDownloadStartEvent() _call(parameter) } -export function deserializeAndCallCallback_OnErrorReceiveEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnErrorReceiveEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnErrorReceiveEvent) => void)) let parameter: OnErrorReceiveEvent = thisDeserializer.readOnErrorReceiveEvent() _call(parameter) } -export function deserializeAndCallCallback_OnFaviconReceivedEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnFaviconReceivedEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnFaviconReceivedEvent) => void)) let parameter: OnFaviconReceivedEvent = thisDeserializer.readOnFaviconReceivedEvent() _call(parameter) } -export function deserializeAndCallCallback_OnFirstContentfulPaintEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnFirstContentfulPaintEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnFirstContentfulPaintEvent) => void)) let parameter: OnFirstContentfulPaintEvent = thisDeserializer.readOnFirstContentfulPaintEvent() _call(parameter) } -export function deserializeAndCallCallback_OnGeolocationShowEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnGeolocationShowEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnGeolocationShowEvent) => void)) let parameter: OnGeolocationShowEvent = thisDeserializer.readOnGeolocationShowEvent() _call(parameter) } -export function deserializeAndCallCallback_OnHttpAuthRequestEvent_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnHttpAuthRequestEvent_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnHttpAuthRequestEvent) => boolean)) let parameter: OnHttpAuthRequestEvent = thisDeserializer.readOnHttpAuthRequestEvent() @@ -693,13 +693,13 @@ export function deserializeAndCallCallback_OnHttpAuthRequestEvent_Boolean(thisDe const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_OnHttpErrorReceiveEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnHttpErrorReceiveEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnHttpErrorReceiveEvent) => void)) let parameter: OnHttpErrorReceiveEvent = thisDeserializer.readOnHttpErrorReceiveEvent() _call(parameter) } -export function deserializeAndCallCallback_OnInterceptRequestEvent_WebResourceResponse(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnInterceptRequestEvent_WebResourceResponse(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnInterceptRequestEvent) => WebResourceResponse)) let parameter: OnInterceptRequestEvent = thisDeserializer.readOnInterceptRequestEvent() @@ -707,7 +707,7 @@ export function deserializeAndCallCallback_OnInterceptRequestEvent_WebResourceRe const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_OnLoadInterceptEvent_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnLoadInterceptEvent_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnLoadInterceptEvent) => boolean)) let parameter: OnLoadInterceptEvent = thisDeserializer.readOnLoadInterceptEvent() @@ -715,43 +715,43 @@ export function deserializeAndCallCallback_OnLoadInterceptEvent_Boolean(thisDese const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_OnOverScrollEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnOverScrollEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnOverScrollEvent) => void)) let parameter: OnOverScrollEvent = thisDeserializer.readOnOverScrollEvent() _call(parameter) } -export function deserializeAndCallCallback_OnPageBeginEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnPageBeginEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnPageBeginEvent) => void)) let parameter: OnPageBeginEvent = thisDeserializer.readOnPageBeginEvent() _call(parameter) } -export function deserializeAndCallCallback_OnPageEndEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnPageEndEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnPageEndEvent) => void)) let parameter: OnPageEndEvent = thisDeserializer.readOnPageEndEvent() _call(parameter) } -export function deserializeAndCallCallback_OnPageVisibleEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnPageVisibleEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnPageVisibleEvent) => void)) let parameter: OnPageVisibleEvent = thisDeserializer.readOnPageVisibleEvent() _call(parameter) } -export function deserializeAndCallCallback_OnPermissionRequestEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnPermissionRequestEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnPermissionRequestEvent) => void)) let parameter: OnPermissionRequestEvent = thisDeserializer.readOnPermissionRequestEvent() _call(parameter) } -export function deserializeAndCallCallback_OnProgressChangeEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnProgressChangeEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnProgressChangeEvent) => void)) let parameter: OnProgressChangeEvent = thisDeserializer.readOnProgressChangeEvent() _call(parameter) } -export function deserializeAndCallCallback_OnPromptEvent_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnPromptEvent_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnPromptEvent) => boolean)) let parameter: OnPromptEvent = thisDeserializer.readOnPromptEvent() @@ -759,55 +759,55 @@ export function deserializeAndCallCallback_OnPromptEvent_Boolean(thisDeserialize const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_OnRefreshAccessedHistoryEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnRefreshAccessedHistoryEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnRefreshAccessedHistoryEvent) => void)) let parameter: OnRefreshAccessedHistoryEvent = thisDeserializer.readOnRefreshAccessedHistoryEvent() _call(parameter) } -export function deserializeAndCallCallback_OnRenderExitedEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnRenderExitedEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnRenderExitedEvent) => void)) let parameter: OnRenderExitedEvent = thisDeserializer.readOnRenderExitedEvent() _call(parameter) } -export function deserializeAndCallCallback_OnResourceLoadEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnResourceLoadEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnResourceLoadEvent) => void)) let parameter: OnResourceLoadEvent = thisDeserializer.readOnResourceLoadEvent() _call(parameter) } -export function deserializeAndCallCallback_OnScaleChangeEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnScaleChangeEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnScaleChangeEvent) => void)) let parameter: OnScaleChangeEvent = thisDeserializer.readOnScaleChangeEvent() _call(parameter) } -export function deserializeAndCallCallback_OnScreenCaptureRequestEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnScreenCaptureRequestEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnScreenCaptureRequestEvent) => void)) let parameter: OnScreenCaptureRequestEvent = thisDeserializer.readOnScreenCaptureRequestEvent() _call(parameter) } -export function deserializeAndCallCallback_OnScrollEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnScrollEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnScrollEvent) => void)) let parameter: OnScrollEvent = thisDeserializer.readOnScrollEvent() _call(parameter) } -export function deserializeAndCallCallback_OnScrollFrameBeginHandlerResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnScrollFrameBeginHandlerResult_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: OnScrollFrameBeginHandlerResult) => void)) let value: OnScrollFrameBeginHandlerResult = thisDeserializer.readOnScrollFrameBeginHandlerResult() _call(value) } -export function deserializeAndCallCallback_OnSearchResultReceiveEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnSearchResultReceiveEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnSearchResultReceiveEvent) => void)) let parameter: OnSearchResultReceiveEvent = thisDeserializer.readOnSearchResultReceiveEvent() _call(parameter) } -export function deserializeAndCallCallback_OnShowFileSelectorEvent_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnShowFileSelectorEvent_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnShowFileSelectorEvent) => boolean)) let parameter: OnShowFileSelectorEvent = thisDeserializer.readOnShowFileSelectorEvent() @@ -815,31 +815,31 @@ export function deserializeAndCallCallback_OnShowFileSelectorEvent_Boolean(thisD const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_OnSslErrorEventReceiveEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnSslErrorEventReceiveEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnSslErrorEventReceiveEvent) => void)) let parameter: OnSslErrorEventReceiveEvent = thisDeserializer.readOnSslErrorEventReceiveEvent() _call(parameter) } -export function deserializeAndCallCallback_OnTitleReceiveEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnTitleReceiveEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnTitleReceiveEvent) => void)) let parameter: OnTitleReceiveEvent = thisDeserializer.readOnTitleReceiveEvent() _call(parameter) } -export function deserializeAndCallCallback_OnTouchIconUrlReceivedEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnTouchIconUrlReceivedEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnTouchIconUrlReceivedEvent) => void)) let parameter: OnTouchIconUrlReceivedEvent = thisDeserializer.readOnTouchIconUrlReceivedEvent() _call(parameter) } -export function deserializeAndCallCallback_OnWindowNewEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_OnWindowNewEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: OnWindowNewEvent) => void)) let parameter: OnWindowNewEvent = thisDeserializer.readOnWindowNewEvent() _call(parameter) } -export function deserializeAndCallCallback_Opt_Array_String_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Opt_Array_String_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((error?: Array | undefined) => void)) const error_buf_runtimeType = (thisDeserializer.readInt8() as int32) @@ -856,7 +856,7 @@ export function deserializeAndCallCallback_Opt_Array_String_Void(thisDeserialize let error: Array | undefined|undefined = error_buf _call(error) } -export function deserializeAndCallCallback_Opt_NavigationAnimatedTransition_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Opt_NavigationAnimatedTransition_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: NavigationAnimatedTransition | undefined) => void)) const value_buf_runtimeType = (thisDeserializer.readInt8() as int32) @@ -868,7 +868,7 @@ export function deserializeAndCallCallback_Opt_NavigationAnimatedTransition_Void let value: NavigationAnimatedTransition | undefined|undefined = value_buf _call(value) } -export function deserializeAndCallCallback_Opt_StyledString_Opt_Array_String_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Opt_StyledString_Opt_Array_String_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value?: StyledString | undefined, error?: Array | undefined) => void)) const value_buf_runtimeType = (thisDeserializer.readInt8() as int32) @@ -892,7 +892,7 @@ export function deserializeAndCallCallback_Opt_StyledString_Opt_Array_String_Voi let error: Array | undefined|undefined = error_buf _call(value, error) } -export function deserializeAndCallCallback_Opt_TabContentAnimatedTransition_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Opt_TabContentAnimatedTransition_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: TabContentAnimatedTransition | undefined) => void)) const value_buf_runtimeType = (thisDeserializer.readInt8() as int32) @@ -904,43 +904,43 @@ export function deserializeAndCallCallback_Opt_TabContentAnimatedTransition_Void let value: TabContentAnimatedTransition | undefined|undefined = value_buf _call(value) } -export function deserializeAndCallCallback_PanelMode_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_PanelMode_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((mode: PanelMode) => void)) let mode: PanelMode = (thisDeserializer.readInt32() as PanelMode) _call(mode) } -export function deserializeAndCallCallback_PlaybackInfo_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_PlaybackInfo_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: PlaybackInfo) => void)) let parameter: PlaybackInfo = thisDeserializer.readPlaybackInfo() _call(parameter) } -export function deserializeAndCallCallback_Pointer_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Pointer_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: KPointer) => void)) let value: KPointer = thisDeserializer.readPointer() _call(value) } -export function deserializeAndCallCallback_PopInfo_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_PopInfo_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: PopInfo) => void)) let parameter: PopInfo = thisDeserializer.readPopInfo() _call(parameter) } -export function deserializeAndCallCallback_PreDragStatus_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_PreDragStatus_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: PreDragStatus) => void)) let parameter: PreDragStatus = (thisDeserializer.readInt32() as PreDragStatus) _call(parameter) } -export function deserializeAndCallCallback_PreparedInfo_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_PreparedInfo_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: PreparedInfo) => void)) let parameter: PreparedInfo = thisDeserializer.readPreparedInfo() _call(parameter) } -export function deserializeAndCallCallback_RangeUpdate(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_RangeUpdate(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as Callback_RangeUpdate) let index: int32 = thisDeserializer.readInt32() @@ -948,13 +948,13 @@ export function deserializeAndCallCallback_RangeUpdate(thisDeserializer: Deseria let end: int32 = thisDeserializer.readInt32() _call(index, mark, end) } -export function deserializeAndCallCallback_RefreshStatus_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_RefreshStatus_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((state: RefreshStatus) => void)) let state: RefreshStatus = (thisDeserializer.readInt32() as RefreshStatus) _call(state) } -export function deserializeAndCallCallback_ResourceStr_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_ResourceStr_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: ResourceStr) => void)) const value_buf_selector: number = thisDeserializer.readInt8() @@ -971,7 +971,7 @@ export function deserializeAndCallCallback_ResourceStr_Void(thisDeserializer: De let value: ResourceStr = (value_buf as string | Resource) _call(value) } -export function deserializeAndCallCallback_RichEditorChangeValue_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_RichEditorChangeValue_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: RichEditorChangeValue) => boolean)) let parameter: RichEditorChangeValue = thisDeserializer.readRichEditorChangeValue() @@ -979,7 +979,7 @@ export function deserializeAndCallCallback_RichEditorChangeValue_Boolean(thisDes const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_RichEditorDeleteValue_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_RichEditorDeleteValue_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: RichEditorDeleteValue) => boolean)) let parameter: RichEditorDeleteValue = thisDeserializer.readRichEditorDeleteValue() @@ -987,7 +987,7 @@ export function deserializeAndCallCallback_RichEditorDeleteValue_Boolean(thisDes const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_RichEditorInsertValue_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_RichEditorInsertValue_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: RichEditorInsertValue) => boolean)) let parameter: RichEditorInsertValue = thisDeserializer.readRichEditorInsertValue() @@ -995,70 +995,70 @@ export function deserializeAndCallCallback_RichEditorInsertValue_Boolean(thisDes const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_RichEditorRange_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_RichEditorRange_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: RichEditorRange) => void)) let parameter: RichEditorRange = thisDeserializer.readRichEditorRange() _call(parameter) } -export function deserializeAndCallCallback_RichEditorSelection_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_RichEditorSelection_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: RichEditorSelection) => void)) let parameter: RichEditorSelection = thisDeserializer.readRichEditorSelection() _call(parameter) } -export function deserializeAndCallCallback_RichEditorTextSpanResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_RichEditorTextSpanResult_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: RichEditorTextSpanResult) => void)) let parameter: RichEditorTextSpanResult = thisDeserializer.readRichEditorTextSpanResult() _call(parameter) } -export function deserializeAndCallCallback_SheetDismiss_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_SheetDismiss_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((sheetDismiss: SheetDismiss) => void)) let sheetDismiss: SheetDismiss = thisDeserializer.readSheetDismiss() _call(sheetDismiss) } -export function deserializeAndCallCallback_SheetType_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_SheetType_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: SheetType) => void)) let parameter: SheetType = (thisDeserializer.readInt32() as SheetType) _call(parameter) } -export function deserializeAndCallCallback_SpringBackAction_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_SpringBackAction_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: SpringBackAction) => void)) let parameter: SpringBackAction = thisDeserializer.readSpringBackAction() _call(parameter) } -export function deserializeAndCallCallback_String_Number_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_String_Number_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: string, index: number) => void)) let value: string = (thisDeserializer.readString() as string) let index: number = (thisDeserializer.readNumber() as number) _call(value, index) } -export function deserializeAndCallCallback_String_PasteEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_String_PasteEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: string, event: PasteEvent) => void)) let value: string = (thisDeserializer.readString() as string) let event: PasteEvent = thisDeserializer.readPasteEvent() _call(value, event) } -export function deserializeAndCallCallback_String_Unknown_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_String_Unknown_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((name: string, param: unknown) => void)) let name: string = (thisDeserializer.readString() as string) let param: unknown = (thisDeserializer.readCustomObject("Any") as Object) _call(name, param) } -export function deserializeAndCallCallback_String_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_String_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((breakpoints: string) => void)) let breakpoints: string = (thisDeserializer.readString() as string) _call(breakpoints) } -export function deserializeAndCallCallback_StyledStringChangeValue_Boolean(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_StyledStringChangeValue_Boolean(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: StyledStringChangeValue) => boolean)) let parameter: StyledStringChangeValue = thisDeserializer.readStyledStringChangeValue() @@ -1066,49 +1066,49 @@ export function deserializeAndCallCallback_StyledStringChangeValue_Boolean(thisD const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_SwipeActionState_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_SwipeActionState_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((state: SwipeActionState) => void)) let state: SwipeActionState = (thisDeserializer.readInt32() as SwipeActionState) _call(state) } -export function deserializeAndCallCallback_SwiperContentTransitionProxy_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_SwiperContentTransitionProxy_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: SwiperContentTransitionProxy) => void)) let parameter: SwiperContentTransitionProxy = (thisDeserializer.readSwiperContentTransitionProxy() as SwiperContentTransitionProxy) _call(parameter) } -export function deserializeAndCallCallback_TabContentTransitionProxy_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_TabContentTransitionProxy_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: TabContentTransitionProxy) => void)) let parameter: TabContentTransitionProxy = (thisDeserializer.readTabContentTransitionProxy() as TabContentTransitionProxy) _call(parameter) } -export function deserializeAndCallCallback_TerminationInfo_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_TerminationInfo_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: TerminationInfo) => void)) let parameter: TerminationInfo = thisDeserializer.readTerminationInfo() _call(parameter) } -export function deserializeAndCallCallback_TextPickerResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_TextPickerResult_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: TextPickerResult) => void)) let value: TextPickerResult = thisDeserializer.readTextPickerResult() _call(value) } -export function deserializeAndCallCallback_TextRange_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_TextRange_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: TextRange) => void)) let parameter: TextRange = thisDeserializer.readTextRange() _call(parameter) } -export function deserializeAndCallCallback_TimePickerResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_TimePickerResult_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: TimePickerResult) => void)) let value: TimePickerResult = thisDeserializer.readTimePickerResult() _call(value) } -export function deserializeAndCallCallback_TouchEvent_HitTestMode(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_TouchEvent_HitTestMode(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: TouchEvent) => HitTestMode)) let parameter: TouchEvent = (thisDeserializer.readTouchEvent() as TouchEvent) @@ -1116,19 +1116,19 @@ export function deserializeAndCallCallback_TouchEvent_HitTestMode(thisDeserializ const _callResult = _call(parameter) _continuation(_callResult) } -export function deserializeAndCallCallback_TouchEvent_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_TouchEvent_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event: TouchEvent) => void)) let event: TouchEvent = (thisDeserializer.readTouchEvent() as TouchEvent) _call(event) } -export function deserializeAndCallCallback_TouchResult_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_TouchResult_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: TouchResult) => void)) let value: TouchResult = thisDeserializer.readTouchResult() _call(value) } -export function deserializeAndCallCallback_Tuple_Number_Number_Number_Number_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Tuple_Number_Number_Number_Number_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: [ number, number, number, number ]) => void)) const value_buf_value0: number = (thisDeserializer.readNumber() as number) @@ -1138,7 +1138,7 @@ export function deserializeAndCallCallback_Tuple_Number_Number_Number_Number_Voi let value: [ number, number, number, number ] = ([value_buf_value0, value_buf_value1, value_buf_value2, value_buf_value3] as [ number, number, number, number ]) _call(value) } -export function deserializeAndCallCallback_Tuple_Number_Number_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Tuple_Number_Number_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: [ number, number ]) => void)) const value_buf_value0: number = (thisDeserializer.readNumber() as number) @@ -1146,7 +1146,7 @@ export function deserializeAndCallCallback_Tuple_Number_Number_Void(thisDeserial let value: [ number, number ] = ([value_buf_value0, value_buf_value1] as [ number, number ]) _call(value) } -export function deserializeAndCallCallback_Type_ImageAttribute_onComplete_callback_event_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Type_ImageAttribute_onComplete_callback_event_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: { width: number, height: number, componentWidth: number, componentHeight: number, loadingStatus: number, contentWidth: number, contentHeight: number, contentOffsetX: number, contentOffsetY: number }) => void)) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) @@ -1167,13 +1167,13 @@ export function deserializeAndCallCallback_Type_ImageAttribute_onComplete_callba let event: { width: number, height: number, componentWidth: number, componentHeight: number, loadingStatus: number, contentWidth: number, contentHeight: number, contentOffsetX: number, contentOffsetY: number } | undefined|undefined = event_buf _call(event) } -export function deserializeAndCallCallback_UIExtensionProxy_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_UIExtensionProxy_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parameter: UIExtensionProxy) => void)) let parameter: UIExtensionProxy = (thisDeserializer.readUIExtensionProxy() as UIExtensionProxy) _call(parameter) } -export function deserializeAndCallCallback_Union_CustomBuilder_DragItemInfo_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Union_CustomBuilder_DragItemInfo_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: CustomBuilder | DragItemInfo) => void)) const value_buf_selector: number = thisDeserializer.readInt8() @@ -1190,7 +1190,7 @@ export function deserializeAndCallCallback_Union_CustomBuilder_DragItemInfo_Void let value: CustomBuilder | DragItemInfo = (value_buf as CustomBuilder | DragItemInfo) _call(value) } -export function deserializeAndCallCallback_Union_Number_Array_Number_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Union_Number_Array_Number_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((selected: number | Array) => void)) const selected_buf_selector: number = thisDeserializer.readInt8() @@ -1212,7 +1212,7 @@ export function deserializeAndCallCallback_Union_Number_Array_Number_Void(thisDe let selected: number | Array = (selected_buf as number | Array) _call(selected) } -export function deserializeAndCallCallback_Union_Number_Resource_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Union_Number_Resource_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((selected: number | Resource) => void)) const selected_buf_selector: number = thisDeserializer.readInt8() @@ -1229,7 +1229,7 @@ export function deserializeAndCallCallback_Union_Number_Resource_Void(thisDeseri let selected: number | Resource = (selected_buf as number | Resource) _call(selected) } -export function deserializeAndCallCallback_Union_String_Array_String_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Union_String_Array_String_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: string | Array) => void)) const value_buf_selector: number = thisDeserializer.readInt8() @@ -1251,30 +1251,30 @@ export function deserializeAndCallCallback_Union_String_Array_String_Void(thisDe let value: string | Array = (value_buf as string | Array) _call(value) } -export function deserializeAndCallCallback_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as (() => void)) _call() } -export function deserializeAndCallCallback_WebKeyboardOptions_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_WebKeyboardOptions_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: WebKeyboardOptions) => void)) let value: WebKeyboardOptions = thisDeserializer.readWebKeyboardOptions() _call(value) } -export function deserializeAndCallCallback_WebResourceResponse_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_WebResourceResponse_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: WebResourceResponse) => void)) let value: WebResourceResponse = (thisDeserializer.readWebResourceResponse() as WebResourceResponse) _call(value) } -export function deserializeAndCallCallback_WithThemeAttribute_Void(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback_WithThemeAttribute_Void(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: WithThemeAttribute) => void)) let value: WithThemeAttribute = thisDeserializer.readWithThemeAttribute() _call(value) } -export function deserializeAndCallContentDidScrollCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallContentDidScrollCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ContentDidScrollCallback) let selectedIndex: number = (thisDeserializer.readNumber() as number) @@ -1283,7 +1283,7 @@ export function deserializeAndCallContentDidScrollCallback(thisDeserializer: Des let mainAxisLength: number = (thisDeserializer.readNumber() as number) _call(selectedIndex, index, position, mainAxisLength) } -export function deserializeAndCallCustomNodeBuilder(thisDeserializer: Deserializer) { +export function deserializeAndCallCustomNodeBuilder(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((parentNode: KPointer) => KPointer)) let parentNode: KPointer = thisDeserializer.readPointer() @@ -1291,7 +1291,7 @@ export function deserializeAndCallCustomNodeBuilder(thisDeserializer: Deserializ const _callResult = _call(parentNode) _continuation(_callResult) } -export function deserializeAndCallEditableTextOnChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallEditableTextOnChangeCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as EditableTextOnChangeCallback) let value: string = (thisDeserializer.readString() as string) @@ -1304,7 +1304,7 @@ export function deserializeAndCallEditableTextOnChangeCallback(thisDeserializer: let previewText: PreviewText | undefined|undefined = previewText_buf _call(value, previewText) } -export function deserializeAndCallGestureRecognizerJudgeBeginCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallGestureRecognizerJudgeBeginCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as GestureRecognizerJudgeBeginCallback) let event: BaseGestureEvent = (thisDeserializer.readBaseGestureEvent() as BaseGestureEvent) @@ -1319,7 +1319,7 @@ export function deserializeAndCallGestureRecognizerJudgeBeginCallback(thisDeseri const _callResult = _call(event, current, recognizers) _continuation(_callResult) } -export function deserializeAndCallGetItemMainSizeByIndex(thisDeserializer: Deserializer) { +export function deserializeAndCallGetItemMainSizeByIndex(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as GetItemMainSizeByIndex) let index: number = (thisDeserializer.readNumber() as number) @@ -1327,32 +1327,32 @@ export function deserializeAndCallGetItemMainSizeByIndex(thisDeserializer: Deser const _callResult = _call(index) _continuation(_callResult) } -export function deserializeAndCallHoverCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallHoverCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as HoverCallback) let isHover: boolean = thisDeserializer.readBoolean() let event: HoverEvent = (thisDeserializer.readHoverEvent() as HoverEvent) _call(isHover, event) } -export function deserializeAndCallImageCompleteCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallImageCompleteCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ImageCompleteCallback) let result: ImageLoadResult = thisDeserializer.readImageLoadResult() _call(result) } -export function deserializeAndCallImageErrorCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallImageErrorCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ImageErrorCallback) let error: ImageError = thisDeserializer.readImageError() _call(error) } -export function deserializeAndCallInterceptionModeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallInterceptionModeCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as InterceptionModeCallback) let mode: NavigationMode = (thisDeserializer.readInt32() as NavigationMode) _call(mode) } -export function deserializeAndCallInterceptionShowCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallInterceptionShowCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as InterceptionShowCallback) const from_buf_selector: number = thisDeserializer.readInt8() @@ -1383,7 +1383,7 @@ export function deserializeAndCallInterceptionShowCallback(thisDeserializer: Des let isAnimated: boolean = thisDeserializer.readBoolean() _call(from, to, operation, isAnimated) } -export function deserializeAndCallIsolatedComponentInterface(thisDeserializer: Deserializer) { +export function deserializeAndCallIsolatedComponentInterface(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as IsolatedComponentInterface) let options: IsolatedOptions = thisDeserializer.readIsolatedOptions() @@ -1391,32 +1391,32 @@ export function deserializeAndCallIsolatedComponentInterface(thisDeserializer: D const _callResult = _call(options) _continuation(_callResult) } -export function deserializeAndCallMenuOnAppearCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallMenuOnAppearCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as MenuOnAppearCallback) let start: number = (thisDeserializer.readNumber() as number) let end: number = (thisDeserializer.readNumber() as number) _call(start, end) } -export function deserializeAndCallNavExtender_OnUpdateStack(thisDeserializer: Deserializer) { +export function deserializeAndCallNavExtender_OnUpdateStack(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as NavExtender_OnUpdateStack) let value: string = (thisDeserializer.readString() as string) _call(value) } -export function deserializeAndCallOnAdsBlockedCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnAdsBlockedCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnAdsBlockedCallback) let details: AdsBlockedDetails = thisDeserializer.readAdsBlockedDetails() _call(details) } -export function deserializeAndCallOnAlphabetIndexerPopupSelectCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnAlphabetIndexerPopupSelectCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnAlphabetIndexerPopupSelectCallback) let index: number = (thisDeserializer.readNumber() as number) _call(index) } -export function deserializeAndCallOnAlphabetIndexerRequestPopupDataCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnAlphabetIndexerRequestPopupDataCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnAlphabetIndexerRequestPopupDataCallback) let index: number = (thisDeserializer.readNumber() as number) @@ -1424,100 +1424,100 @@ export function deserializeAndCallOnAlphabetIndexerRequestPopupDataCallback(this const _callResult = _call(index) _continuation(_callResult) } -export function deserializeAndCallOnAlphabetIndexerSelectCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnAlphabetIndexerSelectCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnAlphabetIndexerSelectCallback) let index: number = (thisDeserializer.readNumber() as number) _call(index) } -export function deserializeAndCallOnCheckboxChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnCheckboxChangeCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnCheckboxChangeCallback) let value: boolean = thisDeserializer.readBoolean() _call(value) } -export function deserializeAndCallOnCheckboxGroupChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnCheckboxGroupChangeCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnCheckboxGroupChangeCallback) let value: CheckboxGroupResult = thisDeserializer.readCheckboxGroupResult() _call(value) } -export function deserializeAndCallOnContentScrollCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnContentScrollCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnContentScrollCallback) let totalOffsetX: number = (thisDeserializer.readNumber() as number) let totalOffsetY: number = (thisDeserializer.readNumber() as number) _call(totalOffsetX, totalOffsetY) } -export function deserializeAndCallOnContextMenuHideCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnContextMenuHideCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnContextMenuHideCallback) _call() } -export function deserializeAndCallOnDidChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnDidChangeCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnDidChangeCallback) let rangeBefore: TextRange = thisDeserializer.readTextRange() let rangeAfter: TextRange = thisDeserializer.readTextRange() _call(rangeBefore, rangeAfter) } -export function deserializeAndCallOnFirstMeaningfulPaintCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnFirstMeaningfulPaintCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnFirstMeaningfulPaintCallback) let firstMeaningfulPaint: FirstMeaningfulPaint = thisDeserializer.readFirstMeaningfulPaint() _call(firstMeaningfulPaint) } -export function deserializeAndCallOnFoldStatusChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnFoldStatusChangeCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnFoldStatusChangeCallback) let event: OnFoldStatusChangeInfo = thisDeserializer.readOnFoldStatusChangeInfo() _call(event) } -export function deserializeAndCallOnFullScreenEnterCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnFullScreenEnterCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnFullScreenEnterCallback) let event: FullScreenEnterEvent = thisDeserializer.readFullScreenEnterEvent() _call(event) } -export function deserializeAndCallOnHoverStatusChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnHoverStatusChangeCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnHoverStatusChangeCallback) let param: HoverEventParam = thisDeserializer.readHoverEventParam() _call(param) } -export function deserializeAndCallOnIntelligentTrackingPreventionCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnIntelligentTrackingPreventionCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnIntelligentTrackingPreventionCallback) let details: IntelligentTrackingPreventionDetails = thisDeserializer.readIntelligentTrackingPreventionDetails() _call(details) } -export function deserializeAndCallOnLargestContentfulPaintCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnLargestContentfulPaintCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnLargestContentfulPaintCallback) let largestContentfulPaint: LargestContentfulPaint = thisDeserializer.readLargestContentfulPaint() _call(largestContentfulPaint) } -export function deserializeAndCallOnLinearIndicatorChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnLinearIndicatorChangeCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnLinearIndicatorChangeCallback) let index: number = (thisDeserializer.readNumber() as number) let progress: number = (thisDeserializer.readNumber() as number) _call(index, progress) } -export function deserializeAndCallOnMoveHandler(thisDeserializer: Deserializer) { +export function deserializeAndCallOnMoveHandler(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnMoveHandler) let from: number = (thisDeserializer.readNumber() as number) let to: number = (thisDeserializer.readNumber() as number) _call(from, to) } -export function deserializeAndCallOnNativeEmbedVisibilityChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnNativeEmbedVisibilityChangeCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnNativeEmbedVisibilityChangeCallback) let nativeEmbedVisibilityInfo: NativeEmbedVisibilityInfo = thisDeserializer.readNativeEmbedVisibilityInfo() _call(nativeEmbedVisibilityInfo) } -export function deserializeAndCallOnNativeLoadCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnNativeLoadCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnNativeLoadCallback) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) @@ -1529,13 +1529,13 @@ export function deserializeAndCallOnNativeLoadCallback(thisDeserializer: Deseria let event: Object | undefined|undefined = event_buf _call(event) } -export function deserializeAndCallOnNavigationEntryCommittedCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnNavigationEntryCommittedCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnNavigationEntryCommittedCallback) let loadCommittedDetails: LoadCommittedDetails = thisDeserializer.readLoadCommittedDetails() _call(loadCommittedDetails) } -export function deserializeAndCallOnOverrideUrlLoadingCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnOverrideUrlLoadingCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnOverrideUrlLoadingCallback) let webResourceRequest: WebResourceRequest = (thisDeserializer.readWebResourceRequest() as WebResourceRequest) @@ -1543,44 +1543,44 @@ export function deserializeAndCallOnOverrideUrlLoadingCallback(thisDeserializer: const _callResult = _call(webResourceRequest) _continuation(_callResult) } -export function deserializeAndCallOnPasteCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnPasteCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnPasteCallback) let content: string = (thisDeserializer.readString() as string) let event: PasteEvent = thisDeserializer.readPasteEvent() _call(content, event) } -export function deserializeAndCallOnRenderProcessNotRespondingCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnRenderProcessNotRespondingCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnRenderProcessNotRespondingCallback) let data: RenderProcessNotRespondingData = thisDeserializer.readRenderProcessNotRespondingData() _call(data) } -export function deserializeAndCallOnRenderProcessRespondingCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnRenderProcessRespondingCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnRenderProcessRespondingCallback) _call() } -export function deserializeAndCallOnSafeBrowsingCheckResultCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnSafeBrowsingCheckResultCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnSafeBrowsingCheckResultCallback) let threatType: ThreatType = (thisDeserializer.readInt32() as ThreatType) _call(threatType) } -export function deserializeAndCallOnScrollCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnScrollCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnScrollCallback) let scrollOffset: number = (thisDeserializer.readNumber() as number) let scrollState: ScrollState = (thisDeserializer.readInt32() as ScrollState) _call(scrollOffset, scrollState) } -export function deserializeAndCallOnScrollEdgeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnScrollEdgeCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnScrollEdgeCallback) let side: Edge = (thisDeserializer.readInt32() as Edge) _call(side) } -export function deserializeAndCallOnScrollFrameBeginCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnScrollFrameBeginCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnScrollFrameBeginCallback) let offset: number = (thisDeserializer.readNumber() as number) @@ -1589,34 +1589,34 @@ export function deserializeAndCallOnScrollFrameBeginCallback(thisDeserializer: D const _callResult = _call(offset, state) _continuation(_callResult) } -export function deserializeAndCallOnScrollVisibleContentChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnScrollVisibleContentChangeCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnScrollVisibleContentChangeCallback) let start: VisibleListContentInfo = thisDeserializer.readVisibleListContentInfo() let end: VisibleListContentInfo = thisDeserializer.readVisibleListContentInfo() _call(start, end) } -export function deserializeAndCallOnSslErrorEventCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnSslErrorEventCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnSslErrorEventCallback) let sslErrorEvent: SslErrorEvent = thisDeserializer.readSslErrorEvent() _call(sslErrorEvent) } -export function deserializeAndCallOnSubmitCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnSubmitCallback(thisDeserializer: Deserializer): void { 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() as SubmitEvent) _call(enterKey, event) } -export function deserializeAndCallOnSwiperAnimationEndCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnSwiperAnimationEndCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnSwiperAnimationEndCallback) let index: number = (thisDeserializer.readNumber() as number) let extraInfo: SwiperAnimationEvent = thisDeserializer.readSwiperAnimationEvent() _call(index, extraInfo) } -export function deserializeAndCallOnSwiperAnimationStartCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnSwiperAnimationStartCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnSwiperAnimationStartCallback) let index: number = (thisDeserializer.readNumber() as number) @@ -1624,21 +1624,21 @@ export function deserializeAndCallOnSwiperAnimationStartCallback(thisDeserialize let extraInfo: SwiperAnimationEvent = thisDeserializer.readSwiperAnimationEvent() _call(index, targetIndex, extraInfo) } -export function deserializeAndCallOnSwiperGestureSwipeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnSwiperGestureSwipeCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnSwiperGestureSwipeCallback) let index: number = (thisDeserializer.readNumber() as number) let extraInfo: SwiperAnimationEvent = thisDeserializer.readSwiperAnimationEvent() _call(index, extraInfo) } -export function deserializeAndCallOnTabsAnimationEndCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnTabsAnimationEndCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnTabsAnimationEndCallback) let index: number = (thisDeserializer.readNumber() as number) let extraInfo: TabsAnimationEvent = thisDeserializer.readTabsAnimationEvent() _call(index, extraInfo) } -export function deserializeAndCallOnTabsAnimationStartCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnTabsAnimationStartCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnTabsAnimationStartCallback) let index: number = (thisDeserializer.readNumber() as number) @@ -1646,7 +1646,7 @@ export function deserializeAndCallOnTabsAnimationStartCallback(thisDeserializer: let extraInfo: TabsAnimationEvent = thisDeserializer.readTabsAnimationEvent() _call(index, targetIndex, extraInfo) } -export function deserializeAndCallOnTabsContentWillChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnTabsContentWillChangeCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnTabsContentWillChangeCallback) let currentIndex: number = (thisDeserializer.readNumber() as number) @@ -1655,34 +1655,34 @@ export function deserializeAndCallOnTabsContentWillChangeCallback(thisDeserializ const _callResult = _call(currentIndex, comingIndex) _continuation(_callResult) } -export function deserializeAndCallOnTabsGestureSwipeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnTabsGestureSwipeCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnTabsGestureSwipeCallback) let index: number = (thisDeserializer.readNumber() as number) let extraInfo: TabsAnimationEvent = thisDeserializer.readTabsAnimationEvent() _call(index, extraInfo) } -export function deserializeAndCallOnTextSelectionChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnTextSelectionChangeCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnTextSelectionChangeCallback) let selectionStart: number = (thisDeserializer.readNumber() as number) let selectionEnd: number = (thisDeserializer.readNumber() as number) _call(selectionStart, selectionEnd) } -export function deserializeAndCallOnViewportFitChangedCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallOnViewportFitChangedCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as OnViewportFitChangedCallback) let viewportFit: ViewportFit = (thisDeserializer.readInt32() as ViewportFit) _call(viewportFit) } -export function deserializeAndCallPageTransitionCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallPageTransitionCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as PageTransitionCallback) let type: RouteType = (thisDeserializer.readInt32() as RouteType) let progress: number = (thisDeserializer.readNumber() as number) _call(type, progress) } -export function deserializeAndCallPasteEventCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallPasteEventCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as PasteEventCallback) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) @@ -1694,13 +1694,13 @@ export function deserializeAndCallPasteEventCallback(thisDeserializer: Deseriali let event: PasteEvent | undefined|undefined = event_buf _call(event) } -export function deserializeAndCallPluginErrorCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallPluginErrorCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as PluginErrorCallback) let info: PluginErrorData = thisDeserializer.readPluginErrorData() _call(info) } -export function deserializeAndCallScrollOnScrollCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallScrollOnScrollCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ScrollOnScrollCallback) let xOffset: number = (thisDeserializer.readNumber() as number) @@ -1708,7 +1708,7 @@ export function deserializeAndCallScrollOnScrollCallback(thisDeserializer: Deser let scrollState: ScrollState = (thisDeserializer.readInt32() as ScrollState) _call(xOffset, yOffset, scrollState) } -export function deserializeAndCallScrollOnWillScrollCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallScrollOnWillScrollCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ScrollOnWillScrollCallback) let xOffset: number = (thisDeserializer.readNumber() as number) @@ -1719,7 +1719,7 @@ export function deserializeAndCallScrollOnWillScrollCallback(thisDeserializer: D const _callResult = _call(xOffset, yOffset, scrollState, scrollSource) _continuation(_callResult) } -export function deserializeAndCallSearchSubmitCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallSearchSubmitCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as SearchSubmitCallback) let searchContent: string = (thisDeserializer.readString() as string) @@ -1732,7 +1732,7 @@ export function deserializeAndCallSearchSubmitCallback(thisDeserializer: Deseria let event: SubmitEvent | undefined|undefined = event_buf _call(searchContent, event) } -export function deserializeAndCallShouldBuiltInRecognizerParallelWithCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallShouldBuiltInRecognizerParallelWithCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ShouldBuiltInRecognizerParallelWithCallback) let current: GestureRecognizer = (thisDeserializer.readGestureRecognizer() as GestureRecognizer) @@ -1746,28 +1746,28 @@ export function deserializeAndCallShouldBuiltInRecognizerParallelWithCallback(th const _callResult = _call(current, others) _continuation(_callResult) } -export function deserializeAndCallSizeChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallSizeChangeCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as SizeChangeCallback) let oldValue: SizeOptions = thisDeserializer.readSizeOptions() let newValue: SizeOptions = thisDeserializer.readSizeOptions() _call(oldValue, newValue) } -export function deserializeAndCallSliderTriggerChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallSliderTriggerChangeCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as SliderTriggerChangeCallback) let value: number = (thisDeserializer.readNumber() as number) let mode: SliderChangeMode = (thisDeserializer.readInt32() as SliderChangeMode) _call(value, mode) } -export function deserializeAndCallSubmitCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallSubmitCallback(thisDeserializer: Deserializer): void { 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() as SubmitEvent) _call(enterKey, event) } -export function deserializeAndCallTabsCustomContentTransitionCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallTabsCustomContentTransitionCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as TabsCustomContentTransitionCallback) let from: number = (thisDeserializer.readNumber() as number) @@ -1776,7 +1776,7 @@ export function deserializeAndCallTabsCustomContentTransitionCallback(thisDeseri const _callResult = _call(from, to) _continuation(_callResult) } -export function deserializeAndCallTextAreaSubmitCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallTextAreaSubmitCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as TextAreaSubmitCallback) let enterKeyType: EnterKeyType = (thisDeserializer.readInt32() as EnterKeyType) @@ -1789,13 +1789,13 @@ export function deserializeAndCallTextAreaSubmitCallback(thisDeserializer: Deser let event: SubmitEvent | undefined|undefined = event_buf _call(enterKeyType, event) } -export function deserializeAndCallTransitionFinishCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallTransitionFinishCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as TransitionFinishCallback) let transitionIn: boolean = thisDeserializer.readBoolean() _call(transitionIn) } -export function deserializeAndCallType_NavigationAttribute_customNavContentTransition_delegate(thisDeserializer: Deserializer) { +export function deserializeAndCallType_NavigationAttribute_customNavContentTransition_delegate(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((from: NavContentInfo, to: NavContentInfo, operation: NavigationOperation) => NavigationAnimatedTransition | undefined)) let from: NavContentInfo = thisDeserializer.readNavContentInfo() @@ -1805,7 +1805,7 @@ export function deserializeAndCallType_NavigationAttribute_customNavContentTrans const _callResult = _call(from, to, operation) _continuation(_callResult) } -export function deserializeAndCallType_TextPickerAttribute_onChange_callback(thisDeserializer: Deserializer) { +export function deserializeAndCallType_TextPickerAttribute_onChange_callback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((value: string | Array, index: number | Array) => void)) const value_buf_selector: number = thisDeserializer.readInt8() @@ -1844,7 +1844,7 @@ 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) { +export function deserializeAndCallType_WebAttribute_onFileSelectorShow_callback(thisDeserializer: Deserializer): void { 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) @@ -1858,7 +1858,7 @@ export function deserializeAndCallType_WebAttribute_onFileSelectorShow_callback( let event: { callback_: Function, fileSelector: Object } | undefined|undefined = event_buf _call(event) } -export function deserializeAndCallType_WebAttribute_onUrlLoadIntercept_callback(thisDeserializer: Deserializer) { +export function deserializeAndCallType_WebAttribute_onUrlLoadIntercept_callback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as ((event?: { data: string | WebResourceRequest }) => boolean)) const event_buf_runtimeType = (thisDeserializer.readInt8() as int32) @@ -1884,19 +1884,19 @@ export function deserializeAndCallType_WebAttribute_onUrlLoadIntercept_callback( const _callResult = _call(event) _continuation(_callResult) } -export function deserializeAndCallVisibleAreaChangeCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallVisibleAreaChangeCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as VisibleAreaChangeCallback) let isExpanding: boolean = thisDeserializer.readBoolean() let currentRatio: number = (thisDeserializer.readNumber() as number) _call(isExpanding, currentRatio) } -export function deserializeAndCallVoidCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallVoidCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as VoidCallback) _call() } -export function deserializeAndCallWebKeyboardCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallWebKeyboardCallback(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as WebKeyboardCallback) let keyboardCallbackInfo: WebKeyboardCallbackInfo = thisDeserializer.readWebKeyboardCallbackInfo() @@ -1904,7 +1904,7 @@ export function deserializeAndCallWebKeyboardCallback(thisDeserializer: Deserial const _callResult = _call(keyboardCallbackInfo) _continuation(_callResult) } -export function deserializeAndCallWithThemeInterface(thisDeserializer: Deserializer) { +export function deserializeAndCallWithThemeInterface(thisDeserializer: Deserializer): void { const _resourceId: int32 = thisDeserializer.readInt32() const _call = (ResourceHolder.instance().get(_resourceId) as WithThemeInterface) let options: WithThemeOptions = thisDeserializer.readWithThemeOptions() @@ -1912,7 +1912,7 @@ export function deserializeAndCallWithThemeInterface(thisDeserializer: Deseriali const _callResult = _call(options) _continuation(_callResult) } -export function deserializeAndCallCallback(thisDeserializer: Deserializer) { +export function deserializeAndCallCallback(thisDeserializer: Deserializer): void { const kind: int32 = thisDeserializer.readInt32() switch (kind) { case 589030517/*CallbackKind.Kind_AccessibilityCallback*/: return deserializeAndCallAccessibilityCallback(thisDeserializer); diff --git a/arkoala/arkui/src/peers/Deserializer.ts b/arkoala/arkui/src/peers/Deserializer.ts index 517a60cd1..1c3103991 100644 --- a/arkoala/arkui/src/peers/Deserializer.ts +++ b/arkoala/arkui/src/peers/Deserializer.ts @@ -71,7 +71,6 @@ 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" @@ -149,7 +148,6 @@ 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 { diff --git a/arkoala/arkui/src/peers/Serializer.ts b/arkoala/arkui/src/peers/Serializer.ts index c9f3ba70b..e4422439e 100644 --- a/arkoala/arkui/src/peers/Serializer.ts +++ b/arkoala/arkui/src/peers/Serializer.ts @@ -68,7 +68,6 @@ 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" @@ -146,7 +145,6 @@ 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 diff --git a/arkoala/framework/native/src/generated/dummy_impl.cc b/arkoala/framework/native/src/generated/dummy_impl.cc index a70dd92ff..271f05bf3 100644 --- a/arkoala/framework/native/src/generated/dummy_impl.cc +++ b/arkoala/framework/native/src/generated/dummy_impl.cc @@ -780,7 +780,7 @@ void SetVsyncCallback(Ark_PipelineContext pipelineContext, Ark_VsyncCallback cal using namespace std::chrono_literals; auto producer = std::thread([pipelineContext, callback] { while (true) { - std::this_thread::sleep_for(1000ms); + std::this_thread::sleep_for(std::chrono::seconds(1)); callback(pipelineContext); } }); diff --git a/arkoala/framework/native/src/generated/real_impl.cc b/arkoala/framework/native/src/generated/real_impl.cc index ab0c645d5..439e5fcda 100644 --- a/arkoala/framework/native/src/generated/real_impl.cc +++ b/arkoala/framework/native/src/generated/real_impl.cc @@ -780,7 +780,7 @@ void SetVsyncCallback(Ark_PipelineContext pipelineContext, Ark_VsyncCallback cal using namespace std::chrono_literals; auto producer = std::thread([pipelineContext, callback] { while (true) { - std::this_thread::sleep_for(1000ms); + std::this_thread::sleep_for(std::chrono::seconds(1)); callback(pipelineContext); } }); diff --git a/arkoala/tools/peer-generator/package.json b/arkoala/tools/peer-generator/package.json index c559375a5..880f549ba 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.19", + "idlize_version": "2.0.20", "api_version": "115", "input_dir": "../../arkui-common/interface_sdk-js/api/@internal/component/ets/,../../arkui-common/interface_sdk-js/api/global" }, -- Gitee